From 4eb28ed6a2bf9ff254db19b8df911fb8d9753134 Mon Sep 17 00:00:00 2001 From: Esteban Zimanyi Date: Fri, 29 May 2026 19:08:57 +0200 Subject: [PATCH 1/5] regen: regenerate the MEOS facade against the consolidated MobilityDB surface Bump codegen/input/meos-idl.json to the MEOS-API IDL and regenerate functions.GeneratedFunctions over the full consolidated superset: mul_* (incl. tbigint); minDistance; the circular-buffer and network-point MF-JSON readers; the ever- and always-covers families (ecovers_*/acovers_*); trgeo_*; the H3 / th3index family (ever_eq_h3indexset_th3index, h3index_in/out, H3Index lowered to long); PostgreSQL type I/O; tgeogpoint_great_circle_distance; meos_initialize_noexit_error_handler. 2916 functions. --- codegen/input/meos-idl.json | 37067 +++++++++++++--- codegen/src/main/java/FunctionsGenerator.java | 4 + .../src/test/java/FunctionsGeneratorTest.java | 1 + .../java/functions/GeneratedFunctions.java | 18926 ++++++-- 4 files changed, 46412 insertions(+), 9586 deletions(-) diff --git a/codegen/input/meos-idl.json b/codegen/input/meos-idl.json index 63196ca2..dbdd46a6 100644 --- a/codegen/input/meos-idl.json +++ b/codegen/input/meos-idl.json @@ -1,5 +1,135 @@ { "functions": [ + { + "name": "meos_array_create", + "file": "meos.h", + "returnType": { + "c": "MeosArray *", + "canonical": "struct MeosArray *" + }, + "params": [ + { + "name": "elem_size", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "meos_array_add", + "file": "meos.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "array", + "cType": "MeosArray *", + "canonical": "struct MeosArray *" + }, + { + "name": "value", + "cType": "void *", + "canonical": "void *" + } + ] + }, + { + "name": "meos_array_get", + "file": "meos.h", + "returnType": { + "c": "void *", + "canonical": "void *" + }, + "params": [ + { + "name": "array", + "cType": "const MeosArray *", + "canonical": "const struct MeosArray *" + }, + { + "name": "n", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "meos_array_count", + "file": "meos.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "array", + "cType": "const MeosArray *", + "canonical": "const struct MeosArray *" + } + ] + }, + { + "name": "meos_array_reset", + "file": "meos.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "array", + "cType": "MeosArray *", + "canonical": "struct MeosArray *" + } + ] + }, + { + "name": "meos_array_reset_free", + "file": "meos.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "array", + "cType": "MeosArray *", + "canonical": "struct MeosArray *" + } + ] + }, + { + "name": "meos_array_destroy", + "file": "meos.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "array", + "cType": "MeosArray *", + "canonical": "struct MeosArray *" + } + ] + }, + { + "name": "meos_array_destroy_free", + "file": "meos.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "array", + "cType": "MeosArray *", + "canonical": "struct MeosArray *" + } + ] + }, { "name": "rtree_create_intspan", "file": "meos.h", @@ -132,8 +262,8 @@ "name": "rtree_search", "file": "meos.h", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "int", + "canonical": "int" }, "params": [ { @@ -152,9 +282,9 @@ "canonical": "const void *" }, { - "name": "count", - "cType": "int *", - "canonical": "int *" + "name": "result", + "cType": "MeosArray *", + "canonical": "struct MeosArray *" } ] }, @@ -162,8 +292,8 @@ "name": "rtree_search_temporal", "file": "meos.h", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "int", + "canonical": "int" }, "params": [ { @@ -182,9 +312,9 @@ "canonical": "const Temporal *" }, { - "name": "count", - "cType": "int *", - "canonical": "int *" + "name": "result", + "cType": "MeosArray *", + "canonical": "struct MeosArray *" } ] }, @@ -433,19 +563,19 @@ "name": "add_interval_interval", "file": "meos.h", "returnType": { - "c": "Interval *", - "canonical": "Interval *" + "c": "int *", + "canonical": "int *" }, "params": [ { "name": "interv1", - "cType": "const Interval *", - "canonical": "const Interval *" + "cType": "const int *", + "canonical": "const int *" }, { "name": "interv2", - "cType": "const Interval *", - "canonical": "const Interval *" + "cType": "const int *", + "canonical": "const int *" } ] }, @@ -464,8 +594,8 @@ }, { "name": "interv", - "cType": "const Interval *", - "canonical": "const Interval *" + "cType": "const int *", + "canonical": "const int *" } ] }, @@ -503,8 +633,8 @@ "name": "cstring2text", "file": "meos.h", "returnType": { - "c": "text *", - "canonical": "struct varlena *" + "c": "int *", + "canonical": "int *" }, "params": [ { @@ -673,8 +803,8 @@ "name": "interval_make", "file": "meos.h", "returnType": { - "c": "Interval *", - "canonical": "Interval *" + "c": "int *", + "canonical": "int *" }, "params": [ { @@ -769,8 +899,8 @@ }, { "name": "interv", - "cType": "const Interval *", - "canonical": "const Interval *" + "cType": "const int *", + "canonical": "const int *" } ] }, @@ -778,8 +908,8 @@ "name": "minus_timestamptz_timestamptz", "file": "meos.h", "returnType": { - "c": "Interval *", - "canonical": "Interval *" + "c": "int *", + "canonical": "int *" }, "params": [ { @@ -798,14 +928,14 @@ "name": "mul_interval_double", "file": "meos.h", "returnType": { - "c": "Interval *", - "canonical": "Interval *" + "c": "int *", + "canonical": "int *" }, "params": [ { "name": "interv", - "cType": "const Interval *", - "canonical": "const Interval *" + "cType": "const int *", + "canonical": "const int *" }, { "name": "factor", @@ -854,13 +984,13 @@ "params": [ { "name": "interv1", - "cType": "const Interval *", - "canonical": "const Interval *" + "cType": "const int *", + "canonical": "const int *" }, { "name": "interv2", - "cType": "const Interval *", - "canonical": "const Interval *" + "cType": "const int *", + "canonical": "const int *" } ] }, @@ -868,8 +998,8 @@ "name": "pg_interval_in", "file": "meos.h", "returnType": { - "c": "Interval *", - "canonical": "Interval *" + "c": "int *", + "canonical": "int *" }, "params": [ { @@ -894,8 +1024,8 @@ "params": [ { "name": "interv", - "cType": "const Interval *", - "canonical": "const Interval *" + "cType": "const int *", + "canonical": "const int *" } ] }, @@ -979,8 +1109,8 @@ "params": [ { "name": "txt", - "cType": "const text *", - "canonical": "const struct varlena *" + "cType": "const int *", + "canonical": "const int *" } ] }, @@ -994,13 +1124,13 @@ "params": [ { "name": "txt1", - "cType": "const text *", - "canonical": "const struct varlena *" + "cType": "const int *", + "canonical": "const int *" }, { "name": "txt2", - "cType": "const text *", - "canonical": "const struct varlena *" + "cType": "const int *", + "canonical": "const int *" } ] }, @@ -1008,14 +1138,14 @@ "name": "text_copy", "file": "meos.h", "returnType": { - "c": "text *", - "canonical": "struct varlena *" + "c": "int *", + "canonical": "int *" }, "params": [ { "name": "txt", - "cType": "const text *", - "canonical": "const struct varlena *" + "cType": "const int *", + "canonical": "const int *" } ] }, @@ -1023,8 +1153,8 @@ "name": "text_in", "file": "meos.h", "returnType": { - "c": "text *", - "canonical": "struct varlena *" + "c": "int *", + "canonical": "int *" }, "params": [ { @@ -1038,14 +1168,14 @@ "name": "text_initcap", "file": "meos.h", "returnType": { - "c": "text *", - "canonical": "struct varlena *" + "c": "int *", + "canonical": "int *" }, "params": [ { "name": "txt", - "cType": "const text *", - "canonical": "const struct varlena *" + "cType": "const int *", + "canonical": "const int *" } ] }, @@ -1053,14 +1183,14 @@ "name": "text_lower", "file": "meos.h", "returnType": { - "c": "text *", - "canonical": "struct varlena *" + "c": "int *", + "canonical": "int *" }, "params": [ { "name": "txt", - "cType": "const text *", - "canonical": "const struct varlena *" + "cType": "const int *", + "canonical": "const int *" } ] }, @@ -1074,8 +1204,8 @@ "params": [ { "name": "txt", - "cType": "const text *", - "canonical": "const struct varlena *" + "cType": "const int *", + "canonical": "const int *" } ] }, @@ -1083,14 +1213,14 @@ "name": "text_upper", "file": "meos.h", "returnType": { - "c": "text *", - "canonical": "struct varlena *" + "c": "int *", + "canonical": "int *" }, "params": [ { "name": "txt", - "cType": "const text *", - "canonical": "const struct varlena *" + "cType": "const int *", + "canonical": "const int *" } ] }, @@ -1098,19 +1228,19 @@ "name": "textcat_text_text", "file": "meos.h", "returnType": { - "c": "text *", - "canonical": "struct varlena *" + "c": "int *", + "canonical": "int *" }, "params": [ { "name": "txt1", - "cType": "const text *", - "canonical": "const struct varlena *" + "cType": "const int *", + "canonical": "const int *" }, { "name": "txt2", - "cType": "const text *", - "canonical": "const struct varlena *" + "cType": "const int *", + "canonical": "const int *" } ] }, @@ -1129,8 +1259,8 @@ }, { "name": "interv", - "cType": "const Interval *", - "canonical": "const Interval *" + "cType": "const int *", + "canonical": "const int *" } ] }, @@ -1199,13 +1329,13 @@ "file": "meos.h", "returnType": { "c": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, "params": [ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "value", @@ -1219,7 +1349,7 @@ "file": "meos.h", "returnType": { "c": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, "params": [ { @@ -1240,7 +1370,7 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, @@ -1249,7 +1379,7 @@ "file": "meos.h", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { @@ -1270,7 +1400,7 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, @@ -1309,7 +1439,7 @@ "file": "meos.h", "returnType": { "c": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, "params": [ { @@ -1330,7 +1460,7 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, @@ -1339,7 +1469,7 @@ "file": "meos.h", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { @@ -1360,7 +1490,7 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, @@ -1404,13 +1534,13 @@ "file": "meos.h", "returnType": { "c": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, "params": [ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "value", @@ -1424,7 +1554,7 @@ "file": "meos.h", "returnType": { "c": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, "params": [ { @@ -1445,7 +1575,7 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "maxdd", @@ -1459,7 +1589,7 @@ "file": "meos.h", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { @@ -1480,7 +1610,7 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "maxdd", @@ -1524,13 +1654,13 @@ "file": "meos.h", "returnType": { "c": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, "params": [ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "value", @@ -1544,7 +1674,7 @@ "file": "meos.h", "returnType": { "c": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, "params": [ { @@ -1565,7 +1695,7 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, @@ -1574,7 +1704,7 @@ "file": "meos.h", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { @@ -1595,7 +1725,7 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, @@ -1619,8 +1749,8 @@ }, { "name": "size_out", - "cType": "int *", - "canonical": "int *" + "cType": "size_t *", + "canonical": "unsigned long *" } ] }, @@ -1644,8 +1774,8 @@ }, { "name": "size_out", - "cType": "int *", - "canonical": "int *" + "cType": "size_t *", + "canonical": "unsigned long *" } ] }, @@ -1679,8 +1809,8 @@ }, { "name": "size", - "cType": "int", - "canonical": "int" + "cType": "size_t", + "canonical": "unsigned long" } ] }, @@ -1695,7 +1825,7 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "variant", @@ -1704,8 +1834,8 @@ }, { "name": "size_out", - "cType": "int *", - "canonical": "int *" + "cType": "size_t *", + "canonical": "unsigned long *" } ] }, @@ -1720,7 +1850,7 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "variant", @@ -1729,8 +1859,8 @@ }, { "name": "size_out", - "cType": "int *", - "canonical": "int *" + "cType": "size_t *", + "canonical": "unsigned long *" } ] }, @@ -1739,7 +1869,7 @@ "file": "meos.h", "returnType": { "c": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, "params": [ { @@ -1754,7 +1884,7 @@ "file": "meos.h", "returnType": { "c": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, "params": [ { @@ -1764,8 +1894,8 @@ }, { "name": "size", - "cType": "int", - "canonical": "int" + "cType": "size_t", + "canonical": "unsigned long" } ] }, @@ -1780,7 +1910,7 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "variant", @@ -1789,8 +1919,8 @@ }, { "name": "size_out", - "cType": "int *", - "canonical": "int *" + "cType": "size_t *", + "canonical": "unsigned long *" } ] }, @@ -1805,7 +1935,7 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "variant", @@ -1814,8 +1944,8 @@ }, { "name": "size_out", - "cType": "int *", - "canonical": "int *" + "cType": "size_t *", + "canonical": "unsigned long *" } ] }, @@ -1824,7 +1954,7 @@ "file": "meos.h", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { @@ -1839,7 +1969,7 @@ "file": "meos.h", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { @@ -1849,8 +1979,8 @@ }, { "name": "size", - "cType": "int", - "canonical": "int" + "cType": "size_t", + "canonical": "unsigned long" } ] }, @@ -1919,7 +2049,7 @@ "file": "meos.h", "returnType": { "c": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, "params": [ { @@ -1940,7 +2070,7 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, @@ -1949,7 +2079,7 @@ "file": "meos.h", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { @@ -1970,7 +2100,7 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, @@ -1999,7 +2129,7 @@ "file": "meos.h", "returnType": { "c": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, "params": [ { @@ -2049,7 +2179,7 @@ "file": "meos.h", "returnType": { "c": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, "params": [ { @@ -2099,7 +2229,7 @@ "file": "meos.h", "returnType": { "c": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, "params": [ { @@ -2149,7 +2279,7 @@ "file": "meos.h", "returnType": { "c": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, "params": [ { @@ -2194,13 +2324,13 @@ "file": "meos.h", "returnType": { "c": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, "params": [ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, @@ -2209,13 +2339,13 @@ "file": "meos.h", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, @@ -2224,13 +2354,13 @@ "file": "meos.h", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { "name": "spans", "cType": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, { "name": "count", @@ -2249,8 +2379,8 @@ "params": [ { "name": "values", - "cType": "text **", - "canonical": "struct varlena **" + "cType": "int **", + "canonical": "int **" }, { "name": "count", @@ -2284,7 +2414,7 @@ "file": "meos.h", "returnType": { "c": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, "params": [ { @@ -2329,13 +2459,13 @@ "file": "meos.h", "returnType": { "c": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, "params": [ { "name": "i", - "cType": "int", - "canonical": "int" + "cType": "int64", + "canonical": "long" } ] }, @@ -2344,13 +2474,43 @@ "file": "meos.h", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { "name": "i", - "cType": "int", - "canonical": "int" + "cType": "int64", + "canonical": "long" + } + ] + }, + { + "name": "bigintspan_to_intspan", + "file": "meos.h", + "returnType": { + "c": "Span *", + "canonical": "struct Span *" + }, + "params": [ + { + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" + } + ] + }, + { + "name": "bigintspan_to_floatspan", + "file": "meos.h", + "returnType": { + "c": "Span *", + "canonical": "struct Span *" + }, + "params": [ + { + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" } ] }, @@ -2374,7 +2534,7 @@ "file": "meos.h", "returnType": { "c": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, "params": [ { @@ -2389,7 +2549,7 @@ "file": "meos.h", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { @@ -2419,13 +2579,13 @@ "file": "meos.h", "returnType": { "c": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, "params": [ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, @@ -2434,13 +2594,13 @@ "file": "meos.h", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, @@ -2464,7 +2624,7 @@ "file": "meos.h", "returnType": { "c": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, "params": [ { @@ -2479,7 +2639,7 @@ "file": "meos.h", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { @@ -2504,18 +2664,33 @@ } ] }, + { + "name": "floatspan_to_bigintspan", + "file": "meos.h", + "returnType": { + "c": "Span *", + "canonical": "struct Span *" + }, + "params": [ + { + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" + } + ] + }, { "name": "floatspan_to_intspan", "file": "meos.h", "returnType": { "c": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, "params": [ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, @@ -2524,13 +2699,13 @@ "file": "meos.h", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, @@ -2554,7 +2729,7 @@ "file": "meos.h", "returnType": { "c": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, "params": [ { @@ -2569,7 +2744,7 @@ "file": "meos.h", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { @@ -2594,18 +2769,33 @@ } ] }, + { + "name": "intspan_to_bigintspan", + "file": "meos.h", + "returnType": { + "c": "Span *", + "canonical": "struct Span *" + }, + "params": [ + { + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" + } + ] + }, { "name": "intspan_to_floatspan", "file": "meos.h", "returnType": { "c": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, "params": [ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, @@ -2614,13 +2804,13 @@ "file": "meos.h", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, @@ -2629,7 +2819,7 @@ "file": "meos.h", "returnType": { "c": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, "params": [ { @@ -2644,7 +2834,7 @@ "file": "meos.h", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { @@ -2659,13 +2849,13 @@ "file": "meos.h", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, @@ -2679,8 +2869,8 @@ "params": [ { "name": "txt", - "cType": "const text *", - "canonical": "const struct varlena *" + "cType": "const int *", + "canonical": "const int *" } ] }, @@ -2704,7 +2894,7 @@ "file": "meos.h", "returnType": { "c": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, "params": [ { @@ -2719,7 +2909,7 @@ "file": "meos.h", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { @@ -2749,13 +2939,13 @@ "file": "meos.h", "returnType": { "c": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, "params": [ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, @@ -2764,13 +2954,13 @@ "file": "meos.h", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, @@ -2855,7 +3045,7 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, @@ -2870,7 +3060,7 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, @@ -2885,7 +3075,7 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, @@ -2900,7 +3090,7 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, @@ -2915,7 +3105,7 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, @@ -2930,7 +3120,7 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "boundspan", @@ -3013,14 +3203,14 @@ "name": "datespan_duration", "file": "meos.h", "returnType": { - "c": "Interval *", - "canonical": "Interval *" + "c": "int *", + "canonical": "int *" }, "params": [ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, @@ -3035,7 +3225,7 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, @@ -3050,7 +3240,7 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, @@ -3065,7 +3255,7 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "n", @@ -3090,7 +3280,7 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, @@ -3098,14 +3288,14 @@ "name": "datespanset_duration", "file": "meos.h", "returnType": { - "c": "Interval *", - "canonical": "Interval *" + "c": "int *", + "canonical": "int *" }, "params": [ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "boundspan", @@ -3125,7 +3315,7 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, @@ -3140,7 +3330,7 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, @@ -3155,7 +3345,7 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, @@ -3240,7 +3430,7 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, @@ -3255,7 +3445,7 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, @@ -3270,7 +3460,7 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, @@ -3285,7 +3475,7 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, @@ -3300,7 +3490,7 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, @@ -3315,7 +3505,7 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "boundspan", @@ -3405,7 +3595,7 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, @@ -3420,7 +3610,7 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, @@ -3435,7 +3625,7 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, @@ -3450,7 +3640,7 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, @@ -3465,7 +3655,7 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, @@ -3480,7 +3670,7 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "boundspan", @@ -3550,7 +3740,7 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, @@ -3565,7 +3755,7 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "seed", @@ -3585,7 +3775,7 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, @@ -3600,7 +3790,7 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, @@ -3609,13 +3799,13 @@ "file": "meos.h", "returnType": { "c": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, "params": [ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, @@ -3630,7 +3820,7 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, @@ -3645,7 +3835,7 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "seed", @@ -3665,7 +3855,7 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, @@ -3680,7 +3870,7 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, @@ -3689,13 +3879,13 @@ "file": "meos.h", "returnType": { "c": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, "params": [ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, @@ -3704,13 +3894,13 @@ "file": "meos.h", "returnType": { "c": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, "params": [ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "i", @@ -3724,13 +3914,13 @@ "file": "meos.h", "returnType": { "c": "Span **", - "canonical": "Span **" + "canonical": "struct Span **" }, "params": [ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, @@ -3739,13 +3929,13 @@ "file": "meos.h", "returnType": { "c": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, "params": [ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, @@ -3760,7 +3950,7 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, @@ -3768,8 +3958,8 @@ "name": "textset_end_value", "file": "meos.h", "returnType": { - "c": "text *", - "canonical": "struct varlena *" + "c": "int *", + "canonical": "int *" }, "params": [ { @@ -3783,8 +3973,8 @@ "name": "textset_start_value", "file": "meos.h", "returnType": { - "c": "text *", - "canonical": "struct varlena *" + "c": "int *", + "canonical": "int *" }, "params": [ { @@ -3814,8 +4004,8 @@ }, { "name": "result", - "cType": "text **", - "canonical": "struct varlena **" + "cType": "int **", + "canonical": "int **" } ] }, @@ -3823,8 +4013,8 @@ "name": "textset_values", "file": "meos.h", "returnType": { - "c": "text **", - "canonical": "struct varlena **" + "c": "int **", + "canonical": "int **" }, "params": [ { @@ -3908,14 +4098,14 @@ "name": "tstzspan_duration", "file": "meos.h", "returnType": { - "c": "Interval *", - "canonical": "Interval *" + "c": "int *", + "canonical": "int *" }, "params": [ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, @@ -3930,7 +4120,7 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, @@ -3945,7 +4135,7 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, @@ -3953,14 +4143,14 @@ "name": "tstzspanset_duration", "file": "meos.h", "returnType": { - "c": "Interval *", - "canonical": "Interval *" + "c": "int *", + "canonical": "int *" }, "params": [ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "boundspan", @@ -3980,7 +4170,7 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, @@ -3995,7 +4185,7 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, @@ -4010,7 +4200,7 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, @@ -4025,7 +4215,7 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, @@ -4040,7 +4230,7 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, @@ -4055,7 +4245,7 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "n", @@ -4080,7 +4270,7 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, @@ -4124,13 +4314,13 @@ "file": "meos.h", "returnType": { "c": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, "params": [ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "shift", @@ -4159,13 +4349,13 @@ "file": "meos.h", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "shift", @@ -4229,13 +4419,13 @@ "file": "meos.h", "returnType": { "c": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, "params": [ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "shift", @@ -4264,13 +4454,13 @@ "file": "meos.h", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "shift", @@ -4399,13 +4589,13 @@ "file": "meos.h", "returnType": { "c": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, "params": [ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, @@ -4414,13 +4604,13 @@ "file": "meos.h", "returnType": { "c": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, "params": [ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "normalize", @@ -4434,13 +4624,13 @@ "file": "meos.h", "returnType": { "c": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, "params": [ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, @@ -4449,13 +4639,13 @@ "file": "meos.h", "returnType": { "c": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, "params": [ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, @@ -4464,13 +4654,13 @@ "file": "meos.h", "returnType": { "c": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, "params": [ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "maxdd", @@ -4484,13 +4674,13 @@ "file": "meos.h", "returnType": { "c": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, "params": [ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "shift", @@ -4519,13 +4709,13 @@ "file": "meos.h", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, @@ -4534,13 +4724,13 @@ "file": "meos.h", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, @@ -4549,13 +4739,13 @@ "file": "meos.h", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "normalize", @@ -4569,13 +4759,13 @@ "file": "meos.h", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, @@ -4584,13 +4774,13 @@ "file": "meos.h", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "maxdd", @@ -4604,13 +4794,13 @@ "file": "meos.h", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "shift", @@ -4674,13 +4864,13 @@ "file": "meos.h", "returnType": { "c": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, "params": [ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "shift", @@ -4709,13 +4899,13 @@ "file": "meos.h", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "shift", @@ -4744,18 +4934,18 @@ "file": "meos.h", "returnType": { "c": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, "params": [ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "interv", - "cType": "const Interval *", - "canonical": "const Interval *" + "cType": "const int *", + "canonical": "const int *" } ] }, @@ -4789,8 +4979,8 @@ "params": [ { "name": "txt", - "cType": "const text *", - "canonical": "const struct varlena *" + "cType": "const int *", + "canonical": "const int *" }, { "name": "s", @@ -4814,8 +5004,8 @@ }, { "name": "txt", - "cType": "const text *", - "canonical": "const struct varlena *" + "cType": "const int *", + "canonical": "const int *" } ] }, @@ -4879,8 +5069,8 @@ }, { "name": "duration", - "cType": "const Interval *", - "canonical": "const Interval *" + "cType": "const int *", + "canonical": "const int *" }, { "name": "torigin", @@ -4904,13 +5094,13 @@ }, { "name": "shift", - "cType": "const Interval *", - "canonical": "const Interval *" + "cType": "const int *", + "canonical": "const int *" }, { "name": "duration", - "cType": "const Interval *", - "canonical": "const Interval *" + "cType": "const int *", + "canonical": "const int *" } ] }, @@ -4929,8 +5119,8 @@ }, { "name": "duration", - "cType": "const Interval *", - "canonical": "const Interval *" + "cType": "const int *", + "canonical": "const int *" }, { "name": "torigin", @@ -4944,23 +5134,23 @@ "file": "meos.h", "returnType": { "c": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, "params": [ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "shift", - "cType": "const Interval *", - "canonical": "const Interval *" + "cType": "const int *", + "canonical": "const int *" }, { "name": "duration", - "cType": "const Interval *", - "canonical": "const Interval *" + "cType": "const int *", + "canonical": "const int *" } ] }, @@ -4969,18 +5159,18 @@ "file": "meos.h", "returnType": { "c": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, "params": [ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "duration", - "cType": "const Interval *", - "canonical": "const Interval *" + "cType": "const int *", + "canonical": "const int *" }, { "name": "torigin", @@ -4994,23 +5184,23 @@ "file": "meos.h", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "shift", - "cType": "const Interval *", - "canonical": "const Interval *" + "cType": "const int *", + "canonical": "const int *" }, { "name": "duration", - "cType": "const Interval *", - "canonical": "const Interval *" + "cType": "const int *", + "canonical": "const int *" } ] }, @@ -5019,18 +5209,18 @@ "file": "meos.h", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "duration", - "cType": "const Interval *", - "canonical": "const Interval *" + "cType": "const int *", + "canonical": "const int *" }, { "name": "torigin", @@ -5190,12 +5380,12 @@ { "name": "s1", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "s2", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, @@ -5210,12 +5400,12 @@ { "name": "s1", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "s2", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, @@ -5230,12 +5420,12 @@ { "name": "s1", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "s2", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, @@ -5250,12 +5440,12 @@ { "name": "s1", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "s2", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, @@ -5270,12 +5460,12 @@ { "name": "s1", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "s2", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, @@ -5290,12 +5480,12 @@ { "name": "s1", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "s2", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, @@ -5310,12 +5500,12 @@ { "name": "s1", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "s2", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, @@ -5330,12 +5520,12 @@ { "name": "ss1", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "ss2", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, @@ -5350,12 +5540,12 @@ { "name": "ss1", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "ss2", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, @@ -5370,12 +5560,12 @@ { "name": "ss1", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "ss2", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, @@ -5390,12 +5580,12 @@ { "name": "ss1", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "ss2", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, @@ -5410,12 +5600,12 @@ { "name": "ss1", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "ss2", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, @@ -5430,12 +5620,12 @@ { "name": "ss1", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "ss2", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, @@ -5450,12 +5640,12 @@ { "name": "ss1", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "ss2", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, @@ -5464,7 +5654,7 @@ "file": "meos.h", "returnType": { "c": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, "params": [ { @@ -5479,7 +5669,7 @@ "file": "meos.h", "returnType": { "c": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, "params": [ { @@ -5504,7 +5694,7 @@ "file": "meos.h", "returnType": { "c": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, "params": [ { @@ -5529,13 +5719,13 @@ "file": "meos.h", "returnType": { "c": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, "params": [ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, @@ -5544,13 +5734,13 @@ "file": "meos.h", "returnType": { "c": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, "params": [ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "elems_per_span", @@ -5569,13 +5759,13 @@ "file": "meos.h", "returnType": { "c": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, "params": [ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "span_count", @@ -5600,7 +5790,7 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "i", @@ -5620,7 +5810,7 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "d", @@ -5640,7 +5830,7 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "d", @@ -5660,7 +5850,7 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "i", @@ -5680,12 +5870,12 @@ { "name": "s1", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "s2", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, @@ -5700,12 +5890,12 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, @@ -5720,7 +5910,7 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "t", @@ -5740,7 +5930,7 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "i", @@ -5760,7 +5950,7 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "d", @@ -5780,7 +5970,7 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "d", @@ -5800,7 +5990,7 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "i", @@ -5820,7 +6010,7 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "t", @@ -5840,12 +6030,12 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, @@ -5860,12 +6050,12 @@ { "name": "ss1", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "ss2", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, @@ -5905,7 +6095,7 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, @@ -5925,7 +6115,7 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, @@ -5965,7 +6155,7 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, @@ -5985,7 +6175,7 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, @@ -6025,7 +6215,7 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, @@ -6045,7 +6235,7 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, @@ -6085,7 +6275,7 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, @@ -6105,7 +6295,7 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, @@ -6140,12 +6330,12 @@ { "name": "s1", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "s2", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, @@ -6160,12 +6350,12 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, @@ -6180,12 +6370,12 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, @@ -6200,12 +6390,12 @@ { "name": "ss1", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "ss2", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, @@ -6219,8 +6409,8 @@ "params": [ { "name": "txt", - "cType": "const text *", - "canonical": "const struct varlena *" + "cType": "const int *", + "canonical": "const int *" }, { "name": "s", @@ -6265,7 +6455,7 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, @@ -6285,7 +6475,7 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, @@ -6404,8 +6594,8 @@ }, { "name": "t", - "cType": "text *", - "canonical": "struct varlena *" + "cType": "int *", + "canonical": "int *" } ] }, @@ -6440,7 +6630,7 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "i", @@ -6460,7 +6650,7 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "d", @@ -6480,7 +6670,7 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "d", @@ -6500,7 +6690,7 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "i", @@ -6520,12 +6710,12 @@ { "name": "s1", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "s2", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, @@ -6540,12 +6730,12 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, @@ -6560,7 +6750,7 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "t", @@ -6580,7 +6770,7 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "i", @@ -6600,7 +6790,7 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "d", @@ -6620,7 +6810,7 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "d", @@ -6640,7 +6830,7 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "i", @@ -6660,12 +6850,12 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, @@ -6680,12 +6870,12 @@ { "name": "ss1", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "ss2", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, @@ -6700,7 +6890,7 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "t", @@ -6740,12 +6930,12 @@ { "name": "s1", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "s2", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, @@ -6760,12 +6950,12 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, @@ -6780,12 +6970,12 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, @@ -6800,12 +6990,12 @@ { "name": "ss1", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "ss2", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, @@ -6845,7 +7035,7 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, @@ -6865,7 +7055,7 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, @@ -6920,7 +7110,7 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "d", @@ -6940,7 +7130,7 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "t", @@ -6960,7 +7150,7 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "d", @@ -6980,7 +7170,7 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "t", @@ -7025,7 +7215,7 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, @@ -7045,7 +7235,7 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, @@ -7085,7 +7275,7 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, @@ -7105,7 +7295,7 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, @@ -7160,7 +7350,7 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "d", @@ -7180,7 +7370,7 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "t", @@ -7200,7 +7390,7 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "d", @@ -7220,7 +7410,7 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "t", @@ -7265,7 +7455,7 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, @@ -7285,7 +7475,7 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, @@ -7325,7 +7515,7 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, @@ -7345,7 +7535,7 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, @@ -7385,7 +7575,7 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, @@ -7405,7 +7595,7 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, @@ -7445,7 +7635,7 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, @@ -7465,7 +7655,7 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, @@ -7564,8 +7754,8 @@ }, { "name": "txt", - "cType": "text *", - "canonical": "struct varlena *" + "cType": "int *", + "canonical": "int *" } ] }, @@ -7580,7 +7770,7 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "i", @@ -7600,7 +7790,7 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "d", @@ -7620,7 +7810,7 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "i", @@ -7640,12 +7830,12 @@ { "name": "s1", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "s2", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, @@ -7660,12 +7850,12 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, @@ -7680,7 +7870,7 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "i", @@ -7700,7 +7890,7 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "d", @@ -7720,7 +7910,7 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "i", @@ -7740,12 +7930,12 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, @@ -7760,12 +7950,12 @@ { "name": "ss1", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "ss2", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, @@ -7779,8 +7969,8 @@ "params": [ { "name": "txt", - "cType": "const text *", - "canonical": "const struct varlena *" + "cType": "const int *", + "canonical": "const int *" }, { "name": "s", @@ -7825,7 +8015,7 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, @@ -7845,7 +8035,7 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, @@ -7900,7 +8090,7 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "d", @@ -7920,7 +8110,7 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "t", @@ -7940,7 +8130,7 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "d", @@ -7960,7 +8150,7 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "t", @@ -8005,7 +8195,7 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, @@ -8025,7 +8215,7 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, @@ -8065,7 +8255,7 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, @@ -8085,7 +8275,7 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, @@ -8140,7 +8330,7 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "d", @@ -8160,7 +8350,7 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "t", @@ -8180,7 +8370,7 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "d", @@ -8200,7 +8390,7 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "t", @@ -8245,7 +8435,7 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, @@ -8265,7 +8455,7 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, @@ -8305,7 +8495,7 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, @@ -8325,7 +8515,7 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, @@ -8365,7 +8555,7 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, @@ -8385,7 +8575,7 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, @@ -8425,7 +8615,7 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, @@ -8445,7 +8635,7 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, @@ -8544,8 +8734,8 @@ }, { "name": "txt", - "cType": "text *", - "canonical": "struct varlena *" + "cType": "int *", + "canonical": "int *" } ] }, @@ -8560,7 +8750,7 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "i", @@ -8580,7 +8770,7 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "d", @@ -8600,7 +8790,7 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "i", @@ -8620,12 +8810,12 @@ { "name": "s1", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "s2", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, @@ -8640,12 +8830,12 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, @@ -8660,7 +8850,7 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "i", @@ -8680,7 +8870,7 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "d", @@ -8700,7 +8890,7 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "i", @@ -8720,12 +8910,12 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, @@ -8740,12 +8930,12 @@ { "name": "ss1", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "ss2", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, @@ -8759,8 +8949,8 @@ "params": [ { "name": "txt", - "cType": "const text *", - "canonical": "const struct varlena *" + "cType": "const int *", + "canonical": "const int *" }, { "name": "s", @@ -8805,7 +8995,7 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, @@ -8825,7 +9015,7 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, @@ -8865,7 +9055,7 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, @@ -8885,7 +9075,7 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, @@ -8925,7 +9115,7 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, @@ -8945,7 +9135,7 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, @@ -9044,8 +9234,8 @@ }, { "name": "txt", - "cType": "text *", - "canonical": "struct varlena *" + "cType": "int *", + "canonical": "int *" } ] }, @@ -9060,7 +9250,7 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "i", @@ -9080,7 +9270,7 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "d", @@ -9100,7 +9290,7 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "i", @@ -9120,12 +9310,12 @@ { "name": "s1", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "s2", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, @@ -9140,12 +9330,12 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, @@ -9160,7 +9350,7 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "i", @@ -9180,7 +9370,7 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "d", @@ -9200,7 +9390,7 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "i", @@ -9220,12 +9410,12 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, @@ -9240,12 +9430,12 @@ { "name": "ss1", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "ss2", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, @@ -9259,8 +9449,8 @@ "params": [ { "name": "txt", - "cType": "const text *", - "canonical": "const struct varlena *" + "cType": "const int *", + "canonical": "const int *" }, { "name": "s", @@ -9305,7 +9495,7 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, @@ -9325,7 +9515,7 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, @@ -9365,7 +9555,7 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, @@ -9385,7 +9575,7 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, @@ -9425,7 +9615,7 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, @@ -9445,7 +9635,7 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, @@ -9544,8 +9734,8 @@ }, { "name": "txt", - "cType": "text *", - "canonical": "struct varlena *" + "cType": "int *", + "canonical": "int *" } ] }, @@ -9560,7 +9750,7 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "i", @@ -9580,7 +9770,7 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "d", @@ -9600,7 +9790,7 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "i", @@ -9620,12 +9810,12 @@ { "name": "s1", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "s2", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, @@ -9640,12 +9830,12 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, @@ -9660,7 +9850,7 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "i", @@ -9680,7 +9870,7 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "d", @@ -9700,7 +9890,7 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "i", @@ -9720,12 +9910,12 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, @@ -9740,12 +9930,12 @@ { "name": "ss1", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "ss2", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, @@ -9759,8 +9949,8 @@ "params": [ { "name": "txt", - "cType": "const text *", - "canonical": "const struct varlena *" + "cType": "const int *", + "canonical": "const int *" }, { "name": "s", @@ -9964,8 +10154,8 @@ }, { "name": "txt", - "cType": "const text *", - "canonical": "const struct varlena *" + "cType": "const int *", + "canonical": "const int *" } ] }, @@ -9994,13 +10184,13 @@ "file": "meos.h", "returnType": { "c": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, "params": [ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "i", @@ -10014,13 +10204,13 @@ "file": "meos.h", "returnType": { "c": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, "params": [ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "d", @@ -10034,13 +10224,13 @@ "file": "meos.h", "returnType": { "c": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, "params": [ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "d", @@ -10054,13 +10244,13 @@ "file": "meos.h", "returnType": { "c": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, "params": [ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "i", @@ -10074,18 +10264,18 @@ "file": "meos.h", "returnType": { "c": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, "params": [ { "name": "s1", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "s2", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, @@ -10094,18 +10284,18 @@ "file": "meos.h", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, @@ -10114,13 +10304,13 @@ "file": "meos.h", "returnType": { "c": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, "params": [ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "t", @@ -10134,13 +10324,13 @@ "file": "meos.h", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "i", @@ -10154,13 +10344,13 @@ "file": "meos.h", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "d", @@ -10174,13 +10364,13 @@ "file": "meos.h", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "d", @@ -10194,13 +10384,13 @@ "file": "meos.h", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "i", @@ -10214,18 +10404,18 @@ "file": "meos.h", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, @@ -10234,18 +10424,18 @@ "file": "meos.h", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { "name": "ss1", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "ss2", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, @@ -10254,13 +10444,13 @@ "file": "meos.h", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "t", @@ -10279,8 +10469,8 @@ "params": [ { "name": "txt", - "cType": "const text *", - "canonical": "const struct varlena *" + "cType": "const int *", + "canonical": "const int *" }, { "name": "s", @@ -10334,7 +10524,7 @@ "file": "meos.h", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { @@ -10345,7 +10535,7 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, @@ -10354,7 +10544,7 @@ "file": "meos.h", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { @@ -10365,7 +10555,7 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, @@ -10394,7 +10584,7 @@ "file": "meos.h", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { @@ -10405,7 +10595,7 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, @@ -10414,7 +10604,7 @@ "file": "meos.h", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { @@ -10425,7 +10615,7 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, @@ -10454,7 +10644,7 @@ "file": "meos.h", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { @@ -10465,7 +10655,7 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, @@ -10474,7 +10664,7 @@ "file": "meos.h", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { @@ -10485,7 +10675,7 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, @@ -10514,7 +10704,7 @@ "file": "meos.h", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { @@ -10525,7 +10715,7 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, @@ -10534,7 +10724,7 @@ "file": "meos.h", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { @@ -10545,7 +10735,7 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, @@ -10664,8 +10854,8 @@ }, { "name": "txt", - "cType": "const text *", - "canonical": "const struct varlena *" + "cType": "const int *", + "canonical": "const int *" } ] }, @@ -10694,13 +10884,13 @@ "file": "meos.h", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "i", @@ -10714,13 +10904,13 @@ "file": "meos.h", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "d", @@ -10734,13 +10924,13 @@ "file": "meos.h", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "d", @@ -10754,13 +10944,13 @@ "file": "meos.h", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "i", @@ -10774,18 +10964,18 @@ "file": "meos.h", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { "name": "s1", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "s2", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, @@ -10794,18 +10984,18 @@ "file": "meos.h", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, @@ -10814,13 +11004,13 @@ "file": "meos.h", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "t", @@ -10834,13 +11024,13 @@ "file": "meos.h", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "i", @@ -10854,13 +11044,13 @@ "file": "meos.h", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "d", @@ -10874,13 +11064,13 @@ "file": "meos.h", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "d", @@ -10894,13 +11084,13 @@ "file": "meos.h", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "i", @@ -10914,18 +11104,18 @@ "file": "meos.h", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, @@ -10934,18 +11124,18 @@ "file": "meos.h", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { "name": "ss1", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "ss2", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, @@ -10954,13 +11144,13 @@ "file": "meos.h", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "t", @@ -10979,8 +11169,8 @@ "params": [ { "name": "txt", - "cType": "const text *", - "canonical": "const struct varlena *" + "cType": "const int *", + "canonical": "const int *" }, { "name": "s", @@ -11014,7 +11204,7 @@ "file": "meos.h", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { @@ -11025,7 +11215,7 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, @@ -11034,7 +11224,7 @@ "file": "meos.h", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { @@ -11045,7 +11235,7 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, @@ -11074,13 +11264,13 @@ "file": "meos.h", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "i", @@ -11094,7 +11284,7 @@ "file": "meos.h", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { @@ -11105,7 +11295,7 @@ { "name": "ss", "cType": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" } ] }, @@ -11134,13 +11324,13 @@ "file": "meos.h", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "d", @@ -11154,7 +11344,7 @@ "file": "meos.h", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { @@ -11165,7 +11355,7 @@ { "name": "ss", "cType": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" } ] }, @@ -11194,13 +11384,13 @@ "file": "meos.h", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "d", @@ -11214,7 +11404,7 @@ "file": "meos.h", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { @@ -11225,7 +11415,7 @@ { "name": "ss", "cType": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" } ] }, @@ -11254,7 +11444,7 @@ "file": "meos.h", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { @@ -11265,7 +11455,7 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, @@ -11274,7 +11464,7 @@ "file": "meos.h", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { @@ -11285,7 +11475,7 @@ { "name": "ss", "cType": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" } ] }, @@ -11404,8 +11594,8 @@ }, { "name": "txt", - "cType": "const text *", - "canonical": "const struct varlena *" + "cType": "const int *", + "canonical": "const int *" } ] }, @@ -11434,13 +11624,13 @@ "file": "meos.h", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "i", @@ -11454,13 +11644,13 @@ "file": "meos.h", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "d", @@ -11474,13 +11664,13 @@ "file": "meos.h", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "d", @@ -11494,13 +11684,13 @@ "file": "meos.h", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "i", @@ -11514,18 +11704,18 @@ "file": "meos.h", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { "name": "s1", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "s2", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, @@ -11534,18 +11724,18 @@ "file": "meos.h", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, @@ -11554,13 +11744,13 @@ "file": "meos.h", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "t", @@ -11574,13 +11764,13 @@ "file": "meos.h", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "i", @@ -11594,13 +11784,13 @@ "file": "meos.h", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "d", @@ -11614,13 +11804,13 @@ "file": "meos.h", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "d", @@ -11634,13 +11824,13 @@ "file": "meos.h", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "i", @@ -11654,18 +11844,18 @@ "file": "meos.h", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, @@ -11674,18 +11864,18 @@ "file": "meos.h", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { "name": "ss1", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "ss2", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, @@ -11694,13 +11884,13 @@ "file": "meos.h", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "t", @@ -11719,8 +11909,8 @@ "params": [ { "name": "txt", - "cType": "const text *", - "canonical": "const struct varlena *" + "cType": "const int *", + "canonical": "const int *" }, { "name": "s", @@ -11754,7 +11944,7 @@ "file": "meos.h", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { @@ -11765,7 +11955,7 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, @@ -11774,7 +11964,7 @@ "file": "meos.h", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { @@ -11785,7 +11975,7 @@ { "name": "ss", "cType": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" } ] }, @@ -11820,12 +12010,12 @@ { "name": "s1", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "s2", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, @@ -11840,12 +12030,12 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, @@ -11860,12 +12050,12 @@ { "name": "ss1", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "ss2", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, @@ -11900,12 +12090,12 @@ { "name": "s1", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "s2", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, @@ -11920,12 +12110,12 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, @@ -11940,12 +12130,12 @@ { "name": "ss1", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "ss2", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, @@ -11980,12 +12170,12 @@ { "name": "s1", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "s2", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, @@ -12000,12 +12190,12 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, @@ -12020,12 +12210,12 @@ { "name": "ss1", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "ss2", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, @@ -12060,12 +12250,12 @@ { "name": "s1", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "s2", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, @@ -12080,12 +12270,12 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, @@ -12100,12 +12290,12 @@ { "name": "ss1", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "ss2", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, @@ -12220,7 +12410,7 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "i", @@ -12240,7 +12430,7 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "d", @@ -12260,7 +12450,7 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "d", @@ -12280,7 +12470,7 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "i", @@ -12300,7 +12490,7 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "t", @@ -12320,7 +12510,7 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "i", @@ -12340,7 +12530,7 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "d", @@ -12360,7 +12550,7 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "d", @@ -12380,7 +12570,7 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "i", @@ -12400,7 +12590,7 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "t", @@ -12440,12 +12630,12 @@ { "name": "s1", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "s2", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, @@ -12460,12 +12650,12 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, @@ -12480,12 +12670,12 @@ { "name": "ss1", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "ss2", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, @@ -12494,13 +12684,13 @@ "file": "meos.h", "returnType": { "c": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, "params": [ { "name": "state", "cType": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, { "name": "i", @@ -12534,13 +12724,13 @@ "file": "meos.h", "returnType": { "c": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, "params": [ { "name": "state", "cType": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, { "name": "d", @@ -12574,13 +12764,13 @@ "file": "meos.h", "returnType": { "c": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, "params": [ { "name": "state", "cType": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, { "name": "d", @@ -12614,13 +12804,13 @@ "file": "meos.h", "returnType": { "c": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, "params": [ { "name": "state", "cType": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, { "name": "i", @@ -12654,13 +12844,13 @@ "file": "meos.h", "returnType": { "c": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, "params": [ { "name": "state", "cType": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, { "name": "s", @@ -12709,18 +12899,18 @@ "file": "meos.h", "returnType": { "c": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, "params": [ { "name": "state", "cType": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, @@ -12729,18 +12919,18 @@ "file": "meos.h", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { "name": "state", "cType": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, @@ -12749,18 +12939,18 @@ "file": "meos.h", "returnType": { "c": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, "params": [ { "name": "state", "cType": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, @@ -12769,13 +12959,13 @@ "file": "meos.h", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { "name": "state", "cType": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" } ] }, @@ -12784,18 +12974,18 @@ "file": "meos.h", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { "name": "state", "cType": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, @@ -12814,8 +13004,8 @@ }, { "name": "txt", - "cType": "const text *", - "canonical": "const struct varlena *" + "cType": "const int *", + "canonical": "const int *" } ] }, @@ -12824,13 +13014,13 @@ "file": "meos.h", "returnType": { "c": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, "params": [ { "name": "state", "cType": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, { "name": "t", @@ -12889,13 +13079,13 @@ "file": "meos.h", "returnType": { "c": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, "params": [ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "vsize", @@ -12919,13 +13109,13 @@ "file": "meos.h", "returnType": { "c": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, "params": [ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "vsize", @@ -12959,8 +13149,8 @@ }, { "name": "duration", - "cType": "const Interval *", - "canonical": "const Interval *" + "cType": "const int *", + "canonical": "const int *" }, { "name": "torigin", @@ -12974,18 +13164,18 @@ "file": "meos.h", "returnType": { "c": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, "params": [ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "duration", - "cType": "const Interval *", - "canonical": "const Interval *" + "cType": "const int *", + "canonical": "const int *" }, { "name": "torigin", @@ -13004,18 +13194,18 @@ "file": "meos.h", "returnType": { "c": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, "params": [ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "duration", - "cType": "const Interval *", - "canonical": "const Interval *" + "cType": "const int *", + "canonical": "const int *" }, { "name": "torigin", @@ -13059,13 +13249,13 @@ "file": "meos.h", "returnType": { "c": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, "params": [ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "vsize", @@ -13089,13 +13279,13 @@ "file": "meos.h", "returnType": { "c": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, "params": [ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "vsize", @@ -13144,13 +13334,13 @@ "file": "meos.h", "returnType": { "c": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, "params": [ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "vsize", @@ -13174,13 +13364,13 @@ "file": "meos.h", "returnType": { "c": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, "params": [ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "vsize", @@ -13214,8 +13404,8 @@ }, { "name": "duration", - "cType": "const Interval *", - "canonical": "const Interval *" + "cType": "const int *", + "canonical": "const int *" }, { "name": "torigin", @@ -13229,18 +13419,18 @@ "file": "meos.h", "returnType": { "c": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, "params": [ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "duration", - "cType": "const Interval *", - "canonical": "const Interval *" + "cType": "const int *", + "canonical": "const int *" }, { "name": "origin", @@ -13259,18 +13449,18 @@ "file": "meos.h", "returnType": { "c": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, "params": [ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "duration", - "cType": "const Interval *", - "canonical": "const Interval *" + "cType": "const int *", + "canonical": "const int *" }, { "name": "torigin", @@ -13295,7 +13485,7 @@ { "name": "box", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" }, { "name": "variant", @@ -13304,8 +13494,8 @@ }, { "name": "size", - "cType": "int *", - "canonical": "int *" + "cType": "size_t *", + "canonical": "unsigned long *" } ] }, @@ -13320,7 +13510,7 @@ { "name": "box", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" }, { "name": "variant", @@ -13329,8 +13519,8 @@ }, { "name": "size_out", - "cType": "int *", - "canonical": "int *" + "cType": "size_t *", + "canonical": "unsigned long *" } ] }, @@ -13339,7 +13529,7 @@ "file": "meos.h", "returnType": { "c": "TBox *", - "canonical": "TBox *" + "canonical": "struct TBox *" }, "params": [ { @@ -13354,7 +13544,7 @@ "file": "meos.h", "returnType": { "c": "TBox *", - "canonical": "TBox *" + "canonical": "struct TBox *" }, "params": [ { @@ -13364,8 +13554,8 @@ }, { "name": "size", - "cType": "int", - "canonical": "int" + "cType": "size_t", + "canonical": "unsigned long" } ] }, @@ -13374,7 +13564,7 @@ "file": "meos.h", "returnType": { "c": "TBox *", - "canonical": "TBox *" + "canonical": "struct TBox *" }, "params": [ { @@ -13395,7 +13585,7 @@ { "name": "box", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" }, { "name": "maxdd", @@ -13409,7 +13599,7 @@ "file": "meos.h", "returnType": { "c": "TBox *", - "canonical": "TBox *" + "canonical": "struct TBox *" }, "params": [ { @@ -13429,7 +13619,7 @@ "file": "meos.h", "returnType": { "c": "TBox *", - "canonical": "TBox *" + "canonical": "struct TBox *" }, "params": [ { @@ -13440,7 +13630,7 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, @@ -13449,7 +13639,7 @@ "file": "meos.h", "returnType": { "c": "TBox *", - "canonical": "TBox *" + "canonical": "struct TBox *" }, "params": [ { @@ -13469,7 +13659,7 @@ "file": "meos.h", "returnType": { "c": "TBox *", - "canonical": "TBox *" + "canonical": "struct TBox *" }, "params": [ { @@ -13480,7 +13670,7 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, @@ -13489,18 +13679,18 @@ "file": "meos.h", "returnType": { "c": "TBox *", - "canonical": "TBox *" + "canonical": "struct TBox *" }, "params": [ { "name": "span", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, @@ -13509,13 +13699,13 @@ "file": "meos.h", "returnType": { "c": "TBox *", - "canonical": "TBox *" + "canonical": "struct TBox *" }, "params": [ { "name": "span", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "t", @@ -13529,13 +13719,13 @@ "file": "meos.h", "returnType": { "c": "TBox *", - "canonical": "TBox *" + "canonical": "struct TBox *" }, "params": [ { "name": "box", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" } ] }, @@ -13544,18 +13734,18 @@ "file": "meos.h", "returnType": { "c": "TBox *", - "canonical": "TBox *" + "canonical": "struct TBox *" }, "params": [ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "p", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, @@ -13564,7 +13754,7 @@ "file": "meos.h", "returnType": { "c": "TBox *", - "canonical": "TBox *" + "canonical": "struct TBox *" }, "params": [ { @@ -13579,7 +13769,7 @@ "file": "meos.h", "returnType": { "c": "TBox *", - "canonical": "TBox *" + "canonical": "struct TBox *" }, "params": [ { @@ -13594,7 +13784,7 @@ "file": "meos.h", "returnType": { "c": "TBox *", - "canonical": "TBox *" + "canonical": "struct TBox *" }, "params": [ { @@ -13609,13 +13799,13 @@ "file": "meos.h", "returnType": { "c": "TBox *", - "canonical": "TBox *" + "canonical": "struct TBox *" }, "params": [ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, @@ -13624,13 +13814,28 @@ "file": "meos.h", "returnType": { "c": "TBox *", - "canonical": "TBox *" + "canonical": "struct TBox *" }, "params": [ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" + } + ] + }, + { + "name": "tbox_to_bigintspan", + "file": "meos.h", + "returnType": { + "c": "Span *", + "canonical": "struct Span *" + }, + "params": [ + { + "name": "box", + "cType": "const TBox *", + "canonical": "const struct TBox *" } ] }, @@ -13639,13 +13844,13 @@ "file": "meos.h", "returnType": { "c": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, "params": [ { "name": "box", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" } ] }, @@ -13654,13 +13859,13 @@ "file": "meos.h", "returnType": { "c": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, "params": [ { "name": "box", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" } ] }, @@ -13669,13 +13874,13 @@ "file": "meos.h", "returnType": { "c": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, "params": [ { "name": "box", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" } ] }, @@ -13684,7 +13889,7 @@ "file": "meos.h", "returnType": { "c": "TBox *", - "canonical": "TBox *" + "canonical": "struct TBox *" }, "params": [ { @@ -13705,7 +13910,7 @@ { "name": "box", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" } ] }, @@ -13720,7 +13925,7 @@ { "name": "box", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" }, { "name": "seed", @@ -13740,7 +13945,7 @@ { "name": "box", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" } ] }, @@ -13755,7 +13960,7 @@ { "name": "box", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" } ] }, @@ -13770,7 +13975,7 @@ { "name": "box", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" }, { "name": "result", @@ -13790,12 +13995,12 @@ { "name": "box", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" }, { "name": "result", "cType": "bool *", - "canonical": "unsigned char *" + "canonical": "_Bool *" } ] }, @@ -13810,7 +14015,7 @@ { "name": "box", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" }, { "name": "result", @@ -13830,12 +14035,12 @@ { "name": "box", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" }, { "name": "result", "cType": "bool *", - "canonical": "unsigned char *" + "canonical": "_Bool *" } ] }, @@ -13850,7 +14055,7 @@ { "name": "box", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" }, { "name": "result", @@ -13870,12 +14075,12 @@ { "name": "box", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" }, { "name": "result", "cType": "bool *", - "canonical": "unsigned char *" + "canonical": "_Bool *" } ] }, @@ -13890,7 +14095,7 @@ { "name": "box", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" }, { "name": "result", @@ -13910,12 +14115,12 @@ { "name": "box", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" }, { "name": "result", "cType": "bool *", - "canonical": "unsigned char *" + "canonical": "_Bool *" } ] }, @@ -13930,7 +14135,7 @@ { "name": "box", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" }, { "name": "result", @@ -13950,7 +14155,7 @@ { "name": "box", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" }, { "name": "result", @@ -13970,7 +14175,7 @@ { "name": "box", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" }, { "name": "result", @@ -13990,7 +14195,7 @@ { "name": "box", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" }, { "name": "result", @@ -13999,23 +14204,78 @@ } ] }, + { + "name": "tbigintbox_expand", + "file": "meos.h", + "returnType": { + "c": "TBox *", + "canonical": "struct TBox *" + }, + "params": [ + { + "name": "box", + "cType": "const TBox *", + "canonical": "const struct TBox *" + }, + { + "name": "i", + "cType": "int64", + "canonical": "long" + } + ] + }, + { + "name": "tbigintbox_shift_scale", + "file": "meos.h", + "returnType": { + "c": "TBox *", + "canonical": "struct TBox *" + }, + "params": [ + { + "name": "box", + "cType": "const TBox *", + "canonical": "const struct TBox *" + }, + { + "name": "shift", + "cType": "int64", + "canonical": "long" + }, + { + "name": "width", + "cType": "int64", + "canonical": "long" + }, + { + "name": "hasshift", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "haswidth", + "cType": "bool", + "canonical": "bool" + } + ] + }, { "name": "tbox_expand_time", "file": "meos.h", "returnType": { "c": "TBox *", - "canonical": "TBox *" + "canonical": "struct TBox *" }, "params": [ { "name": "box", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" }, { "name": "interv", - "cType": "const Interval *", - "canonical": "const Interval *" + "cType": "const int *", + "canonical": "const int *" } ] }, @@ -14024,13 +14284,13 @@ "file": "meos.h", "returnType": { "c": "TBox *", - "canonical": "TBox *" + "canonical": "struct TBox *" }, "params": [ { "name": "box", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" }, { "name": "maxdd", @@ -14044,23 +14304,23 @@ "file": "meos.h", "returnType": { "c": "TBox *", - "canonical": "TBox *" + "canonical": "struct TBox *" }, "params": [ { "name": "box", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" }, { "name": "shift", - "cType": "const Interval *", - "canonical": "const Interval *" + "cType": "const int *", + "canonical": "const int *" }, { "name": "duration", - "cType": "const Interval *", - "canonical": "const Interval *" + "cType": "const int *", + "canonical": "const int *" } ] }, @@ -14069,13 +14329,13 @@ "file": "meos.h", "returnType": { "c": "TBox *", - "canonical": "TBox *" + "canonical": "struct TBox *" }, "params": [ { "name": "box", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" }, { "name": "d", @@ -14089,13 +14349,13 @@ "file": "meos.h", "returnType": { "c": "TBox *", - "canonical": "TBox *" + "canonical": "struct TBox *" }, "params": [ { "name": "box", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" }, { "name": "shift", @@ -14124,13 +14384,13 @@ "file": "meos.h", "returnType": { "c": "TBox *", - "canonical": "TBox *" + "canonical": "struct TBox *" }, "params": [ { "name": "box", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" }, { "name": "i", @@ -14144,13 +14404,13 @@ "file": "meos.h", "returnType": { "c": "TBox *", - "canonical": "TBox *" + "canonical": "struct TBox *" }, "params": [ { "name": "box", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" }, { "name": "shift", @@ -14179,18 +14439,18 @@ "file": "meos.h", "returnType": { "c": "TBox *", - "canonical": "TBox *" + "canonical": "struct TBox *" }, "params": [ { "name": "box1", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" }, { "name": "box2", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" }, { "name": "strict", @@ -14204,18 +14464,18 @@ "file": "meos.h", "returnType": { "c": "TBox *", - "canonical": "TBox *" + "canonical": "struct TBox *" }, "params": [ { "name": "box1", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" }, { "name": "box2", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" } ] }, @@ -14230,12 +14490,12 @@ { "name": "box1", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" }, { "name": "box2", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" } ] }, @@ -14250,12 +14510,12 @@ { "name": "box1", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" }, { "name": "box2", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" } ] }, @@ -14270,12 +14530,12 @@ { "name": "box1", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" }, { "name": "box2", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" } ] }, @@ -14290,12 +14550,12 @@ { "name": "box1", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" }, { "name": "box2", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" } ] }, @@ -14310,12 +14570,12 @@ { "name": "box1", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" }, { "name": "box2", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" } ] }, @@ -14330,12 +14590,12 @@ { "name": "box1", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" }, { "name": "box2", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" } ] }, @@ -14350,12 +14610,12 @@ { "name": "box1", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" }, { "name": "box2", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" } ] }, @@ -14370,12 +14630,12 @@ { "name": "box1", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" }, { "name": "box2", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" } ] }, @@ -14390,12 +14650,12 @@ { "name": "box1", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" }, { "name": "box2", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" } ] }, @@ -14410,12 +14670,12 @@ { "name": "box1", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" }, { "name": "box2", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" } ] }, @@ -14430,12 +14690,12 @@ { "name": "box1", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" }, { "name": "box2", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" } ] }, @@ -14450,12 +14710,12 @@ { "name": "box1", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" }, { "name": "box2", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" } ] }, @@ -14470,12 +14730,12 @@ { "name": "box1", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" }, { "name": "box2", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" } ] }, @@ -14490,12 +14750,12 @@ { "name": "box1", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" }, { "name": "box2", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" } ] }, @@ -14510,12 +14770,12 @@ { "name": "box1", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" }, { "name": "box2", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" } ] }, @@ -14530,12 +14790,12 @@ { "name": "box1", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" }, { "name": "box2", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" } ] }, @@ -14550,12 +14810,12 @@ { "name": "box1", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" }, { "name": "box2", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" } ] }, @@ -14570,12 +14830,12 @@ { "name": "box1", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" }, { "name": "box2", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" } ] }, @@ -14590,12 +14850,12 @@ { "name": "box1", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" }, { "name": "box2", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" } ] }, @@ -14610,12 +14870,57 @@ { "name": "box1", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" }, { "name": "box2", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" + } + ] + }, + { + "name": "tbigint_from_mfjson", + "file": "meos.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "tbigint_in", + "file": "meos.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "tbigint_out", + "file": "meos.h", + "returnType": { + "c": "char *", + "canonical": "char *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, @@ -14684,8 +14989,8 @@ }, { "name": "size_out", - "cType": "int *", - "canonical": "int *" + "cType": "size_t *", + "canonical": "unsigned long *" } ] }, @@ -14744,8 +15049,8 @@ }, { "name": "size_out", - "cType": "int *", - "canonical": "int *" + "cType": "size_t *", + "canonical": "unsigned long *" } ] }, @@ -14779,8 +15084,8 @@ }, { "name": "size", - "cType": "int", - "canonical": "int" + "cType": "size_t", + "canonical": "unsigned long" } ] }, @@ -14924,6 +15229,106 @@ } ] }, + { + "name": "tbigint_from_base_temp", + "file": "meos.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "i", + "cType": "int64", + "canonical": "long" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "tbigintinst_make", + "file": "meos.h", + "returnType": { + "c": "TInstant *", + "canonical": "struct TInstant *" + }, + "params": [ + { + "name": "i", + "cType": "int64", + "canonical": "long" + }, + { + "name": "t", + "cType": "TimestampTz", + "canonical": "long" + } + ] + }, + { + "name": "tbigintseq_from_base_tstzset", + "file": "meos.h", + "returnType": { + "c": "TSequence *", + "canonical": "struct TSequence *" + }, + "params": [ + { + "name": "i", + "cType": "int64", + "canonical": "long" + }, + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + } + ] + }, + { + "name": "tbigintseq_from_base_tstzspan", + "file": "meos.h", + "returnType": { + "c": "TSequence *", + "canonical": "struct TSequence *" + }, + "params": [ + { + "name": "i", + "cType": "int64", + "canonical": "long" + }, + { + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" + } + ] + }, + { + "name": "tbigintseqset_from_base_tstzspanset", + "file": "meos.h", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + "params": [ + { + "name": "i", + "cType": "int64", + "canonical": "long" + }, + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" + } + ] + }, { "name": "tbool_from_base_temp", "file": "meos.h", @@ -14949,7 +15354,7 @@ "file": "meos.h", "returnType": { "c": "TInstant *", - "canonical": "TInstant *" + "canonical": "struct TInstant *" }, "params": [ { @@ -14969,7 +15374,7 @@ "file": "meos.h", "returnType": { "c": "TSequence *", - "canonical": "TSequence *" + "canonical": "struct TSequence *" }, "params": [ { @@ -14989,7 +15394,7 @@ "file": "meos.h", "returnType": { "c": "TSequence *", - "canonical": "TSequence *" + "canonical": "struct TSequence *" }, "params": [ { @@ -15000,7 +15405,7 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, @@ -15009,7 +15414,7 @@ "file": "meos.h", "returnType": { "c": "TSequenceSet *", - "canonical": "TSequenceSet *" + "canonical": "struct TSequenceSet *" }, "params": [ { @@ -15020,7 +15425,7 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, @@ -15064,7 +15469,7 @@ "file": "meos.h", "returnType": { "c": "TInstant *", - "canonical": "TInstant *" + "canonical": "struct TInstant *" }, "params": [ { @@ -15084,7 +15489,7 @@ "file": "meos.h", "returnType": { "c": "TSequence *", - "canonical": "TSequence *" + "canonical": "struct TSequence *" }, "params": [ { @@ -15104,7 +15509,7 @@ "file": "meos.h", "returnType": { "c": "TSequence *", - "canonical": "TSequence *" + "canonical": "struct TSequence *" }, "params": [ { @@ -15115,7 +15520,7 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "interp", @@ -15129,7 +15534,7 @@ "file": "meos.h", "returnType": { "c": "TSequenceSet *", - "canonical": "TSequenceSet *" + "canonical": "struct TSequenceSet *" }, "params": [ { @@ -15140,7 +15545,7 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "interp", @@ -15174,7 +15579,7 @@ "file": "meos.h", "returnType": { "c": "TInstant *", - "canonical": "TInstant *" + "canonical": "struct TInstant *" }, "params": [ { @@ -15194,7 +15599,7 @@ "file": "meos.h", "returnType": { "c": "TSequence *", - "canonical": "TSequence *" + "canonical": "struct TSequence *" }, "params": [ { @@ -15214,7 +15619,7 @@ "file": "meos.h", "returnType": { "c": "TSequence *", - "canonical": "TSequence *" + "canonical": "struct TSequence *" }, "params": [ { @@ -15225,7 +15630,7 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, @@ -15234,7 +15639,7 @@ "file": "meos.h", "returnType": { "c": "TSequenceSet *", - "canonical": "TSequenceSet *" + "canonical": "struct TSequenceSet *" }, "params": [ { @@ -15245,7 +15650,7 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, @@ -15254,13 +15659,13 @@ "file": "meos.h", "returnType": { "c": "TSequence *", - "canonical": "TSequence *" + "canonical": "struct TSequence *" }, "params": [ { "name": "instants", "cType": "TInstant **", - "canonical": "TInstant **" + "canonical": "struct TInstant **" }, { "name": "count", @@ -15294,13 +15699,13 @@ "file": "meos.h", "returnType": { "c": "TSequenceSet *", - "canonical": "TSequenceSet *" + "canonical": "struct TSequenceSet *" }, "params": [ { "name": "sequences", "cType": "TSequence **", - "canonical": "TSequence **" + "canonical": "struct TSequence **" }, { "name": "count", @@ -15319,13 +15724,13 @@ "file": "meos.h", "returnType": { "c": "TSequenceSet *", - "canonical": "TSequenceSet *" + "canonical": "struct TSequenceSet *" }, "params": [ { "name": "instants", "cType": "TInstant **", - "canonical": "TInstant **" + "canonical": "struct TInstant **" }, { "name": "count", @@ -15339,8 +15744,8 @@ }, { "name": "maxt", - "cType": "const Interval *", - "canonical": "const Interval *" + "cType": "const int *", + "canonical": "const int *" }, { "name": "maxdist", @@ -15359,8 +15764,8 @@ "params": [ { "name": "txt", - "cType": "const text *", - "canonical": "const struct varlena *" + "cType": "const int *", + "canonical": "const int *" }, { "name": "temp", @@ -15374,13 +15779,13 @@ "file": "meos.h", "returnType": { "c": "TInstant *", - "canonical": "TInstant *" + "canonical": "struct TInstant *" }, "params": [ { "name": "txt", - "cType": "const text *", - "canonical": "const struct varlena *" + "cType": "const int *", + "canonical": "const int *" }, { "name": "t", @@ -15394,13 +15799,13 @@ "file": "meos.h", "returnType": { "c": "TSequence *", - "canonical": "TSequence *" + "canonical": "struct TSequence *" }, "params": [ { "name": "txt", - "cType": "const text *", - "canonical": "const struct varlena *" + "cType": "const int *", + "canonical": "const int *" }, { "name": "s", @@ -15414,18 +15819,18 @@ "file": "meos.h", "returnType": { "c": "TSequence *", - "canonical": "TSequence *" + "canonical": "struct TSequence *" }, "params": [ { "name": "txt", - "cType": "const text *", - "canonical": "const struct varlena *" + "cType": "const int *", + "canonical": "const int *" }, { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, @@ -15434,18 +15839,48 @@ "file": "meos.h", "returnType": { "c": "TSequenceSet *", - "canonical": "TSequenceSet *" + "canonical": "struct TSequenceSet *" }, "params": [ { "name": "txt", - "cType": "const text *", - "canonical": "const struct varlena *" + "cType": "const int *", + "canonical": "const int *" }, { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" + } + ] + }, + { + "name": "tbigint_to_tfloat", + "file": "meos.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "tbigint_to_tint", + "file": "meos.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, @@ -15469,7 +15904,22 @@ "file": "meos.h", "returnType": { "c": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "tfloat_to_tbigint", + "file": "meos.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { @@ -15494,6 +15944,21 @@ } ] }, + { + "name": "tint_to_tbigint", + "file": "meos.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, { "name": "tint_to_tfloat", "file": "meos.h", @@ -15514,7 +15979,7 @@ "file": "meos.h", "returnType": { "c": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, "params": [ { @@ -15529,7 +15994,67 @@ "file": "meos.h", "returnType": { "c": "TBox *", - "canonical": "TBox *" + "canonical": "struct TBox *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "tbigint_end_value", + "file": "meos.h", + "returnType": { + "c": "int64", + "canonical": "long" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "tbigint_max_value", + "file": "meos.h", + "returnType": { + "c": "int64", + "canonical": "long" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "tbigint_min_value", + "file": "meos.h", + "returnType": { + "c": "int64", + "canonical": "long" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "tbigint_start_value", + "file": "meos.h", + "returnType": { + "c": "int64", + "canonical": "long" }, "params": [ { @@ -15539,6 +16064,81 @@ } ] }, + { + "name": "tbigint_value_at_timestamptz", + "file": "meos.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "t", + "cType": "TimestampTz", + "canonical": "long" + }, + { + "name": "strict", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "value", + "cType": "int64 *", + "canonical": "long *" + } + ] + }, + { + "name": "tbigint_value_n", + "file": "meos.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "n", + "cType": "int64", + "canonical": "long" + }, + { + "name": "result", + "cType": "int64 *", + "canonical": "long *" + } + ] + }, + { + "name": "tbigint_values", + "file": "meos.h", + "returnType": { + "c": "int64 *", + "canonical": "long *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "count", + "cType": "int32 *", + "canonical": "int *" + } + ] + }, { "name": "tbool_end_value", "file": "meos.h", @@ -15595,7 +16195,7 @@ { "name": "value", "cType": "bool *", - "canonical": "unsigned char *" + "canonical": "_Bool *" } ] }, @@ -15620,7 +16220,7 @@ { "name": "result", "cType": "bool *", - "canonical": "unsigned char *" + "canonical": "_Bool *" } ] }, @@ -15629,7 +16229,7 @@ "file": "meos.h", "returnType": { "c": "bool *", - "canonical": "unsigned char *" + "canonical": "_Bool *" }, "params": [ { @@ -15648,8 +16248,8 @@ "name": "temporal_duration", "file": "meos.h", "returnType": { - "c": "Interval *", - "canonical": "Interval *" + "c": "int *", + "canonical": "int *" }, "params": [ { @@ -15669,7 +16269,7 @@ "file": "meos.h", "returnType": { "c": "TInstant *", - "canonical": "TInstant *" + "canonical": "struct TInstant *" }, "params": [ { @@ -15684,7 +16284,7 @@ "file": "meos.h", "returnType": { "c": "TSequence *", - "canonical": "TSequence *" + "canonical": "struct TSequence *" }, "params": [ { @@ -15729,7 +16329,7 @@ "file": "meos.h", "returnType": { "c": "TInstant *", - "canonical": "TInstant *" + "canonical": "struct TInstant *" }, "params": [ { @@ -15749,7 +16349,7 @@ "file": "meos.h", "returnType": { "c": "TInstant **", - "canonical": "TInstant **" + "canonical": "struct TInstant **" }, "params": [ { @@ -15799,7 +16399,7 @@ "file": "meos.h", "returnType": { "c": "TInstant *", - "canonical": "TInstant *" + "canonical": "struct TInstant *" }, "params": [ { @@ -15814,7 +16414,7 @@ "file": "meos.h", "returnType": { "c": "TInstant *", - "canonical": "TInstant *" + "canonical": "struct TInstant *" }, "params": [ { @@ -15874,7 +16474,7 @@ "file": "meos.h", "returnType": { "c": "TSequenceSet *", - "canonical": "TSequenceSet *" + "canonical": "struct TSequenceSet *" }, "params": [ { @@ -15884,8 +16484,8 @@ }, { "name": "duration", - "cType": "const Interval *", - "canonical": "const Interval *" + "cType": "const int *", + "canonical": "const int *" }, { "name": "atleast", @@ -15904,7 +16504,7 @@ "file": "meos.h", "returnType": { "c": "TSequence **", - "canonical": "TSequence **" + "canonical": "struct TSequence **" }, "params": [ { @@ -15924,7 +16524,7 @@ "file": "meos.h", "returnType": { "c": "TSequence *", - "canonical": "TSequence *" + "canonical": "struct TSequence *" }, "params": [ { @@ -15944,7 +16544,7 @@ "file": "meos.h", "returnType": { "c": "TSequence **", - "canonical": "TSequence **" + "canonical": "struct TSequence **" }, "params": [ { @@ -15964,7 +16564,7 @@ "file": "meos.h", "returnType": { "c": "TInstant *", - "canonical": "TInstant *" + "canonical": "struct TInstant *" }, "params": [ { @@ -15979,7 +16579,7 @@ "file": "meos.h", "returnType": { "c": "TSequence *", - "canonical": "TSequence *" + "canonical": "struct TSequence *" }, "params": [ { @@ -16009,7 +16609,7 @@ "file": "meos.h", "returnType": { "c": "TSequenceSet *", - "canonical": "TSequenceSet *" + "canonical": "struct TSequenceSet *" }, "params": [ { @@ -16024,8 +16624,8 @@ }, { "name": "minduration", - "cType": "const Interval *", - "canonical": "const Interval *" + "cType": "const int *", + "canonical": "const int *" } ] }, @@ -16049,7 +16649,7 @@ "file": "meos.h", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { @@ -16454,7 +17054,7 @@ "file": "meos.h", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { @@ -16468,8 +17068,8 @@ "name": "ttext_end_value", "file": "meos.h", "returnType": { - "c": "text *", - "canonical": "struct varlena *" + "c": "int *", + "canonical": "int *" }, "params": [ { @@ -16483,8 +17083,8 @@ "name": "ttext_max_value", "file": "meos.h", "returnType": { - "c": "text *", - "canonical": "struct varlena *" + "c": "int *", + "canonical": "int *" }, "params": [ { @@ -16498,8 +17098,8 @@ "name": "ttext_min_value", "file": "meos.h", "returnType": { - "c": "text *", - "canonical": "struct varlena *" + "c": "int *", + "canonical": "int *" }, "params": [ { @@ -16513,8 +17113,8 @@ "name": "ttext_start_value", "file": "meos.h", "returnType": { - "c": "text *", - "canonical": "struct varlena *" + "c": "int *", + "canonical": "int *" }, "params": [ { @@ -16549,8 +17149,8 @@ }, { "name": "value", - "cType": "text **", - "canonical": "struct varlena **" + "cType": "int **", + "canonical": "int **" } ] }, @@ -16574,8 +17174,8 @@ }, { "name": "result", - "cType": "text **", - "canonical": "struct varlena **" + "cType": "int **", + "canonical": "int **" } ] }, @@ -16583,8 +17183,8 @@ "name": "ttext_values", "file": "meos.h", "returnType": { - "c": "text **", - "canonical": "struct varlena **" + "c": "int **", + "canonical": "int **" }, "params": [ { @@ -16619,6 +17219,71 @@ } ] }, + { + "name": "tbigint_scale_value", + "file": "meos.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "width", + "cType": "int64", + "canonical": "long" + } + ] + }, + { + "name": "tbigint_shift_scale_value", + "file": "meos.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "shift", + "cType": "int64", + "canonical": "long" + }, + { + "name": "width", + "cType": "int64", + "canonical": "long" + } + ] + }, + { + "name": "tbigint_shift_value", + "file": "meos.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "shift", + "cType": "int64", + "canonical": "long" + } + ] + }, { "name": "temparr_round", "file": "meos.h", @@ -16679,8 +17344,8 @@ }, { "name": "duration", - "cType": "const Interval *", - "canonical": "const Interval *" + "cType": "const int *", + "canonical": "const int *" } ] }, @@ -16719,13 +17384,13 @@ }, { "name": "shift", - "cType": "const Interval *", - "canonical": "const Interval *" + "cType": "const int *", + "canonical": "const int *" }, { "name": "duration", - "cType": "const Interval *", - "canonical": "const Interval *" + "cType": "const int *", + "canonical": "const int *" } ] }, @@ -16744,8 +17409,8 @@ }, { "name": "shift", - "cType": "const Interval *", - "canonical": "const Interval *" + "cType": "const int *", + "canonical": "const int *" } ] }, @@ -16754,7 +17419,7 @@ "file": "meos.h", "returnType": { "c": "TInstant *", - "canonical": "TInstant *" + "canonical": "struct TInstant *" }, "params": [ { @@ -16769,7 +17434,7 @@ "file": "meos.h", "returnType": { "c": "TSequence *", - "canonical": "TSequence *" + "canonical": "struct TSequence *" }, "params": [ { @@ -16789,7 +17454,7 @@ "file": "meos.h", "returnType": { "c": "TSequenceSet *", - "canonical": "TSequenceSet *" + "canonical": "struct TSequenceSet *" }, "params": [ { @@ -17015,7 +17680,7 @@ { "name": "inst", "cType": "const TInstant *", - "canonical": "const TInstant *" + "canonical": "const struct TInstant *" }, { "name": "interp", @@ -17029,8 +17694,8 @@ }, { "name": "maxt", - "cType": "const Interval *", - "canonical": "const Interval *" + "cType": "const int *", + "canonical": "const int *" }, { "name": "expand", @@ -17055,7 +17720,7 @@ { "name": "seq", "cType": "const TSequence *", - "canonical": "const TSequence *" + "canonical": "const struct TSequence *" }, { "name": "expand", @@ -17130,7 +17795,7 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "connect", @@ -17155,7 +17820,7 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "connect", @@ -17254,6 +17919,46 @@ } ] }, + { + "name": "tbigint_at_value", + "file": "meos.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "i", + "cType": "int64", + "canonical": "long" + } + ] + }, + { + "name": "tbigint_minus_value", + "file": "meos.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "i", + "cType": "int64", + "canonical": "long" + } + ] + }, { "name": "tbool_at_value", "file": "meos.h", @@ -17405,7 +18110,7 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, @@ -17425,7 +18130,7 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, @@ -17560,7 +18265,7 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, @@ -17580,7 +18285,7 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, @@ -17700,7 +18405,7 @@ { "name": "span", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, @@ -17720,7 +18425,7 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, @@ -17740,7 +18445,7 @@ { "name": "box", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" } ] }, @@ -17760,7 +18465,7 @@ { "name": "span", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, @@ -17780,7 +18485,7 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, @@ -17800,7 +18505,7 @@ { "name": "box", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" } ] }, @@ -17819,8 +18524,8 @@ }, { "name": "txt", - "cType": "text *", - "canonical": "struct varlena *" + "cType": "int *", + "canonical": "int *" } ] }, @@ -17839,8 +18544,8 @@ }, { "name": "txt", - "cType": "text *", - "canonical": "struct varlena *" + "cType": "int *", + "canonical": "int *" } ] }, @@ -17885,7 +18590,7 @@ ], "ownership": "caller", "nullable": true, - "doc": "Retourne l'\u00e9galit\u00e9 temporelle entre deux valeurs temporelles.", + "doc": "Returns the temporal equality between two temporal values.", "meos": { "temporalDim": "any", "spatialDim": null, @@ -17993,6 +18698,26 @@ } ] }, + { + "name": "always_eq_bigint_tbigint", + "file": "meos.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "i", + "cType": "int64", + "canonical": "long" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, { "name": "always_eq_bool_tbool", "file": "meos.h", @@ -18103,8 +18828,8 @@ "params": [ { "name": "txt", - "cType": "const text *", - "canonical": "const struct varlena *" + "cType": "const int *", + "canonical": "const int *" }, { "name": "temp", @@ -18113,6 +18838,26 @@ } ] }, + { + "name": "always_eq_tbigint_bigint", + "file": "meos.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "i", + "cType": "int64", + "canonical": "long" + } + ] + }, { "name": "always_eq_tfloat_float", "file": "meos.h", @@ -18168,8 +18913,28 @@ }, { "name": "txt", - "cType": "const text *", - "canonical": "const struct varlena *" + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "always_ge_bigint_tbigint", + "file": "meos.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "i", + "cType": "int64", + "canonical": "long" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, @@ -18213,6 +18978,26 @@ } ] }, + { + "name": "always_ge_tbigint_bigint", + "file": "meos.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "i", + "cType": "int64", + "canonical": "long" + } + ] + }, { "name": "always_ge_temporal_temporal", "file": "meos.h", @@ -18243,8 +19028,8 @@ "params": [ { "name": "txt", - "cType": "const text *", - "canonical": "const struct varlena *" + "cType": "const int *", + "canonical": "const int *" }, { "name": "temp", @@ -18308,8 +19093,28 @@ }, { "name": "txt", - "cType": "const text *", - "canonical": "const struct varlena *" + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "always_gt_bigint_tbigint", + "file": "meos.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "i", + "cType": "int64", + "canonical": "long" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, @@ -18353,6 +19158,26 @@ } ] }, + { + "name": "always_gt_tbigint_bigint", + "file": "meos.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "i", + "cType": "int64", + "canonical": "long" + } + ] + }, { "name": "always_gt_temporal_temporal", "file": "meos.h", @@ -18383,8 +19208,8 @@ "params": [ { "name": "txt", - "cType": "const text *", - "canonical": "const struct varlena *" + "cType": "const int *", + "canonical": "const int *" }, { "name": "temp", @@ -18448,8 +19273,28 @@ }, { "name": "txt", - "cType": "const text *", - "canonical": "const struct varlena *" + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "always_le_bigint_tbigint", + "file": "meos.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "i", + "cType": "int64", + "canonical": "long" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, @@ -18493,6 +19338,26 @@ } ] }, + { + "name": "always_le_tbigint_bigint", + "file": "meos.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "i", + "cType": "int64", + "canonical": "long" + } + ] + }, { "name": "always_le_temporal_temporal", "file": "meos.h", @@ -18523,8 +19388,8 @@ "params": [ { "name": "txt", - "cType": "const text *", - "canonical": "const struct varlena *" + "cType": "const int *", + "canonical": "const int *" }, { "name": "temp", @@ -18588,8 +19453,28 @@ }, { "name": "txt", - "cType": "const text *", - "canonical": "const struct varlena *" + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "always_lt_bigint_tbigint", + "file": "meos.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "i", + "cType": "int64", + "canonical": "long" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, @@ -18663,8 +19548,8 @@ "params": [ { "name": "txt", - "cType": "const text *", - "canonical": "const struct varlena *" + "cType": "const int *", + "canonical": "const int *" }, { "name": "temp", @@ -18728,8 +19613,8 @@ }, { "name": "txt", - "cType": "const text *", - "canonical": "const struct varlena *" + "cType": "const int *", + "canonical": "const int *" } ] }, @@ -18793,6 +19678,46 @@ } ] }, + { + "name": "always_lt_tbigint_bigint", + "file": "meos.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "i", + "cType": "int64", + "canonical": "long" + } + ] + }, + { + "name": "always_ne_bigint_tbigint", + "file": "meos.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "i", + "cType": "int64", + "canonical": "long" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, { "name": "always_ne_tbool_bool", "file": "meos.h", @@ -18813,6 +19738,26 @@ } ] }, + { + "name": "always_ne_tbigint_bigint", + "file": "meos.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "i", + "cType": "int64", + "canonical": "long" + } + ] + }, { "name": "always_ne_temporal_temporal", "file": "meos.h", @@ -18843,8 +19788,8 @@ "params": [ { "name": "txt", - "cType": "const text *", - "canonical": "const struct varlena *" + "cType": "const int *", + "canonical": "const int *" }, { "name": "temp", @@ -18908,8 +19853,28 @@ }, { "name": "txt", - "cType": "const text *", - "canonical": "const struct varlena *" + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "ever_eq_bigint_tbigint", + "file": "meos.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "i", + "cType": "int64", + "canonical": "long" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, @@ -18973,6 +19938,26 @@ } ] }, + { + "name": "ever_eq_tbigint_bigint", + "file": "meos.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "i", + "cType": "int64", + "canonical": "long" + } + ] + }, { "name": "ever_eq_tbool_bool", "file": "meos.h", @@ -19023,8 +20008,8 @@ "params": [ { "name": "txt", - "cType": "const text *", - "canonical": "const struct varlena *" + "cType": "const int *", + "canonical": "const int *" }, { "name": "temp", @@ -19088,8 +20073,28 @@ }, { "name": "txt", - "cType": "const text *", - "canonical": "const struct varlena *" + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "ever_ge_bigint_tbigint", + "file": "meos.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "i", + "cType": "int64", + "canonical": "long" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, @@ -19133,6 +20138,26 @@ } ] }, + { + "name": "ever_ge_tbigint_bigint", + "file": "meos.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "i", + "cType": "int64", + "canonical": "long" + } + ] + }, { "name": "ever_ge_temporal_temporal", "file": "meos.h", @@ -19163,8 +20188,8 @@ "params": [ { "name": "txt", - "cType": "const text *", - "canonical": "const struct varlena *" + "cType": "const int *", + "canonical": "const int *" }, { "name": "temp", @@ -19228,8 +20253,28 @@ }, { "name": "txt", - "cType": "const text *", - "canonical": "const struct varlena *" + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "ever_gt_bigint_tbigint", + "file": "meos.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "i", + "cType": "int64", + "canonical": "long" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, @@ -19273,6 +20318,26 @@ } ] }, + { + "name": "ever_gt_tbigint_bigint", + "file": "meos.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "i", + "cType": "int64", + "canonical": "long" + } + ] + }, { "name": "ever_gt_temporal_temporal", "file": "meos.h", @@ -19303,8 +20368,8 @@ "params": [ { "name": "txt", - "cType": "const text *", - "canonical": "const struct varlena *" + "cType": "const int *", + "canonical": "const int *" }, { "name": "temp", @@ -19368,8 +20433,28 @@ }, { "name": "txt", - "cType": "const text *", - "canonical": "const struct varlena *" + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "ever_le_bigint_tbigint", + "file": "meos.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "i", + "cType": "int64", + "canonical": "long" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, @@ -19413,6 +20498,26 @@ } ] }, + { + "name": "ever_le_tbigint_bigint", + "file": "meos.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "i", + "cType": "int64", + "canonical": "long" + } + ] + }, { "name": "ever_le_temporal_temporal", "file": "meos.h", @@ -19443,8 +20548,8 @@ "params": [ { "name": "txt", - "cType": "const text *", - "canonical": "const struct varlena *" + "cType": "const int *", + "canonical": "const int *" }, { "name": "temp", @@ -19508,8 +20613,28 @@ }, { "name": "txt", - "cType": "const text *", - "canonical": "const struct varlena *" + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "ever_lt_bigint_tbigint", + "file": "meos.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "i", + "cType": "int64", + "canonical": "long" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, @@ -19553,6 +20678,26 @@ } ] }, + { + "name": "ever_lt_tbigint_bigint", + "file": "meos.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "i", + "cType": "int64", + "canonical": "long" + } + ] + }, { "name": "ever_lt_temporal_temporal", "file": "meos.h", @@ -19583,8 +20728,8 @@ "params": [ { "name": "txt", - "cType": "const text *", - "canonical": "const struct varlena *" + "cType": "const int *", + "canonical": "const int *" }, { "name": "temp", @@ -19648,8 +20793,28 @@ }, { "name": "txt", - "cType": "const text *", - "canonical": "const struct varlena *" + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "ever_ne_bigint_tbigint", + "file": "meos.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "i", + "cType": "int64", + "canonical": "long" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, @@ -19713,6 +20878,26 @@ } ] }, + { + "name": "ever_ne_tbigint_bigint", + "file": "meos.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "i", + "cType": "int64", + "canonical": "long" + } + ] + }, { "name": "ever_ne_tbool_bool", "file": "meos.h", @@ -19763,8 +20948,8 @@ "params": [ { "name": "txt", - "cType": "const text *", - "canonical": "const struct varlena *" + "cType": "const int *", + "canonical": "const int *" }, { "name": "temp", @@ -19828,8 +21013,8 @@ }, { "name": "txt", - "cType": "const text *", - "canonical": "const struct varlena *" + "cType": "const int *", + "canonical": "const int *" } ] }, @@ -19943,8 +21128,8 @@ "params": [ { "name": "txt", - "cType": "const text *", - "canonical": "const struct varlena *" + "cType": "const int *", + "canonical": "const int *" }, { "name": "temp", @@ -20008,8 +21193,8 @@ }, { "name": "txt", - "cType": "const text *", - "canonical": "const struct varlena *" + "cType": "const int *", + "canonical": "const int *" } ] }, @@ -20083,8 +21268,8 @@ "params": [ { "name": "txt", - "cType": "const text *", - "canonical": "const struct varlena *" + "cType": "const int *", + "canonical": "const int *" }, { "name": "temp", @@ -20148,8 +21333,8 @@ }, { "name": "txt", - "cType": "const text *", - "canonical": "const struct varlena *" + "cType": "const int *", + "canonical": "const int *" } ] }, @@ -20223,8 +21408,8 @@ "params": [ { "name": "txt", - "cType": "const text *", - "canonical": "const struct varlena *" + "cType": "const int *", + "canonical": "const int *" }, { "name": "temp", @@ -20288,8 +21473,8 @@ }, { "name": "txt", - "cType": "const text *", - "canonical": "const struct varlena *" + "cType": "const int *", + "canonical": "const int *" } ] }, @@ -20363,8 +21548,8 @@ "params": [ { "name": "txt", - "cType": "const text *", - "canonical": "const struct varlena *" + "cType": "const int *", + "canonical": "const int *" }, { "name": "temp", @@ -20428,8 +21613,8 @@ }, { "name": "txt", - "cType": "const text *", - "canonical": "const struct varlena *" + "cType": "const int *", + "canonical": "const int *" } ] }, @@ -20503,8 +21688,8 @@ "params": [ { "name": "txt", - "cType": "const text *", - "canonical": "const struct varlena *" + "cType": "const int *", + "canonical": "const int *" }, { "name": "temp", @@ -20568,8 +21753,8 @@ }, { "name": "txt", - "cType": "const text *", - "canonical": "const struct varlena *" + "cType": "const int *", + "canonical": "const int *" } ] }, @@ -20683,8 +21868,8 @@ "params": [ { "name": "txt", - "cType": "const text *", - "canonical": "const struct varlena *" + "cType": "const int *", + "canonical": "const int *" }, { "name": "temp", @@ -20748,8 +21933,8 @@ }, { "name": "txt", - "cType": "const text *", - "canonical": "const struct varlena *" + "cType": "const int *", + "canonical": "const int *" } ] }, @@ -20758,7 +21943,7 @@ "file": "meos.h", "returnType": { "c": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, "params": [ { @@ -20778,7 +21963,7 @@ "file": "meos.h", "returnType": { "c": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, "params": [ { @@ -20803,7 +21988,7 @@ "file": "meos.h", "returnType": { "c": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, "params": [ { @@ -20828,7 +22013,7 @@ "file": "meos.h", "returnType": { "c": "TBox *", - "canonical": "TBox *" + "canonical": "struct TBox *" }, "params": [ { @@ -20853,7 +22038,7 @@ "file": "meos.h", "returnType": { "c": "TBox *", - "canonical": "TBox *" + "canonical": "struct TBox *" }, "params": [ { @@ -20878,7 +22063,7 @@ "file": "meos.h", "returnType": { "c": "TBox *", - "canonical": "TBox *" + "canonical": "struct TBox *" }, "params": [ { @@ -20904,7 +22089,7 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "temp", @@ -20924,7 +22109,7 @@ { "name": "box", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" }, { "name": "temp", @@ -20969,7 +22154,7 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, @@ -20989,7 +22174,7 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, @@ -21009,7 +22194,7 @@ { "name": "box", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" } ] }, @@ -21044,7 +22229,7 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "temp", @@ -21064,7 +22249,7 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "temp", @@ -21084,7 +22269,7 @@ { "name": "box", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" }, { "name": "temp", @@ -21129,7 +22314,7 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, @@ -21149,7 +22334,7 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, @@ -21169,7 +22354,7 @@ { "name": "box", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" } ] }, @@ -21204,7 +22389,7 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "temp", @@ -21224,7 +22409,7 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "temp", @@ -21244,7 +22429,7 @@ { "name": "box", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" }, { "name": "temp", @@ -21269,7 +22454,7 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, @@ -21309,7 +22494,7 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, @@ -21329,7 +22514,7 @@ { "name": "box", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" } ] }, @@ -21364,7 +22549,7 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "temp", @@ -21384,7 +22569,7 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "temp", @@ -21404,7 +22589,7 @@ { "name": "box", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" }, { "name": "temp", @@ -21449,7 +22634,7 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, @@ -21469,7 +22654,7 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, @@ -21489,7 +22674,7 @@ { "name": "box", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" } ] }, @@ -21524,7 +22709,7 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "temp", @@ -21544,7 +22729,7 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "temp", @@ -21564,7 +22749,7 @@ { "name": "box", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" }, { "name": "temp", @@ -21609,7 +22794,7 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, @@ -21629,7 +22814,7 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, @@ -21649,7 +22834,7 @@ { "name": "box", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" } ] }, @@ -21684,7 +22869,7 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "temp", @@ -21704,7 +22889,7 @@ { "name": "box", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" }, { "name": "temp", @@ -21729,7 +22914,7 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, @@ -21769,7 +22954,7 @@ { "name": "box", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" } ] }, @@ -21804,7 +22989,7 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "temp", @@ -21824,7 +23009,7 @@ { "name": "box", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" }, { "name": "temp", @@ -21849,7 +23034,7 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, @@ -21889,7 +23074,7 @@ { "name": "box", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" } ] }, @@ -21924,7 +23109,7 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "temp", @@ -21944,7 +23129,7 @@ { "name": "box", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" }, { "name": "temp", @@ -21964,7 +23149,7 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "temp", @@ -21989,7 +23174,7 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, @@ -22009,7 +23194,7 @@ { "name": "box", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" } ] }, @@ -22044,7 +23229,7 @@ { "name": "box", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" }, { "name": "temp", @@ -22069,7 +23254,7 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, @@ -22109,7 +23294,7 @@ { "name": "box", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" } ] }, @@ -22144,7 +23329,7 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "temp", @@ -22164,7 +23349,7 @@ { "name": "box", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" }, { "name": "temp", @@ -22189,7 +23374,7 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, @@ -22229,7 +23414,7 @@ { "name": "box", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" } ] }, @@ -22264,7 +23449,7 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "temp", @@ -22284,7 +23469,7 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "temp", @@ -22304,7 +23489,7 @@ { "name": "box", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" }, { "name": "temp", @@ -22329,7 +23514,7 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, @@ -22349,7 +23534,7 @@ { "name": "box", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" } ] }, @@ -22384,7 +23569,7 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "temp", @@ -22404,7 +23589,7 @@ { "name": "box", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" }, { "name": "temp", @@ -22429,7 +23614,7 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, @@ -22449,7 +23634,7 @@ { "name": "box", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" } ] }, @@ -22484,7 +23669,7 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "temp", @@ -22504,7 +23689,7 @@ { "name": "box", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" }, { "name": "temp", @@ -22529,7 +23714,7 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, @@ -22549,7 +23734,7 @@ { "name": "box", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" } ] }, @@ -22638,7 +23823,7 @@ "file": "meos.h", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { @@ -22723,6 +23908,26 @@ } ] }, + { + "name": "add_bigint_tbigint", + "file": "meos.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "i", + "cType": "int64", + "canonical": "long" + }, + { + "name": "tnumber", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, { "name": "add_float_tfloat", "file": "meos.h", @@ -22763,6 +23968,26 @@ } ] }, + { + "name": "add_tbigint_bigint", + "file": "meos.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "tnumber", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "i", + "cType": "int64", + "canonical": "long" + } + ] + }, { "name": "add_tfloat_float", "file": "meos.h", @@ -22823,6 +24048,26 @@ } ] }, + { + "name": "div_bigint_tbigint", + "file": "meos.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "i", + "cType": "int64", + "canonical": "long" + }, + { + "name": "tnumber", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, { "name": "div_float_tfloat", "file": "meos.h", @@ -22863,6 +24108,26 @@ } ] }, + { + "name": "div_tbigint_bigint", + "file": "meos.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "tnumber", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "i", + "cType": "int64", + "canonical": "long" + } + ] + }, { "name": "div_tfloat_float", "file": "meos.h", @@ -22924,7 +24189,27 @@ ] }, { - "name": "mult_float_tfloat", + "name": "mul_bigint_tbigint", + "file": "meos.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "i", + "cType": "int64", + "canonical": "long" + }, + { + "name": "tnumber", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "mul_float_tfloat", "file": "meos.h", "returnType": { "c": "Temporal *", @@ -22944,7 +24229,7 @@ ] }, { - "name": "mult_int_tint", + "name": "mul_int_tint", "file": "meos.h", "returnType": { "c": "Temporal *", @@ -22964,7 +24249,27 @@ ] }, { - "name": "mult_tfloat_float", + "name": "mul_tbigint_bigint", + "file": "meos.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "tnumber", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "i", + "cType": "int64", + "canonical": "long" + } + ] + }, + { + "name": "mul_tfloat_float", "file": "meos.h", "returnType": { "c": "Temporal *", @@ -22984,7 +24289,7 @@ ] }, { - "name": "mult_tint_int", + "name": "mul_tint_int", "file": "meos.h", "returnType": { "c": "Temporal *", @@ -23004,7 +24309,7 @@ ] }, { - "name": "mult_tnumber_tnumber", + "name": "mul_tnumber_tnumber", "file": "meos.h", "returnType": { "c": "Temporal *", @@ -23023,6 +24328,26 @@ } ] }, + { + "name": "sub_bigint_tbigint", + "file": "meos.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "i", + "cType": "int64", + "canonical": "long" + }, + { + "name": "tnumber", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, { "name": "sub_float_tfloat", "file": "meos.h", @@ -23063,6 +24388,26 @@ } ] }, + { + "name": "sub_tbigint_bigint", + "file": "meos.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "tnumber", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "i", + "cType": "int64", + "canonical": "long" + } + ] + }, { "name": "sub_tfloat_float", "file": "meos.h", @@ -23273,8 +24618,8 @@ "params": [ { "name": "txt", - "cType": "const text *", - "canonical": "const struct varlena *" + "cType": "const int *", + "canonical": "const int *" }, { "name": "temp", @@ -23298,8 +24643,8 @@ }, { "name": "txt", - "cType": "const text *", - "canonical": "const struct varlena *" + "cType": "const int *", + "canonical": "const int *" } ] }, @@ -23439,12 +24784,12 @@ { "name": "box1", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" }, { "name": "box2", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" } ] }, @@ -23459,12 +24804,12 @@ { "name": "box1", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" }, { "name": "box2", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" } ] }, @@ -23524,7 +24869,7 @@ { "name": "box", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" } ] }, @@ -23564,7 +24909,7 @@ { "name": "box", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" } ] }, @@ -23633,13 +24978,33 @@ "file": "meos.h", "returnType": { "c": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, "params": [ { "name": "s", "cType": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "temporal_merge_transfn", + "file": "meos.h", + "returnType": { + "c": "SkipList *", + "canonical": "struct SkipList *" + }, + "params": [ + { + "name": "state", + "cType": "SkipList *", + "canonical": "struct SkipList *" }, { "name": "temp", @@ -23648,6 +25013,26 @@ } ] }, + { + "name": "temporal_merge_combinefn", + "file": "meos.h", + "returnType": { + "c": "SkipList *", + "canonical": "struct SkipList *" + }, + "params": [ + { + "name": "state1", + "cType": "SkipList *", + "canonical": "struct SkipList *" + }, + { + "name": "state2", + "cType": "SkipList *", + "canonical": "struct SkipList *" + } + ] + }, { "name": "temporal_tagg_finalfn", "file": "meos.h", @@ -23763,8 +25148,8 @@ }, { "name": "interv", - "cType": "const Interval *", - "canonical": "const Interval *" + "cType": "const int *", + "canonical": "const int *" } ] }, @@ -23788,8 +25173,8 @@ }, { "name": "interv", - "cType": "const Interval *", - "canonical": "const Interval *" + "cType": "const int *", + "canonical": "const int *" } ] }, @@ -23813,8 +25198,8 @@ }, { "name": "interv", - "cType": "const Interval *", - "canonical": "const Interval *" + "cType": "const int *", + "canonical": "const int *" } ] }, @@ -23918,8 +25303,8 @@ }, { "name": "interv", - "cType": "const Interval *", - "canonical": "const Interval *" + "cType": "const int *", + "canonical": "const int *" } ] }, @@ -23943,8 +25328,8 @@ }, { "name": "interv", - "cType": "const Interval *", - "canonical": "const Interval *" + "cType": "const int *", + "canonical": "const int *" } ] }, @@ -23968,8 +25353,8 @@ }, { "name": "interv", - "cType": "const Interval *", - "canonical": "const Interval *" + "cType": "const int *", + "canonical": "const int *" } ] }, @@ -23978,13 +25363,13 @@ "file": "meos.h", "returnType": { "c": "TBox *", - "canonical": "TBox *" + "canonical": "struct TBox *" }, "params": [ { "name": "box", "cType": "TBox *", - "canonical": "TBox *" + "canonical": "struct TBox *" }, { "name": "temp", @@ -24048,8 +25433,8 @@ }, { "name": "interv", - "cType": "const Interval *", - "canonical": "const Interval *" + "cType": "const int *", + "canonical": "const int *" } ] }, @@ -24089,7 +25474,7 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, @@ -24109,7 +25494,7 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, @@ -24238,8 +25623,8 @@ }, { "name": "mint", - "cType": "const Interval *", - "canonical": "const Interval *" + "cType": "const int *", + "canonical": "const int *" } ] }, @@ -24258,8 +25643,8 @@ }, { "name": "duration", - "cType": "const Interval *", - "canonical": "const Interval *" + "cType": "const int *", + "canonical": "const int *" }, { "name": "origin", @@ -24283,8 +25668,8 @@ }, { "name": "duration", - "cType": "const Interval *", - "canonical": "const Interval *" + "cType": "const int *", + "canonical": "const int *" }, { "name": "origin", @@ -24413,7 +25798,7 @@ "file": "meos.h", "returnType": { "c": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, "params": [ { @@ -24423,8 +25808,8 @@ }, { "name": "duration", - "cType": "const Interval *", - "canonical": "const Interval *" + "cType": "const int *", + "canonical": "const int *" }, { "name": "origin", @@ -24453,8 +25838,8 @@ }, { "name": "duration", - "cType": "const Interval *", - "canonical": "const Interval *" + "cType": "const int *", + "canonical": "const int *" }, { "name": "torigin", @@ -24478,7 +25863,7 @@ "file": "meos.h", "returnType": { "c": "TBox *", - "canonical": "TBox *" + "canonical": "struct TBox *" }, "params": [ { @@ -24488,8 +25873,8 @@ }, { "name": "duration", - "cType": "const Interval *", - "canonical": "const Interval *" + "cType": "const int *", + "canonical": "const int *" }, { "name": "torigin", @@ -24508,7 +25893,7 @@ "file": "meos.h", "returnType": { "c": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, "params": [ { @@ -24538,7 +25923,7 @@ "file": "meos.h", "returnType": { "c": "TBox *", - "canonical": "TBox *" + "canonical": "struct TBox *" }, "params": [ { @@ -24603,7 +25988,7 @@ "file": "meos.h", "returnType": { "c": "TBox *", - "canonical": "TBox *" + "canonical": "struct TBox *" }, "params": [ { @@ -24618,8 +26003,8 @@ }, { "name": "duration", - "cType": "const Interval *", - "canonical": "const Interval *" + "cType": "const int *", + "canonical": "const int *" }, { "name": "vorigin", @@ -24658,8 +26043,8 @@ }, { "name": "duration", - "cType": "const Interval *", - "canonical": "const Interval *" + "cType": "const int *", + "canonical": "const int *" }, { "name": "vorigin", @@ -24693,18 +26078,18 @@ "file": "meos.h", "returnType": { "c": "TBox *", - "canonical": "TBox *" + "canonical": "struct TBox *" }, "params": [ { "name": "box", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" }, { "name": "duration", - "cType": "const Interval *", - "canonical": "const Interval *" + "cType": "const int *", + "canonical": "const int *" }, { "name": "torigin", @@ -24723,13 +26108,13 @@ "file": "meos.h", "returnType": { "c": "TBox *", - "canonical": "TBox *" + "canonical": "struct TBox *" }, "params": [ { "name": "box", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" }, { "name": "vsize", @@ -24753,13 +26138,13 @@ "file": "meos.h", "returnType": { "c": "TBox *", - "canonical": "TBox *" + "canonical": "struct TBox *" }, "params": [ { "name": "box", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" }, { "name": "vsize", @@ -24768,8 +26153,8 @@ }, { "name": "duration", - "cType": "const Interval *", - "canonical": "const Interval *" + "cType": "const int *", + "canonical": "const int *" }, { "name": "vorigin", @@ -24793,7 +26178,7 @@ "file": "meos.h", "returnType": { "c": "TBox *", - "canonical": "TBox *" + "canonical": "struct TBox *" }, "params": [ { @@ -24803,8 +26188,8 @@ }, { "name": "duration", - "cType": "const Interval *", - "canonical": "const Interval *" + "cType": "const int *", + "canonical": "const int *" }, { "name": "torigin", @@ -24823,7 +26208,7 @@ "file": "meos.h", "returnType": { "c": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, "params": [ { @@ -24853,7 +26238,7 @@ "file": "meos.h", "returnType": { "c": "TBox *", - "canonical": "TBox *" + "canonical": "struct TBox *" }, "params": [ { @@ -24918,7 +26303,7 @@ "file": "meos.h", "returnType": { "c": "TBox *", - "canonical": "TBox *" + "canonical": "struct TBox *" }, "params": [ { @@ -24933,8 +26318,8 @@ }, { "name": "duration", - "cType": "const Interval *", - "canonical": "const Interval *" + "cType": "const int *", + "canonical": "const int *" }, { "name": "vorigin", @@ -24973,8 +26358,8 @@ }, { "name": "duration", - "cType": "const Interval *", - "canonical": "const Interval *" + "cType": "const int *", + "canonical": "const int *" }, { "name": "vorigin", @@ -25008,18 +26393,18 @@ "file": "meos.h", "returnType": { "c": "TBox *", - "canonical": "TBox *" + "canonical": "struct TBox *" }, "params": [ { "name": "box", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" }, { "name": "duration", - "cType": "const Interval *", - "canonical": "const Interval *" + "cType": "const int *", + "canonical": "const int *" }, { "name": "torigin", @@ -25038,13 +26423,13 @@ "file": "meos.h", "returnType": { "c": "TBox *", - "canonical": "TBox *" + "canonical": "struct TBox *" }, "params": [ { "name": "box", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" }, { "name": "xsize", @@ -25068,13 +26453,13 @@ "file": "meos.h", "returnType": { "c": "TBox *", - "canonical": "TBox *" + "canonical": "struct TBox *" }, "params": [ { "name": "box", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" }, { "name": "xsize", @@ -25083,8 +26468,8 @@ }, { "name": "duration", - "cType": "const Interval *", - "canonical": "const Interval *" + "cType": "const int *", + "canonical": "const int *" }, { "name": "xorigin", @@ -25104,1926 +26489,1655 @@ ] }, { - "name": "geo_as_ewkb", - "file": "meos_geo.h", + "name": "meos_initialize_noexit_error_handler", + "file": "meos.h", "returnType": { - "c": "uint8_t *", - "canonical": "unsigned char *" + "c": "void", + "canonical": "void" + }, + "params": [] + }, + { + "name": "h3_are_neighbor_cells_meos", + "file": "h3_generated.h", + "returnType": { + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" - }, - { - "name": "endian", - "cType": "const char *", - "canonical": "const char *" + "name": "origin", + "cType": "H3Index", + "canonical": "unsigned long" }, { - "name": "size", - "cType": "int *", - "canonical": "int *" + "name": "destination", + "cType": "H3Index", + "canonical": "unsigned long" } ] }, { - "name": "geo_as_ewkt", - "file": "meos_geo.h", + "name": "h3_cells_to_directed_edge_meos", + "file": "h3_generated.h", "returnType": { - "c": "char *", - "canonical": "char *" + "c": "H3Index", + "canonical": "unsigned long" }, "params": [ { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "name": "origin", + "cType": "H3Index", + "canonical": "unsigned long" }, { - "name": "precision", - "cType": "int", - "canonical": "int" + "name": "destination", + "cType": "H3Index", + "canonical": "unsigned long" } ] }, { - "name": "geo_as_geojson", - "file": "meos_geo.h", + "name": "h3_is_valid_directed_edge_meos", + "file": "h3_generated.h", "returnType": { - "c": "char *", - "canonical": "char *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" - }, - { - "name": "option", - "cType": "int", - "canonical": "int" - }, - { - "name": "precision", - "cType": "int", - "canonical": "int" - }, - { - "name": "srs", - "cType": "const char *", - "canonical": "const char *" + "name": "edge", + "cType": "H3Index", + "canonical": "unsigned long" } ] }, { - "name": "geo_as_hexewkb", - "file": "meos_geo.h", + "name": "h3_get_directed_edge_origin_meos", + "file": "h3_generated.h", "returnType": { - "c": "char *", - "canonical": "char *" + "c": "H3Index", + "canonical": "unsigned long" }, "params": [ { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" - }, + "name": "edge", + "cType": "H3Index", + "canonical": "unsigned long" + } + ] + }, + { + "name": "h3_get_directed_edge_destination_meos", + "file": "h3_generated.h", + "returnType": { + "c": "H3Index", + "canonical": "unsigned long" + }, + "params": [ { - "name": "endian", - "cType": "const char *", - "canonical": "const char *" + "name": "edge", + "cType": "H3Index", + "canonical": "unsigned long" } ] }, { - "name": "geo_as_text", - "file": "meos_geo.h", + "name": "h3_cell_to_parent_meos", + "file": "h3_generated.h", "returnType": { - "c": "char *", - "canonical": "char *" + "c": "H3Index", + "canonical": "unsigned long" }, "params": [ { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "name": "origin", + "cType": "H3Index", + "canonical": "unsigned long" }, { - "name": "precision", - "cType": "int", + "name": "resolution", + "cType": "int32", "canonical": "int" } ] }, { - "name": "geo_from_ewkb", - "file": "meos_geo.h", + "name": "h3_cell_to_center_child_meos", + "file": "h3_generated.h", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "H3Index", + "canonical": "unsigned long" }, "params": [ { - "name": "wkb", - "cType": "const uint8_t *", - "canonical": "const unsigned char *" - }, - { - "name": "wkb_size", - "cType": "int", - "canonical": "int" + "name": "origin", + "cType": "H3Index", + "canonical": "unsigned long" }, { - "name": "srid", + "name": "resolution", "cType": "int32", "canonical": "int" } ] }, { - "name": "geo_from_geojson", - "file": "meos_geo.h", + "name": "h3_cell_to_child_pos_meos", + "file": "h3_generated.h", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "int64", + "canonical": "long" }, "params": [ { - "name": "geojson", - "cType": "const char *", - "canonical": "const char *" + "name": "child", + "cType": "H3Index", + "canonical": "unsigned long" + }, + { + "name": "parentRes", + "cType": "int32", + "canonical": "int" } ] }, { - "name": "geo_from_text", - "file": "meos_geo.h", + "name": "h3_child_pos_to_cell_meos", + "file": "h3_generated.h", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "H3Index", + "canonical": "unsigned long" }, "params": [ { - "name": "wkt", - "cType": "const char *", - "canonical": "const char *" + "name": "childPos", + "cType": "int64", + "canonical": "long" }, { - "name": "srid", - "cType": "int32_t", + "name": "parent", + "cType": "H3Index", + "canonical": "unsigned long" + }, + { + "name": "childRes", + "cType": "int32", "canonical": "int" } ] }, { - "name": "geo_out", - "file": "meos_geo.h", + "name": "h3_get_resolution_meos", + "file": "h3_generated.h", "returnType": { - "c": "char *", - "canonical": "char *" + "c": "int32", + "canonical": "int" }, "params": [ { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "name": "hex", + "cType": "H3Index", + "canonical": "unsigned long" } ] }, { - "name": "geog_from_binary", - "file": "meos_geo.h", + "name": "h3_get_base_cell_number_meos", + "file": "h3_generated.h", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "int32", + "canonical": "int" }, "params": [ { - "name": "wkb_bytea", - "cType": "const char *", - "canonical": "const char *" + "name": "hex", + "cType": "H3Index", + "canonical": "unsigned long" } ] }, { - "name": "geog_from_hexewkb", - "file": "meos_geo.h", + "name": "h3_is_valid_cell_meos", + "file": "h3_generated.h", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "wkt", - "cType": "const char *", - "canonical": "const char *" + "name": "hex", + "cType": "H3Index", + "canonical": "unsigned long" } ] }, { - "name": "geog_in", - "file": "meos_geo.h", + "name": "h3_is_res_class_iii_meos", + "file": "h3_generated.h", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "str", - "cType": "const char *", - "canonical": "const char *" - }, - { - "name": "typmod", - "cType": "int32", - "canonical": "int" + "name": "hex", + "cType": "H3Index", + "canonical": "unsigned long" } ] }, { - "name": "geom_from_hexewkb", - "file": "meos_geo.h", + "name": "h3_is_pentagon_meos", + "file": "h3_generated.h", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "wkt", - "cType": "const char *", - "canonical": "const char *" + "name": "hex", + "cType": "H3Index", + "canonical": "unsigned long" } ] }, { - "name": "geom_in", - "file": "meos_geo.h", + "name": "h3_get_num_cells_meos", + "file": "h3_generated.h", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "int64", + "canonical": "long" }, "params": [ { - "name": "str", - "cType": "const char *", - "canonical": "const char *" - }, - { - "name": "typmod", + "name": "resolution", "cType": "int32", "canonical": "int" } ] }, { - "name": "box3d_make", - "file": "meos_geo.h", + "name": "h3_grid_distance_meos", + "file": "h3_generated.h", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "int64", + "canonical": "long" }, "params": [ { - "name": "xmin", - "cType": "double", - "canonical": "double" - }, - { - "name": "xmax", - "cType": "double", - "canonical": "double" - }, - { - "name": "ymin", - "cType": "double", - "canonical": "double" - }, - { - "name": "ymax", - "cType": "double", - "canonical": "double" - }, - { - "name": "zmin", - "cType": "double", - "canonical": "double" - }, - { - "name": "zmax", - "cType": "double", - "canonical": "double" + "name": "originIndex", + "cType": "H3Index", + "canonical": "unsigned long" }, { - "name": "srid", - "cType": "int32_t", - "canonical": "int" + "name": "h3Index", + "cType": "H3Index", + "canonical": "unsigned long" } ] }, { - "name": "box3d_out", - "file": "meos_geo.h", + "name": "h3_cell_to_vertex_meos", + "file": "h3_generated.h", "returnType": { - "c": "char *", - "canonical": "char *" + "c": "H3Index", + "canonical": "unsigned long" }, "params": [ { - "name": "box", - "cType": "const int *", - "canonical": "const int *" + "name": "cell", + "cType": "H3Index", + "canonical": "unsigned long" }, { - "name": "maxdd", - "cType": "int", + "name": "vertexNum", + "cType": "int32", "canonical": "int" } ] }, { - "name": "gbox_make", - "file": "meos_geo.h", + "name": "h3_is_valid_vertex_meos", + "file": "h3_generated.h", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "hasz", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "xmin", - "cType": "double", - "canonical": "double" - }, - { - "name": "xmax", - "cType": "double", - "canonical": "double" - }, - { - "name": "ymin", - "cType": "double", - "canonical": "double" - }, - { - "name": "ymax", - "cType": "double", - "canonical": "double" - }, - { - "name": "zmin", - "cType": "double", - "canonical": "double" - }, - { - "name": "zmax", - "cType": "double", - "canonical": "double" + "name": "vertex", + "cType": "H3Index", + "canonical": "unsigned long" } ] }, { - "name": "gbox_out", - "file": "meos_geo.h", + "name": "h3index_parse", + "file": "h3index.h", "returnType": { - "c": "char *", - "canonical": "char *" + "c": "H3Index", + "canonical": "unsigned long" }, "params": [ { - "name": "box", - "cType": "const int *", - "canonical": "const int *" - }, - { - "name": "maxdd", - "cType": "int", - "canonical": "int" + "name": "str", + "cType": "const char *", + "canonical": "const char *" } ] }, { - "name": "geo_copy", - "file": "meos_geo.h", + "name": "h3index_to_string", + "file": "h3index.h", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "char *", + "canonical": "char *" }, "params": [ { - "name": "g", - "cType": "const int *", - "canonical": "const int *" + "name": "cell", + "cType": "H3Index", + "canonical": "unsigned long" } ] }, { - "name": "geogpoint_make2d", - "file": "meos_geo.h", + "name": "h3index_eq", + "file": "h3index.h", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "srid", - "cType": "int32_t", - "canonical": "int" - }, - { - "name": "x", - "cType": "double", - "canonical": "double" + "name": "a", + "cType": "H3Index", + "canonical": "unsigned long" }, { - "name": "y", - "cType": "double", - "canonical": "double" + "name": "b", + "cType": "H3Index", + "canonical": "unsigned long" } ] }, { - "name": "geogpoint_make3dz", - "file": "meos_geo.h", + "name": "h3index_ne", + "file": "h3index.h", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "srid", - "cType": "int32_t", - "canonical": "int" + "name": "a", + "cType": "H3Index", + "canonical": "unsigned long" }, { - "name": "x", - "cType": "double", - "canonical": "double" - }, - { - "name": "y", - "cType": "double", - "canonical": "double" - }, - { - "name": "z", - "cType": "double", - "canonical": "double" + "name": "b", + "cType": "H3Index", + "canonical": "unsigned long" } ] }, { - "name": "geompoint_make2d", - "file": "meos_geo.h", + "name": "h3index_lt", + "file": "h3index.h", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "srid", - "cType": "int32_t", - "canonical": "int" - }, - { - "name": "x", - "cType": "double", - "canonical": "double" + "name": "a", + "cType": "H3Index", + "canonical": "unsigned long" }, { - "name": "y", - "cType": "double", - "canonical": "double" + "name": "b", + "cType": "H3Index", + "canonical": "unsigned long" } ] }, { - "name": "geompoint_make3dz", - "file": "meos_geo.h", + "name": "h3index_le", + "file": "h3index.h", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "srid", - "cType": "int32_t", - "canonical": "int" - }, - { - "name": "x", - "cType": "double", - "canonical": "double" - }, - { - "name": "y", - "cType": "double", - "canonical": "double" + "name": "a", + "cType": "H3Index", + "canonical": "unsigned long" }, { - "name": "z", - "cType": "double", - "canonical": "double" + "name": "b", + "cType": "H3Index", + "canonical": "unsigned long" } ] }, { - "name": "geom_to_geog", - "file": "meos_geo.h", + "name": "h3index_gt", + "file": "h3index.h", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "geom", - "cType": "const int *", - "canonical": "const int *" + "name": "a", + "cType": "H3Index", + "canonical": "unsigned long" + }, + { + "name": "b", + "cType": "H3Index", + "canonical": "unsigned long" } ] }, { - "name": "geog_to_geom", - "file": "meos_geo.h", + "name": "h3index_ge", + "file": "h3index.h", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "geog", - "cType": "const int *", - "canonical": "const int *" + "name": "a", + "cType": "H3Index", + "canonical": "unsigned long" + }, + { + "name": "b", + "cType": "H3Index", + "canonical": "unsigned long" } ] }, { - "name": "geo_is_empty", - "file": "meos_geo.h", + "name": "h3index_cmp", + "file": "h3index.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "g", - "cType": "const int *", - "canonical": "const int *" + "name": "a", + "cType": "H3Index", + "canonical": "unsigned long" + }, + { + "name": "b", + "cType": "H3Index", + "canonical": "unsigned long" } ] }, { - "name": "geo_is_unitary", - "file": "meos_geo.h", + "name": "h3index_hash", + "file": "h3index.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "uint32", + "canonical": "unsigned int" }, "params": [ { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "name": "cell", + "cType": "H3Index", + "canonical": "unsigned long" } ] }, { - "name": "geo_typename", - "file": "meos_geo.h", + "name": "h3_grid_disk", + "file": "h3index_sets.h", "returnType": { - "c": "const char *", - "canonical": "const char *" + "c": "Set *", + "canonical": "Set *" }, "params": [ { - "name": "type", + "name": "origin", + "cType": "H3Index", + "canonical": "unsigned long" + }, + { + "name": "k", "cType": "int", "canonical": "int" } ] }, { - "name": "geog_area", - "file": "meos_geo.h", + "name": "h3_grid_ring", + "file": "h3index_sets.h", "returnType": { - "c": "double", - "canonical": "double" + "c": "Set *", + "canonical": "Set *" }, "params": [ { - "name": "g", - "cType": "const int *", - "canonical": "const int *" + "name": "origin", + "cType": "H3Index", + "canonical": "unsigned long" }, { - "name": "use_spheroid", - "cType": "bool", - "canonical": "bool" + "name": "k", + "cType": "int", + "canonical": "int" } ] }, { - "name": "geog_centroid", - "file": "meos_geo.h", + "name": "h3_grid_path_cells", + "file": "h3index_sets.h", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "Set *", + "canonical": "Set *" }, "params": [ { - "name": "g", - "cType": "const int *", - "canonical": "const int *" + "name": "start", + "cType": "H3Index", + "canonical": "unsigned long" }, { - "name": "use_spheroid", - "cType": "bool", - "canonical": "bool" + "name": "end", + "cType": "H3Index", + "canonical": "unsigned long" } ] }, { - "name": "geog_length", - "file": "meos_geo.h", + "name": "h3_cell_to_children", + "file": "h3index_sets.h", "returnType": { - "c": "double", - "canonical": "double" + "c": "Set *", + "canonical": "Set *" }, "params": [ { - "name": "g", - "cType": "const int *", - "canonical": "const int *" + "name": "origin", + "cType": "H3Index", + "canonical": "unsigned long" }, { - "name": "use_spheroid", - "cType": "bool", - "canonical": "bool" + "name": "childRes", + "cType": "int", + "canonical": "int" } ] }, { - "name": "geog_perimeter", - "file": "meos_geo.h", + "name": "h3_compact_cells", + "file": "h3index_sets.h", "returnType": { - "c": "double", - "canonical": "double" + "c": "Set *", + "canonical": "Set *" }, "params": [ { - "name": "g", - "cType": "const int *", - "canonical": "const int *" - }, - { - "name": "use_spheroid", - "cType": "bool", - "canonical": "bool" + "name": "cells", + "cType": "const Set *", + "canonical": "const Set *" } ] }, { - "name": "geom_azimuth", - "file": "meos_geo.h", + "name": "h3_uncompact_cells", + "file": "h3index_sets.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "Set *", + "canonical": "Set *" }, "params": [ { - "name": "gs1", - "cType": "const int *", - "canonical": "const int *" - }, - { - "name": "gs2", - "cType": "const int *", - "canonical": "const int *" + "name": "cells", + "cType": "const Set *", + "canonical": "const Set *" }, { - "name": "result", - "cType": "double *", - "canonical": "double *" + "name": "res", + "cType": "int", + "canonical": "int" } ] }, { - "name": "geom_length", - "file": "meos_geo.h", + "name": "h3_origin_to_directed_edges", + "file": "h3index_sets.h", "returnType": { - "c": "double", - "canonical": "double" + "c": "Set *", + "canonical": "Set *" }, "params": [ { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "name": "origin", + "cType": "H3Index", + "canonical": "unsigned long" } ] }, { - "name": "geom_perimeter", - "file": "meos_geo.h", + "name": "h3_cell_to_vertexes", + "file": "h3index_sets.h", "returnType": { - "c": "double", - "canonical": "double" + "c": "Set *", + "canonical": "Set *" }, "params": [ { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "name": "cell", + "cType": "H3Index", + "canonical": "unsigned long" } ] }, { - "name": "line_numpoints", - "file": "meos_geo.h", + "name": "h3_get_icosahedron_faces", + "file": "h3index_sets.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "Set *", + "canonical": "Set *" }, "params": [ { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "name": "cell", + "cType": "H3Index", + "canonical": "unsigned long" } ] }, { - "name": "line_point_n", - "file": "meos_geo.h", + "name": "ensure_valid_th3index_th3index", + "file": "th3index.h", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "geom", - "cType": "const int *", - "canonical": "const int *" + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" }, { - "name": "n", - "cType": "int", - "canonical": "int" + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "geo_reverse", - "file": "meos_geo.h", + "name": "ensure_valid_th3index_h3index", + "file": "th3index.h", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "cell", + "cType": "H3Index", + "canonical": "unsigned long" } ] }, { - "name": "geo_round", - "file": "meos_geo.h", + "name": "ensure_valid_th3index_tgeogpoint", + "file": "th3index.h", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" }, { - "name": "maxdd", - "cType": "int", - "canonical": "int" + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "geo_set_srid", - "file": "meos_geo.h", + "name": "datum2_h3index_eq", + "file": "th3index.h", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "name": "d1", + "cType": "int", + "canonical": "int" }, { - "name": "srid", - "cType": "int32_t", + "name": "d2", + "cType": "int", + "canonical": "int" + }, + { + "name": "type", + "cType": "int", "canonical": "int" } ] }, { - "name": "geo_srid", - "file": "meos_geo.h", + "name": "datum2_h3index_ne", + "file": "th3index.h", "returnType": { - "c": "int32_t", + "c": "int", "canonical": "int" }, "params": [ { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" - } - ] - }, - { - "name": "geo_transform", - "file": "meos_geo.h", - "returnType": { - "c": "int *", - "canonical": "int *" - }, - "params": [ + "name": "d1", + "cType": "int", + "canonical": "int" + }, { - "name": "geom", - "cType": "const int *", - "canonical": "const int *" + "name": "d2", + "cType": "int", + "canonical": "int" }, { - "name": "srid_to", - "cType": "int32_t", + "name": "type", + "cType": "int", "canonical": "int" } ] }, { - "name": "geo_transform_pipeline", - "file": "meos_geo.h", + "name": "th3indexinst_set_stbox", + "file": "th3index_boxops.h", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "void", + "canonical": "void" }, "params": [ { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" - }, - { - "name": "pipeline", - "cType": "char *", - "canonical": "char *" - }, - { - "name": "srid_to", - "cType": "int32_t", - "canonical": "int" + "name": "inst", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" }, { - "name": "is_forward", - "cType": "bool", - "canonical": "bool" + "name": "box", + "cType": "STBox *", + "canonical": "struct STBox *" } ] }, { - "name": "geo_collect_garray", - "file": "meos_geo.h", + "name": "th3indexinstarr_set_stbox", + "file": "th3index_boxops.h", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "void", + "canonical": "void" }, "params": [ { - "name": "gsarr", - "cType": "int **", - "canonical": "int **" + "name": "instants", + "cType": "TInstant **", + "canonical": "struct TInstant **" }, { "name": "count", "cType": "int", "canonical": "int" + }, + { + "name": "box", + "cType": "STBox *", + "canonical": "struct STBox *" } ] }, { - "name": "geo_makeline_garray", - "file": "meos_geo.h", + "name": "th3indexseq_expand_stbox", + "file": "th3index_boxops.h", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "void", + "canonical": "void" }, "params": [ { - "name": "gsarr", - "cType": "int **", - "canonical": "int **" + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" }, { - "name": "count", - "cType": "int", - "canonical": "int" + "name": "inst", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" } ] }, { - "name": "geo_num_points", - "file": "meos_geo.h", + "name": "h3_gs_point_to_cell", + "file": "th3index_internal.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "H3Index", + "canonical": "unsigned long" }, "params": [ { - "name": "gs", + "name": "point", "cType": "const int *", "canonical": "const int *" + }, + { + "name": "resolution", + "cType": "int32", + "canonical": "int" } ] }, { - "name": "geo_num_geos", - "file": "meos_geo.h", + "name": "h3_cell_to_gs_point", + "file": "th3index_internal.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "int *", + "canonical": "int *" }, "params": [ { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "name": "cell", + "cType": "H3Index", + "canonical": "unsigned long" } ] }, { - "name": "geo_geo_n", - "file": "meos_geo.h", + "name": "h3_cell_to_gs_boundary", + "file": "th3index_internal.h", "returnType": { "c": "int *", "canonical": "int *" }, "params": [ { - "name": "geom", - "cType": "const int *", - "canonical": "const int *" - }, - { - "name": "n", - "cType": "int", - "canonical": "int" + "name": "cell", + "cType": "H3Index", + "canonical": "unsigned long" } ] }, { - "name": "geo_pointarr", - "file": "meos_geo.h", + "name": "cell_boundary_to_gs", + "file": "th3index_internal.h", "returnType": { - "c": "int **", - "canonical": "int **" + "c": "int *", + "canonical": "int *" }, "params": [ { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" - }, - { - "name": "count", - "cType": "int *", - "canonical": "int *" + "name": "bnd", + "cType": "const CellBoundary *", + "canonical": "const CellBoundary *" } ] }, { - "name": "geo_points", - "file": "meos_geo.h", + "name": "h3_sample_step_deg", + "file": "th3index_internal.h", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "double", + "canonical": "double" }, "params": [ { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "name": "resolution", + "cType": "int32", + "canonical": "int" } ] }, { - "name": "geom_array_union", - "file": "meos_geo.h", + "name": "h3_latlng_deg_to_cell", + "file": "th3index_internal.h", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "H3Index", + "canonical": "unsigned long" }, "params": [ { - "name": "gsarr", - "cType": "int **", - "canonical": "int **" + "name": "lat_deg", + "cType": "double", + "canonical": "double" }, { - "name": "count", - "cType": "int", + "name": "lng_deg", + "cType": "double", + "canonical": "double" + }, + { + "name": "resolution", + "cType": "int32", "canonical": "int" } ] }, { - "name": "geom_boundary", - "file": "meos_geo.h", + "name": "h3_cell_to_parent_next_meos", + "file": "th3index_internal.h", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "H3Index", + "canonical": "unsigned long" }, "params": [ { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "name": "cell", + "cType": "H3Index", + "canonical": "unsigned long" } ] }, { - "name": "geom_buffer", - "file": "meos_geo.h", + "name": "h3_cell_to_center_child_next_meos", + "file": "th3index_internal.h", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "H3Index", + "canonical": "unsigned long" }, "params": [ { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" - }, - { - "name": "size", - "cType": "double", - "canonical": "double" - }, - { - "name": "params", - "cType": "const char *", - "canonical": "const char *" + "name": "cell", + "cType": "H3Index", + "canonical": "unsigned long" } ] }, { - "name": "geom_centroid", - "file": "meos_geo.h", + "name": "h3_directed_edge_to_gs_boundary", + "file": "th3index_internal.h", "returnType": { "c": "int *", "canonical": "int *" }, "params": [ { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "name": "edge", + "cType": "H3Index", + "canonical": "unsigned long" } ] }, { - "name": "geom_convex_hull", - "file": "meos_geo.h", + "name": "h3_vertex_to_gs_point", + "file": "th3index_internal.h", "returnType": { "c": "int *", "canonical": "int *" }, "params": [ { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "name": "vertex", + "cType": "H3Index", + "canonical": "unsigned long" } ] }, { - "name": "geom_difference2d", - "file": "meos_geo.h", + "name": "h3_cell_to_local_ij_meos", + "file": "th3index_internal.h", "returnType": { "c": "int *", "canonical": "int *" }, "params": [ { - "name": "gs1", - "cType": "const int *", - "canonical": "const int *" + "name": "origin", + "cType": "H3Index", + "canonical": "unsigned long" }, { - "name": "gs2", - "cType": "const int *", - "canonical": "const int *" + "name": "cell", + "cType": "H3Index", + "canonical": "unsigned long" } ] }, { - "name": "geom_intersection2d", - "file": "meos_geo.h", + "name": "h3_local_ij_to_cell_meos", + "file": "th3index_internal.h", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "H3Index", + "canonical": "unsigned long" }, "params": [ { - "name": "gs1", - "cType": "const int *", - "canonical": "const int *" + "name": "origin", + "cType": "H3Index", + "canonical": "unsigned long" }, { - "name": "gs2", + "name": "coord", "cType": "const int *", "canonical": "const int *" } ] }, { - "name": "geom_intersection2d_coll", - "file": "meos_geo.h", + "name": "h3_unit_from_cstring", + "file": "th3index_internal.h", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "H3Unit", + "canonical": "H3Unit" }, "params": [ { - "name": "gs1", - "cType": "const int *", - "canonical": "const int *" - }, - { - "name": "gs2", - "cType": "const int *", - "canonical": "const int *" + "name": "unit", + "cType": "const char *", + "canonical": "const char *" } ] }, { - "name": "geom_min_bounding_radius", - "file": "meos_geo.h", + "name": "h3_cell_area_meos", + "file": "th3index_internal.h", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "double", + "canonical": "double" }, "params": [ { - "name": "geom", - "cType": "const int *", - "canonical": "const int *" + "name": "cell", + "cType": "H3Index", + "canonical": "unsigned long" }, { - "name": "radius", - "cType": "double *", - "canonical": "double *" + "name": "unit", + "cType": "H3Unit", + "canonical": "H3Unit" } ] }, { - "name": "geom_shortestline2d", - "file": "meos_geo.h", + "name": "h3_edge_length_meos", + "file": "th3index_internal.h", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "double", + "canonical": "double" }, "params": [ { - "name": "gs1", - "cType": "const int *", - "canonical": "const int *" + "name": "edge", + "cType": "H3Index", + "canonical": "unsigned long" }, { - "name": "s2", - "cType": "const int *", - "canonical": "const int *" + "name": "unit", + "cType": "H3Unit", + "canonical": "H3Unit" } ] }, { - "name": "geom_shortestline3d", - "file": "meos_geo.h", + "name": "h3_gs_great_circle_distance_meos", + "file": "th3index_internal.h", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "double", + "canonical": "double" }, "params": [ { - "name": "gs1", + "name": "a", "cType": "const int *", "canonical": "const int *" }, { - "name": "s2", + "name": "b", "cType": "const int *", "canonical": "const int *" + }, + { + "name": "unit", + "cType": "H3Unit", + "canonical": "H3Unit" } ] }, { - "name": "geom_unary_union", - "file": "meos_geo.h", + "name": "datum_h3_get_resolution", + "file": "th3index_internal.h", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" - }, - { - "name": "prec", - "cType": "double", - "canonical": "double" + "name": "d", + "cType": "int", + "canonical": "int" } ] }, { - "name": "line_interpolate_point", - "file": "meos_geo.h", + "name": "datum_h3_get_base_cell_number", + "file": "th3index_internal.h", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" - }, - { - "name": "distance_fraction", - "cType": "double", - "canonical": "double" - }, - { - "name": "repeat", - "cType": "bool", - "canonical": "bool" + "name": "d", + "cType": "int", + "canonical": "int" } ] }, { - "name": "line_locate_point", - "file": "meos_geo.h", + "name": "datum_h3_is_valid_cell", + "file": "th3index_internal.h", "returnType": { - "c": "double", - "canonical": "double" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "gs1", - "cType": "const int *", - "canonical": "const int *" - }, - { - "name": "gs2", - "cType": "const int *", - "canonical": "const int *" + "name": "d", + "cType": "int", + "canonical": "int" } ] }, { - "name": "line_substring", - "file": "meos_geo.h", + "name": "datum_h3_is_res_class_iii", + "file": "th3index_internal.h", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" - }, - { - "name": "from", - "cType": "double", - "canonical": "double" - }, - { - "name": "to", - "cType": "double", - "canonical": "double" + "name": "d", + "cType": "int", + "canonical": "int" } ] }, { - "name": "geog_dwithin", - "file": "meos_geo.h", + "name": "datum_h3_is_pentagon", + "file": "th3index_internal.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "g1", - "cType": "const int *", - "canonical": "const int *" - }, - { - "name": "g2", - "cType": "const int *", - "canonical": "const int *" - }, - { - "name": "tolerance", - "cType": "double", - "canonical": "double" - }, - { - "name": "use_spheroid", - "cType": "bool", - "canonical": "bool" + "name": "d", + "cType": "int", + "canonical": "int" } ] }, { - "name": "geog_intersects", - "file": "meos_geo.h", + "name": "datum_h3_cell_to_parent", + "file": "th3index_internal.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "gs1", - "cType": "const int *", - "canonical": "const int *" - }, - { - "name": "gs2", - "cType": "const int *", - "canonical": "const int *" + "name": "cell_d", + "cType": "int", + "canonical": "int" }, { - "name": "use_spheroid", - "cType": "bool", - "canonical": "bool" + "name": "res_d", + "cType": "int", + "canonical": "int" } ] }, { - "name": "geom_contains", - "file": "meos_geo.h", + "name": "datum_h3_cell_to_parent_next", + "file": "th3index_internal.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "gs1", - "cType": "const int *", - "canonical": "const int *" - }, - { - "name": "gs2", - "cType": "const int *", - "canonical": "const int *" + "name": "cell_d", + "cType": "int", + "canonical": "int" } ] }, { - "name": "geom_covers", - "file": "meos_geo.h", + "name": "datum_h3_cell_to_center_child", + "file": "th3index_internal.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "gs1", - "cType": "const int *", - "canonical": "const int *" + "name": "cell_d", + "cType": "int", + "canonical": "int" }, { - "name": "gs2", - "cType": "const int *", - "canonical": "const int *" + "name": "res_d", + "cType": "int", + "canonical": "int" } ] }, { - "name": "geom_disjoint2d", - "file": "meos_geo.h", + "name": "datum_h3_cell_to_center_child_next", + "file": "th3index_internal.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "gs1", - "cType": "const int *", - "canonical": "const int *" - }, - { - "name": "gs2", - "cType": "const int *", - "canonical": "const int *" + "name": "cell_d", + "cType": "int", + "canonical": "int" } ] }, { - "name": "geom_dwithin2d", - "file": "meos_geo.h", + "name": "datum_h3_cell_to_child_pos", + "file": "th3index_internal.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "gs1", - "cType": "const int *", - "canonical": "const int *" - }, - { - "name": "gs2", - "cType": "const int *", - "canonical": "const int *" + "name": "cell_d", + "cType": "int", + "canonical": "int" }, { - "name": "tolerance", - "cType": "double", - "canonical": "double" + "name": "parent_res_d", + "cType": "int", + "canonical": "int" } ] }, { - "name": "geom_dwithin3d", - "file": "meos_geo.h", + "name": "datum_h3_child_pos_to_cell", + "file": "th3index_internal.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "gs1", - "cType": "const int *", - "canonical": "const int *" + "name": "pos_d", + "cType": "int", + "canonical": "int" }, { - "name": "gs2", - "cType": "const int *", - "canonical": "const int *" + "name": "parent_d", + "cType": "int", + "canonical": "int" }, { - "name": "tolerance", - "cType": "double", - "canonical": "double" + "name": "child_res_d", + "cType": "int", + "canonical": "int" } ] }, { - "name": "geom_intersects2d", - "file": "meos_geo.h", + "name": "datum_h3_are_neighbor_cells", + "file": "th3index_internal.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "gs1", - "cType": "const int *", - "canonical": "const int *" + "name": "origin_d", + "cType": "int", + "canonical": "int" }, { - "name": "gs2", - "cType": "const int *", - "canonical": "const int *" + "name": "dest_d", + "cType": "int", + "canonical": "int" } ] }, { - "name": "geom_intersects3d", - "file": "meos_geo.h", + "name": "datum_h3_cells_to_directed_edge", + "file": "th3index_internal.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "gs1", - "cType": "const int *", - "canonical": "const int *" + "name": "origin_d", + "cType": "int", + "canonical": "int" }, { - "name": "gs2", - "cType": "const int *", - "canonical": "const int *" + "name": "dest_d", + "cType": "int", + "canonical": "int" } ] }, { - "name": "geom_relate_pattern", - "file": "meos_geo.h", + "name": "datum_h3_is_valid_directed_edge", + "file": "th3index_internal.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "gs1", - "cType": "const int *", - "canonical": "const int *" - }, - { - "name": "gs2", - "cType": "const int *", - "canonical": "const int *" - }, - { - "name": "patt", - "cType": "char *", - "canonical": "char *" + "name": "d", + "cType": "int", + "canonical": "int" } ] }, { - "name": "geom_touches", - "file": "meos_geo.h", + "name": "datum_h3_get_directed_edge_origin", + "file": "th3index_internal.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "gs1", - "cType": "const int *", - "canonical": "const int *" - }, - { - "name": "gs2", - "cType": "const int *", - "canonical": "const int *" + "name": "d", + "cType": "int", + "canonical": "int" } ] }, { - "name": "geo_stboxes", - "file": "meos_geo.h", + "name": "datum_h3_get_directed_edge_destination", + "file": "th3index_internal.h", "returnType": { - "c": "STBox *", - "canonical": "STBox *" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" - }, - { - "name": "count", - "cType": "int *", - "canonical": "int *" + "name": "d", + "cType": "int", + "canonical": "int" } ] }, { - "name": "geo_split_each_n_stboxes", - "file": "meos_geo.h", + "name": "datum_h3_directed_edge_to_boundary", + "file": "th3index_internal.h", "returnType": { - "c": "STBox *", - "canonical": "STBox *" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" - }, - { - "name": "elem_count", + "name": "d", "cType": "int", "canonical": "int" - }, - { - "name": "count", - "cType": "int *", - "canonical": "int *" } ] }, { - "name": "geo_split_n_stboxes", - "file": "meos_geo.h", + "name": "datum_h3_cell_to_vertex", + "file": "th3index_internal.h", "returnType": { - "c": "STBox *", - "canonical": "STBox *" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" - }, - { - "name": "box_count", + "name": "cell_d", "cType": "int", "canonical": "int" }, { - "name": "count", - "cType": "int *", - "canonical": "int *" + "name": "vnum_d", + "cType": "int", + "canonical": "int" } ] }, { - "name": "geog_distance", - "file": "meos_geo.h", + "name": "datum_h3_vertex_to_latlng", + "file": "th3index_internal.h", "returnType": { - "c": "double", - "canonical": "double" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "g1", - "cType": "const int *", - "canonical": "const int *" - }, - { - "name": "g2", - "cType": "const int *", - "canonical": "const int *" + "name": "d", + "cType": "int", + "canonical": "int" } ] }, { - "name": "geom_distance2d", - "file": "meos_geo.h", + "name": "datum_h3_is_valid_vertex", + "file": "th3index_internal.h", "returnType": { - "c": "double", - "canonical": "double" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "gs1", - "cType": "const int *", - "canonical": "const int *" - }, - { - "name": "gs2", - "cType": "const int *", - "canonical": "const int *" + "name": "d", + "cType": "int", + "canonical": "int" } ] }, { - "name": "geom_distance3d", - "file": "meos_geo.h", + "name": "datum_h3_grid_distance", + "file": "th3index_internal.h", "returnType": { - "c": "double", - "canonical": "double" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "gs1", - "cType": "const int *", - "canonical": "const int *" + "name": "origin_d", + "cType": "int", + "canonical": "int" }, { - "name": "gs2", - "cType": "const int *", - "canonical": "const int *" + "name": "dest_d", + "cType": "int", + "canonical": "int" } ] }, { - "name": "geo_equals", - "file": "meos_geo.h", + "name": "datum_h3_cell_to_local_ij", + "file": "th3index_internal.h", "returnType": { "c": "int", "canonical": "int" }, "params": [ { - "name": "gs1", - "cType": "const int *", - "canonical": "const int *" + "name": "origin_d", + "cType": "int", + "canonical": "int" }, { - "name": "gs2", - "cType": "const int *", - "canonical": "const int *" + "name": "cell_d", + "cType": "int", + "canonical": "int" } ] }, { - "name": "geo_same", - "file": "meos_geo.h", + "name": "datum_h3_local_ij_to_cell", + "file": "th3index_internal.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "gs1", - "cType": "const int *", - "canonical": "const int *" + "name": "origin_d", + "cType": "int", + "canonical": "int" }, { - "name": "gs2", - "cType": "const int *", - "canonical": "const int *" + "name": "coord_d", + "cType": "int", + "canonical": "int" } ] }, { - "name": "geogset_in", - "file": "meos_geo.h", + "name": "datum_h3_latlng_to_cell", + "file": "th3index_internal.h", "returnType": { - "c": "Set *", - "canonical": "Set *" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "str", - "cType": "const char *", - "canonical": "const char *" + "name": "point_d", + "cType": "int", + "canonical": "int" + }, + { + "name": "res_d", + "cType": "int", + "canonical": "int" } ] }, { - "name": "geomset_in", - "file": "meos_geo.h", + "name": "datum_h3_cell_to_latlng", + "file": "th3index_internal.h", "returnType": { - "c": "Set *", - "canonical": "Set *" - }, - "params": [ - { - "name": "str", - "cType": "const char *", - "canonical": "const char *" - } - ] - }, - { - "name": "spatialset_as_text", - "file": "meos_geo.h", - "returnType": { - "c": "char *", - "canonical": "char *" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "set", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "maxdd", + "name": "d", "cType": "int", "canonical": "int" } ] }, { - "name": "spatialset_as_ewkt", - "file": "meos_geo.h", + "name": "datum_h3_cell_to_boundary", + "file": "th3index_internal.h", "returnType": { - "c": "char *", - "canonical": "char *" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "set", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "maxdd", + "name": "d", "cType": "int", "canonical": "int" } ] }, { - "name": "geoset_make", - "file": "meos_geo.h", + "name": "datum_h3_cell_area", + "file": "th3index_internal.h", "returnType": { - "c": "Set *", - "canonical": "Set *" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "values", - "cType": "int **", - "canonical": "int **" + "name": "cell_d", + "cType": "int", + "canonical": "int" }, { - "name": "count", + "name": "unit_d", "cType": "int", "canonical": "int" } ] }, { - "name": "geo_to_set", - "file": "meos_geo.h", - "returnType": { - "c": "Set *", - "canonical": "Set *" - }, - "params": [ - { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" - } - ] - }, - { - "name": "geoset_end_value", - "file": "meos_geo.h", + "name": "datum_h3_edge_length", + "file": "th3index_internal.h", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "geoset_start_value", - "file": "meos_geo.h", - "returnType": { - "c": "int *", - "canonical": "int *" - }, - "params": [ + "name": "edge_d", + "cType": "int", + "canonical": "int" + }, { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" + "name": "unit_d", + "cType": "int", + "canonical": "int" } ] }, { - "name": "geoset_value_n", - "file": "meos_geo.h", + "name": "datum_h3_great_circle_distance", + "file": "th3index_internal.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" + "name": "a_d", + "cType": "int", + "canonical": "int" }, { - "name": "n", + "name": "b_d", "cType": "int", "canonical": "int" }, { - "name": "result", - "cType": "int **", - "canonical": "int **" - } - ] - }, - { - "name": "geoset_values", - "file": "meos_geo.h", - "returnType": { - "c": "int **", - "canonical": "int **" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" + "name": "unit_d", + "cType": "int", + "canonical": "int" } ] }, { - "name": "contained_geo_set", + "name": "geo_as_ewkb", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "uint8_t *", + "canonical": "unsigned char *" }, "params": [ { @@ -27032,58 +28146,43 @@ "canonical": "const int *" }, { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "contains_set_geo", - "file": "meos_geo.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" + "name": "endian", + "cType": "const char *", + "canonical": "const char *" }, { - "name": "gs", - "cType": "int *", - "canonical": "int *" + "name": "size", + "cType": "size_t *", + "canonical": "unsigned long *" } ] }, { - "name": "geo_union_transfn", + "name": "geo_as_ewkt", "file": "meos_geo.h", "returnType": { - "c": "Set *", - "canonical": "Set *" + "c": "char *", + "canonical": "char *" }, "params": [ - { - "name": "state", - "cType": "Set *", - "canonical": "Set *" - }, { "name": "gs", "cType": "const int *", "canonical": "const int *" + }, + { + "name": "precision", + "cType": "int", + "canonical": "int" } ] }, { - "name": "intersection_geo_set", + "name": "geo_as_geojson", "file": "meos_geo.h", "returnType": { - "c": "Set *", - "canonical": "Set *" + "c": "char *", + "canonical": "char *" }, "params": [ { @@ -27092,38 +28191,28 @@ "canonical": "const int *" }, { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "intersection_set_geo", - "file": "meos_geo.h", - "returnType": { - "c": "Set *", - "canonical": "Set *" - }, - "params": [ + "name": "option", + "cType": "int", + "canonical": "int" + }, { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" + "name": "precision", + "cType": "int", + "canonical": "int" }, { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "name": "srs", + "cType": "const char *", + "canonical": "const char *" } ] }, { - "name": "minus_geo_set", + "name": "geo_as_hexewkb", "file": "meos_geo.h", "returnType": { - "c": "Set *", - "canonical": "Set *" + "c": "char *", + "canonical": "char *" }, "params": [ { @@ -27132,38 +28221,18 @@ "canonical": "const int *" }, { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "minus_set_geo", - "file": "meos_geo.h", - "returnType": { - "c": "Set *", - "canonical": "Set *" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "name": "endian", + "cType": "const char *", + "canonical": "const char *" } ] }, { - "name": "union_geo_set", + "name": "geo_as_text", "file": "meos_geo.h", "returnType": { - "c": "Set *", - "canonical": "Set *" + "c": "char *", + "canonical": "char *" }, "params": [ { @@ -27172,102 +28241,62 @@ "canonical": "const int *" }, { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" + "name": "precision", + "cType": "int", + "canonical": "int" } ] }, { - "name": "union_set_geo", + "name": "geo_from_ewkb", "file": "meos_geo.h", "returnType": { - "c": "Set *", - "canonical": "Set *" + "c": "int *", + "canonical": "int *" }, "params": [ { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" + "name": "wkb", + "cType": "const uint8_t *", + "canonical": "const unsigned char *" }, { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" - } - ] - }, - { - "name": "spatialset_set_srid", - "file": "meos_geo.h", - "returnType": { - "c": "Set *", - "canonical": "Set *" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" + "name": "wkb_size", + "cType": "size_t", + "canonical": "unsigned long" }, { "name": "srid", - "cType": "int32_t", + "cType": "int32", "canonical": "int" } ] }, { - "name": "spatialset_srid", - "file": "meos_geo.h", - "returnType": { - "c": "int32_t", - "canonical": "int" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "spatialset_transform", + "name": "geo_from_geojson", "file": "meos_geo.h", "returnType": { - "c": "Set *", - "canonical": "Set *" + "c": "int *", + "canonical": "int *" }, "params": [ { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "srid", - "cType": "int32_t", - "canonical": "int" + "name": "geojson", + "cType": "const char *", + "canonical": "const char *" } ] }, { - "name": "spatialset_transform_pipeline", + "name": "geo_from_text", "file": "meos_geo.h", "returnType": { - "c": "Set *", - "canonical": "Set *" + "c": "int *", + "canonical": "int *" }, "params": [ { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "pipelinestr", + "name": "wkt", "cType": "const char *", "canonical": "const char *" }, @@ -27275,16 +28304,11 @@ "name": "srid", "cType": "int32_t", "canonical": "int" - }, - { - "name": "is_forward", - "cType": "bool", - "canonical": "bool" } ] }, { - "name": "stbox_as_hexwkb", + "name": "geo_out", "file": "meos_geo.h", "returnType": { "c": "char *", @@ -27292,200 +28316,175 @@ }, "params": [ { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" - }, - { - "name": "variant", - "cType": "uint8_t", - "canonical": "unsigned char" - }, - { - "name": "size", - "cType": "int *", - "canonical": "int *" + "name": "gs", + "cType": "const int *", + "canonical": "const int *" } ] }, { - "name": "stbox_as_wkb", + "name": "geog_from_binary", "file": "meos_geo.h", "returnType": { - "c": "uint8_t *", - "canonical": "unsigned char *" + "c": "int *", + "canonical": "int *" }, "params": [ { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" - }, - { - "name": "variant", - "cType": "uint8_t", - "canonical": "unsigned char" - }, - { - "name": "size_out", - "cType": "int *", - "canonical": "int *" + "name": "wkb_bytea", + "cType": "const char *", + "canonical": "const char *" } ] }, { - "name": "stbox_from_hexwkb", + "name": "geog_from_hexewkb", "file": "meos_geo.h", "returnType": { - "c": "STBox *", - "canonical": "STBox *" + "c": "int *", + "canonical": "int *" }, "params": [ { - "name": "hexwkb", + "name": "wkt", "cType": "const char *", "canonical": "const char *" } ] }, { - "name": "stbox_from_wkb", + "name": "geog_in", "file": "meos_geo.h", "returnType": { - "c": "STBox *", - "canonical": "STBox *" + "c": "int *", + "canonical": "int *" }, "params": [ { - "name": "wkb", - "cType": "const uint8_t *", - "canonical": "const unsigned char *" + "name": "str", + "cType": "const char *", + "canonical": "const char *" }, { - "name": "size", - "cType": "int", + "name": "typmod", + "cType": "int32", "canonical": "int" } ] }, { - "name": "stbox_in", + "name": "geom_from_hexewkb", "file": "meos_geo.h", "returnType": { - "c": "STBox *", - "canonical": "STBox *" + "c": "int *", + "canonical": "int *" }, "params": [ { - "name": "str", + "name": "wkt", "cType": "const char *", "canonical": "const char *" } ] }, { - "name": "stbox_out", + "name": "geom_in", "file": "meos_geo.h", "returnType": { - "c": "char *", - "canonical": "char *" + "c": "int *", + "canonical": "int *" }, "params": [ { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" + "name": "str", + "cType": "const char *", + "canonical": "const char *" }, { - "name": "maxdd", - "cType": "int", + "name": "typmod", + "cType": "int32", "canonical": "int" } ] }, { - "name": "geo_timestamptz_to_stbox", + "name": "box3d_make", "file": "meos_geo.h", "returnType": { - "c": "STBox *", - "canonical": "STBox *" + "c": "int *", + "canonical": "int *" }, "params": [ { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "name": "xmin", + "cType": "double", + "canonical": "double" }, { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" - } - ] - }, - { - "name": "geo_tstzspan_to_stbox", - "file": "meos_geo.h", - "returnType": { - "c": "STBox *", - "canonical": "STBox *" - }, - "params": [ + "name": "xmax", + "cType": "double", + "canonical": "double" + }, { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "name": "ymin", + "cType": "double", + "canonical": "double" }, { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" + "name": "ymax", + "cType": "double", + "canonical": "double" + }, + { + "name": "zmin", + "cType": "double", + "canonical": "double" + }, + { + "name": "zmax", + "cType": "double", + "canonical": "double" + }, + { + "name": "srid", + "cType": "int32_t", + "canonical": "int" } ] }, { - "name": "stbox_copy", + "name": "box3d_out", "file": "meos_geo.h", "returnType": { - "c": "STBox *", - "canonical": "STBox *" + "c": "char *", + "canonical": "char *" }, "params": [ { "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "maxdd", + "cType": "int", + "canonical": "int" } ] }, { - "name": "stbox_make", + "name": "gbox_make", "file": "meos_geo.h", "returnType": { - "c": "STBox *", - "canonical": "STBox *" + "c": "int *", + "canonical": "int *" }, "params": [ - { - "name": "hasx", - "cType": "bool", - "canonical": "bool" - }, { "name": "hasz", "cType": "bool", "canonical": "bool" }, - { - "name": "geodetic", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "srid", - "cType": "int32", - "canonical": "int" - }, { "name": "xmin", "cType": "double", @@ -27515,46 +28514,46 @@ "name": "zmax", "cType": "double", "canonical": "double" - }, - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" } ] }, { - "name": "geo_to_stbox", + "name": "gbox_out", "file": "meos_geo.h", "returnType": { - "c": "STBox *", - "canonical": "STBox *" + "c": "char *", + "canonical": "char *" }, "params": [ { - "name": "gs", + "name": "box", "cType": "const int *", "canonical": "const int *" + }, + { + "name": "maxdd", + "cType": "int", + "canonical": "int" } ] }, { - "name": "spatialset_to_stbox", + "name": "geo_copy", "file": "meos_geo.h", "returnType": { - "c": "STBox *", - "canonical": "STBox *" + "c": "int *", + "canonical": "int *" }, "params": [ { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" + "name": "g", + "cType": "const int *", + "canonical": "const int *" } ] }, { - "name": "stbox_to_box3d", + "name": "geogpoint_make2d", "file": "meos_geo.h", "returnType": { "c": "int *", @@ -27562,14 +28561,24 @@ }, "params": [ { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" + "name": "srid", + "cType": "int32_t", + "canonical": "int" + }, + { + "name": "x", + "cType": "double", + "canonical": "double" + }, + { + "name": "y", + "cType": "double", + "canonical": "double" } ] }, { - "name": "stbox_to_gbox", + "name": "geogpoint_make3dz", "file": "meos_geo.h", "returnType": { "c": "int *", @@ -27577,14 +28586,29 @@ }, "params": [ { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" + "name": "srid", + "cType": "int32_t", + "canonical": "int" + }, + { + "name": "x", + "cType": "double", + "canonical": "double" + }, + { + "name": "y", + "cType": "double", + "canonical": "double" + }, + { + "name": "z", + "cType": "double", + "canonical": "double" } ] }, { - "name": "stbox_to_geo", + "name": "geompoint_make2d", "file": "meos_geo.h", "returnType": { "c": "int *", @@ -27592,89 +28616,129 @@ }, "params": [ { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" + "name": "srid", + "cType": "int32_t", + "canonical": "int" + }, + { + "name": "x", + "cType": "double", + "canonical": "double" + }, + { + "name": "y", + "cType": "double", + "canonical": "double" } ] }, { - "name": "stbox_to_tstzspan", + "name": "geompoint_make3dz", "file": "meos_geo.h", "returnType": { - "c": "Span *", - "canonical": "Span *" + "c": "int *", + "canonical": "int *" }, "params": [ { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" + "name": "srid", + "cType": "int32_t", + "canonical": "int" + }, + { + "name": "x", + "cType": "double", + "canonical": "double" + }, + { + "name": "y", + "cType": "double", + "canonical": "double" + }, + { + "name": "z", + "cType": "double", + "canonical": "double" } ] }, { - "name": "timestamptz_to_stbox", + "name": "geom_to_geog", "file": "meos_geo.h", "returnType": { - "c": "STBox *", - "canonical": "STBox *" + "c": "int *", + "canonical": "int *" }, "params": [ { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" + "name": "geom", + "cType": "const int *", + "canonical": "const int *" } ] }, { - "name": "tstzset_to_stbox", + "name": "geog_to_geom", "file": "meos_geo.h", "returnType": { - "c": "STBox *", - "canonical": "STBox *" + "c": "int *", + "canonical": "int *" }, "params": [ { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" + "name": "geog", + "cType": "const int *", + "canonical": "const int *" } ] }, { - "name": "tstzspan_to_stbox", + "name": "geo_is_empty", "file": "meos_geo.h", "returnType": { - "c": "STBox *", - "canonical": "STBox *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" + "name": "g", + "cType": "const int *", + "canonical": "const int *" } ] }, { - "name": "tstzspanset_to_stbox", + "name": "geo_is_unitary", "file": "meos_geo.h", "returnType": { - "c": "STBox *", - "canonical": "STBox *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "name": "gs", + "cType": "const int *", + "canonical": "const int *" } ] }, { - "name": "stbox_area", + "name": "geo_typename", + "file": "meos_geo.h", + "returnType": { + "c": "const char *", + "canonical": "const char *" + }, + "params": [ + { + "name": "type", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "geog_area", "file": "meos_geo.h", "returnType": { "c": "double", @@ -27682,69 +28746,79 @@ }, "params": [ { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" + "name": "g", + "cType": "const int *", + "canonical": "const int *" }, { - "name": "spheroid", + "name": "use_spheroid", "cType": "bool", "canonical": "bool" } ] }, { - "name": "stbox_hash", + "name": "geog_centroid", "file": "meos_geo.h", "returnType": { - "c": "uint32", - "canonical": "unsigned int" + "c": "int *", + "canonical": "int *" }, "params": [ { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" + "name": "g", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "use_spheroid", + "cType": "bool", + "canonical": "bool" } ] }, { - "name": "stbox_hash_extended", + "name": "geog_length", "file": "meos_geo.h", "returnType": { - "c": "uint64", - "canonical": "unsigned long" + "c": "double", + "canonical": "double" }, "params": [ { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" + "name": "g", + "cType": "const int *", + "canonical": "const int *" }, { - "name": "seed", - "cType": "uint64", - "canonical": "unsigned long" + "name": "use_spheroid", + "cType": "bool", + "canonical": "bool" } ] }, { - "name": "stbox_hast", + "name": "geog_perimeter", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "double", + "canonical": "double" }, "params": [ { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" + "name": "g", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "use_spheroid", + "cType": "bool", + "canonical": "bool" } ] }, { - "name": "stbox_hasx", + "name": "geom_azimuth", "file": "meos_geo.h", "returnType": { "c": "bool", @@ -27752,649 +28826,634 @@ }, "params": [ { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" + "name": "gs1", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "gs2", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "result", + "cType": "double *", + "canonical": "double *" } ] }, { - "name": "stbox_hasz", + "name": "geom_length", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "double", + "canonical": "double" }, "params": [ { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" + "name": "gs", + "cType": "const int *", + "canonical": "const int *" } ] }, { - "name": "stbox_isgeodetic", + "name": "geom_perimeter", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "double", + "canonical": "double" }, "params": [ { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" + "name": "gs", + "cType": "const int *", + "canonical": "const int *" } ] }, { - "name": "stbox_perimeter", + "name": "line_numpoints", "file": "meos_geo.h", "returnType": { - "c": "double", - "canonical": "double" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" - }, - { - "name": "spheroid", - "cType": "bool", - "canonical": "bool" + "name": "gs", + "cType": "const int *", + "canonical": "const int *" } ] }, { - "name": "stbox_tmax", + "name": "line_point_n", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "int *", + "canonical": "int *" }, "params": [ { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" + "name": "geom", + "cType": "const int *", + "canonical": "const int *" }, { - "name": "result", - "cType": "TimestampTz *", - "canonical": "long *" + "name": "n", + "cType": "int", + "canonical": "int" } ] }, { - "name": "stbox_tmax_inc", + "name": "geo_reverse", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "int *", + "canonical": "int *" }, "params": [ { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" - }, - { - "name": "result", - "cType": "bool *", - "canonical": "unsigned char *" + "name": "gs", + "cType": "const int *", + "canonical": "const int *" } ] }, { - "name": "stbox_tmin", + "name": "geo_round", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "int *", + "canonical": "int *" }, "params": [ { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" + "name": "gs", + "cType": "const int *", + "canonical": "const int *" }, { - "name": "result", - "cType": "TimestampTz *", - "canonical": "long *" + "name": "maxdd", + "cType": "int", + "canonical": "int" } ] }, { - "name": "stbox_tmin_inc", + "name": "geo_set_srid", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "int *", + "canonical": "int *" }, "params": [ { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" + "name": "gs", + "cType": "const int *", + "canonical": "const int *" }, { - "name": "result", - "cType": "bool *", - "canonical": "unsigned char *" + "name": "srid", + "cType": "int32_t", + "canonical": "int" } ] }, { - "name": "stbox_volume", + "name": "geo_srid", "file": "meos_geo.h", "returnType": { - "c": "double", - "canonical": "double" + "c": "int32_t", + "canonical": "int" }, "params": [ { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" + "name": "gs", + "cType": "const int *", + "canonical": "const int *" } ] }, { - "name": "stbox_xmax", + "name": "geo_transform", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "int *", + "canonical": "int *" }, "params": [ { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" + "name": "geom", + "cType": "const int *", + "canonical": "const int *" }, { - "name": "result", - "cType": "double *", - "canonical": "double *" + "name": "srid_to", + "cType": "int32_t", + "canonical": "int" } ] }, { - "name": "stbox_xmin", + "name": "geo_transform_pipeline", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "int *", + "canonical": "int *" }, "params": [ { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" + "name": "gs", + "cType": "const int *", + "canonical": "const int *" }, { - "name": "result", - "cType": "double *", - "canonical": "double *" + "name": "pipeline", + "cType": "char *", + "canonical": "char *" + }, + { + "name": "srid_to", + "cType": "int32_t", + "canonical": "int" + }, + { + "name": "is_forward", + "cType": "bool", + "canonical": "bool" } ] }, { - "name": "stbox_ymax", + "name": "geo_collect_garray", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "int *", + "canonical": "int *" }, "params": [ { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" + "name": "gsarr", + "cType": "int **", + "canonical": "int **" }, { - "name": "result", - "cType": "double *", - "canonical": "double *" + "name": "count", + "cType": "int", + "canonical": "int" } ] }, { - "name": "stbox_ymin", + "name": "geo_makeline_garray", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "int *", + "canonical": "int *" }, "params": [ { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" + "name": "gsarr", + "cType": "int **", + "canonical": "int **" }, { - "name": "result", - "cType": "double *", - "canonical": "double *" + "name": "count", + "cType": "int", + "canonical": "int" } ] }, { - "name": "stbox_zmax", + "name": "geo_num_points", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" - }, - { - "name": "result", - "cType": "double *", - "canonical": "double *" + "name": "gs", + "cType": "const int *", + "canonical": "const int *" } ] }, { - "name": "stbox_zmin", + "name": "geo_num_geos", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" - }, - { - "name": "result", - "cType": "double *", - "canonical": "double *" + "name": "gs", + "cType": "const int *", + "canonical": "const int *" } ] }, { - "name": "stbox_expand_space", + "name": "geo_geo_n", "file": "meos_geo.h", "returnType": { - "c": "STBox *", - "canonical": "STBox *" + "c": "int *", + "canonical": "int *" }, "params": [ { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" + "name": "geom", + "cType": "const int *", + "canonical": "const int *" }, { - "name": "d", - "cType": "double", - "canonical": "double" + "name": "n", + "cType": "int", + "canonical": "int" } ] }, { - "name": "stbox_expand_time", + "name": "geo_pointarr", "file": "meos_geo.h", "returnType": { - "c": "STBox *", - "canonical": "STBox *" + "c": "int **", + "canonical": "int **" }, "params": [ { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" + "name": "gs", + "cType": "const int *", + "canonical": "const int *" }, { - "name": "interv", - "cType": "const Interval *", - "canonical": "const Interval *" + "name": "count", + "cType": "int *", + "canonical": "int *" } ] }, { - "name": "stbox_get_space", + "name": "geo_points", "file": "meos_geo.h", "returnType": { - "c": "STBox *", - "canonical": "STBox *" + "c": "int *", + "canonical": "int *" }, "params": [ { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" + "name": "gs", + "cType": "const int *", + "canonical": "const int *" } ] }, { - "name": "stbox_quad_split", + "name": "geom_array_union", "file": "meos_geo.h", "returnType": { - "c": "STBox *", - "canonical": "STBox *" + "c": "int *", + "canonical": "int *" }, "params": [ { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" + "name": "gsarr", + "cType": "int **", + "canonical": "int **" }, { "name": "count", - "cType": "int *", - "canonical": "int *" + "cType": "int", + "canonical": "int" } ] }, { - "name": "stbox_round", + "name": "geom_boundary", "file": "meos_geo.h", "returnType": { - "c": "STBox *", - "canonical": "STBox *" + "c": "int *", + "canonical": "int *" }, "params": [ { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" - }, - { - "name": "maxdd", - "cType": "int", - "canonical": "int" + "name": "gs", + "cType": "const int *", + "canonical": "const int *" } ] }, { - "name": "stbox_shift_scale_time", + "name": "geom_buffer", "file": "meos_geo.h", "returnType": { - "c": "STBox *", - "canonical": "STBox *" + "c": "int *", + "canonical": "int *" }, "params": [ { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" + "name": "gs", + "cType": "const int *", + "canonical": "const int *" }, { - "name": "shift", - "cType": "const Interval *", - "canonical": "const Interval *" + "name": "size", + "cType": "double", + "canonical": "double" }, { - "name": "duration", - "cType": "const Interval *", - "canonical": "const Interval *" + "name": "params", + "cType": "const char *", + "canonical": "const char *" } ] }, { - "name": "stboxarr_round", + "name": "geom_centroid", "file": "meos_geo.h", "returnType": { - "c": "STBox *", - "canonical": "STBox *" + "c": "int *", + "canonical": "int *" }, "params": [ { - "name": "boxarr", - "cType": "const STBox *", - "canonical": "const STBox *" - }, - { - "name": "count", - "cType": "int", - "canonical": "int" - }, - { - "name": "maxdd", - "cType": "int", - "canonical": "int" + "name": "gs", + "cType": "const int *", + "canonical": "const int *" } ] }, { - "name": "stbox_set_srid", + "name": "geom_convex_hull", "file": "meos_geo.h", "returnType": { - "c": "STBox *", - "canonical": "STBox *" + "c": "int *", + "canonical": "int *" }, "params": [ { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" - }, - { - "name": "srid", - "cType": "int32_t", - "canonical": "int" + "name": "gs", + "cType": "const int *", + "canonical": "const int *" } ] }, { - "name": "stbox_srid", + "name": "geom_difference2d", "file": "meos_geo.h", "returnType": { - "c": "int32_t", - "canonical": "int" + "c": "int *", + "canonical": "int *" }, "params": [ { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" + "name": "gs1", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "gs2", + "cType": "const int *", + "canonical": "const int *" } ] }, { - "name": "stbox_transform", + "name": "geom_intersection2d", "file": "meos_geo.h", "returnType": { - "c": "STBox *", - "canonical": "STBox *" + "c": "int *", + "canonical": "int *" }, "params": [ { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" + "name": "gs1", + "cType": "const int *", + "canonical": "const int *" }, { - "name": "srid", - "cType": "int32_t", - "canonical": "int" + "name": "gs2", + "cType": "const int *", + "canonical": "const int *" } ] }, { - "name": "stbox_transform_pipeline", + "name": "geom_intersection2d_coll", "file": "meos_geo.h", "returnType": { - "c": "STBox *", - "canonical": "STBox *" + "c": "int *", + "canonical": "int *" }, "params": [ { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" - }, - { - "name": "pipelinestr", - "cType": "const char *", - "canonical": "const char *" - }, - { - "name": "srid", - "cType": "int32_t", - "canonical": "int" + "name": "gs1", + "cType": "const int *", + "canonical": "const int *" }, { - "name": "is_forward", - "cType": "bool", - "canonical": "bool" + "name": "gs2", + "cType": "const int *", + "canonical": "const int *" } ] }, { - "name": "adjacent_stbox_stbox", + "name": "geom_min_bounding_radius", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "int *", + "canonical": "int *" }, "params": [ { - "name": "box1", - "cType": "const STBox *", - "canonical": "const STBox *" + "name": "geom", + "cType": "const int *", + "canonical": "const int *" }, { - "name": "box2", - "cType": "const STBox *", - "canonical": "const STBox *" + "name": "radius", + "cType": "double *", + "canonical": "double *" } ] }, { - "name": "contained_stbox_stbox", + "name": "geom_shortestline2d", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "int *", + "canonical": "int *" }, "params": [ { - "name": "box1", - "cType": "const STBox *", - "canonical": "const STBox *" + "name": "gs1", + "cType": "const int *", + "canonical": "const int *" }, { - "name": "box2", - "cType": "const STBox *", - "canonical": "const STBox *" + "name": "s2", + "cType": "const int *", + "canonical": "const int *" } ] }, { - "name": "contains_stbox_stbox", + "name": "geom_shortestline3d", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "int *", + "canonical": "int *" }, "params": [ { - "name": "box1", - "cType": "const STBox *", - "canonical": "const STBox *" + "name": "gs1", + "cType": "const int *", + "canonical": "const int *" }, { - "name": "box2", - "cType": "const STBox *", - "canonical": "const STBox *" + "name": "s2", + "cType": "const int *", + "canonical": "const int *" } ] }, { - "name": "overlaps_stbox_stbox", + "name": "geom_unary_union", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "int *", + "canonical": "int *" }, "params": [ { - "name": "box1", - "cType": "const STBox *", - "canonical": "const STBox *" + "name": "gs", + "cType": "const int *", + "canonical": "const int *" }, { - "name": "box2", - "cType": "const STBox *", - "canonical": "const STBox *" + "name": "prec", + "cType": "double", + "canonical": "double" } ] }, { - "name": "same_stbox_stbox", + "name": "line_interpolate_point", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "int *", + "canonical": "int *" }, "params": [ { - "name": "box1", - "cType": "const STBox *", - "canonical": "const STBox *" + "name": "gs", + "cType": "const int *", + "canonical": "const int *" }, { - "name": "box2", - "cType": "const STBox *", - "canonical": "const STBox *" + "name": "distance_fraction", + "cType": "double", + "canonical": "double" + }, + { + "name": "repeat", + "cType": "bool", + "canonical": "bool" } ] }, { - "name": "above_stbox_stbox", + "name": "line_locate_point", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "double", + "canonical": "double" }, "params": [ { - "name": "box1", - "cType": "const STBox *", - "canonical": "const STBox *" + "name": "gs1", + "cType": "const int *", + "canonical": "const int *" }, { - "name": "box2", - "cType": "const STBox *", - "canonical": "const STBox *" + "name": "gs2", + "cType": "const int *", + "canonical": "const int *" } ] }, { - "name": "after_stbox_stbox", + "name": "line_substring", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "int *", + "canonical": "int *" }, "params": [ { - "name": "box1", - "cType": "const STBox *", - "canonical": "const STBox *" + "name": "gs", + "cType": "const int *", + "canonical": "const int *" }, { - "name": "box2", - "cType": "const STBox *", - "canonical": "const STBox *" + "name": "from", + "cType": "double", + "canonical": "double" + }, + { + "name": "to", + "cType": "double", + "canonical": "double" } ] }, { - "name": "back_stbox_stbox", + "name": "geog_dwithin", "file": "meos_geo.h", "returnType": { "c": "bool", @@ -28402,39 +29461,29 @@ }, "params": [ { - "name": "box1", - "cType": "const STBox *", - "canonical": "const STBox *" + "name": "g1", + "cType": "const int *", + "canonical": "const int *" }, { - "name": "box2", - "cType": "const STBox *", - "canonical": "const STBox *" - } - ] - }, - { - "name": "before_stbox_stbox", - "file": "meos_geo.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ + "name": "g2", + "cType": "const int *", + "canonical": "const int *" + }, { - "name": "box1", - "cType": "const STBox *", - "canonical": "const STBox *" + "name": "tolerance", + "cType": "double", + "canonical": "double" }, { - "name": "box2", - "cType": "const STBox *", - "canonical": "const STBox *" + "name": "use_spheroid", + "cType": "bool", + "canonical": "bool" } ] }, { - "name": "below_stbox_stbox", + "name": "geog_intersects", "file": "meos_geo.h", "returnType": { "c": "bool", @@ -28442,19 +29491,24 @@ }, "params": [ { - "name": "box1", - "cType": "const STBox *", - "canonical": "const STBox *" + "name": "gs1", + "cType": "const int *", + "canonical": "const int *" }, { - "name": "box2", - "cType": "const STBox *", - "canonical": "const STBox *" + "name": "gs2", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "use_spheroid", + "cType": "bool", + "canonical": "bool" } ] }, { - "name": "front_stbox_stbox", + "name": "geom_contains", "file": "meos_geo.h", "returnType": { "c": "bool", @@ -28462,19 +29516,19 @@ }, "params": [ { - "name": "box1", - "cType": "const STBox *", - "canonical": "const STBox *" + "name": "gs1", + "cType": "const int *", + "canonical": "const int *" }, { - "name": "box2", - "cType": "const STBox *", - "canonical": "const STBox *" + "name": "gs2", + "cType": "const int *", + "canonical": "const int *" } ] }, { - "name": "left_stbox_stbox", + "name": "geom_covers", "file": "meos_geo.h", "returnType": { "c": "bool", @@ -28482,19 +29536,19 @@ }, "params": [ { - "name": "box1", - "cType": "const STBox *", - "canonical": "const STBox *" + "name": "gs1", + "cType": "const int *", + "canonical": "const int *" }, { - "name": "box2", - "cType": "const STBox *", - "canonical": "const STBox *" + "name": "gs2", + "cType": "const int *", + "canonical": "const int *" } ] }, { - "name": "overabove_stbox_stbox", + "name": "geom_disjoint2d", "file": "meos_geo.h", "returnType": { "c": "bool", @@ -28502,19 +29556,19 @@ }, "params": [ { - "name": "box1", - "cType": "const STBox *", - "canonical": "const STBox *" + "name": "gs1", + "cType": "const int *", + "canonical": "const int *" }, { - "name": "box2", - "cType": "const STBox *", - "canonical": "const STBox *" + "name": "gs2", + "cType": "const int *", + "canonical": "const int *" } ] }, { - "name": "overafter_stbox_stbox", + "name": "geom_dwithin2d", "file": "meos_geo.h", "returnType": { "c": "bool", @@ -28522,19 +29576,24 @@ }, "params": [ { - "name": "box1", - "cType": "const STBox *", - "canonical": "const STBox *" + "name": "gs1", + "cType": "const int *", + "canonical": "const int *" }, { - "name": "box2", - "cType": "const STBox *", - "canonical": "const STBox *" + "name": "gs2", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "tolerance", + "cType": "double", + "canonical": "double" } ] }, { - "name": "overback_stbox_stbox", + "name": "geom_dwithin3d", "file": "meos_geo.h", "returnType": { "c": "bool", @@ -28542,19 +29601,24 @@ }, "params": [ { - "name": "box1", - "cType": "const STBox *", - "canonical": "const STBox *" + "name": "gs1", + "cType": "const int *", + "canonical": "const int *" }, { - "name": "box2", - "cType": "const STBox *", - "canonical": "const STBox *" + "name": "gs2", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "tolerance", + "cType": "double", + "canonical": "double" } ] }, { - "name": "overbefore_stbox_stbox", + "name": "geom_intersects2d", "file": "meos_geo.h", "returnType": { "c": "bool", @@ -28562,19 +29626,19 @@ }, "params": [ { - "name": "box1", - "cType": "const STBox *", - "canonical": "const STBox *" + "name": "gs1", + "cType": "const int *", + "canonical": "const int *" }, { - "name": "box2", - "cType": "const STBox *", - "canonical": "const STBox *" + "name": "gs2", + "cType": "const int *", + "canonical": "const int *" } ] }, { - "name": "overbelow_stbox_stbox", + "name": "geom_intersects3d", "file": "meos_geo.h", "returnType": { "c": "bool", @@ -28582,19 +29646,19 @@ }, "params": [ { - "name": "box1", - "cType": "const STBox *", - "canonical": "const STBox *" + "name": "gs1", + "cType": "const int *", + "canonical": "const int *" }, { - "name": "box2", - "cType": "const STBox *", - "canonical": "const STBox *" + "name": "gs2", + "cType": "const int *", + "canonical": "const int *" } ] }, { - "name": "overfront_stbox_stbox", + "name": "geom_relate_pattern", "file": "meos_geo.h", "returnType": { "c": "bool", @@ -28602,19 +29666,24 @@ }, "params": [ { - "name": "box1", - "cType": "const STBox *", - "canonical": "const STBox *" + "name": "gs1", + "cType": "const int *", + "canonical": "const int *" }, { - "name": "box2", - "cType": "const STBox *", - "canonical": "const STBox *" + "name": "gs2", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "patt", + "cType": "char *", + "canonical": "char *" } ] }, { - "name": "overleft_stbox_stbox", + "name": "geom_touches", "file": "meos_geo.h", "returnType": { "c": "bool", @@ -28622,164 +29691,169 @@ }, "params": [ { - "name": "box1", - "cType": "const STBox *", - "canonical": "const STBox *" + "name": "gs1", + "cType": "const int *", + "canonical": "const int *" }, { - "name": "box2", - "cType": "const STBox *", - "canonical": "const STBox *" + "name": "gs2", + "cType": "const int *", + "canonical": "const int *" } ] }, { - "name": "overright_stbox_stbox", + "name": "geo_stboxes", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "STBox *", + "canonical": "struct STBox *" }, "params": [ { - "name": "box1", - "cType": "const STBox *", - "canonical": "const STBox *" + "name": "gs", + "cType": "const int *", + "canonical": "const int *" }, { - "name": "box2", - "cType": "const STBox *", - "canonical": "const STBox *" + "name": "count", + "cType": "int *", + "canonical": "int *" } ] }, { - "name": "right_stbox_stbox", + "name": "geo_split_each_n_stboxes", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "STBox *", + "canonical": "struct STBox *" }, "params": [ { - "name": "box1", - "cType": "const STBox *", - "canonical": "const STBox *" + "name": "gs", + "cType": "const int *", + "canonical": "const int *" }, { - "name": "box2", - "cType": "const STBox *", - "canonical": "const STBox *" + "name": "elem_count", + "cType": "int", + "canonical": "int" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" } ] }, { - "name": "union_stbox_stbox", + "name": "geo_split_n_stboxes", "file": "meos_geo.h", "returnType": { "c": "STBox *", - "canonical": "STBox *" + "canonical": "struct STBox *" }, "params": [ { - "name": "box1", - "cType": "const STBox *", - "canonical": "const STBox *" + "name": "gs", + "cType": "const int *", + "canonical": "const int *" }, { - "name": "box2", - "cType": "const STBox *", - "canonical": "const STBox *" + "name": "box_count", + "cType": "int", + "canonical": "int" }, { - "name": "strict", - "cType": "bool", - "canonical": "bool" + "name": "count", + "cType": "int *", + "canonical": "int *" } ] }, { - "name": "intersection_stbox_stbox", + "name": "geog_distance", "file": "meos_geo.h", "returnType": { - "c": "STBox *", - "canonical": "STBox *" + "c": "double", + "canonical": "double" }, "params": [ { - "name": "box1", - "cType": "const STBox *", - "canonical": "const STBox *" + "name": "g1", + "cType": "const int *", + "canonical": "const int *" }, { - "name": "box2", - "cType": "const STBox *", - "canonical": "const STBox *" + "name": "g2", + "cType": "const int *", + "canonical": "const int *" } ] }, { - "name": "stbox_cmp", + "name": "geom_distance2d", "file": "meos_geo.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "double", + "canonical": "double" }, "params": [ { - "name": "box1", - "cType": "const STBox *", - "canonical": "const STBox *" + "name": "gs1", + "cType": "const int *", + "canonical": "const int *" }, { - "name": "box2", - "cType": "const STBox *", - "canonical": "const STBox *" + "name": "gs2", + "cType": "const int *", + "canonical": "const int *" } ] }, { - "name": "stbox_eq", + "name": "geom_distance3d", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "double", + "canonical": "double" }, "params": [ { - "name": "box1", - "cType": "const STBox *", - "canonical": "const STBox *" + "name": "gs1", + "cType": "const int *", + "canonical": "const int *" }, { - "name": "box2", - "cType": "const STBox *", - "canonical": "const STBox *" + "name": "gs2", + "cType": "const int *", + "canonical": "const int *" } ] }, { - "name": "stbox_ge", + "name": "geo_equals", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "box1", - "cType": "const STBox *", - "canonical": "const STBox *" + "name": "gs1", + "cType": "const int *", + "canonical": "const int *" }, { - "name": "box2", - "cType": "const STBox *", - "canonical": "const STBox *" + "name": "gs2", + "cType": "const int *", + "canonical": "const int *" } ] }, { - "name": "stbox_gt", + "name": "geo_same", "file": "meos_geo.h", "returnType": { "c": "bool", @@ -28787,263 +29861,258 @@ }, "params": [ { - "name": "box1", - "cType": "const STBox *", - "canonical": "const STBox *" + "name": "gs1", + "cType": "const int *", + "canonical": "const int *" }, { - "name": "box2", - "cType": "const STBox *", - "canonical": "const STBox *" + "name": "gs2", + "cType": "const int *", + "canonical": "const int *" } ] }, { - "name": "stbox_le", + "name": "geogset_in", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "Set *", + "canonical": "Set *" }, "params": [ { - "name": "box1", - "cType": "const STBox *", - "canonical": "const STBox *" - }, - { - "name": "box2", - "cType": "const STBox *", - "canonical": "const STBox *" + "name": "str", + "cType": "const char *", + "canonical": "const char *" } ] }, { - "name": "stbox_lt", + "name": "geomset_in", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "Set *", + "canonical": "Set *" }, "params": [ { - "name": "box1", - "cType": "const STBox *", - "canonical": "const STBox *" - }, - { - "name": "box2", - "cType": "const STBox *", - "canonical": "const STBox *" + "name": "str", + "cType": "const char *", + "canonical": "const char *" } ] }, { - "name": "stbox_ne", + "name": "spatialset_as_text", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "char *", + "canonical": "char *" }, "params": [ { - "name": "box1", - "cType": "const STBox *", - "canonical": "const STBox *" + "name": "set", + "cType": "const Set *", + "canonical": "const Set *" }, { - "name": "box2", - "cType": "const STBox *", - "canonical": "const STBox *" + "name": "maxdd", + "cType": "int", + "canonical": "int" } ] }, { - "name": "tgeogpoint_from_mfjson", + "name": "spatialset_as_ewkt", "file": "meos_geo.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "char *", + "canonical": "char *" }, "params": [ { - "name": "str", - "cType": "const char *", - "canonical": "const char *" - } - ] - }, - { - "name": "tgeogpoint_in", - "file": "meos_geo.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ + "name": "set", + "cType": "const Set *", + "canonical": "const Set *" + }, { - "name": "str", - "cType": "const char *", - "canonical": "const char *" + "name": "maxdd", + "cType": "int", + "canonical": "int" } ] }, { - "name": "tgeography_from_mfjson", + "name": "geoset_make", "file": "meos_geo.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "Set *", + "canonical": "Set *" }, "params": [ { - "name": "mfjson", - "cType": "const char *", - "canonical": "const char *" + "name": "values", + "cType": "int **", + "canonical": "int **" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" } ] }, { - "name": "tgeography_in", + "name": "geo_to_set", "file": "meos_geo.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "Set *", + "canonical": "Set *" }, "params": [ { - "name": "str", - "cType": "const char *", - "canonical": "const char *" + "name": "gs", + "cType": "const int *", + "canonical": "const int *" } ] }, { - "name": "tgeometry_from_mfjson", + "name": "geoset_end_value", "file": "meos_geo.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "int *", + "canonical": "int *" }, "params": [ { - "name": "str", - "cType": "const char *", - "canonical": "const char *" + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" } ] }, { - "name": "tgeometry_in", + "name": "geoset_start_value", "file": "meos_geo.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "int *", + "canonical": "int *" }, "params": [ { - "name": "str", - "cType": "const char *", - "canonical": "const char *" + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" } ] }, { - "name": "tgeompoint_from_mfjson", + "name": "geoset_value_n", "file": "meos_geo.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "str", - "cType": "const char *", - "canonical": "const char *" + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + }, + { + "name": "n", + "cType": "int", + "canonical": "int" + }, + { + "name": "result", + "cType": "int **", + "canonical": "int **" } ] }, { - "name": "tgeompoint_in", + "name": "geoset_values", "file": "meos_geo.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "int **", + "canonical": "int **" }, "params": [ { - "name": "str", - "cType": "const char *", - "canonical": "const char *" + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" } ] }, { - "name": "tspatial_as_ewkt", + "name": "contained_geo_set", "file": "meos_geo.h", "returnType": { - "c": "char *", - "canonical": "char *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "gs", + "cType": "const int *", + "canonical": "const int *" }, { - "name": "maxdd", - "cType": "int", - "canonical": "int" + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" } ] }, { - "name": "tspatial_as_text", + "name": "contains_set_geo", "file": "meos_geo.h", "returnType": { - "c": "char *", - "canonical": "char *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" }, { - "name": "maxdd", - "cType": "int", - "canonical": "int" + "name": "gs", + "cType": "int *", + "canonical": "int *" } ] }, { - "name": "tspatial_out", + "name": "geo_union_transfn", "file": "meos_geo.h", "returnType": { - "c": "char *", - "canonical": "char *" + "c": "Set *", + "canonical": "Set *" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "state", + "cType": "Set *", + "canonical": "Set *" }, { - "name": "maxdd", - "cType": "int", - "canonical": "int" + "name": "gs", + "cType": "const int *", + "canonical": "const int *" } ] }, { - "name": "tgeo_from_base_temp", + "name": "intersection_geo_set", "file": "meos_geo.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "Set *", + "canonical": "Set *" }, "params": [ { @@ -29052,38 +30121,38 @@ "canonical": "const int *" }, { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" } ] }, { - "name": "tgeoinst_make", + "name": "intersection_set_geo", "file": "meos_geo.h", "returnType": { - "c": "TInstant *", - "canonical": "TInstant *" + "c": "Set *", + "canonical": "Set *" }, "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + }, { "name": "gs", "cType": "const int *", "canonical": "const int *" - }, - { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" } ] }, { - "name": "tgeoseq_from_base_tstzset", + "name": "minus_geo_set", "file": "meos_geo.h", "returnType": { - "c": "TSequence *", - "canonical": "TSequence *" + "c": "Set *", + "canonical": "Set *" }, "params": [ { @@ -29099,36 +30168,31 @@ ] }, { - "name": "tgeoseq_from_base_tstzspan", + "name": "minus_set_geo", "file": "meos_geo.h", "returnType": { - "c": "TSequence *", - "canonical": "TSequence *" + "c": "Set *", + "canonical": "Set *" }, "params": [ - { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" - }, { "name": "s", - "cType": "const Span *", - "canonical": "const Span *" + "cType": "const Set *", + "canonical": "const Set *" }, { - "name": "interp", - "cType": "interpType", - "canonical": "interpType" + "name": "gs", + "cType": "const int *", + "canonical": "const int *" } ] }, { - "name": "tgeoseqset_from_base_tstzspanset", + "name": "union_geo_set", "file": "meos_geo.h", "returnType": { - "c": "TSequenceSet *", - "canonical": "TSequenceSet *" + "c": "Set *", + "canonical": "Set *" }, "params": [ { @@ -29137,70 +30201,60 @@ "canonical": "const int *" }, { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - }, - { - "name": "interp", - "cType": "interpType", - "canonical": "interpType" + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" } ] }, { - "name": "tpoint_from_base_temp", + "name": "union_set_geo", "file": "meos_geo.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "Set *", + "canonical": "Set *" }, "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + }, { "name": "gs", "cType": "const int *", "canonical": "const int *" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" } ] }, { - "name": "tpointinst_make", + "name": "spatialset_set_srid", "file": "meos_geo.h", "returnType": { - "c": "TInstant *", - "canonical": "TInstant *" + "c": "Set *", + "canonical": "Set *" }, "params": [ { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" }, { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" + "name": "srid", + "cType": "int32_t", + "canonical": "int" } ] }, { - "name": "tpointseq_from_base_tstzset", + "name": "spatialset_srid", "file": "meos_geo.h", "returnType": { - "c": "TSequence *", - "canonical": "TSequence *" + "c": "int32_t", + "canonical": "int" }, "params": [ - { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" - }, { "name": "s", "cType": "const Set *", @@ -29209,622 +30263,547 @@ ] }, { - "name": "tpointseq_from_base_tstzspan", + "name": "spatialset_transform", "file": "meos_geo.h", "returnType": { - "c": "TSequence *", - "canonical": "TSequence *" + "c": "Set *", + "canonical": "Set *" }, "params": [ - { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" - }, { "name": "s", - "cType": "const Span *", - "canonical": "const Span *" + "cType": "const Set *", + "canonical": "const Set *" }, { - "name": "interp", - "cType": "interpType", - "canonical": "interpType" + "name": "srid", + "cType": "int32_t", + "canonical": "int" } ] }, { - "name": "tpointseq_make_coords", + "name": "spatialset_transform_pipeline", "file": "meos_geo.h", "returnType": { - "c": "TSequence *", - "canonical": "TSequence *" + "c": "Set *", + "canonical": "Set *" }, "params": [ { - "name": "xcoords", - "cType": "const double *", - "canonical": "const double *" - }, - { - "name": "ycoords", - "cType": "const double *", - "canonical": "const double *" - }, - { - "name": "zcoords", - "cType": "const double *", - "canonical": "const double *" - }, - { - "name": "times", - "cType": "const TimestampTz *", - "canonical": "const long *" + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" }, { - "name": "count", - "cType": "int", - "canonical": "int" + "name": "pipelinestr", + "cType": "const char *", + "canonical": "const char *" }, { "name": "srid", - "cType": "int32", + "cType": "int32_t", "canonical": "int" }, { - "name": "geodetic", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "lower_inc", + "name": "is_forward", "cType": "bool", "canonical": "bool" - }, + } + ] + }, + { + "name": "stbox_as_hexwkb", + "file": "meos_geo.h", + "returnType": { + "c": "char *", + "canonical": "char *" + }, + "params": [ { - "name": "upper_inc", - "cType": "bool", - "canonical": "bool" + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" }, { - "name": "interp", - "cType": "interpType", - "canonical": "interpType" + "name": "variant", + "cType": "uint8_t", + "canonical": "unsigned char" }, { - "name": "normalize", - "cType": "bool", - "canonical": "bool" + "name": "size", + "cType": "size_t *", + "canonical": "unsigned long *" } ] }, { - "name": "tpointseqset_from_base_tstzspanset", + "name": "stbox_as_wkb", "file": "meos_geo.h", "returnType": { - "c": "TSequenceSet *", - "canonical": "TSequenceSet *" + "c": "uint8_t *", + "canonical": "unsigned char *" }, "params": [ { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" }, { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "name": "variant", + "cType": "uint8_t", + "canonical": "unsigned char" }, { - "name": "interp", - "cType": "interpType", - "canonical": "interpType" + "name": "size_out", + "cType": "size_t *", + "canonical": "unsigned long *" } ] }, { - "name": "box3d_to_stbox", + "name": "stbox_from_hexwkb", "file": "meos_geo.h", "returnType": { "c": "STBox *", - "canonical": "STBox *" + "canonical": "struct STBox *" }, "params": [ { - "name": "box", - "cType": "const int *", - "canonical": "const int *" + "name": "hexwkb", + "cType": "const char *", + "canonical": "const char *" } ] }, { - "name": "gbox_to_stbox", + "name": "stbox_from_wkb", "file": "meos_geo.h", "returnType": { "c": "STBox *", - "canonical": "STBox *" + "canonical": "struct STBox *" }, "params": [ { - "name": "box", - "cType": "const int *", - "canonical": "const int *" + "name": "wkb", + "cType": "const uint8_t *", + "canonical": "const unsigned char *" + }, + { + "name": "size", + "cType": "size_t", + "canonical": "unsigned long" } ] }, { - "name": "geomeas_to_tpoint", + "name": "stbox_in", "file": "meos_geo.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "STBox *", + "canonical": "struct STBox *" }, "params": [ { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "name": "str", + "cType": "const char *", + "canonical": "const char *" } ] }, { - "name": "tgeogpoint_to_tgeography", + "name": "stbox_out", "file": "meos_geo.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "char *", + "canonical": "char *" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "tgeography_to_tgeogpoint", - "file": "meos_geo.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" + }, { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "maxdd", + "cType": "int", + "canonical": "int" } ] }, { - "name": "tgeography_to_tgeometry", + "name": "geo_timestamptz_to_stbox", "file": "meos_geo.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "STBox *", + "canonical": "struct STBox *" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "tgeometry_to_tgeography", - "file": "meos_geo.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + }, { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "t", + "cType": "TimestampTz", + "canonical": "long" } ] }, { - "name": "tgeometry_to_tgeompoint", + "name": "geo_tstzspan_to_stbox", "file": "meos_geo.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "STBox *", + "canonical": "struct STBox *" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" } ] }, { - "name": "tgeompoint_to_tgeometry", + "name": "stbox_copy", "file": "meos_geo.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "STBox *", + "canonical": "struct STBox *" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" } ] }, { - "name": "tpoint_as_mvtgeom", + "name": "stbox_make", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "STBox *", + "canonical": "struct STBox *" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "hasx", + "cType": "bool", + "canonical": "bool" }, { - "name": "bounds", - "cType": "const STBox *", - "canonical": "const STBox *" + "name": "hasz", + "cType": "bool", + "canonical": "bool" }, { - "name": "extent", - "cType": "int32_t", - "canonical": "int" + "name": "geodetic", + "cType": "bool", + "canonical": "bool" }, { - "name": "buffer", - "cType": "int32_t", + "name": "srid", + "cType": "int32", "canonical": "int" }, { - "name": "clip_geom", - "cType": "bool", - "canonical": "bool" + "name": "xmin", + "cType": "double", + "canonical": "double" }, { - "name": "gsarr", - "cType": "int **", - "canonical": "int **" + "name": "xmax", + "cType": "double", + "canonical": "double" }, { - "name": "timesarr", - "cType": "int64 **", - "canonical": "long **" + "name": "ymin", + "cType": "double", + "canonical": "double" }, { - "name": "count", - "cType": "int *", - "canonical": "int *" + "name": "ymax", + "cType": "double", + "canonical": "double" + }, + { + "name": "zmin", + "cType": "double", + "canonical": "double" + }, + { + "name": "zmax", + "cType": "double", + "canonical": "double" + }, + { + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" } ] }, { - "name": "tpoint_tfloat_to_geomeas", + "name": "geo_to_stbox", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "STBox *", + "canonical": "struct STBox *" }, "params": [ { - "name": "tpoint", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "measure", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "segmentize", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "result", - "cType": "int **", - "canonical": "int **" + "name": "gs", + "cType": "const int *", + "canonical": "const int *" } ] }, { - "name": "tspatial_to_stbox", + "name": "spatialset_to_stbox", "file": "meos_geo.h", "returnType": { "c": "STBox *", - "canonical": "STBox *" + "canonical": "struct STBox *" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" } ] }, { - "name": "bearing_point_point", + "name": "stbox_to_box3d", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "int *", + "canonical": "int *" }, "params": [ { - "name": "gs1", - "cType": "const int *", - "canonical": "const int *" - }, - { - "name": "gs2", - "cType": "const int *", - "canonical": "const int *" - }, - { - "name": "result", - "cType": "double *", - "canonical": "double *" + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" } ] }, { - "name": "bearing_tpoint_point", + "name": "stbox_to_gbox", "file": "meos_geo.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "int *", + "canonical": "int *" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" - }, - { - "name": "invert", - "cType": "bool", - "canonical": "bool" + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" } ] }, { - "name": "bearing_tpoint_tpoint", + "name": "stbox_to_geo", "file": "meos_geo.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "int *", + "canonical": "int *" }, "params": [ { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" } ] }, { - "name": "tgeo_centroid", + "name": "stbox_to_tstzspan", "file": "meos_geo.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "Span *", + "canonical": "struct Span *" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" } ] }, { - "name": "tgeo_convex_hull", + "name": "timestamptz_to_stbox", "file": "meos_geo.h", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "STBox *", + "canonical": "struct STBox *" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "t", + "cType": "TimestampTz", + "canonical": "long" } ] }, { - "name": "tgeo_end_value", + "name": "tstzset_to_stbox", "file": "meos_geo.h", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "STBox *", + "canonical": "struct STBox *" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" } ] }, { - "name": "tgeo_start_value", + "name": "tstzspan_to_stbox", "file": "meos_geo.h", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "STBox *", + "canonical": "struct STBox *" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" } ] }, { - "name": "tgeo_traversed_area", + "name": "tstzspanset_to_stbox", "file": "meos_geo.h", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "STBox *", + "canonical": "struct STBox *" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "unary_union", - "cType": "bool", - "canonical": "bool" + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" } ] }, { - "name": "tgeo_value_at_timestamptz", + "name": "stbox_area", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "double", + "canonical": "double" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" }, { - "name": "strict", + "name": "spheroid", "cType": "bool", "canonical": "bool" - }, - { - "name": "value", - "cType": "int **", - "canonical": "int **" } ] }, { - "name": "tgeo_value_n", + "name": "stbox_hash", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "uint32", + "canonical": "unsigned int" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "n", - "cType": "int", - "canonical": "int" - }, - { - "name": "result", - "cType": "int **", - "canonical": "int **" + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" } ] }, { - "name": "tgeo_values", + "name": "stbox_hash_extended", "file": "meos_geo.h", "returnType": { - "c": "int **", - "canonical": "int **" + "c": "uint64", + "canonical": "unsigned long" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" }, { - "name": "count", - "cType": "int *", - "canonical": "int *" + "name": "seed", + "cType": "uint64", + "canonical": "unsigned long" } ] }, { - "name": "tpoint_angular_difference", + "name": "stbox_hast", "file": "meos_geo.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" } ] }, { - "name": "tpoint_azimuth", + "name": "stbox_hasx", "file": "meos_geo.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" } ] }, { - "name": "tpoint_cumulative_length", + "name": "stbox_hasz", "file": "meos_geo.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" } ] }, { - "name": "tpoint_direction", + "name": "stbox_isgeodetic", "file": "meos_geo.h", "returnType": { "c": "bool", @@ -29832,64 +30811,74 @@ }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "result", - "cType": "double *", - "canonical": "double *" + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" } ] }, { - "name": "tpoint_get_x", + "name": "stbox_perimeter", "file": "meos_geo.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "double", + "canonical": "double" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" + }, + { + "name": "spheroid", + "cType": "bool", + "canonical": "bool" } ] }, { - "name": "tpoint_get_y", + "name": "stbox_tmax", "file": "meos_geo.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" + }, + { + "name": "result", + "cType": "TimestampTz *", + "canonical": "long *" } ] }, { - "name": "tpoint_get_z", + "name": "stbox_tmax_inc", "file": "meos_geo.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" + }, + { + "name": "result", + "cType": "bool *", + "canonical": "_Bool *" } ] }, { - "name": "tpoint_is_simple", + "name": "stbox_tmin", "file": "meos_geo.h", "returnType": { "c": "bool", @@ -29897,998 +30886,889 @@ }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" + }, + { + "name": "result", + "cType": "TimestampTz *", + "canonical": "long *" } ] }, { - "name": "tpoint_length", + "name": "stbox_tmin_inc", "file": "meos_geo.h", "returnType": { - "c": "double", - "canonical": "double" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" + }, + { + "name": "result", + "cType": "bool *", + "canonical": "_Bool *" } ] }, { - "name": "tpoint_speed", + "name": "stbox_volume", "file": "meos_geo.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "double", + "canonical": "double" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" } - ], - "ownership": "caller", - "nullable": true, - "doc": "Calcule la vitesse instantan\u00e9e d'un point temporel.", - "meos": { - "temporalDim": "sequence", - "spatialDim": null, - "interpolation": true, - "subtype": "TPoint" - } + ] }, { - "name": "tpoint_trajectory", + "name": "stbox_xmax", "file": "meos_geo.h", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" }, { - "name": "unary_union", - "cType": "bool", - "canonical": "bool" + "name": "result", + "cType": "double *", + "canonical": "double *" } ] }, { - "name": "tpoint_twcentroid", + "name": "stbox_xmin", "file": "meos_geo.h", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "tgeo_affine", - "file": "meos_geo.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" }, { - "name": "a", - "cType": "const int *", - "canonical": "const int *" + "name": "result", + "cType": "double *", + "canonical": "double *" } ] }, { - "name": "tgeo_scale", + "name": "stbox_ymax", "file": "meos_geo.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "scale", - "cType": "const int *", - "canonical": "const int *" + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" }, { - "name": "sorigin", - "cType": "const int *", - "canonical": "const int *" + "name": "result", + "cType": "double *", + "canonical": "double *" } ] }, { - "name": "tpoint_make_simple", + "name": "stbox_ymin", "file": "meos_geo.h", "returnType": { - "c": "Temporal **", - "canonical": "Temporal **" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" }, { - "name": "count", - "cType": "int *", - "canonical": "int *" + "name": "result", + "cType": "double *", + "canonical": "double *" } ] }, { - "name": "tspatial_srid", + "name": "stbox_zmax", "file": "meos_geo.h", "returnType": { - "c": "int32_t", - "canonical": "int" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" + }, + { + "name": "result", + "cType": "double *", + "canonical": "double *" } ] }, { - "name": "tspatial_set_srid", + "name": "stbox_zmin", "file": "meos_geo.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" }, { - "name": "srid", - "cType": "int32_t", - "canonical": "int" + "name": "result", + "cType": "double *", + "canonical": "double *" } ] }, { - "name": "tspatial_transform", + "name": "stbox_expand_space", "file": "meos_geo.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "STBox *", + "canonical": "struct STBox *" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" }, { - "name": "srid", - "cType": "int32_t", - "canonical": "int" + "name": "d", + "cType": "double", + "canonical": "double" } ] }, { - "name": "tspatial_transform_pipeline", + "name": "stbox_expand_time", "file": "meos_geo.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "STBox *", + "canonical": "struct STBox *" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "pipelinestr", - "cType": "const char *", - "canonical": "const char *" - }, - { - "name": "srid", - "cType": "int32_t", - "canonical": "int" + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" }, { - "name": "is_forward", - "cType": "bool", - "canonical": "bool" + "name": "interv", + "cType": "const int *", + "canonical": "const int *" } ] }, { - "name": "tgeo_at_geom", + "name": "stbox_get_space", "file": "meos_geo.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "STBox *", + "canonical": "struct STBox *" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" } ] }, { - "name": "tgeo_at_stbox", + "name": "stbox_quad_split", "file": "meos_geo.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "STBox *", + "canonical": "struct STBox *" }, "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, { "name": "box", "cType": "const STBox *", - "canonical": "const STBox *" + "canonical": "const struct STBox *" }, { - "name": "border_inc", - "cType": "bool", - "canonical": "bool" + "name": "count", + "cType": "int *", + "canonical": "int *" } ] }, { - "name": "tgeo_at_value", + "name": "stbox_round", "file": "meos_geo.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "STBox *", + "canonical": "struct STBox *" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" }, { - "name": "gs", - "cType": "int *", - "canonical": "int *" + "name": "maxdd", + "cType": "int", + "canonical": "int" } ] }, { - "name": "tgeo_minus_geom", + "name": "stbox_shift_scale_time", "file": "meos_geo.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "STBox *", + "canonical": "struct STBox *" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" }, { - "name": "gs", + "name": "shift", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "duration", "cType": "const int *", "canonical": "const int *" } ] }, { - "name": "tgeo_minus_stbox", + "name": "stboxarr_round", "file": "meos_geo.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "STBox *", + "canonical": "struct STBox *" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "boxarr", + "cType": "const STBox *", + "canonical": "const struct STBox *" }, { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" + "name": "count", + "cType": "int", + "canonical": "int" }, { - "name": "border_inc", - "cType": "bool", - "canonical": "bool" + "name": "maxdd", + "cType": "int", + "canonical": "int" } ] }, { - "name": "tgeo_minus_value", + "name": "stbox_set_srid", "file": "meos_geo.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "STBox *", + "canonical": "struct STBox *" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" }, { - "name": "gs", - "cType": "int *", - "canonical": "int *" + "name": "srid", + "cType": "int32_t", + "canonical": "int" } ] }, { - "name": "tpoint_at_geom", + "name": "stbox_srid", "file": "meos_geo.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "int32_t", + "canonical": "int" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" - }, - { - "name": "zspan", - "cType": "const Span *", - "canonical": "const Span *" + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" } ] }, { - "name": "tpoint_at_value", + "name": "stbox_transform", "file": "meos_geo.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "STBox *", + "canonical": "struct STBox *" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" }, { - "name": "gs", - "cType": "int *", - "canonical": "int *" + "name": "srid", + "cType": "int32_t", + "canonical": "int" } ] }, { - "name": "tpoint_minus_geom", + "name": "stbox_transform_pipeline", "file": "meos_geo.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "STBox *", + "canonical": "struct STBox *" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" }, { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "name": "pipelinestr", + "cType": "const char *", + "canonical": "const char *" }, { - "name": "zspan", - "cType": "const Span *", - "canonical": "const Span *" + "name": "srid", + "cType": "int32_t", + "canonical": "int" + }, + { + "name": "is_forward", + "cType": "bool", + "canonical": "bool" } ] }, { - "name": "tpoint_minus_value", + "name": "adjacent_stbox_stbox", "file": "meos_geo.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "box1", + "cType": "const STBox *", + "canonical": "const struct STBox *" }, { - "name": "gs", - "cType": "int *", - "canonical": "int *" + "name": "box2", + "cType": "const STBox *", + "canonical": "const struct STBox *" } ] }, { - "name": "always_eq_geo_tgeo", + "name": "contained_stbox_stbox", "file": "meos_geo.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "name": "box1", + "cType": "const STBox *", + "canonical": "const struct STBox *" }, { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "box2", + "cType": "const STBox *", + "canonical": "const struct STBox *" } ] }, { - "name": "always_eq_tgeo_geo", + "name": "contains_stbox_stbox", "file": "meos_geo.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "box1", + "cType": "const STBox *", + "canonical": "const struct STBox *" }, { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "name": "box2", + "cType": "const STBox *", + "canonical": "const struct STBox *" } ] }, { - "name": "always_eq_tgeo_tgeo", + "name": "overlaps_stbox_stbox", "file": "meos_geo.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "box1", + "cType": "const STBox *", + "canonical": "const struct STBox *" }, { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "box2", + "cType": "const STBox *", + "canonical": "const struct STBox *" } ] }, { - "name": "always_ne_geo_tgeo", + "name": "same_stbox_stbox", "file": "meos_geo.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "name": "box1", + "cType": "const STBox *", + "canonical": "const struct STBox *" }, { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "box2", + "cType": "const STBox *", + "canonical": "const struct STBox *" } ] }, { - "name": "always_ne_tgeo_geo", + "name": "above_stbox_stbox", "file": "meos_geo.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "box1", + "cType": "const STBox *", + "canonical": "const struct STBox *" }, { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "name": "box2", + "cType": "const STBox *", + "canonical": "const struct STBox *" } ] }, { - "name": "always_ne_tgeo_tgeo", + "name": "after_stbox_stbox", "file": "meos_geo.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "box1", + "cType": "const STBox *", + "canonical": "const struct STBox *" }, { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "box2", + "cType": "const STBox *", + "canonical": "const struct STBox *" } ] }, { - "name": "ever_eq_geo_tgeo", + "name": "back_stbox_stbox", "file": "meos_geo.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "name": "box1", + "cType": "const STBox *", + "canonical": "const struct STBox *" }, { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "box2", + "cType": "const STBox *", + "canonical": "const struct STBox *" } ] }, { - "name": "ever_eq_tgeo_geo", + "name": "before_stbox_stbox", "file": "meos_geo.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "box1", + "cType": "const STBox *", + "canonical": "const struct STBox *" }, { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "name": "box2", + "cType": "const STBox *", + "canonical": "const struct STBox *" } ] }, { - "name": "ever_eq_tgeo_tgeo", + "name": "below_stbox_stbox", "file": "meos_geo.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "box1", + "cType": "const STBox *", + "canonical": "const struct STBox *" }, { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "box2", + "cType": "const STBox *", + "canonical": "const struct STBox *" } ] }, { - "name": "ever_ne_geo_tgeo", + "name": "front_stbox_stbox", "file": "meos_geo.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "name": "box1", + "cType": "const STBox *", + "canonical": "const struct STBox *" }, { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "box2", + "cType": "const STBox *", + "canonical": "const struct STBox *" } ] }, { - "name": "ever_ne_tgeo_geo", + "name": "left_stbox_stbox", "file": "meos_geo.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "box1", + "cType": "const STBox *", + "canonical": "const struct STBox *" }, { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "name": "box2", + "cType": "const STBox *", + "canonical": "const struct STBox *" } ] }, { - "name": "ever_ne_tgeo_tgeo", + "name": "overabove_stbox_stbox", "file": "meos_geo.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "box1", + "cType": "const STBox *", + "canonical": "const struct STBox *" }, { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "box2", + "cType": "const STBox *", + "canonical": "const struct STBox *" } ] }, { - "name": "teq_geo_tgeo", + "name": "overafter_stbox_stbox", "file": "meos_geo.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "name": "box1", + "cType": "const STBox *", + "canonical": "const struct STBox *" }, { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "box2", + "cType": "const STBox *", + "canonical": "const struct STBox *" } ] }, { - "name": "teq_tgeo_geo", + "name": "overback_stbox_stbox", "file": "meos_geo.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "box1", + "cType": "const STBox *", + "canonical": "const struct STBox *" }, { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "name": "box2", + "cType": "const STBox *", + "canonical": "const struct STBox *" } ] }, { - "name": "tne_geo_tgeo", + "name": "overbefore_stbox_stbox", "file": "meos_geo.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "name": "box1", + "cType": "const STBox *", + "canonical": "const struct STBox *" }, { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "box2", + "cType": "const STBox *", + "canonical": "const struct STBox *" } ] }, { - "name": "tne_tgeo_geo", + "name": "overbelow_stbox_stbox", "file": "meos_geo.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "box1", + "cType": "const STBox *", + "canonical": "const struct STBox *" }, { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "name": "box2", + "cType": "const STBox *", + "canonical": "const struct STBox *" } ] }, { - "name": "tgeo_stboxes", + "name": "overfront_stbox_stbox", "file": "meos_geo.h", "returnType": { - "c": "STBox *", - "canonical": "STBox *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "box1", + "cType": "const STBox *", + "canonical": "const struct STBox *" }, { - "name": "count", - "cType": "int *", - "canonical": "int *" + "name": "box2", + "cType": "const STBox *", + "canonical": "const struct STBox *" } ] }, { - "name": "tgeo_space_boxes", + "name": "overleft_stbox_stbox", "file": "meos_geo.h", "returnType": { - "c": "STBox *", - "canonical": "STBox *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "xsize", - "cType": "double", - "canonical": "double" - }, - { - "name": "ysize", - "cType": "double", - "canonical": "double" - }, - { - "name": "zsize", - "cType": "double", - "canonical": "double" - }, - { - "name": "sorigin", - "cType": "const int *", - "canonical": "const int *" - }, - { - "name": "bitmatrix", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "border_inc", - "cType": "bool", - "canonical": "bool" + "name": "box1", + "cType": "const STBox *", + "canonical": "const struct STBox *" }, { - "name": "count", - "cType": "int *", - "canonical": "int *" + "name": "box2", + "cType": "const STBox *", + "canonical": "const struct STBox *" } ] }, { - "name": "tgeo_space_time_boxes", + "name": "overright_stbox_stbox", "file": "meos_geo.h", "returnType": { - "c": "STBox *", - "canonical": "STBox *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "xsize", - "cType": "double", - "canonical": "double" - }, - { - "name": "ysize", - "cType": "double", - "canonical": "double" - }, - { - "name": "zsize", - "cType": "double", - "canonical": "double" - }, - { - "name": "duration", - "cType": "const Interval *", - "canonical": "const Interval *" - }, - { - "name": "sorigin", - "cType": "const int *", - "canonical": "const int *" - }, - { - "name": "torigin", - "cType": "TimestampTz", - "canonical": "long" - }, - { - "name": "bitmatrix", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "border_inc", - "cType": "bool", - "canonical": "bool" + "name": "box1", + "cType": "const STBox *", + "canonical": "const struct STBox *" }, { - "name": "count", - "cType": "int *", - "canonical": "int *" + "name": "box2", + "cType": "const STBox *", + "canonical": "const struct STBox *" } ] }, { - "name": "tgeo_split_each_n_stboxes", + "name": "right_stbox_stbox", "file": "meos_geo.h", "returnType": { - "c": "STBox *", - "canonical": "STBox *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "elem_count", - "cType": "int", - "canonical": "int" + "name": "box1", + "cType": "const STBox *", + "canonical": "const struct STBox *" }, { - "name": "count", - "cType": "int *", - "canonical": "int *" + "name": "box2", + "cType": "const STBox *", + "canonical": "const struct STBox *" } ] }, { - "name": "tgeo_split_n_stboxes", + "name": "union_stbox_stbox", "file": "meos_geo.h", "returnType": { "c": "STBox *", - "canonical": "STBox *" + "canonical": "struct STBox *" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "box1", + "cType": "const STBox *", + "canonical": "const struct STBox *" }, { - "name": "box_count", - "cType": "int", - "canonical": "int" + "name": "box2", + "cType": "const STBox *", + "canonical": "const struct STBox *" }, { - "name": "count", - "cType": "int *", - "canonical": "int *" + "name": "strict", + "cType": "bool", + "canonical": "bool" } ] }, { - "name": "adjacent_stbox_tspatial", + "name": "intersection_stbox_stbox", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "STBox *", + "canonical": "struct STBox *" }, "params": [ { - "name": "box", + "name": "box1", "cType": "const STBox *", - "canonical": "const STBox *" + "canonical": "const struct STBox *" }, { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "box2", + "cType": "const STBox *", + "canonical": "const struct STBox *" } ] }, { - "name": "adjacent_tspatial_stbox", + "name": "stbox_cmp", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "box1", + "cType": "const STBox *", + "canonical": "const struct STBox *" }, { - "name": "box", + "name": "box2", "cType": "const STBox *", - "canonical": "const STBox *" + "canonical": "const struct STBox *" } ] }, { - "name": "adjacent_tspatial_tspatial", + "name": "stbox_eq", "file": "meos_geo.h", "returnType": { "c": "bool", @@ -30896,19 +31776,19 @@ }, "params": [ { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "box1", + "cType": "const STBox *", + "canonical": "const struct STBox *" }, { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "box2", + "cType": "const STBox *", + "canonical": "const struct STBox *" } ] }, { - "name": "contained_stbox_tspatial", + "name": "stbox_ge", "file": "meos_geo.h", "returnType": { "c": "bool", @@ -30916,19 +31796,19 @@ }, "params": [ { - "name": "box", + "name": "box1", "cType": "const STBox *", - "canonical": "const STBox *" + "canonical": "const struct STBox *" }, { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "box2", + "cType": "const STBox *", + "canonical": "const struct STBox *" } ] }, { - "name": "contained_tspatial_stbox", + "name": "stbox_gt", "file": "meos_geo.h", "returnType": { "c": "bool", @@ -30936,19 +31816,19 @@ }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "box1", + "cType": "const STBox *", + "canonical": "const struct STBox *" }, { - "name": "box", + "name": "box2", "cType": "const STBox *", - "canonical": "const STBox *" + "canonical": "const struct STBox *" } ] }, { - "name": "contained_tspatial_tspatial", + "name": "stbox_le", "file": "meos_geo.h", "returnType": { "c": "bool", @@ -30956,19 +31836,19 @@ }, "params": [ { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "box1", + "cType": "const STBox *", + "canonical": "const struct STBox *" }, { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "box2", + "cType": "const STBox *", + "canonical": "const struct STBox *" } ] }, { - "name": "contains_stbox_tspatial", + "name": "stbox_lt", "file": "meos_geo.h", "returnType": { "c": "bool", @@ -30976,19 +31856,19 @@ }, "params": [ { - "name": "box", + "name": "box1", "cType": "const STBox *", - "canonical": "const STBox *" + "canonical": "const struct STBox *" }, { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "box2", + "cType": "const STBox *", + "canonical": "const struct STBox *" } ] }, { - "name": "contains_tspatial_stbox", + "name": "stbox_ne", "file": "meos_geo.h", "returnType": { "c": "bool", @@ -30996,183 +31876,143 @@ }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "box1", + "cType": "const STBox *", + "canonical": "const struct STBox *" }, { - "name": "box", + "name": "box2", "cType": "const STBox *", - "canonical": "const STBox *" + "canonical": "const struct STBox *" } ] }, { - "name": "contains_tspatial_tspatial", + "name": "tgeogpoint_from_mfjson", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "str", + "cType": "const char *", + "canonical": "const char *" } ] }, { - "name": "overlaps_stbox_tspatial", + "name": "tgeogpoint_in", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "str", + "cType": "const char *", + "canonical": "const char *" } ] }, { - "name": "overlaps_tspatial_stbox", + "name": "tgeography_from_mfjson", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" + "name": "mfjson", + "cType": "const char *", + "canonical": "const char *" } ] }, { - "name": "overlaps_tspatial_tspatial", + "name": "tgeography_in", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "str", + "cType": "const char *", + "canonical": "const char *" } ] }, { - "name": "same_stbox_tspatial", + "name": "tgeometry_from_mfjson", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "str", + "cType": "const char *", + "canonical": "const char *" } ] }, { - "name": "same_tspatial_stbox", + "name": "tgeometry_in", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" + "name": "str", + "cType": "const char *", + "canonical": "const char *" } ] }, { - "name": "same_tspatial_tspatial", + "name": "tgeompoint_from_mfjson", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "str", + "cType": "const char *", + "canonical": "const char *" } ] }, { - "name": "above_stbox_tspatial", + "name": "tgeompoint_in", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "str", + "cType": "const char *", + "canonical": "const char *" } ] }, { - "name": "above_tspatial_stbox", + "name": "tspatial_as_ewkt", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "char *", + "canonical": "char *" }, "params": [ { @@ -31181,164 +32021,174 @@ "canonical": "const Temporal *" }, { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" + "name": "maxdd", + "cType": "int", + "canonical": "int" } ] }, { - "name": "above_tspatial_tspatial", + "name": "tspatial_as_text", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "char *", + "canonical": "char *" }, "params": [ { - "name": "temp1", + "name": "temp", "cType": "const Temporal *", "canonical": "const Temporal *" }, { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "maxdd", + "cType": "int", + "canonical": "int" } ] }, { - "name": "after_stbox_tspatial", + "name": "tspatial_out", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "char *", + "canonical": "char *" }, "params": [ - { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" - }, { "name": "temp", "cType": "const Temporal *", "canonical": "const Temporal *" + }, + { + "name": "maxdd", + "cType": "int", + "canonical": "int" } ] }, { - "name": "after_tspatial_stbox", + "name": "tgeo_from_base_temp", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + }, { "name": "temp", "cType": "const Temporal *", "canonical": "const Temporal *" - }, - { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" } ] }, { - "name": "after_tspatial_tspatial", + "name": "tgeoinst_make", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "TInstant *", + "canonical": "struct TInstant *" }, "params": [ { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "gs", + "cType": "const int *", + "canonical": "const int *" }, { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "t", + "cType": "TimestampTz", + "canonical": "long" } ] }, { - "name": "back_stbox_tspatial", + "name": "tgeoseq_from_base_tstzset", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "TSequence *", + "canonical": "struct TSequence *" }, "params": [ { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" + "name": "gs", + "cType": "const int *", + "canonical": "const int *" }, { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" } ] }, { - "name": "back_tspatial_stbox", + "name": "tgeoseq_from_base_tstzspan", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "TSequence *", + "canonical": "struct TSequence *" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "gs", + "cType": "const int *", + "canonical": "const int *" }, { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "interp", + "cType": "interpType", + "canonical": "interpType" } ] }, { - "name": "back_tspatial_tspatial", + "name": "tgeoseqset_from_base_tstzspanset", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" }, "params": [ { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "gs", + "cType": "const int *", + "canonical": "const int *" }, { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" + }, + { + "name": "interp", + "cType": "interpType", + "canonical": "interpType" } ] }, { - "name": "before_stbox_tspatial", + "name": "tpoint_from_base_temp", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" + "name": "gs", + "cType": "const int *", + "canonical": "const int *" }, { "name": "temp", @@ -31348,178 +32198,213 @@ ] }, { - "name": "before_tspatial_stbox", + "name": "tpointinst_make", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "TInstant *", + "canonical": "struct TInstant *" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "gs", + "cType": "const int *", + "canonical": "const int *" }, { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" + "name": "t", + "cType": "TimestampTz", + "canonical": "long" } ] }, { - "name": "before_tspatial_tspatial", + "name": "tpointseq_from_base_tstzset", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "TSequence *", + "canonical": "struct TSequence *" }, "params": [ { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "gs", + "cType": "const int *", + "canonical": "const int *" }, { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" } ] }, { - "name": "below_stbox_tspatial", + "name": "tpointseq_from_base_tstzspan", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "TSequence *", + "canonical": "struct TSequence *" }, "params": [ { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" + "name": "gs", + "cType": "const int *", + "canonical": "const int *" }, { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "interp", + "cType": "interpType", + "canonical": "interpType" } ] }, { - "name": "below_tspatial_stbox", + "name": "tpointseq_make_coords", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "TSequence *", + "canonical": "struct TSequence *" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "xcoords", + "cType": "const double *", + "canonical": "const double *" }, { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" + "name": "ycoords", + "cType": "const double *", + "canonical": "const double *" + }, + { + "name": "zcoords", + "cType": "const double *", + "canonical": "const double *" + }, + { + "name": "times", + "cType": "const TimestampTz *", + "canonical": "const long *" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + }, + { + "name": "srid", + "cType": "int32", + "canonical": "int" + }, + { + "name": "geodetic", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "lower_inc", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "upper_inc", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "interp", + "cType": "interpType", + "canonical": "interpType" + }, + { + "name": "normalize", + "cType": "bool", + "canonical": "bool" } ] }, { - "name": "below_tspatial_tspatial", + "name": "tpointseqset_from_base_tstzspanset", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" }, "params": [ { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "gs", + "cType": "const int *", + "canonical": "const int *" }, { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" + }, + { + "name": "interp", + "cType": "interpType", + "canonical": "interpType" } ] }, { - "name": "front_stbox_tspatial", + "name": "box3d_to_stbox", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "STBox *", + "canonical": "struct STBox *" }, "params": [ { "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "cType": "const int *", + "canonical": "const int *" } ] }, { - "name": "front_tspatial_stbox", + "name": "gbox_to_stbox", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "STBox *", + "canonical": "struct STBox *" }, "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, { "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" + "cType": "const int *", + "canonical": "const int *" } ] }, { - "name": "front_tspatial_tspatial", + "name": "geomeas_to_tpoint", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "gs", + "cType": "const int *", + "canonical": "const int *" } ] }, { - "name": "left_stbox_tspatial", + "name": "tgeogpoint_to_tgeography", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ - { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" - }, { "name": "temp", "cType": "const Temporal *", @@ -31528,58 +32413,43 @@ ] }, { - "name": "left_tspatial_stbox", + "name": "tgeography_to_tgeogpoint", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { "name": "temp", "cType": "const Temporal *", "canonical": "const Temporal *" - }, - { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" } ] }, { - "name": "left_tspatial_tspatial", + "name": "tgeography_to_tgeometry", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "temp2", + "name": "temp", "cType": "const Temporal *", "canonical": "const Temporal *" } ] }, { - "name": "overabove_stbox_tspatial", + "name": "tgeometry_to_tgeography", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ - { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" - }, { "name": "temp", "cType": "const Temporal *", @@ -31588,67 +32458,87 @@ ] }, { - "name": "overabove_tspatial_stbox", + "name": "tgeometry_to_tgeompoint", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { "name": "temp", "cType": "const Temporal *", "canonical": "const Temporal *" - }, - { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" } ] }, { - "name": "overabove_tspatial_tspatial", + "name": "tgeompoint_to_tgeometry", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "temp2", + "name": "temp", "cType": "const Temporal *", "canonical": "const Temporal *" } ] }, { - "name": "overafter_stbox_tspatial", + "name": "tpoint_as_mvtgeom", "file": "meos_geo.h", "returnType": { "c": "bool", "canonical": "bool" }, "params": [ - { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" - }, { "name": "temp", "cType": "const Temporal *", "canonical": "const Temporal *" + }, + { + "name": "bounds", + "cType": "const STBox *", + "canonical": "const struct STBox *" + }, + { + "name": "extent", + "cType": "int32_t", + "canonical": "int" + }, + { + "name": "buffer", + "cType": "int32_t", + "canonical": "int" + }, + { + "name": "clip_geom", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "gsarr", + "cType": "int **", + "canonical": "int **" + }, + { + "name": "timesarr", + "cType": "int64 **", + "canonical": "long **" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" } ] }, { - "name": "overafter_tspatial_stbox", + "name": "tpoint_tfloat_to_geomeas", "file": "meos_geo.h", "returnType": { "c": "bool", @@ -31656,39 +32546,44 @@ }, "params": [ { - "name": "temp", + "name": "tpoint", "cType": "const Temporal *", "canonical": "const Temporal *" }, { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" + "name": "measure", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "segmentize", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "result", + "cType": "int **", + "canonical": "int **" } ] }, { - "name": "overafter_tspatial_tspatial", + "name": "tspatial_to_stbox", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "STBox *", + "canonical": "struct STBox *" }, "params": [ { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "temp2", + "name": "temp", "cType": "const Temporal *", "canonical": "const Temporal *" } ] }, { - "name": "overback_stbox_tspatial", + "name": "bearing_point_point", "file": "meos_geo.h", "returnType": { "c": "bool", @@ -31696,23 +32591,28 @@ }, "params": [ { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" + "name": "gs1", + "cType": "const int *", + "canonical": "const int *" }, { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "gs2", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "result", + "cType": "double *", + "canonical": "double *" } ] }, { - "name": "overback_tspatial_stbox", + "name": "bearing_tpoint_point", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { @@ -31721,18 +32621,23 @@ "canonical": "const Temporal *" }, { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "invert", + "cType": "bool", + "canonical": "bool" } ] }, { - "name": "overback_tspatial_tspatial", + "name": "bearing_tpoint_tpoint", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { @@ -31748,18 +32653,13 @@ ] }, { - "name": "overbefore_stbox_tspatial", + "name": "tgeo_centroid", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ - { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" - }, { "name": "temp", "cType": "const Temporal *", @@ -31768,58 +32668,43 @@ ] }, { - "name": "overbefore_tspatial_stbox", + "name": "tgeo_convex_hull", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "int *", + "canonical": "int *" }, "params": [ { "name": "temp", "cType": "const Temporal *", "canonical": "const Temporal *" - }, - { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" } ] }, { - "name": "overbefore_tspatial_tspatial", + "name": "tgeo_end_value", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "int *", + "canonical": "int *" }, "params": [ { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "temp2", + "name": "temp", "cType": "const Temporal *", "canonical": "const Temporal *" } ] }, { - "name": "overbelow_stbox_tspatial", + "name": "tgeo_start_value", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "int *", + "canonical": "int *" }, "params": [ - { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" - }, { "name": "temp", "cType": "const Temporal *", @@ -31828,11 +32713,11 @@ ] }, { - "name": "overbelow_tspatial_stbox", + "name": "tgeo_traversed_area", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "int *", + "canonical": "int *" }, "params": [ { @@ -31841,14 +32726,14 @@ "canonical": "const Temporal *" }, { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" + "name": "unary_union", + "cType": "bool", + "canonical": "bool" } ] }, { - "name": "overbelow_tspatial_tspatial", + "name": "tgeo_value_at_timestamptz", "file": "meos_geo.h", "returnType": { "c": "bool", @@ -31856,43 +32741,58 @@ }, "params": [ { - "name": "temp1", + "name": "temp", "cType": "const Temporal *", "canonical": "const Temporal *" }, { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "t", + "cType": "TimestampTz", + "canonical": "long" + }, + { + "name": "strict", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "value", + "cType": "int **", + "canonical": "int **" } ] }, { - "name": "overfront_stbox_tspatial", + "name": "tgeo_value_n", "file": "meos_geo.h", "returnType": { "c": "bool", "canonical": "bool" }, "params": [ - { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" - }, { "name": "temp", "cType": "const Temporal *", "canonical": "const Temporal *" + }, + { + "name": "n", + "cType": "int", + "canonical": "int" + }, + { + "name": "result", + "cType": "int **", + "canonical": "int **" } ] }, { - "name": "overfront_tspatial_stbox", + "name": "tgeo_values", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "int **", + "canonical": "int **" }, "params": [ { @@ -31901,45 +32801,50 @@ "canonical": "const Temporal *" }, { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" - } + "name": "count", + "cType": "int *", + "canonical": "int *" + } ] }, { - "name": "overfront_tspatial_tspatial", + "name": "tpoint_angular_difference", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "temp1", + "name": "temp", "cType": "const Temporal *", "canonical": "const Temporal *" - }, + } + ] + }, + { + "name": "tpoint_azimuth", + "file": "meos_geo.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ { - "name": "temp2", + "name": "temp", "cType": "const Temporal *", "canonical": "const Temporal *" } ] }, { - "name": "overleft_stbox_tspatial", + "name": "tpoint_cumulative_length", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ - { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" - }, { "name": "temp", "cType": "const Temporal *", @@ -31948,7 +32853,7 @@ ] }, { - "name": "overleft_tspatial_stbox", + "name": "tpoint_direction", "file": "meos_geo.h", "returnType": { "c": "bool", @@ -31961,45 +32866,35 @@ "canonical": "const Temporal *" }, { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" + "name": "result", + "cType": "double *", + "canonical": "double *" } ] }, { - "name": "overleft_tspatial_tspatial", + "name": "tpoint_get_x", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "temp2", + "name": "temp", "cType": "const Temporal *", "canonical": "const Temporal *" } ] }, { - "name": "overright_stbox_tspatial", + "name": "tpoint_get_y", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ - { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" - }, { "name": "temp", "cType": "const Temporal *", @@ -32008,27 +32903,22 @@ ] }, { - "name": "overright_tspatial_stbox", + "name": "tpoint_get_z", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { "name": "temp", "cType": "const Temporal *", "canonical": "const Temporal *" - }, - { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" } ] }, { - "name": "overright_tspatial_tspatial", + "name": "tpoint_is_simple", "file": "meos_geo.h", "returnType": { "c": "bool", @@ -32036,43 +32926,57 @@ }, "params": [ { - "name": "temp1", + "name": "temp", "cType": "const Temporal *", "canonical": "const Temporal *" - }, + } + ] + }, + { + "name": "tpoint_length", + "file": "meos_geo.h", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ { - "name": "temp2", + "name": "temp", "cType": "const Temporal *", "canonical": "const Temporal *" } ] }, { - "name": "right_stbox_tspatial", + "name": "tpoint_speed", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ - { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" - }, { "name": "temp", "cType": "const Temporal *", "canonical": "const Temporal *" } - ] + ], + "ownership": "caller", + "nullable": true, + "doc": "Computes the instantaneous speed of a temporal point.", + "meos": { + "temporalDim": "sequence", + "spatialDim": null, + "interpolation": true, + "subtype": "TPoint" + } }, { - "name": "right_tspatial_stbox", + "name": "tpoint_trajectory", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "int *", + "canonical": "int *" }, "params": [ { @@ -32081,58 +32985,53 @@ "canonical": "const Temporal *" }, { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" + "name": "unary_union", + "cType": "bool", + "canonical": "bool" } ] }, { - "name": "right_tspatial_tspatial", + "name": "tpoint_twcentroid", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "int *", + "canonical": "int *" }, "params": [ { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "temp2", + "name": "temp", "cType": "const Temporal *", "canonical": "const Temporal *" } ] }, { - "name": "acontains_geo_tgeo", + "name": "tgeo_affine", "file": "meos_geo.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ - { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" - }, { "name": "temp", "cType": "const Temporal *", "canonical": "const Temporal *" + }, + { + "name": "a", + "cType": "const int *", + "canonical": "const int *" } ] }, { - "name": "acontains_tgeo_geo", + "name": "tgeo_scale", "file": "meos_geo.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { @@ -32141,38 +33040,58 @@ "canonical": "const Temporal *" }, { - "name": "gs", + "name": "scale", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "sorigin", "cType": "const int *", "canonical": "const int *" } ] }, { - "name": "acontains_tgeo_tgeo", + "name": "tpoint_make_simple", "file": "meos_geo.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "Temporal **", + "canonical": "Temporal **" }, "params": [ { - "name": "temp1", + "name": "temp", "cType": "const Temporal *", "canonical": "const Temporal *" }, { - "name": "temp2", + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "tspatial_srid", + "file": "meos_geo.h", + "returnType": { + "c": "int32_t", + "canonical": "int" + }, + "params": [ + { + "name": "temp", "cType": "const Temporal *", "canonical": "const Temporal *" } ] }, { - "name": "adisjoint_tgeo_geo", + "name": "tspatial_set_srid", "file": "meos_geo.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { @@ -32181,38 +33100,68 @@ "canonical": "const Temporal *" }, { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "name": "srid", + "cType": "int32_t", + "canonical": "int" } ] }, { - "name": "adisjoint_tgeo_tgeo", + "name": "tspatial_transform", "file": "meos_geo.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "temp1", + "name": "temp", "cType": "const Temporal *", "canonical": "const Temporal *" }, { - "name": "temp2", + "name": "srid", + "cType": "int32_t", + "canonical": "int" + } + ] + }, + { + "name": "tspatial_transform_pipeline", + "file": "meos_geo.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", "cType": "const Temporal *", "canonical": "const Temporal *" + }, + { + "name": "pipelinestr", + "cType": "const char *", + "canonical": "const char *" + }, + { + "name": "srid", + "cType": "int32_t", + "canonical": "int" + }, + { + "name": "is_forward", + "cType": "bool", + "canonical": "bool" } ] }, { - "name": "adwithin_tgeo_geo", + "name": "tgeo_at_geom", "file": "meos_geo.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { @@ -32224,45 +33173,60 @@ "name": "gs", "cType": "const int *", "canonical": "const int *" - }, - { - "name": "dist", - "cType": "double", - "canonical": "double" } ] }, { - "name": "adwithin_tgeo_tgeo", + "name": "tgeo_at_stbox", "file": "meos_geo.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "temp1", + "name": "temp", "cType": "const Temporal *", "canonical": "const Temporal *" }, { - "name": "temp2", + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" + }, + { + "name": "border_inc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tgeo_at_value", + "file": "meos_geo.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", "cType": "const Temporal *", "canonical": "const Temporal *" }, { - "name": "dist", - "cType": "double", - "canonical": "double" + "name": "gs", + "cType": "int *", + "canonical": "int *" } ] }, { - "name": "aintersects_tgeo_geo", + "name": "tgeo_minus_geom", "file": "meos_geo.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { @@ -32278,31 +33242,36 @@ ] }, { - "name": "aintersects_tgeo_tgeo", + "name": "tgeo_minus_stbox", "file": "meos_geo.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "temp1", + "name": "temp", "cType": "const Temporal *", "canonical": "const Temporal *" }, { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" + }, + { + "name": "border_inc", + "cType": "bool", + "canonical": "bool" } ] }, { - "name": "atouches_tgeo_geo", + "name": "tgeo_minus_value", "file": "meos_geo.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { @@ -32312,37 +33281,37 @@ }, { "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "cType": "int *", + "canonical": "int *" } ] }, { - "name": "atouches_tgeo_tgeo", + "name": "tpoint_at_elevation", "file": "meos_geo.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "temp1", + "name": "temp", "cType": "const Temporal *", "canonical": "const Temporal *" }, { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" } ] }, { - "name": "atouches_tpoint_geo", + "name": "tpoint_at_geom", "file": "meos_geo.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { @@ -32358,31 +33327,51 @@ ] }, { - "name": "econtains_geo_tgeo", + "name": "tpoint_at_value", "file": "meos_geo.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" }, + { + "name": "gs", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "tpoint_minus_elevation", + "file": "meos_geo.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ { "name": "temp", "cType": "const Temporal *", "canonical": "const Temporal *" + }, + { + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" } ] }, { - "name": "econtains_tgeo_geo", + "name": "tpoint_minus_geom", "file": "meos_geo.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { @@ -32398,27 +33387,27 @@ ] }, { - "name": "econtains_tgeo_tgeo", + "name": "tpoint_minus_value", "file": "meos_geo.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "temp1", + "name": "temp", "cType": "const Temporal *", "canonical": "const Temporal *" }, { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "gs", + "cType": "int *", + "canonical": "int *" } ] }, { - "name": "ecovers_geo_tgeo", + "name": "always_eq_geo_tgeo", "file": "meos_geo.h", "returnType": { "c": "int", @@ -32438,7 +33427,7 @@ ] }, { - "name": "ecovers_tgeo_geo", + "name": "always_eq_tgeo_geo", "file": "meos_geo.h", "returnType": { "c": "int", @@ -32458,7 +33447,7 @@ ] }, { - "name": "ecovers_tgeo_tgeo", + "name": "always_eq_tgeo_tgeo", "file": "meos_geo.h", "returnType": { "c": "int", @@ -32478,7 +33467,27 @@ ] }, { - "name": "edisjoint_tgeo_geo", + "name": "always_ne_geo_tgeo", + "file": "meos_geo.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "always_ne_tgeo_geo", "file": "meos_geo.h", "returnType": { "c": "int", @@ -32498,7 +33507,7 @@ ] }, { - "name": "edisjoint_tgeo_tgeo", + "name": "always_ne_tgeo_tgeo", "file": "meos_geo.h", "returnType": { "c": "int", @@ -32518,32 +33527,27 @@ ] }, { - "name": "edwithin_tgeo_geo", + "name": "ever_eq_geo_tgeo", "file": "meos_geo.h", "returnType": { "c": "int", "canonical": "int" }, "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, { "name": "gs", "cType": "const int *", "canonical": "const int *" }, { - "name": "dist", - "cType": "double", - "canonical": "double" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "edwithin_tgeo_tgeo", + "name": "ever_eq_tgeo_geo", "file": "meos_geo.h", "returnType": { "c": "int", @@ -32551,24 +33555,19 @@ }, "params": [ { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "temp2", + "name": "temp", "cType": "const Temporal *", "canonical": "const Temporal *" }, { - "name": "dist", - "cType": "double", - "canonical": "double" + "name": "gs", + "cType": "const int *", + "canonical": "const int *" } ] }, { - "name": "eintersects_tgeo_geo", + "name": "ever_eq_tgeo_tgeo", "file": "meos_geo.h", "returnType": { "c": "int", @@ -32576,19 +33575,19 @@ }, "params": [ { - "name": "temp", + "name": "temp1", "cType": "const Temporal *", "canonical": "const Temporal *" }, { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "eintersects_tgeo_tgeo", + "name": "ever_ne_geo_tgeo", "file": "meos_geo.h", "returnType": { "c": "int", @@ -32596,19 +33595,19 @@ }, "params": [ { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "gs", + "cType": "const int *", + "canonical": "const int *" }, { - "name": "temp2", + "name": "temp", "cType": "const Temporal *", "canonical": "const Temporal *" } ] }, { - "name": "etouches_tgeo_geo", + "name": "ever_ne_tgeo_geo", "file": "meos_geo.h", "returnType": { "c": "int", @@ -32628,7 +33627,7 @@ ] }, { - "name": "etouches_tgeo_tgeo", + "name": "ever_ne_tgeo_tgeo", "file": "meos_geo.h", "returnType": { "c": "int", @@ -32648,11 +33647,31 @@ ] }, { - "name": "etouches_tpoint_geo", + "name": "teq_geo_tgeo", "file": "meos_geo.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "teq_tgeo_geo", + "file": "meos_geo.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { @@ -32668,7 +33687,7 @@ ] }, { - "name": "tcontains_geo_tgeo", + "name": "tne_geo_tgeo", "file": "meos_geo.h", "returnType": { "c": "Temporal *", @@ -32684,21 +33703,11 @@ "name": "temp", "cType": "const Temporal *", "canonical": "const Temporal *" - }, - { - "name": "restr", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "atvalue", - "cType": "bool", - "canonical": "bool" } ] }, { - "name": "tcontains_tgeo_geo", + "name": "tne_tgeo_geo", "file": "meos_geo.h", "returnType": { "c": "Temporal *", @@ -32714,85 +33723,85 @@ "name": "gs", "cType": "const int *", "canonical": "const int *" - }, - { - "name": "restr", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "atvalue", - "cType": "bool", - "canonical": "bool" } ] }, { - "name": "tcontains_tgeo_tgeo", + "name": "tgeo_stboxes", "file": "meos_geo.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "STBox *", + "canonical": "struct STBox *" }, "params": [ { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "temp2", + "name": "temp", "cType": "const Temporal *", "canonical": "const Temporal *" }, { - "name": "restr", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "atvalue", - "cType": "bool", - "canonical": "bool" + "name": "count", + "cType": "int *", + "canonical": "int *" } ] }, { - "name": "tcovers_geo_tgeo", + "name": "tgeo_space_boxes", "file": "meos_geo.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "STBox *", + "canonical": "struct STBox *" }, "params": [ - { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" - }, { "name": "temp", "cType": "const Temporal *", "canonical": "const Temporal *" }, { - "name": "restr", + "name": "xsize", + "cType": "double", + "canonical": "double" + }, + { + "name": "ysize", + "cType": "double", + "canonical": "double" + }, + { + "name": "zsize", + "cType": "double", + "canonical": "double" + }, + { + "name": "sorigin", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "bitmatrix", "cType": "bool", "canonical": "bool" }, { - "name": "atvalue", + "name": "border_inc", "cType": "bool", "canonical": "bool" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" } ] }, { - "name": "tcovers_tgeo_geo", + "name": "tgeo_space_time_boxes", "file": "meos_geo.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "STBox *", + "canonical": "struct STBox *" }, "params": [ { @@ -32801,88 +33810,128 @@ "canonical": "const Temporal *" }, { - "name": "gs", + "name": "xsize", + "cType": "double", + "canonical": "double" + }, + { + "name": "ysize", + "cType": "double", + "canonical": "double" + }, + { + "name": "zsize", + "cType": "double", + "canonical": "double" + }, + { + "name": "duration", "cType": "const int *", "canonical": "const int *" }, { - "name": "restr", + "name": "sorigin", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "torigin", + "cType": "TimestampTz", + "canonical": "long" + }, + { + "name": "bitmatrix", "cType": "bool", "canonical": "bool" }, { - "name": "atvalue", + "name": "border_inc", "cType": "bool", "canonical": "bool" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" } ] }, { - "name": "tcovers_tgeo_tgeo", + "name": "tgeo_split_each_n_stboxes", "file": "meos_geo.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "STBox *", + "canonical": "struct STBox *" }, "params": [ { - "name": "temp1", + "name": "temp", "cType": "const Temporal *", "canonical": "const Temporal *" }, { - "name": "temp2", + "name": "elem_count", + "cType": "int", + "canonical": "int" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "tgeo_split_n_stboxes", + "file": "meos_geo.h", + "returnType": { + "c": "STBox *", + "canonical": "struct STBox *" + }, + "params": [ + { + "name": "temp", "cType": "const Temporal *", "canonical": "const Temporal *" }, { - "name": "restr", - "cType": "bool", - "canonical": "bool" + "name": "box_count", + "cType": "int", + "canonical": "int" }, { - "name": "atvalue", - "cType": "bool", - "canonical": "bool" + "name": "count", + "cType": "int *", + "canonical": "int *" } ] }, { - "name": "tdisjoint_geo_tgeo", + "name": "adjacent_stbox_tspatial", "file": "meos_geo.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" }, { "name": "temp", "cType": "const Temporal *", "canonical": "const Temporal *" - }, - { - "name": "restr", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "atvalue", - "cType": "bool", - "canonical": "bool" } ] }, { - "name": "tdisjoint_tgeo_geo", + "name": "adjacent_tspatial_stbox", "file": "meos_geo.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "bool", + "canonical": "bool" }, "params": [ { @@ -32891,28 +33940,18 @@ "canonical": "const Temporal *" }, { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" - }, - { - "name": "restr", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "atvalue", - "cType": "bool", - "canonical": "bool" + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" } ] }, { - "name": "tdisjoint_tgeo_tgeo", + "name": "adjacent_tspatial_tspatial", "file": "meos_geo.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "bool", + "canonical": "bool" }, "params": [ { @@ -32924,60 +33963,35 @@ "name": "temp2", "cType": "const Temporal *", "canonical": "const Temporal *" - }, - { - "name": "restr", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "atvalue", - "cType": "bool", - "canonical": "bool" } ] }, { - "name": "tdwithin_geo_tgeo", + "name": "contained_stbox_tspatial", "file": "meos_geo.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" }, { "name": "temp", "cType": "const Temporal *", "canonical": "const Temporal *" - }, - { - "name": "dist", - "cType": "double", - "canonical": "double" - }, - { - "name": "restr", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "atvalue", - "cType": "bool", - "canonical": "bool" } ] }, { - "name": "tdwithin_tgeo_geo", + "name": "contained_tspatial_stbox", "file": "meos_geo.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "bool", + "canonical": "bool" }, "params": [ { @@ -32986,33 +34000,18 @@ "canonical": "const Temporal *" }, { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" - }, - { - "name": "dist", - "cType": "double", - "canonical": "double" - }, - { - "name": "restr", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "atvalue", - "cType": "bool", - "canonical": "bool" + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" } ] }, { - "name": "tdwithin_tgeo_tgeo", + "name": "contained_tspatial_tspatial", "file": "meos_geo.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "bool", + "canonical": "bool" }, "params": [ { @@ -33024,60 +34023,35 @@ "name": "temp2", "cType": "const Temporal *", "canonical": "const Temporal *" - }, - { - "name": "dist", - "cType": "double", - "canonical": "double" - }, - { - "name": "restr", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "atvalue", - "cType": "bool", - "canonical": "bool" } ] }, { - "name": "tintersects_geo_tgeo", + "name": "contains_stbox_tspatial", "file": "meos_geo.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" }, { "name": "temp", "cType": "const Temporal *", "canonical": "const Temporal *" - }, - { - "name": "restr", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "atvalue", - "cType": "bool", - "canonical": "bool" } ] }, { - "name": "tintersects_tgeo_geo", + "name": "contains_tspatial_stbox", "file": "meos_geo.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "bool", + "canonical": "bool" }, "params": [ { @@ -33086,28 +34060,18 @@ "canonical": "const Temporal *" }, { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" - }, - { - "name": "restr", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "atvalue", - "cType": "bool", - "canonical": "bool" + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" } ] }, { - "name": "tintersects_tgeo_tgeo", + "name": "contains_tspatial_tspatial", "file": "meos_geo.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "bool", + "canonical": "bool" }, "params": [ { @@ -33119,55 +34083,35 @@ "name": "temp2", "cType": "const Temporal *", "canonical": "const Temporal *" - }, - { - "name": "restr", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "atvalue", - "cType": "bool", - "canonical": "bool" } ] }, { - "name": "ttouches_geo_tgeo", + "name": "overlaps_stbox_tspatial", "file": "meos_geo.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" }, { "name": "temp", "cType": "const Temporal *", "canonical": "const Temporal *" - }, - { - "name": "restr", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "atvalue", - "cType": "bool", - "canonical": "bool" } ] }, { - "name": "ttouches_tgeo_geo", + "name": "overlaps_tspatial_stbox", "file": "meos_geo.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "bool", + "canonical": "bool" }, "params": [ { @@ -33176,28 +34120,18 @@ "canonical": "const Temporal *" }, { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" - }, - { - "name": "restr", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "atvalue", - "cType": "bool", - "canonical": "bool" + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" } ] }, { - "name": "ttouches_tgeo_tgeo", + "name": "overlaps_tspatial_tspatial", "file": "meos_geo.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "bool", + "canonical": "bool" }, "params": [ { @@ -33209,25 +34143,35 @@ "name": "temp2", "cType": "const Temporal *", "canonical": "const Temporal *" - }, + } + ] + }, + { + "name": "same_stbox_tspatial", + "file": "meos_geo.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ { - "name": "restr", - "cType": "bool", - "canonical": "bool" + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" }, { - "name": "atvalue", - "cType": "bool", - "canonical": "bool" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "tdistance_tgeo_geo", + "name": "same_tspatial_stbox", "file": "meos_geo.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "bool", + "canonical": "bool" }, "params": [ { @@ -33236,18 +34180,18 @@ "canonical": "const Temporal *" }, { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" } ] }, { - "name": "tdistance_tgeo_tgeo", + "name": "same_tspatial_tspatial", "file": "meos_geo.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "bool", + "canonical": "bool" }, "params": [ { @@ -33263,151 +34207,151 @@ ] }, { - "name": "nad_stbox_geo", + "name": "above_stbox_tspatial", "file": "meos_geo.h", "returnType": { - "c": "double", - "canonical": "double" + "c": "bool", + "canonical": "bool" }, "params": [ { "name": "box", "cType": "const STBox *", - "canonical": "const STBox *" + "canonical": "const struct STBox *" }, { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "nad_stbox_stbox", + "name": "above_tspatial_stbox", "file": "meos_geo.h", "returnType": { - "c": "double", - "canonical": "double" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "box1", - "cType": "const STBox *", - "canonical": "const STBox *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" }, { - "name": "box2", + "name": "box", "cType": "const STBox *", - "canonical": "const STBox *" + "canonical": "const struct STBox *" } ] }, { - "name": "nad_tgeo_geo", + "name": "above_tspatial_tspatial", "file": "meos_geo.h", "returnType": { - "c": "double", - "canonical": "double" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "temp", + "name": "temp1", "cType": "const Temporal *", "canonical": "const Temporal *" }, { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "nad_tgeo_stbox", + "name": "after_stbox_tspatial", "file": "meos_geo.h", "returnType": { - "c": "double", - "canonical": "double" + "c": "bool", + "canonical": "bool" }, "params": [ + { + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" + }, { "name": "temp", "cType": "const Temporal *", "canonical": "const Temporal *" - }, - { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" } ] }, { - "name": "nad_tgeo_tgeo", + "name": "after_tspatial_stbox", "file": "meos_geo.h", "returnType": { - "c": "double", - "canonical": "double" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "temp1", + "name": "temp", "cType": "const Temporal *", "canonical": "const Temporal *" }, { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" } ] }, { - "name": "nai_tgeo_geo", + "name": "after_tspatial_tspatial", "file": "meos_geo.h", "returnType": { - "c": "TInstant *", - "canonical": "TInstant *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "temp", + "name": "temp1", "cType": "const Temporal *", "canonical": "const Temporal *" }, { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "nai_tgeo_tgeo", + "name": "back_stbox_tspatial", "file": "meos_geo.h", "returnType": { - "c": "TInstant *", - "canonical": "TInstant *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" }, { - "name": "temp2", + "name": "temp", "cType": "const Temporal *", "canonical": "const Temporal *" } ] }, { - "name": "shortestline_tgeo_geo", + "name": "back_tspatial_stbox", "file": "meos_geo.h", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "bool", + "canonical": "bool" }, "params": [ { @@ -33416,18 +34360,18 @@ "canonical": "const Temporal *" }, { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" } ] }, { - "name": "shortestline_tgeo_tgeo", + "name": "back_tspatial_tspatial", "file": "meos_geo.h", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "bool", + "canonical": "bool" }, "params": [ { @@ -33443,948 +34387,25651 @@ ] }, { - "name": "tpoint_tcentroid_finalfn", + "name": "before_stbox_tspatial", "file": "meos_geo.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "state", - "cType": "SkipList *", - "canonical": "struct SkipList *" + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "tpoint_tcentroid_transfn", + "name": "before_tspatial_stbox", "file": "meos_geo.h", "returnType": { - "c": "SkipList *", - "canonical": "struct SkipList *" + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" + } + ] + }, + { + "name": "before_tspatial_tspatial", + "file": "meos_geo.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "below_stbox_tspatial", + "file": "meos_geo.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "below_tspatial_stbox", + "file": "meos_geo.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" + } + ] + }, + { + "name": "below_tspatial_tspatial", + "file": "meos_geo.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "front_stbox_tspatial", + "file": "meos_geo.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "front_tspatial_stbox", + "file": "meos_geo.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" + } + ] + }, + { + "name": "front_tspatial_tspatial", + "file": "meos_geo.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "left_stbox_tspatial", + "file": "meos_geo.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "left_tspatial_stbox", + "file": "meos_geo.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" + } + ] + }, + { + "name": "left_tspatial_tspatial", + "file": "meos_geo.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "overabove_stbox_tspatial", + "file": "meos_geo.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "overabove_tspatial_stbox", + "file": "meos_geo.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" + } + ] + }, + { + "name": "overabove_tspatial_tspatial", + "file": "meos_geo.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "overafter_stbox_tspatial", + "file": "meos_geo.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "overafter_tspatial_stbox", + "file": "meos_geo.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" + } + ] + }, + { + "name": "overafter_tspatial_tspatial", + "file": "meos_geo.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "overback_stbox_tspatial", + "file": "meos_geo.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "overback_tspatial_stbox", + "file": "meos_geo.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" + } + ] + }, + { + "name": "overback_tspatial_tspatial", + "file": "meos_geo.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "overbefore_stbox_tspatial", + "file": "meos_geo.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "overbefore_tspatial_stbox", + "file": "meos_geo.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" + } + ] + }, + { + "name": "overbefore_tspatial_tspatial", + "file": "meos_geo.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "overbelow_stbox_tspatial", + "file": "meos_geo.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "overbelow_tspatial_stbox", + "file": "meos_geo.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" + } + ] + }, + { + "name": "overbelow_tspatial_tspatial", + "file": "meos_geo.h", + "returnType": { + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "state", - "cType": "SkipList *", - "canonical": "struct SkipList *" + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "overfront_stbox_tspatial", + "file": "meos_geo.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "overfront_tspatial_stbox", + "file": "meos_geo.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" + } + ] + }, + { + "name": "overfront_tspatial_tspatial", + "file": "meos_geo.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "overleft_stbox_tspatial", + "file": "meos_geo.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "overleft_tspatial_stbox", + "file": "meos_geo.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" + } + ] + }, + { + "name": "overleft_tspatial_tspatial", + "file": "meos_geo.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "overright_stbox_tspatial", + "file": "meos_geo.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "overright_tspatial_stbox", + "file": "meos_geo.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" + } + ] + }, + { + "name": "overright_tspatial_tspatial", + "file": "meos_geo.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "right_stbox_tspatial", + "file": "meos_geo.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "right_tspatial_stbox", + "file": "meos_geo.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" + } + ] + }, + { + "name": "right_tspatial_tspatial", + "file": "meos_geo.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "acontains_geo_tgeo", + "file": "meos_geo.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "acontains_tgeo_geo", + "file": "meos_geo.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "acontains_tgeo_tgeo", + "file": "meos_geo.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "adisjoint_tgeo_geo", + "file": "meos_geo.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "adisjoint_tgeo_tgeo", + "file": "meos_geo.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "adwithin_tgeo_geo", + "file": "meos_geo.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "dist", + "cType": "double", + "canonical": "double" + } + ] + }, + { + "name": "adwithin_tgeo_tgeo", + "file": "meos_geo.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "dist", + "cType": "double", + "canonical": "double" + } + ] + }, + { + "name": "aintersects_tgeo_geo", + "file": "meos_geo.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "aintersects_tgeo_tgeo", + "file": "meos_geo.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "atouches_tgeo_geo", + "file": "meos_geo.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "atouches_tgeo_tgeo", + "file": "meos_geo.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "atouches_tpoint_geo", + "file": "meos_geo.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "econtains_geo_tgeo", + "file": "meos_geo.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "econtains_tgeo_geo", + "file": "meos_geo.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "econtains_tgeo_tgeo", + "file": "meos_geo.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "ecovers_geo_tgeo", + "file": "meos_geo.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "ecovers_tgeo_geo", + "file": "meos_geo.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "ecovers_tgeo_tgeo", + "file": "meos_geo.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "edisjoint_tgeo_geo", + "file": "meos_geo.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "edisjoint_tgeo_tgeo", + "file": "meos_geo.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "edwithin_tgeo_geo", + "file": "meos_geo.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "dist", + "cType": "double", + "canonical": "double" + } + ] + }, + { + "name": "edwithin_tgeo_tgeo", + "file": "meos_geo.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "dist", + "cType": "double", + "canonical": "double" + } + ] + }, + { + "name": "eintersects_tgeo_geo", + "file": "meos_geo.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "eintersects_tgeo_tgeo", + "file": "meos_geo.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "etouches_tgeo_geo", + "file": "meos_geo.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "etouches_tgeo_tgeo", + "file": "meos_geo.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "etouches_tpoint_geo", + "file": "meos_geo.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "tcontains_geo_tgeo", + "file": "meos_geo.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "tcontains_tgeo_geo", + "file": "meos_geo.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "tcontains_tgeo_tgeo", + "file": "meos_geo.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "tcovers_geo_tgeo", + "file": "meos_geo.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "tcovers_tgeo_geo", + "file": "meos_geo.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "tcovers_tgeo_tgeo", + "file": "meos_geo.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "tdisjoint_geo_tgeo", + "file": "meos_geo.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "tdisjoint_tgeo_geo", + "file": "meos_geo.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "tdisjoint_tgeo_tgeo", + "file": "meos_geo.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "tdwithin_geo_tgeo", + "file": "meos_geo.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "dist", + "cType": "double", + "canonical": "double" + } + ] + }, + { + "name": "tdwithin_tgeo_geo", + "file": "meos_geo.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "dist", + "cType": "double", + "canonical": "double" + } + ] + }, + { + "name": "tdwithin_tgeo_tgeo", + "file": "meos_geo.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "dist", + "cType": "double", + "canonical": "double" + } + ] + }, + { + "name": "tintersects_geo_tgeo", + "file": "meos_geo.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "tintersects_tgeo_geo", + "file": "meos_geo.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "tintersects_tgeo_tgeo", + "file": "meos_geo.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "ttouches_geo_tgeo", + "file": "meos_geo.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "ttouches_tgeo_geo", + "file": "meos_geo.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "ttouches_tgeo_tgeo", + "file": "meos_geo.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "tdistance_tgeo_geo", + "file": "meos_geo.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "tdistance_tgeo_tgeo", + "file": "meos_geo.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "nad_stbox_geo", + "file": "meos_geo.h", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" + }, + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "nad_stbox_stbox", + "file": "meos_geo.h", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "box1", + "cType": "const STBox *", + "canonical": "const struct STBox *" + }, + { + "name": "box2", + "cType": "const STBox *", + "canonical": "const struct STBox *" + } + ] + }, + { + "name": "nad_tgeo_geo", + "file": "meos_geo.h", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "nad_tgeo_stbox", + "file": "meos_geo.h", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" + } + ] + }, + { + "name": "nad_tgeo_tgeo", + "file": "meos_geo.h", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "nai_tgeo_geo", + "file": "meos_geo.h", + "returnType": { + "c": "TInstant *", + "canonical": "struct TInstant *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "nai_tgeo_tgeo", + "file": "meos_geo.h", + "returnType": { + "c": "TInstant *", + "canonical": "struct TInstant *" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "shortestline_tgeo_geo", + "file": "meos_geo.h", + "returnType": { + "c": "int *", + "canonical": "int *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "shortestline_tgeo_tgeo", + "file": "meos_geo.h", + "returnType": { + "c": "int *", + "canonical": "int *" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "tgeoarr_tgeoarr_mindist", + "file": "meos_geo.h", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "arr1", + "cType": "const Temporal **", + "canonical": "const Temporal **" + }, + { + "name": "count1", + "cType": "int", + "canonical": "int" + }, + { + "name": "arr2", + "cType": "const Temporal **", + "canonical": "const Temporal **" + }, + { + "name": "count2", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "mindistance_tgeo_tgeo", + "file": "meos_geo.h", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "threshold", + "cType": "double", + "canonical": "double" + } + ] + }, + { + "name": "tpoint_tcentroid_finalfn", + "file": "meos_geo.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "state", + "cType": "SkipList *", + "canonical": "struct SkipList *" + } + ] + }, + { + "name": "tpoint_tcentroid_transfn", + "file": "meos_geo.h", + "returnType": { + "c": "SkipList *", + "canonical": "struct SkipList *" + }, + "params": [ + { + "name": "state", + "cType": "SkipList *", + "canonical": "struct SkipList *" + }, + { + "name": "temp", + "cType": "Temporal *", + "canonical": "Temporal *" + } + ] + }, + { + "name": "tspatial_extent_transfn", + "file": "meos_geo.h", + "returnType": { + "c": "STBox *", + "canonical": "struct STBox *" + }, + "params": [ + { + "name": "box", + "cType": "STBox *", + "canonical": "struct STBox *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "stbox_get_space_tile", + "file": "meos_geo.h", + "returnType": { + "c": "STBox *", + "canonical": "struct STBox *" + }, + "params": [ + { + "name": "point", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "xsize", + "cType": "double", + "canonical": "double" + }, + { + "name": "ysize", + "cType": "double", + "canonical": "double" + }, + { + "name": "zsize", + "cType": "double", + "canonical": "double" + }, + { + "name": "sorigin", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "stbox_get_space_time_tile", + "file": "meos_geo.h", + "returnType": { + "c": "STBox *", + "canonical": "struct STBox *" + }, + "params": [ + { + "name": "point", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "t", + "cType": "TimestampTz", + "canonical": "long" + }, + { + "name": "xsize", + "cType": "double", + "canonical": "double" + }, + { + "name": "ysize", + "cType": "double", + "canonical": "double" + }, + { + "name": "zsize", + "cType": "double", + "canonical": "double" + }, + { + "name": "duration", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "sorigin", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "torigin", + "cType": "TimestampTz", + "canonical": "long" + } + ] + }, + { + "name": "stbox_get_time_tile", + "file": "meos_geo.h", + "returnType": { + "c": "STBox *", + "canonical": "struct STBox *" + }, + "params": [ + { + "name": "t", + "cType": "TimestampTz", + "canonical": "long" + }, + { + "name": "duration", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "torigin", + "cType": "TimestampTz", + "canonical": "long" + } + ] + }, + { + "name": "stbox_space_tiles", + "file": "meos_geo.h", + "returnType": { + "c": "STBox *", + "canonical": "struct STBox *" + }, + "params": [ + { + "name": "bounds", + "cType": "const STBox *", + "canonical": "const struct STBox *" + }, + { + "name": "xsize", + "cType": "double", + "canonical": "double" + }, + { + "name": "ysize", + "cType": "double", + "canonical": "double" + }, + { + "name": "zsize", + "cType": "double", + "canonical": "double" + }, + { + "name": "sorigin", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "border_inc", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "stbox_space_time_tiles", + "file": "meos_geo.h", + "returnType": { + "c": "STBox *", + "canonical": "struct STBox *" + }, + "params": [ + { + "name": "bounds", + "cType": "const STBox *", + "canonical": "const struct STBox *" + }, + { + "name": "xsize", + "cType": "double", + "canonical": "double" + }, + { + "name": "ysize", + "cType": "double", + "canonical": "double" + }, + { + "name": "zsize", + "cType": "double", + "canonical": "double" + }, + { + "name": "duration", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "sorigin", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "torigin", + "cType": "TimestampTz", + "canonical": "long" + }, + { + "name": "border_inc", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "stbox_time_tiles", + "file": "meos_geo.h", + "returnType": { + "c": "STBox *", + "canonical": "struct STBox *" + }, + "params": [ + { + "name": "bounds", + "cType": "const STBox *", + "canonical": "const struct STBox *" + }, + { + "name": "duration", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "torigin", + "cType": "TimestampTz", + "canonical": "long" + }, + { + "name": "border_inc", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "tgeo_space_split", + "file": "meos_geo.h", + "returnType": { + "c": "Temporal **", + "canonical": "Temporal **" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "xsize", + "cType": "double", + "canonical": "double" + }, + { + "name": "ysize", + "cType": "double", + "canonical": "double" + }, + { + "name": "zsize", + "cType": "double", + "canonical": "double" + }, + { + "name": "sorigin", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "bitmatrix", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "border_inc", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "space_bins", + "cType": "int ***", + "canonical": "int ***" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "tgeo_space_time_split", + "file": "meos_geo.h", + "returnType": { + "c": "Temporal **", + "canonical": "Temporal **" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "xsize", + "cType": "double", + "canonical": "double" + }, + { + "name": "ysize", + "cType": "double", + "canonical": "double" + }, + { + "name": "zsize", + "cType": "double", + "canonical": "double" + }, + { + "name": "duration", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "sorigin", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "torigin", + "cType": "TimestampTz", + "canonical": "long" + }, + { + "name": "bitmatrix", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "border_inc", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "space_bins", + "cType": "int ***", + "canonical": "int ***" + }, + { + "name": "time_bins", + "cType": "TimestampTz **", + "canonical": "long **" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "geo_cluster_kmeans", + "file": "meos_geo.h", + "returnType": { + "c": "int *", + "canonical": "int *" + }, + "params": [ + { + "name": "geoms", + "cType": "const int **", + "canonical": "const int **" + }, + { + "name": "ngeoms", + "cType": "uint32_t", + "canonical": "unsigned int" + }, + { + "name": "k", + "cType": "uint32_t", + "canonical": "unsigned int" + } + ] + }, + { + "name": "geo_cluster_dbscan", + "file": "meos_geo.h", + "returnType": { + "c": "uint32_t *", + "canonical": "unsigned int *" + }, + "params": [ + { + "name": "geoms", + "cType": "const int **", + "canonical": "const int **" + }, + { + "name": "ngeoms", + "cType": "uint32_t", + "canonical": "unsigned int" + }, + { + "name": "tolerance", + "cType": "double", + "canonical": "double" + }, + { + "name": "minpoints", + "cType": "int", + "canonical": "int" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "geo_cluster_intersecting", + "file": "meos_geo.h", + "returnType": { + "c": "int **", + "canonical": "int **" + }, + "params": [ + { + "name": "geoms", + "cType": "const int **", + "canonical": "const int **" + }, + { + "name": "ngeoms", + "cType": "uint32_t", + "canonical": "unsigned int" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "geo_cluster_within", + "file": "meos_geo.h", + "returnType": { + "c": "int **", + "canonical": "int **" + }, + "params": [ + { + "name": "geoms", + "cType": "const int **", + "canonical": "const int **" + }, + { + "name": "ngeoms", + "cType": "uint32_t", + "canonical": "unsigned int" + }, + { + "name": "tolerance", + "cType": "double", + "canonical": "double" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "acovers_geo_tgeo", + "file": "meos_geo.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "acovers_tgeo_geo", + "file": "meos_geo.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "cbuffer_as_ewkt", + "file": "meos_cbuffer.h", + "returnType": { + "c": "char *", + "canonical": "char *" + }, + "params": [ + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + }, + { + "name": "maxdd", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "cbuffer_as_hexwkb", + "file": "meos_cbuffer.h", + "returnType": { + "c": "char *", + "canonical": "char *" + }, + "params": [ + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + }, + { + "name": "variant", + "cType": "uint8_t", + "canonical": "unsigned char" + }, + { + "name": "size", + "cType": "size_t *", + "canonical": "unsigned long *" + } + ] + }, + { + "name": "cbuffer_as_text", + "file": "meos_cbuffer.h", + "returnType": { + "c": "char *", + "canonical": "char *" + }, + "params": [ + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + }, + { + "name": "maxdd", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "cbuffer_as_wkb", + "file": "meos_cbuffer.h", + "returnType": { + "c": "uint8_t *", + "canonical": "unsigned char *" + }, + "params": [ + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + }, + { + "name": "variant", + "cType": "uint8_t", + "canonical": "unsigned char" + }, + { + "name": "size_out", + "cType": "size_t *", + "canonical": "unsigned long *" + } + ] + }, + { + "name": "cbuffer_from_hexwkb", + "file": "meos_cbuffer.h", + "returnType": { + "c": "Cbuffer *", + "canonical": "struct Cbuffer *" + }, + "params": [ + { + "name": "hexwkb", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "cbuffer_from_wkb", + "file": "meos_cbuffer.h", + "returnType": { + "c": "Cbuffer *", + "canonical": "struct Cbuffer *" + }, + "params": [ + { + "name": "wkb", + "cType": "const uint8_t *", + "canonical": "const unsigned char *" + }, + { + "name": "size", + "cType": "size_t", + "canonical": "unsigned long" + } + ] + }, + { + "name": "cbuffer_in", + "file": "meos_cbuffer.h", + "returnType": { + "c": "Cbuffer *", + "canonical": "struct Cbuffer *" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "cbuffer_out", + "file": "meos_cbuffer.h", + "returnType": { + "c": "char *", + "canonical": "char *" + }, + "params": [ + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + }, + { + "name": "maxdd", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "cbuffer_copy", + "file": "meos_cbuffer.h", + "returnType": { + "c": "Cbuffer *", + "canonical": "struct Cbuffer *" + }, + "params": [ + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + } + ] + }, + { + "name": "cbuffer_make", + "file": "meos_cbuffer.h", + "returnType": { + "c": "Cbuffer *", + "canonical": "struct Cbuffer *" + }, + "params": [ + { + "name": "point", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "radius", + "cType": "double", + "canonical": "double" + } + ] + }, + { + "name": "cbuffer_to_geom", + "file": "meos_cbuffer.h", + "returnType": { + "c": "int *", + "canonical": "int *" + }, + "params": [ + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + } + ] + }, + { + "name": "cbuffer_to_stbox", + "file": "meos_cbuffer.h", + "returnType": { + "c": "STBox *", + "canonical": "struct STBox *" + }, + "params": [ + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + } + ] + }, + { + "name": "cbufferarr_to_geom", + "file": "meos_cbuffer.h", + "returnType": { + "c": "int *", + "canonical": "int *" + }, + "params": [ + { + "name": "cbarr", + "cType": "const Cbuffer **", + "canonical": "const struct Cbuffer **" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "geom_to_cbuffer", + "file": "meos_cbuffer.h", + "returnType": { + "c": "Cbuffer *", + "canonical": "struct Cbuffer *" + }, + "params": [ + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "cbuffer_hash", + "file": "meos_cbuffer.h", + "returnType": { + "c": "uint32", + "canonical": "unsigned int" + }, + "params": [ + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + } + ] + }, + { + "name": "cbuffer_hash_extended", + "file": "meos_cbuffer.h", + "returnType": { + "c": "uint64", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + }, + { + "name": "seed", + "cType": "uint64", + "canonical": "unsigned long" + } + ] + }, + { + "name": "cbuffer_point", + "file": "meos_cbuffer.h", + "returnType": { + "c": "int *", + "canonical": "int *" + }, + "params": [ + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + } + ] + }, + { + "name": "cbuffer_radius", + "file": "meos_cbuffer.h", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + } + ] + }, + { + "name": "cbuffer_round", + "file": "meos_cbuffer.h", + "returnType": { + "c": "Cbuffer *", + "canonical": "struct Cbuffer *" + }, + "params": [ + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + }, + { + "name": "maxdd", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "cbufferarr_round", + "file": "meos_cbuffer.h", + "returnType": { + "c": "Cbuffer **", + "canonical": "struct Cbuffer **" + }, + "params": [ + { + "name": "cbarr", + "cType": "const Cbuffer **", + "canonical": "const struct Cbuffer **" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + }, + { + "name": "maxdd", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "cbuffer_set_srid", + "file": "meos_cbuffer.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "cb", + "cType": "Cbuffer *", + "canonical": "struct Cbuffer *" + }, + { + "name": "srid", + "cType": "int32_t", + "canonical": "int" + } + ] + }, + { + "name": "cbuffer_srid", + "file": "meos_cbuffer.h", + "returnType": { + "c": "int32_t", + "canonical": "int" + }, + "params": [ + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + } + ] + }, + { + "name": "cbuffer_transform", + "file": "meos_cbuffer.h", + "returnType": { + "c": "Cbuffer *", + "canonical": "struct Cbuffer *" + }, + "params": [ + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + }, + { + "name": "srid", + "cType": "int32_t", + "canonical": "int" + } + ] + }, + { + "name": "cbuffer_transform_pipeline", + "file": "meos_cbuffer.h", + "returnType": { + "c": "Cbuffer *", + "canonical": "struct Cbuffer *" + }, + "params": [ + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + }, + { + "name": "pipelinestr", + "cType": "const char *", + "canonical": "const char *" + }, + { + "name": "srid", + "cType": "int32_t", + "canonical": "int" + }, + { + "name": "is_forward", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "contains_cbuffer_cbuffer", + "file": "meos_cbuffer.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "cb1", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + }, + { + "name": "cb2", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + } + ] + }, + { + "name": "covers_cbuffer_cbuffer", + "file": "meos_cbuffer.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "cb1", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + }, + { + "name": "cb2", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + } + ] + }, + { + "name": "disjoint_cbuffer_cbuffer", + "file": "meos_cbuffer.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "cb1", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + }, + { + "name": "cb2", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + } + ] + }, + { + "name": "dwithin_cbuffer_cbuffer", + "file": "meos_cbuffer.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "cb1", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + }, + { + "name": "cb2", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + }, + { + "name": "dist", + "cType": "double", + "canonical": "double" + } + ] + }, + { + "name": "intersects_cbuffer_cbuffer", + "file": "meos_cbuffer.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "cb1", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + }, + { + "name": "cb2", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + } + ] + }, + { + "name": "touches_cbuffer_cbuffer", + "file": "meos_cbuffer.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "cb1", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + }, + { + "name": "cb2", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + } + ] + }, + { + "name": "cbuffer_tstzspan_to_stbox", + "file": "meos_cbuffer.h", + "returnType": { + "c": "STBox *", + "canonical": "struct STBox *" + }, + "params": [ + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + }, + { + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" + } + ] + }, + { + "name": "cbuffer_timestamptz_to_stbox", + "file": "meos_cbuffer.h", + "returnType": { + "c": "STBox *", + "canonical": "struct STBox *" + }, + "params": [ + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + }, + { + "name": "t", + "cType": "TimestampTz", + "canonical": "long" + } + ] + }, + { + "name": "distance_cbuffer_cbuffer", + "file": "meos_cbuffer.h", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "cb1", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + }, + { + "name": "cb2", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + } + ] + }, + { + "name": "distance_cbuffer_geo", + "file": "meos_cbuffer.h", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + }, + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "distance_cbuffer_stbox", + "file": "meos_cbuffer.h", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + }, + { + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" + } + ] + }, + { + "name": "nad_cbuffer_stbox", + "file": "meos_cbuffer.h", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + }, + { + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" + } + ] + }, + { + "name": "cbuffer_cmp", + "file": "meos_cbuffer.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "cb1", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + }, + { + "name": "cb2", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + } + ] + }, + { + "name": "cbuffer_eq", + "file": "meos_cbuffer.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "cb1", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + }, + { + "name": "cb2", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + } + ] + }, + { + "name": "cbuffer_ge", + "file": "meos_cbuffer.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "cb1", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + }, + { + "name": "cb2", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + } + ] + }, + { + "name": "cbuffer_gt", + "file": "meos_cbuffer.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "cb1", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + }, + { + "name": "cb2", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + } + ] + }, + { + "name": "cbuffer_le", + "file": "meos_cbuffer.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "cb1", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + }, + { + "name": "cb2", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + } + ] + }, + { + "name": "cbuffer_lt", + "file": "meos_cbuffer.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "cb1", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + }, + { + "name": "cb2", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + } + ] + }, + { + "name": "cbuffer_ne", + "file": "meos_cbuffer.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "cb1", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + }, + { + "name": "cb2", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + } + ] + }, + { + "name": "cbuffer_nsame", + "file": "meos_cbuffer.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "cb1", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + }, + { + "name": "cb2", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + } + ] + }, + { + "name": "cbuffer_same", + "file": "meos_cbuffer.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "cb1", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + }, + { + "name": "cb2", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + } + ] + }, + { + "name": "cbufferset_in", + "file": "meos_cbuffer.h", + "returnType": { + "c": "Set *", + "canonical": "Set *" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "cbufferset_out", + "file": "meos_cbuffer.h", + "returnType": { + "c": "char *", + "canonical": "char *" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + }, + { + "name": "maxdd", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "cbufferset_make", + "file": "meos_cbuffer.h", + "returnType": { + "c": "Set *", + "canonical": "Set *" + }, + "params": [ + { + "name": "values", + "cType": "Cbuffer **", + "canonical": "struct Cbuffer **" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "cbuffer_to_set", + "file": "meos_cbuffer.h", + "returnType": { + "c": "Set *", + "canonical": "Set *" + }, + "params": [ + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + } + ] + }, + { + "name": "cbufferset_end_value", + "file": "meos_cbuffer.h", + "returnType": { + "c": "Cbuffer *", + "canonical": "struct Cbuffer *" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + } + ] + }, + { + "name": "cbufferset_start_value", + "file": "meos_cbuffer.h", + "returnType": { + "c": "Cbuffer *", + "canonical": "struct Cbuffer *" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + } + ] + }, + { + "name": "cbufferset_value_n", + "file": "meos_cbuffer.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + }, + { + "name": "n", + "cType": "int", + "canonical": "int" + }, + { + "name": "result", + "cType": "Cbuffer **", + "canonical": "struct Cbuffer **" + } + ] + }, + { + "name": "cbufferset_values", + "file": "meos_cbuffer.h", + "returnType": { + "c": "Cbuffer **", + "canonical": "struct Cbuffer **" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + } + ] + }, + { + "name": "cbuffer_union_transfn", + "file": "meos_cbuffer.h", + "returnType": { + "c": "Set *", + "canonical": "Set *" + }, + "params": [ + { + "name": "state", + "cType": "Set *", + "canonical": "Set *" + }, + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + } + ] + }, + { + "name": "contained_cbuffer_set", + "file": "meos_cbuffer.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + }, + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + } + ] + }, + { + "name": "contains_set_cbuffer", + "file": "meos_cbuffer.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + }, + { + "name": "cb", + "cType": "Cbuffer *", + "canonical": "struct Cbuffer *" + } + ] + }, + { + "name": "intersection_cbuffer_set", + "file": "meos_cbuffer.h", + "returnType": { + "c": "Set *", + "canonical": "Set *" + }, + "params": [ + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + }, + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + } + ] + }, + { + "name": "intersection_set_cbuffer", + "file": "meos_cbuffer.h", + "returnType": { + "c": "Set *", + "canonical": "Set *" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + }, + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + } + ] + }, + { + "name": "minus_cbuffer_set", + "file": "meos_cbuffer.h", + "returnType": { + "c": "Set *", + "canonical": "Set *" + }, + "params": [ + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + }, + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + } + ] + }, + { + "name": "minus_set_cbuffer", + "file": "meos_cbuffer.h", + "returnType": { + "c": "Set *", + "canonical": "Set *" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + }, + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + } + ] + }, + { + "name": "union_cbuffer_set", + "file": "meos_cbuffer.h", + "returnType": { + "c": "Set *", + "canonical": "Set *" + }, + "params": [ + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + }, + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + } + ] + }, + { + "name": "union_set_cbuffer", + "file": "meos_cbuffer.h", + "returnType": { + "c": "Set *", + "canonical": "Set *" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + }, + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + } + ] + }, + { + "name": "tcbuffer_in", + "file": "meos_cbuffer.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "tcbuffer_from_mfjson", + "file": "meos_cbuffer.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "mfjson", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "tcbuffer_make", + "file": "meos_cbuffer.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "tpoint", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "tfloat", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "tcbuffer_points", + "file": "meos_cbuffer.h", + "returnType": { + "c": "Set *", + "canonical": "Set *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "tcbuffer_radius", + "file": "meos_cbuffer.h", + "returnType": { + "c": "Set *", + "canonical": "Set *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "tcbuffer_trav_area", + "file": "meos_cbuffer.h", + "returnType": { + "c": "int *", + "canonical": "int *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "merge_union", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tcbuffer_to_tfloat", + "file": "meos_cbuffer.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "tcbuffer_to_tgeompoint", + "file": "meos_cbuffer.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "tgeometry_to_tcbuffer", + "file": "meos_cbuffer.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "tcbuffer_expand", + "file": "meos_cbuffer.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "dist", + "cType": "double", + "canonical": "double" + } + ] + }, + { + "name": "tcbuffer_at_cbuffer", + "file": "meos_cbuffer.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + } + ] + }, + { + "name": "tcbuffer_at_geom", + "file": "meos_cbuffer.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "tcbuffer_at_stbox", + "file": "meos_cbuffer.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" + }, + { + "name": "border_inc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tcbuffer_minus_cbuffer", + "file": "meos_cbuffer.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + } + ] + }, + { + "name": "tcbuffer_minus_geom", + "file": "meos_cbuffer.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "tcbuffer_minus_stbox", + "file": "meos_cbuffer.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" + }, + { + "name": "border_inc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tdistance_tcbuffer_cbuffer", + "file": "meos_cbuffer.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + } + ] + }, + { + "name": "tdistance_tcbuffer_geo", + "file": "meos_cbuffer.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "tdistance_tcbuffer_tcbuffer", + "file": "meos_cbuffer.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "nad_tcbuffer_cbuffer", + "file": "meos_cbuffer.h", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + } + ] + }, + { + "name": "nad_tcbuffer_geo", + "file": "meos_cbuffer.h", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "nad_tcbuffer_stbox", + "file": "meos_cbuffer.h", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" + } + ] + }, + { + "name": "nad_tcbuffer_tcbuffer", + "file": "meos_cbuffer.h", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "nai_tcbuffer_cbuffer", + "file": "meos_cbuffer.h", + "returnType": { + "c": "TInstant *", + "canonical": "struct TInstant *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + } + ] + }, + { + "name": "nai_tcbuffer_geo", + "file": "meos_cbuffer.h", + "returnType": { + "c": "TInstant *", + "canonical": "struct TInstant *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "nai_tcbuffer_tcbuffer", + "file": "meos_cbuffer.h", + "returnType": { + "c": "TInstant *", + "canonical": "struct TInstant *" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "shortestline_tcbuffer_cbuffer", + "file": "meos_cbuffer.h", + "returnType": { + "c": "int *", + "canonical": "int *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + } + ] + }, + { + "name": "shortestline_tcbuffer_geo", + "file": "meos_cbuffer.h", + "returnType": { + "c": "int *", + "canonical": "int *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "shortestline_tcbuffer_tcbuffer", + "file": "meos_cbuffer.h", + "returnType": { + "c": "int *", + "canonical": "int *" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "always_eq_cbuffer_tcbuffer", + "file": "meos_cbuffer.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "always_eq_tcbuffer_cbuffer", + "file": "meos_cbuffer.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + } + ] + }, + { + "name": "always_eq_tcbuffer_tcbuffer", + "file": "meos_cbuffer.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "always_ne_cbuffer_tcbuffer", + "file": "meos_cbuffer.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "always_ne_tcbuffer_cbuffer", + "file": "meos_cbuffer.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + } + ] + }, + { + "name": "always_ne_tcbuffer_tcbuffer", + "file": "meos_cbuffer.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "ever_eq_cbuffer_tcbuffer", + "file": "meos_cbuffer.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "ever_eq_tcbuffer_cbuffer", + "file": "meos_cbuffer.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + } + ] + }, + { + "name": "ever_eq_tcbuffer_tcbuffer", + "file": "meos_cbuffer.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "ever_ne_cbuffer_tcbuffer", + "file": "meos_cbuffer.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "ever_ne_tcbuffer_cbuffer", + "file": "meos_cbuffer.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + } + ] + }, + { + "name": "ever_ne_tcbuffer_tcbuffer", + "file": "meos_cbuffer.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "teq_cbuffer_tcbuffer", + "file": "meos_cbuffer.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "teq_tcbuffer_cbuffer", + "file": "meos_cbuffer.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + } + ] + }, + { + "name": "tne_cbuffer_tcbuffer", + "file": "meos_cbuffer.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "tne_tcbuffer_cbuffer", + "file": "meos_cbuffer.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + } + ] + }, + { + "name": "acontains_cbuffer_tcbuffer", + "file": "meos_cbuffer.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "acontains_geo_tcbuffer", + "file": "meos_cbuffer.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "acontains_tcbuffer_cbuffer", + "file": "meos_cbuffer.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + } + ] + }, + { + "name": "acontains_tcbuffer_geo", + "file": "meos_cbuffer.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "acovers_cbuffer_tcbuffer", + "file": "meos_cbuffer.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "acovers_geo_tcbuffer", + "file": "meos_cbuffer.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "acovers_tcbuffer_cbuffer", + "file": "meos_cbuffer.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + } + ] + }, + { + "name": "acovers_tcbuffer_geo", + "file": "meos_cbuffer.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "adisjoint_tcbuffer_geo", + "file": "meos_cbuffer.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "adisjoint_tcbuffer_cbuffer", + "file": "meos_cbuffer.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + } + ] + }, + { + "name": "adisjoint_tcbuffer_tcbuffer", + "file": "meos_cbuffer.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "adwithin_tcbuffer_geo", + "file": "meos_cbuffer.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "dist", + "cType": "double", + "canonical": "double" + } + ] + }, + { + "name": "adwithin_tcbuffer_cbuffer", + "file": "meos_cbuffer.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + }, + { + "name": "dist", + "cType": "double", + "canonical": "double" + } + ] + }, + { + "name": "adwithin_tcbuffer_tcbuffer", + "file": "meos_cbuffer.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "dist", + "cType": "double", + "canonical": "double" + } + ] + }, + { + "name": "aintersects_tcbuffer_geo", + "file": "meos_cbuffer.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "aintersects_tcbuffer_cbuffer", + "file": "meos_cbuffer.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + } + ] + }, + { + "name": "aintersects_tcbuffer_tcbuffer", + "file": "meos_cbuffer.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "atouches_tcbuffer_geo", + "file": "meos_cbuffer.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "atouches_tcbuffer_cbuffer", + "file": "meos_cbuffer.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + } + ] + }, + { + "name": "atouches_tcbuffer_tcbuffer", + "file": "meos_cbuffer.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "econtains_cbuffer_tcbuffer", + "file": "meos_cbuffer.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "econtains_tcbuffer_cbuffer", + "file": "meos_cbuffer.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + } + ] + }, + { + "name": "econtains_tcbuffer_geo", + "file": "meos_cbuffer.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "ecovers_cbuffer_tcbuffer", + "file": "meos_cbuffer.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "ecovers_tcbuffer_cbuffer", + "file": "meos_cbuffer.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + } + ] + }, + { + "name": "ecovers_tcbuffer_geo", + "file": "meos_cbuffer.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "ecovers_tcbuffer_tcbuffer", + "file": "meos_cbuffer.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "edisjoint_tcbuffer_geo", + "file": "meos_cbuffer.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "edisjoint_tcbuffer_cbuffer", + "file": "meos_cbuffer.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + } + ] + }, + { + "name": "edwithin_tcbuffer_geo", + "file": "meos_cbuffer.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "dist", + "cType": "double", + "canonical": "double" + } + ] + }, + { + "name": "edwithin_tcbuffer_cbuffer", + "file": "meos_cbuffer.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + }, + { + "name": "dist", + "cType": "double", + "canonical": "double" + } + ] + }, + { + "name": "edwithin_tcbuffer_tcbuffer", + "file": "meos_cbuffer.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "dist", + "cType": "double", + "canonical": "double" + } + ] + }, + { + "name": "eintersects_tcbuffer_geo", + "file": "meos_cbuffer.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "eintersects_tcbuffer_cbuffer", + "file": "meos_cbuffer.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + } + ] + }, + { + "name": "eintersects_tcbuffer_tcbuffer", + "file": "meos_cbuffer.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "etouches_tcbuffer_geo", + "file": "meos_cbuffer.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "etouches_tcbuffer_cbuffer", + "file": "meos_cbuffer.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + } + ] + }, + { + "name": "etouches_tcbuffer_tcbuffer", + "file": "meos_cbuffer.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "tcontains_cbuffer_tcbuffer", + "file": "meos_cbuffer.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "tcontains_geo_tcbuffer", + "file": "meos_cbuffer.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "tcontains_tcbuffer_geo", + "file": "meos_cbuffer.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "tcontains_tcbuffer_cbuffer", + "file": "meos_cbuffer.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + } + ] + }, + { + "name": "tcontains_tcbuffer_tcbuffer", + "file": "meos_cbuffer.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "tcovers_cbuffer_tcbuffer", + "file": "meos_cbuffer.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "tcovers_geo_tcbuffer", + "file": "meos_cbuffer.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "tcovers_tcbuffer_geo", + "file": "meos_cbuffer.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "tcovers_tcbuffer_cbuffer", + "file": "meos_cbuffer.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + } + ] + }, + { + "name": "tcovers_tcbuffer_tcbuffer", + "file": "meos_cbuffer.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "tdwithin_geo_tcbuffer", + "file": "meos_cbuffer.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "dist", + "cType": "double", + "canonical": "double" + } + ] + }, + { + "name": "tdwithin_tcbuffer_geo", + "file": "meos_cbuffer.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "dist", + "cType": "double", + "canonical": "double" + } + ] + }, + { + "name": "tdwithin_tcbuffer_cbuffer", + "file": "meos_cbuffer.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + }, + { + "name": "dist", + "cType": "double", + "canonical": "double" + } + ] + }, + { + "name": "tdwithin_tcbuffer_tcbuffer", + "file": "meos_cbuffer.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "dist", + "cType": "double", + "canonical": "double" + } + ] + }, + { + "name": "tdisjoint_cbuffer_tcbuffer", + "file": "meos_cbuffer.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "tdisjoint_geo_tcbuffer", + "file": "meos_cbuffer.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "tdisjoint_tcbuffer_geo", + "file": "meos_cbuffer.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "tdisjoint_tcbuffer_cbuffer", + "file": "meos_cbuffer.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + } + ] + }, + { + "name": "tdisjoint_tcbuffer_tcbuffer", + "file": "meos_cbuffer.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "tintersects_cbuffer_tcbuffer", + "file": "meos_cbuffer.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "tintersects_geo_tcbuffer", + "file": "meos_cbuffer.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "tintersects_tcbuffer_geo", + "file": "meos_cbuffer.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "tintersects_tcbuffer_cbuffer", + "file": "meos_cbuffer.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + } + ] + }, + { + "name": "tintersects_tcbuffer_tcbuffer", + "file": "meos_cbuffer.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "ttouches_geo_tcbuffer", + "file": "meos_cbuffer.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "ttouches_tcbuffer_geo", + "file": "meos_cbuffer.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "ttouches_cbuffer_tcbuffer", + "file": "meos_cbuffer.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "ttouches_tcbuffer_cbuffer", + "file": "meos_cbuffer.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + } + ] + }, + { + "name": "ttouches_tcbuffer_tcbuffer", + "file": "meos_cbuffer.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "acovers_tcbuffer_tcbuffer", + "file": "meos_cbuffer.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "h3index_in", + "file": "meos_h3.h", + "returnType": { + "c": "H3Index", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "h3index_out", + "file": "meos_h3.h", + "returnType": { + "c": "char *", + "canonical": "char *" + }, + "params": [ + { + "name": "cell", + "cType": "H3Index", + "canonical": "unsigned long" + } + ] + }, + { + "name": "th3index_in", + "file": "meos_h3.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "th3indexinst_in", + "file": "meos_h3.h", + "returnType": { + "c": "TInstant *", + "canonical": "struct TInstant *" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "th3indexseq_in", + "file": "meos_h3.h", + "returnType": { + "c": "TSequence *", + "canonical": "struct TSequence *" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + }, + { + "name": "interp", + "cType": "interpType", + "canonical": "interpType" + } + ] + }, + { + "name": "th3indexseqset_in", + "file": "meos_h3.h", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "th3index_make", + "file": "meos_h3.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "value", + "cType": "H3Index", + "canonical": "unsigned long" + }, + { + "name": "t", + "cType": "TimestampTz", + "canonical": "long" + } + ] + }, + { + "name": "th3indexinst_make", + "file": "meos_h3.h", + "returnType": { + "c": "TInstant *", + "canonical": "struct TInstant *" + }, + "params": [ + { + "name": "value", + "cType": "H3Index", + "canonical": "unsigned long" + }, + { + "name": "t", + "cType": "TimestampTz", + "canonical": "long" + } + ] + }, + { + "name": "th3indexseq_make", + "file": "meos_h3.h", + "returnType": { + "c": "TSequence *", + "canonical": "struct TSequence *" + }, + "params": [ + { + "name": "values", + "cType": "const H3Index *", + "canonical": "const unsigned long *" + }, + { + "name": "times", + "cType": "const TimestampTz *", + "canonical": "const long *" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + }, + { + "name": "lower_inc", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "upper_inc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "th3indexseqset_make", + "file": "meos_h3.h", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + "params": [ + { + "name": "sequences", + "cType": "const TSequence **", + "canonical": "const struct TSequence **" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "th3index_start_value", + "file": "meos_h3.h", + "returnType": { + "c": "H3Index", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "th3index_end_value", + "file": "meos_h3.h", + "returnType": { + "c": "H3Index", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "th3index_value_n", + "file": "meos_h3.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "n", + "cType": "int", + "canonical": "int" + }, + { + "name": "result", + "cType": "H3Index *", + "canonical": "unsigned long *" + } + ] + }, + { + "name": "th3index_values", + "file": "meos_h3.h", + "returnType": { + "c": "H3Index *", + "canonical": "unsigned long *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "th3index_value_at_timestamptz", + "file": "meos_h3.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "t", + "cType": "TimestampTz", + "canonical": "long" + }, + { + "name": "strict", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "result", + "cType": "H3Index *", + "canonical": "unsigned long *" + } + ] + }, + { + "name": "tbigint_to_th3index", + "file": "meos_h3.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "th3index_to_tbigint", + "file": "meos_h3.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "ever_eq_h3index_th3index", + "file": "meos_h3.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "cell", + "cType": "H3Index", + "canonical": "unsigned long" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "ever_eq_th3index_h3index", + "file": "meos_h3.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "cell", + "cType": "H3Index", + "canonical": "unsigned long" + } + ] + }, + { + "name": "ever_ne_h3index_th3index", + "file": "meos_h3.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "cell", + "cType": "H3Index", + "canonical": "unsigned long" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "ever_ne_th3index_h3index", + "file": "meos_h3.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "cell", + "cType": "H3Index", + "canonical": "unsigned long" + } + ] + }, + { + "name": "always_eq_h3index_th3index", + "file": "meos_h3.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "cell", + "cType": "H3Index", + "canonical": "unsigned long" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "always_eq_th3index_h3index", + "file": "meos_h3.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "cell", + "cType": "H3Index", + "canonical": "unsigned long" + } + ] + }, + { + "name": "always_ne_h3index_th3index", + "file": "meos_h3.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "cell", + "cType": "H3Index", + "canonical": "unsigned long" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "always_ne_th3index_h3index", + "file": "meos_h3.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "cell", + "cType": "H3Index", + "canonical": "unsigned long" + } + ] + }, + { + "name": "ever_eq_th3index_th3index", + "file": "meos_h3.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "ever_ne_th3index_th3index", + "file": "meos_h3.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "always_eq_th3index_th3index", + "file": "meos_h3.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "always_ne_th3index_th3index", + "file": "meos_h3.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "teq_h3index_th3index", + "file": "meos_h3.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "cell", + "cType": "H3Index", + "canonical": "unsigned long" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "teq_th3index_h3index", + "file": "meos_h3.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "cell", + "cType": "H3Index", + "canonical": "unsigned long" + } + ] + }, + { + "name": "teq_th3index_th3index", + "file": "meos_h3.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "tne_h3index_th3index", + "file": "meos_h3.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "cell", + "cType": "H3Index", + "canonical": "unsigned long" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "tne_th3index_h3index", + "file": "meos_h3.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "cell", + "cType": "H3Index", + "canonical": "unsigned long" + } + ] + }, + { + "name": "tne_th3index_th3index", + "file": "meos_h3.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "th3index_get_resolution", + "file": "meos_h3.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "th3index_get_base_cell_number", + "file": "meos_h3.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "th3index_is_valid_cell", + "file": "meos_h3.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "th3index_is_res_class_iii", + "file": "meos_h3.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "th3index_is_pentagon", + "file": "meos_h3.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "th3index_cell_to_parent", + "file": "meos_h3.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "resolution", + "cType": "int32", + "canonical": "int" + } + ] + }, + { + "name": "th3index_cell_to_parent_next", + "file": "meos_h3.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "th3index_cell_to_center_child", + "file": "meos_h3.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "resolution", + "cType": "int32", + "canonical": "int" + } + ] + }, + { + "name": "th3index_cell_to_center_child_next", + "file": "meos_h3.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "th3index_cell_to_child_pos", + "file": "meos_h3.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "parent_res", + "cType": "int32", + "canonical": "int" + } + ] + }, + { + "name": "th3index_child_pos_to_cell", + "file": "meos_h3.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "child_pos", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "parent", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "child_res", + "cType": "int32", + "canonical": "int" + } + ] + }, + { + "name": "tgeogpoint_to_th3index", + "file": "meos_h3.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "resolution", + "cType": "int32", + "canonical": "int" + } + ] + }, + { + "name": "tgeompoint_to_th3index", + "file": "meos_h3.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "resolution", + "cType": "int32", + "canonical": "int" + } + ] + }, + { + "name": "th3index_to_tgeogpoint", + "file": "meos_h3.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "th3index_to_tgeompoint", + "file": "meos_h3.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "th3index_cell_to_boundary", + "file": "meos_h3.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "geo_to_h3index_set", + "file": "meos_h3.h", + "returnType": { + "c": "Set *", + "canonical": "Set *" + }, + "params": [ + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "resolution", + "cType": "int32", + "canonical": "int" + } + ] + }, + { + "name": "ever_eq_h3indexset_th3index", + "file": "meos_h3.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "cells", + "cType": "const Set *", + "canonical": "const Set *" + }, + { + "name": "th3idx", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "th3index_are_neighbor_cells", + "file": "meos_h3.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "origin", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "dest", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "th3index_cells_to_directed_edge", + "file": "meos_h3.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "origin", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "dest", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "th3index_is_valid_directed_edge", + "file": "meos_h3.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "edge", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "th3index_get_directed_edge_origin", + "file": "meos_h3.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "edge", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "th3index_get_directed_edge_destination", + "file": "meos_h3.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "edge", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "th3index_directed_edge_to_boundary", + "file": "meos_h3.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "edge", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "th3index_cell_to_vertex", + "file": "meos_h3.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "vertex_num", + "cType": "int32", + "canonical": "int" + } + ] + }, + { + "name": "th3index_vertex_to_latlng", + "file": "meos_h3.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "th3index_is_valid_vertex", + "file": "meos_h3.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "th3index_grid_distance", + "file": "meos_h3.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "origin", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "dest", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "th3index_cell_to_local_ij", + "file": "meos_h3.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "origin", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "cell", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "th3index_local_ij_to_cell", + "file": "meos_h3.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "origin", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "coord", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "th3index_cell_area", + "file": "meos_h3.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "unit", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "th3index_edge_length", + "file": "meos_h3.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "unit", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "tgeogpoint_great_circle_distance", + "file": "meos_h3.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "a", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "b", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "unit", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "gsl_get_generation_rng", + "file": "meos_internal.h", + "returnType": { + "c": "gsl_rng *", + "canonical": "gsl_rng *" + }, + "params": [] + }, + { + "name": "gsl_get_aggregation_rng", + "file": "meos_internal.h", + "returnType": { + "c": "gsl_rng *", + "canonical": "gsl_rng *" + }, + "params": [] + }, + { + "name": "datum_ceil", + "file": "meos_internal.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "d", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "datum_degrees", + "file": "meos_internal.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "d", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "normalize", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "datum_float_round", + "file": "meos_internal.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "size", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "datum_floor", + "file": "meos_internal.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "d", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "datum_hash", + "file": "meos_internal.h", + "returnType": { + "c": "uint32", + "canonical": "unsigned int" + }, + "params": [ + { + "name": "d", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "basetype", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "datum_hash_extended", + "file": "meos_internal.h", + "returnType": { + "c": "uint64", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "d", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "basetype", + "cType": "int", + "canonical": "int" + }, + { + "name": "seed", + "cType": "uint64", + "canonical": "unsigned long" + } + ] + }, + { + "name": "datum_radians", + "file": "meos_internal.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "d", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "floatspan_round_set", + "file": "meos_internal.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "maxdd", + "cType": "int", + "canonical": "int" + }, + { + "name": "result", + "cType": "Span *", + "canonical": "struct Span *" + } + ] + }, + { + "name": "set_in", + "file": "meos_internal.h", + "returnType": { + "c": "Set *", + "canonical": "Set *" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + }, + { + "name": "basetype", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "set_out", + "file": "meos_internal.h", + "returnType": { + "c": "char *", + "canonical": "char *" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + }, + { + "name": "maxdd", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "span_in", + "file": "meos_internal.h", + "returnType": { + "c": "Span *", + "canonical": "struct Span *" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + }, + { + "name": "spantype", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "span_out", + "file": "meos_internal.h", + "returnType": { + "c": "char *", + "canonical": "char *" + }, + "params": [ + { + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "maxdd", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "spanset_in", + "file": "meos_internal.h", + "returnType": { + "c": "SpanSet *", + "canonical": "struct SpanSet *" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + }, + { + "name": "spantype", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "spanset_out", + "file": "meos_internal.h", + "returnType": { + "c": "char *", + "canonical": "char *" + }, + "params": [ + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" + }, + { + "name": "maxdd", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "set_make", + "file": "meos_internal.h", + "returnType": { + "c": "Set *", + "canonical": "Set *" + }, + "params": [ + { + "name": "values", + "cType": "Datum *", + "canonical": "int ((*)(int *))()" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + }, + { + "name": "basetype", + "cType": "int", + "canonical": "int" + }, + { + "name": "order", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "set_make_exp", + "file": "meos_internal.h", + "returnType": { + "c": "Set *", + "canonical": "Set *" + }, + "params": [ + { + "name": "values", + "cType": "Datum *", + "canonical": "int ((*)(int *))()" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + }, + { + "name": "maxcount", + "cType": "int", + "canonical": "int" + }, + { + "name": "basetype", + "cType": "int", + "canonical": "int" + }, + { + "name": "order", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "set_make_free", + "file": "meos_internal.h", + "returnType": { + "c": "Set *", + "canonical": "Set *" + }, + "params": [ + { + "name": "values", + "cType": "Datum *", + "canonical": "int ((*)(int *))()" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + }, + { + "name": "basetype", + "cType": "int", + "canonical": "int" + }, + { + "name": "order", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "span_make", + "file": "meos_internal.h", + "returnType": { + "c": "Span *", + "canonical": "struct Span *" + }, + "params": [ + { + "name": "lower", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "upper", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "lower_inc", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "upper_inc", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "basetype", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "span_set", + "file": "meos_internal.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "lower", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "upper", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "lower_inc", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "upper_inc", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "basetype", + "cType": "int", + "canonical": "int" + }, + { + "name": "spantype", + "cType": "int", + "canonical": "int" + }, + { + "name": "s", + "cType": "Span *", + "canonical": "struct Span *" + } + ] + }, + { + "name": "spanset_make_exp", + "file": "meos_internal.h", + "returnType": { + "c": "SpanSet *", + "canonical": "struct SpanSet *" + }, + "params": [ + { + "name": "spans", + "cType": "Span *", + "canonical": "struct Span *" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + }, + { + "name": "maxcount", + "cType": "int", + "canonical": "int" + }, + { + "name": "normalize", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "order", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "spanset_make_free", + "file": "meos_internal.h", + "returnType": { + "c": "SpanSet *", + "canonical": "struct SpanSet *" + }, + "params": [ + { + "name": "spans", + "cType": "Span *", + "canonical": "struct Span *" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + }, + { + "name": "normalize", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "order", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "set_span", + "file": "meos_internal.h", + "returnType": { + "c": "Span *", + "canonical": "struct Span *" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + } + ] + }, + { + "name": "set_spanset", + "file": "meos_internal.h", + "returnType": { + "c": "SpanSet *", + "canonical": "struct SpanSet *" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + } + ] + }, + { + "name": "value_set_span", + "file": "meos_internal.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "basetype", + "cType": "int", + "canonical": "int" + }, + { + "name": "s", + "cType": "Span *", + "canonical": "struct Span *" + } + ] + }, + { + "name": "value_set", + "file": "meos_internal.h", + "returnType": { + "c": "Set *", + "canonical": "Set *" + }, + "params": [ + { + "name": "d", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "basetype", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "value_span", + "file": "meos_internal.h", + "returnType": { + "c": "Span *", + "canonical": "struct Span *" + }, + "params": [ + { + "name": "d", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "basetype", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "value_spanset", + "file": "meos_internal.h", + "returnType": { + "c": "SpanSet *", + "canonical": "struct SpanSet *" + }, + "params": [ + { + "name": "d", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "basetype", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "numspan_width", + "file": "meos_internal.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" + } + ] + }, + { + "name": "numspanset_width", + "file": "meos_internal.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" + }, + { + "name": "boundspan", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "set_end_value", + "file": "meos_internal.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + } + ] + }, + { + "name": "set_mem_size", + "file": "meos_internal.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + } + ] + }, + { + "name": "set_set_subspan", + "file": "meos_internal.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + }, + { + "name": "minidx", + "cType": "int", + "canonical": "int" + }, + { + "name": "maxidx", + "cType": "int", + "canonical": "int" + }, + { + "name": "result", + "cType": "Span *", + "canonical": "struct Span *" + } + ] + }, + { + "name": "set_set_span", + "file": "meos_internal.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + }, + { + "name": "result", + "cType": "Span *", + "canonical": "struct Span *" + } + ] + }, + { + "name": "set_start_value", + "file": "meos_internal.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + } + ] + }, + { + "name": "set_value_n", + "file": "meos_internal.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + }, + { + "name": "n", + "cType": "int", + "canonical": "int" + }, + { + "name": "result", + "cType": "Datum *", + "canonical": "int ((*)(int *))()" + } + ] + }, + { + "name": "set_vals", + "file": "meos_internal.h", + "returnType": { + "c": "Datum *", + "canonical": "int ((*)(int *))()" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + } + ] + }, + { + "name": "set_values", + "file": "meos_internal.h", + "returnType": { + "c": "Datum *", + "canonical": "int ((*)(int *))()" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + } + ] + }, + { + "name": "spanset_lower", + "file": "meos_internal.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" + } + ] + }, + { + "name": "spanset_mem_size", + "file": "meos_internal.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" + } + ] + }, + { + "name": "spanset_sps", + "file": "meos_internal.h", + "returnType": { + "c": "const Span **", + "canonical": "const struct Span **" + }, + "params": [ + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" + } + ] + }, + { + "name": "spanset_upper", + "file": "meos_internal.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" + } + ] + }, + { + "name": "bigintspan_set_floatspan", + "file": "meos_internal.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "s1", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "s2", + "cType": "Span *", + "canonical": "struct Span *" + } + ] + }, + { + "name": "bigintspan_set_intspan", + "file": "meos_internal.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "s1", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "s2", + "cType": "Span *", + "canonical": "struct Span *" + } + ] + }, + { + "name": "datespan_set_tstzspan", + "file": "meos_internal.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "s1", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "s2", + "cType": "Span *", + "canonical": "struct Span *" + } + ] + }, + { + "name": "floatspan_set_bigintspan", + "file": "meos_internal.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "s1", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "s2", + "cType": "Span *", + "canonical": "struct Span *" + } + ] + }, + { + "name": "floatspan_set_intspan", + "file": "meos_internal.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "s1", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "s2", + "cType": "Span *", + "canonical": "struct Span *" + } + ] + }, + { + "name": "intspan_set_bigintspan", + "file": "meos_internal.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "s1", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "s2", + "cType": "Span *", + "canonical": "struct Span *" + } + ] + }, + { + "name": "intspan_set_floatspan", + "file": "meos_internal.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "s1", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "s2", + "cType": "Span *", + "canonical": "struct Span *" + } + ] + }, + { + "name": "numset_shift_scale", + "file": "meos_internal.h", + "returnType": { + "c": "Set *", + "canonical": "Set *" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + }, + { + "name": "shift", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "width", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "hasshift", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "haswidth", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "numspan_expand", + "file": "meos_internal.h", + "returnType": { + "c": "Span *", + "canonical": "struct Span *" + }, + "params": [ + { + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "numspan_shift_scale", + "file": "meos_internal.h", + "returnType": { + "c": "Span *", + "canonical": "struct Span *" + }, + "params": [ + { + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "shift", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "width", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "hasshift", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "haswidth", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "numspanset_shift_scale", + "file": "meos_internal.h", + "returnType": { + "c": "SpanSet *", + "canonical": "struct SpanSet *" + }, + "params": [ + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" + }, + { + "name": "shift", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "width", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "hasshift", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "haswidth", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "set_compact", + "file": "meos_internal.h", + "returnType": { + "c": "Set *", + "canonical": "Set *" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + } + ] + }, + { + "name": "span_expand", + "file": "meos_internal.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "s1", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "s2", + "cType": "Span *", + "canonical": "struct Span *" + } + ] + }, + { + "name": "spanset_compact", + "file": "meos_internal.h", + "returnType": { + "c": "SpanSet *", + "canonical": "struct SpanSet *" + }, + "params": [ + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" + } + ] + }, + { + "name": "tbox_expand_value", + "file": "meos_internal.h", + "returnType": { + "c": "TBox *", + "canonical": "struct TBox *" + }, + "params": [ + { + "name": "box", + "cType": "const TBox *", + "canonical": "const struct TBox *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "basetyp", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "textcat_textset_text_common", + "file": "meos_internal.h", + "returnType": { + "c": "Set *", + "canonical": "Set *" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + }, + { + "name": "txt", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "invert", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tstzspan_set_datespan", + "file": "meos_internal.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "s1", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "s2", + "cType": "Span *", + "canonical": "struct Span *" + } + ] + }, + { + "name": "adjacent_span_value", + "file": "meos_internal.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "adjacent_spanset_value", + "file": "meos_internal.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "adjacent_value_spanset", + "file": "meos_internal.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" + } + ] + }, + { + "name": "contained_value_set", + "file": "meos_internal.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + } + ] + }, + { + "name": "contained_value_span", + "file": "meos_internal.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" + } + ] + }, + { + "name": "contained_value_spanset", + "file": "meos_internal.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" + } + ] + }, + { + "name": "contains_set_value", + "file": "meos_internal.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "contains_span_value", + "file": "meos_internal.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "contains_spanset_value", + "file": "meos_internal.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "ovadj_span_span", + "file": "meos_internal.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "s1", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "s2", + "cType": "const Span *", + "canonical": "const struct Span *" + } + ] + }, + { + "name": "left_set_value", + "file": "meos_internal.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "left_span_value", + "file": "meos_internal.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "left_spanset_value", + "file": "meos_internal.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "left_value_set", + "file": "meos_internal.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + } + ] + }, + { + "name": "left_value_span", + "file": "meos_internal.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" + } + ] + }, + { + "name": "left_value_spanset", + "file": "meos_internal.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" + } + ] + }, + { + "name": "lfnadj_span_span", + "file": "meos_internal.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "s1", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "s2", + "cType": "const Span *", + "canonical": "const struct Span *" + } + ] + }, + { + "name": "overleft_set_value", + "file": "meos_internal.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "overleft_span_value", + "file": "meos_internal.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "overleft_spanset_value", + "file": "meos_internal.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "overleft_value_set", + "file": "meos_internal.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + } + ] + }, + { + "name": "overleft_value_span", + "file": "meos_internal.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" + } + ] + }, + { + "name": "overleft_value_spanset", + "file": "meos_internal.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" + } + ] + }, + { + "name": "overright_set_value", + "file": "meos_internal.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "overright_span_value", + "file": "meos_internal.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "overright_spanset_value", + "file": "meos_internal.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "overright_value_set", + "file": "meos_internal.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + } + ] + }, + { + "name": "overright_value_span", + "file": "meos_internal.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" + } + ] + }, + { + "name": "overright_value_spanset", + "file": "meos_internal.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" + } + ] + }, + { + "name": "right_value_set", + "file": "meos_internal.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + } + ] + }, + { + "name": "right_set_value", + "file": "meos_internal.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "right_value_span", + "file": "meos_internal.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" + } + ] + }, + { + "name": "right_value_spanset", + "file": "meos_internal.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" + } + ] + }, + { + "name": "right_span_value", + "file": "meos_internal.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "right_spanset_value", + "file": "meos_internal.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "bbox_type", + "file": "meos_internal.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "bboxtype", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "bbox_get_size", + "file": "meos_internal.h", + "returnType": { + "c": "size_t", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "bboxtype", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "bbox_max_dims", + "file": "meos_internal.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "bboxtype", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "temporal_bbox_eq", + "file": "meos_internal.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "box1", + "cType": "const void *", + "canonical": "const void *" + }, + { + "name": "box2", + "cType": "const void *", + "canonical": "const void *" + }, + { + "name": "temptype", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "temporal_bbox_cmp", + "file": "meos_internal.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "box1", + "cType": "const void *", + "canonical": "const void *" + }, + { + "name": "box2", + "cType": "const void *", + "canonical": "const void *" + }, + { + "name": "temptype", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "bbox_union_span_span", + "file": "meos_internal.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "s1", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "s2", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "result", + "cType": "Span *", + "canonical": "struct Span *" + } + ] + }, + { + "name": "inter_span_span", + "file": "meos_internal.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "s1", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "s2", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "result", + "cType": "Span *", + "canonical": "struct Span *" + } + ] + }, + { + "name": "intersection_set_value", + "file": "meos_internal.h", + "returnType": { + "c": "Set *", + "canonical": "Set *" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "intersection_span_value", + "file": "meos_internal.h", + "returnType": { + "c": "Span *", + "canonical": "struct Span *" + }, + "params": [ + { + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "intersection_spanset_value", + "file": "meos_internal.h", + "returnType": { + "c": "SpanSet *", + "canonical": "struct SpanSet *" + }, + "params": [ + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "intersection_value_set", + "file": "meos_internal.h", + "returnType": { + "c": "Set *", + "canonical": "Set *" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + } + ] + }, + { + "name": "intersection_value_span", + "file": "meos_internal.h", + "returnType": { + "c": "Span *", + "canonical": "struct Span *" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" + } + ] + }, + { + "name": "intersection_value_spanset", + "file": "meos_internal.h", + "returnType": { + "c": "SpanSet *", + "canonical": "struct SpanSet *" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" + } + ] + }, + { + "name": "mi_span_span", + "file": "meos_internal.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "s1", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "s2", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "result", + "cType": "Span *", + "canonical": "struct Span *" + } + ] + }, + { + "name": "minus_set_value", + "file": "meos_internal.h", + "returnType": { + "c": "Set *", + "canonical": "Set *" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "minus_span_value", + "file": "meos_internal.h", + "returnType": { + "c": "SpanSet *", + "canonical": "struct SpanSet *" + }, + "params": [ + { + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "minus_spanset_value", + "file": "meos_internal.h", + "returnType": { + "c": "SpanSet *", + "canonical": "struct SpanSet *" + }, + "params": [ + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "minus_value_set", + "file": "meos_internal.h", + "returnType": { + "c": "Set *", + "canonical": "Set *" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + } + ] + }, + { + "name": "minus_value_span", + "file": "meos_internal.h", + "returnType": { + "c": "SpanSet *", + "canonical": "struct SpanSet *" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" + } + ] + }, + { + "name": "minus_value_spanset", + "file": "meos_internal.h", + "returnType": { + "c": "SpanSet *", + "canonical": "struct SpanSet *" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" + } + ] + }, + { + "name": "super_union_span_span", + "file": "meos_internal.h", + "returnType": { + "c": "Span *", + "canonical": "struct Span *" + }, + "params": [ + { + "name": "s1", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "s2", + "cType": "const Span *", + "canonical": "const struct Span *" + } + ] + }, + { + "name": "union_set_value", + "file": "meos_internal.h", + "returnType": { + "c": "Set *", + "canonical": "Set *" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "union_span_value", + "file": "meos_internal.h", + "returnType": { + "c": "SpanSet *", + "canonical": "struct SpanSet *" + }, + "params": [ + { + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "union_spanset_value", + "file": "meos_internal.h", + "returnType": { + "c": "SpanSet *", + "canonical": "struct SpanSet *" + }, + "params": [ + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "union_value_set", + "file": "meos_internal.h", + "returnType": { + "c": "Set *", + "canonical": "Set *" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + } + ] + }, + { + "name": "union_value_span", + "file": "meos_internal.h", + "returnType": { + "c": "SpanSet *", + "canonical": "struct SpanSet *" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" + } + ] + }, + { + "name": "union_value_spanset", + "file": "meos_internal.h", + "returnType": { + "c": "SpanSet *", + "canonical": "struct SpanSet *" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" + } + ] + }, + { + "name": "distance_set_set", + "file": "meos_internal.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "s1", + "cType": "const Set *", + "canonical": "const Set *" + }, + { + "name": "s2", + "cType": "const Set *", + "canonical": "const Set *" + } + ] + }, + { + "name": "distance_set_value", + "file": "meos_internal.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "distance_span_span", + "file": "meos_internal.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "s1", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "s2", + "cType": "const Span *", + "canonical": "const struct Span *" + } + ] + }, + { + "name": "distance_span_value", + "file": "meos_internal.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "distance_spanset_span", + "file": "meos_internal.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" + }, + { + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" + } + ] + }, + { + "name": "distance_spanset_spanset", + "file": "meos_internal.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "ss1", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" + }, + { + "name": "ss2", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" + } + ] + }, + { + "name": "distance_spanset_value", + "file": "meos_internal.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "distance_value_value", + "file": "meos_internal.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "l", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "r", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "basetype", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "spanbase_extent_transfn", + "file": "meos_internal.h", + "returnType": { + "c": "Span *", + "canonical": "struct Span *" + }, + "params": [ + { + "name": "state", + "cType": "Span *", + "canonical": "struct Span *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "basetype", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "value_union_transfn", + "file": "meos_internal.h", + "returnType": { + "c": "Set *", + "canonical": "Set *" + }, + "params": [ + { + "name": "state", + "cType": "Set *", + "canonical": "Set *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "basetype", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "number_tstzspan_to_tbox", + "file": "meos_internal.h", + "returnType": { + "c": "TBox *", + "canonical": "struct TBox *" + }, + "params": [ + { + "name": "d", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "basetype", + "cType": "int", + "canonical": "int" + }, + { + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" + } + ] + }, + { + "name": "number_timestamptz_to_tbox", + "file": "meos_internal.h", + "returnType": { + "c": "TBox *", + "canonical": "struct TBox *" + }, + "params": [ + { + "name": "d", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "basetype", + "cType": "int", + "canonical": "int" + }, + { + "name": "t", + "cType": "TimestampTz", + "canonical": "long" + } + ] + }, + { + "name": "tbox_set", + "file": "meos_internal.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "p", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "box", + "cType": "TBox *", + "canonical": "struct TBox *" + } + ] + }, + { + "name": "float_set_tbox", + "file": "meos_internal.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "d", + "cType": "double", + "canonical": "double" + }, + { + "name": "box", + "cType": "TBox *", + "canonical": "struct TBox *" + } + ] + }, + { + "name": "int_set_tbox", + "file": "meos_internal.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "i", + "cType": "int", + "canonical": "int" + }, + { + "name": "box", + "cType": "TBox *", + "canonical": "struct TBox *" + } + ] + }, + { + "name": "number_set_tbox", + "file": "meos_internal.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "d", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "basetype", + "cType": "int", + "canonical": "int" + }, + { + "name": "box", + "cType": "TBox *", + "canonical": "struct TBox *" + } + ] + }, + { + "name": "number_tbox", + "file": "meos_internal.h", + "returnType": { + "c": "TBox *", + "canonical": "struct TBox *" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "basetype", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "numset_set_tbox", + "file": "meos_internal.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + }, + { + "name": "box", + "cType": "TBox *", + "canonical": "struct TBox *" + } + ] + }, + { + "name": "numspan_set_tbox", + "file": "meos_internal.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "span", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "box", + "cType": "TBox *", + "canonical": "struct TBox *" + } + ] + }, + { + "name": "timestamptz_set_tbox", + "file": "meos_internal.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "t", + "cType": "TimestampTz", + "canonical": "long" + }, + { + "name": "box", + "cType": "TBox *", + "canonical": "struct TBox *" + } + ] + }, + { + "name": "tstzset_set_tbox", + "file": "meos_internal.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + }, + { + "name": "box", + "cType": "TBox *", + "canonical": "struct TBox *" + } + ] + }, + { + "name": "tstzspan_set_tbox", + "file": "meos_internal.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "box", + "cType": "TBox *", + "canonical": "struct TBox *" + } + ] + }, + { + "name": "tbox_shift_scale_value", + "file": "meos_internal.h", + "returnType": { + "c": "TBox *", + "canonical": "struct TBox *" + }, + "params": [ + { + "name": "box", + "cType": "const TBox *", + "canonical": "const struct TBox *" + }, + { + "name": "shift", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "width", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "hasshift", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "haswidth", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tbox_expand", + "file": "meos_internal.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "box1", + "cType": "const TBox *", + "canonical": "const struct TBox *" + }, + { + "name": "box2", + "cType": "TBox *", + "canonical": "struct TBox *" + } + ] + }, + { + "name": "inter_tbox_tbox", + "file": "meos_internal.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "box1", + "cType": "const TBox *", + "canonical": "const struct TBox *" + }, + { + "name": "box2", + "cType": "const TBox *", + "canonical": "const struct TBox *" + }, + { + "name": "result", + "cType": "TBox *", + "canonical": "struct TBox *" + } + ] + }, + { + "name": "tboolinst_from_mfjson", + "file": "meos_internal.h", + "returnType": { + "c": "TInstant *", + "canonical": "struct TInstant *" + }, + "params": [ + { + "name": "mfjson", + "cType": "json_object *", + "canonical": "struct json_object *" + } + ] + }, + { + "name": "tboolinst_in", + "file": "meos_internal.h", + "returnType": { + "c": "TInstant *", + "canonical": "struct TInstant *" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "tboolseq_from_mfjson", + "file": "meos_internal.h", + "returnType": { + "c": "TSequence *", + "canonical": "struct TSequence *" + }, + "params": [ + { + "name": "mfjson", + "cType": "json_object *", + "canonical": "struct json_object *" + } + ] + }, + { + "name": "tboolseq_in", + "file": "meos_internal.h", + "returnType": { + "c": "TSequence *", + "canonical": "struct TSequence *" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + }, + { + "name": "interp", + "cType": "interpType", + "canonical": "interpType" + } + ] + }, + { + "name": "tboolseqset_from_mfjson", + "file": "meos_internal.h", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + "params": [ + { + "name": "mfjson", + "cType": "json_object *", + "canonical": "struct json_object *" + } + ] + }, + { + "name": "tboolseqset_in", + "file": "meos_internal.h", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "temporal_in", + "file": "meos_internal.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + }, + { + "name": "temptype", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "temporal_out", + "file": "meos_internal.h", + "returnType": { + "c": "char *", + "canonical": "char *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "maxdd", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "temparr_out", + "file": "meos_internal.h", + "returnType": { + "c": "char **", + "canonical": "char **" + }, + "params": [ + { + "name": "temparr", + "cType": "Temporal **", + "canonical": "Temporal **" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + }, + { + "name": "maxdd", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "tfloatinst_from_mfjson", + "file": "meos_internal.h", + "returnType": { + "c": "TInstant *", + "canonical": "struct TInstant *" + }, + "params": [ + { + "name": "mfjson", + "cType": "json_object *", + "canonical": "struct json_object *" + } + ] + }, + { + "name": "tfloatinst_in", + "file": "meos_internal.h", + "returnType": { + "c": "TInstant *", + "canonical": "struct TInstant *" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "tfloatseq_from_mfjson", + "file": "meos_internal.h", + "returnType": { + "c": "TSequence *", + "canonical": "struct TSequence *" + }, + "params": [ + { + "name": "mfjson", + "cType": "json_object *", + "canonical": "struct json_object *" + }, + { + "name": "interp", + "cType": "interpType", + "canonical": "interpType" + } + ] + }, + { + "name": "tfloatseq_in", + "file": "meos_internal.h", + "returnType": { + "c": "TSequence *", + "canonical": "struct TSequence *" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + }, + { + "name": "interp", + "cType": "interpType", + "canonical": "interpType" + } + ] + }, + { + "name": "tfloatseqset_from_mfjson", + "file": "meos_internal.h", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + "params": [ + { + "name": "mfjson", + "cType": "json_object *", + "canonical": "struct json_object *" + }, + { + "name": "interp", + "cType": "interpType", + "canonical": "interpType" + } + ] + }, + { + "name": "tfloatseqset_in", + "file": "meos_internal.h", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "tinstant_from_mfjson", + "file": "meos_internal.h", + "returnType": { + "c": "TInstant *", + "canonical": "struct TInstant *" + }, + "params": [ + { + "name": "mfjson", + "cType": "json_object *", + "canonical": "struct json_object *" + }, + { + "name": "spatial", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "srid", + "cType": "int32_t", + "canonical": "int" + }, + { + "name": "temptype", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "tinstant_in", + "file": "meos_internal.h", + "returnType": { + "c": "TInstant *", + "canonical": "struct TInstant *" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + }, + { + "name": "temptype", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "tinstant_out", + "file": "meos_internal.h", + "returnType": { + "c": "char *", + "canonical": "char *" + }, + "params": [ + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" + }, + { + "name": "maxdd", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "tintinst_from_mfjson", + "file": "meos_internal.h", + "returnType": { + "c": "TInstant *", + "canonical": "struct TInstant *" + }, + "params": [ + { + "name": "mfjson", + "cType": "json_object *", + "canonical": "struct json_object *" + } + ] + }, + { + "name": "tintinst_in", + "file": "meos_internal.h", + "returnType": { + "c": "TInstant *", + "canonical": "struct TInstant *" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "tintseq_from_mfjson", + "file": "meos_internal.h", + "returnType": { + "c": "TSequence *", + "canonical": "struct TSequence *" + }, + "params": [ + { + "name": "mfjson", + "cType": "json_object *", + "canonical": "struct json_object *" + } + ] + }, + { + "name": "tintseq_in", + "file": "meos_internal.h", + "returnType": { + "c": "TSequence *", + "canonical": "struct TSequence *" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + }, + { + "name": "interp", + "cType": "interpType", + "canonical": "interpType" + } + ] + }, + { + "name": "tintseqset_from_mfjson", + "file": "meos_internal.h", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + "params": [ + { + "name": "mfjson", + "cType": "json_object *", + "canonical": "struct json_object *" + } + ] + }, + { + "name": "tintseqset_in", + "file": "meos_internal.h", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "tsequence_from_mfjson", + "file": "meos_internal.h", + "returnType": { + "c": "TSequence *", + "canonical": "struct TSequence *" + }, + "params": [ + { + "name": "mfjson", + "cType": "json_object *", + "canonical": "struct json_object *" + }, + { + "name": "spatial", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "srid", + "cType": "int32_t", + "canonical": "int" + }, + { + "name": "temptype", + "cType": "int", + "canonical": "int" + }, + { + "name": "interp", + "cType": "interpType", + "canonical": "interpType" + } + ] + }, + { + "name": "tsequence_in", + "file": "meos_internal.h", + "returnType": { + "c": "TSequence *", + "canonical": "struct TSequence *" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + }, + { + "name": "temptype", + "cType": "int", + "canonical": "int" + }, + { + "name": "interp", + "cType": "interpType", + "canonical": "interpType" + } + ] + }, + { + "name": "tsequence_out", + "file": "meos_internal.h", + "returnType": { + "c": "char *", + "canonical": "char *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "maxdd", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "tsequenceset_from_mfjson", + "file": "meos_internal.h", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + "params": [ + { + "name": "mfjson", + "cType": "json_object *", + "canonical": "struct json_object *" + }, + { + "name": "spatial", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "srid", + "cType": "int32_t", + "canonical": "int" + }, + { + "name": "temptype", + "cType": "int", + "canonical": "int" + }, + { + "name": "interp", + "cType": "interpType", + "canonical": "interpType" + } + ] + }, + { + "name": "tsequenceset_in", + "file": "meos_internal.h", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + }, + { + "name": "temptype", + "cType": "int", + "canonical": "int" + }, + { + "name": "interp", + "cType": "interpType", + "canonical": "interpType" + } + ] + }, + { + "name": "tsequenceset_out", + "file": "meos_internal.h", + "returnType": { + "c": "char *", + "canonical": "char *" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + }, + { + "name": "maxdd", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "ttextinst_from_mfjson", + "file": "meos_internal.h", + "returnType": { + "c": "TInstant *", + "canonical": "struct TInstant *" + }, + "params": [ + { + "name": "mfjson", + "cType": "json_object *", + "canonical": "struct json_object *" + } + ] + }, + { + "name": "ttextinst_in", + "file": "meos_internal.h", + "returnType": { + "c": "TInstant *", + "canonical": "struct TInstant *" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "ttextseq_from_mfjson", + "file": "meos_internal.h", + "returnType": { + "c": "TSequence *", + "canonical": "struct TSequence *" + }, + "params": [ + { + "name": "mfjson", + "cType": "json_object *", + "canonical": "struct json_object *" + } + ] + }, + { + "name": "ttextseq_in", + "file": "meos_internal.h", + "returnType": { + "c": "TSequence *", + "canonical": "struct TSequence *" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + }, + { + "name": "interp", + "cType": "interpType", + "canonical": "interpType" + } + ] + }, + { + "name": "ttextseqset_from_mfjson", + "file": "meos_internal.h", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + "params": [ + { + "name": "mfjson", + "cType": "json_object *", + "canonical": "struct json_object *" + } + ] + }, + { + "name": "ttextseqset_in", + "file": "meos_internal.h", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "temporal_from_mfjson", + "file": "meos_internal.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "mfjson", + "cType": "const char *", + "canonical": "const char *" + }, + { + "name": "temptype", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "temporal_from_base_temp", + "file": "meos_internal.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "temptype", + "cType": "int", + "canonical": "int" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "tinstant_copy", + "file": "meos_internal.h", + "returnType": { + "c": "TInstant *", + "canonical": "struct TInstant *" + }, + "params": [ + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" + } + ] + }, + { + "name": "tinstant_make", + "file": "meos_internal.h", + "returnType": { + "c": "TInstant *", + "canonical": "struct TInstant *" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "temptype", + "cType": "int", + "canonical": "int" + }, + { + "name": "t", + "cType": "TimestampTz", + "canonical": "long" + } + ] + }, + { + "name": "tinstant_make_free", + "file": "meos_internal.h", + "returnType": { + "c": "TInstant *", + "canonical": "struct TInstant *" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "temptype", + "cType": "int", + "canonical": "int" + }, + { + "name": "t", + "cType": "TimestampTz", + "canonical": "long" + } + ] + }, + { + "name": "tsequence_copy", + "file": "meos_internal.h", + "returnType": { + "c": "TSequence *", + "canonical": "struct TSequence *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + } + ] + }, + { + "name": "tsequence_from_base_temp", + "file": "meos_internal.h", + "returnType": { + "c": "TSequence *", + "canonical": "struct TSequence *" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "temptype", + "cType": "int", + "canonical": "int" + }, + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + } + ] + }, + { + "name": "tsequence_from_base_tstzset", + "file": "meos_internal.h", + "returnType": { + "c": "TSequence *", + "canonical": "struct TSequence *" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "temptype", + "cType": "int", + "canonical": "int" + }, + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + } + ] + }, + { + "name": "tsequence_from_base_tstzspan", + "file": "meos_internal.h", + "returnType": { + "c": "TSequence *", + "canonical": "struct TSequence *" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "temptype", + "cType": "int", + "canonical": "int" + }, + { + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "interp", + "cType": "interpType", + "canonical": "interpType" + } + ] + }, + { + "name": "tsequence_make_exp", + "file": "meos_internal.h", + "returnType": { + "c": "TSequence *", + "canonical": "struct TSequence *" + }, + "params": [ + { + "name": "instants", + "cType": "TInstant **", + "canonical": "struct TInstant **" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + }, + { + "name": "maxcount", + "cType": "int", + "canonical": "int" + }, + { + "name": "lower_inc", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "upper_inc", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "interp", + "cType": "interpType", + "canonical": "interpType" + }, + { + "name": "normalize", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tsequence_make_free", + "file": "meos_internal.h", + "returnType": { + "c": "TSequence *", + "canonical": "struct TSequence *" + }, + "params": [ + { + "name": "instants", + "cType": "TInstant **", + "canonical": "struct TInstant **" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + }, + { + "name": "lower_inc", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "upper_inc", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "interp", + "cType": "interpType", + "canonical": "interpType" + }, + { + "name": "normalize", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tsequenceset_copy", + "file": "meos_internal.h", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + } + ] + }, + { + "name": "tseqsetarr_to_tseqset", + "file": "meos_internal.h", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + "params": [ + { + "name": "seqsets", + "cType": "TSequenceSet **", + "canonical": "struct TSequenceSet **" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + }, + { + "name": "totalseqs", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "tsequenceset_from_base_temp", + "file": "meos_internal.h", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "temptype", + "cType": "int", + "canonical": "int" + }, + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + } + ] + }, + { + "name": "tsequenceset_from_base_tstzspanset", + "file": "meos_internal.h", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "temptype", + "cType": "int", + "canonical": "int" + }, + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" + }, + { + "name": "interp", + "cType": "interpType", + "canonical": "interpType" + } + ] + }, + { + "name": "tsequenceset_make_exp", + "file": "meos_internal.h", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + "params": [ + { + "name": "sequences", + "cType": "TSequence **", + "canonical": "struct TSequence **" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + }, + { + "name": "maxcount", + "cType": "int", + "canonical": "int" + }, + { + "name": "normalize", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tsequenceset_make_free", + "file": "meos_internal.h", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + "params": [ + { + "name": "sequences", + "cType": "TSequence **", + "canonical": "struct TSequence **" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + }, + { + "name": "normalize", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "temporal_set_tstzspan", + "file": "meos_internal.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "s", + "cType": "Span *", + "canonical": "struct Span *" + } + ] + }, + { + "name": "tinstant_set_tstzspan", + "file": "meos_internal.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" + }, + { + "name": "s", + "cType": "Span *", + "canonical": "struct Span *" + } + ] + }, + { + "name": "tnumber_set_tbox", + "file": "meos_internal.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "box", + "cType": "TBox *", + "canonical": "struct TBox *" + } + ] + }, + { + "name": "tnumberinst_set_tbox", + "file": "meos_internal.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" + }, + { + "name": "box", + "cType": "TBox *", + "canonical": "struct TBox *" + } + ] + }, + { + "name": "tnumberseq_set_tbox", + "file": "meos_internal.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "box", + "cType": "TBox *", + "canonical": "struct TBox *" + } + ] + }, + { + "name": "tnumberseqset_set_tbox", + "file": "meos_internal.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + }, + { + "name": "box", + "cType": "TBox *", + "canonical": "struct TBox *" + } + ] + }, + { + "name": "tsequence_set_tstzspan", + "file": "meos_internal.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "s", + "cType": "Span *", + "canonical": "struct Span *" + } + ] + }, + { + "name": "tsequenceset_set_tstzspan", + "file": "meos_internal.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + }, + { + "name": "s", + "cType": "Span *", + "canonical": "struct Span *" + } + ] + }, + { + "name": "temporal_end_inst", + "file": "meos_internal.h", + "returnType": { + "c": "const TInstant *", + "canonical": "const struct TInstant *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "temporal_end_value", + "file": "meos_internal.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "temporal_inst_n", + "file": "meos_internal.h", + "returnType": { + "c": "const TInstant *", + "canonical": "const struct TInstant *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "n", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "temporal_insts_p", + "file": "meos_internal.h", + "returnType": { + "c": "const TInstant **", + "canonical": "const struct TInstant **" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "temporal_max_inst_p", + "file": "meos_internal.h", + "returnType": { + "c": "const TInstant *", + "canonical": "const struct TInstant *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "temporal_max_value", + "file": "meos_internal.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "temporal_mem_size", + "file": "meos_internal.h", + "returnType": { + "c": "size_t", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "temporal_min_inst_p", + "file": "meos_internal.h", + "returnType": { + "c": "const TInstant *", + "canonical": "const struct TInstant *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "temporal_min_value", + "file": "meos_internal.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "temporal_sequences_p", + "file": "meos_internal.h", + "returnType": { + "c": "const TSequence **", + "canonical": "const struct TSequence **" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "temporal_set_bbox", + "file": "meos_internal.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "box", + "cType": "void *", + "canonical": "void *" + } + ] + }, + { + "name": "temporal_start_inst", + "file": "meos_internal.h", + "returnType": { + "c": "const TInstant *", + "canonical": "const struct TInstant *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "temporal_start_value", + "file": "meos_internal.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "temporal_values_p", + "file": "meos_internal.h", + "returnType": { + "c": "Datum *", + "canonical": "int ((*)(int *))()" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "temporal_value_n", + "file": "meos_internal.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "n", + "cType": "int", + "canonical": "int" + }, + { + "name": "result", + "cType": "Datum *", + "canonical": "int ((*)(int *))()" + } + ] + }, + { + "name": "temporal_values", + "file": "meos_internal.h", + "returnType": { + "c": "Datum *", + "canonical": "int ((*)(int *))()" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "tinstant_hash", + "file": "meos_internal.h", + "returnType": { + "c": "uint32", + "canonical": "unsigned int" + }, + "params": [ + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" + } + ] + }, + { + "name": "tinstant_insts", + "file": "meos_internal.h", + "returnType": { + "c": "const TInstant **", + "canonical": "const struct TInstant **" + }, + "params": [ + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "tinstant_set_bbox", + "file": "meos_internal.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" + }, + { + "name": "box", + "cType": "void *", + "canonical": "void *" + } + ] + }, + { + "name": "tinstant_time", + "file": "meos_internal.h", + "returnType": { + "c": "SpanSet *", + "canonical": "struct SpanSet *" + }, + "params": [ + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" + } + ] + }, + { + "name": "tinstant_timestamps", + "file": "meos_internal.h", + "returnType": { + "c": "TimestampTz *", + "canonical": "long *" + }, + "params": [ + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "tinstant_value_p", + "file": "meos_internal.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" + } + ] + }, + { + "name": "tinstant_value", + "file": "meos_internal.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" + } + ] + }, + { + "name": "tinstant_value_at_timestamptz", + "file": "meos_internal.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" + }, + { + "name": "t", + "cType": "TimestampTz", + "canonical": "long" + }, + { + "name": "result", + "cType": "Datum *", + "canonical": "int ((*)(int *))()" + } + ] + }, + { + "name": "tinstant_values_p", + "file": "meos_internal.h", + "returnType": { + "c": "Datum *", + "canonical": "int ((*)(int *))()" + }, + "params": [ + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "tnumber_set_span", + "file": "meos_internal.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "span", + "cType": "Span *", + "canonical": "struct Span *" + } + ] + }, + { + "name": "tnumberinst_valuespans", + "file": "meos_internal.h", + "returnType": { + "c": "SpanSet *", + "canonical": "struct SpanSet *" + }, + "params": [ + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" + } + ] + }, + { + "name": "tnumberseq_avg_val", + "file": "meos_internal.h", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + } + ] + }, + { + "name": "tnumberseq_valuespans", + "file": "meos_internal.h", + "returnType": { + "c": "SpanSet *", + "canonical": "struct SpanSet *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + } + ] + }, + { + "name": "tnumberseqset_avg_val", + "file": "meos_internal.h", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + } + ] + }, + { + "name": "tnumberseqset_valuespans", + "file": "meos_internal.h", + "returnType": { + "c": "SpanSet *", + "canonical": "struct SpanSet *" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + } + ] + }, + { + "name": "tsequence_duration", + "file": "meos_internal.h", + "returnType": { + "c": "int *", + "canonical": "int *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + } + ] + }, + { + "name": "tsequence_end_timestamptz", + "file": "meos_internal.h", + "returnType": { + "c": "TimestampTz", + "canonical": "long" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + } + ] + }, + { + "name": "tsequence_hash", + "file": "meos_internal.h", + "returnType": { + "c": "uint32", + "canonical": "unsigned int" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + } + ] + }, + { + "name": "tsequence_insts_p", + "file": "meos_internal.h", + "returnType": { + "c": "const TInstant **", + "canonical": "const struct TInstant **" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + } + ] + }, + { + "name": "tsequence_max_inst_p", + "file": "meos_internal.h", + "returnType": { + "c": "const TInstant *", + "canonical": "const struct TInstant *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + } + ] + }, + { + "name": "tsequence_max_val", + "file": "meos_internal.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + } + ] + }, + { + "name": "tsequence_min_inst_p", + "file": "meos_internal.h", + "returnType": { + "c": "const TInstant *", + "canonical": "const struct TInstant *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + } + ] + }, + { + "name": "tsequence_min_val", + "file": "meos_internal.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + } + ] + }, + { + "name": "tsequence_segments", + "file": "meos_internal.h", + "returnType": { + "c": "TSequence **", + "canonical": "struct TSequence **" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "tsequence_seqs", + "file": "meos_internal.h", + "returnType": { + "c": "const TSequence **", + "canonical": "const struct TSequence **" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "tsequence_start_timestamptz", + "file": "meos_internal.h", + "returnType": { + "c": "TimestampTz", + "canonical": "long" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + } + ] + }, + { + "name": "tsequence_time", + "file": "meos_internal.h", + "returnType": { + "c": "SpanSet *", + "canonical": "struct SpanSet *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + } + ] + }, + { + "name": "tsequence_timestamps", + "file": "meos_internal.h", + "returnType": { + "c": "TimestampTz *", + "canonical": "long *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "tsequence_value_at_timestamptz", + "file": "meos_internal.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "t", + "cType": "TimestampTz", + "canonical": "long" + }, + { + "name": "strict", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "result", + "cType": "Datum *", + "canonical": "int ((*)(int *))()" + } + ] + }, + { + "name": "tsequence_values_p", + "file": "meos_internal.h", + "returnType": { + "c": "Datum *", + "canonical": "int ((*)(int *))()" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "tsequenceset_duration", + "file": "meos_internal.h", + "returnType": { + "c": "int *", + "canonical": "int *" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + }, + { + "name": "boundspan", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tsequenceset_end_timestamptz", + "file": "meos_internal.h", + "returnType": { + "c": "TimestampTz", + "canonical": "long" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + } + ] + }, + { + "name": "tsequenceset_hash", + "file": "meos_internal.h", + "returnType": { + "c": "uint32", + "canonical": "unsigned int" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + } + ] + }, + { + "name": "tsequenceset_inst_n", + "file": "meos_internal.h", + "returnType": { + "c": "const TInstant *", + "canonical": "const struct TInstant *" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + }, + { + "name": "n", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "tsequenceset_insts_p", + "file": "meos_internal.h", + "returnType": { + "c": "const TInstant **", + "canonical": "const struct TInstant **" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + } + ] + }, + { + "name": "tsequenceset_max_inst_p", + "file": "meos_internal.h", + "returnType": { + "c": "const TInstant *", + "canonical": "const struct TInstant *" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + } + ] + }, + { + "name": "tsequenceset_max_val", + "file": "meos_internal.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + } + ] + }, + { + "name": "tsequenceset_min_inst_p", + "file": "meos_internal.h", + "returnType": { + "c": "const TInstant *", + "canonical": "const struct TInstant *" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + } + ] + }, + { + "name": "tsequenceset_min_val", + "file": "meos_internal.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + } + ] + }, + { + "name": "tsequenceset_num_instants", + "file": "meos_internal.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + } + ] + }, + { + "name": "tsequenceset_num_timestamps", + "file": "meos_internal.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + } + ] + }, + { + "name": "tsequenceset_segments", + "file": "meos_internal.h", + "returnType": { + "c": "TSequence **", + "canonical": "struct TSequence **" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "tsequenceset_sequences_p", + "file": "meos_internal.h", + "returnType": { + "c": "const TSequence **", + "canonical": "const struct TSequence **" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + } + ] + }, + { + "name": "tsequenceset_start_timestamptz", + "file": "meos_internal.h", + "returnType": { + "c": "TimestampTz", + "canonical": "long" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + } + ] + }, + { + "name": "tsequenceset_time", + "file": "meos_internal.h", + "returnType": { + "c": "SpanSet *", + "canonical": "struct SpanSet *" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + } + ] + }, + { + "name": "tsequenceset_timestamptz_n", + "file": "meos_internal.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + }, + { + "name": "n", + "cType": "int", + "canonical": "int" + }, + { + "name": "result", + "cType": "TimestampTz *", + "canonical": "long *" + } + ] + }, + { + "name": "tsequenceset_timestamps", + "file": "meos_internal.h", + "returnType": { + "c": "TimestampTz *", + "canonical": "long *" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "tsequenceset_value_at_timestamptz", + "file": "meos_internal.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + }, + { + "name": "t", + "cType": "TimestampTz", + "canonical": "long" + }, + { + "name": "strict", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "result", + "cType": "Datum *", + "canonical": "int ((*)(int *))()" + } + ] + }, + { + "name": "tsequenceset_value_n", + "file": "meos_internal.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + }, + { + "name": "n", + "cType": "int", + "canonical": "int" + }, + { + "name": "result", + "cType": "Datum *", + "canonical": "int ((*)(int *))()" + } + ] + }, + { + "name": "tsequenceset_values_p", + "file": "meos_internal.h", + "returnType": { + "c": "Datum *", + "canonical": "int ((*)(int *))()" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "temporal_restart", + "file": "meos_internal.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "temp", + "cType": "Temporal *", + "canonical": "Temporal *" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "temporal_tsequence", + "file": "meos_internal.h", + "returnType": { + "c": "TSequence *", + "canonical": "struct TSequence *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "interp", + "cType": "interpType", + "canonical": "interpType" + } + ] + }, + { + "name": "temporal_tsequenceset", + "file": "meos_internal.h", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "interp", + "cType": "interpType", + "canonical": "interpType" + } + ] + }, + { + "name": "tinstant_shift_time", + "file": "meos_internal.h", + "returnType": { + "c": "TInstant *", + "canonical": "struct TInstant *" + }, + "params": [ + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" + }, + { + "name": "interv", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "tinstant_to_tsequence", + "file": "meos_internal.h", + "returnType": { + "c": "TSequence *", + "canonical": "struct TSequence *" + }, + "params": [ + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" + }, + { + "name": "interp", + "cType": "interpType", + "canonical": "interpType" + } + ] + }, + { + "name": "tinstant_to_tsequence_free", + "file": "meos_internal.h", + "returnType": { + "c": "TSequence *", + "canonical": "struct TSequence *" + }, + "params": [ + { + "name": "inst", + "cType": "TInstant *", + "canonical": "struct TInstant *" + }, + { + "name": "interp", + "cType": "interpType", + "canonical": "interpType" + } + ] + }, + { + "name": "tinstant_to_tsequenceset", + "file": "meos_internal.h", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + "params": [ + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" + }, + { + "name": "interp", + "cType": "interpType", + "canonical": "interpType" + } + ] + }, + { + "name": "tnumber_shift_scale_value", + "file": "meos_internal.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "shift", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "width", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "hasshift", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "haswidth", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tnumberinst_shift_value", + "file": "meos_internal.h", + "returnType": { + "c": "TInstant *", + "canonical": "struct TInstant *" + }, + "params": [ + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" + }, + { + "name": "shift", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "tnumberseq_shift_scale_value", + "file": "meos_internal.h", + "returnType": { + "c": "TSequence *", + "canonical": "struct TSequence *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "shift", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "width", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "hasshift", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "haswidth", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tnumberseqset_shift_scale_value", + "file": "meos_internal.h", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + }, + { + "name": "start", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "width", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "hasshift", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "haswidth", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tsequence_restart", + "file": "meos_internal.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "seq", + "cType": "TSequence *", + "canonical": "struct TSequence *" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "tsequence_set_interp", + "file": "meos_internal.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "interp", + "cType": "interpType", + "canonical": "interpType" + } + ] + }, + { + "name": "tsequence_shift_scale_time", + "file": "meos_internal.h", + "returnType": { + "c": "TSequence *", + "canonical": "struct TSequence *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "shift", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "duration", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "tsequence_subseq", + "file": "meos_internal.h", + "returnType": { + "c": "TSequence *", + "canonical": "struct TSequence *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "from", + "cType": "int", + "canonical": "int" + }, + { + "name": "to", + "cType": "int", + "canonical": "int" + }, + { + "name": "lower_inc", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "upper_inc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tsequence_to_tinstant", + "file": "meos_internal.h", + "returnType": { + "c": "TInstant *", + "canonical": "struct TInstant *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + } + ] + }, + { + "name": "tsequence_to_tsequenceset", + "file": "meos_internal.h", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + } + ] + }, + { + "name": "tsequence_to_tsequenceset_free", + "file": "meos_internal.h", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + "params": [ + { + "name": "seq", + "cType": "TSequence *", + "canonical": "struct TSequence *" + } + ] + }, + { + "name": "tsequence_to_tsequenceset_interp", + "file": "meos_internal.h", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "interp", + "cType": "interpType", + "canonical": "interpType" + } + ] + }, + { + "name": "tsequenceset_restart", + "file": "meos_internal.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "ss", + "cType": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "tsequenceset_set_interp", + "file": "meos_internal.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + }, + { + "name": "interp", + "cType": "interpType", + "canonical": "interpType" + } + ] + }, + { + "name": "tsequenceset_shift_scale_time", + "file": "meos_internal.h", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + }, + { + "name": "start", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "duration", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "tsequenceset_to_discrete", + "file": "meos_internal.h", + "returnType": { + "c": "TSequence *", + "canonical": "struct TSequence *" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + } + ] + }, + { + "name": "tsequenceset_to_linear", + "file": "meos_internal.h", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + } + ] + }, + { + "name": "tsequenceset_to_step", + "file": "meos_internal.h", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + } + ] + }, + { + "name": "tsequenceset_to_tinstant", + "file": "meos_internal.h", + "returnType": { + "c": "TInstant *", + "canonical": "struct TInstant *" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + } + ] + }, + { + "name": "tsequenceset_to_tsequence", + "file": "meos_internal.h", + "returnType": { + "c": "TSequence *", + "canonical": "struct TSequence *" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + } + ] + }, + { + "name": "tinstant_merge", + "file": "meos_internal.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "inst1", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" + }, + { + "name": "inst2", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" + } + ] + }, + { + "name": "tinstant_merge_array", + "file": "meos_internal.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "instants", + "cType": "TInstant **", + "canonical": "struct TInstant **" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "tsequence_append_tinstant", + "file": "meos_internal.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "seq", + "cType": "TSequence *", + "canonical": "struct TSequence *" + }, + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" + }, + { + "name": "maxdist", + "cType": "double", + "canonical": "double" + }, + { + "name": "maxt", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "expand", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tsequence_append_tsequence", + "file": "meos_internal.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "seq1", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "seq2", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "expand", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tsequence_delete_timestamptz", + "file": "meos_internal.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "t", + "cType": "TimestampTz", + "canonical": "long" + }, + { + "name": "connect", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tsequence_delete_tstzset", + "file": "meos_internal.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + }, + { + "name": "connect", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tsequence_delete_tstzspan", + "file": "meos_internal.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "connect", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tsequence_delete_tstzspanset", + "file": "meos_internal.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" + }, + { + "name": "connect", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tsequence_insert", + "file": "meos_internal.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "seq1", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "seq2", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "connect", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tsequence_merge", + "file": "meos_internal.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "seq1", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "seq2", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + } + ] + }, + { + "name": "tsequence_merge_array", + "file": "meos_internal.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "sequences", + "cType": "TSequence **", + "canonical": "struct TSequence **" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "tsequenceset_append_tinstant", + "file": "meos_internal.h", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + "params": [ + { + "name": "ss", + "cType": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" + }, + { + "name": "maxdist", + "cType": "double", + "canonical": "double" + }, + { + "name": "maxt", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "expand", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tsequenceset_append_tsequence", + "file": "meos_internal.h", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + "params": [ + { + "name": "ss", + "cType": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "expand", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tsequenceset_delete_timestamptz", + "file": "meos_internal.h", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + }, + { + "name": "t", + "cType": "TimestampTz", + "canonical": "long" + } + ] + }, + { + "name": "tsequenceset_delete_tstzset", + "file": "meos_internal.h", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + }, + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + } + ] + }, + { + "name": "tsequenceset_delete_tstzspan", + "file": "meos_internal.h", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + }, + { + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" + } + ] + }, + { + "name": "tsequenceset_delete_tstzspanset", + "file": "meos_internal.h", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + }, + { + "name": "ps", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" + } + ] + }, + { + "name": "tsequenceset_insert", + "file": "meos_internal.h", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + "params": [ + { + "name": "ss1", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + }, + { + "name": "ss2", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + } + ] + }, + { + "name": "tsequenceset_merge", + "file": "meos_internal.h", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + "params": [ + { + "name": "ss1", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + }, + { + "name": "ss2", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + } + ] + }, + { + "name": "tsequenceset_merge_array", + "file": "meos_internal.h", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + "params": [ + { + "name": "seqsets", + "cType": "TSequenceSet **", + "canonical": "struct TSequenceSet **" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "tsequence_expand_bbox", + "file": "meos_internal.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "seq", + "cType": "TSequence *", + "canonical": "struct TSequence *" + }, + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" + } + ] + }, + { + "name": "tsequence_set_bbox", + "file": "meos_internal.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "box", + "cType": "void *", + "canonical": "void *" + } + ] + }, + { + "name": "tsequenceset_expand_bbox", + "file": "meos_internal.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "ss", + "cType": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + } + ] + }, + { + "name": "tsequenceset_set_bbox", + "file": "meos_internal.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + }, + { + "name": "box", + "cType": "void *", + "canonical": "void *" + } + ] + }, + { + "name": "tcontseq_after_timestamptz", + "file": "meos_internal.h", + "returnType": { + "c": "TSequence *", + "canonical": "struct TSequence *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "t", + "cType": "TimestampTz", + "canonical": "long" + }, + { + "name": "strict", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tcontseq_before_timestamptz", + "file": "meos_internal.h", + "returnType": { + "c": "TSequence *", + "canonical": "struct TSequence *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "t", + "cType": "TimestampTz", + "canonical": "long" + }, + { + "name": "strict", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tcontseq_restrict_minmax", + "file": "meos_internal.h", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "min", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tdiscseq_after_timestamptz", + "file": "meos_internal.h", + "returnType": { + "c": "TSequence *", + "canonical": "struct TSequence *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "t", + "cType": "TimestampTz", + "canonical": "long" + }, + { + "name": "strict", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tdiscseq_before_timestamptz", + "file": "meos_internal.h", + "returnType": { + "c": "TSequence *", + "canonical": "struct TSequence *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "t", + "cType": "TimestampTz", + "canonical": "long" + }, + { + "name": "strict", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tdiscseq_restrict_minmax", + "file": "meos_internal.h", + "returnType": { + "c": "TSequence *", + "canonical": "struct TSequence *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "min", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "temporal_bbox_restrict_set", + "file": "meos_internal.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "set", + "cType": "const Set *", + "canonical": "const Set *" + } + ] + }, + { + "name": "temporal_restrict_minmax", + "file": "meos_internal.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "min", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "temporal_restrict_timestamptz", + "file": "meos_internal.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "t", + "cType": "TimestampTz", + "canonical": "long" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "temporal_restrict_tstzset", + "file": "meos_internal.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "temporal_restrict_tstzspan", + "file": "meos_internal.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "temporal_restrict_tstzspanset", + "file": "meos_internal.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "temporal_restrict_value", + "file": "meos_internal.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "temporal_restrict_values", + "file": "meos_internal.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "set", + "cType": "const Set *", + "canonical": "const Set *" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "temporal_value_at_timestamptz", + "file": "meos_internal.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "t", + "cType": "TimestampTz", + "canonical": "long" + }, + { + "name": "strict", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "result", + "cType": "Datum *", + "canonical": "int ((*)(int *))()" + } + ] + }, + { + "name": "tinstant_after_timestamptz", + "file": "meos_internal.h", + "returnType": { + "c": "TInstant *", + "canonical": "struct TInstant *" + }, + "params": [ + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" + }, + { + "name": "t", + "cType": "TimestampTz", + "canonical": "long" + }, + { + "name": "strict", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tinstant_before_timestamptz", + "file": "meos_internal.h", + "returnType": { + "c": "TInstant *", + "canonical": "struct TInstant *" + }, + "params": [ + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" + }, + { + "name": "t", + "cType": "TimestampTz", + "canonical": "long" + }, + { + "name": "strict", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tinstant_restrict_tstzspan", + "file": "meos_internal.h", + "returnType": { + "c": "TInstant *", + "canonical": "struct TInstant *" + }, + "params": [ + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" + }, + { + "name": "period", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tinstant_restrict_tstzspanset", + "file": "meos_internal.h", + "returnType": { + "c": "TInstant *", + "canonical": "struct TInstant *" + }, + "params": [ + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" + }, + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tinstant_restrict_timestamptz", + "file": "meos_internal.h", + "returnType": { + "c": "TInstant *", + "canonical": "struct TInstant *" + }, + "params": [ + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" + }, + { + "name": "t", + "cType": "TimestampTz", + "canonical": "long" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tinstant_restrict_tstzset", + "file": "meos_internal.h", + "returnType": { + "c": "TInstant *", + "canonical": "struct TInstant *" + }, + "params": [ + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" + }, + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tinstant_restrict_value", + "file": "meos_internal.h", + "returnType": { + "c": "TInstant *", + "canonical": "struct TInstant *" + }, + "params": [ + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tinstant_restrict_values", + "file": "meos_internal.h", + "returnType": { + "c": "TInstant *", + "canonical": "struct TInstant *" + }, + "params": [ + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" + }, + { + "name": "set", + "cType": "const Set *", + "canonical": "const Set *" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tnumber_restrict_span", + "file": "meos_internal.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "span", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tnumber_restrict_spanset", + "file": "meos_internal.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tnumberinst_restrict_span", + "file": "meos_internal.h", + "returnType": { + "c": "TInstant *", + "canonical": "struct TInstant *" + }, + "params": [ + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" + }, + { + "name": "span", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tnumberinst_restrict_spanset", + "file": "meos_internal.h", + "returnType": { + "c": "TInstant *", + "canonical": "struct TInstant *" + }, + "params": [ + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" + }, + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tnumberseqset_restrict_span", + "file": "meos_internal.h", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + }, + { + "name": "span", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tnumberseqset_restrict_spanset", + "file": "meos_internal.h", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + }, + { + "name": "spanset", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tsequence_at_timestamptz", + "file": "meos_internal.h", + "returnType": { + "c": "TInstant *", + "canonical": "struct TInstant *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "t", + "cType": "TimestampTz", + "canonical": "long" + } + ] + }, + { + "name": "tsequence_restrict_tstzspan", + "file": "meos_internal.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tsequence_restrict_tstzspanset", + "file": "meos_internal.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tsequenceset_after_timestamptz", + "file": "meos_internal.h", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + }, + { + "name": "t", + "cType": "TimestampTz", + "canonical": "long" + }, + { + "name": "strict", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tsequenceset_before_timestamptz", + "file": "meos_internal.h", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + }, + { + "name": "t", + "cType": "TimestampTz", + "canonical": "long" + }, + { + "name": "strict", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tsequenceset_restrict_minmax", + "file": "meos_internal.h", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + }, + { + "name": "min", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tsequenceset_restrict_tstzspan", + "file": "meos_internal.h", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + }, + { + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tsequenceset_restrict_tstzspanset", + "file": "meos_internal.h", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + }, + { + "name": "ps", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tsequenceset_restrict_timestamptz", + "file": "meos_internal.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + }, + { + "name": "t", + "cType": "TimestampTz", + "canonical": "long" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tsequenceset_restrict_tstzset", + "file": "meos_internal.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + }, + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tsequenceset_restrict_value", + "file": "meos_internal.h", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tsequenceset_restrict_values", + "file": "meos_internal.h", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + }, + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tinstant_cmp", + "file": "meos_internal.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "inst1", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" + }, + { + "name": "inst2", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" + } + ] + }, + { + "name": "tinstant_eq", + "file": "meos_internal.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "inst1", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" + }, + { + "name": "inst2", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" + } + ] + }, + { + "name": "tsequence_cmp", + "file": "meos_internal.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "seq1", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "seq2", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + } + ] + }, + { + "name": "tsequence_eq", + "file": "meos_internal.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "seq1", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "seq2", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + } + ] + }, + { + "name": "tsequenceset_cmp", + "file": "meos_internal.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "ss1", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + }, + { + "name": "ss2", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + } + ] + }, + { + "name": "tsequenceset_eq", + "file": "meos_internal.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "ss1", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + }, + { + "name": "ss2", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + } + ] + }, + { + "name": "always_eq_base_temporal", + "file": "meos_internal.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "always_eq_temporal_base", + "file": "meos_internal.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "always_ne_base_temporal", + "file": "meos_internal.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "always_ne_temporal_base", + "file": "meos_internal.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "always_ge_base_temporal", + "file": "meos_internal.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "always_ge_temporal_base", + "file": "meos_internal.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "always_gt_base_temporal", + "file": "meos_internal.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "always_gt_temporal_base", + "file": "meos_internal.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "always_le_base_temporal", + "file": "meos_internal.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "always_le_temporal_base", + "file": "meos_internal.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "always_lt_base_temporal", + "file": "meos_internal.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "always_lt_temporal_base", + "file": "meos_internal.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "ever_eq_base_temporal", + "file": "meos_internal.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "ever_eq_temporal_base", + "file": "meos_internal.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "ever_ne_base_temporal", + "file": "meos_internal.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "ever_ne_temporal_base", + "file": "meos_internal.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "ever_ge_base_temporal", + "file": "meos_internal.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "ever_ge_temporal_base", + "file": "meos_internal.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "ever_gt_base_temporal", + "file": "meos_internal.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "ever_gt_temporal_base", + "file": "meos_internal.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "ever_le_base_temporal", + "file": "meos_internal.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "ever_le_temporal_base", + "file": "meos_internal.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "ever_lt_base_temporal", + "file": "meos_internal.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "ever_lt_temporal_base", + "file": "meos_internal.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "tnumberinst_abs", + "file": "meos_internal.h", + "returnType": { + "c": "TInstant *", + "canonical": "struct TInstant *" + }, + "params": [ + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" + } + ] + }, + { + "name": "tnumberseq_abs", + "file": "meos_internal.h", + "returnType": { + "c": "TSequence *", + "canonical": "struct TSequence *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + } + ] + }, + { + "name": "tnumberseq_angular_difference", + "file": "meos_internal.h", + "returnType": { + "c": "TSequence *", + "canonical": "struct TSequence *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + } + ] + }, + { + "name": "tnumberseq_delta_value", + "file": "meos_internal.h", + "returnType": { + "c": "TSequence *", + "canonical": "struct TSequence *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + } + ] + }, + { + "name": "tnumberseqset_abs", + "file": "meos_internal.h", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + } + ] + }, + { + "name": "tnumberseqset_angular_difference", + "file": "meos_internal.h", + "returnType": { + "c": "TSequence *", + "canonical": "struct TSequence *" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + } + ] + }, + { + "name": "tnumberseqset_delta_value", + "file": "meos_internal.h", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + } + ] + }, + { + "name": "distance_span_span_double", + "file": "meos_internal.h", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "s1", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "s2", + "cType": "const Span *", + "canonical": "const struct Span *" + } + ] + }, + { + "name": "nad_tbox_tbox", + "file": "meos_internal.h", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "box1", + "cType": "const TBox *", + "canonical": "const struct TBox *" + }, + { + "name": "box2", + "cType": "const TBox *", + "canonical": "const struct TBox *" + } + ] + }, + { + "name": "nad_tnumber_number", + "file": "meos_internal.h", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "nad_tnumber_tbox", + "file": "meos_internal.h", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "box", + "cType": "const TBox *", + "canonical": "const struct TBox *" + } + ] + }, + { + "name": "nad_tnumber_tnumber", + "file": "meos_internal.h", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "tdistance_tnumber_number", + "file": "meos_internal.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "tnumberinst_distance", + "file": "meos_internal.h", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "inst1", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" + }, + { + "name": "inst2", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" + } + ] + }, + { + "name": "tnumberseq_integral", + "file": "meos_internal.h", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + } + ] + }, + { + "name": "tnumberseq_twavg", + "file": "meos_internal.h", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + } + ] + }, + { + "name": "tnumberseqset_integral", + "file": "meos_internal.h", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + } + ] + }, + { + "name": "tnumberseqset_twavg", + "file": "meos_internal.h", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + } + ] + }, + { + "name": "temporal_compact", + "file": "meos_internal.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "tsequence_compact", + "file": "meos_internal.h", + "returnType": { + "c": "TSequence *", + "canonical": "struct TSequence *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + } + ] + }, + { + "name": "tsequenceset_compact", + "file": "meos_internal.h", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + } + ] + }, + { + "name": "temporal_skiplist_make", + "file": "meos_internal.h", + "returnType": { + "c": "SkipList *", + "canonical": "struct SkipList *" + }, + "params": [] + }, + { + "name": "skiplist_make", + "file": "meos_internal.h", + "returnType": { + "c": "SkipList *", + "canonical": "struct SkipList *" + }, + "params": [ + { + "name": "key_size", + "cType": "size_t", + "canonical": "unsigned long" + }, + { + "name": "value_size", + "cType": "size_t", + "canonical": "unsigned long" + }, + { + "name": "comp_fn", + "cType": "int (*)(void *, void *)", + "canonical": "int (*)(void *, void *)" + }, + { + "name": "merge_fn", + "cType": "void *(*)(void *, void *)", + "canonical": "void *(*)(void *, void *)" + } + ] + }, + { + "name": "skiplist_search", + "file": "meos_internal.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "list", + "cType": "SkipList *", + "canonical": "struct SkipList *" + }, + { + "name": "key", + "cType": "void *", + "canonical": "void *" + }, + { + "name": "value", + "cType": "void *", + "canonical": "void *" + } + ] + }, + { + "name": "skiplist_free", + "file": "meos_internal.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "list", + "cType": "SkipList *", + "canonical": "struct SkipList *" + } + ] + }, + { + "name": "skiplist_splice", + "file": "meos_internal.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "list", + "cType": "SkipList *", + "canonical": "struct SkipList *" + }, + { + "name": "keys", + "cType": "void **", + "canonical": "void **" + }, + { + "name": "values", + "cType": "void **", + "canonical": "void **" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + }, + { + "name": "func", + "cType": "datum_func2", + "canonical": "int (*)(int ((*)(int *))(), int ((*)(int *))())" + }, + { + "name": "crossings", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "sktype", + "cType": "SkipListType", + "canonical": "SkipListType" + } + ] + }, + { + "name": "temporal_skiplist_splice", + "file": "meos_internal.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "list", + "cType": "SkipList *", + "canonical": "struct SkipList *" + }, + { + "name": "values", + "cType": "void **", + "canonical": "void **" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + }, + { + "name": "func", + "cType": "datum_func2", + "canonical": "int (*)(int ((*)(int *))(), int ((*)(int *))())" + }, + { + "name": "crossings", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "skiplist_values", + "file": "meos_internal.h", + "returnType": { + "c": "void **", + "canonical": "void **" + }, + "params": [ + { + "name": "list", + "cType": "SkipList *", + "canonical": "struct SkipList *" + } + ] + }, + { + "name": "skiplist_keys_values", + "file": "meos_internal.h", + "returnType": { + "c": "void **", + "canonical": "void **" + }, + "params": [ + { + "name": "list", + "cType": "SkipList *", + "canonical": "struct SkipList *" + }, + { + "name": "values", + "cType": "void **", + "canonical": "void **" + } + ] + }, + { + "name": "temporal_app_tinst_transfn", + "file": "meos_internal.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "state", + "cType": "Temporal *", + "canonical": "Temporal *" + }, + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" + }, + { + "name": "interp", + "cType": "interpType", + "canonical": "interpType" + }, + { + "name": "maxdist", + "cType": "double", + "canonical": "double" + }, + { + "name": "maxt", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "temporal_app_tseq_transfn", + "file": "meos_internal.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "state", + "cType": "Temporal *", + "canonical": "Temporal *" + }, + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + } + ] + }, + { + "name": "span_bins", + "file": "meos_internal.h", + "returnType": { + "c": "Span *", + "canonical": "struct Span *" + }, + "params": [ + { + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "size", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "origin", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "spanset_bins", + "file": "meos_internal.h", + "returnType": { + "c": "Span *", + "canonical": "struct Span *" + }, + "params": [ + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" + }, + { + "name": "size", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "origin", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "tnumber_value_bins", + "file": "meos_internal.h", + "returnType": { + "c": "Span *", + "canonical": "struct Span *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "size", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "origin", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "tnumber_value_time_boxes", + "file": "meos_internal.h", + "returnType": { + "c": "TBox *", + "canonical": "struct TBox *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "vsize", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "duration", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "vorigin", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "torigin", + "cType": "TimestampTz", + "canonical": "long" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "tnumber_value_split", + "file": "meos_internal.h", + "returnType": { + "c": "Temporal **", + "canonical": "Temporal **" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "vsize", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "vorigin", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "bins", + "cType": "Datum **", + "canonical": "int ((**)(int *))()" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "tbox_get_value_time_tile", + "file": "meos_internal.h", + "returnType": { + "c": "TBox *", + "canonical": "struct TBox *" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "t", + "cType": "TimestampTz", + "canonical": "long" + }, + { + "name": "vsize", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "duration", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "vorigin", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "torigin", + "cType": "TimestampTz", + "canonical": "long" + }, + { + "name": "basetype", + "cType": "int", + "canonical": "int" + }, + { + "name": "spantype", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "tnumber_value_time_split", + "file": "meos_internal.h", + "returnType": { + "c": "Temporal **", + "canonical": "Temporal **" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "size", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "duration", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "vorigin", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "torigin", + "cType": "TimestampTz", + "canonical": "long" + }, + { + "name": "value_bins", + "cType": "Datum **", + "canonical": "int ((**)(int *))()" + }, + { + "name": "time_bins", + "cType": "TimestampTz **", + "canonical": "long **" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "proj_get_context", + "file": "meos_internal_geo.h", + "returnType": { + "c": "PJ_CONTEXT *", + "canonical": "struct pj_ctx *" + }, + "params": [] + }, + { + "name": "datum_geo_round", + "file": "meos_internal_geo.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "size", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "point_round", + "file": "meos_internal_geo.h", + "returnType": { + "c": "int *", + "canonical": "int *" + }, + "params": [ + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "maxdd", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "stbox_set", + "file": "meos_internal_geo.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "hasx", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "hasz", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "geodetic", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "srid", + "cType": "int32", + "canonical": "int" + }, + { + "name": "xmin", + "cType": "double", + "canonical": "double" + }, + { + "name": "xmax", + "cType": "double", + "canonical": "double" + }, + { + "name": "ymin", + "cType": "double", + "canonical": "double" + }, + { + "name": "ymax", + "cType": "double", + "canonical": "double" + }, + { + "name": "zmin", + "cType": "double", + "canonical": "double" + }, + { + "name": "zmax", + "cType": "double", + "canonical": "double" + }, + { + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "box", + "cType": "STBox *", + "canonical": "struct STBox *" + } + ] + }, + { + "name": "gbox_set_stbox", + "file": "meos_internal_geo.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "box", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "srid", + "cType": "int32_t", + "canonical": "int" + }, + { + "name": "result", + "cType": "STBox *", + "canonical": "struct STBox *" + } + ] + }, + { + "name": "geo_set_stbox", + "file": "meos_internal_geo.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "box", + "cType": "STBox *", + "canonical": "struct STBox *" + } + ] + }, + { + "name": "geoarr_set_stbox", + "file": "meos_internal_geo.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "values", + "cType": "Datum *", + "canonical": "int ((*)(int *))()" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + }, + { + "name": "box", + "cType": "STBox *", + "canonical": "struct STBox *" + } + ] + }, + { + "name": "spatial_set_stbox", + "file": "meos_internal_geo.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "d", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "basetype", + "cType": "int", + "canonical": "int" + }, + { + "name": "box", + "cType": "STBox *", + "canonical": "struct STBox *" + } + ] + }, + { + "name": "spatialset_set_stbox", + "file": "meos_internal_geo.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "set", + "cType": "const Set *", + "canonical": "const Set *" + }, + { + "name": "box", + "cType": "STBox *", + "canonical": "struct STBox *" + } + ] + }, + { + "name": "stbox_set_box3d", + "file": "meos_internal_geo.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" + }, + { + "name": "box3d", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "stbox_set_gbox", + "file": "meos_internal_geo.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" + }, + { + "name": "gbox", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "tstzset_set_stbox", + "file": "meos_internal_geo.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + }, + { + "name": "box", + "cType": "STBox *", + "canonical": "struct STBox *" + } + ] + }, + { + "name": "tstzspan_set_stbox", + "file": "meos_internal_geo.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "box", + "cType": "STBox *", + "canonical": "struct STBox *" + } + ] + }, + { + "name": "tstzspanset_set_stbox", + "file": "meos_internal_geo.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "s", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" + }, + { + "name": "box", + "cType": "STBox *", + "canonical": "struct STBox *" + } + ] + }, + { + "name": "stbox_expand", + "file": "meos_internal_geo.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "box1", + "cType": "const STBox *", + "canonical": "const struct STBox *" + }, + { + "name": "box2", + "cType": "STBox *", + "canonical": "struct STBox *" + } + ] + }, + { + "name": "inter_stbox_stbox", + "file": "meos_internal_geo.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "box1", + "cType": "const STBox *", + "canonical": "const struct STBox *" + }, + { + "name": "box2", + "cType": "const STBox *", + "canonical": "const struct STBox *" + }, + { + "name": "result", + "cType": "STBox *", + "canonical": "struct STBox *" + } + ] + }, + { + "name": "stbox_geo", + "file": "meos_internal_geo.h", + "returnType": { + "c": "int *", + "canonical": "int *" + }, + "params": [ + { + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" + } + ] + }, + { + "name": "tgeogpointinst_from_mfjson", + "file": "meos_internal_geo.h", + "returnType": { + "c": "TInstant *", + "canonical": "struct TInstant *" + }, + "params": [ + { + "name": "mfjson", + "cType": "json_object *", + "canonical": "struct json_object *" + }, + { + "name": "srid", + "cType": "int32_t", + "canonical": "int" + } + ] + }, + { + "name": "tgeogpointinst_in", + "file": "meos_internal_geo.h", + "returnType": { + "c": "TInstant *", + "canonical": "struct TInstant *" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "tgeogpointseq_from_mfjson", + "file": "meos_internal_geo.h", + "returnType": { + "c": "TSequence *", + "canonical": "struct TSequence *" + }, + "params": [ + { + "name": "mfjson", + "cType": "json_object *", + "canonical": "struct json_object *" + }, + { + "name": "srid", + "cType": "int32_t", + "canonical": "int" + }, + { + "name": "interp", + "cType": "interpType", + "canonical": "interpType" + } + ] + }, + { + "name": "tgeogpointseq_in", + "file": "meos_internal_geo.h", + "returnType": { + "c": "TSequence *", + "canonical": "struct TSequence *" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + }, + { + "name": "interp", + "cType": "interpType", + "canonical": "interpType" + } + ] + }, + { + "name": "tgeogpointseqset_from_mfjson", + "file": "meos_internal_geo.h", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + "params": [ + { + "name": "mfjson", + "cType": "json_object *", + "canonical": "struct json_object *" + }, + { + "name": "srid", + "cType": "int32_t", + "canonical": "int" + }, + { + "name": "interp", + "cType": "interpType", + "canonical": "interpType" + } + ] + }, + { + "name": "tgeogpointseqset_in", + "file": "meos_internal_geo.h", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "tgeompointinst_from_mfjson", + "file": "meos_internal_geo.h", + "returnType": { + "c": "TInstant *", + "canonical": "struct TInstant *" + }, + "params": [ + { + "name": "mfjson", + "cType": "json_object *", + "canonical": "struct json_object *" + }, + { + "name": "srid", + "cType": "int32_t", + "canonical": "int" + } + ] + }, + { + "name": "tgeompointinst_in", + "file": "meos_internal_geo.h", + "returnType": { + "c": "TInstant *", + "canonical": "struct TInstant *" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "tgeompointseq_from_mfjson", + "file": "meos_internal_geo.h", + "returnType": { + "c": "TSequence *", + "canonical": "struct TSequence *" + }, + "params": [ + { + "name": "mfjson", + "cType": "json_object *", + "canonical": "struct json_object *" + }, + { + "name": "srid", + "cType": "int32_t", + "canonical": "int" + }, + { + "name": "interp", + "cType": "interpType", + "canonical": "interpType" + } + ] + }, + { + "name": "tgeompointseq_in", + "file": "meos_internal_geo.h", + "returnType": { + "c": "TSequence *", + "canonical": "struct TSequence *" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + }, + { + "name": "interp", + "cType": "interpType", + "canonical": "interpType" + } + ] + }, + { + "name": "tgeompointseqset_from_mfjson", + "file": "meos_internal_geo.h", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + "params": [ + { + "name": "mfjson", + "cType": "json_object *", + "canonical": "struct json_object *" + }, + { + "name": "srid", + "cType": "int32_t", + "canonical": "int" + }, + { + "name": "interp", + "cType": "interpType", + "canonical": "interpType" + } + ] + }, + { + "name": "tgeompointseqset_in", + "file": "meos_internal_geo.h", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "tgeographyinst_from_mfjson", + "file": "meos_internal_geo.h", + "returnType": { + "c": "TInstant *", + "canonical": "struct TInstant *" + }, + "params": [ + { + "name": "mfjson", + "cType": "json_object *", + "canonical": "struct json_object *" + }, + { + "name": "srid", + "cType": "int32_t", + "canonical": "int" + } + ] + }, + { + "name": "tgeographyinst_in", + "file": "meos_internal_geo.h", + "returnType": { + "c": "TInstant *", + "canonical": "struct TInstant *" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "tgeographyseq_from_mfjson", + "file": "meos_internal_geo.h", + "returnType": { + "c": "TSequence *", + "canonical": "struct TSequence *" + }, + "params": [ + { + "name": "mfjson", + "cType": "json_object *", + "canonical": "struct json_object *" + }, + { + "name": "srid", + "cType": "int32_t", + "canonical": "int" + }, + { + "name": "interp", + "cType": "interpType", + "canonical": "interpType" + } + ] + }, + { + "name": "tgeographyseq_in", + "file": "meos_internal_geo.h", + "returnType": { + "c": "TSequence *", + "canonical": "struct TSequence *" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + }, + { + "name": "interp", + "cType": "interpType", + "canonical": "interpType" + } + ] + }, + { + "name": "tgeographyseqset_from_mfjson", + "file": "meos_internal_geo.h", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + "params": [ + { + "name": "mfjson", + "cType": "json_object *", + "canonical": "struct json_object *" + }, + { + "name": "srid", + "cType": "int32_t", + "canonical": "int" + }, + { + "name": "interp", + "cType": "interpType", + "canonical": "interpType" + } + ] + }, + { + "name": "tgeographyseqset_in", + "file": "meos_internal_geo.h", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "tgeometryinst_from_mfjson", + "file": "meos_internal_geo.h", + "returnType": { + "c": "TInstant *", + "canonical": "struct TInstant *" + }, + "params": [ + { + "name": "mfjson", + "cType": "json_object *", + "canonical": "struct json_object *" + }, + { + "name": "srid", + "cType": "int32_t", + "canonical": "int" + } + ] + }, + { + "name": "tgeometryinst_in", + "file": "meos_internal_geo.h", + "returnType": { + "c": "TInstant *", + "canonical": "struct TInstant *" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "tgeometryseq_from_mfjson", + "file": "meos_internal_geo.h", + "returnType": { + "c": "TSequence *", + "canonical": "struct TSequence *" + }, + "params": [ + { + "name": "mfjson", + "cType": "json_object *", + "canonical": "struct json_object *" + }, + { + "name": "srid", + "cType": "int32_t", + "canonical": "int" + }, + { + "name": "interp", + "cType": "interpType", + "canonical": "interpType" + } + ] + }, + { + "name": "tgeometryseq_in", + "file": "meos_internal_geo.h", + "returnType": { + "c": "TSequence *", + "canonical": "struct TSequence *" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + }, + { + "name": "interp", + "cType": "interpType", + "canonical": "interpType" + } + ] + }, + { + "name": "tgeometryseqset_from_mfjson", + "file": "meos_internal_geo.h", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + "params": [ + { + "name": "mfjson", + "cType": "json_object *", + "canonical": "struct json_object *" + }, + { + "name": "srid", + "cType": "int32_t", + "canonical": "int" + }, + { + "name": "interp", + "cType": "interpType", + "canonical": "interpType" + } + ] + }, + { + "name": "tgeometryseqset_in", + "file": "meos_internal_geo.h", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "tspatial_set_stbox", + "file": "meos_internal_geo.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "box", + "cType": "STBox *", + "canonical": "struct STBox *" + } + ] + }, + { + "name": "tgeoinst_set_stbox", + "file": "meos_internal_geo.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" + }, + { + "name": "box", + "cType": "STBox *", + "canonical": "struct STBox *" + } + ] + }, + { + "name": "tspatialseq_set_stbox", + "file": "meos_internal_geo.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "box", + "cType": "STBox *", + "canonical": "struct STBox *" + } + ] + }, + { + "name": "tspatialseqset_set_stbox", + "file": "meos_internal_geo.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + }, + { + "name": "box", + "cType": "STBox *", + "canonical": "struct STBox *" + } + ] + }, + { + "name": "tgeo_restrict_elevation", + "file": "meos_internal_geo.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tgeo_restrict_geom", + "file": "meos_internal_geo.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tgeo_restrict_stbox", + "file": "meos_internal_geo.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" + }, + { + "name": "border_inc", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tgeoinst_restrict_geom", + "file": "meos_internal_geo.h", + "returnType": { + "c": "TInstant *", + "canonical": "struct TInstant *" + }, + "params": [ + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" + }, + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tgeoinst_restrict_stbox", + "file": "meos_internal_geo.h", + "returnType": { + "c": "TInstant *", + "canonical": "struct TInstant *" + }, + "params": [ + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" + }, + { + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" + }, + { + "name": "border_inc", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tgeoseq_restrict_geom", + "file": "meos_internal_geo.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tgeoseq_restrict_stbox", + "file": "meos_internal_geo.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" + }, + { + "name": "border_inc", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tgeoseqset_restrict_geom", + "file": "meos_internal_geo.h", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + }, + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tgeoseqset_restrict_stbox", + "file": "meos_internal_geo.h", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + }, + { + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" + }, + { + "name": "border_inc", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "spatial_srid", + "file": "meos_internal_geo.h", + "returnType": { + "c": "int32_t", + "canonical": "int" + }, + "params": [ + { + "name": "d", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "basetype", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "spatial_set_srid", + "file": "meos_internal_geo.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "d", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "basetype", + "cType": "int", + "canonical": "int" + }, + { + "name": "srid", + "cType": "int32_t", + "canonical": "int" + } + ] + }, + { + "name": "tspatialinst_srid", + "file": "meos_internal_geo.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" + } + ] + }, + { + "name": "tpointseq_azimuth", + "file": "meos_internal_geo.h", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + } + ] + }, + { + "name": "tpointseq_cumulative_length", + "file": "meos_internal_geo.h", + "returnType": { + "c": "TSequence *", + "canonical": "struct TSequence *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "prevlength", + "cType": "double", + "canonical": "double" + } + ] + }, + { + "name": "tpointseq_is_simple", + "file": "meos_internal_geo.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + } + ] + }, + { + "name": "tpointseq_length", + "file": "meos_internal_geo.h", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + } + ] + }, + { + "name": "tpointseq_linear_trajectory", + "file": "meos_internal_geo.h", + "returnType": { + "c": "int *", + "canonical": "int *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "unary_union", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tgeoseq_stboxes", + "file": "meos_internal_geo.h", + "returnType": { + "c": "STBox *", + "canonical": "struct STBox *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "tgeoseq_split_n_stboxes", + "file": "meos_internal_geo.h", + "returnType": { + "c": "STBox *", + "canonical": "struct STBox *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "max_count", + "cType": "int", + "canonical": "int" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "tpointseqset_azimuth", + "file": "meos_internal_geo.h", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + } + ] + }, + { + "name": "tpointseqset_cumulative_length", + "file": "meos_internal_geo.h", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + } + ] + }, + { + "name": "tpointseqset_is_simple", + "file": "meos_internal_geo.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + } + ] + }, + { + "name": "tpointseqset_length", + "file": "meos_internal_geo.h", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + } + ] + }, + { + "name": "tgeoseqset_stboxes", + "file": "meos_internal_geo.h", + "returnType": { + "c": "STBox *", + "canonical": "struct STBox *" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "tgeoseqset_split_n_stboxes", + "file": "meos_internal_geo.h", + "returnType": { + "c": "STBox *", + "canonical": "struct STBox *" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + }, + { + "name": "max_count", + "cType": "int", + "canonical": "int" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "tpoint_get_coord", + "file": "meos_internal_geo.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "coord", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "tgeominst_tgeoginst", + "file": "meos_internal_geo.h", + "returnType": { + "c": "TInstant *", + "canonical": "struct TInstant *" + }, + "params": [ + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" + }, + { + "name": "oper", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tgeomseq_tgeogseq", + "file": "meos_internal_geo.h", + "returnType": { + "c": "TSequence *", + "canonical": "struct TSequence *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "oper", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tgeomseqset_tgeogseqset", + "file": "meos_internal_geo.h", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + }, + { + "name": "oper", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tgeom_tgeog", + "file": "meos_internal_geo.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "oper", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tgeo_tpoint", + "file": "meos_internal_geo.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "oper", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tspatialinst_set_srid", + "file": "meos_internal_geo.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "inst", + "cType": "TInstant *", + "canonical": "struct TInstant *" + }, + { + "name": "srid", + "cType": "int32_t", + "canonical": "int" + } + ] + }, + { + "name": "tpointseq_make_simple", + "file": "meos_internal_geo.h", + "returnType": { + "c": "TSequence **", + "canonical": "struct TSequence **" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "tspatialseq_set_srid", + "file": "meos_internal_geo.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "seq", + "cType": "TSequence *", + "canonical": "struct TSequence *" + }, + { + "name": "srid", + "cType": "int32_t", + "canonical": "int" + } + ] + }, + { + "name": "tpointseqset_make_simple", + "file": "meos_internal_geo.h", + "returnType": { + "c": "TSequence **", + "canonical": "struct TSequence **" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "tspatialseqset_set_srid", + "file": "meos_internal_geo.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "ss", + "cType": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + { + "name": "srid", + "cType": "int32_t", + "canonical": "int" + } + ] + }, + { + "name": "tpointseq_twcentroid", + "file": "meos_internal_geo.h", + "returnType": { + "c": "int *", + "canonical": "int *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + } + ] + }, + { + "name": "tpointseqset_twcentroid", + "file": "meos_internal_geo.h", + "returnType": { + "c": "int *", + "canonical": "int *" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + } + ] + }, + { + "name": "npoint_as_ewkt", + "file": "meos_npoint.h", + "returnType": { + "c": "char *", + "canonical": "char *" + }, + "params": [ + { + "name": "np", + "cType": "const Npoint *", + "canonical": "const Npoint *" + }, + { + "name": "maxdd", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "npoint_as_hexwkb", + "file": "meos_npoint.h", + "returnType": { + "c": "char *", + "canonical": "char *" + }, + "params": [ + { + "name": "np", + "cType": "const Npoint *", + "canonical": "const Npoint *" + }, + { + "name": "variant", + "cType": "uint8_t", + "canonical": "unsigned char" + }, + { + "name": "size_out", + "cType": "size_t *", + "canonical": "unsigned long *" + } + ] + }, + { + "name": "npoint_as_text", + "file": "meos_npoint.h", + "returnType": { + "c": "char *", + "canonical": "char *" + }, + "params": [ + { + "name": "np", + "cType": "const Npoint *", + "canonical": "const Npoint *" + }, + { + "name": "maxdd", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "npoint_as_wkb", + "file": "meos_npoint.h", + "returnType": { + "c": "uint8_t *", + "canonical": "unsigned char *" + }, + "params": [ + { + "name": "np", + "cType": "const Npoint *", + "canonical": "const Npoint *" + }, + { + "name": "variant", + "cType": "uint8_t", + "canonical": "unsigned char" + }, + { + "name": "size_out", + "cType": "size_t *", + "canonical": "unsigned long *" + } + ] + }, + { + "name": "npoint_from_hexwkb", + "file": "meos_npoint.h", + "returnType": { + "c": "Npoint *", + "canonical": "Npoint *" + }, + "params": [ + { + "name": "hexwkb", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "npoint_from_wkb", + "file": "meos_npoint.h", + "returnType": { + "c": "Npoint *", + "canonical": "Npoint *" + }, + "params": [ + { + "name": "wkb", + "cType": "const uint8_t *", + "canonical": "const unsigned char *" + }, + { + "name": "size", + "cType": "size_t", + "canonical": "unsigned long" + } + ] + }, + { + "name": "npoint_in", + "file": "meos_npoint.h", + "returnType": { + "c": "Npoint *", + "canonical": "Npoint *" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "npoint_out", + "file": "meos_npoint.h", + "returnType": { + "c": "char *", + "canonical": "char *" + }, + "params": [ + { + "name": "np", + "cType": "const Npoint *", + "canonical": "const Npoint *" + }, + { + "name": "maxdd", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "nsegment_in", + "file": "meos_npoint.h", + "returnType": { + "c": "Nsegment *", + "canonical": "Nsegment *" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "nsegment_out", + "file": "meos_npoint.h", + "returnType": { + "c": "char *", + "canonical": "char *" + }, + "params": [ + { + "name": "ns", + "cType": "const Nsegment *", + "canonical": "const Nsegment *" + }, + { + "name": "maxdd", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "npoint_make", + "file": "meos_npoint.h", + "returnType": { + "c": "Npoint *", + "canonical": "Npoint *" + }, + "params": [ + { + "name": "rid", + "cType": "int64", + "canonical": "long" + }, + { + "name": "pos", + "cType": "double", + "canonical": "double" + } + ] + }, + { + "name": "nsegment_make", + "file": "meos_npoint.h", + "returnType": { + "c": "Nsegment *", + "canonical": "Nsegment *" + }, + "params": [ + { + "name": "rid", + "cType": "int64", + "canonical": "long" + }, + { + "name": "pos1", + "cType": "double", + "canonical": "double" + }, + { + "name": "pos2", + "cType": "double", + "canonical": "double" + } + ] + }, + { + "name": "geompoint_to_npoint", + "file": "meos_npoint.h", + "returnType": { + "c": "Npoint *", + "canonical": "Npoint *" + }, + "params": [ + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "geom_to_nsegment", + "file": "meos_npoint.h", + "returnType": { + "c": "Nsegment *", + "canonical": "Nsegment *" + }, + "params": [ + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "npoint_to_geompoint", + "file": "meos_npoint.h", + "returnType": { + "c": "int *", + "canonical": "int *" + }, + "params": [ + { + "name": "np", + "cType": "const Npoint *", + "canonical": "const Npoint *" + } + ] + }, + { + "name": "npoint_to_nsegment", + "file": "meos_npoint.h", + "returnType": { + "c": "Nsegment *", + "canonical": "Nsegment *" + }, + "params": [ + { + "name": "np", + "cType": "const Npoint *", + "canonical": "const Npoint *" + } + ] + }, + { + "name": "npoint_to_stbox", + "file": "meos_npoint.h", + "returnType": { + "c": "STBox *", + "canonical": "struct STBox *" + }, + "params": [ + { + "name": "np", + "cType": "const Npoint *", + "canonical": "const Npoint *" + } + ] + }, + { + "name": "nsegment_to_geom", + "file": "meos_npoint.h", + "returnType": { + "c": "int *", + "canonical": "int *" + }, + "params": [ + { + "name": "ns", + "cType": "const Nsegment *", + "canonical": "const Nsegment *" + } + ] + }, + { + "name": "nsegment_to_stbox", + "file": "meos_npoint.h", + "returnType": { + "c": "STBox *", + "canonical": "struct STBox *" + }, + "params": [ + { + "name": "np", + "cType": "const Nsegment *", + "canonical": "const Nsegment *" + } + ] + }, + { + "name": "npoint_hash", + "file": "meos_npoint.h", + "returnType": { + "c": "uint32", + "canonical": "unsigned int" + }, + "params": [ + { + "name": "np", + "cType": "const Npoint *", + "canonical": "const Npoint *" + } + ] + }, + { + "name": "npoint_hash_extended", + "file": "meos_npoint.h", + "returnType": { + "c": "uint64", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "np", + "cType": "const Npoint *", + "canonical": "const Npoint *" + }, + { + "name": "seed", + "cType": "uint64", + "canonical": "unsigned long" + } + ] + }, + { + "name": "npoint_position", + "file": "meos_npoint.h", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "np", + "cType": "const Npoint *", + "canonical": "const Npoint *" + } + ] + }, + { + "name": "npoint_route", + "file": "meos_npoint.h", + "returnType": { + "c": "int64", + "canonical": "long" + }, + "params": [ + { + "name": "np", + "cType": "const Npoint *", + "canonical": "const Npoint *" + } + ] + }, + { + "name": "nsegment_end_position", + "file": "meos_npoint.h", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "ns", + "cType": "const Nsegment *", + "canonical": "const Nsegment *" + } + ] + }, + { + "name": "nsegment_route", + "file": "meos_npoint.h", + "returnType": { + "c": "int64", + "canonical": "long" + }, + "params": [ + { + "name": "ns", + "cType": "const Nsegment *", + "canonical": "const Nsegment *" + } + ] + }, + { + "name": "nsegment_start_position", + "file": "meos_npoint.h", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "ns", + "cType": "const Nsegment *", + "canonical": "const Nsegment *" + } + ] + }, + { + "name": "route_exists", + "file": "meos_npoint.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "rid", + "cType": "int64", + "canonical": "long" + } + ] + }, + { + "name": "route_geom", + "file": "meos_npoint.h", + "returnType": { + "c": "const int *", + "canonical": "const int *" + }, + "params": [ + { + "name": "rid", + "cType": "int64", + "canonical": "long" + } + ] + }, + { + "name": "route_length", + "file": "meos_npoint.h", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "rid", + "cType": "int64", + "canonical": "long" + } + ] + }, + { + "name": "npoint_round", + "file": "meos_npoint.h", + "returnType": { + "c": "Npoint *", + "canonical": "Npoint *" + }, + "params": [ + { + "name": "np", + "cType": "const Npoint *", + "canonical": "const Npoint *" + }, + { + "name": "maxdd", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "nsegment_round", + "file": "meos_npoint.h", + "returnType": { + "c": "Nsegment *", + "canonical": "Nsegment *" + }, + "params": [ + { + "name": "ns", + "cType": "const Nsegment *", + "canonical": "const Nsegment *" + }, + { + "name": "maxdd", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "get_srid_ways", + "file": "meos_npoint.h", + "returnType": { + "c": "int32_t", + "canonical": "int" + }, + "params": [] + }, + { + "name": "npoint_srid", + "file": "meos_npoint.h", + "returnType": { + "c": "int32_t", + "canonical": "int" + }, + "params": [ + { + "name": "np", + "cType": "const Npoint *", + "canonical": "const Npoint *" + } + ] + }, + { + "name": "nsegment_srid", + "file": "meos_npoint.h", + "returnType": { + "c": "int32_t", + "canonical": "int" + }, + "params": [ + { + "name": "ns", + "cType": "const Nsegment *", + "canonical": "const Nsegment *" + } + ] + }, + { + "name": "npoint_timestamptz_to_stbox", + "file": "meos_npoint.h", + "returnType": { + "c": "STBox *", + "canonical": "struct STBox *" + }, + "params": [ + { + "name": "np", + "cType": "const Npoint *", + "canonical": "const Npoint *" + }, + { + "name": "t", + "cType": "TimestampTz", + "canonical": "long" + } + ] + }, + { + "name": "npoint_tstzspan_to_stbox", + "file": "meos_npoint.h", + "returnType": { + "c": "STBox *", + "canonical": "struct STBox *" + }, + "params": [ + { + "name": "np", + "cType": "const Npoint *", + "canonical": "const Npoint *" + }, + { + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" + } + ] + }, + { + "name": "npoint_cmp", + "file": "meos_npoint.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "np1", + "cType": "const Npoint *", + "canonical": "const Npoint *" + }, + { + "name": "np2", + "cType": "const Npoint *", + "canonical": "const Npoint *" + } + ] + }, + { + "name": "npoint_eq", + "file": "meos_npoint.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "np1", + "cType": "const Npoint *", + "canonical": "const Npoint *" + }, + { + "name": "np2", + "cType": "const Npoint *", + "canonical": "const Npoint *" + } + ] + }, + { + "name": "npoint_ge", + "file": "meos_npoint.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "np1", + "cType": "const Npoint *", + "canonical": "const Npoint *" + }, + { + "name": "np2", + "cType": "const Npoint *", + "canonical": "const Npoint *" + } + ] + }, + { + "name": "npoint_gt", + "file": "meos_npoint.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "np1", + "cType": "const Npoint *", + "canonical": "const Npoint *" + }, + { + "name": "np2", + "cType": "const Npoint *", + "canonical": "const Npoint *" + } + ] + }, + { + "name": "npoint_le", + "file": "meos_npoint.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "np1", + "cType": "const Npoint *", + "canonical": "const Npoint *" + }, + { + "name": "np2", + "cType": "const Npoint *", + "canonical": "const Npoint *" + } + ] + }, + { + "name": "npoint_lt", + "file": "meos_npoint.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "np1", + "cType": "const Npoint *", + "canonical": "const Npoint *" + }, + { + "name": "np2", + "cType": "const Npoint *", + "canonical": "const Npoint *" + } + ] + }, + { + "name": "npoint_ne", + "file": "meos_npoint.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "np1", + "cType": "const Npoint *", + "canonical": "const Npoint *" + }, + { + "name": "np2", + "cType": "const Npoint *", + "canonical": "const Npoint *" + } + ] + }, + { + "name": "npoint_same", + "file": "meos_npoint.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "np1", + "cType": "const Npoint *", + "canonical": "const Npoint *" + }, + { + "name": "np2", + "cType": "const Npoint *", + "canonical": "const Npoint *" + } + ] + }, + { + "name": "nsegment_cmp", + "file": "meos_npoint.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "ns1", + "cType": "const Nsegment *", + "canonical": "const Nsegment *" + }, + { + "name": "ns2", + "cType": "const Nsegment *", + "canonical": "const Nsegment *" + } + ] + }, + { + "name": "nsegment_eq", + "file": "meos_npoint.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "ns1", + "cType": "const Nsegment *", + "canonical": "const Nsegment *" + }, + { + "name": "ns2", + "cType": "const Nsegment *", + "canonical": "const Nsegment *" + } + ] + }, + { + "name": "nsegment_ge", + "file": "meos_npoint.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "ns1", + "cType": "const Nsegment *", + "canonical": "const Nsegment *" + }, + { + "name": "ns2", + "cType": "const Nsegment *", + "canonical": "const Nsegment *" + } + ] + }, + { + "name": "nsegment_gt", + "file": "meos_npoint.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "ns1", + "cType": "const Nsegment *", + "canonical": "const Nsegment *" + }, + { + "name": "ns2", + "cType": "const Nsegment *", + "canonical": "const Nsegment *" + } + ] + }, + { + "name": "nsegment_le", + "file": "meos_npoint.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "ns1", + "cType": "const Nsegment *", + "canonical": "const Nsegment *" + }, + { + "name": "ns2", + "cType": "const Nsegment *", + "canonical": "const Nsegment *" + } + ] + }, + { + "name": "nsegment_lt", + "file": "meos_npoint.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "ns1", + "cType": "const Nsegment *", + "canonical": "const Nsegment *" + }, + { + "name": "ns2", + "cType": "const Nsegment *", + "canonical": "const Nsegment *" + } + ] + }, + { + "name": "nsegment_ne", + "file": "meos_npoint.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "ns1", + "cType": "const Nsegment *", + "canonical": "const Nsegment *" + }, + { + "name": "ns2", + "cType": "const Nsegment *", + "canonical": "const Nsegment *" + } + ] + }, + { + "name": "npointset_in", + "file": "meos_npoint.h", + "returnType": { + "c": "Set *", + "canonical": "Set *" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "npointset_out", + "file": "meos_npoint.h", + "returnType": { + "c": "char *", + "canonical": "char *" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + }, + { + "name": "maxdd", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "npointset_make", + "file": "meos_npoint.h", + "returnType": { + "c": "Set *", + "canonical": "Set *" + }, + "params": [ + { + "name": "values", + "cType": "Npoint **", + "canonical": "Npoint **" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "npoint_to_set", + "file": "meos_npoint.h", + "returnType": { + "c": "Set *", + "canonical": "Set *" + }, + "params": [ + { + "name": "np", + "cType": "const Npoint *", + "canonical": "const Npoint *" + } + ] + }, + { + "name": "npointset_end_value", + "file": "meos_npoint.h", + "returnType": { + "c": "Npoint *", + "canonical": "Npoint *" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + } + ] + }, + { + "name": "npointset_routes", + "file": "meos_npoint.h", + "returnType": { + "c": "Set *", + "canonical": "Set *" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + } + ] + }, + { + "name": "npointset_start_value", + "file": "meos_npoint.h", + "returnType": { + "c": "Npoint *", + "canonical": "Npoint *" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + } + ] + }, + { + "name": "npointset_value_n", + "file": "meos_npoint.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + }, + { + "name": "n", + "cType": "int", + "canonical": "int" + }, + { + "name": "result", + "cType": "Npoint **", + "canonical": "Npoint **" + } + ] + }, + { + "name": "npointset_values", + "file": "meos_npoint.h", + "returnType": { + "c": "Npoint **", + "canonical": "Npoint **" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + } + ] + }, + { + "name": "contained_npoint_set", + "file": "meos_npoint.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "np", + "cType": "const Npoint *", + "canonical": "const Npoint *" + }, + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + } + ] + }, + { + "name": "contains_set_npoint", + "file": "meos_npoint.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + }, + { + "name": "np", + "cType": "const Npoint *", + "canonical": "const Npoint *" + } + ] + }, + { + "name": "intersection_npoint_set", + "file": "meos_npoint.h", + "returnType": { + "c": "Set *", + "canonical": "Set *" + }, + "params": [ + { + "name": "np", + "cType": "const Npoint *", + "canonical": "const Npoint *" + }, + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + } + ] + }, + { + "name": "intersection_set_npoint", + "file": "meos_npoint.h", + "returnType": { + "c": "Set *", + "canonical": "Set *" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + }, + { + "name": "np", + "cType": "const Npoint *", + "canonical": "const Npoint *" + } + ] + }, + { + "name": "minus_npoint_set", + "file": "meos_npoint.h", + "returnType": { + "c": "Set *", + "canonical": "Set *" + }, + "params": [ + { + "name": "np", + "cType": "const Npoint *", + "canonical": "const Npoint *" + }, + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + } + ] + }, + { + "name": "minus_set_npoint", + "file": "meos_npoint.h", + "returnType": { + "c": "Set *", + "canonical": "Set *" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + }, + { + "name": "np", + "cType": "const Npoint *", + "canonical": "const Npoint *" + } + ] + }, + { + "name": "npoint_union_transfn", + "file": "meos_npoint.h", + "returnType": { + "c": "Set *", + "canonical": "Set *" + }, + "params": [ + { + "name": "state", + "cType": "Set *", + "canonical": "Set *" + }, + { + "name": "np", + "cType": "const Npoint *", + "canonical": "const Npoint *" + } + ] + }, + { + "name": "union_npoint_set", + "file": "meos_npoint.h", + "returnType": { + "c": "Set *", + "canonical": "Set *" + }, + "params": [ + { + "name": "np", + "cType": "const Npoint *", + "canonical": "const Npoint *" + }, + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + } + ] + }, + { + "name": "union_set_npoint", + "file": "meos_npoint.h", + "returnType": { + "c": "Set *", + "canonical": "Set *" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + }, + { + "name": "np", + "cType": "const Npoint *", + "canonical": "const Npoint *" + } + ] + }, + { + "name": "tnpoint_in", + "file": "meos_npoint.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "tnpoint_from_mfjson", + "file": "meos_npoint.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "mfjson", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "tnpoint_out", + "file": "meos_npoint.h", + "returnType": { + "c": "char *", + "canonical": "char *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "maxdd", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "tnpointinst_make", + "file": "meos_npoint.h", + "returnType": { + "c": "TInstant *", + "canonical": "struct TInstant *" + }, + "params": [ + { + "name": "np", + "cType": "const Npoint *", + "canonical": "const Npoint *" + }, + { + "name": "t", + "cType": "TimestampTz", + "canonical": "long" + } + ] + }, + { + "name": "tgeompoint_to_tnpoint", + "file": "meos_npoint.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "tnpoint_to_tgeompoint", + "file": "meos_npoint.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "tnpoint_cumulative_length", + "file": "meos_npoint.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "tnpoint_length", + "file": "meos_npoint.h", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "tnpoint_positions", + "file": "meos_npoint.h", + "returnType": { + "c": "Nsegment **", + "canonical": "Nsegment **" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "tnpoint_route", + "file": "meos_npoint.h", + "returnType": { + "c": "int64", + "canonical": "long" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "tnpoint_routes", + "file": "meos_npoint.h", + "returnType": { + "c": "Set *", + "canonical": "Set *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "tnpoint_speed", + "file": "meos_npoint.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "tnpoint_trajectory", + "file": "meos_npoint.h", + "returnType": { + "c": "int *", + "canonical": "int *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "tnpoint_twcentroid", + "file": "meos_npoint.h", + "returnType": { + "c": "int *", + "canonical": "int *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "tnpoint_at_geom", + "file": "meos_npoint.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "tnpoint_at_npoint", + "file": "meos_npoint.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "np", + "cType": "const Npoint *", + "canonical": "const Npoint *" + } + ] + }, + { + "name": "tnpoint_at_npointset", + "file": "meos_npoint.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + } + ] + }, + { + "name": "tnpoint_at_stbox", + "file": "meos_npoint.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" + }, + { + "name": "border_inc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tnpoint_minus_geom", + "file": "meos_npoint.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "tnpoint_minus_npoint", + "file": "meos_npoint.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "np", + "cType": "const Npoint *", + "canonical": "const Npoint *" + } + ] + }, + { + "name": "tnpoint_minus_npointset", + "file": "meos_npoint.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + } + ] + }, + { + "name": "tnpoint_minus_stbox", + "file": "meos_npoint.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" + }, + { + "name": "border_inc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tdistance_tnpoint_npoint", + "file": "meos_npoint.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "np", + "cType": "const Npoint *", + "canonical": "const Npoint *" + } + ] + }, + { + "name": "tdistance_tnpoint_point", + "file": "meos_npoint.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "tdistance_tnpoint_tnpoint", + "file": "meos_npoint.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "nad_tnpoint_geo", + "file": "meos_npoint.h", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "nad_tnpoint_npoint", + "file": "meos_npoint.h", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "np", + "cType": "const Npoint *", + "canonical": "const Npoint *" + } + ] + }, + { + "name": "nad_tnpoint_stbox", + "file": "meos_npoint.h", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" + } + ] + }, + { + "name": "nad_tnpoint_tnpoint", + "file": "meos_npoint.h", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "nai_tnpoint_geo", + "file": "meos_npoint.h", + "returnType": { + "c": "TInstant *", + "canonical": "struct TInstant *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "nai_tnpoint_npoint", + "file": "meos_npoint.h", + "returnType": { + "c": "TInstant *", + "canonical": "struct TInstant *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "np", + "cType": "const Npoint *", + "canonical": "const Npoint *" + } + ] + }, + { + "name": "nai_tnpoint_tnpoint", + "file": "meos_npoint.h", + "returnType": { + "c": "TInstant *", + "canonical": "struct TInstant *" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "shortestline_tnpoint_geo", + "file": "meos_npoint.h", + "returnType": { + "c": "int *", + "canonical": "int *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "shortestline_tnpoint_npoint", + "file": "meos_npoint.h", + "returnType": { + "c": "int *", + "canonical": "int *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "np", + "cType": "const Npoint *", + "canonical": "const Npoint *" + } + ] + }, + { + "name": "shortestline_tnpoint_tnpoint", + "file": "meos_npoint.h", + "returnType": { + "c": "int *", + "canonical": "int *" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "tnpoint_tcentroid_transfn", + "file": "meos_npoint.h", + "returnType": { + "c": "SkipList *", + "canonical": "struct SkipList *" + }, + "params": [ + { + "name": "state", + "cType": "SkipList *", + "canonical": "struct SkipList *" + }, + { + "name": "temp", + "cType": "Temporal *", + "canonical": "Temporal *" + } + ] + }, + { + "name": "always_eq_npoint_tnpoint", + "file": "meos_npoint.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "np", + "cType": "const Npoint *", + "canonical": "const Npoint *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "always_eq_tnpoint_npoint", + "file": "meos_npoint.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "np", + "cType": "const Npoint *", + "canonical": "const Npoint *" + } + ] + }, + { + "name": "always_eq_tnpoint_tnpoint", + "file": "meos_npoint.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "always_ne_npoint_tnpoint", + "file": "meos_npoint.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "np", + "cType": "const Npoint *", + "canonical": "const Npoint *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "always_ne_tnpoint_npoint", + "file": "meos_npoint.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "np", + "cType": "const Npoint *", + "canonical": "const Npoint *" + } + ] + }, + { + "name": "always_ne_tnpoint_tnpoint", + "file": "meos_npoint.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "ever_eq_npoint_tnpoint", + "file": "meos_npoint.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "np", + "cType": "const Npoint *", + "canonical": "const Npoint *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "ever_eq_tnpoint_npoint", + "file": "meos_npoint.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "np", + "cType": "const Npoint *", + "canonical": "const Npoint *" + } + ] + }, + { + "name": "ever_eq_tnpoint_tnpoint", + "file": "meos_npoint.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "ever_ne_npoint_tnpoint", + "file": "meos_npoint.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "np", + "cType": "const Npoint *", + "canonical": "const Npoint *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "ever_ne_tnpoint_npoint", + "file": "meos_npoint.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "np", + "cType": "const Npoint *", + "canonical": "const Npoint *" + } + ] + }, + { + "name": "ever_ne_tnpoint_tnpoint", + "file": "meos_npoint.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "teq_tnpoint_npoint", + "file": "meos_npoint.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "np", + "cType": "const Npoint *", + "canonical": "const Npoint *" + } + ] + }, + { + "name": "tne_tnpoint_npoint", + "file": "meos_npoint.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "np", + "cType": "const Npoint *", + "canonical": "const Npoint *" + } + ] + }, + { + "name": "pose_as_ewkt", + "file": "meos_pose.h", + "returnType": { + "c": "char *", + "canonical": "char *" + }, + "params": [ + { + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" + }, + { + "name": "maxdd", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "pose_as_hexwkb", + "file": "meos_pose.h", + "returnType": { + "c": "char *", + "canonical": "char *" + }, + "params": [ + { + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" + }, + { + "name": "variant", + "cType": "uint8_t", + "canonical": "unsigned char" + }, + { + "name": "size", + "cType": "size_t *", + "canonical": "unsigned long *" + } + ] + }, + { + "name": "pose_as_text", + "file": "meos_pose.h", + "returnType": { + "c": "char *", + "canonical": "char *" + }, + "params": [ + { + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" + }, + { + "name": "maxdd", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "pose_as_wkb", + "file": "meos_pose.h", + "returnType": { + "c": "uint8_t *", + "canonical": "unsigned char *" + }, + "params": [ + { + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" + }, + { + "name": "variant", + "cType": "uint8_t", + "canonical": "unsigned char" + }, + { + "name": "size_out", + "cType": "size_t *", + "canonical": "unsigned long *" + } + ] + }, + { + "name": "pose_from_wkb", + "file": "meos_pose.h", + "returnType": { + "c": "Pose *", + "canonical": "struct Pose *" + }, + "params": [ + { + "name": "wkb", + "cType": "const uint8_t *", + "canonical": "const unsigned char *" + }, + { + "name": "size", + "cType": "size_t", + "canonical": "unsigned long" + } + ] + }, + { + "name": "pose_from_hexwkb", + "file": "meos_pose.h", + "returnType": { + "c": "Pose *", + "canonical": "struct Pose *" + }, + "params": [ + { + "name": "hexwkb", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "pose_in", + "file": "meos_pose.h", + "returnType": { + "c": "Pose *", + "canonical": "struct Pose *" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "pose_out", + "file": "meos_pose.h", + "returnType": { + "c": "char *", + "canonical": "char *" + }, + "params": [ + { + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" + }, + { + "name": "maxdd", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "pose_copy", + "file": "meos_pose.h", + "returnType": { + "c": "Pose *", + "canonical": "struct Pose *" + }, + "params": [ + { + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" + } + ] + }, + { + "name": "pose_make_2d", + "file": "meos_pose.h", + "returnType": { + "c": "Pose *", + "canonical": "struct Pose *" + }, + "params": [ + { + "name": "x", + "cType": "double", + "canonical": "double" + }, + { + "name": "y", + "cType": "double", + "canonical": "double" + }, + { + "name": "theta", + "cType": "double", + "canonical": "double" + }, + { + "name": "srid", + "cType": "int32_t", + "canonical": "int" + } + ] + }, + { + "name": "pose_make_3d", + "file": "meos_pose.h", + "returnType": { + "c": "Pose *", + "canonical": "struct Pose *" + }, + "params": [ + { + "name": "x", + "cType": "double", + "canonical": "double" + }, + { + "name": "y", + "cType": "double", + "canonical": "double" + }, + { + "name": "z", + "cType": "double", + "canonical": "double" + }, + { + "name": "W", + "cType": "double", + "canonical": "double" + }, + { + "name": "X", + "cType": "double", + "canonical": "double" + }, + { + "name": "Y", + "cType": "double", + "canonical": "double" + }, + { + "name": "Z", + "cType": "double", + "canonical": "double" + }, + { + "name": "srid", + "cType": "int32_t", + "canonical": "int" + } + ] + }, + { + "name": "pose_make_point2d", + "file": "meos_pose.h", + "returnType": { + "c": "Pose *", + "canonical": "struct Pose *" + }, + "params": [ + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "theta", + "cType": "double", + "canonical": "double" + } + ] + }, + { + "name": "pose_make_point3d", + "file": "meos_pose.h", + "returnType": { + "c": "Pose *", + "canonical": "struct Pose *" + }, + "params": [ + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "W", + "cType": "double", + "canonical": "double" + }, + { + "name": "X", + "cType": "double", + "canonical": "double" + }, + { + "name": "Y", + "cType": "double", + "canonical": "double" + }, + { + "name": "Z", + "cType": "double", + "canonical": "double" + } + ] + }, + { + "name": "pose_to_point", + "file": "meos_pose.h", + "returnType": { + "c": "int *", + "canonical": "int *" + }, + "params": [ + { + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" + } + ] + }, + { + "name": "pose_to_stbox", + "file": "meos_pose.h", + "returnType": { + "c": "STBox *", + "canonical": "struct STBox *" + }, + "params": [ + { + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" + } + ] + }, + { + "name": "pose_hash", + "file": "meos_pose.h", + "returnType": { + "c": "uint32", + "canonical": "unsigned int" + }, + "params": [ + { + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" + } + ] + }, + { + "name": "pose_hash_extended", + "file": "meos_pose.h", + "returnType": { + "c": "uint64", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" + }, + { + "name": "seed", + "cType": "uint64", + "canonical": "unsigned long" + } + ] + }, + { + "name": "pose_orientation", + "file": "meos_pose.h", + "returnType": { + "c": "double *", + "canonical": "double *" + }, + "params": [ + { + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" + } + ] + }, + { + "name": "pose_rotation", + "file": "meos_pose.h", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" + } + ] + }, + { + "name": "pose_round", + "file": "meos_pose.h", + "returnType": { + "c": "Pose *", + "canonical": "struct Pose *" + }, + "params": [ + { + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" + }, + { + "name": "maxdd", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "posearr_round", + "file": "meos_pose.h", + "returnType": { + "c": "Pose **", + "canonical": "struct Pose **" + }, + "params": [ + { + "name": "posearr", + "cType": "const Pose **", + "canonical": "const struct Pose **" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + }, + { + "name": "maxdd", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "pose_set_srid", + "file": "meos_pose.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "pose", + "cType": "Pose *", + "canonical": "struct Pose *" + }, + { + "name": "srid", + "cType": "int32_t", + "canonical": "int" + } + ] + }, + { + "name": "pose_srid", + "file": "meos_pose.h", + "returnType": { + "c": "int32_t", + "canonical": "int" + }, + "params": [ + { + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" + } + ] + }, + { + "name": "pose_transform", + "file": "meos_pose.h", + "returnType": { + "c": "Pose *", + "canonical": "struct Pose *" + }, + "params": [ + { + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" + }, + { + "name": "srid", + "cType": "int32_t", + "canonical": "int" + } + ] + }, + { + "name": "pose_transform_pipeline", + "file": "meos_pose.h", + "returnType": { + "c": "Pose *", + "canonical": "struct Pose *" + }, + "params": [ + { + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" + }, + { + "name": "pipelinestr", + "cType": "const char *", + "canonical": "const char *" + }, + { + "name": "srid", + "cType": "int32_t", + "canonical": "int" + }, + { + "name": "is_forward", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "pose_tstzspan_to_stbox", + "file": "meos_pose.h", + "returnType": { + "c": "STBox *", + "canonical": "struct STBox *" + }, + "params": [ + { + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" + }, + { + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" + } + ] + }, + { + "name": "pose_timestamptz_to_stbox", + "file": "meos_pose.h", + "returnType": { + "c": "STBox *", + "canonical": "struct STBox *" + }, + "params": [ + { + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" + }, + { + "name": "t", + "cType": "TimestampTz", + "canonical": "long" + } + ] + }, + { + "name": "distance_pose_geo", + "file": "meos_pose.h", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" + }, + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "distance_pose_pose", + "file": "meos_pose.h", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "pose1", + "cType": "const Pose *", + "canonical": "const struct Pose *" + }, + { + "name": "pose2", + "cType": "const Pose *", + "canonical": "const struct Pose *" + } + ] + }, + { + "name": "distance_pose_stbox", + "file": "meos_pose.h", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" + }, + { + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" + } + ] + }, + { + "name": "pose_cmp", + "file": "meos_pose.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "pose1", + "cType": "const Pose *", + "canonical": "const struct Pose *" + }, + { + "name": "pose2", + "cType": "const Pose *", + "canonical": "const struct Pose *" + } + ] + }, + { + "name": "pose_eq", + "file": "meos_pose.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "pose1", + "cType": "const Pose *", + "canonical": "const struct Pose *" + }, + { + "name": "pose2", + "cType": "const Pose *", + "canonical": "const struct Pose *" + } + ] + }, + { + "name": "pose_ge", + "file": "meos_pose.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "pose1", + "cType": "const Pose *", + "canonical": "const struct Pose *" + }, + { + "name": "pose2", + "cType": "const Pose *", + "canonical": "const struct Pose *" + } + ] + }, + { + "name": "pose_gt", + "file": "meos_pose.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "pose1", + "cType": "const Pose *", + "canonical": "const struct Pose *" + }, + { + "name": "pose2", + "cType": "const Pose *", + "canonical": "const struct Pose *" + } + ] + }, + { + "name": "pose_le", + "file": "meos_pose.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "pose1", + "cType": "const Pose *", + "canonical": "const struct Pose *" + }, + { + "name": "pose2", + "cType": "const Pose *", + "canonical": "const struct Pose *" + } + ] + }, + { + "name": "pose_lt", + "file": "meos_pose.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "pose1", + "cType": "const Pose *", + "canonical": "const struct Pose *" + }, + { + "name": "pose2", + "cType": "const Pose *", + "canonical": "const struct Pose *" + } + ] + }, + { + "name": "pose_ne", + "file": "meos_pose.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "pose1", + "cType": "const Pose *", + "canonical": "const struct Pose *" + }, + { + "name": "pose2", + "cType": "const Pose *", + "canonical": "const struct Pose *" + } + ] + }, + { + "name": "pose_nsame", + "file": "meos_pose.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "pose1", + "cType": "const Pose *", + "canonical": "const struct Pose *" + }, + { + "name": "pose2", + "cType": "const Pose *", + "canonical": "const struct Pose *" + } + ] + }, + { + "name": "pose_same", + "file": "meos_pose.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "pose1", + "cType": "const Pose *", + "canonical": "const struct Pose *" + }, + { + "name": "pose2", + "cType": "const Pose *", + "canonical": "const struct Pose *" + } + ] + }, + { + "name": "poseset_in", + "file": "meos_pose.h", + "returnType": { + "c": "Set *", + "canonical": "Set *" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "poseset_out", + "file": "meos_pose.h", + "returnType": { + "c": "char *", + "canonical": "char *" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + }, + { + "name": "maxdd", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "poseset_make", + "file": "meos_pose.h", + "returnType": { + "c": "Set *", + "canonical": "Set *" + }, + "params": [ + { + "name": "values", + "cType": "const Pose **", + "canonical": "const struct Pose **" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "pose_to_set", + "file": "meos_pose.h", + "returnType": { + "c": "Set *", + "canonical": "Set *" + }, + "params": [ + { + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" + } + ] + }, + { + "name": "poseset_end_value", + "file": "meos_pose.h", + "returnType": { + "c": "Pose *", + "canonical": "struct Pose *" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + } + ] + }, + { + "name": "poseset_start_value", + "file": "meos_pose.h", + "returnType": { + "c": "Pose *", + "canonical": "struct Pose *" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + } + ] + }, + { + "name": "poseset_value_n", + "file": "meos_pose.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + }, + { + "name": "n", + "cType": "int", + "canonical": "int" + }, + { + "name": "result", + "cType": "Pose **", + "canonical": "struct Pose **" + } + ] + }, + { + "name": "poseset_values", + "file": "meos_pose.h", + "returnType": { + "c": "Pose **", + "canonical": "struct Pose **" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + } + ] + }, + { + "name": "contained_pose_set", + "file": "meos_pose.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" + }, + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + } + ] + }, + { + "name": "contains_set_pose", + "file": "meos_pose.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + }, + { + "name": "pose", + "cType": "Pose *", + "canonical": "struct Pose *" + } + ] + }, + { + "name": "intersection_pose_set", + "file": "meos_pose.h", + "returnType": { + "c": "Set *", + "canonical": "Set *" + }, + "params": [ + { + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" + }, + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + } + ] + }, + { + "name": "intersection_set_pose", + "file": "meos_pose.h", + "returnType": { + "c": "Set *", + "canonical": "Set *" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + }, + { + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" + } + ] + }, + { + "name": "minus_pose_set", + "file": "meos_pose.h", + "returnType": { + "c": "Set *", + "canonical": "Set *" + }, + "params": [ + { + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" + }, + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + } + ] + }, + { + "name": "minus_set_pose", + "file": "meos_pose.h", + "returnType": { + "c": "Set *", + "canonical": "Set *" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + }, + { + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" + } + ] + }, + { + "name": "pose_union_transfn", + "file": "meos_pose.h", + "returnType": { + "c": "Set *", + "canonical": "Set *" + }, + "params": [ + { + "name": "state", + "cType": "Set *", + "canonical": "Set *" + }, + { + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" + } + ] + }, + { + "name": "union_pose_set", + "file": "meos_pose.h", + "returnType": { + "c": "Set *", + "canonical": "Set *" + }, + "params": [ + { + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" + }, + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + } + ] + }, + { + "name": "union_set_pose", + "file": "meos_pose.h", + "returnType": { + "c": "Set *", + "canonical": "Set *" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + }, + { + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" + } + ] + }, + { + "name": "tpose_in", + "file": "meos_pose.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "tpose_make", + "file": "meos_pose.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "tpoint", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "tradius", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "tpose_to_tpoint", + "file": "meos_pose.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "tpose_end_value", + "file": "meos_pose.h", + "returnType": { + "c": "Pose *", + "canonical": "struct Pose *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "tpose_points", + "file": "meos_pose.h", + "returnType": { + "c": "Set *", + "canonical": "Set *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "tpose_rotation", + "file": "meos_pose.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "tpose_start_value", + "file": "meos_pose.h", + "returnType": { + "c": "Pose *", + "canonical": "struct Pose *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "tpose_trajectory", + "file": "meos_pose.h", + "returnType": { + "c": "int *", + "canonical": "int *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "tpose_value_at_timestamptz", + "file": "meos_pose.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "t", + "cType": "TimestampTz", + "canonical": "long" + }, + { + "name": "strict", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "value", + "cType": "Pose **", + "canonical": "struct Pose **" + } + ] + }, + { + "name": "tpose_value_n", + "file": "meos_pose.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "n", + "cType": "int", + "canonical": "int" + }, + { + "name": "result", + "cType": "Pose **", + "canonical": "struct Pose **" + } + ] + }, + { + "name": "tpose_values", + "file": "meos_pose.h", + "returnType": { + "c": "Pose **", + "canonical": "struct Pose **" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "tpose_at_geom", + "file": "meos_pose.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "tpose_at_stbox", + "file": "meos_pose.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" + }, + { + "name": "border_inc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tpose_at_pose", + "file": "meos_pose.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" + } + ] + }, + { + "name": "tpose_minus_geom", + "file": "meos_pose.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "tpose_minus_pose", + "file": "meos_pose.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" + } + ] + }, + { + "name": "tpose_minus_stbox", + "file": "meos_pose.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" + }, + { + "name": "border_inc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tdistance_tpose_pose", + "file": "meos_pose.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" + } + ] + }, + { + "name": "tdistance_tpose_point", + "file": "meos_pose.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "tdistance_tpose_tpose", + "file": "meos_pose.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "nad_tpose_geo", + "file": "meos_pose.h", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "nad_tpose_pose", + "file": "meos_pose.h", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" + } + ] + }, + { + "name": "nad_tpose_stbox", + "file": "meos_pose.h", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" + } + ] + }, + { + "name": "nad_tpose_tpose", + "file": "meos_pose.h", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "nai_tpose_geo", + "file": "meos_pose.h", + "returnType": { + "c": "TInstant *", + "canonical": "struct TInstant *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "nai_tpose_pose", + "file": "meos_pose.h", + "returnType": { + "c": "TInstant *", + "canonical": "struct TInstant *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" + } + ] + }, + { + "name": "nai_tpose_tpose", + "file": "meos_pose.h", + "returnType": { + "c": "TInstant *", + "canonical": "struct TInstant *" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "shortestline_tpose_geo", + "file": "meos_pose.h", + "returnType": { + "c": "int *", + "canonical": "int *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "shortestline_tpose_pose", + "file": "meos_pose.h", + "returnType": { + "c": "int *", + "canonical": "int *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" + } + ] + }, + { + "name": "shortestline_tpose_tpose", + "file": "meos_pose.h", + "returnType": { + "c": "int *", + "canonical": "int *" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "always_eq_pose_tpose", + "file": "meos_pose.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "always_eq_tpose_pose", + "file": "meos_pose.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" + } + ] + }, + { + "name": "always_eq_tpose_tpose", + "file": "meos_pose.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "always_ne_pose_tpose", + "file": "meos_pose.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "always_ne_tpose_pose", + "file": "meos_pose.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" + } + ] + }, + { + "name": "always_ne_tpose_tpose", + "file": "meos_pose.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "ever_eq_pose_tpose", + "file": "meos_pose.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "ever_eq_tpose_pose", + "file": "meos_pose.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" + } + ] + }, + { + "name": "ever_eq_tpose_tpose", + "file": "meos_pose.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "ever_ne_pose_tpose", + "file": "meos_pose.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "ever_ne_tpose_pose", + "file": "meos_pose.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" + } + ] + }, + { + "name": "ever_ne_tpose_tpose", + "file": "meos_pose.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "teq_pose_tpose", + "file": "meos_pose.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "teq_tpose_pose", + "file": "meos_pose.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" + } + ] + }, + { + "name": "tne_pose_tpose", + "file": "meos_pose.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "tne_tpose_pose", + "file": "meos_pose.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" + } + ] + }, + { + "name": "trgeo_out", + "file": "meos_rgeo.h", + "returnType": { + "c": "char *", + "canonical": "char *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "trgeoinst_make", + "file": "meos_rgeo.h", + "returnType": { + "c": "TInstant *", + "canonical": "struct TInstant *" + }, + "params": [ + { + "name": "geom", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" + }, + { + "name": "t", + "cType": "TimestampTz", + "canonical": "long" + } + ] + }, + { + "name": "geo_tpose_to_trgeo", + "file": "meos_rgeo.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "trgeo_to_tpose", + "file": "meos_rgeo.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "trgeo_to_tpoint", + "file": "meos_rgeo.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "trgeo_end_instant", + "file": "meos_rgeo.h", + "returnType": { + "c": "TInstant *", + "canonical": "struct TInstant *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "trgeo_end_sequence", + "file": "meos_rgeo.h", + "returnType": { + "c": "TSequence *", + "canonical": "struct TSequence *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "trgeo_end_value", + "file": "meos_rgeo.h", + "returnType": { + "c": "int *", + "canonical": "int *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "trgeo_geom", + "file": "meos_rgeo.h", + "returnType": { + "c": "int *", + "canonical": "int *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "trgeo_instant_n", + "file": "meos_rgeo.h", + "returnType": { + "c": "TInstant *", + "canonical": "struct TInstant *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "n", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "trgeo_instants", + "file": "meos_rgeo.h", + "returnType": { + "c": "TInstant **", + "canonical": "struct TInstant **" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "trgeo_points", + "file": "meos_rgeo.h", + "returnType": { + "c": "Set *", + "canonical": "Set *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "trgeo_rotation", + "file": "meos_rgeo.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "trgeo_segments", + "file": "meos_rgeo.h", + "returnType": { + "c": "TSequence **", + "canonical": "struct TSequence **" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "trgeo_sequence_n", + "file": "meos_rgeo.h", + "returnType": { + "c": "TSequence *", + "canonical": "struct TSequence *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "i", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "trgeo_sequences", + "file": "meos_rgeo.h", + "returnType": { + "c": "TSequence **", + "canonical": "struct TSequence **" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "trgeo_start_instant", + "file": "meos_rgeo.h", + "returnType": { + "c": "TInstant *", + "canonical": "struct TInstant *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "trgeo_start_sequence", + "file": "meos_rgeo.h", + "returnType": { + "c": "TSequence *", + "canonical": "struct TSequence *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "trgeo_start_value", + "file": "meos_rgeo.h", + "returnType": { + "c": "int *", + "canonical": "int *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "trgeo_value_n", + "file": "meos_rgeo.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "n", + "cType": "int", + "canonical": "int" + }, + { + "name": "result", + "cType": "int **", + "canonical": "int **" + } + ] + }, + { + "name": "trgeo_traversed_area", + "file": "meos_rgeo.h", + "returnType": { + "c": "int *", + "canonical": "int *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "unary_union", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "trgeo_append_tinstant", + "file": "meos_rgeo.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "Temporal *", + "canonical": "Temporal *" + }, + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" + }, + { + "name": "interp", + "cType": "interpType", + "canonical": "interpType" + }, + { + "name": "maxdist", + "cType": "double", + "canonical": "double" + }, + { + "name": "maxt", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "expand", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "trgeo_append_tsequence", + "file": "meos_rgeo.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "Temporal *", + "canonical": "Temporal *" + }, + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "expand", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "trgeo_delete_timestamptz", + "file": "meos_rgeo.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "t", + "cType": "TimestampTz", + "canonical": "long" + }, + { + "name": "connect", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "trgeo_delete_tstzset", + "file": "meos_rgeo.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + }, + { + "name": "connect", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "trgeo_delete_tstzspan", + "file": "meos_rgeo.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "connect", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "trgeo_delete_tstzspanset", + "file": "meos_rgeo.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" + }, + { + "name": "connect", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "trgeo_round", + "file": "meos_rgeo.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "maxdd", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "trgeo_set_interp", + "file": "meos_rgeo.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "interp", + "cType": "interpType", + "canonical": "interpType" + } + ] + }, + { + "name": "trgeo_to_tinstant", + "file": "meos_rgeo.h", + "returnType": { + "c": "TInstant *", + "canonical": "struct TInstant *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "trgeo_after_timestamptz", + "file": "meos_rgeo.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "t", + "cType": "TimestampTz", + "canonical": "long" + }, + { + "name": "strict", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "trgeo_before_timestamptz", + "file": "meos_rgeo.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "t", + "cType": "TimestampTz", + "canonical": "long" + }, + { + "name": "strict", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "trgeo_restrict_value", + "file": "meos_rgeo.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "trgeo_restrict_values", + "file": "meos_rgeo.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "trgeo_restrict_timestamptz", + "file": "meos_rgeo.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "t", + "cType": "TimestampTz", + "canonical": "long" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "trgeo_restrict_tstzset", + "file": "meos_rgeo.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "trgeo_restrict_tstzspan", + "file": "meos_rgeo.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "trgeo_restrict_tstzspanset", + "file": "meos_rgeo.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tdistance_trgeo_geo", + "file": "meos_rgeo.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "tdistance_trgeo_tpoint", + "file": "meos_rgeo.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "tdistance_trgeo_trgeo", + "file": "meos_rgeo.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "nad_stbox_trgeo", + "file": "meos_rgeo.h", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "nad_trgeo_geo", + "file": "meos_rgeo.h", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "nad_trgeo_stbox", + "file": "meos_rgeo.h", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" + } + ] + }, + { + "name": "nad_trgeo_tpoint", + "file": "meos_rgeo.h", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "nad_trgeo_trgeo", + "file": "meos_rgeo.h", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "nai_trgeo_geo", + "file": "meos_rgeo.h", + "returnType": { + "c": "TInstant *", + "canonical": "struct TInstant *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "nai_trgeo_tpoint", + "file": "meos_rgeo.h", + "returnType": { + "c": "TInstant *", + "canonical": "struct TInstant *" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "nai_trgeo_trgeo", + "file": "meos_rgeo.h", + "returnType": { + "c": "TInstant *", + "canonical": "struct TInstant *" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "shortestline_trgeo_geo", + "file": "meos_rgeo.h", + "returnType": { + "c": "int *", + "canonical": "int *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "shortestline_trgeo_tpoint", + "file": "meos_rgeo.h", + "returnType": { + "c": "int *", + "canonical": "int *" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "shortestline_trgeo_trgeo", + "file": "meos_rgeo.h", + "returnType": { + "c": "int *", + "canonical": "int *" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "always_eq_geo_trgeo", + "file": "meos_rgeo.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "always_eq_trgeo_geo", + "file": "meos_rgeo.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "always_eq_trgeo_trgeo", + "file": "meos_rgeo.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "always_ne_geo_trgeo", + "file": "meos_rgeo.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "always_ne_trgeo_geo", + "file": "meos_rgeo.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "always_ne_trgeo_trgeo", + "file": "meos_rgeo.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "ever_eq_geo_trgeo", + "file": "meos_rgeo.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "ever_eq_trgeo_geo", + "file": "meos_rgeo.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "ever_eq_trgeo_trgeo", + "file": "meos_rgeo.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "ever_ne_geo_trgeo", + "file": "meos_rgeo.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "ever_ne_trgeo_geo", + "file": "meos_rgeo.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "ever_ne_trgeo_trgeo", + "file": "meos_rgeo.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "teq_geo_trgeo", + "file": "meos_rgeo.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "teq_trgeo_geo", + "file": "meos_rgeo.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "tne_geo_trgeo", + "file": "meos_rgeo.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "tne_trgeo_geo", + "file": "meos_rgeo.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "geo_get_srid", + "file": "postgis_ext_defs.in.h", + "returnType": { + "c": "int32", + "canonical": "int" + }, + "params": [ + { + "name": "g", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + } + ] + }, + { + "name": "date_in", + "file": "postgres_ext_defs.in.h", + "returnType": { + "c": "DateADT", + "canonical": "int" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "date_out", + "file": "postgres_ext_defs.in.h", + "returnType": { + "c": "char *", + "canonical": "char *" + }, + "params": [ + { + "name": "d", + "cType": "DateADT", + "canonical": "int" + } + ] + }, + { + "name": "interval_cmp", + "file": "postgres_ext_defs.in.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "interv1", + "cType": "const Interval *", + "canonical": "const Interval *" + }, + { + "name": "interv2", + "cType": "const Interval *", + "canonical": "const Interval *" + } + ] + }, + { + "name": "interval_in", + "file": "postgres_ext_defs.in.h", + "returnType": { + "c": "Interval *", + "canonical": "Interval *" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + }, + { + "name": "typmod", + "cType": "int32", + "canonical": "int" + } + ] + }, + { + "name": "interval_out", + "file": "postgres_ext_defs.in.h", + "returnType": { + "c": "char *", + "canonical": "char *" + }, + "params": [ + { + "name": "interv", + "cType": "const Interval *", + "canonical": "const Interval *" + } + ] + }, + { + "name": "time_in", + "file": "postgres_ext_defs.in.h", + "returnType": { + "c": "TimeADT", + "canonical": "long" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + }, + { + "name": "typmod", + "cType": "int32", + "canonical": "int" + } + ] + }, + { + "name": "time_out", + "file": "postgres_ext_defs.in.h", + "returnType": { + "c": "char *", + "canonical": "char *" + }, + "params": [ + { + "name": "t", + "cType": "TimeADT", + "canonical": "long" + } + ] + }, + { + "name": "timestamp_in", + "file": "postgres_ext_defs.in.h", + "returnType": { + "c": "Timestamp", + "canonical": "long" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + }, + { + "name": "typmod", + "cType": "int32", + "canonical": "int" + } + ] + }, + { + "name": "timestamp_out", + "file": "postgres_ext_defs.in.h", + "returnType": { + "c": "char *", + "canonical": "char *" + }, + "params": [ + { + "name": "t", + "cType": "Timestamp", + "canonical": "long" + } + ] + }, + { + "name": "timestamptz_in", + "file": "postgres_ext_defs.in.h", + "returnType": { + "c": "TimestampTz", + "canonical": "long" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + }, + { + "name": "typmod", + "cType": "int32", + "canonical": "int" + } + ] + }, + { + "name": "timestamptz_out", + "file": "postgres_ext_defs.in.h", + "returnType": { + "c": "char *", + "canonical": "char *" + }, + "params": [ + { + "name": "t", + "cType": "TimestampTz", + "canonical": "long" + } + ] + } + ], + "structs": [ + { + "name": "Set", + "file": "meos.h", + "fields": [ + { + "name": "vl_len_", + "cType": "int32", + "offset_bits": 0 + }, + { + "name": "settype", + "cType": "uint8", + "offset_bits": 32 + }, + { + "name": "basetype", + "cType": "uint8", + "offset_bits": 40 + }, + { + "name": "flags", + "cType": "int16", + "offset_bits": 48 + }, + { + "name": "count", + "cType": "int32", + "offset_bits": 64 + }, + { + "name": "maxcount", + "cType": "int32", + "offset_bits": 96 + }, + { + "name": "bboxsize", + "cType": "int16", + "offset_bits": 128 + } + ] + }, + { + "name": "Span", + "file": "meos.h", + "fields": [ + { + "name": "spantype", + "cType": "uint8", + "offset_bits": -1 + }, + { + "name": "basetype", + "cType": "uint8", + "offset_bits": -1 + }, + { + "name": "lower_inc", + "cType": "_Bool", + "offset_bits": -1 + }, + { + "name": "upper_inc", + "cType": "_Bool", + "offset_bits": -1 + }, + { + "name": "padding", + "cType": "char[4]", + "offset_bits": -1 + }, + { + "name": "lower", + "cType": "int", + "offset_bits": -1 + }, + { + "name": "upper", + "cType": "int", + "offset_bits": -1 + } + ] + }, + { + "name": "SpanSet", + "file": "meos.h", + "fields": [ + { + "name": "vl_len_", + "cType": "int32", + "offset_bits": -1 + }, + { + "name": "spansettype", + "cType": "uint8", + "offset_bits": -1 + }, + { + "name": "spantype", + "cType": "uint8", + "offset_bits": -1 + }, + { + "name": "basetype", + "cType": "uint8", + "offset_bits": -1 + }, + { + "name": "padding", + "cType": "char", + "offset_bits": -1 + }, + { + "name": "count", + "cType": "int32", + "offset_bits": -1 + }, + { + "name": "maxcount", + "cType": "int32", + "offset_bits": -1 + }, + { + "name": "span", + "cType": "Span", + "offset_bits": -1 + }, + { + "name": "elems", + "cType": "Span[1]", + "offset_bits": -1 + } + ] + }, + { + "name": "TBox", + "file": "meos.h", + "fields": [ + { + "name": "period", + "cType": "Span", + "offset_bits": -1 + }, + { + "name": "span", + "cType": "Span", + "offset_bits": -1 + }, + { + "name": "flags", + "cType": "int16", + "offset_bits": -1 + } + ] + }, + { + "name": "STBox", + "file": "meos.h", + "fields": [ + { + "name": "period", + "cType": "Span", + "offset_bits": -1 + }, + { + "name": "xmin", + "cType": "double", + "offset_bits": -1 + }, + { + "name": "ymin", + "cType": "double", + "offset_bits": -1 + }, + { + "name": "zmin", + "cType": "double", + "offset_bits": -1 + }, + { + "name": "xmax", + "cType": "double", + "offset_bits": -1 + }, + { + "name": "ymax", + "cType": "double", + "offset_bits": -1 + }, + { + "name": "zmax", + "cType": "double", + "offset_bits": -1 + }, + { + "name": "srid", + "cType": "int32_t", + "offset_bits": -1 + }, + { + "name": "flags", + "cType": "int16", + "offset_bits": -1 + } + ] + }, + { + "name": "Temporal", + "file": "meos.h", + "fields": [ + { + "name": "vl_len_", + "cType": "int32", + "offset_bits": 0 + }, + { + "name": "temptype", + "cType": "uint8", + "offset_bits": 32 + }, + { + "name": "subtype", + "cType": "uint8", + "offset_bits": 40 + }, + { + "name": "flags", + "cType": "int16", + "offset_bits": 48 + } + ] + }, + { + "name": "TInstant", + "file": "meos.h", + "fields": [ + { + "name": "vl_len_", + "cType": "int32", + "offset_bits": -1 + }, + { + "name": "temptype", + "cType": "uint8", + "offset_bits": -1 + }, + { + "name": "subtype", + "cType": "uint8", + "offset_bits": -1 + }, + { + "name": "flags", + "cType": "int16", + "offset_bits": -1 + }, + { + "name": "t", + "cType": "TimestampTz", + "offset_bits": -1 + }, + { + "name": "value", + "cType": "int", + "offset_bits": -1 + } + ], + "meosType": "TPointInst" + }, + { + "name": "TSequence", + "file": "meos.h", + "fields": [ + { + "name": "vl_len_", + "cType": "int32", + "offset_bits": -1 + }, + { + "name": "temptype", + "cType": "uint8", + "offset_bits": -1 + }, + { + "name": "subtype", + "cType": "uint8", + "offset_bits": -1 + }, + { + "name": "flags", + "cType": "int16", + "offset_bits": -1 + }, + { + "name": "count", + "cType": "int32", + "offset_bits": -1 + }, + { + "name": "maxcount", + "cType": "int32", + "offset_bits": -1 + }, + { + "name": "bboxsize", + "cType": "int16", + "offset_bits": -1 + }, + { + "name": "padding", + "cType": "char[6]", + "offset_bits": -1 + }, + { + "name": "period", + "cType": "Span", + "offset_bits": -1 + } + ], + "meosType": "TPointSeq" + }, + { + "name": "TSequenceSet", + "file": "meos.h", + "fields": [ + { + "name": "vl_len_", + "cType": "int32", + "offset_bits": -1 + }, + { + "name": "temptype", + "cType": "uint8", + "offset_bits": -1 + }, + { + "name": "subtype", + "cType": "uint8", + "offset_bits": -1 + }, + { + "name": "flags", + "cType": "int16", + "offset_bits": -1 + }, + { + "name": "count", + "cType": "int32", + "offset_bits": -1 + }, + { + "name": "totalcount", + "cType": "int32", + "offset_bits": -1 + }, + { + "name": "maxcount", + "cType": "int32", + "offset_bits": -1 + }, + { + "name": "bboxsize", + "cType": "int16", + "offset_bits": -1 + }, + { + "name": "padding", + "cType": "int16", + "offset_bits": -1 + }, + { + "name": "period", + "cType": "Span", + "offset_bits": -1 + } + ] + }, + { + "name": "Match", + "file": "meos.h", + "fields": [ + { + "name": "i", + "cType": "int", + "offset_bits": 0 + }, + { + "name": "j", + "cType": "int", + "offset_bits": 32 + } + ] + }, + { + "name": "SkipList", + "file": "meos.h", + "fields": [] + }, + { + "name": "MeosArray", + "file": "meos.h", + "fields": [] + }, + { + "name": "RTree", + "file": "meos.h", + "fields": [] + }, + { + "name": "Cbuffer", + "file": "meos_cbuffer.h", + "fields": [] + }, + { + "name": "SkipListElem", + "file": "meos_internal.h", + "fields": [ + { + "name": "key", + "cType": "void *", + "offset_bits": 0 + }, + { + "name": "value", + "cType": "void *", + "offset_bits": 64 + }, + { + "name": "height", + "cType": "int", + "offset_bits": 128 + }, + { + "name": "next", + "cType": "int[32]", + "offset_bits": 160 + } + ] + }, + { + "name": "Npoint", + "file": "meos_npoint.h", + "fields": [ + { + "name": "rid", + "cType": "int64", + "offset_bits": 0 + }, + { + "name": "pos", + "cType": "double", + "offset_bits": 64 + } + ] + }, + { + "name": "Nsegment", + "file": "meos_npoint.h", + "fields": [ + { + "name": "rid", + "cType": "int64", + "offset_bits": 0 + }, + { + "name": "pos1", + "cType": "double", + "offset_bits": 64 + }, + { + "name": "pos2", + "cType": "double", + "offset_bits": 128 + } + ] + }, + { + "name": "Pose", + "file": "meos_pose.h", + "fields": [] + }, + { + "name": "AFFINE", + "file": "postgis_ext_defs.in.h", + "fields": [ + { + "name": "afac", + "cType": "double", + "offset_bits": 0 + }, + { + "name": "bfac", + "cType": "double", + "offset_bits": 64 + }, + { + "name": "cfac", + "cType": "double", + "offset_bits": 128 + }, + { + "name": "dfac", + "cType": "double", + "offset_bits": 192 + }, + { + "name": "efac", + "cType": "double", + "offset_bits": 256 + }, + { + "name": "ffac", + "cType": "double", + "offset_bits": 320 }, { - "name": "temp", - "cType": "Temporal *", - "canonical": "Temporal *" + "name": "gfac", + "cType": "double", + "offset_bits": 384 + }, + { + "name": "hfac", + "cType": "double", + "offset_bits": 448 + }, + { + "name": "ifac", + "cType": "double", + "offset_bits": 512 + }, + { + "name": "xoff", + "cType": "double", + "offset_bits": 576 + }, + { + "name": "yoff", + "cType": "double", + "offset_bits": 640 + }, + { + "name": "zoff", + "cType": "double", + "offset_bits": 704 } ] }, { - "name": "tspatial_extent_transfn", - "file": "meos_geo.h", - "returnType": { - "c": "STBox *", - "canonical": "STBox *" - }, - "params": [ + "name": "BOX3D", + "file": "postgis_ext_defs.in.h", + "fields": [ { - "name": "box", - "cType": "STBox *", - "canonical": "STBox *" + "name": "xmin", + "cType": "double", + "offset_bits": 0 }, { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "ymin", + "cType": "double", + "offset_bits": 64 + }, + { + "name": "zmin", + "cType": "double", + "offset_bits": 128 + }, + { + "name": "xmax", + "cType": "double", + "offset_bits": 192 + }, + { + "name": "ymax", + "cType": "double", + "offset_bits": 256 + }, + { + "name": "zmax", + "cType": "double", + "offset_bits": 320 + }, + { + "name": "srid", + "cType": "int32_t", + "offset_bits": 384 } ] }, { - "name": "stbox_get_space_tile", - "file": "meos_geo.h", - "returnType": { - "c": "STBox *", - "canonical": "STBox *" - }, - "params": [ + "name": "GBOX", + "file": "postgis_ext_defs.in.h", + "fields": [ { - "name": "point", - "cType": "const int *", - "canonical": "const int *" + "name": "flags", + "cType": "lwflags_t", + "offset_bits": 0 }, { - "name": "xsize", + "name": "xmin", "cType": "double", - "canonical": "double" + "offset_bits": 64 }, { - "name": "ysize", + "name": "xmax", "cType": "double", - "canonical": "double" + "offset_bits": 128 }, { - "name": "zsize", + "name": "ymin", "cType": "double", - "canonical": "double" + "offset_bits": 192 }, { - "name": "sorigin", - "cType": "const int *", - "canonical": "const int *" + "name": "ymax", + "cType": "double", + "offset_bits": 256 + }, + { + "name": "zmin", + "cType": "double", + "offset_bits": 320 + }, + { + "name": "zmax", + "cType": "double", + "offset_bits": 384 + }, + { + "name": "mmin", + "cType": "double", + "offset_bits": 448 + }, + { + "name": "mmax", + "cType": "double", + "offset_bits": 512 } ] }, { - "name": "stbox_get_space_time_tile", - "file": "meos_geo.h", - "returnType": { - "c": "STBox *", - "canonical": "STBox *" - }, - "params": [ + "name": "SPHEROID", + "file": "postgis_ext_defs.in.h", + "fields": [ { - "name": "point", - "cType": "const int *", - "canonical": "const int *" + "name": "a", + "cType": "double", + "offset_bits": 0 }, { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" + "name": "b", + "cType": "double", + "offset_bits": 64 }, { - "name": "xsize", + "name": "f", "cType": "double", - "canonical": "double" + "offset_bits": 128 }, { - "name": "ysize", + "name": "e", "cType": "double", - "canonical": "double" + "offset_bits": 192 }, { - "name": "zsize", + "name": "e_sq", "cType": "double", - "canonical": "double" + "offset_bits": 256 }, { - "name": "duration", - "cType": "const Interval *", - "canonical": "const Interval *" + "name": "radius", + "cType": "double", + "offset_bits": 320 }, { - "name": "sorigin", - "cType": "const int *", - "canonical": "const int *" + "name": "name", + "cType": "char[20]", + "offset_bits": 384 + } + ] + }, + { + "name": "POINT2D", + "file": "postgis_ext_defs.in.h", + "fields": [ + { + "name": "x", + "cType": "double", + "offset_bits": 0 }, { - "name": "torigin", - "cType": "TimestampTz", - "canonical": "long" + "name": "y", + "cType": "double", + "offset_bits": 64 } ] }, { - "name": "stbox_get_time_tile", - "file": "meos_geo.h", - "returnType": { - "c": "STBox *", - "canonical": "STBox *" - }, - "params": [ + "name": "POINT3DZ", + "file": "postgis_ext_defs.in.h", + "fields": [ { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" + "name": "x", + "cType": "double", + "offset_bits": 0 }, { - "name": "duration", - "cType": "const Interval *", - "canonical": "const Interval *" + "name": "y", + "cType": "double", + "offset_bits": 64 }, { - "name": "torigin", - "cType": "TimestampTz", - "canonical": "long" + "name": "z", + "cType": "double", + "offset_bits": 128 } ] }, { - "name": "stbox_space_tiles", - "file": "meos_geo.h", - "returnType": { - "c": "STBox *", - "canonical": "STBox *" - }, - "params": [ - { - "name": "bounds", - "cType": "const STBox *", - "canonical": "const STBox *" - }, + "name": "POINT3D", + "file": "postgis_ext_defs.in.h", + "fields": [ { - "name": "xsize", + "name": "x", "cType": "double", - "canonical": "double" + "offset_bits": 0 }, { - "name": "ysize", + "name": "y", "cType": "double", - "canonical": "double" + "offset_bits": 64 }, { - "name": "zsize", + "name": "z", "cType": "double", - "canonical": "double" - }, + "offset_bits": 128 + } + ] + }, + { + "name": "POINT3DM", + "file": "postgis_ext_defs.in.h", + "fields": [ { - "name": "sorigin", - "cType": "const int *", - "canonical": "const int *" + "name": "x", + "cType": "double", + "offset_bits": 0 }, { - "name": "border_inc", - "cType": "bool", - "canonical": "bool" + "name": "y", + "cType": "double", + "offset_bits": 64 }, { - "name": "count", - "cType": "int *", - "canonical": "int *" + "name": "m", + "cType": "double", + "offset_bits": 128 } ] }, { - "name": "stbox_space_time_tiles", - "file": "meos_geo.h", - "returnType": { - "c": "STBox *", - "canonical": "STBox *" - }, - "params": [ + "name": "POINT4D", + "file": "postgis_ext_defs.in.h", + "fields": [ { - "name": "bounds", - "cType": "const STBox *", - "canonical": "const STBox *" + "name": "x", + "cType": "double", + "offset_bits": 0 }, { - "name": "xsize", + "name": "y", "cType": "double", - "canonical": "double" + "offset_bits": 64 }, { - "name": "ysize", + "name": "z", "cType": "double", - "canonical": "double" + "offset_bits": 128 }, { - "name": "zsize", + "name": "m", "cType": "double", - "canonical": "double" + "offset_bits": 192 + } + ] + }, + { + "name": "POINTARRAY", + "file": "postgis_ext_defs.in.h", + "fields": [ + { + "name": "npoints", + "cType": "uint32_t", + "offset_bits": 0 }, { - "name": "duration", - "cType": "const Interval *", - "canonical": "const Interval *" + "name": "maxpoints", + "cType": "uint32_t", + "offset_bits": 32 }, { - "name": "sorigin", - "cType": "const int *", - "canonical": "const int *" + "name": "flags", + "cType": "lwflags_t", + "offset_bits": 64 }, { - "name": "torigin", - "cType": "TimestampTz", - "canonical": "long" + "name": "serialized_pointlist", + "cType": "uint8_t *", + "offset_bits": 128 + } + ] + }, + { + "name": "GSERIALIZED", + "file": "postgis_ext_defs.in.h", + "fields": [ + { + "name": "size", + "cType": "uint32_t", + "offset_bits": 0 }, { - "name": "border_inc", - "cType": "bool", - "canonical": "bool" + "name": "srid", + "cType": "uint8_t[3]", + "offset_bits": 32 }, { - "name": "count", - "cType": "int *", - "canonical": "int *" + "name": "gflags", + "cType": "uint8_t", + "offset_bits": 56 + }, + { + "name": "data", + "cType": "uint8_t[1]", + "offset_bits": 64 } ] }, { - "name": "stbox_time_tiles", - "file": "meos_geo.h", - "returnType": { - "c": "STBox *", - "canonical": "STBox *" - }, - "params": [ + "name": "LWGEOM", + "file": "postgis_ext_defs.in.h", + "fields": [ { - "name": "bounds", - "cType": "const STBox *", - "canonical": "const STBox *" + "name": "bbox", + "cType": "GBOX *", + "offset_bits": 0 }, { - "name": "duration", - "cType": "const Interval *", - "canonical": "const Interval *" + "name": "data", + "cType": "void *", + "offset_bits": 64 }, { - "name": "torigin", - "cType": "TimestampTz", - "canonical": "long" + "name": "srid", + "cType": "int32_t", + "offset_bits": 128 }, { - "name": "border_inc", - "cType": "bool", - "canonical": "bool" + "name": "flags", + "cType": "lwflags_t", + "offset_bits": 160 }, { - "name": "count", - "cType": "int *", - "canonical": "int *" + "name": "type", + "cType": "uint8_t", + "offset_bits": 176 + }, + { + "name": "pad", + "cType": "char[1]", + "offset_bits": 184 } ] }, { - "name": "tgeo_space_split", - "file": "meos_geo.h", - "returnType": { - "c": "Temporal **", - "canonical": "Temporal **" - }, - "params": [ + "name": "LWPOINT", + "file": "postgis_ext_defs.in.h", + "fields": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "bbox", + "cType": "GBOX *", + "offset_bits": 0 }, { - "name": "xsize", - "cType": "double", - "canonical": "double" + "name": "point", + "cType": "POINTARRAY *", + "offset_bits": 64 }, { - "name": "ysize", - "cType": "double", - "canonical": "double" + "name": "srid", + "cType": "int32_t", + "offset_bits": 128 }, { - "name": "zsize", - "cType": "double", - "canonical": "double" + "name": "flags", + "cType": "lwflags_t", + "offset_bits": 160 }, { - "name": "sorigin", - "cType": "const int *", - "canonical": "const int *" + "name": "type", + "cType": "uint8_t", + "offset_bits": 176 }, { - "name": "bitmatrix", - "cType": "bool", - "canonical": "bool" + "name": "pad", + "cType": "char[1]", + "offset_bits": 184 + } + ] + }, + { + "name": "LWLINE", + "file": "postgis_ext_defs.in.h", + "fields": [ + { + "name": "bbox", + "cType": "GBOX *", + "offset_bits": 0 }, { - "name": "border_inc", - "cType": "bool", - "canonical": "bool" + "name": "points", + "cType": "POINTARRAY *", + "offset_bits": 64 }, { - "name": "space_bins", - "cType": "int ***", - "canonical": "int ***" + "name": "srid", + "cType": "int32_t", + "offset_bits": 128 }, { - "name": "count", - "cType": "int *", - "canonical": "int *" + "name": "flags", + "cType": "lwflags_t", + "offset_bits": 160 + }, + { + "name": "type", + "cType": "uint8_t", + "offset_bits": 176 + }, + { + "name": "pad", + "cType": "char[1]", + "offset_bits": 184 } ] }, { - "name": "tgeo_space_time_split", - "file": "meos_geo.h", - "returnType": { - "c": "Temporal **", - "canonical": "Temporal **" - }, - "params": [ + "name": "LWTRIANGLE", + "file": "postgis_ext_defs.in.h", + "fields": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "bbox", + "cType": "GBOX *", + "offset_bits": 0 }, { - "name": "xsize", - "cType": "double", - "canonical": "double" + "name": "points", + "cType": "POINTARRAY *", + "offset_bits": 64 }, { - "name": "ysize", - "cType": "double", - "canonical": "double" + "name": "srid", + "cType": "int32_t", + "offset_bits": 128 }, { - "name": "zsize", - "cType": "double", - "canonical": "double" + "name": "flags", + "cType": "lwflags_t", + "offset_bits": 160 }, { - "name": "duration", - "cType": "const Interval *", - "canonical": "const Interval *" + "name": "type", + "cType": "uint8_t", + "offset_bits": 176 }, { - "name": "sorigin", - "cType": "const int *", - "canonical": "const int *" - }, + "name": "pad", + "cType": "char[1]", + "offset_bits": 184 + } + ] + }, + { + "name": "LWCIRCSTRING", + "file": "postgis_ext_defs.in.h", + "fields": [ { - "name": "torigin", - "cType": "TimestampTz", - "canonical": "long" + "name": "bbox", + "cType": "GBOX *", + "offset_bits": 0 }, { - "name": "bitmatrix", - "cType": "bool", - "canonical": "bool" + "name": "points", + "cType": "POINTARRAY *", + "offset_bits": 64 }, { - "name": "border_inc", - "cType": "bool", - "canonical": "bool" + "name": "srid", + "cType": "int32_t", + "offset_bits": 128 }, { - "name": "space_bins", - "cType": "int ***", - "canonical": "int ***" + "name": "flags", + "cType": "lwflags_t", + "offset_bits": 160 }, { - "name": "time_bins", - "cType": "TimestampTz **", - "canonical": "long **" + "name": "type", + "cType": "uint8_t", + "offset_bits": 176 }, { - "name": "count", - "cType": "int *", - "canonical": "int *" + "name": "pad", + "cType": "char[1]", + "offset_bits": 184 } ] }, { - "name": "geo_cluster_kmeans", - "file": "meos_geo.h", - "returnType": { - "c": "int *", - "canonical": "int *" - }, - "params": [ + "name": "LWPOLY", + "file": "postgis_ext_defs.in.h", + "fields": [ { - "name": "geoms", - "cType": "const int **", - "canonical": "const int **" + "name": "bbox", + "cType": "GBOX *", + "offset_bits": 0 + }, + { + "name": "rings", + "cType": "POINTARRAY **", + "offset_bits": 64 + }, + { + "name": "srid", + "cType": "int32_t", + "offset_bits": 128 + }, + { + "name": "flags", + "cType": "lwflags_t", + "offset_bits": 160 + }, + { + "name": "type", + "cType": "uint8_t", + "offset_bits": 176 + }, + { + "name": "pad", + "cType": "char[1]", + "offset_bits": 184 }, { - "name": "ngeoms", + "name": "nrings", "cType": "uint32_t", - "canonical": "unsigned int" + "offset_bits": 192 }, { - "name": "k", + "name": "maxrings", "cType": "uint32_t", - "canonical": "unsigned int" + "offset_bits": 224 } ] }, { - "name": "geo_cluster_dbscan", - "file": "meos_geo.h", - "returnType": { - "c": "uint32_t *", - "canonical": "unsigned int *" - }, - "params": [ + "name": "LWMPOINT", + "file": "postgis_ext_defs.in.h", + "fields": [ { - "name": "geoms", - "cType": "const int **", - "canonical": "const int **" + "name": "bbox", + "cType": "GBOX *", + "offset_bits": 0 }, { - "name": "ngeoms", - "cType": "uint32_t", - "canonical": "unsigned int" + "name": "geoms", + "cType": "LWPOINT **", + "offset_bits": 64 }, { - "name": "tolerance", - "cType": "double", - "canonical": "double" + "name": "srid", + "cType": "int32_t", + "offset_bits": 128 }, { - "name": "minpoints", - "cType": "int", - "canonical": "int" + "name": "flags", + "cType": "lwflags_t", + "offset_bits": 160 }, { - "name": "count", - "cType": "int *", - "canonical": "int *" - } - ] - }, - { - "name": "geo_cluster_intersecting", - "file": "meos_geo.h", - "returnType": { - "c": "int **", - "canonical": "int **" - }, - "params": [ + "name": "type", + "cType": "uint8_t", + "offset_bits": 176 + }, { - "name": "geoms", - "cType": "const int **", - "canonical": "const int **" + "name": "pad", + "cType": "char[1]", + "offset_bits": 184 }, { "name": "ngeoms", "cType": "uint32_t", - "canonical": "unsigned int" + "offset_bits": 192 }, { - "name": "count", - "cType": "int *", - "canonical": "int *" + "name": "maxgeoms", + "cType": "uint32_t", + "offset_bits": 224 } ] }, { - "name": "geo_cluster_within", - "file": "meos_geo.h", - "returnType": { - "c": "int **", - "canonical": "int **" - }, - "params": [ + "name": "LWMLINE", + "file": "postgis_ext_defs.in.h", + "fields": [ + { + "name": "bbox", + "cType": "GBOX *", + "offset_bits": 0 + }, { "name": "geoms", - "cType": "const int **", - "canonical": "const int **" + "cType": "LWLINE **", + "offset_bits": 64 }, { - "name": "ngeoms", - "cType": "uint32_t", - "canonical": "unsigned int" + "name": "srid", + "cType": "int32_t", + "offset_bits": 128 }, { - "name": "tolerance", - "cType": "double", - "canonical": "double" + "name": "flags", + "cType": "lwflags_t", + "offset_bits": 160 }, { - "name": "count", - "cType": "int *", - "canonical": "int *" + "name": "type", + "cType": "uint8_t", + "offset_bits": 176 + }, + { + "name": "pad", + "cType": "char[1]", + "offset_bits": 184 + }, + { + "name": "ngeoms", + "cType": "uint32_t", + "offset_bits": 192 + }, + { + "name": "maxgeoms", + "cType": "uint32_t", + "offset_bits": 224 } ] - } - ], - "structs": [ + }, { - "name": "Set", - "file": "meos.h", + "name": "LWMPOLY", + "file": "postgis_ext_defs.in.h", "fields": [ { - "name": "vl_len_", - "cType": "int32", + "name": "bbox", + "cType": "GBOX *", "offset_bits": 0 }, { - "name": "settype", - "cType": "uint8", - "offset_bits": 32 + "name": "geoms", + "cType": "LWPOLY **", + "offset_bits": 64 }, { - "name": "basetype", - "cType": "uint8", - "offset_bits": 40 + "name": "srid", + "cType": "int32_t", + "offset_bits": 128 }, { "name": "flags", - "cType": "int16", - "offset_bits": 48 + "cType": "lwflags_t", + "offset_bits": 160 }, { - "name": "count", - "cType": "int32", - "offset_bits": 64 + "name": "type", + "cType": "uint8_t", + "offset_bits": 176 }, { - "name": "maxcount", - "cType": "int32", - "offset_bits": 96 + "name": "pad", + "cType": "char[1]", + "offset_bits": 184 }, { - "name": "bboxsize", - "cType": "int16", - "offset_bits": 128 + "name": "ngeoms", + "cType": "uint32_t", + "offset_bits": 192 + }, + { + "name": "maxgeoms", + "cType": "uint32_t", + "offset_bits": 224 } ] }, { - "name": "Span", - "file": "meos.h", + "name": "LWCOLLECTION", + "file": "postgis_ext_defs.in.h", "fields": [ { - "name": "spantype", - "cType": "uint8", + "name": "bbox", + "cType": "GBOX *", "offset_bits": 0 }, { - "name": "basetype", - "cType": "uint8", - "offset_bits": 8 + "name": "geoms", + "cType": "LWGEOM **", + "offset_bits": 64 }, { - "name": "lower_inc", - "cType": "bool", - "offset_bits": 16 + "name": "srid", + "cType": "int32_t", + "offset_bits": 128 }, { - "name": "upper_inc", - "cType": "bool", - "offset_bits": 24 + "name": "flags", + "cType": "lwflags_t", + "offset_bits": 160 }, { - "name": "padding", - "cType": "char[4]", - "offset_bits": 32 + "name": "type", + "cType": "uint8_t", + "offset_bits": 176 }, { - "name": "lower", - "cType": "Datum", - "offset_bits": 64 + "name": "pad", + "cType": "char[1]", + "offset_bits": 184 }, { - "name": "upper", - "cType": "Datum", - "offset_bits": 128 + "name": "ngeoms", + "cType": "uint32_t", + "offset_bits": 192 + }, + { + "name": "maxgeoms", + "cType": "uint32_t", + "offset_bits": 224 } ] }, { - "name": "SpanSet", - "file": "meos.h", + "name": "LWCOMPOUND", + "file": "postgis_ext_defs.in.h", "fields": [ { - "name": "vl_len_", - "cType": "int32", + "name": "bbox", + "cType": "GBOX *", "offset_bits": 0 }, { - "name": "spansettype", - "cType": "uint8", - "offset_bits": 32 - }, - { - "name": "spantype", - "cType": "uint8", - "offset_bits": 40 + "name": "geoms", + "cType": "LWGEOM **", + "offset_bits": 64 }, { - "name": "basetype", - "cType": "uint8", - "offset_bits": 48 + "name": "srid", + "cType": "int32_t", + "offset_bits": 128 }, { - "name": "padding", - "cType": "char", - "offset_bits": 56 + "name": "flags", + "cType": "lwflags_t", + "offset_bits": 160 }, { - "name": "count", - "cType": "int32", - "offset_bits": 64 + "name": "type", + "cType": "uint8_t", + "offset_bits": 176 }, { - "name": "maxcount", - "cType": "int32", - "offset_bits": 96 + "name": "pad", + "cType": "char[1]", + "offset_bits": 184 }, { - "name": "span", - "cType": "Span", - "offset_bits": 128 + "name": "ngeoms", + "cType": "uint32_t", + "offset_bits": 192 }, { - "name": "elems", - "cType": "Span[1]", - "offset_bits": 320 + "name": "maxgeoms", + "cType": "uint32_t", + "offset_bits": 224 } ] }, { - "name": "TBox", - "file": "meos.h", + "name": "LWCURVEPOLY", + "file": "postgis_ext_defs.in.h", "fields": [ { - "name": "period", - "cType": "Span", + "name": "bbox", + "cType": "GBOX *", "offset_bits": 0 }, { - "name": "span", - "cType": "Span", - "offset_bits": 192 + "name": "rings", + "cType": "LWGEOM **", + "offset_bits": 64 + }, + { + "name": "srid", + "cType": "int32_t", + "offset_bits": 128 }, { "name": "flags", - "cType": "int16", - "offset_bits": 384 + "cType": "lwflags_t", + "offset_bits": 160 + }, + { + "name": "type", + "cType": "uint8_t", + "offset_bits": 176 + }, + { + "name": "pad", + "cType": "char[1]", + "offset_bits": 184 + }, + { + "name": "nrings", + "cType": "uint32_t", + "offset_bits": 192 + }, + { + "name": "maxrings", + "cType": "uint32_t", + "offset_bits": 224 } ] }, { - "name": "STBox", - "file": "meos.h", + "name": "LWMCURVE", + "file": "postgis_ext_defs.in.h", "fields": [ { - "name": "period", - "cType": "Span", + "name": "bbox", + "cType": "GBOX *", "offset_bits": 0 }, { - "name": "xmin", - "cType": "double", - "offset_bits": 192 - }, - { - "name": "ymin", - "cType": "double", - "offset_bits": 256 + "name": "geoms", + "cType": "LWGEOM **", + "offset_bits": 64 }, { - "name": "zmin", - "cType": "double", - "offset_bits": 320 + "name": "srid", + "cType": "int32_t", + "offset_bits": 128 }, { - "name": "xmax", - "cType": "double", - "offset_bits": 384 + "name": "flags", + "cType": "lwflags_t", + "offset_bits": 160 }, { - "name": "ymax", - "cType": "double", - "offset_bits": 448 + "name": "type", + "cType": "uint8_t", + "offset_bits": 176 }, { - "name": "zmax", - "cType": "double", - "offset_bits": 512 + "name": "pad", + "cType": "char[1]", + "offset_bits": 184 }, { - "name": "srid", - "cType": "int32_t", - "offset_bits": 576 + "name": "ngeoms", + "cType": "uint32_t", + "offset_bits": 192 }, { - "name": "flags", - "cType": "int16", - "offset_bits": 608 + "name": "maxgeoms", + "cType": "uint32_t", + "offset_bits": 224 } ] }, { - "name": "Temporal", - "file": "meos.h", + "name": "LWMSURFACE", + "file": "postgis_ext_defs.in.h", "fields": [ { - "name": "vl_len_", - "cType": "int32", + "name": "bbox", + "cType": "GBOX *", "offset_bits": 0 }, { - "name": "temptype", - "cType": "uint8", - "offset_bits": 32 + "name": "geoms", + "cType": "LWGEOM **", + "offset_bits": 64 }, { - "name": "subtype", - "cType": "uint8", - "offset_bits": 40 + "name": "srid", + "cType": "int32_t", + "offset_bits": 128 }, { "name": "flags", - "cType": "int16", - "offset_bits": 48 + "cType": "lwflags_t", + "offset_bits": 160 + }, + { + "name": "type", + "cType": "uint8_t", + "offset_bits": 176 + }, + { + "name": "pad", + "cType": "char[1]", + "offset_bits": 184 + }, + { + "name": "ngeoms", + "cType": "uint32_t", + "offset_bits": 192 + }, + { + "name": "maxgeoms", + "cType": "uint32_t", + "offset_bits": 224 } ] }, { - "name": "TInstant", - "file": "meos.h", + "name": "LWPSURFACE", + "file": "postgis_ext_defs.in.h", "fields": [ { - "name": "vl_len_", - "cType": "int32", + "name": "bbox", + "cType": "GBOX *", "offset_bits": 0 }, { - "name": "temptype", - "cType": "uint8", - "offset_bits": 32 + "name": "geoms", + "cType": "LWPOLY **", + "offset_bits": 64 }, { - "name": "subtype", - "cType": "uint8", - "offset_bits": 40 + "name": "srid", + "cType": "int32_t", + "offset_bits": 128 }, { "name": "flags", - "cType": "int16", - "offset_bits": 48 + "cType": "lwflags_t", + "offset_bits": 160 }, { - "name": "t", - "cType": "TimestampTz", - "offset_bits": 64 + "name": "type", + "cType": "uint8_t", + "offset_bits": 176 }, { - "name": "value", - "cType": "Datum", - "offset_bits": 128 + "name": "pad", + "cType": "char[1]", + "offset_bits": 184 + }, + { + "name": "ngeoms", + "cType": "uint32_t", + "offset_bits": 192 + }, + { + "name": "maxgeoms", + "cType": "uint32_t", + "offset_bits": 224 } - ], - "meosType": "TPointInst" + ] }, { - "name": "TSequence", - "file": "meos.h", + "name": "LWTIN", + "file": "postgis_ext_defs.in.h", "fields": [ { - "name": "vl_len_", - "cType": "int32", + "name": "bbox", + "cType": "GBOX *", "offset_bits": 0 }, { - "name": "temptype", - "cType": "uint8", - "offset_bits": 32 + "name": "geoms", + "cType": "LWTRIANGLE **", + "offset_bits": 64 }, { - "name": "subtype", - "cType": "uint8", - "offset_bits": 40 + "name": "srid", + "cType": "int32_t", + "offset_bits": 128 }, { "name": "flags", - "cType": "int16", - "offset_bits": 48 - }, - { - "name": "count", - "cType": "int32", - "offset_bits": 64 + "cType": "lwflags_t", + "offset_bits": 160 }, { - "name": "maxcount", - "cType": "int32", - "offset_bits": 96 + "name": "type", + "cType": "uint8_t", + "offset_bits": 176 }, { - "name": "bboxsize", - "cType": "int16", - "offset_bits": 128 + "name": "pad", + "cType": "char[1]", + "offset_bits": 184 }, { - "name": "padding", - "cType": "char[6]", - "offset_bits": 144 + "name": "ngeoms", + "cType": "uint32_t", + "offset_bits": 192 }, { - "name": "period", - "cType": "Span", - "offset_bits": 192 + "name": "maxgeoms", + "cType": "uint32_t", + "offset_bits": 224 } - ], - "meosType": "TPointSeq" + ] }, { - "name": "TSequenceSet", - "file": "meos.h", + "name": "PJconsts", + "file": "postgis_ext_defs.in.h", + "fields": [] + }, + { + "name": "LWPROJ", + "file": "postgis_ext_defs.in.h", "fields": [ { - "name": "vl_len_", - "cType": "int32", + "name": "pj", + "cType": "PJ *", "offset_bits": 0 }, { - "name": "temptype", - "cType": "uint8", - "offset_bits": 32 - }, - { - "name": "subtype", - "cType": "uint8", - "offset_bits": 40 - }, - { - "name": "flags", - "cType": "int16", - "offset_bits": 48 - }, - { - "name": "count", - "cType": "int32", + "name": "pipeline_is_forward", + "cType": "_Bool", "offset_bits": 64 }, { - "name": "totalcount", - "cType": "int32", - "offset_bits": 96 + "name": "source_is_latlong", + "cType": "uint8_t", + "offset_bits": 72 }, { - "name": "maxcount", - "cType": "int32", + "name": "source_semi_major_metre", + "cType": "double", "offset_bits": 128 }, { - "name": "bboxsize", - "cType": "int16", - "offset_bits": 160 + "name": "source_semi_minor_metre", + "cType": "double", + "offset_bits": 192 + } + ] + }, + { + "name": "Interval", + "file": "postgres_ext_defs.in.h", + "fields": [ + { + "name": "time", + "cType": "TimeOffset", + "offset_bits": 0 }, { - "name": "padding", - "cType": "int16", - "offset_bits": 176 + "name": "day", + "cType": "int32", + "offset_bits": 64 }, { - "name": "period", - "cType": "Span", - "offset_bits": 192 + "name": "month", + "cType": "int32", + "offset_bits": 96 } ] }, { - "name": "Match", - "file": "meos.h", + "name": "varlena", + "file": "postgres_ext_defs.in.h", "fields": [ { - "name": "i", - "cType": "int", + "name": "vl_len_", + "cType": "char[4]", "offset_bits": 0 }, { - "name": "j", - "cType": "int", + "name": "vl_dat", + "cType": "char[]", "offset_bits": 32 } ] - }, - { - "name": "SkipList", - "file": "meos.h", - "fields": [] - }, - { - "name": "RTree", - "file": "meos.h", - "fields": [] } ], "enums": [ @@ -34540,6 +60187,36 @@ } ] }, + { + "name": "H3Unit", + "file": "th3index_internal.h", + "values": [ + { + "name": "H3_UNIT_KM", + "value": 0 + }, + { + "name": "H3_UNIT_M", + "value": 1 + }, + { + "name": "H3_UNIT_RADS", + "value": 2 + }, + { + "name": "H3_UNIT_KM2", + "value": 3 + }, + { + "name": "H3_UNIT_M2", + "value": 4 + }, + { + "name": "H3_UNIT_RADS2", + "value": 5 + } + ] + }, { "name": "spatialRel", "file": "meos_geo.h", @@ -34561,6 +60238,20 @@ "value": 3 } ] + }, + { + "name": "SkipListType", + "file": "meos_internal.h", + "values": [ + { + "name": "TEMPORAL", + "value": 0 + }, + { + "name": "KEYVALUE", + "value": 1 + } + ] } ] } \ No newline at end of file diff --git a/codegen/src/main/java/FunctionsGenerator.java b/codegen/src/main/java/FunctionsGenerator.java index cf8cab50..2064f840 100644 --- a/codegen/src/main/java/FunctionsGenerator.java +++ b/codegen/src/main/java/FunctionsGenerator.java @@ -266,6 +266,10 @@ private String mapCTypeToJava(String cType) { // DateADT is int32 under the hood; Timestamp/TimestampTz are int64. case "DateADT" -> "int"; case "Timestamp", "TimestampTz" -> "long"; + // H3Index is a uint64 cell identifier (DGGRID/H3), not an opaque + // struct pointer; without this it hits the default branch and + // becomes Pointer, breaking every h3index/th3index binding. + case "H3Index" -> "long"; // Explicit enum names (in case not in JSON enums section) case "interpType", "RTreeSearchOp", diff --git a/codegen/src/test/java/FunctionsGeneratorTest.java b/codegen/src/test/java/FunctionsGeneratorTest.java index e8d91166..63e997c9 100644 --- a/codegen/src/test/java/FunctionsGeneratorTest.java +++ b/codegen/src/test/java/FunctionsGeneratorTest.java @@ -133,6 +133,7 @@ class MapCTypeToJavaTests { @Test void DateADT() throws Exception { assertEquals("int", mapJava("DateADT")); } @Test void Timestamp() throws Exception { assertEquals("long", mapJava("Timestamp")); } @Test void TimestampTz() throws Exception { assertEquals("long", mapJava("TimestampTz")); } + @Test void H3Index() throws Exception { assertEquals("long", mapJava("H3Index")); } @Test void charPointer() throws Exception { assertEquals("String", mapJava("char *")); } @Test void structPointer() throws Exception { assertEquals("Pointer", mapJava("STBox *")); } diff --git a/jmeos-core/src/main/java/functions/GeneratedFunctions.java b/jmeos-core/src/main/java/functions/GeneratedFunctions.java index 98385204..3dc0aae9 100644 --- a/jmeos-core/src/main/java/functions/GeneratedFunctions.java +++ b/jmeos-core/src/main/java/functions/GeneratedFunctions.java @@ -15,6 +15,22 @@ public class GeneratedFunctions { public interface MeosLibraryPartA { + Pointer meos_array_create(int elem_size); + + void meos_array_add(Pointer array, Pointer value); + + Pointer meos_array_get(Pointer array, int n); + + int meos_array_count(Pointer array); + + void meos_array_reset(Pointer array); + + void meos_array_reset_free(Pointer array); + + void meos_array_destroy(Pointer array); + + void meos_array_destroy_free(Pointer array); + Pointer rtree_create_intspan(); Pointer rtree_create_bigintspan(); @@ -35,9 +51,9 @@ public interface MeosLibraryPartA { void rtree_insert_temporal(Pointer rtree, Pointer temp, int id); - Pointer rtree_search(Pointer rtree, int op, Pointer query, Pointer count); + int rtree_search(Pointer rtree, int op, Pointer query, Pointer result); - Pointer rtree_search_temporal(Pointer rtree, int op, Pointer temp, Pointer count); + int rtree_search_temporal(Pointer rtree, int op, Pointer temp, Pointer result); void meos_error(int errlevel, int errcode, String format); @@ -283,9 +299,13 @@ public interface MeosLibraryPartA { Pointer bigint_to_set(long i); - Pointer bigint_to_span(int i); + Pointer bigint_to_span(long i); - Pointer bigint_to_spanset(int i); + Pointer bigint_to_spanset(long i); + + Pointer bigintspan_to_intspan(Pointer s); + + Pointer bigintspan_to_floatspan(Pointer s); Pointer date_to_set(int d); @@ -307,6 +327,8 @@ public interface MeosLibraryPartA { Pointer floatset_to_intset(Pointer s); + Pointer floatspan_to_bigintspan(Pointer s); + Pointer floatspan_to_intspan(Pointer s); Pointer floatspanset_to_intspanset(Pointer ss); @@ -319,6 +341,8 @@ public interface MeosLibraryPartA { Pointer intset_to_floatset(Pointer s); + Pointer intspan_to_bigintspan(Pointer s); + Pointer intspan_to_floatspan(Pointer s); Pointer intspanset_to_floatspanset(Pointer ss); @@ -859,10 +883,6 @@ public interface MeosLibraryPartA { boolean overafter_date_span(int d, Pointer s); - } - - public interface MeosLibraryPartB { - boolean overafter_date_spanset(int d, Pointer ss); boolean overafter_set_date(Pointer s, int d); @@ -1435,6 +1455,8 @@ public interface MeosLibraryPartB { Pointer spanset_to_tbox(Pointer ss); + Pointer tbox_to_bigintspan(Pointer box); + Pointer tbox_to_intspan(Pointer box); Pointer tbox_to_floatspan(Pointer box); @@ -1451,6 +1473,10 @@ public interface MeosLibraryPartB { boolean tbox_hasx(Pointer box); + } + + public interface MeosLibraryPartB { + boolean tbox_tmax(Pointer box, Pointer result); boolean tbox_tmax_inc(Pointer box, Pointer result); @@ -1475,6 +1501,10 @@ public interface MeosLibraryPartB { boolean tboxint_xmin(Pointer box, Pointer result); + Pointer tbigintbox_expand(Pointer box, long i); + + Pointer tbigintbox_shift_scale(Pointer box, long shift, long width, boolean hasshift, boolean haswidth); + Pointer tbox_expand_time(Pointer box, Pointer interv); Pointer tbox_round(Pointer box, int maxdd); @@ -1533,6 +1563,12 @@ public interface MeosLibraryPartB { boolean tbox_ne(Pointer box1, Pointer box2); + Pointer tbigint_from_mfjson(String str); + + Pointer tbigint_in(String str); + + String tbigint_out(Pointer temp); + Pointer tbool_from_mfjson(String str); Pointer tbool_in(String str); @@ -1567,6 +1603,16 @@ public interface MeosLibraryPartB { String ttext_out(Pointer temp); + Pointer tbigint_from_base_temp(long i, Pointer temp); + + Pointer tbigintinst_make(long i, long t); + + Pointer tbigintseq_from_base_tstzset(long i, Pointer s); + + Pointer tbigintseq_from_base_tstzspan(long i, Pointer s); + + Pointer tbigintseqset_from_base_tstzspanset(long i, Pointer ss); + Pointer tbool_from_base_temp(boolean b, Pointer temp); Pointer tboolinst_make(boolean b, long t); @@ -1615,18 +1661,40 @@ public interface MeosLibraryPartB { Pointer ttextseqset_from_base_tstzspanset(Pointer txt, Pointer ss); + Pointer tbigint_to_tfloat(Pointer temp); + + Pointer tbigint_to_tint(Pointer temp); + Pointer tbool_to_tint(Pointer temp); Pointer temporal_to_tstzspan(Pointer temp); + Pointer tfloat_to_tbigint(Pointer temp); + Pointer tfloat_to_tint(Pointer temp); + Pointer tint_to_tbigint(Pointer temp); + Pointer tint_to_tfloat(Pointer temp); Pointer tnumber_to_span(Pointer temp); Pointer tnumber_to_tbox(Pointer temp); + long tbigint_end_value(Pointer temp); + + long tbigint_max_value(Pointer temp); + + long tbigint_min_value(Pointer temp); + + long tbigint_start_value(Pointer temp); + + boolean tbigint_value_at_timestamptz(Pointer temp, long t, boolean strict, Pointer value); + + boolean tbigint_value_n(Pointer temp, long n, Pointer result); + + Pointer tbigint_values(Pointer temp, Pointer count); + boolean tbool_end_value(Pointer temp); boolean tbool_start_value(Pointer temp); @@ -1707,10 +1775,6 @@ public interface MeosLibraryPartB { Pointer tfloat_values(Pointer temp, Pointer count); - } - - public interface MeosLibraryPartC { - int tint_end_value(Pointer temp); int tint_max_value(Pointer temp); @@ -1749,6 +1813,12 @@ public interface MeosLibraryPartC { double float_degrees(double value, boolean normalize); + Pointer tbigint_scale_value(Pointer temp, long width); + + Pointer tbigint_shift_scale_value(Pointer temp, long shift, long width); + + Pointer tbigint_shift_value(Pointer temp, long shift); + Pointer temparr_round(Pointer temp, int count, int maxdd); Pointer temporal_round(Pointer temp, int maxdd); @@ -1807,6 +1877,10 @@ public interface MeosLibraryPartC { Pointer temporal_update(Pointer temp1, Pointer temp2, boolean connect); + Pointer tbigint_at_value(Pointer temp, long i); + + Pointer tbigint_minus_value(Pointer temp, long i); + Pointer tbool_at_value(Pointer temp, boolean b); Pointer tbool_minus_value(Pointer temp, boolean b); @@ -1881,6 +1955,8 @@ public interface MeosLibraryPartC { boolean temporal_ne(Pointer temp1, Pointer temp2); + int always_eq_bigint_tbigint(long i, Pointer temp); + int always_eq_bool_tbool(boolean b, Pointer temp); int always_eq_float_tfloat(double d, Pointer temp); @@ -1893,16 +1969,22 @@ public interface MeosLibraryPartC { int always_eq_text_ttext(Pointer txt, Pointer temp); + int always_eq_tbigint_bigint(Pointer temp, long i); + int always_eq_tfloat_float(Pointer temp, double d); int always_eq_tint_int(Pointer temp, int i); int always_eq_ttext_text(Pointer temp, Pointer txt); + int always_ge_bigint_tbigint(long i, Pointer temp); + int always_ge_float_tfloat(double d, Pointer temp); int always_ge_int_tint(int i, Pointer temp); + int always_ge_tbigint_bigint(Pointer temp, long i); + int always_ge_temporal_temporal(Pointer temp1, Pointer temp2); int always_ge_text_ttext(Pointer txt, Pointer temp); @@ -1913,10 +1995,14 @@ public interface MeosLibraryPartC { int always_ge_ttext_text(Pointer temp, Pointer txt); + int always_gt_bigint_tbigint(long i, Pointer temp); + int always_gt_float_tfloat(double d, Pointer temp); int always_gt_int_tint(int i, Pointer temp); + int always_gt_tbigint_bigint(Pointer temp, long i); + int always_gt_temporal_temporal(Pointer temp1, Pointer temp2); int always_gt_text_ttext(Pointer txt, Pointer temp); @@ -1927,10 +2013,14 @@ public interface MeosLibraryPartC { int always_gt_ttext_text(Pointer temp, Pointer txt); + int always_le_bigint_tbigint(long i, Pointer temp); + int always_le_float_tfloat(double d, Pointer temp); int always_le_int_tint(int i, Pointer temp); + int always_le_tbigint_bigint(Pointer temp, long i); + int always_le_temporal_temporal(Pointer temp1, Pointer temp2); int always_le_text_ttext(Pointer txt, Pointer temp); @@ -1941,6 +2031,8 @@ public interface MeosLibraryPartC { int always_le_ttext_text(Pointer temp, Pointer txt); + int always_lt_bigint_tbigint(long i, Pointer temp); + int always_lt_float_tfloat(double d, Pointer temp); int always_lt_int_tint(int i, Pointer temp); @@ -1961,8 +2053,14 @@ public interface MeosLibraryPartC { int always_ne_int_tint(int i, Pointer temp); + int always_lt_tbigint_bigint(Pointer temp, long i); + + int always_ne_bigint_tbigint(long i, Pointer temp); + int always_ne_tbool_bool(Pointer temp, boolean b); + int always_ne_tbigint_bigint(Pointer temp, long i); + int always_ne_temporal_temporal(Pointer temp1, Pointer temp2); int always_ne_text_ttext(Pointer txt, Pointer temp); @@ -1973,12 +2071,16 @@ public interface MeosLibraryPartC { int always_ne_ttext_text(Pointer temp, Pointer txt); + int ever_eq_bigint_tbigint(long i, Pointer temp); + int ever_eq_bool_tbool(boolean b, Pointer temp); int ever_eq_float_tfloat(double d, Pointer temp); int ever_eq_int_tint(int i, Pointer temp); + int ever_eq_tbigint_bigint(Pointer temp, long i); + int ever_eq_tbool_bool(Pointer temp, boolean b); int ever_eq_temporal_temporal(Pointer temp1, Pointer temp2); @@ -1991,10 +2093,14 @@ public interface MeosLibraryPartC { int ever_eq_ttext_text(Pointer temp, Pointer txt); + int ever_ge_bigint_tbigint(long i, Pointer temp); + int ever_ge_float_tfloat(double d, Pointer temp); int ever_ge_int_tint(int i, Pointer temp); + int ever_ge_tbigint_bigint(Pointer temp, long i); + int ever_ge_temporal_temporal(Pointer temp1, Pointer temp2); int ever_ge_text_ttext(Pointer txt, Pointer temp); @@ -2005,10 +2111,14 @@ public interface MeosLibraryPartC { int ever_ge_ttext_text(Pointer temp, Pointer txt); + int ever_gt_bigint_tbigint(long i, Pointer temp); + int ever_gt_float_tfloat(double d, Pointer temp); int ever_gt_int_tint(int i, Pointer temp); + int ever_gt_tbigint_bigint(Pointer temp, long i); + int ever_gt_temporal_temporal(Pointer temp1, Pointer temp2); int ever_gt_text_ttext(Pointer txt, Pointer temp); @@ -2019,10 +2129,14 @@ public interface MeosLibraryPartC { int ever_gt_ttext_text(Pointer temp, Pointer txt); + int ever_le_bigint_tbigint(long i, Pointer temp); + int ever_le_float_tfloat(double d, Pointer temp); int ever_le_int_tint(int i, Pointer temp); + int ever_le_tbigint_bigint(Pointer temp, long i); + int ever_le_temporal_temporal(Pointer temp1, Pointer temp2); int ever_le_text_ttext(Pointer txt, Pointer temp); @@ -2033,10 +2147,14 @@ public interface MeosLibraryPartC { int ever_le_ttext_text(Pointer temp, Pointer txt); + int ever_lt_bigint_tbigint(long i, Pointer temp); + int ever_lt_float_tfloat(double d, Pointer temp); int ever_lt_int_tint(int i, Pointer temp); + int ever_lt_tbigint_bigint(Pointer temp, long i); + int ever_lt_temporal_temporal(Pointer temp1, Pointer temp2); int ever_lt_text_ttext(Pointer txt, Pointer temp); @@ -2047,12 +2165,16 @@ public interface MeosLibraryPartC { int ever_lt_ttext_text(Pointer temp, Pointer txt); + int ever_ne_bigint_tbigint(long i, Pointer temp); + int ever_ne_bool_tbool(boolean b, Pointer temp); int ever_ne_float_tfloat(double d, Pointer temp); int ever_ne_int_tint(int i, Pointer temp); + int ever_ne_tbigint_bigint(Pointer temp, long i); + int ever_ne_tbool_bool(Pointer temp, boolean b); int ever_ne_temporal_temporal(Pointer temp1, Pointer temp2); @@ -2353,40 +2475,56 @@ public interface MeosLibraryPartC { Pointer tor_tbool_tbool(Pointer temp1, Pointer temp2); + Pointer add_bigint_tbigint(long i, Pointer tnumber); + Pointer add_float_tfloat(double d, Pointer tnumber); Pointer add_int_tint(int i, Pointer tnumber); + Pointer add_tbigint_bigint(Pointer tnumber, long i); + Pointer add_tfloat_float(Pointer tnumber, double d); Pointer add_tint_int(Pointer tnumber, int i); Pointer add_tnumber_tnumber(Pointer tnumber1, Pointer tnumber2); + Pointer div_bigint_tbigint(long i, Pointer tnumber); + Pointer div_float_tfloat(double d, Pointer tnumber); Pointer div_int_tint(int i, Pointer tnumber); + Pointer div_tbigint_bigint(Pointer tnumber, long i); + Pointer div_tfloat_float(Pointer tnumber, double d); Pointer div_tint_int(Pointer tnumber, int i); Pointer div_tnumber_tnumber(Pointer tnumber1, Pointer tnumber2); - Pointer mult_float_tfloat(double d, Pointer tnumber); + Pointer mul_bigint_tbigint(long i, Pointer tnumber); + + Pointer mul_float_tfloat(double d, Pointer tnumber); - Pointer mult_int_tint(int i, Pointer tnumber); + Pointer mul_int_tint(int i, Pointer tnumber); - Pointer mult_tfloat_float(Pointer tnumber, double d); + Pointer mul_tbigint_bigint(Pointer tnumber, long i); - Pointer mult_tint_int(Pointer tnumber, int i); + Pointer mul_tfloat_float(Pointer tnumber, double d); - Pointer mult_tnumber_tnumber(Pointer tnumber1, Pointer tnumber2); + Pointer mul_tint_int(Pointer tnumber, int i); + + Pointer mul_tnumber_tnumber(Pointer tnumber1, Pointer tnumber2); + + Pointer sub_bigint_tbigint(long i, Pointer tnumber); Pointer sub_float_tfloat(double d, Pointer tnumber); Pointer sub_int_tint(int i, Pointer tnumber); + Pointer sub_tbigint_bigint(Pointer tnumber, long i); + Pointer sub_tfloat_float(Pointer tnumber, double d); Pointer sub_tint_int(Pointer tnumber, int i); @@ -2451,6 +2589,10 @@ public interface MeosLibraryPartC { Pointer temporal_extent_transfn(Pointer s, Pointer temp); + Pointer temporal_merge_transfn(Pointer state, Pointer temp); + + Pointer temporal_merge_combinefn(Pointer state1, Pointer state2); + Pointer temporal_tagg_finalfn(Pointer state); Pointer temporal_tcount_transfn(Pointer state, Pointer temp); @@ -2555,16 +2697,194 @@ public interface MeosLibraryPartC { Pointer tint_value_time_split(Pointer temp, long size, Pointer duration, int vorigin, long torigin, Pointer value_bins, Pointer time_bins, Pointer count); - } - - public interface MeosLibraryPartD { - Pointer tintbox_time_tiles(Pointer box, Pointer duration, long torigin, Pointer count); Pointer tintbox_value_tiles(Pointer box, int xsize, int xorigin, Pointer count); Pointer tintbox_value_time_tiles(Pointer box, int xsize, Pointer duration, int xorigin, long torigin, Pointer count); + void meos_initialize_noexit_error_handler(); + + boolean h3_are_neighbor_cells_meos(long origin, long destination); + + long h3_cells_to_directed_edge_meos(long origin, long destination); + + boolean h3_is_valid_directed_edge_meos(long edge); + + long h3_get_directed_edge_origin_meos(long edge); + + long h3_get_directed_edge_destination_meos(long edge); + + long h3_cell_to_parent_meos(long origin, int resolution); + + long h3_cell_to_center_child_meos(long origin, int resolution); + + long h3_cell_to_child_pos_meos(long child, int parentRes); + + long h3_child_pos_to_cell_meos(long childPos, long parent, int childRes); + + int h3_get_resolution_meos(long hex); + + int h3_get_base_cell_number_meos(long hex); + + boolean h3_is_valid_cell_meos(long hex); + + boolean h3_is_res_class_iii_meos(long hex); + + boolean h3_is_pentagon_meos(long hex); + + long h3_get_num_cells_meos(int resolution); + + long h3_grid_distance_meos(long originIndex, long h3Index); + + long h3_cell_to_vertex_meos(long cell, int vertexNum); + + boolean h3_is_valid_vertex_meos(long vertex); + + long h3index_parse(String str); + + String h3index_to_string(long cell); + + boolean h3index_eq(long a, long b); + + boolean h3index_ne(long a, long b); + + boolean h3index_lt(long a, long b); + + boolean h3index_le(long a, long b); + + boolean h3index_gt(long a, long b); + + boolean h3index_ge(long a, long b); + + int h3index_cmp(long a, long b); + + int h3index_hash(long cell); + + Pointer h3_grid_disk(long origin, int k); + + Pointer h3_grid_ring(long origin, int k); + + Pointer h3_grid_path_cells(long start, long end); + + Pointer h3_cell_to_children(long origin, int childRes); + + Pointer h3_compact_cells(Pointer cells); + + Pointer h3_uncompact_cells(Pointer cells, int res); + + Pointer h3_origin_to_directed_edges(long origin); + + Pointer h3_cell_to_vertexes(long cell); + + Pointer h3_get_icosahedron_faces(long cell); + + boolean ensure_valid_th3index_th3index(Pointer temp1, Pointer temp2); + + boolean ensure_valid_th3index_h3index(Pointer temp, long cell); + + boolean ensure_valid_th3index_tgeogpoint(Pointer temp1, Pointer temp2); + + int datum2_h3index_eq(int d1, int d2, int type); + + int datum2_h3index_ne(int d1, int d2, int type); + + void th3indexinst_set_stbox(Pointer inst, Pointer box); + + void th3indexinstarr_set_stbox(Pointer instants, int count, Pointer box); + + void th3indexseq_expand_stbox(Pointer seq, Pointer inst); + + long h3_gs_point_to_cell(Pointer point, int resolution); + + Pointer h3_cell_to_gs_point(long cell); + + Pointer h3_cell_to_gs_boundary(long cell); + + Pointer cell_boundary_to_gs(Pointer bnd); + + double h3_sample_step_deg(int resolution); + + long h3_latlng_deg_to_cell(double lat_deg, double lng_deg, int resolution); + + long h3_cell_to_parent_next_meos(long cell); + + long h3_cell_to_center_child_next_meos(long cell); + + Pointer h3_directed_edge_to_gs_boundary(long edge); + + Pointer h3_vertex_to_gs_point(long vertex); + + Pointer h3_cell_to_local_ij_meos(long origin, long cell); + + long h3_local_ij_to_cell_meos(long origin, Pointer coord); + + int h3_unit_from_cstring(String unit); + + double h3_cell_area_meos(long cell, int unit); + + double h3_edge_length_meos(long edge, int unit); + + double h3_gs_great_circle_distance_meos(Pointer a, Pointer b, int unit); + + int datum_h3_get_resolution(int d); + + int datum_h3_get_base_cell_number(int d); + + int datum_h3_is_valid_cell(int d); + + int datum_h3_is_res_class_iii(int d); + + int datum_h3_is_pentagon(int d); + + int datum_h3_cell_to_parent(int cell_d, int res_d); + + int datum_h3_cell_to_parent_next(int cell_d); + + int datum_h3_cell_to_center_child(int cell_d, int res_d); + + int datum_h3_cell_to_center_child_next(int cell_d); + + int datum_h3_cell_to_child_pos(int cell_d, int parent_res_d); + + int datum_h3_child_pos_to_cell(int pos_d, int parent_d, int child_res_d); + + int datum_h3_are_neighbor_cells(int origin_d, int dest_d); + + int datum_h3_cells_to_directed_edge(int origin_d, int dest_d); + + int datum_h3_is_valid_directed_edge(int d); + + int datum_h3_get_directed_edge_origin(int d); + + int datum_h3_get_directed_edge_destination(int d); + + int datum_h3_directed_edge_to_boundary(int d); + + int datum_h3_cell_to_vertex(int cell_d, int vnum_d); + + int datum_h3_vertex_to_latlng(int d); + + int datum_h3_is_valid_vertex(int d); + + int datum_h3_grid_distance(int origin_d, int dest_d); + + int datum_h3_cell_to_local_ij(int origin_d, int cell_d); + + int datum_h3_local_ij_to_cell(int origin_d, int coord_d); + + int datum_h3_latlng_to_cell(int point_d, int res_d); + + int datum_h3_cell_to_latlng(int d); + + int datum_h3_cell_to_boundary(int d); + + int datum_h3_cell_area(int cell_d, int unit_d); + + int datum_h3_edge_length(int edge_d, int unit_d); + + int datum_h3_great_circle_distance(int a_d, int b_d, int unit_d); + Pointer geo_as_ewkb(Pointer gs, String endian, Pointer size); String geo_as_ewkt(Pointer gs, int precision); @@ -2615,6 +2935,10 @@ public interface MeosLibraryPartD { Pointer geog_to_geom(Pointer geog); + } + + public interface MeosLibraryPartC { + boolean geo_is_empty(Pointer g); boolean geo_is_unitary(Pointer gs); @@ -3079,11 +3403,15 @@ public interface MeosLibraryPartD { Pointer tgeo_minus_value(Pointer temp, Pointer gs); - Pointer tpoint_at_geom(Pointer temp, Pointer gs, Pointer zspan); + Pointer tpoint_at_elevation(Pointer temp, Pointer s); + + Pointer tpoint_at_geom(Pointer temp, Pointer gs); Pointer tpoint_at_value(Pointer temp, Pointer gs); - Pointer tpoint_minus_geom(Pointer temp, Pointer gs, Pointer zspan); + Pointer tpoint_minus_elevation(Pointer temp, Pointer s); + + Pointer tpoint_minus_geom(Pointer temp, Pointer gs); Pointer tpoint_minus_value(Pointer temp, Pointer gs); @@ -3309,41 +3637,41 @@ public interface MeosLibraryPartD { int etouches_tpoint_geo(Pointer temp, Pointer gs); - Pointer tcontains_geo_tgeo(Pointer gs, Pointer temp, boolean restr, boolean atvalue); + Pointer tcontains_geo_tgeo(Pointer gs, Pointer temp); - Pointer tcontains_tgeo_geo(Pointer temp, Pointer gs, boolean restr, boolean atvalue); + Pointer tcontains_tgeo_geo(Pointer temp, Pointer gs); - Pointer tcontains_tgeo_tgeo(Pointer temp1, Pointer temp2, boolean restr, boolean atvalue); + Pointer tcontains_tgeo_tgeo(Pointer temp1, Pointer temp2); - Pointer tcovers_geo_tgeo(Pointer gs, Pointer temp, boolean restr, boolean atvalue); + Pointer tcovers_geo_tgeo(Pointer gs, Pointer temp); - Pointer tcovers_tgeo_geo(Pointer temp, Pointer gs, boolean restr, boolean atvalue); + Pointer tcovers_tgeo_geo(Pointer temp, Pointer gs); - Pointer tcovers_tgeo_tgeo(Pointer temp1, Pointer temp2, boolean restr, boolean atvalue); + Pointer tcovers_tgeo_tgeo(Pointer temp1, Pointer temp2); - Pointer tdisjoint_geo_tgeo(Pointer gs, Pointer temp, boolean restr, boolean atvalue); + Pointer tdisjoint_geo_tgeo(Pointer gs, Pointer temp); - Pointer tdisjoint_tgeo_geo(Pointer temp, Pointer gs, boolean restr, boolean atvalue); + Pointer tdisjoint_tgeo_geo(Pointer temp, Pointer gs); - Pointer tdisjoint_tgeo_tgeo(Pointer temp1, Pointer temp2, boolean restr, boolean atvalue); + Pointer tdisjoint_tgeo_tgeo(Pointer temp1, Pointer temp2); - Pointer tdwithin_geo_tgeo(Pointer gs, Pointer temp, double dist, boolean restr, boolean atvalue); + Pointer tdwithin_geo_tgeo(Pointer gs, Pointer temp, double dist); - Pointer tdwithin_tgeo_geo(Pointer temp, Pointer gs, double dist, boolean restr, boolean atvalue); + Pointer tdwithin_tgeo_geo(Pointer temp, Pointer gs, double dist); - Pointer tdwithin_tgeo_tgeo(Pointer temp1, Pointer temp2, double dist, boolean restr, boolean atvalue); + Pointer tdwithin_tgeo_tgeo(Pointer temp1, Pointer temp2, double dist); - Pointer tintersects_geo_tgeo(Pointer gs, Pointer temp, boolean restr, boolean atvalue); + Pointer tintersects_geo_tgeo(Pointer gs, Pointer temp); - Pointer tintersects_tgeo_geo(Pointer temp, Pointer gs, boolean restr, boolean atvalue); + Pointer tintersects_tgeo_geo(Pointer temp, Pointer gs); - Pointer tintersects_tgeo_tgeo(Pointer temp1, Pointer temp2, boolean restr, boolean atvalue); + Pointer tintersects_tgeo_tgeo(Pointer temp1, Pointer temp2); - Pointer ttouches_geo_tgeo(Pointer gs, Pointer temp, boolean restr, boolean atvalue); + Pointer ttouches_geo_tgeo(Pointer gs, Pointer temp); - Pointer ttouches_tgeo_geo(Pointer temp, Pointer gs, boolean restr, boolean atvalue); + Pointer ttouches_tgeo_geo(Pointer temp, Pointer gs); - Pointer ttouches_tgeo_tgeo(Pointer temp1, Pointer temp2, boolean restr, boolean atvalue); + Pointer ttouches_tgeo_tgeo(Pointer temp1, Pointer temp2); Pointer tdistance_tgeo_geo(Pointer temp, Pointer gs); @@ -3367,6 +3695,10 @@ public interface MeosLibraryPartD { Pointer shortestline_tgeo_tgeo(Pointer temp1, Pointer temp2); + double tgeoarr_tgeoarr_mindist(Pointer arr1, int count1, Pointer arr2, int count2); + + double mindistance_tgeo_tgeo(Pointer temp1, Pointer temp2, double threshold); + Pointer tpoint_tcentroid_finalfn(Pointer state); Pointer tpoint_tcentroid_transfn(Pointer state, Pointer temp); @@ -3397,12082 +3729,22880 @@ public interface MeosLibraryPartD { Pointer geo_cluster_within(Pointer geoms, int ngeoms, double tolerance, Pointer count); - } + int acovers_geo_tgeo(Pointer gs, Pointer temp); - private static final String _LIB = "libmeos.so"; + int acovers_tgeo_geo(Pointer temp, Pointer gs); - static final MeosLibraryPartA _meos_a = - JarLibraryLoader.create(MeosLibraryPartA.class, _LIB).getLibraryInstance(); - static final MeosLibraryPartB _meos_b = - JarLibraryLoader.create(MeosLibraryPartB.class, _LIB).getLibraryInstance(); - static final MeosLibraryPartC _meos_c = - JarLibraryLoader.create(MeosLibraryPartC.class, _LIB).getLibraryInstance(); - static final MeosLibraryPartD _meos_d = - JarLibraryLoader.create(MeosLibraryPartD.class, _LIB).getLibraryInstance(); + String cbuffer_as_ewkt(Pointer cb, int maxdd); - private static final java.util.Map _dispatch; - static { - _dispatch = new java.util.HashMap<>(4096); - for (java.lang.reflect.Method _m : MeosLibraryPartA.class.getMethods()) - _dispatch.put(_m.getName(), _meos_a); - for (java.lang.reflect.Method _m : MeosLibraryPartB.class.getMethods()) - _dispatch.put(_m.getName(), _meos_b); - for (java.lang.reflect.Method _m : MeosLibraryPartC.class.getMethods()) - _dispatch.put(_m.getName(), _meos_c); - for (java.lang.reflect.Method _m : MeosLibraryPartD.class.getMethods()) - _dispatch.put(_m.getName(), _meos_d); - } + String cbuffer_as_hexwkb(Pointer cb, byte variant, Pointer size); + String cbuffer_as_text(Pointer cb, int maxdd); + Pointer cbuffer_as_wkb(Pointer cb, byte variant, Pointer size_out); - @SuppressWarnings("unused") - public static Pointer rtree_create_intspan() { - var _result = _meos_a.rtree_create_intspan(); - MeosErrorHandler.checkError(); - return _result; - } + Pointer cbuffer_from_hexwkb(String hexwkb); - @SuppressWarnings("unused") - public static Pointer rtree_create_bigintspan() { - var _result = _meos_a.rtree_create_bigintspan(); - MeosErrorHandler.checkError(); - return _result; - } + Pointer cbuffer_from_wkb(Pointer wkb, long size); - @SuppressWarnings("unused") - public static Pointer rtree_create_floatspan() { - var _result = _meos_a.rtree_create_floatspan(); - MeosErrorHandler.checkError(); - return _result; - } + Pointer cbuffer_in(String str); - @SuppressWarnings("unused") - public static Pointer rtree_create_datespan() { - var _result = _meos_a.rtree_create_datespan(); - MeosErrorHandler.checkError(); - return _result; - } + String cbuffer_out(Pointer cb, int maxdd); - @SuppressWarnings("unused") - public static Pointer rtree_create_tstzspan() { - var _result = _meos_a.rtree_create_tstzspan(); - MeosErrorHandler.checkError(); - return _result; - } + Pointer cbuffer_copy(Pointer cb); - @SuppressWarnings("unused") - public static Pointer rtree_create_tbox() { - var _result = _meos_a.rtree_create_tbox(); - MeosErrorHandler.checkError(); - return _result; - } + Pointer cbuffer_make(Pointer point, double radius); - @SuppressWarnings("unused") - public static Pointer rtree_create_stbox() { - var _result = _meos_a.rtree_create_stbox(); - MeosErrorHandler.checkError(); - return _result; - } + Pointer cbuffer_to_geom(Pointer cb); - @SuppressWarnings("unused") - public static void rtree_free(Pointer rtree) { - _meos_a.rtree_free(rtree); - MeosErrorHandler.checkError(); + Pointer cbuffer_to_stbox(Pointer cb); + + Pointer cbufferarr_to_geom(Pointer cbarr, int count); + + Pointer geom_to_cbuffer(Pointer gs); + + int cbuffer_hash(Pointer cb); + + long cbuffer_hash_extended(Pointer cb, long seed); + + Pointer cbuffer_point(Pointer cb); + + double cbuffer_radius(Pointer cb); + + Pointer cbuffer_round(Pointer cb, int maxdd); + + Pointer cbufferarr_round(Pointer cbarr, int count, int maxdd); + + void cbuffer_set_srid(Pointer cb, int srid); + + int cbuffer_srid(Pointer cb); + + Pointer cbuffer_transform(Pointer cb, int srid); + + Pointer cbuffer_transform_pipeline(Pointer cb, String pipelinestr, int srid, boolean is_forward); + + int contains_cbuffer_cbuffer(Pointer cb1, Pointer cb2); + + int covers_cbuffer_cbuffer(Pointer cb1, Pointer cb2); + + int disjoint_cbuffer_cbuffer(Pointer cb1, Pointer cb2); + + int dwithin_cbuffer_cbuffer(Pointer cb1, Pointer cb2, double dist); + + int intersects_cbuffer_cbuffer(Pointer cb1, Pointer cb2); + + int touches_cbuffer_cbuffer(Pointer cb1, Pointer cb2); + + Pointer cbuffer_tstzspan_to_stbox(Pointer cb, Pointer s); + + Pointer cbuffer_timestamptz_to_stbox(Pointer cb, long t); + + double distance_cbuffer_cbuffer(Pointer cb1, Pointer cb2); + + double distance_cbuffer_geo(Pointer cb, Pointer gs); + + double distance_cbuffer_stbox(Pointer cb, Pointer box); + + double nad_cbuffer_stbox(Pointer cb, Pointer box); + + int cbuffer_cmp(Pointer cb1, Pointer cb2); + + boolean cbuffer_eq(Pointer cb1, Pointer cb2); + + boolean cbuffer_ge(Pointer cb1, Pointer cb2); + + boolean cbuffer_gt(Pointer cb1, Pointer cb2); + + boolean cbuffer_le(Pointer cb1, Pointer cb2); + + boolean cbuffer_lt(Pointer cb1, Pointer cb2); + + boolean cbuffer_ne(Pointer cb1, Pointer cb2); + + boolean cbuffer_nsame(Pointer cb1, Pointer cb2); + + boolean cbuffer_same(Pointer cb1, Pointer cb2); + + Pointer cbufferset_in(String str); + + String cbufferset_out(Pointer s, int maxdd); + + Pointer cbufferset_make(Pointer values, int count); + + Pointer cbuffer_to_set(Pointer cb); + + Pointer cbufferset_end_value(Pointer s); + + Pointer cbufferset_start_value(Pointer s); + + boolean cbufferset_value_n(Pointer s, int n, Pointer result); + + Pointer cbufferset_values(Pointer s); + + Pointer cbuffer_union_transfn(Pointer state, Pointer cb); + + boolean contained_cbuffer_set(Pointer cb, Pointer s); + + boolean contains_set_cbuffer(Pointer s, Pointer cb); + + Pointer intersection_cbuffer_set(Pointer cb, Pointer s); + + Pointer intersection_set_cbuffer(Pointer s, Pointer cb); + + Pointer minus_cbuffer_set(Pointer cb, Pointer s); + + Pointer minus_set_cbuffer(Pointer s, Pointer cb); + + Pointer union_cbuffer_set(Pointer cb, Pointer s); + + Pointer union_set_cbuffer(Pointer s, Pointer cb); + + Pointer tcbuffer_in(String str); + + Pointer tcbuffer_from_mfjson(String mfjson); + + Pointer tcbuffer_make(Pointer tpoint, Pointer tfloat); + + Pointer tcbuffer_points(Pointer temp); + + Pointer tcbuffer_radius(Pointer temp); + + Pointer tcbuffer_trav_area(Pointer temp, boolean merge_union); + + Pointer tcbuffer_to_tfloat(Pointer temp); + + Pointer tcbuffer_to_tgeompoint(Pointer temp); + + Pointer tgeometry_to_tcbuffer(Pointer temp); + + Pointer tcbuffer_expand(Pointer temp, double dist); + + Pointer tcbuffer_at_cbuffer(Pointer temp, Pointer cb); + + Pointer tcbuffer_at_geom(Pointer temp, Pointer gs); + + Pointer tcbuffer_at_stbox(Pointer temp, Pointer box, boolean border_inc); + + Pointer tcbuffer_minus_cbuffer(Pointer temp, Pointer cb); + + Pointer tcbuffer_minus_geom(Pointer temp, Pointer gs); + + Pointer tcbuffer_minus_stbox(Pointer temp, Pointer box, boolean border_inc); + + Pointer tdistance_tcbuffer_cbuffer(Pointer temp, Pointer cb); + + Pointer tdistance_tcbuffer_geo(Pointer temp, Pointer gs); + + Pointer tdistance_tcbuffer_tcbuffer(Pointer temp1, Pointer temp2); + + double nad_tcbuffer_cbuffer(Pointer temp, Pointer cb); + + double nad_tcbuffer_geo(Pointer temp, Pointer gs); + + double nad_tcbuffer_stbox(Pointer temp, Pointer box); + + double nad_tcbuffer_tcbuffer(Pointer temp1, Pointer temp2); + + Pointer nai_tcbuffer_cbuffer(Pointer temp, Pointer cb); + + Pointer nai_tcbuffer_geo(Pointer temp, Pointer gs); + + Pointer nai_tcbuffer_tcbuffer(Pointer temp1, Pointer temp2); + + Pointer shortestline_tcbuffer_cbuffer(Pointer temp, Pointer cb); + + Pointer shortestline_tcbuffer_geo(Pointer temp, Pointer gs); + + Pointer shortestline_tcbuffer_tcbuffer(Pointer temp1, Pointer temp2); + + int always_eq_cbuffer_tcbuffer(Pointer cb, Pointer temp); + + int always_eq_tcbuffer_cbuffer(Pointer temp, Pointer cb); + + int always_eq_tcbuffer_tcbuffer(Pointer temp1, Pointer temp2); + + int always_ne_cbuffer_tcbuffer(Pointer cb, Pointer temp); + + int always_ne_tcbuffer_cbuffer(Pointer temp, Pointer cb); + + int always_ne_tcbuffer_tcbuffer(Pointer temp1, Pointer temp2); + + int ever_eq_cbuffer_tcbuffer(Pointer cb, Pointer temp); + + int ever_eq_tcbuffer_cbuffer(Pointer temp, Pointer cb); + + int ever_eq_tcbuffer_tcbuffer(Pointer temp1, Pointer temp2); + + int ever_ne_cbuffer_tcbuffer(Pointer cb, Pointer temp); + + int ever_ne_tcbuffer_cbuffer(Pointer temp, Pointer cb); + + int ever_ne_tcbuffer_tcbuffer(Pointer temp1, Pointer temp2); + + Pointer teq_cbuffer_tcbuffer(Pointer cb, Pointer temp); + + Pointer teq_tcbuffer_cbuffer(Pointer temp, Pointer cb); + + Pointer tne_cbuffer_tcbuffer(Pointer cb, Pointer temp); + + Pointer tne_tcbuffer_cbuffer(Pointer temp, Pointer cb); + + int acontains_cbuffer_tcbuffer(Pointer cb, Pointer temp); + + int acontains_geo_tcbuffer(Pointer gs, Pointer temp); + + int acontains_tcbuffer_cbuffer(Pointer temp, Pointer cb); + + int acontains_tcbuffer_geo(Pointer temp, Pointer gs); + + int acovers_cbuffer_tcbuffer(Pointer cb, Pointer temp); + + int acovers_geo_tcbuffer(Pointer gs, Pointer temp); + + int acovers_tcbuffer_cbuffer(Pointer temp, Pointer cb); + + int acovers_tcbuffer_geo(Pointer temp, Pointer gs); + + int adisjoint_tcbuffer_geo(Pointer temp, Pointer gs); + + int adisjoint_tcbuffer_cbuffer(Pointer temp, Pointer cb); + + int adisjoint_tcbuffer_tcbuffer(Pointer temp1, Pointer temp2); + + int adwithin_tcbuffer_geo(Pointer temp, Pointer gs, double dist); + + int adwithin_tcbuffer_cbuffer(Pointer temp, Pointer cb, double dist); + + int adwithin_tcbuffer_tcbuffer(Pointer temp1, Pointer temp2, double dist); + + int aintersects_tcbuffer_geo(Pointer temp, Pointer gs); + + int aintersects_tcbuffer_cbuffer(Pointer temp, Pointer cb); + + int aintersects_tcbuffer_tcbuffer(Pointer temp1, Pointer temp2); + + int atouches_tcbuffer_geo(Pointer temp, Pointer gs); + + int atouches_tcbuffer_cbuffer(Pointer temp, Pointer cb); + + int atouches_tcbuffer_tcbuffer(Pointer temp1, Pointer temp2); + + int econtains_cbuffer_tcbuffer(Pointer cb, Pointer temp); + + int econtains_tcbuffer_cbuffer(Pointer temp, Pointer cb); + + int econtains_tcbuffer_geo(Pointer temp, Pointer gs); + + int ecovers_cbuffer_tcbuffer(Pointer cb, Pointer temp); + + int ecovers_tcbuffer_cbuffer(Pointer temp, Pointer cb); + + int ecovers_tcbuffer_geo(Pointer temp, Pointer gs); + + int ecovers_tcbuffer_tcbuffer(Pointer temp1, Pointer temp2); + + int edisjoint_tcbuffer_geo(Pointer temp, Pointer gs); + + int edisjoint_tcbuffer_cbuffer(Pointer temp, Pointer cb); + + int edwithin_tcbuffer_geo(Pointer temp, Pointer gs, double dist); + + int edwithin_tcbuffer_cbuffer(Pointer temp, Pointer cb, double dist); + + int edwithin_tcbuffer_tcbuffer(Pointer temp1, Pointer temp2, double dist); + + int eintersects_tcbuffer_geo(Pointer temp, Pointer gs); + + int eintersects_tcbuffer_cbuffer(Pointer temp, Pointer cb); + + int eintersects_tcbuffer_tcbuffer(Pointer temp1, Pointer temp2); + + int etouches_tcbuffer_geo(Pointer temp, Pointer gs); + + int etouches_tcbuffer_cbuffer(Pointer temp, Pointer cb); + + int etouches_tcbuffer_tcbuffer(Pointer temp1, Pointer temp2); + + Pointer tcontains_cbuffer_tcbuffer(Pointer cb, Pointer temp); + + Pointer tcontains_geo_tcbuffer(Pointer gs, Pointer temp); + + Pointer tcontains_tcbuffer_geo(Pointer temp, Pointer gs); + + Pointer tcontains_tcbuffer_cbuffer(Pointer temp, Pointer cb); + + Pointer tcontains_tcbuffer_tcbuffer(Pointer temp1, Pointer temp2); + + Pointer tcovers_cbuffer_tcbuffer(Pointer cb, Pointer temp); + + Pointer tcovers_geo_tcbuffer(Pointer gs, Pointer temp); + + Pointer tcovers_tcbuffer_geo(Pointer temp, Pointer gs); + + Pointer tcovers_tcbuffer_cbuffer(Pointer temp, Pointer cb); + + Pointer tcovers_tcbuffer_tcbuffer(Pointer temp1, Pointer temp2); + + Pointer tdwithin_geo_tcbuffer(Pointer gs, Pointer temp, double dist); + + Pointer tdwithin_tcbuffer_geo(Pointer temp, Pointer gs, double dist); + + Pointer tdwithin_tcbuffer_cbuffer(Pointer temp, Pointer cb, double dist); + + Pointer tdwithin_tcbuffer_tcbuffer(Pointer temp1, Pointer temp2, double dist); + + Pointer tdisjoint_cbuffer_tcbuffer(Pointer cb, Pointer temp); + + Pointer tdisjoint_geo_tcbuffer(Pointer gs, Pointer temp); + + Pointer tdisjoint_tcbuffer_geo(Pointer temp, Pointer gs); + + Pointer tdisjoint_tcbuffer_cbuffer(Pointer temp, Pointer cb); + + Pointer tdisjoint_tcbuffer_tcbuffer(Pointer temp1, Pointer temp2); + + Pointer tintersects_cbuffer_tcbuffer(Pointer cb, Pointer temp); + + Pointer tintersects_geo_tcbuffer(Pointer gs, Pointer temp); + + Pointer tintersects_tcbuffer_geo(Pointer temp, Pointer gs); + + Pointer tintersects_tcbuffer_cbuffer(Pointer temp, Pointer cb); + + Pointer tintersects_tcbuffer_tcbuffer(Pointer temp1, Pointer temp2); + + Pointer ttouches_geo_tcbuffer(Pointer gs, Pointer temp); + + Pointer ttouches_tcbuffer_geo(Pointer temp, Pointer gs); + + Pointer ttouches_cbuffer_tcbuffer(Pointer cb, Pointer temp); + + Pointer ttouches_tcbuffer_cbuffer(Pointer temp, Pointer cb); + + Pointer ttouches_tcbuffer_tcbuffer(Pointer temp1, Pointer temp2); + + int acovers_tcbuffer_tcbuffer(Pointer temp1, Pointer temp2); + + long h3index_in(String str); + + String h3index_out(long cell); + + Pointer th3index_in(String str); + + Pointer th3indexinst_in(String str); + + Pointer th3indexseq_in(String str, int interp); + + Pointer th3indexseqset_in(String str); + + Pointer th3index_make(long value, long t); + + Pointer th3indexinst_make(long value, long t); + + Pointer th3indexseq_make(Pointer values, Pointer times, int count, boolean lower_inc, boolean upper_inc); + + Pointer th3indexseqset_make(Pointer sequences, int count); + + long th3index_start_value(Pointer temp); + + long th3index_end_value(Pointer temp); + + boolean th3index_value_n(Pointer temp, int n, Pointer result); + + Pointer th3index_values(Pointer temp, Pointer count); + + boolean th3index_value_at_timestamptz(Pointer temp, long t, boolean strict, Pointer result); + + Pointer tbigint_to_th3index(Pointer temp); + + Pointer th3index_to_tbigint(Pointer temp); + + int ever_eq_h3index_th3index(long cell, Pointer temp); + + int ever_eq_th3index_h3index(Pointer temp, long cell); + + int ever_ne_h3index_th3index(long cell, Pointer temp); + + int ever_ne_th3index_h3index(Pointer temp, long cell); + + int always_eq_h3index_th3index(long cell, Pointer temp); + + int always_eq_th3index_h3index(Pointer temp, long cell); + + int always_ne_h3index_th3index(long cell, Pointer temp); + + int always_ne_th3index_h3index(Pointer temp, long cell); + + int ever_eq_th3index_th3index(Pointer temp1, Pointer temp2); + + int ever_ne_th3index_th3index(Pointer temp1, Pointer temp2); + + int always_eq_th3index_th3index(Pointer temp1, Pointer temp2); + + int always_ne_th3index_th3index(Pointer temp1, Pointer temp2); + + Pointer teq_h3index_th3index(long cell, Pointer temp); + + Pointer teq_th3index_h3index(Pointer temp, long cell); + + Pointer teq_th3index_th3index(Pointer temp1, Pointer temp2); + + Pointer tne_h3index_th3index(long cell, Pointer temp); + + Pointer tne_th3index_h3index(Pointer temp, long cell); + + Pointer tne_th3index_th3index(Pointer temp1, Pointer temp2); + + Pointer th3index_get_resolution(Pointer temp); + + Pointer th3index_get_base_cell_number(Pointer temp); + + Pointer th3index_is_valid_cell(Pointer temp); + + Pointer th3index_is_res_class_iii(Pointer temp); + + Pointer th3index_is_pentagon(Pointer temp); + + Pointer th3index_cell_to_parent(Pointer temp, int resolution); + + Pointer th3index_cell_to_parent_next(Pointer temp); + + Pointer th3index_cell_to_center_child(Pointer temp, int resolution); + + Pointer th3index_cell_to_center_child_next(Pointer temp); + + Pointer th3index_cell_to_child_pos(Pointer temp, int parent_res); + + Pointer th3index_child_pos_to_cell(Pointer child_pos, Pointer parent, int child_res); + + Pointer tgeogpoint_to_th3index(Pointer temp, int resolution); + + Pointer tgeompoint_to_th3index(Pointer temp, int resolution); + + Pointer th3index_to_tgeogpoint(Pointer temp); + + Pointer th3index_to_tgeompoint(Pointer temp); + + Pointer th3index_cell_to_boundary(Pointer temp); + + Pointer geo_to_h3index_set(Pointer gs, int resolution); + + int ever_eq_h3indexset_th3index(Pointer cells, Pointer th3idx); + + Pointer th3index_are_neighbor_cells(Pointer origin, Pointer dest); + + Pointer th3index_cells_to_directed_edge(Pointer origin, Pointer dest); + + Pointer th3index_is_valid_directed_edge(Pointer edge); + + Pointer th3index_get_directed_edge_origin(Pointer edge); + + Pointer th3index_get_directed_edge_destination(Pointer edge); + + Pointer th3index_directed_edge_to_boundary(Pointer edge); + + Pointer th3index_cell_to_vertex(Pointer temp, int vertex_num); + + Pointer th3index_vertex_to_latlng(Pointer temp); + + Pointer th3index_is_valid_vertex(Pointer temp); + + Pointer th3index_grid_distance(Pointer origin, Pointer dest); + + Pointer th3index_cell_to_local_ij(Pointer origin, Pointer cell); + + Pointer th3index_local_ij_to_cell(Pointer origin, Pointer coord); + + Pointer th3index_cell_area(Pointer temp, String unit); + + Pointer th3index_edge_length(Pointer temp, String unit); + + Pointer tgeogpoint_great_circle_distance(Pointer a, Pointer b, String unit); + + Pointer gsl_get_generation_rng(); + + Pointer gsl_get_aggregation_rng(); + + int datum_ceil(Pointer d); + + int datum_degrees(Pointer d, Pointer normalize); + + int datum_float_round(Pointer value, Pointer size); + + int datum_floor(Pointer d); + + int datum_hash(Pointer d, int basetype); + + long datum_hash_extended(Pointer d, int basetype, long seed); + + int datum_radians(Pointer d); + + void floatspan_round_set(Pointer s, int maxdd, Pointer result); + + Pointer set_in(String str, int basetype); + + String set_out(Pointer s, int maxdd); + + Pointer span_in(String str, int spantype); + + String span_out(Pointer s, int maxdd); + + Pointer spanset_in(String str, int spantype); + + String spanset_out(Pointer ss, int maxdd); + + Pointer set_make(Pointer values, int count, int basetype, boolean order); + + Pointer set_make_exp(Pointer values, int count, int maxcount, int basetype, boolean order); + + Pointer set_make_free(Pointer values, int count, int basetype, boolean order); + + Pointer span_make(Pointer lower, Pointer upper, boolean lower_inc, boolean upper_inc, int basetype); + + void span_set(Pointer lower, Pointer upper, boolean lower_inc, boolean upper_inc, int basetype, int spantype, Pointer s); + + Pointer spanset_make_exp(Pointer spans, int count, int maxcount, boolean normalize, boolean order); + + Pointer spanset_make_free(Pointer spans, int count, boolean normalize, boolean order); + + Pointer set_span(Pointer s); + + Pointer set_spanset(Pointer s); + + void value_set_span(Pointer value, int basetype, Pointer s); + + Pointer value_set(Pointer d, int basetype); + + Pointer value_span(Pointer d, int basetype); + + Pointer value_spanset(Pointer d, int basetype); + + int numspan_width(Pointer s); + + int numspanset_width(Pointer ss, boolean boundspan); + + int set_end_value(Pointer s); + + int set_mem_size(Pointer s); + + void set_set_subspan(Pointer s, int minidx, int maxidx, Pointer result); + + void set_set_span(Pointer s, Pointer result); + + int set_start_value(Pointer s); + + boolean set_value_n(Pointer s, int n, Pointer result); + + Pointer set_vals(Pointer s); + + Pointer set_values(Pointer s); + + int spanset_lower(Pointer ss); + + int spanset_mem_size(Pointer ss); + + Pointer spanset_sps(Pointer ss); + + int spanset_upper(Pointer ss); + + void bigintspan_set_floatspan(Pointer s1, Pointer s2); + + void bigintspan_set_intspan(Pointer s1, Pointer s2); + + void datespan_set_tstzspan(Pointer s1, Pointer s2); + + void floatspan_set_bigintspan(Pointer s1, Pointer s2); + + void floatspan_set_intspan(Pointer s1, Pointer s2); + + void intspan_set_bigintspan(Pointer s1, Pointer s2); + + void intspan_set_floatspan(Pointer s1, Pointer s2); + + Pointer numset_shift_scale(Pointer s, Pointer shift, Pointer width, boolean hasshift, boolean haswidth); + + Pointer numspan_expand(Pointer s, Pointer value); + + Pointer numspan_shift_scale(Pointer s, Pointer shift, Pointer width, boolean hasshift, boolean haswidth); + + Pointer numspanset_shift_scale(Pointer ss, Pointer shift, Pointer width, boolean hasshift, boolean haswidth); + + Pointer set_compact(Pointer s); + + void span_expand(Pointer s1, Pointer s2); + + Pointer spanset_compact(Pointer ss); + + Pointer tbox_expand_value(Pointer box, Pointer value, int basetyp); + + Pointer textcat_textset_text_common(Pointer s, Pointer txt, boolean invert); + + void tstzspan_set_datespan(Pointer s1, Pointer s2); + + boolean adjacent_span_value(Pointer s, Pointer value); + + boolean adjacent_spanset_value(Pointer ss, Pointer value); + + boolean adjacent_value_spanset(Pointer value, Pointer ss); + + boolean contained_value_set(Pointer value, Pointer s); + + boolean contained_value_span(Pointer value, Pointer s); + + boolean contained_value_spanset(Pointer value, Pointer ss); + + boolean contains_set_value(Pointer s, Pointer value); + + boolean contains_span_value(Pointer s, Pointer value); + + boolean contains_spanset_value(Pointer ss, Pointer value); + + boolean ovadj_span_span(Pointer s1, Pointer s2); + + boolean left_set_value(Pointer s, Pointer value); + + boolean left_span_value(Pointer s, Pointer value); + + boolean left_spanset_value(Pointer ss, Pointer value); + + boolean left_value_set(Pointer value, Pointer s); + + boolean left_value_span(Pointer value, Pointer s); + + boolean left_value_spanset(Pointer value, Pointer ss); + + boolean lfnadj_span_span(Pointer s1, Pointer s2); + + boolean overleft_set_value(Pointer s, Pointer value); + + boolean overleft_span_value(Pointer s, Pointer value); + + boolean overleft_spanset_value(Pointer ss, Pointer value); + + boolean overleft_value_set(Pointer value, Pointer s); + + boolean overleft_value_span(Pointer value, Pointer s); + + boolean overleft_value_spanset(Pointer value, Pointer ss); + + boolean overright_set_value(Pointer s, Pointer value); + + boolean overright_span_value(Pointer s, Pointer value); + + boolean overright_spanset_value(Pointer ss, Pointer value); + + boolean overright_value_set(Pointer value, Pointer s); + + boolean overright_value_span(Pointer value, Pointer s); + + boolean overright_value_spanset(Pointer value, Pointer ss); + + } + + public interface MeosLibraryPartD { + + boolean right_value_set(Pointer value, Pointer s); + + boolean right_set_value(Pointer s, Pointer value); + + boolean right_value_span(Pointer value, Pointer s); + + boolean right_value_spanset(Pointer value, Pointer ss); + + boolean right_span_value(Pointer s, Pointer value); + + boolean right_spanset_value(Pointer ss, Pointer value); + + boolean bbox_type(int bboxtype); + + long bbox_get_size(int bboxtype); + + int bbox_max_dims(int bboxtype); + + boolean temporal_bbox_eq(Pointer box1, Pointer box2, int temptype); + + int temporal_bbox_cmp(Pointer box1, Pointer box2, int temptype); + + void bbox_union_span_span(Pointer s1, Pointer s2, Pointer result); + + boolean inter_span_span(Pointer s1, Pointer s2, Pointer result); + + Pointer intersection_set_value(Pointer s, Pointer value); + + Pointer intersection_span_value(Pointer s, Pointer value); + + Pointer intersection_spanset_value(Pointer ss, Pointer value); + + Pointer intersection_value_set(Pointer value, Pointer s); + + Pointer intersection_value_span(Pointer value, Pointer s); + + Pointer intersection_value_spanset(Pointer value, Pointer ss); + + int mi_span_span(Pointer s1, Pointer s2, Pointer result); + + Pointer minus_set_value(Pointer s, Pointer value); + + Pointer minus_span_value(Pointer s, Pointer value); + + Pointer minus_spanset_value(Pointer ss, Pointer value); + + Pointer minus_value_set(Pointer value, Pointer s); + + Pointer minus_value_span(Pointer value, Pointer s); + + Pointer minus_value_spanset(Pointer value, Pointer ss); + + Pointer super_union_span_span(Pointer s1, Pointer s2); + + Pointer union_set_value(Pointer s, Pointer value); + + Pointer union_span_value(Pointer s, Pointer value); + + Pointer union_spanset_value(Pointer ss, Pointer value); + + Pointer union_value_set(Pointer value, Pointer s); + + Pointer union_value_span(Pointer value, Pointer s); + + Pointer union_value_spanset(Pointer value, Pointer ss); + + int distance_set_set(Pointer s1, Pointer s2); + + int distance_set_value(Pointer s, Pointer value); + + int distance_span_span(Pointer s1, Pointer s2); + + int distance_span_value(Pointer s, Pointer value); + + int distance_spanset_span(Pointer ss, Pointer s); + + int distance_spanset_spanset(Pointer ss1, Pointer ss2); + + int distance_spanset_value(Pointer ss, Pointer value); + + int distance_value_value(Pointer l, Pointer r, int basetype); + + Pointer spanbase_extent_transfn(Pointer state, Pointer value, int basetype); + + Pointer value_union_transfn(Pointer state, Pointer value, int basetype); + + Pointer number_tstzspan_to_tbox(Pointer d, int basetype, Pointer s); + + Pointer number_timestamptz_to_tbox(Pointer d, int basetype, long t); + + void tbox_set(Pointer s, Pointer p, Pointer box); + + void float_set_tbox(double d, Pointer box); + + void int_set_tbox(int i, Pointer box); + + void number_set_tbox(Pointer d, int basetype, Pointer box); + + Pointer number_tbox(Pointer value, int basetype); + + void numset_set_tbox(Pointer s, Pointer box); + + void numspan_set_tbox(Pointer span, Pointer box); + + void timestamptz_set_tbox(long t, Pointer box); + + void tstzset_set_tbox(Pointer s, Pointer box); + + void tstzspan_set_tbox(Pointer s, Pointer box); + + Pointer tbox_shift_scale_value(Pointer box, Pointer shift, Pointer width, boolean hasshift, boolean haswidth); + + void tbox_expand(Pointer box1, Pointer box2); + + boolean inter_tbox_tbox(Pointer box1, Pointer box2, Pointer result); + + Pointer tboolinst_from_mfjson(Pointer mfjson); + + Pointer tboolinst_in(String str); + + Pointer tboolseq_from_mfjson(Pointer mfjson); + + Pointer tboolseq_in(String str, int interp); + + Pointer tboolseqset_from_mfjson(Pointer mfjson); + + Pointer tboolseqset_in(String str); + + Pointer temporal_in(String str, int temptype); + + String temporal_out(Pointer temp, int maxdd); + + Pointer temparr_out(Pointer temparr, int count, int maxdd); + + Pointer tfloatinst_from_mfjson(Pointer mfjson); + + Pointer tfloatinst_in(String str); + + Pointer tfloatseq_from_mfjson(Pointer mfjson, int interp); + + Pointer tfloatseq_in(String str, int interp); + + Pointer tfloatseqset_from_mfjson(Pointer mfjson, int interp); + + Pointer tfloatseqset_in(String str); + + Pointer tinstant_from_mfjson(Pointer mfjson, boolean spatial, int srid, int temptype); + + Pointer tinstant_in(String str, int temptype); + + String tinstant_out(Pointer inst, int maxdd); + + Pointer tintinst_from_mfjson(Pointer mfjson); + + Pointer tintinst_in(String str); + + Pointer tintseq_from_mfjson(Pointer mfjson); + + Pointer tintseq_in(String str, int interp); + + Pointer tintseqset_from_mfjson(Pointer mfjson); + + Pointer tintseqset_in(String str); + + Pointer tsequence_from_mfjson(Pointer mfjson, boolean spatial, int srid, int temptype, int interp); + + Pointer tsequence_in(String str, int temptype, int interp); + + String tsequence_out(Pointer seq, int maxdd); + + Pointer tsequenceset_from_mfjson(Pointer mfjson, boolean spatial, int srid, int temptype, int interp); + + Pointer tsequenceset_in(String str, int temptype, int interp); + + String tsequenceset_out(Pointer ss, int maxdd); + + Pointer ttextinst_from_mfjson(Pointer mfjson); + + Pointer ttextinst_in(String str); + + Pointer ttextseq_from_mfjson(Pointer mfjson); + + Pointer ttextseq_in(String str, int interp); + + Pointer ttextseqset_from_mfjson(Pointer mfjson); + + Pointer ttextseqset_in(String str); + + Pointer temporal_from_mfjson(String mfjson, int temptype); + + Pointer temporal_from_base_temp(Pointer value, int temptype, Pointer temp); + + Pointer tinstant_copy(Pointer inst); + + Pointer tinstant_make(Pointer value, int temptype, long t); + + Pointer tinstant_make_free(Pointer value, int temptype, long t); + + Pointer tsequence_copy(Pointer seq); + + Pointer tsequence_from_base_temp(Pointer value, int temptype, Pointer seq); + + Pointer tsequence_from_base_tstzset(Pointer value, int temptype, Pointer s); + + Pointer tsequence_from_base_tstzspan(Pointer value, int temptype, Pointer s, int interp); + + Pointer tsequence_make_exp(Pointer instants, int count, int maxcount, boolean lower_inc, boolean upper_inc, int interp, boolean normalize); + + Pointer tsequence_make_free(Pointer instants, int count, boolean lower_inc, boolean upper_inc, int interp, boolean normalize); + + Pointer tsequenceset_copy(Pointer ss); + + Pointer tseqsetarr_to_tseqset(Pointer seqsets, int count, int totalseqs); + + Pointer tsequenceset_from_base_temp(Pointer value, int temptype, Pointer ss); + + Pointer tsequenceset_from_base_tstzspanset(Pointer value, int temptype, Pointer ss, int interp); + + Pointer tsequenceset_make_exp(Pointer sequences, int count, int maxcount, boolean normalize); + + Pointer tsequenceset_make_free(Pointer sequences, int count, boolean normalize); + + void temporal_set_tstzspan(Pointer temp, Pointer s); + + void tinstant_set_tstzspan(Pointer inst, Pointer s); + + void tnumber_set_tbox(Pointer temp, Pointer box); + + void tnumberinst_set_tbox(Pointer inst, Pointer box); + + void tnumberseq_set_tbox(Pointer seq, Pointer box); + + void tnumberseqset_set_tbox(Pointer ss, Pointer box); + + void tsequence_set_tstzspan(Pointer seq, Pointer s); + + void tsequenceset_set_tstzspan(Pointer ss, Pointer s); + + Pointer temporal_end_inst(Pointer temp); + + int temporal_end_value(Pointer temp); + + Pointer temporal_inst_n(Pointer temp, int n); + + Pointer temporal_insts_p(Pointer temp, Pointer count); + + Pointer temporal_max_inst_p(Pointer temp); + + int temporal_max_value(Pointer temp); + + long temporal_mem_size(Pointer temp); + + Pointer temporal_min_inst_p(Pointer temp); + + int temporal_min_value(Pointer temp); + + Pointer temporal_sequences_p(Pointer temp, Pointer count); + + void temporal_set_bbox(Pointer temp, Pointer box); + + Pointer temporal_start_inst(Pointer temp); + + int temporal_start_value(Pointer temp); + + Pointer temporal_values_p(Pointer temp, Pointer count); + + boolean temporal_value_n(Pointer temp, int n, Pointer result); + + Pointer temporal_values(Pointer temp, Pointer count); + + int tinstant_hash(Pointer inst); + + Pointer tinstant_insts(Pointer inst, Pointer count); + + void tinstant_set_bbox(Pointer inst, Pointer box); + + Pointer tinstant_time(Pointer inst); + + Pointer tinstant_timestamps(Pointer inst, Pointer count); + + int tinstant_value_p(Pointer inst); + + int tinstant_value(Pointer inst); + + boolean tinstant_value_at_timestamptz(Pointer inst, long t, Pointer result); + + Pointer tinstant_values_p(Pointer inst, Pointer count); + + void tnumber_set_span(Pointer temp, Pointer span); + + Pointer tnumberinst_valuespans(Pointer inst); + + double tnumberseq_avg_val(Pointer seq); + + Pointer tnumberseq_valuespans(Pointer seq); + + double tnumberseqset_avg_val(Pointer ss); + + Pointer tnumberseqset_valuespans(Pointer ss); + + Pointer tsequence_duration(Pointer seq); + + long tsequence_end_timestamptz(Pointer seq); + + int tsequence_hash(Pointer seq); + + Pointer tsequence_insts_p(Pointer seq); + + Pointer tsequence_max_inst_p(Pointer seq); + + int tsequence_max_val(Pointer seq); + + Pointer tsequence_min_inst_p(Pointer seq); + + int tsequence_min_val(Pointer seq); + + Pointer tsequence_segments(Pointer seq, Pointer count); + + Pointer tsequence_seqs(Pointer seq, Pointer count); + + long tsequence_start_timestamptz(Pointer seq); + + Pointer tsequence_time(Pointer seq); + + Pointer tsequence_timestamps(Pointer seq, Pointer count); + + boolean tsequence_value_at_timestamptz(Pointer seq, long t, boolean strict, Pointer result); + + Pointer tsequence_values_p(Pointer seq, Pointer count); + + Pointer tsequenceset_duration(Pointer ss, boolean boundspan); + + long tsequenceset_end_timestamptz(Pointer ss); + + int tsequenceset_hash(Pointer ss); + + Pointer tsequenceset_inst_n(Pointer ss, int n); + + Pointer tsequenceset_insts_p(Pointer ss); + + Pointer tsequenceset_max_inst_p(Pointer ss); + + int tsequenceset_max_val(Pointer ss); + + Pointer tsequenceset_min_inst_p(Pointer ss); + + int tsequenceset_min_val(Pointer ss); + + int tsequenceset_num_instants(Pointer ss); + + int tsequenceset_num_timestamps(Pointer ss); + + Pointer tsequenceset_segments(Pointer ss, Pointer count); + + Pointer tsequenceset_sequences_p(Pointer ss); + + long tsequenceset_start_timestamptz(Pointer ss); + + Pointer tsequenceset_time(Pointer ss); + + boolean tsequenceset_timestamptz_n(Pointer ss, int n, Pointer result); + + Pointer tsequenceset_timestamps(Pointer ss, Pointer count); + + boolean tsequenceset_value_at_timestamptz(Pointer ss, long t, boolean strict, Pointer result); + + boolean tsequenceset_value_n(Pointer ss, int n, Pointer result); + + Pointer tsequenceset_values_p(Pointer ss, Pointer count); + + void temporal_restart(Pointer temp, int count); + + Pointer temporal_tsequence(Pointer temp, int interp); + + Pointer temporal_tsequenceset(Pointer temp, int interp); + + Pointer tinstant_shift_time(Pointer inst, Pointer interv); + + Pointer tinstant_to_tsequence(Pointer inst, int interp); + + Pointer tinstant_to_tsequence_free(Pointer inst, int interp); + + Pointer tinstant_to_tsequenceset(Pointer inst, int interp); + + Pointer tnumber_shift_scale_value(Pointer temp, Pointer shift, Pointer width, boolean hasshift, boolean haswidth); + + Pointer tnumberinst_shift_value(Pointer inst, Pointer shift); + + Pointer tnumberseq_shift_scale_value(Pointer seq, Pointer shift, Pointer width, boolean hasshift, boolean haswidth); + + Pointer tnumberseqset_shift_scale_value(Pointer ss, Pointer start, Pointer width, boolean hasshift, boolean haswidth); + + void tsequence_restart(Pointer seq, int count); + + Pointer tsequence_set_interp(Pointer seq, int interp); + + Pointer tsequence_shift_scale_time(Pointer seq, Pointer shift, Pointer duration); + + Pointer tsequence_subseq(Pointer seq, int from, int to, boolean lower_inc, boolean upper_inc); + + Pointer tsequence_to_tinstant(Pointer seq); + + Pointer tsequence_to_tsequenceset(Pointer seq); + + Pointer tsequence_to_tsequenceset_free(Pointer seq); + + Pointer tsequence_to_tsequenceset_interp(Pointer seq, int interp); + + void tsequenceset_restart(Pointer ss, int count); + + Pointer tsequenceset_set_interp(Pointer ss, int interp); + + Pointer tsequenceset_shift_scale_time(Pointer ss, Pointer start, Pointer duration); + + Pointer tsequenceset_to_discrete(Pointer ss); + + Pointer tsequenceset_to_linear(Pointer ss); + + Pointer tsequenceset_to_step(Pointer ss); + + Pointer tsequenceset_to_tinstant(Pointer ss); + + Pointer tsequenceset_to_tsequence(Pointer ss); + + Pointer tinstant_merge(Pointer inst1, Pointer inst2); + + Pointer tinstant_merge_array(Pointer instants, int count); + + Pointer tsequence_append_tinstant(Pointer seq, Pointer inst, double maxdist, Pointer maxt, boolean expand); + + Pointer tsequence_append_tsequence(Pointer seq1, Pointer seq2, boolean expand); + + Pointer tsequence_delete_timestamptz(Pointer seq, long t, boolean connect); + + Pointer tsequence_delete_tstzset(Pointer seq, Pointer s, boolean connect); + + Pointer tsequence_delete_tstzspan(Pointer seq, Pointer s, boolean connect); + + Pointer tsequence_delete_tstzspanset(Pointer seq, Pointer ss, boolean connect); + + Pointer tsequence_insert(Pointer seq1, Pointer seq2, boolean connect); + + Pointer tsequence_merge(Pointer seq1, Pointer seq2); + + Pointer tsequence_merge_array(Pointer sequences, int count); + + Pointer tsequenceset_append_tinstant(Pointer ss, Pointer inst, double maxdist, Pointer maxt, boolean expand); + + Pointer tsequenceset_append_tsequence(Pointer ss, Pointer seq, boolean expand); + + Pointer tsequenceset_delete_timestamptz(Pointer ss, long t); + + Pointer tsequenceset_delete_tstzset(Pointer ss, Pointer s); + + Pointer tsequenceset_delete_tstzspan(Pointer ss, Pointer s); + + Pointer tsequenceset_delete_tstzspanset(Pointer ss, Pointer ps); + + Pointer tsequenceset_insert(Pointer ss1, Pointer ss2); + + Pointer tsequenceset_merge(Pointer ss1, Pointer ss2); + + Pointer tsequenceset_merge_array(Pointer seqsets, int count); + + void tsequence_expand_bbox(Pointer seq, Pointer inst); + + void tsequence_set_bbox(Pointer seq, Pointer box); + + void tsequenceset_expand_bbox(Pointer ss, Pointer seq); + + void tsequenceset_set_bbox(Pointer ss, Pointer box); + + Pointer tcontseq_after_timestamptz(Pointer seq, long t, boolean strict); + + Pointer tcontseq_before_timestamptz(Pointer seq, long t, boolean strict); + + Pointer tcontseq_restrict_minmax(Pointer seq, boolean min, boolean atfunc); + + Pointer tdiscseq_after_timestamptz(Pointer seq, long t, boolean strict); + + Pointer tdiscseq_before_timestamptz(Pointer seq, long t, boolean strict); + + Pointer tdiscseq_restrict_minmax(Pointer seq, boolean min, boolean atfunc); + + boolean temporal_bbox_restrict_set(Pointer temp, Pointer set); + + Pointer temporal_restrict_minmax(Pointer temp, boolean min, boolean atfunc); + + Pointer temporal_restrict_timestamptz(Pointer temp, long t, boolean atfunc); + + Pointer temporal_restrict_tstzset(Pointer temp, Pointer s, boolean atfunc); + + Pointer temporal_restrict_tstzspan(Pointer temp, Pointer s, boolean atfunc); + + Pointer temporal_restrict_tstzspanset(Pointer temp, Pointer ss, boolean atfunc); + + Pointer temporal_restrict_value(Pointer temp, Pointer value, boolean atfunc); + + Pointer temporal_restrict_values(Pointer temp, Pointer set, boolean atfunc); + + boolean temporal_value_at_timestamptz(Pointer temp, long t, boolean strict, Pointer result); + + Pointer tinstant_after_timestamptz(Pointer inst, long t, boolean strict); + + Pointer tinstant_before_timestamptz(Pointer inst, long t, boolean strict); + + Pointer tinstant_restrict_tstzspan(Pointer inst, Pointer period, boolean atfunc); + + Pointer tinstant_restrict_tstzspanset(Pointer inst, Pointer ss, boolean atfunc); + + Pointer tinstant_restrict_timestamptz(Pointer inst, long t, boolean atfunc); + + Pointer tinstant_restrict_tstzset(Pointer inst, Pointer s, boolean atfunc); + + Pointer tinstant_restrict_value(Pointer inst, Pointer value, boolean atfunc); + + Pointer tinstant_restrict_values(Pointer inst, Pointer set, boolean atfunc); + + Pointer tnumber_restrict_span(Pointer temp, Pointer span, boolean atfunc); + + Pointer tnumber_restrict_spanset(Pointer temp, Pointer ss, boolean atfunc); + + Pointer tnumberinst_restrict_span(Pointer inst, Pointer span, boolean atfunc); + + Pointer tnumberinst_restrict_spanset(Pointer inst, Pointer ss, boolean atfunc); + + Pointer tnumberseqset_restrict_span(Pointer ss, Pointer span, boolean atfunc); + + Pointer tnumberseqset_restrict_spanset(Pointer ss, Pointer spanset, boolean atfunc); + + Pointer tsequence_at_timestamptz(Pointer seq, long t); + + Pointer tsequence_restrict_tstzspan(Pointer seq, Pointer s, boolean atfunc); + + Pointer tsequence_restrict_tstzspanset(Pointer seq, Pointer ss, boolean atfunc); + + Pointer tsequenceset_after_timestamptz(Pointer ss, long t, boolean strict); + + Pointer tsequenceset_before_timestamptz(Pointer ss, long t, boolean strict); + + Pointer tsequenceset_restrict_minmax(Pointer ss, boolean min, boolean atfunc); + + Pointer tsequenceset_restrict_tstzspan(Pointer ss, Pointer s, boolean atfunc); + + Pointer tsequenceset_restrict_tstzspanset(Pointer ss, Pointer ps, boolean atfunc); + + Pointer tsequenceset_restrict_timestamptz(Pointer ss, long t, boolean atfunc); + + Pointer tsequenceset_restrict_tstzset(Pointer ss, Pointer s, boolean atfunc); + + Pointer tsequenceset_restrict_value(Pointer ss, Pointer value, boolean atfunc); + + Pointer tsequenceset_restrict_values(Pointer ss, Pointer s, boolean atfunc); + + int tinstant_cmp(Pointer inst1, Pointer inst2); + + boolean tinstant_eq(Pointer inst1, Pointer inst2); + + int tsequence_cmp(Pointer seq1, Pointer seq2); + + boolean tsequence_eq(Pointer seq1, Pointer seq2); + + int tsequenceset_cmp(Pointer ss1, Pointer ss2); + + boolean tsequenceset_eq(Pointer ss1, Pointer ss2); + + int always_eq_base_temporal(Pointer value, Pointer temp); + + int always_eq_temporal_base(Pointer temp, Pointer value); + + int always_ne_base_temporal(Pointer value, Pointer temp); + + int always_ne_temporal_base(Pointer temp, Pointer value); + + int always_ge_base_temporal(Pointer value, Pointer temp); + + int always_ge_temporal_base(Pointer temp, Pointer value); + + int always_gt_base_temporal(Pointer value, Pointer temp); + + int always_gt_temporal_base(Pointer temp, Pointer value); + + int always_le_base_temporal(Pointer value, Pointer temp); + + int always_le_temporal_base(Pointer temp, Pointer value); + + int always_lt_base_temporal(Pointer value, Pointer temp); + + int always_lt_temporal_base(Pointer temp, Pointer value); + + int ever_eq_base_temporal(Pointer value, Pointer temp); + + int ever_eq_temporal_base(Pointer temp, Pointer value); + + int ever_ne_base_temporal(Pointer value, Pointer temp); + + int ever_ne_temporal_base(Pointer temp, Pointer value); + + int ever_ge_base_temporal(Pointer value, Pointer temp); + + int ever_ge_temporal_base(Pointer temp, Pointer value); + + int ever_gt_base_temporal(Pointer value, Pointer temp); + + int ever_gt_temporal_base(Pointer temp, Pointer value); + + int ever_le_base_temporal(Pointer value, Pointer temp); + + int ever_le_temporal_base(Pointer temp, Pointer value); + + int ever_lt_base_temporal(Pointer value, Pointer temp); + + int ever_lt_temporal_base(Pointer temp, Pointer value); + + Pointer tnumberinst_abs(Pointer inst); + + Pointer tnumberseq_abs(Pointer seq); + + Pointer tnumberseq_angular_difference(Pointer seq); + + Pointer tnumberseq_delta_value(Pointer seq); + + Pointer tnumberseqset_abs(Pointer ss); + + Pointer tnumberseqset_angular_difference(Pointer ss); + + Pointer tnumberseqset_delta_value(Pointer ss); + + double distance_span_span_double(Pointer s1, Pointer s2); + + double nad_tbox_tbox(Pointer box1, Pointer box2); + + double nad_tnumber_number(Pointer temp, Pointer value); + + double nad_tnumber_tbox(Pointer temp, Pointer box); + + double nad_tnumber_tnumber(Pointer temp1, Pointer temp2); + + Pointer tdistance_tnumber_number(Pointer temp, Pointer value); + + double tnumberinst_distance(Pointer inst1, Pointer inst2); + + double tnumberseq_integral(Pointer seq); + + double tnumberseq_twavg(Pointer seq); + + double tnumberseqset_integral(Pointer ss); + + double tnumberseqset_twavg(Pointer ss); + + Pointer temporal_compact(Pointer temp); + + Pointer tsequence_compact(Pointer seq); + + Pointer tsequenceset_compact(Pointer ss); + + Pointer temporal_skiplist_make(); + + Pointer skiplist_make(long key_size, long value_size, Pointer comp_fn, Pointer merge_fn); + + int skiplist_search(Pointer list, Pointer key, Pointer value); + + void skiplist_free(Pointer list); + + void skiplist_splice(Pointer list, Pointer keys, Pointer values, int count, Pointer func, boolean crossings, int sktype); + + void temporal_skiplist_splice(Pointer list, Pointer values, int count, Pointer func, boolean crossings); + + Pointer skiplist_values(Pointer list); + + Pointer skiplist_keys_values(Pointer list, Pointer values); + + Pointer temporal_app_tinst_transfn(Pointer state, Pointer inst, int interp, double maxdist, Pointer maxt); + + Pointer temporal_app_tseq_transfn(Pointer state, Pointer seq); + + Pointer span_bins(Pointer s, Pointer size, Pointer origin, Pointer count); + + Pointer spanset_bins(Pointer ss, Pointer size, Pointer origin, Pointer count); + + Pointer tnumber_value_bins(Pointer temp, Pointer size, Pointer origin, Pointer count); + + Pointer tnumber_value_time_boxes(Pointer temp, Pointer vsize, Pointer duration, Pointer vorigin, long torigin, Pointer count); + + Pointer tnumber_value_split(Pointer temp, Pointer vsize, Pointer vorigin, Pointer bins, Pointer count); + + Pointer tbox_get_value_time_tile(Pointer value, long t, Pointer vsize, Pointer duration, Pointer vorigin, long torigin, int basetype, int spantype); + + Pointer tnumber_value_time_split(Pointer temp, Pointer size, Pointer duration, Pointer vorigin, long torigin, Pointer value_bins, Pointer time_bins, Pointer count); + + Pointer proj_get_context(); + + int datum_geo_round(Pointer value, Pointer size); + + Pointer point_round(Pointer gs, int maxdd); + + void stbox_set(boolean hasx, boolean hasz, boolean geodetic, int srid, double xmin, double xmax, double ymin, double ymax, double zmin, double zmax, Pointer s, Pointer box); + + void gbox_set_stbox(Pointer box, int srid, Pointer result); + + boolean geo_set_stbox(Pointer gs, Pointer box); + + void geoarr_set_stbox(Pointer values, int count, Pointer box); + + boolean spatial_set_stbox(Pointer d, int basetype, Pointer box); + + void spatialset_set_stbox(Pointer set, Pointer box); + + void stbox_set_box3d(Pointer box, Pointer box3d); + + void stbox_set_gbox(Pointer box, Pointer gbox); + + void tstzset_set_stbox(Pointer s, Pointer box); + + void tstzspan_set_stbox(Pointer s, Pointer box); + + void tstzspanset_set_stbox(Pointer s, Pointer box); + + void stbox_expand(Pointer box1, Pointer box2); + + boolean inter_stbox_stbox(Pointer box1, Pointer box2, Pointer result); + + Pointer stbox_geo(Pointer box); + + Pointer tgeogpointinst_from_mfjson(Pointer mfjson, int srid); + + Pointer tgeogpointinst_in(String str); + + Pointer tgeogpointseq_from_mfjson(Pointer mfjson, int srid, int interp); + + Pointer tgeogpointseq_in(String str, int interp); + + Pointer tgeogpointseqset_from_mfjson(Pointer mfjson, int srid, int interp); + + Pointer tgeogpointseqset_in(String str); + + Pointer tgeompointinst_from_mfjson(Pointer mfjson, int srid); + + Pointer tgeompointinst_in(String str); + + Pointer tgeompointseq_from_mfjson(Pointer mfjson, int srid, int interp); + + Pointer tgeompointseq_in(String str, int interp); + + Pointer tgeompointseqset_from_mfjson(Pointer mfjson, int srid, int interp); + + Pointer tgeompointseqset_in(String str); + + Pointer tgeographyinst_from_mfjson(Pointer mfjson, int srid); + + Pointer tgeographyinst_in(String str); + + Pointer tgeographyseq_from_mfjson(Pointer mfjson, int srid, int interp); + + Pointer tgeographyseq_in(String str, int interp); + + Pointer tgeographyseqset_from_mfjson(Pointer mfjson, int srid, int interp); + + Pointer tgeographyseqset_in(String str); + + Pointer tgeometryinst_from_mfjson(Pointer mfjson, int srid); + + Pointer tgeometryinst_in(String str); + + Pointer tgeometryseq_from_mfjson(Pointer mfjson, int srid, int interp); + + Pointer tgeometryseq_in(String str, int interp); + + Pointer tgeometryseqset_from_mfjson(Pointer mfjson, int srid, int interp); + + Pointer tgeometryseqset_in(String str); + + void tspatial_set_stbox(Pointer temp, Pointer box); + + void tgeoinst_set_stbox(Pointer inst, Pointer box); + + void tspatialseq_set_stbox(Pointer seq, Pointer box); + + void tspatialseqset_set_stbox(Pointer ss, Pointer box); + + Pointer tgeo_restrict_elevation(Pointer temp, Pointer s, boolean atfunc); + + Pointer tgeo_restrict_geom(Pointer temp, Pointer gs, boolean atfunc); + + Pointer tgeo_restrict_stbox(Pointer temp, Pointer box, boolean border_inc, boolean atfunc); + + Pointer tgeoinst_restrict_geom(Pointer inst, Pointer gs, boolean atfunc); + + Pointer tgeoinst_restrict_stbox(Pointer inst, Pointer box, boolean border_inc, boolean atfunc); + + Pointer tgeoseq_restrict_geom(Pointer seq, Pointer gs, boolean atfunc); + + Pointer tgeoseq_restrict_stbox(Pointer seq, Pointer box, boolean border_inc, boolean atfunc); + + Pointer tgeoseqset_restrict_geom(Pointer ss, Pointer gs, boolean atfunc); + + Pointer tgeoseqset_restrict_stbox(Pointer ss, Pointer box, boolean border_inc, boolean atfunc); + + int spatial_srid(Pointer d, int basetype); + + boolean spatial_set_srid(Pointer d, int basetype, int srid); + + int tspatialinst_srid(Pointer inst); + + Pointer tpointseq_azimuth(Pointer seq); + + Pointer tpointseq_cumulative_length(Pointer seq, double prevlength); + + boolean tpointseq_is_simple(Pointer seq); + + double tpointseq_length(Pointer seq); + + Pointer tpointseq_linear_trajectory(Pointer seq, boolean unary_union); + + Pointer tgeoseq_stboxes(Pointer seq, Pointer count); + + Pointer tgeoseq_split_n_stboxes(Pointer seq, int max_count, Pointer count); + + Pointer tpointseqset_azimuth(Pointer ss); + + Pointer tpointseqset_cumulative_length(Pointer ss); + + boolean tpointseqset_is_simple(Pointer ss); + + double tpointseqset_length(Pointer ss); + + Pointer tgeoseqset_stboxes(Pointer ss, Pointer count); + + Pointer tgeoseqset_split_n_stboxes(Pointer ss, int max_count, Pointer count); + + Pointer tpoint_get_coord(Pointer temp, int coord); + + Pointer tgeominst_tgeoginst(Pointer inst, boolean oper); + + Pointer tgeomseq_tgeogseq(Pointer seq, boolean oper); + + Pointer tgeomseqset_tgeogseqset(Pointer ss, boolean oper); + + Pointer tgeom_tgeog(Pointer temp, boolean oper); + + Pointer tgeo_tpoint(Pointer temp, boolean oper); + + void tspatialinst_set_srid(Pointer inst, int srid); + + Pointer tpointseq_make_simple(Pointer seq, Pointer count); + + void tspatialseq_set_srid(Pointer seq, int srid); + + Pointer tpointseqset_make_simple(Pointer ss, Pointer count); + + void tspatialseqset_set_srid(Pointer ss, int srid); + + Pointer tpointseq_twcentroid(Pointer seq); + + Pointer tpointseqset_twcentroid(Pointer ss); + + String npoint_as_ewkt(Pointer np, int maxdd); + + String npoint_as_hexwkb(Pointer np, byte variant, Pointer size_out); + + String npoint_as_text(Pointer np, int maxdd); + + Pointer npoint_as_wkb(Pointer np, byte variant, Pointer size_out); + + Pointer npoint_from_hexwkb(String hexwkb); + + Pointer npoint_from_wkb(Pointer wkb, long size); + + Pointer npoint_in(String str); + + String npoint_out(Pointer np, int maxdd); + + Pointer nsegment_in(String str); + + String nsegment_out(Pointer ns, int maxdd); + + Pointer npoint_make(long rid, double pos); + + Pointer nsegment_make(long rid, double pos1, double pos2); + + Pointer geompoint_to_npoint(Pointer gs); + + Pointer geom_to_nsegment(Pointer gs); + + Pointer npoint_to_geompoint(Pointer np); + + Pointer npoint_to_nsegment(Pointer np); + + Pointer npoint_to_stbox(Pointer np); + + Pointer nsegment_to_geom(Pointer ns); + + Pointer nsegment_to_stbox(Pointer np); + + int npoint_hash(Pointer np); + + long npoint_hash_extended(Pointer np, long seed); + + double npoint_position(Pointer np); + + long npoint_route(Pointer np); + + double nsegment_end_position(Pointer ns); + + long nsegment_route(Pointer ns); + + double nsegment_start_position(Pointer ns); + + boolean route_exists(long rid); + + Pointer route_geom(long rid); + + double route_length(long rid); + + Pointer npoint_round(Pointer np, int maxdd); + + Pointer nsegment_round(Pointer ns, int maxdd); + + int get_srid_ways(); + + int npoint_srid(Pointer np); + + int nsegment_srid(Pointer ns); + + Pointer npoint_timestamptz_to_stbox(Pointer np, long t); + + Pointer npoint_tstzspan_to_stbox(Pointer np, Pointer s); + + int npoint_cmp(Pointer np1, Pointer np2); + + boolean npoint_eq(Pointer np1, Pointer np2); + + boolean npoint_ge(Pointer np1, Pointer np2); + + boolean npoint_gt(Pointer np1, Pointer np2); + + boolean npoint_le(Pointer np1, Pointer np2); + + boolean npoint_lt(Pointer np1, Pointer np2); + + boolean npoint_ne(Pointer np1, Pointer np2); + + boolean npoint_same(Pointer np1, Pointer np2); + + int nsegment_cmp(Pointer ns1, Pointer ns2); + + boolean nsegment_eq(Pointer ns1, Pointer ns2); + + boolean nsegment_ge(Pointer ns1, Pointer ns2); + + boolean nsegment_gt(Pointer ns1, Pointer ns2); + + boolean nsegment_le(Pointer ns1, Pointer ns2); + + boolean nsegment_lt(Pointer ns1, Pointer ns2); + + boolean nsegment_ne(Pointer ns1, Pointer ns2); + + Pointer npointset_in(String str); + + String npointset_out(Pointer s, int maxdd); + + Pointer npointset_make(Pointer values, int count); + + Pointer npoint_to_set(Pointer np); + + Pointer npointset_end_value(Pointer s); + + Pointer npointset_routes(Pointer s); + + Pointer npointset_start_value(Pointer s); + + boolean npointset_value_n(Pointer s, int n, Pointer result); + + Pointer npointset_values(Pointer s); + + boolean contained_npoint_set(Pointer np, Pointer s); + + boolean contains_set_npoint(Pointer s, Pointer np); + + Pointer intersection_npoint_set(Pointer np, Pointer s); + + Pointer intersection_set_npoint(Pointer s, Pointer np); + + Pointer minus_npoint_set(Pointer np, Pointer s); + + Pointer minus_set_npoint(Pointer s, Pointer np); + + Pointer npoint_union_transfn(Pointer state, Pointer np); + + Pointer union_npoint_set(Pointer np, Pointer s); + + Pointer union_set_npoint(Pointer s, Pointer np); + + Pointer tnpoint_in(String str); + + Pointer tnpoint_from_mfjson(String mfjson); + + String tnpoint_out(Pointer temp, int maxdd); + + Pointer tnpointinst_make(Pointer np, long t); + + Pointer tgeompoint_to_tnpoint(Pointer temp); + + Pointer tnpoint_to_tgeompoint(Pointer temp); + + Pointer tnpoint_cumulative_length(Pointer temp); + + double tnpoint_length(Pointer temp); + + Pointer tnpoint_positions(Pointer temp, Pointer count); + + long tnpoint_route(Pointer temp); + + Pointer tnpoint_routes(Pointer temp); + + Pointer tnpoint_speed(Pointer temp); + + Pointer tnpoint_trajectory(Pointer temp); + + Pointer tnpoint_twcentroid(Pointer temp); + + Pointer tnpoint_at_geom(Pointer temp, Pointer gs); + + Pointer tnpoint_at_npoint(Pointer temp, Pointer np); + + Pointer tnpoint_at_npointset(Pointer temp, Pointer s); + + Pointer tnpoint_at_stbox(Pointer temp, Pointer box, boolean border_inc); + + Pointer tnpoint_minus_geom(Pointer temp, Pointer gs); + + Pointer tnpoint_minus_npoint(Pointer temp, Pointer np); + + Pointer tnpoint_minus_npointset(Pointer temp, Pointer s); + + Pointer tnpoint_minus_stbox(Pointer temp, Pointer box, boolean border_inc); + + Pointer tdistance_tnpoint_npoint(Pointer temp, Pointer np); + + Pointer tdistance_tnpoint_point(Pointer temp, Pointer gs); + + Pointer tdistance_tnpoint_tnpoint(Pointer temp1, Pointer temp2); + + double nad_tnpoint_geo(Pointer temp, Pointer gs); + + double nad_tnpoint_npoint(Pointer temp, Pointer np); + + double nad_tnpoint_stbox(Pointer temp, Pointer box); + + double nad_tnpoint_tnpoint(Pointer temp1, Pointer temp2); + + Pointer nai_tnpoint_geo(Pointer temp, Pointer gs); + + Pointer nai_tnpoint_npoint(Pointer temp, Pointer np); + + Pointer nai_tnpoint_tnpoint(Pointer temp1, Pointer temp2); + + Pointer shortestline_tnpoint_geo(Pointer temp, Pointer gs); + + Pointer shortestline_tnpoint_npoint(Pointer temp, Pointer np); + + Pointer shortestline_tnpoint_tnpoint(Pointer temp1, Pointer temp2); + + Pointer tnpoint_tcentroid_transfn(Pointer state, Pointer temp); + + int always_eq_npoint_tnpoint(Pointer np, Pointer temp); + + int always_eq_tnpoint_npoint(Pointer temp, Pointer np); + + int always_eq_tnpoint_tnpoint(Pointer temp1, Pointer temp2); + + int always_ne_npoint_tnpoint(Pointer np, Pointer temp); + + int always_ne_tnpoint_npoint(Pointer temp, Pointer np); + + int always_ne_tnpoint_tnpoint(Pointer temp1, Pointer temp2); + + int ever_eq_npoint_tnpoint(Pointer np, Pointer temp); + + int ever_eq_tnpoint_npoint(Pointer temp, Pointer np); + + int ever_eq_tnpoint_tnpoint(Pointer temp1, Pointer temp2); + + int ever_ne_npoint_tnpoint(Pointer np, Pointer temp); + + int ever_ne_tnpoint_npoint(Pointer temp, Pointer np); + + int ever_ne_tnpoint_tnpoint(Pointer temp1, Pointer temp2); + + Pointer teq_tnpoint_npoint(Pointer temp, Pointer np); + + Pointer tne_tnpoint_npoint(Pointer temp, Pointer np); + + String pose_as_ewkt(Pointer pose, int maxdd); + + String pose_as_hexwkb(Pointer pose, byte variant, Pointer size); + + String pose_as_text(Pointer pose, int maxdd); + + Pointer pose_as_wkb(Pointer pose, byte variant, Pointer size_out); + + Pointer pose_from_wkb(Pointer wkb, long size); + + Pointer pose_from_hexwkb(String hexwkb); + + Pointer pose_in(String str); + + String pose_out(Pointer pose, int maxdd); + + Pointer pose_copy(Pointer pose); + + Pointer pose_make_2d(double x, double y, double theta, int srid); + + Pointer pose_make_3d(double x, double y, double z, double W, double X, double Y, double Z, int srid); + + Pointer pose_make_point2d(Pointer gs, double theta); + + Pointer pose_make_point3d(Pointer gs, double W, double X, double Y, double Z); + + Pointer pose_to_point(Pointer pose); + + Pointer pose_to_stbox(Pointer pose); + + int pose_hash(Pointer pose); + + long pose_hash_extended(Pointer pose, long seed); + + Pointer pose_orientation(Pointer pose); + + double pose_rotation(Pointer pose); + + Pointer pose_round(Pointer pose, int maxdd); + + Pointer posearr_round(Pointer posearr, int count, int maxdd); + + void pose_set_srid(Pointer pose, int srid); + + int pose_srid(Pointer pose); + + Pointer pose_transform(Pointer pose, int srid); + + Pointer pose_transform_pipeline(Pointer pose, String pipelinestr, int srid, boolean is_forward); + + Pointer pose_tstzspan_to_stbox(Pointer pose, Pointer s); + + Pointer pose_timestamptz_to_stbox(Pointer pose, long t); + + double distance_pose_geo(Pointer pose, Pointer gs); + + double distance_pose_pose(Pointer pose1, Pointer pose2); + + double distance_pose_stbox(Pointer pose, Pointer box); + + int pose_cmp(Pointer pose1, Pointer pose2); + + boolean pose_eq(Pointer pose1, Pointer pose2); + + boolean pose_ge(Pointer pose1, Pointer pose2); + + boolean pose_gt(Pointer pose1, Pointer pose2); + + boolean pose_le(Pointer pose1, Pointer pose2); + + boolean pose_lt(Pointer pose1, Pointer pose2); + + boolean pose_ne(Pointer pose1, Pointer pose2); + + boolean pose_nsame(Pointer pose1, Pointer pose2); + + boolean pose_same(Pointer pose1, Pointer pose2); + + Pointer poseset_in(String str); + + String poseset_out(Pointer s, int maxdd); + + Pointer poseset_make(Pointer values, int count); + + Pointer pose_to_set(Pointer pose); + + Pointer poseset_end_value(Pointer s); + + Pointer poseset_start_value(Pointer s); + + boolean poseset_value_n(Pointer s, int n, Pointer result); + + Pointer poseset_values(Pointer s); + + boolean contained_pose_set(Pointer pose, Pointer s); + + boolean contains_set_pose(Pointer s, Pointer pose); + + Pointer intersection_pose_set(Pointer pose, Pointer s); + + Pointer intersection_set_pose(Pointer s, Pointer pose); + + Pointer minus_pose_set(Pointer pose, Pointer s); + + Pointer minus_set_pose(Pointer s, Pointer pose); + + Pointer pose_union_transfn(Pointer state, Pointer pose); + + Pointer union_pose_set(Pointer pose, Pointer s); + + Pointer union_set_pose(Pointer s, Pointer pose); + + Pointer tpose_in(String str); + + Pointer tpose_make(Pointer tpoint, Pointer tradius); + + Pointer tpose_to_tpoint(Pointer temp); + + Pointer tpose_end_value(Pointer temp); + + Pointer tpose_points(Pointer temp); + + Pointer tpose_rotation(Pointer temp); + + Pointer tpose_start_value(Pointer temp); + + Pointer tpose_trajectory(Pointer temp); + + boolean tpose_value_at_timestamptz(Pointer temp, long t, boolean strict, Pointer value); + + boolean tpose_value_n(Pointer temp, int n, Pointer result); + + Pointer tpose_values(Pointer temp, Pointer count); + + Pointer tpose_at_geom(Pointer temp, Pointer gs); + + Pointer tpose_at_stbox(Pointer temp, Pointer box, boolean border_inc); + + Pointer tpose_at_pose(Pointer temp, Pointer pose); + + Pointer tpose_minus_geom(Pointer temp, Pointer gs); + + Pointer tpose_minus_pose(Pointer temp, Pointer pose); + + Pointer tpose_minus_stbox(Pointer temp, Pointer box, boolean border_inc); + + Pointer tdistance_tpose_pose(Pointer temp, Pointer pose); + + Pointer tdistance_tpose_point(Pointer temp, Pointer gs); + + Pointer tdistance_tpose_tpose(Pointer temp1, Pointer temp2); + + double nad_tpose_geo(Pointer temp, Pointer gs); + + double nad_tpose_pose(Pointer temp, Pointer pose); + + double nad_tpose_stbox(Pointer temp, Pointer box); + + double nad_tpose_tpose(Pointer temp1, Pointer temp2); + + Pointer nai_tpose_geo(Pointer temp, Pointer gs); + + Pointer nai_tpose_pose(Pointer temp, Pointer pose); + + Pointer nai_tpose_tpose(Pointer temp1, Pointer temp2); + + Pointer shortestline_tpose_geo(Pointer temp, Pointer gs); + + Pointer shortestline_tpose_pose(Pointer temp, Pointer pose); + + Pointer shortestline_tpose_tpose(Pointer temp1, Pointer temp2); + + int always_eq_pose_tpose(Pointer pose, Pointer temp); + + int always_eq_tpose_pose(Pointer temp, Pointer pose); + + int always_eq_tpose_tpose(Pointer temp1, Pointer temp2); + + int always_ne_pose_tpose(Pointer pose, Pointer temp); + + int always_ne_tpose_pose(Pointer temp, Pointer pose); + + int always_ne_tpose_tpose(Pointer temp1, Pointer temp2); + + int ever_eq_pose_tpose(Pointer pose, Pointer temp); + + int ever_eq_tpose_pose(Pointer temp, Pointer pose); + + int ever_eq_tpose_tpose(Pointer temp1, Pointer temp2); + + int ever_ne_pose_tpose(Pointer pose, Pointer temp); + + int ever_ne_tpose_pose(Pointer temp, Pointer pose); + + int ever_ne_tpose_tpose(Pointer temp1, Pointer temp2); + + Pointer teq_pose_tpose(Pointer pose, Pointer temp); + + Pointer teq_tpose_pose(Pointer temp, Pointer pose); + + Pointer tne_pose_tpose(Pointer pose, Pointer temp); + + Pointer tne_tpose_pose(Pointer temp, Pointer pose); + + String trgeo_out(Pointer temp); + + Pointer trgeoinst_make(Pointer geom, Pointer pose, long t); + + Pointer geo_tpose_to_trgeo(Pointer gs, Pointer temp); + + Pointer trgeo_to_tpose(Pointer temp); + + Pointer trgeo_to_tpoint(Pointer temp); + + Pointer trgeo_end_instant(Pointer temp); + + Pointer trgeo_end_sequence(Pointer temp); + + Pointer trgeo_end_value(Pointer temp); + + Pointer trgeo_geom(Pointer temp); + + Pointer trgeo_instant_n(Pointer temp, int n); + + Pointer trgeo_instants(Pointer temp, Pointer count); + + Pointer trgeo_points(Pointer temp); + + Pointer trgeo_rotation(Pointer temp); + + Pointer trgeo_segments(Pointer temp, Pointer count); + + Pointer trgeo_sequence_n(Pointer temp, int i); + + Pointer trgeo_sequences(Pointer temp, Pointer count); + + Pointer trgeo_start_instant(Pointer temp); + + Pointer trgeo_start_sequence(Pointer temp); + + Pointer trgeo_start_value(Pointer temp); + + boolean trgeo_value_n(Pointer temp, int n, Pointer result); + + Pointer trgeo_traversed_area(Pointer temp, boolean unary_union); + + Pointer trgeo_append_tinstant(Pointer temp, Pointer inst, int interp, double maxdist, Pointer maxt, boolean expand); + + Pointer trgeo_append_tsequence(Pointer temp, Pointer seq, boolean expand); + + Pointer trgeo_delete_timestamptz(Pointer temp, long t, boolean connect); + + Pointer trgeo_delete_tstzset(Pointer temp, Pointer s, boolean connect); + + Pointer trgeo_delete_tstzspan(Pointer temp, Pointer s, boolean connect); + + Pointer trgeo_delete_tstzspanset(Pointer temp, Pointer ss, boolean connect); + + Pointer trgeo_round(Pointer temp, int maxdd); + + Pointer trgeo_set_interp(Pointer temp, int interp); + + Pointer trgeo_to_tinstant(Pointer temp); + + Pointer trgeo_after_timestamptz(Pointer temp, long t, boolean strict); + + Pointer trgeo_before_timestamptz(Pointer temp, long t, boolean strict); + + Pointer trgeo_restrict_value(Pointer temp, Pointer value, boolean atfunc); + + Pointer trgeo_restrict_values(Pointer temp, Pointer s, boolean atfunc); + + Pointer trgeo_restrict_timestamptz(Pointer temp, long t, boolean atfunc); + + Pointer trgeo_restrict_tstzset(Pointer temp, Pointer s, boolean atfunc); + + Pointer trgeo_restrict_tstzspan(Pointer temp, Pointer s, boolean atfunc); + + Pointer trgeo_restrict_tstzspanset(Pointer temp, Pointer ss, boolean atfunc); + + Pointer tdistance_trgeo_geo(Pointer temp, Pointer gs); + + Pointer tdistance_trgeo_tpoint(Pointer temp1, Pointer temp2); + + Pointer tdistance_trgeo_trgeo(Pointer temp1, Pointer temp2); + + double nad_stbox_trgeo(Pointer box, Pointer temp); + + double nad_trgeo_geo(Pointer temp, Pointer gs); + + double nad_trgeo_stbox(Pointer temp, Pointer box); + + double nad_trgeo_tpoint(Pointer temp1, Pointer temp2); + + double nad_trgeo_trgeo(Pointer temp1, Pointer temp2); + + Pointer nai_trgeo_geo(Pointer temp, Pointer gs); + + Pointer nai_trgeo_tpoint(Pointer temp1, Pointer temp2); + + Pointer nai_trgeo_trgeo(Pointer temp1, Pointer temp2); + + Pointer shortestline_trgeo_geo(Pointer temp, Pointer gs); + + Pointer shortestline_trgeo_tpoint(Pointer temp1, Pointer temp2); + + Pointer shortestline_trgeo_trgeo(Pointer temp1, Pointer temp2); + + int always_eq_geo_trgeo(Pointer gs, Pointer temp); + + int always_eq_trgeo_geo(Pointer temp, Pointer gs); + + int always_eq_trgeo_trgeo(Pointer temp1, Pointer temp2); + + int always_ne_geo_trgeo(Pointer gs, Pointer temp); + + int always_ne_trgeo_geo(Pointer temp, Pointer gs); + + int always_ne_trgeo_trgeo(Pointer temp1, Pointer temp2); + + int ever_eq_geo_trgeo(Pointer gs, Pointer temp); + + int ever_eq_trgeo_geo(Pointer temp, Pointer gs); + + int ever_eq_trgeo_trgeo(Pointer temp1, Pointer temp2); + + int ever_ne_geo_trgeo(Pointer gs, Pointer temp); + + int ever_ne_trgeo_geo(Pointer temp, Pointer gs); + + int ever_ne_trgeo_trgeo(Pointer temp1, Pointer temp2); + + Pointer teq_geo_trgeo(Pointer gs, Pointer temp); + + Pointer teq_trgeo_geo(Pointer temp, Pointer gs); + + Pointer tne_geo_trgeo(Pointer gs, Pointer temp); + + Pointer tne_trgeo_geo(Pointer temp, Pointer gs); + + int geo_get_srid(Pointer g); + + int date_in(String str); + + String date_out(int d); + + int interval_cmp(Pointer interv1, Pointer interv2); + + Pointer interval_in(String str, int typmod); + + String interval_out(Pointer interv); + + Pointer time_in(String str, int typmod); + + String time_out(Pointer t); + + long timestamp_in(String str, int typmod); + + String timestamp_out(long t); + + long timestamptz_in(String str, int typmod); + + String timestamptz_out(long t); + + } + + private static final String _LIB = "libmeos.so"; + + static final MeosLibraryPartA _meos_a = + JarLibraryLoader.create(MeosLibraryPartA.class, _LIB).getLibraryInstance(); + static final MeosLibraryPartB _meos_b = + JarLibraryLoader.create(MeosLibraryPartB.class, _LIB).getLibraryInstance(); + static final MeosLibraryPartC _meos_c = + JarLibraryLoader.create(MeosLibraryPartC.class, _LIB).getLibraryInstance(); + static final MeosLibraryPartD _meos_d = + JarLibraryLoader.create(MeosLibraryPartD.class, _LIB).getLibraryInstance(); + + private static final java.util.Map _dispatch; + static { + _dispatch = new java.util.HashMap<>(4096); + for (java.lang.reflect.Method _m : MeosLibraryPartA.class.getMethods()) + _dispatch.put(_m.getName(), _meos_a); + for (java.lang.reflect.Method _m : MeosLibraryPartB.class.getMethods()) + _dispatch.put(_m.getName(), _meos_b); + for (java.lang.reflect.Method _m : MeosLibraryPartC.class.getMethods()) + _dispatch.put(_m.getName(), _meos_c); + for (java.lang.reflect.Method _m : MeosLibraryPartD.class.getMethods()) + _dispatch.put(_m.getName(), _meos_d); + } + + + + @SuppressWarnings("unused") + public static Pointer meos_array_create(int elem_size) { + var _result = _meos_a.meos_array_create(elem_size); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static void meos_array_add(Pointer array, Pointer value) { + _meos_a.meos_array_add(array, value); + MeosErrorHandler.checkError(); + } + + @SuppressWarnings("unused") + public static Pointer meos_array_get(Pointer array, int n) { + var _result = _meos_a.meos_array_get(array, n); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int meos_array_count(Pointer array) { + var _result = _meos_a.meos_array_count(array); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static void meos_array_reset(Pointer array) { + _meos_a.meos_array_reset(array); + MeosErrorHandler.checkError(); + } + + @SuppressWarnings("unused") + public static void meos_array_reset_free(Pointer array) { + _meos_a.meos_array_reset_free(array); + MeosErrorHandler.checkError(); + } + + @SuppressWarnings("unused") + public static void meos_array_destroy(Pointer array) { + _meos_a.meos_array_destroy(array); + MeosErrorHandler.checkError(); + } + + @SuppressWarnings("unused") + public static void meos_array_destroy_free(Pointer array) { + _meos_a.meos_array_destroy_free(array); + MeosErrorHandler.checkError(); + } + + @SuppressWarnings("unused") + public static Pointer rtree_create_intspan() { + var _result = _meos_a.rtree_create_intspan(); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer rtree_create_bigintspan() { + var _result = _meos_a.rtree_create_bigintspan(); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer rtree_create_floatspan() { + var _result = _meos_a.rtree_create_floatspan(); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer rtree_create_datespan() { + var _result = _meos_a.rtree_create_datespan(); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer rtree_create_tstzspan() { + var _result = _meos_a.rtree_create_tstzspan(); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer rtree_create_tbox() { + var _result = _meos_a.rtree_create_tbox(); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer rtree_create_stbox() { + var _result = _meos_a.rtree_create_stbox(); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static void rtree_free(Pointer rtree) { + _meos_a.rtree_free(rtree); + MeosErrorHandler.checkError(); + } + + @SuppressWarnings("unused") + public static void rtree_insert(Pointer rtree, Pointer box, int id) { + _meos_a.rtree_insert(rtree, box, id); + MeosErrorHandler.checkError(); + } + + @SuppressWarnings("unused") + public static void rtree_insert_temporal(Pointer rtree, Pointer temp, int id) { + _meos_a.rtree_insert_temporal(rtree, temp, id); + MeosErrorHandler.checkError(); + } + + @SuppressWarnings("unused") + public static int rtree_search(Pointer rtree, int op, Pointer query, Pointer result) { + var _result = _meos_a.rtree_search(rtree, op, query, result); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int rtree_search_temporal(Pointer rtree, int op, Pointer temp, Pointer result) { + var _result = _meos_a.rtree_search_temporal(rtree, op, temp, result); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static void meos_error(int errlevel, int errcode, String format) { + _meos_a.meos_error(errlevel, errcode, format); + MeosErrorHandler.checkError(); + } + + @SuppressWarnings("unused") + public static int meos_errno() { + var _result = _meos_a.meos_errno(); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int meos_errno_set(int err) { + var _result = _meos_a.meos_errno_set(err); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int meos_errno_restore(int err) { + var _result = _meos_a.meos_errno_restore(err); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int meos_errno_reset() { + var _result = _meos_a.meos_errno_reset(); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static void meos_initialize_timezone(String name) { + _meos_a.meos_initialize_timezone(name); + MeosErrorHandler.checkError(); + } + + @SuppressWarnings("unused") + public static void meos_initialize_error_handler(error_handler_fn err_handler) { + _meos_a.meos_initialize_error_handler(err_handler); + MeosErrorHandler.checkError(); + } + + @SuppressWarnings("unused") + public static void meos_finalize_timezone() { + _meos_a.meos_finalize_timezone(); + MeosErrorHandler.checkError(); + } + + @SuppressWarnings("unused") + public static void meos_finalize_projsrs() { + _meos_a.meos_finalize_projsrs(); + MeosErrorHandler.checkError(); + } + + @SuppressWarnings("unused") + public static void meos_finalize_ways() { + _meos_a.meos_finalize_ways(); + MeosErrorHandler.checkError(); + } + + @SuppressWarnings("unused") + public static boolean meos_set_datestyle(String newval, Pointer extra) { + var _result = _meos_a.meos_set_datestyle(newval, extra); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean meos_set_intervalstyle(String newval, int extra) { + var _result = _meos_a.meos_set_intervalstyle(newval, extra); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static String meos_get_datestyle() { + var _result = _meos_a.meos_get_datestyle(); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static String meos_get_intervalstyle() { + var _result = _meos_a.meos_get_intervalstyle(); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static void meos_set_spatial_ref_sys_csv(String path) { + _meos_a.meos_set_spatial_ref_sys_csv(path); + MeosErrorHandler.checkError(); + } + + @SuppressWarnings("unused") + public static void meos_initialize() { + _meos_a.meos_initialize(); + MeosErrorHandler.checkError(); + } + + @SuppressWarnings("unused") + public static void meos_finalize() { + _meos_a.meos_finalize(); + MeosErrorHandler.checkError(); + } + + @SuppressWarnings("unused") + public static int add_date_int(int d, int days) { + var _result = _meos_a.add_date_int(d, days); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer add_interval_interval(Pointer interv1, Pointer interv2) { + var _result = _meos_a.add_interval_interval(interv1, interv2); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static OffsetDateTime add_timestamptz_interval(OffsetDateTime t, Pointer interv) { + var t_new = t.toEpochSecond(); + var _result = _meos_a.add_timestamptz_interval(t_new, interv); + MeosErrorHandler.checkError(); + return java.time.Instant.ofEpochSecond(_result).atOffset(java.time.ZoneOffset.UTC); + } + + @SuppressWarnings("unused") + public static boolean bool_in(String str) { + var _result = _meos_a.bool_in(str); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static String bool_out(boolean b) { + var _result = _meos_a.bool_out(b); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer cstring2text(String str) { + var _result = _meos_a.cstring2text(str); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static LocalDateTime date_to_timestamp(int dateVal) { + var _result = _meos_a.date_to_timestamp(dateVal); + MeosErrorHandler.checkError(); + return java.time.LocalDateTime.ofInstant(java.time.Instant.ofEpochSecond(_result), java.time.ZoneOffset.UTC); + } + + @SuppressWarnings("unused") + public static OffsetDateTime date_to_timestamptz(int d) { + var _result = _meos_a.date_to_timestamptz(d); + MeosErrorHandler.checkError(); + return java.time.Instant.ofEpochSecond(_result).atOffset(java.time.ZoneOffset.UTC); + } + + @SuppressWarnings("unused") + public static double float_exp(double d) { + var _result = _meos_a.float_exp(d); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static double float_ln(double d) { + var _result = _meos_a.float_ln(d); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static double float_log10(double d) { + var _result = _meos_a.float_log10(d); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static String float8_out(double d, int maxdd) { + var _result = _meos_a.float8_out(d, maxdd); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static double float_round(double d, int maxdd) { + var _result = _meos_a.float_round(d, maxdd); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int int32_cmp(int l, int r) { + var _result = _meos_a.int32_cmp(l, r); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int int64_cmp(long l, long r) { + var _result = _meos_a.int64_cmp(l, r); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer interval_make(int years, int months, int weeks, int days, int hours, int mins, double secs) { + var _result = _meos_a.interval_make(years, months, weeks, days, hours, mins, secs); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int minus_date_date(int d1, int d2) { + var _result = _meos_a.minus_date_date(d1, d2); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int minus_date_int(int d, int days) { + var _result = _meos_a.minus_date_int(d, days); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static OffsetDateTime minus_timestamptz_interval(OffsetDateTime t, Pointer interv) { + var t_new = t.toEpochSecond(); + var _result = _meos_a.minus_timestamptz_interval(t_new, interv); + MeosErrorHandler.checkError(); + return java.time.Instant.ofEpochSecond(_result).atOffset(java.time.ZoneOffset.UTC); + } + + @SuppressWarnings("unused") + public static Pointer minus_timestamptz_timestamptz(OffsetDateTime t1, OffsetDateTime t2) { + var t1_new = t1.toEpochSecond(); + var t2_new = t2.toEpochSecond(); + var _result = _meos_a.minus_timestamptz_timestamptz(t1_new, t2_new); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer mul_interval_double(Pointer interv, double factor) { + var _result = _meos_a.mul_interval_double(interv, factor); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int pg_date_in(String str) { + var _result = _meos_a.pg_date_in(str); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static String pg_date_out(int d) { + var _result = _meos_a.pg_date_out(d); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int pg_interval_cmp(Pointer interv1, Pointer interv2) { + var _result = _meos_a.pg_interval_cmp(interv1, interv2); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer pg_interval_in(String str, int typmod) { + var _result = _meos_a.pg_interval_in(str, typmod); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static String pg_interval_out(Pointer interv) { + var _result = _meos_a.pg_interval_out(interv); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static LocalDateTime pg_timestamp_in(String str, int typmod) { + var _result = _meos_a.pg_timestamp_in(str, typmod); + MeosErrorHandler.checkError(); + return java.time.LocalDateTime.ofInstant(java.time.Instant.ofEpochSecond(_result), java.time.ZoneOffset.UTC); + } + + @SuppressWarnings("unused") + public static String pg_timestamp_out(LocalDateTime t) { + var t_new = t.toInstant(java.time.ZoneOffset.UTC).getEpochSecond(); + var _result = _meos_a.pg_timestamp_out(t_new); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static OffsetDateTime pg_timestamptz_in(String str, int typmod) { + var _result = _meos_a.pg_timestamptz_in(str, typmod); + MeosErrorHandler.checkError(); + return java.time.Instant.ofEpochSecond(_result).atOffset(java.time.ZoneOffset.UTC); + } + + @SuppressWarnings("unused") + public static String pg_timestamptz_out(OffsetDateTime t) { + var t_new = t.toEpochSecond(); + var _result = _meos_a.pg_timestamptz_out(t_new); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static String text2cstring(Pointer txt) { + var _result = _meos_a.text2cstring(txt); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int text_cmp(Pointer txt1, Pointer txt2) { + var _result = _meos_a.text_cmp(txt1, txt2); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer text_copy(Pointer txt) { + var _result = _meos_a.text_copy(txt); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer text_in(String str) { + var _result = _meos_a.text_in(str); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer text_initcap(Pointer txt) { + var _result = _meos_a.text_initcap(txt); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer text_lower(Pointer txt) { + var _result = _meos_a.text_lower(txt); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static String text_out(Pointer txt) { + var _result = _meos_a.text_out(txt); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer text_upper(Pointer txt) { + var _result = _meos_a.text_upper(txt); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer textcat_text_text(Pointer txt1, Pointer txt2) { + var _result = _meos_a.textcat_text_text(txt1, txt2); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static OffsetDateTime timestamptz_shift(OffsetDateTime t, Pointer interv) { + var t_new = t.toEpochSecond(); + var _result = _meos_a.timestamptz_shift(t_new, interv); + MeosErrorHandler.checkError(); + return java.time.Instant.ofEpochSecond(_result).atOffset(java.time.ZoneOffset.UTC); + } + + @SuppressWarnings("unused") + public static int timestamp_to_date(LocalDateTime t) { + var t_new = t.toInstant(java.time.ZoneOffset.UTC).getEpochSecond(); + var _result = _meos_a.timestamp_to_date(t_new); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int timestamptz_to_date(OffsetDateTime t) { + var t_new = t.toEpochSecond(); + var _result = _meos_a.timestamptz_to_date(t_new); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer bigintset_in(String str) { + var _result = _meos_a.bigintset_in(str); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static String bigintset_out(Pointer set) { + var _result = _meos_a.bigintset_out(set); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer bigintspan_expand(Pointer s, long value) { + var _result = _meos_a.bigintspan_expand(s, value); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer bigintspan_in(String str) { + var _result = _meos_a.bigintspan_in(str); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static String bigintspan_out(Pointer s) { + var _result = _meos_a.bigintspan_out(s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer bigintspanset_in(String str) { + var _result = _meos_a.bigintspanset_in(str); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static String bigintspanset_out(Pointer ss) { + var _result = _meos_a.bigintspanset_out(ss); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer dateset_in(String str) { + var _result = _meos_a.dateset_in(str); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static String dateset_out(Pointer s) { + var _result = _meos_a.dateset_out(s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer datespan_in(String str) { + var _result = _meos_a.datespan_in(str); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static String datespan_out(Pointer s) { + var _result = _meos_a.datespan_out(s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer datespanset_in(String str) { + var _result = _meos_a.datespanset_in(str); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static String datespanset_out(Pointer ss) { + var _result = _meos_a.datespanset_out(ss); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer floatset_in(String str) { + var _result = _meos_a.floatset_in(str); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static String floatset_out(Pointer set, int maxdd) { + var _result = _meos_a.floatset_out(set, maxdd); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer floatspan_expand(Pointer s, double value) { + var _result = _meos_a.floatspan_expand(s, value); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer floatspan_in(String str) { + var _result = _meos_a.floatspan_in(str); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static String floatspan_out(Pointer s, int maxdd) { + var _result = _meos_a.floatspan_out(s, maxdd); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer floatspanset_in(String str) { + var _result = _meos_a.floatspanset_in(str); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static String floatspanset_out(Pointer ss, int maxdd) { + var _result = _meos_a.floatspanset_out(ss, maxdd); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer intset_in(String str) { + var _result = _meos_a.intset_in(str); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static String intset_out(Pointer set) { + var _result = _meos_a.intset_out(set); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer intspan_expand(Pointer s, int value) { + var _result = _meos_a.intspan_expand(s, value); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer intspan_in(String str) { + var _result = _meos_a.intspan_in(str); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static String intspan_out(Pointer s) { + var _result = _meos_a.intspan_out(s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer intspanset_in(String str) { + var _result = _meos_a.intspanset_in(str); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static String intspanset_out(Pointer ss) { + var _result = _meos_a.intspanset_out(ss); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static String set_as_hexwkb(Pointer s, byte variant) { + Runtime runtime = Runtime.getSystemRuntime(); + Pointer size_out = Memory.allocateDirect(runtime, Long.BYTES); + var _result = _meos_a.set_as_hexwkb(s, variant, size_out); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer set_as_wkb(Pointer s, byte variant) { + Runtime runtime = Runtime.getSystemRuntime(); + Pointer size_out = Memory.allocateDirect(runtime, Long.BYTES); + var _result = _meos_a.set_as_wkb(s, variant, size_out); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer set_from_hexwkb(String hexwkb) { + var _result = _meos_a.set_from_hexwkb(hexwkb); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer set_from_wkb(Pointer wkb, long size) { + var _result = _meos_a.set_from_wkb(wkb, size); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static String span_as_hexwkb(Pointer s, byte variant) { + Runtime runtime = Runtime.getSystemRuntime(); + Pointer size_out = Memory.allocateDirect(runtime, Long.BYTES); + var _result = _meos_a.span_as_hexwkb(s, variant, size_out); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer span_as_wkb(Pointer s, byte variant) { + Runtime runtime = Runtime.getSystemRuntime(); + Pointer size_out = Memory.allocateDirect(runtime, Long.BYTES); + var _result = _meos_a.span_as_wkb(s, variant, size_out); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer span_from_hexwkb(String hexwkb) { + var _result = _meos_a.span_from_hexwkb(hexwkb); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer span_from_wkb(Pointer wkb, long size) { + var _result = _meos_a.span_from_wkb(wkb, size); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static String spanset_as_hexwkb(Pointer ss, byte variant) { + Runtime runtime = Runtime.getSystemRuntime(); + Pointer size_out = Memory.allocateDirect(runtime, Long.BYTES); + var _result = _meos_a.spanset_as_hexwkb(ss, variant, size_out); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer spanset_as_wkb(Pointer ss, byte variant) { + Runtime runtime = Runtime.getSystemRuntime(); + Pointer size_out = Memory.allocateDirect(runtime, Long.BYTES); + var _result = _meos_a.spanset_as_wkb(ss, variant, size_out); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer spanset_from_hexwkb(String hexwkb) { + var _result = _meos_a.spanset_from_hexwkb(hexwkb); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer spanset_from_wkb(Pointer wkb, long size) { + var _result = _meos_a.spanset_from_wkb(wkb, size); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer textset_in(String str) { + var _result = _meos_a.textset_in(str); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static String textset_out(Pointer set) { + var _result = _meos_a.textset_out(set); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer tstzset_in(String str) { + var _result = _meos_a.tstzset_in(str); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static String tstzset_out(Pointer set) { + var _result = _meos_a.tstzset_out(set); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer tstzspan_in(String str) { + var _result = _meos_a.tstzspan_in(str); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static String tstzspan_out(Pointer s) { + var _result = _meos_a.tstzspan_out(s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer tstzspanset_in(String str) { + var _result = _meos_a.tstzspanset_in(str); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static String tstzspanset_out(Pointer ss) { + var _result = _meos_a.tstzspanset_out(ss); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer bigintset_make(Pointer values, int count) { + var _result = _meos_a.bigintset_make(values, count); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer bigintspan_make(long lower, long upper, boolean lower_inc, boolean upper_inc) { + var _result = _meos_a.bigintspan_make(lower, upper, lower_inc, upper_inc); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer dateset_make(Pointer values, int count) { + var _result = _meos_a.dateset_make(values, count); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer datespan_make(int lower, int upper, boolean lower_inc, boolean upper_inc) { + var _result = _meos_a.datespan_make(lower, upper, lower_inc, upper_inc); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer floatset_make(Pointer values, int count) { + var _result = _meos_a.floatset_make(values, count); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer floatspan_make(double lower, double upper, boolean lower_inc, boolean upper_inc) { + var _result = _meos_a.floatspan_make(lower, upper, lower_inc, upper_inc); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer intset_make(Pointer values, int count) { + var _result = _meos_a.intset_make(values, count); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer intspan_make(int lower, int upper, boolean lower_inc, boolean upper_inc) { + var _result = _meos_a.intspan_make(lower, upper, lower_inc, upper_inc); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer set_copy(Pointer s) { + var _result = _meos_a.set_copy(s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer span_copy(Pointer s) { + var _result = _meos_a.span_copy(s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer spanset_copy(Pointer ss) { + var _result = _meos_a.spanset_copy(ss); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer spanset_make(Pointer spans, int count) { + var _result = _meos_a.spanset_make(spans, count); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer textset_make(Pointer values, int count) { + var _result = _meos_a.textset_make(values, count); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer tstzset_make(Pointer values, int count) { + var _result = _meos_a.tstzset_make(values, count); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer tstzspan_make(OffsetDateTime lower, OffsetDateTime upper, boolean lower_inc, boolean upper_inc) { + var lower_new = lower.toEpochSecond(); + var upper_new = upper.toEpochSecond(); + var _result = _meos_a.tstzspan_make(lower_new, upper_new, lower_inc, upper_inc); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer bigint_to_set(long i) { + var _result = _meos_a.bigint_to_set(i); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer bigint_to_span(long i) { + var _result = _meos_a.bigint_to_span(i); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer bigint_to_spanset(long i) { + var _result = _meos_a.bigint_to_spanset(i); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer bigintspan_to_intspan(Pointer s) { + var _result = _meos_a.bigintspan_to_intspan(s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer bigintspan_to_floatspan(Pointer s) { + var _result = _meos_a.bigintspan_to_floatspan(s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer date_to_set(int d) { + var _result = _meos_a.date_to_set(d); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer date_to_span(int d) { + var _result = _meos_a.date_to_span(d); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer date_to_spanset(int d) { + var _result = _meos_a.date_to_spanset(d); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer dateset_to_tstzset(Pointer s) { + var _result = _meos_a.dateset_to_tstzset(s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer datespan_to_tstzspan(Pointer s) { + var _result = _meos_a.datespan_to_tstzspan(s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer datespanset_to_tstzspanset(Pointer ss) { + var _result = _meos_a.datespanset_to_tstzspanset(ss); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer float_to_set(double d) { + var _result = _meos_a.float_to_set(d); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer float_to_span(double d) { + var _result = _meos_a.float_to_span(d); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer float_to_spanset(double d) { + var _result = _meos_a.float_to_spanset(d); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer floatset_to_intset(Pointer s) { + var _result = _meos_a.floatset_to_intset(s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer floatspan_to_bigintspan(Pointer s) { + var _result = _meos_a.floatspan_to_bigintspan(s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer floatspan_to_intspan(Pointer s) { + var _result = _meos_a.floatspan_to_intspan(s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer floatspanset_to_intspanset(Pointer ss) { + var _result = _meos_a.floatspanset_to_intspanset(ss); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer int_to_set(int i) { + var _result = _meos_a.int_to_set(i); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer int_to_span(int i) { + var _result = _meos_a.int_to_span(i); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer int_to_spanset(int i) { + var _result = _meos_a.int_to_spanset(i); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer intset_to_floatset(Pointer s) { + var _result = _meos_a.intset_to_floatset(s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer intspan_to_bigintspan(Pointer s) { + var _result = _meos_a.intspan_to_bigintspan(s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer intspan_to_floatspan(Pointer s) { + var _result = _meos_a.intspan_to_floatspan(s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer intspanset_to_floatspanset(Pointer ss) { + var _result = _meos_a.intspanset_to_floatspanset(ss); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer set_to_span(Pointer s) { + var _result = _meos_a.set_to_span(s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer set_to_spanset(Pointer s) { + var _result = _meos_a.set_to_spanset(s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer span_to_spanset(Pointer s) { + var _result = _meos_a.span_to_spanset(s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer text_to_set(Pointer txt) { + var _result = _meos_a.text_to_set(txt); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer timestamptz_to_set(OffsetDateTime t) { + var t_new = t.toEpochSecond(); + var _result = _meos_a.timestamptz_to_set(t_new); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer timestamptz_to_span(OffsetDateTime t) { + var t_new = t.toEpochSecond(); + var _result = _meos_a.timestamptz_to_span(t_new); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer timestamptz_to_spanset(OffsetDateTime t) { + var t_new = t.toEpochSecond(); + var _result = _meos_a.timestamptz_to_spanset(t_new); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer tstzset_to_dateset(Pointer s) { + var _result = _meos_a.tstzset_to_dateset(s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer tstzspan_to_datespan(Pointer s) { + var _result = _meos_a.tstzspan_to_datespan(s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer tstzspanset_to_datespanset(Pointer ss) { + var _result = _meos_a.tstzspanset_to_datespanset(ss); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static long bigintset_end_value(Pointer s) { + var _result = _meos_a.bigintset_end_value(s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static long bigintset_start_value(Pointer s) { + var _result = _meos_a.bigintset_start_value(s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer bigintset_value_n(Pointer s, int n) { + boolean out; + Runtime runtime = Runtime.getSystemRuntime(); + Pointer result = Memory.allocateDirect(runtime, Long.BYTES); + out = _meos_a.bigintset_value_n(s, n, result); + MeosErrorHandler.checkError(); + return out ? result : null; + } + + @SuppressWarnings("unused") + public static Pointer bigintset_values(Pointer s) { + var _result = _meos_a.bigintset_values(s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static long bigintspan_lower(Pointer s) { + var _result = _meos_a.bigintspan_lower(s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static long bigintspan_upper(Pointer s) { + var _result = _meos_a.bigintspan_upper(s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static long bigintspan_width(Pointer s) { + var _result = _meos_a.bigintspan_width(s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static long bigintspanset_lower(Pointer ss) { + var _result = _meos_a.bigintspanset_lower(ss); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static long bigintspanset_upper(Pointer ss) { + var _result = _meos_a.bigintspanset_upper(ss); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static long bigintspanset_width(Pointer ss, boolean boundspan) { + var _result = _meos_a.bigintspanset_width(ss, boundspan); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int dateset_end_value(Pointer s) { + var _result = _meos_a.dateset_end_value(s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int dateset_start_value(Pointer s) { + var _result = _meos_a.dateset_start_value(s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer dateset_value_n(Pointer s, int n) { + boolean out; + Runtime runtime = Runtime.getSystemRuntime(); + Pointer result = Memory.allocateDirect(runtime, Integer.BYTES); + out = _meos_a.dateset_value_n(s, n, result); + MeosErrorHandler.checkError(); + return out ? result : null; + } + + @SuppressWarnings("unused") + public static Pointer dateset_values(Pointer s) { + var _result = _meos_a.dateset_values(s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer datespan_duration(Pointer s) { + var _result = _meos_a.datespan_duration(s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int datespan_lower(Pointer s) { + var _result = _meos_a.datespan_lower(s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int datespan_upper(Pointer s) { + var _result = _meos_a.datespan_upper(s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer datespanset_date_n(Pointer ss, int n) { + boolean out; + Runtime runtime = Runtime.getSystemRuntime(); + Pointer result = Memory.allocateDirect(runtime, Integer.BYTES); + out = _meos_a.datespanset_date_n(ss, n, result); + MeosErrorHandler.checkError(); + return out ? result : null; + } + + @SuppressWarnings("unused") + public static Pointer datespanset_dates(Pointer ss) { + var _result = _meos_a.datespanset_dates(ss); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer datespanset_duration(Pointer ss, boolean boundspan) { + var _result = _meos_a.datespanset_duration(ss, boundspan); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int datespanset_end_date(Pointer ss) { + var _result = _meos_a.datespanset_end_date(ss); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int datespanset_num_dates(Pointer ss) { + var _result = _meos_a.datespanset_num_dates(ss); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int datespanset_start_date(Pointer ss) { + var _result = _meos_a.datespanset_start_date(ss); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static double floatset_end_value(Pointer s) { + var _result = _meos_a.floatset_end_value(s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static double floatset_start_value(Pointer s) { + var _result = _meos_a.floatset_start_value(s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer floatset_value_n(Pointer s, int n) { + boolean out; + Runtime runtime = Runtime.getSystemRuntime(); + Pointer result = Memory.allocateDirect(runtime, Double.BYTES); + out = _meos_a.floatset_value_n(s, n, result); + MeosErrorHandler.checkError(); + return out ? result : null; + } + + @SuppressWarnings("unused") + public static Pointer floatset_values(Pointer s) { + var _result = _meos_a.floatset_values(s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static double floatspan_lower(Pointer s) { + var _result = _meos_a.floatspan_lower(s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static double floatspan_upper(Pointer s) { + var _result = _meos_a.floatspan_upper(s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static double floatspan_width(Pointer s) { + var _result = _meos_a.floatspan_width(s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static double floatspanset_lower(Pointer ss) { + var _result = _meos_a.floatspanset_lower(ss); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static double floatspanset_upper(Pointer ss) { + var _result = _meos_a.floatspanset_upper(ss); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static double floatspanset_width(Pointer ss, boolean boundspan) { + var _result = _meos_a.floatspanset_width(ss, boundspan); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int intset_end_value(Pointer s) { + var _result = _meos_a.intset_end_value(s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int intset_start_value(Pointer s) { + var _result = _meos_a.intset_start_value(s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer intset_value_n(Pointer s, int n) { + boolean out; + Runtime runtime = Runtime.getSystemRuntime(); + Pointer result = Memory.allocateDirect(runtime, Integer.BYTES); + out = _meos_a.intset_value_n(s, n, result); + MeosErrorHandler.checkError(); + return out ? result : null; + } + + @SuppressWarnings("unused") + public static Pointer intset_values(Pointer s) { + var _result = _meos_a.intset_values(s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int intspan_lower(Pointer s) { + var _result = _meos_a.intspan_lower(s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int intspan_upper(Pointer s) { + var _result = _meos_a.intspan_upper(s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int intspan_width(Pointer s) { + var _result = _meos_a.intspan_width(s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int intspanset_lower(Pointer ss) { + var _result = _meos_a.intspanset_lower(ss); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int intspanset_upper(Pointer ss) { + var _result = _meos_a.intspanset_upper(ss); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int intspanset_width(Pointer ss, boolean boundspan) { + var _result = _meos_a.intspanset_width(ss, boundspan); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int set_hash(Pointer s) { + var _result = _meos_a.set_hash(s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static long set_hash_extended(Pointer s, long seed) { + var _result = _meos_a.set_hash_extended(s, seed); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int set_num_values(Pointer s) { + var _result = _meos_a.set_num_values(s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int span_hash(Pointer s) { + var _result = _meos_a.span_hash(s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static long span_hash_extended(Pointer s, long seed) { + var _result = _meos_a.span_hash_extended(s, seed); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean span_lower_inc(Pointer s) { + var _result = _meos_a.span_lower_inc(s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean span_upper_inc(Pointer s) { + var _result = _meos_a.span_upper_inc(s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer spanset_end_span(Pointer ss) { + var _result = _meos_a.spanset_end_span(ss); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int spanset_hash(Pointer ss) { + var _result = _meos_a.spanset_hash(ss); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static long spanset_hash_extended(Pointer ss, long seed) { + var _result = _meos_a.spanset_hash_extended(ss, seed); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean spanset_lower_inc(Pointer ss) { + var _result = _meos_a.spanset_lower_inc(ss); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int spanset_num_spans(Pointer ss) { + var _result = _meos_a.spanset_num_spans(ss); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer spanset_span(Pointer ss) { + var _result = _meos_a.spanset_span(ss); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer spanset_span_n(Pointer ss, int i) { + var _result = _meos_a.spanset_span_n(ss, i); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer spanset_spanarr(Pointer ss) { + var _result = _meos_a.spanset_spanarr(ss); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer spanset_start_span(Pointer ss) { + var _result = _meos_a.spanset_start_span(ss); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean spanset_upper_inc(Pointer ss) { + var _result = _meos_a.spanset_upper_inc(ss); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer textset_end_value(Pointer s) { + var _result = _meos_a.textset_end_value(s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer textset_start_value(Pointer s) { + var _result = _meos_a.textset_start_value(s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer textset_value_n(Pointer s, int n) { + boolean out; + Runtime runtime = Runtime.getSystemRuntime(); + Pointer result = Memory.allocateDirect(runtime, Long.BYTES); + out = _meos_a.textset_value_n(s, n, result); + Pointer new_result = result.getPointer(0); + MeosErrorHandler.checkError(); + return out ? new_result : null; + } + + @SuppressWarnings("unused") + public static Pointer textset_values(Pointer s) { + var _result = _meos_a.textset_values(s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static OffsetDateTime tstzset_end_value(Pointer s) { + var _result = _meos_a.tstzset_end_value(s); + MeosErrorHandler.checkError(); + return java.time.Instant.ofEpochSecond(_result).atOffset(java.time.ZoneOffset.UTC); + } + + @SuppressWarnings("unused") + public static OffsetDateTime tstzset_start_value(Pointer s) { + var _result = _meos_a.tstzset_start_value(s); + MeosErrorHandler.checkError(); + return java.time.Instant.ofEpochSecond(_result).atOffset(java.time.ZoneOffset.UTC); + } + + @SuppressWarnings("unused") + public static Pointer tstzset_value_n(Pointer s, int n) { + boolean out; + Runtime runtime = Runtime.getSystemRuntime(); + Pointer result = Memory.allocateDirect(runtime, Long.BYTES); + out = _meos_a.tstzset_value_n(s, n, result); + MeosErrorHandler.checkError(); + return out ? result : null; + } + + @SuppressWarnings("unused") + public static Pointer tstzset_values(Pointer s) { + var _result = _meos_a.tstzset_values(s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer tstzspan_duration(Pointer s) { + var _result = _meos_a.tstzspan_duration(s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static OffsetDateTime tstzspan_lower(Pointer s) { + var _result = _meos_a.tstzspan_lower(s); + MeosErrorHandler.checkError(); + return java.time.Instant.ofEpochSecond(_result).atOffset(java.time.ZoneOffset.UTC); + } + + @SuppressWarnings("unused") + public static OffsetDateTime tstzspan_upper(Pointer s) { + var _result = _meos_a.tstzspan_upper(s); + MeosErrorHandler.checkError(); + return java.time.Instant.ofEpochSecond(_result).atOffset(java.time.ZoneOffset.UTC); + } + + @SuppressWarnings("unused") + public static Pointer tstzspanset_duration(Pointer ss, boolean boundspan) { + var _result = _meos_a.tstzspanset_duration(ss, boundspan); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static OffsetDateTime tstzspanset_end_timestamptz(Pointer ss) { + var _result = _meos_a.tstzspanset_end_timestamptz(ss); + MeosErrorHandler.checkError(); + return java.time.Instant.ofEpochSecond(_result).atOffset(java.time.ZoneOffset.UTC); + } + + @SuppressWarnings("unused") + public static OffsetDateTime tstzspanset_lower(Pointer ss) { + var _result = _meos_a.tstzspanset_lower(ss); + MeosErrorHandler.checkError(); + return java.time.Instant.ofEpochSecond(_result).atOffset(java.time.ZoneOffset.UTC); + } + + @SuppressWarnings("unused") + public static int tstzspanset_num_timestamps(Pointer ss) { + var _result = _meos_a.tstzspanset_num_timestamps(ss); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static OffsetDateTime tstzspanset_start_timestamptz(Pointer ss) { + var _result = _meos_a.tstzspanset_start_timestamptz(ss); + MeosErrorHandler.checkError(); + return java.time.Instant.ofEpochSecond(_result).atOffset(java.time.ZoneOffset.UTC); + } + + @SuppressWarnings("unused") + public static Pointer tstzspanset_timestamps(Pointer ss) { + var _result = _meos_a.tstzspanset_timestamps(ss); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer tstzspanset_timestamptz_n(Pointer ss, int n) { + boolean out; + Runtime runtime = Runtime.getSystemRuntime(); + Pointer result = Memory.allocateDirect(runtime, Long.BYTES); + out = _meos_a.tstzspanset_timestamptz_n(ss, n, result); + MeosErrorHandler.checkError(); + return out ? result : null; + } + + @SuppressWarnings("unused") + public static OffsetDateTime tstzspanset_upper(Pointer ss) { + var _result = _meos_a.tstzspanset_upper(ss); + MeosErrorHandler.checkError(); + return java.time.Instant.ofEpochSecond(_result).atOffset(java.time.ZoneOffset.UTC); + } + + @SuppressWarnings("unused") + public static Pointer bigintset_shift_scale(Pointer s, long shift, long width, boolean hasshift, boolean haswidth) { + var _result = _meos_a.bigintset_shift_scale(s, shift, width, hasshift, haswidth); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer bigintspan_shift_scale(Pointer s, long shift, long width, boolean hasshift, boolean haswidth) { + var _result = _meos_a.bigintspan_shift_scale(s, shift, width, hasshift, haswidth); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer bigintspanset_shift_scale(Pointer ss, long shift, long width, boolean hasshift, boolean haswidth) { + var _result = _meos_a.bigintspanset_shift_scale(ss, shift, width, hasshift, haswidth); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer dateset_shift_scale(Pointer s, int shift, int width, boolean hasshift, boolean haswidth) { + var _result = _meos_a.dateset_shift_scale(s, shift, width, hasshift, haswidth); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer datespan_shift_scale(Pointer s, int shift, int width, boolean hasshift, boolean haswidth) { + var _result = _meos_a.datespan_shift_scale(s, shift, width, hasshift, haswidth); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer datespanset_shift_scale(Pointer ss, int shift, int width, boolean hasshift, boolean haswidth) { + var _result = _meos_a.datespanset_shift_scale(ss, shift, width, hasshift, haswidth); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer floatset_ceil(Pointer s) { + var _result = _meos_a.floatset_ceil(s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer floatset_degrees(Pointer s, boolean normalize) { + var _result = _meos_a.floatset_degrees(s, normalize); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer floatset_floor(Pointer s) { + var _result = _meos_a.floatset_floor(s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer floatset_radians(Pointer s) { + var _result = _meos_a.floatset_radians(s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer floatset_shift_scale(Pointer s, double shift, double width, boolean hasshift, boolean haswidth) { + var _result = _meos_a.floatset_shift_scale(s, shift, width, hasshift, haswidth); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer floatspan_ceil(Pointer s) { + var _result = _meos_a.floatspan_ceil(s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer floatspan_degrees(Pointer s, boolean normalize) { + var _result = _meos_a.floatspan_degrees(s, normalize); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer floatspan_floor(Pointer s) { + var _result = _meos_a.floatspan_floor(s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer floatspan_radians(Pointer s) { + var _result = _meos_a.floatspan_radians(s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer floatspan_round(Pointer s, int maxdd) { + var _result = _meos_a.floatspan_round(s, maxdd); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer floatspan_shift_scale(Pointer s, double shift, double width, boolean hasshift, boolean haswidth) { + var _result = _meos_a.floatspan_shift_scale(s, shift, width, hasshift, haswidth); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer floatspanset_ceil(Pointer ss) { + var _result = _meos_a.floatspanset_ceil(ss); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer floatspanset_floor(Pointer ss) { + var _result = _meos_a.floatspanset_floor(ss); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer floatspanset_degrees(Pointer ss, boolean normalize) { + var _result = _meos_a.floatspanset_degrees(ss, normalize); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer floatspanset_radians(Pointer ss) { + var _result = _meos_a.floatspanset_radians(ss); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer floatspanset_round(Pointer ss, int maxdd) { + var _result = _meos_a.floatspanset_round(ss, maxdd); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer floatspanset_shift_scale(Pointer ss, double shift, double width, boolean hasshift, boolean haswidth) { + var _result = _meos_a.floatspanset_shift_scale(ss, shift, width, hasshift, haswidth); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer intset_shift_scale(Pointer s, int shift, int width, boolean hasshift, boolean haswidth) { + var _result = _meos_a.intset_shift_scale(s, shift, width, hasshift, haswidth); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer intspan_shift_scale(Pointer s, int shift, int width, boolean hasshift, boolean haswidth) { + var _result = _meos_a.intspan_shift_scale(s, shift, width, hasshift, haswidth); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer intspanset_shift_scale(Pointer ss, int shift, int width, boolean hasshift, boolean haswidth) { + var _result = _meos_a.intspanset_shift_scale(ss, shift, width, hasshift, haswidth); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer tstzspan_expand(Pointer s, Pointer interv) { + var _result = _meos_a.tstzspan_expand(s, interv); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer set_round(Pointer s, int maxdd) { + var _result = _meos_a.set_round(s, maxdd); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer textcat_text_textset(Pointer txt, Pointer s) { + var _result = _meos_a.textcat_text_textset(txt, s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer textcat_textset_text(Pointer s, Pointer txt) { + var _result = _meos_a.textcat_textset_text(s, txt); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer textset_initcap(Pointer s) { + var _result = _meos_a.textset_initcap(s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer textset_lower(Pointer s) { + var _result = _meos_a.textset_lower(s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer textset_upper(Pointer s) { + var _result = _meos_a.textset_upper(s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static OffsetDateTime timestamptz_tprecision(OffsetDateTime t, Pointer duration, OffsetDateTime torigin) { + var t_new = t.toEpochSecond(); + var torigin_new = torigin.toEpochSecond(); + var _result = _meos_a.timestamptz_tprecision(t_new, duration, torigin_new); + MeosErrorHandler.checkError(); + return java.time.Instant.ofEpochSecond(_result).atOffset(java.time.ZoneOffset.UTC); + } + + @SuppressWarnings("unused") + public static Pointer tstzset_shift_scale(Pointer s, Pointer shift, Pointer duration) { + var _result = _meos_a.tstzset_shift_scale(s, shift, duration); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer tstzset_tprecision(Pointer s, Pointer duration, OffsetDateTime torigin) { + var torigin_new = torigin.toEpochSecond(); + var _result = _meos_a.tstzset_tprecision(s, duration, torigin_new); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer tstzspan_shift_scale(Pointer s, Pointer shift, Pointer duration) { + var _result = _meos_a.tstzspan_shift_scale(s, shift, duration); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer tstzspan_tprecision(Pointer s, Pointer duration, OffsetDateTime torigin) { + var torigin_new = torigin.toEpochSecond(); + var _result = _meos_a.tstzspan_tprecision(s, duration, torigin_new); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer tstzspanset_shift_scale(Pointer ss, Pointer shift, Pointer duration) { + var _result = _meos_a.tstzspanset_shift_scale(ss, shift, duration); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer tstzspanset_tprecision(Pointer ss, Pointer duration, OffsetDateTime torigin) { + var torigin_new = torigin.toEpochSecond(); + var _result = _meos_a.tstzspanset_tprecision(ss, duration, torigin_new); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int set_cmp(Pointer s1, Pointer s2) { + var _result = _meos_a.set_cmp(s1, s2); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean set_eq(Pointer s1, Pointer s2) { + var _result = _meos_a.set_eq(s1, s2); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean set_ge(Pointer s1, Pointer s2) { + var _result = _meos_a.set_ge(s1, s2); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean set_gt(Pointer s1, Pointer s2) { + var _result = _meos_a.set_gt(s1, s2); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean set_le(Pointer s1, Pointer s2) { + var _result = _meos_a.set_le(s1, s2); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean set_lt(Pointer s1, Pointer s2) { + var _result = _meos_a.set_lt(s1, s2); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean set_ne(Pointer s1, Pointer s2) { + var _result = _meos_a.set_ne(s1, s2); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int span_cmp(Pointer s1, Pointer s2) { + var _result = _meos_a.span_cmp(s1, s2); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean span_eq(Pointer s1, Pointer s2) { + var _result = _meos_a.span_eq(s1, s2); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean span_ge(Pointer s1, Pointer s2) { + var _result = _meos_a.span_ge(s1, s2); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean span_gt(Pointer s1, Pointer s2) { + var _result = _meos_a.span_gt(s1, s2); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean span_le(Pointer s1, Pointer s2) { + var _result = _meos_a.span_le(s1, s2); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean span_lt(Pointer s1, Pointer s2) { + var _result = _meos_a.span_lt(s1, s2); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean span_ne(Pointer s1, Pointer s2) { + var _result = _meos_a.span_ne(s1, s2); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int spanset_cmp(Pointer ss1, Pointer ss2) { + var _result = _meos_a.spanset_cmp(ss1, ss2); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean spanset_eq(Pointer ss1, Pointer ss2) { + var _result = _meos_a.spanset_eq(ss1, ss2); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean spanset_ge(Pointer ss1, Pointer ss2) { + var _result = _meos_a.spanset_ge(ss1, ss2); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean spanset_gt(Pointer ss1, Pointer ss2) { + var _result = _meos_a.spanset_gt(ss1, ss2); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean spanset_le(Pointer ss1, Pointer ss2) { + var _result = _meos_a.spanset_le(ss1, ss2); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean spanset_lt(Pointer ss1, Pointer ss2) { + var _result = _meos_a.spanset_lt(ss1, ss2); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean spanset_ne(Pointer ss1, Pointer ss2) { + var _result = _meos_a.spanset_ne(ss1, ss2); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer set_spans(Pointer s) { + var _result = _meos_a.set_spans(s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer set_split_each_n_spans(Pointer s, int elems_per_span, Pointer count) { + var _result = _meos_a.set_split_each_n_spans(s, elems_per_span, count); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer set_split_n_spans(Pointer s, int span_count, Pointer count) { + var _result = _meos_a.set_split_n_spans(s, span_count, count); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer spanset_spans(Pointer ss) { + var _result = _meos_a.spanset_spans(ss); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer spanset_split_each_n_spans(Pointer ss, int elems_per_span, Pointer count) { + var _result = _meos_a.spanset_split_each_n_spans(ss, elems_per_span, count); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer spanset_split_n_spans(Pointer ss, int span_count, Pointer count) { + var _result = _meos_a.spanset_split_n_spans(ss, span_count, count); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean adjacent_span_bigint(Pointer s, long i) { + var _result = _meos_a.adjacent_span_bigint(s, i); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean adjacent_span_date(Pointer s, int d) { + var _result = _meos_a.adjacent_span_date(s, d); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean adjacent_span_float(Pointer s, double d) { + var _result = _meos_a.adjacent_span_float(s, d); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean adjacent_span_int(Pointer s, int i) { + var _result = _meos_a.adjacent_span_int(s, i); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean adjacent_span_span(Pointer s1, Pointer s2) { + var _result = _meos_a.adjacent_span_span(s1, s2); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean adjacent_span_spanset(Pointer s, Pointer ss) { + var _result = _meos_a.adjacent_span_spanset(s, ss); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean adjacent_span_timestamptz(Pointer s, OffsetDateTime t) { + var t_new = t.toEpochSecond(); + var _result = _meos_a.adjacent_span_timestamptz(s, t_new); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean adjacent_spanset_bigint(Pointer ss, long i) { + var _result = _meos_a.adjacent_spanset_bigint(ss, i); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean adjacent_spanset_date(Pointer ss, int d) { + var _result = _meos_a.adjacent_spanset_date(ss, d); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean adjacent_spanset_float(Pointer ss, double d) { + var _result = _meos_a.adjacent_spanset_float(ss, d); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean adjacent_spanset_int(Pointer ss, int i) { + var _result = _meos_a.adjacent_spanset_int(ss, i); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean adjacent_spanset_timestamptz(Pointer ss, OffsetDateTime t) { + var t_new = t.toEpochSecond(); + var _result = _meos_a.adjacent_spanset_timestamptz(ss, t_new); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean adjacent_spanset_span(Pointer ss, Pointer s) { + var _result = _meos_a.adjacent_spanset_span(ss, s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean adjacent_spanset_spanset(Pointer ss1, Pointer ss2) { + var _result = _meos_a.adjacent_spanset_spanset(ss1, ss2); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean contained_bigint_set(long i, Pointer s) { + var _result = _meos_a.contained_bigint_set(i, s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean contained_bigint_span(long i, Pointer s) { + var _result = _meos_a.contained_bigint_span(i, s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean contained_bigint_spanset(long i, Pointer ss) { + var _result = _meos_a.contained_bigint_spanset(i, ss); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean contained_date_set(int d, Pointer s) { + var _result = _meos_a.contained_date_set(d, s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean contained_date_span(int d, Pointer s) { + var _result = _meos_a.contained_date_span(d, s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean contained_date_spanset(int d, Pointer ss) { + var _result = _meos_a.contained_date_spanset(d, ss); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean contained_float_set(double d, Pointer s) { + var _result = _meos_a.contained_float_set(d, s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean contained_float_span(double d, Pointer s) { + var _result = _meos_a.contained_float_span(d, s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean contained_float_spanset(double d, Pointer ss) { + var _result = _meos_a.contained_float_spanset(d, ss); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean contained_int_set(int i, Pointer s) { + var _result = _meos_a.contained_int_set(i, s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean contained_int_span(int i, Pointer s) { + var _result = _meos_a.contained_int_span(i, s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean contained_int_spanset(int i, Pointer ss) { + var _result = _meos_a.contained_int_spanset(i, ss); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean contained_set_set(Pointer s1, Pointer s2) { + var _result = _meos_a.contained_set_set(s1, s2); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean contained_span_span(Pointer s1, Pointer s2) { + var _result = _meos_a.contained_span_span(s1, s2); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean contained_span_spanset(Pointer s, Pointer ss) { + var _result = _meos_a.contained_span_spanset(s, ss); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean contained_spanset_span(Pointer ss, Pointer s) { + var _result = _meos_a.contained_spanset_span(ss, s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean contained_spanset_spanset(Pointer ss1, Pointer ss2) { + var _result = _meos_a.contained_spanset_spanset(ss1, ss2); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean contained_text_set(Pointer txt, Pointer s) { + var _result = _meos_a.contained_text_set(txt, s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean contained_timestamptz_set(OffsetDateTime t, Pointer s) { + var t_new = t.toEpochSecond(); + var _result = _meos_a.contained_timestamptz_set(t_new, s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean contained_timestamptz_span(OffsetDateTime t, Pointer s) { + var t_new = t.toEpochSecond(); + var _result = _meos_a.contained_timestamptz_span(t_new, s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean contained_timestamptz_spanset(OffsetDateTime t, Pointer ss) { + var t_new = t.toEpochSecond(); + var _result = _meos_a.contained_timestamptz_spanset(t_new, ss); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean contains_set_bigint(Pointer s, long i) { + var _result = _meos_a.contains_set_bigint(s, i); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean contains_set_date(Pointer s, int d) { + var _result = _meos_a.contains_set_date(s, d); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean contains_set_float(Pointer s, double d) { + var _result = _meos_a.contains_set_float(s, d); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean contains_set_int(Pointer s, int i) { + var _result = _meos_a.contains_set_int(s, i); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean contains_set_set(Pointer s1, Pointer s2) { + var _result = _meos_a.contains_set_set(s1, s2); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean contains_set_text(Pointer s, Pointer t) { + var _result = _meos_a.contains_set_text(s, t); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean contains_set_timestamptz(Pointer s, OffsetDateTime t) { + var t_new = t.toEpochSecond(); + var _result = _meos_a.contains_set_timestamptz(s, t_new); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean contains_span_bigint(Pointer s, long i) { + var _result = _meos_a.contains_span_bigint(s, i); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean contains_span_date(Pointer s, int d) { + var _result = _meos_a.contains_span_date(s, d); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean contains_span_float(Pointer s, double d) { + var _result = _meos_a.contains_span_float(s, d); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean contains_span_int(Pointer s, int i) { + var _result = _meos_a.contains_span_int(s, i); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean contains_span_span(Pointer s1, Pointer s2) { + var _result = _meos_a.contains_span_span(s1, s2); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean contains_span_spanset(Pointer s, Pointer ss) { + var _result = _meos_a.contains_span_spanset(s, ss); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean contains_span_timestamptz(Pointer s, OffsetDateTime t) { + var t_new = t.toEpochSecond(); + var _result = _meos_a.contains_span_timestamptz(s, t_new); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean contains_spanset_bigint(Pointer ss, long i) { + var _result = _meos_a.contains_spanset_bigint(ss, i); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean contains_spanset_date(Pointer ss, int d) { + var _result = _meos_a.contains_spanset_date(ss, d); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean contains_spanset_float(Pointer ss, double d) { + var _result = _meos_a.contains_spanset_float(ss, d); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean contains_spanset_int(Pointer ss, int i) { + var _result = _meos_a.contains_spanset_int(ss, i); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean contains_spanset_span(Pointer ss, Pointer s) { + var _result = _meos_a.contains_spanset_span(ss, s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean contains_spanset_spanset(Pointer ss1, Pointer ss2) { + var _result = _meos_a.contains_spanset_spanset(ss1, ss2); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean contains_spanset_timestamptz(Pointer ss, OffsetDateTime t) { + var t_new = t.toEpochSecond(); + var _result = _meos_a.contains_spanset_timestamptz(ss, t_new); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean overlaps_set_set(Pointer s1, Pointer s2) { + var _result = _meos_a.overlaps_set_set(s1, s2); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean overlaps_span_span(Pointer s1, Pointer s2) { + var _result = _meos_a.overlaps_span_span(s1, s2); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean overlaps_span_spanset(Pointer s, Pointer ss) { + var _result = _meos_a.overlaps_span_spanset(s, ss); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean overlaps_spanset_span(Pointer ss, Pointer s) { + var _result = _meos_a.overlaps_spanset_span(ss, s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean overlaps_spanset_spanset(Pointer ss1, Pointer ss2) { + var _result = _meos_a.overlaps_spanset_spanset(ss1, ss2); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean after_date_set(int d, Pointer s) { + var _result = _meos_a.after_date_set(d, s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean after_date_span(int d, Pointer s) { + var _result = _meos_a.after_date_span(d, s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean after_date_spanset(int d, Pointer ss) { + var _result = _meos_a.after_date_spanset(d, ss); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean after_set_date(Pointer s, int d) { + var _result = _meos_a.after_set_date(s, d); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean after_set_timestamptz(Pointer s, OffsetDateTime t) { + var t_new = t.toEpochSecond(); + var _result = _meos_a.after_set_timestamptz(s, t_new); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean after_span_date(Pointer s, int d) { + var _result = _meos_a.after_span_date(s, d); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean after_span_timestamptz(Pointer s, OffsetDateTime t) { + var t_new = t.toEpochSecond(); + var _result = _meos_a.after_span_timestamptz(s, t_new); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean after_spanset_date(Pointer ss, int d) { + var _result = _meos_a.after_spanset_date(ss, d); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean after_spanset_timestamptz(Pointer ss, OffsetDateTime t) { + var t_new = t.toEpochSecond(); + var _result = _meos_a.after_spanset_timestamptz(ss, t_new); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean after_timestamptz_set(OffsetDateTime t, Pointer s) { + var t_new = t.toEpochSecond(); + var _result = _meos_a.after_timestamptz_set(t_new, s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean after_timestamptz_span(OffsetDateTime t, Pointer s) { + var t_new = t.toEpochSecond(); + var _result = _meos_a.after_timestamptz_span(t_new, s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean after_timestamptz_spanset(OffsetDateTime t, Pointer ss) { + var t_new = t.toEpochSecond(); + var _result = _meos_a.after_timestamptz_spanset(t_new, ss); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean before_date_set(int d, Pointer s) { + var _result = _meos_a.before_date_set(d, s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean before_date_span(int d, Pointer s) { + var _result = _meos_a.before_date_span(d, s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean before_date_spanset(int d, Pointer ss) { + var _result = _meos_a.before_date_spanset(d, ss); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean before_set_date(Pointer s, int d) { + var _result = _meos_a.before_set_date(s, d); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean before_set_timestamptz(Pointer s, OffsetDateTime t) { + var t_new = t.toEpochSecond(); + var _result = _meos_a.before_set_timestamptz(s, t_new); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean before_span_date(Pointer s, int d) { + var _result = _meos_a.before_span_date(s, d); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean before_span_timestamptz(Pointer s, OffsetDateTime t) { + var t_new = t.toEpochSecond(); + var _result = _meos_a.before_span_timestamptz(s, t_new); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean before_spanset_date(Pointer ss, int d) { + var _result = _meos_a.before_spanset_date(ss, d); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean before_spanset_timestamptz(Pointer ss, OffsetDateTime t) { + var t_new = t.toEpochSecond(); + var _result = _meos_a.before_spanset_timestamptz(ss, t_new); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean before_timestamptz_set(OffsetDateTime t, Pointer s) { + var t_new = t.toEpochSecond(); + var _result = _meos_a.before_timestamptz_set(t_new, s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean before_timestamptz_span(OffsetDateTime t, Pointer s) { + var t_new = t.toEpochSecond(); + var _result = _meos_a.before_timestamptz_span(t_new, s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean before_timestamptz_spanset(OffsetDateTime t, Pointer ss) { + var t_new = t.toEpochSecond(); + var _result = _meos_a.before_timestamptz_spanset(t_new, ss); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean left_bigint_set(long i, Pointer s) { + var _result = _meos_a.left_bigint_set(i, s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean left_bigint_span(long i, Pointer s) { + var _result = _meos_a.left_bigint_span(i, s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean left_bigint_spanset(long i, Pointer ss) { + var _result = _meos_a.left_bigint_spanset(i, ss); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean left_float_set(double d, Pointer s) { + var _result = _meos_a.left_float_set(d, s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean left_float_span(double d, Pointer s) { + var _result = _meos_a.left_float_span(d, s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean left_float_spanset(double d, Pointer ss) { + var _result = _meos_a.left_float_spanset(d, ss); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean left_int_set(int i, Pointer s) { + var _result = _meos_a.left_int_set(i, s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean left_int_span(int i, Pointer s) { + var _result = _meos_a.left_int_span(i, s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean left_int_spanset(int i, Pointer ss) { + var _result = _meos_a.left_int_spanset(i, ss); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean left_set_bigint(Pointer s, long i) { + var _result = _meos_a.left_set_bigint(s, i); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean left_set_float(Pointer s, double d) { + var _result = _meos_a.left_set_float(s, d); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean left_set_int(Pointer s, int i) { + var _result = _meos_a.left_set_int(s, i); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean left_set_set(Pointer s1, Pointer s2) { + var _result = _meos_a.left_set_set(s1, s2); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean left_set_text(Pointer s, Pointer txt) { + var _result = _meos_a.left_set_text(s, txt); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean left_span_bigint(Pointer s, long i) { + var _result = _meos_a.left_span_bigint(s, i); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean left_span_float(Pointer s, double d) { + var _result = _meos_a.left_span_float(s, d); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean left_span_int(Pointer s, int i) { + var _result = _meos_a.left_span_int(s, i); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean left_span_span(Pointer s1, Pointer s2) { + var _result = _meos_a.left_span_span(s1, s2); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean left_span_spanset(Pointer s, Pointer ss) { + var _result = _meos_a.left_span_spanset(s, ss); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean left_spanset_bigint(Pointer ss, long i) { + var _result = _meos_a.left_spanset_bigint(ss, i); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean left_spanset_float(Pointer ss, double d) { + var _result = _meos_a.left_spanset_float(ss, d); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean left_spanset_int(Pointer ss, int i) { + var _result = _meos_a.left_spanset_int(ss, i); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean left_spanset_span(Pointer ss, Pointer s) { + var _result = _meos_a.left_spanset_span(ss, s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean left_spanset_spanset(Pointer ss1, Pointer ss2) { + var _result = _meos_a.left_spanset_spanset(ss1, ss2); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean left_text_set(Pointer txt, Pointer s) { + var _result = _meos_a.left_text_set(txt, s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean overafter_date_set(int d, Pointer s) { + var _result = _meos_a.overafter_date_set(d, s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean overafter_date_span(int d, Pointer s) { + var _result = _meos_a.overafter_date_span(d, s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean overafter_date_spanset(int d, Pointer ss) { + var _result = _meos_a.overafter_date_spanset(d, ss); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean overafter_set_date(Pointer s, int d) { + var _result = _meos_a.overafter_set_date(s, d); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean overafter_set_timestamptz(Pointer s, OffsetDateTime t) { + var t_new = t.toEpochSecond(); + var _result = _meos_a.overafter_set_timestamptz(s, t_new); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean overafter_span_date(Pointer s, int d) { + var _result = _meos_a.overafter_span_date(s, d); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean overafter_span_timestamptz(Pointer s, OffsetDateTime t) { + var t_new = t.toEpochSecond(); + var _result = _meos_a.overafter_span_timestamptz(s, t_new); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean overafter_spanset_date(Pointer ss, int d) { + var _result = _meos_a.overafter_spanset_date(ss, d); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean overafter_spanset_timestamptz(Pointer ss, OffsetDateTime t) { + var t_new = t.toEpochSecond(); + var _result = _meos_a.overafter_spanset_timestamptz(ss, t_new); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean overafter_timestamptz_set(OffsetDateTime t, Pointer s) { + var t_new = t.toEpochSecond(); + var _result = _meos_a.overafter_timestamptz_set(t_new, s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean overafter_timestamptz_span(OffsetDateTime t, Pointer s) { + var t_new = t.toEpochSecond(); + var _result = _meos_a.overafter_timestamptz_span(t_new, s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean overafter_timestamptz_spanset(OffsetDateTime t, Pointer ss) { + var t_new = t.toEpochSecond(); + var _result = _meos_a.overafter_timestamptz_spanset(t_new, ss); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean overbefore_date_set(int d, Pointer s) { + var _result = _meos_a.overbefore_date_set(d, s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean overbefore_date_span(int d, Pointer s) { + var _result = _meos_a.overbefore_date_span(d, s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean overbefore_date_spanset(int d, Pointer ss) { + var _result = _meos_a.overbefore_date_spanset(d, ss); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean overbefore_set_date(Pointer s, int d) { + var _result = _meos_a.overbefore_set_date(s, d); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean overbefore_set_timestamptz(Pointer s, OffsetDateTime t) { + var t_new = t.toEpochSecond(); + var _result = _meos_a.overbefore_set_timestamptz(s, t_new); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean overbefore_span_date(Pointer s, int d) { + var _result = _meos_a.overbefore_span_date(s, d); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean overbefore_span_timestamptz(Pointer s, OffsetDateTime t) { + var t_new = t.toEpochSecond(); + var _result = _meos_a.overbefore_span_timestamptz(s, t_new); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean overbefore_spanset_date(Pointer ss, int d) { + var _result = _meos_a.overbefore_spanset_date(ss, d); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean overbefore_spanset_timestamptz(Pointer ss, OffsetDateTime t) { + var t_new = t.toEpochSecond(); + var _result = _meos_a.overbefore_spanset_timestamptz(ss, t_new); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean overbefore_timestamptz_set(OffsetDateTime t, Pointer s) { + var t_new = t.toEpochSecond(); + var _result = _meos_a.overbefore_timestamptz_set(t_new, s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean overbefore_timestamptz_span(OffsetDateTime t, Pointer s) { + var t_new = t.toEpochSecond(); + var _result = _meos_a.overbefore_timestamptz_span(t_new, s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean overbefore_timestamptz_spanset(OffsetDateTime t, Pointer ss) { + var t_new = t.toEpochSecond(); + var _result = _meos_a.overbefore_timestamptz_spanset(t_new, ss); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean overleft_bigint_set(long i, Pointer s) { + var _result = _meos_a.overleft_bigint_set(i, s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean overleft_bigint_span(long i, Pointer s) { + var _result = _meos_a.overleft_bigint_span(i, s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean overleft_bigint_spanset(long i, Pointer ss) { + var _result = _meos_a.overleft_bigint_spanset(i, ss); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean overleft_float_set(double d, Pointer s) { + var _result = _meos_a.overleft_float_set(d, s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean overleft_float_span(double d, Pointer s) { + var _result = _meos_a.overleft_float_span(d, s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean overleft_float_spanset(double d, Pointer ss) { + var _result = _meos_a.overleft_float_spanset(d, ss); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean overleft_int_set(int i, Pointer s) { + var _result = _meos_a.overleft_int_set(i, s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean overleft_int_span(int i, Pointer s) { + var _result = _meos_a.overleft_int_span(i, s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean overleft_int_spanset(int i, Pointer ss) { + var _result = _meos_a.overleft_int_spanset(i, ss); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean overleft_set_bigint(Pointer s, long i) { + var _result = _meos_a.overleft_set_bigint(s, i); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean overleft_set_float(Pointer s, double d) { + var _result = _meos_a.overleft_set_float(s, d); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean overleft_set_int(Pointer s, int i) { + var _result = _meos_a.overleft_set_int(s, i); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean overleft_set_set(Pointer s1, Pointer s2) { + var _result = _meos_a.overleft_set_set(s1, s2); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean overleft_set_text(Pointer s, Pointer txt) { + var _result = _meos_a.overleft_set_text(s, txt); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean overleft_span_bigint(Pointer s, long i) { + var _result = _meos_a.overleft_span_bigint(s, i); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean overleft_span_float(Pointer s, double d) { + var _result = _meos_a.overleft_span_float(s, d); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean overleft_span_int(Pointer s, int i) { + var _result = _meos_a.overleft_span_int(s, i); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean overleft_span_span(Pointer s1, Pointer s2) { + var _result = _meos_a.overleft_span_span(s1, s2); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean overleft_span_spanset(Pointer s, Pointer ss) { + var _result = _meos_a.overleft_span_spanset(s, ss); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean overleft_spanset_bigint(Pointer ss, long i) { + var _result = _meos_a.overleft_spanset_bigint(ss, i); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean overleft_spanset_float(Pointer ss, double d) { + var _result = _meos_a.overleft_spanset_float(ss, d); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean overleft_spanset_int(Pointer ss, int i) { + var _result = _meos_a.overleft_spanset_int(ss, i); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean overleft_spanset_span(Pointer ss, Pointer s) { + var _result = _meos_a.overleft_spanset_span(ss, s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean overleft_spanset_spanset(Pointer ss1, Pointer ss2) { + var _result = _meos_a.overleft_spanset_spanset(ss1, ss2); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean overleft_text_set(Pointer txt, Pointer s) { + var _result = _meos_a.overleft_text_set(txt, s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean overright_bigint_set(long i, Pointer s) { + var _result = _meos_a.overright_bigint_set(i, s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean overright_bigint_span(long i, Pointer s) { + var _result = _meos_a.overright_bigint_span(i, s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean overright_bigint_spanset(long i, Pointer ss) { + var _result = _meos_a.overright_bigint_spanset(i, ss); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean overright_float_set(double d, Pointer s) { + var _result = _meos_a.overright_float_set(d, s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean overright_float_span(double d, Pointer s) { + var _result = _meos_a.overright_float_span(d, s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean overright_float_spanset(double d, Pointer ss) { + var _result = _meos_a.overright_float_spanset(d, ss); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean overright_int_set(int i, Pointer s) { + var _result = _meos_a.overright_int_set(i, s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean overright_int_span(int i, Pointer s) { + var _result = _meos_a.overright_int_span(i, s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean overright_int_spanset(int i, Pointer ss) { + var _result = _meos_a.overright_int_spanset(i, ss); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean overright_set_bigint(Pointer s, long i) { + var _result = _meos_a.overright_set_bigint(s, i); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean overright_set_float(Pointer s, double d) { + var _result = _meos_a.overright_set_float(s, d); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean overright_set_int(Pointer s, int i) { + var _result = _meos_a.overright_set_int(s, i); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean overright_set_set(Pointer s1, Pointer s2) { + var _result = _meos_a.overright_set_set(s1, s2); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean overright_set_text(Pointer s, Pointer txt) { + var _result = _meos_a.overright_set_text(s, txt); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean overright_span_bigint(Pointer s, long i) { + var _result = _meos_a.overright_span_bigint(s, i); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean overright_span_float(Pointer s, double d) { + var _result = _meos_a.overright_span_float(s, d); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean overright_span_int(Pointer s, int i) { + var _result = _meos_a.overright_span_int(s, i); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean overright_span_span(Pointer s1, Pointer s2) { + var _result = _meos_a.overright_span_span(s1, s2); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean overright_span_spanset(Pointer s, Pointer ss) { + var _result = _meos_a.overright_span_spanset(s, ss); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean overright_spanset_bigint(Pointer ss, long i) { + var _result = _meos_a.overright_spanset_bigint(ss, i); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean overright_spanset_float(Pointer ss, double d) { + var _result = _meos_a.overright_spanset_float(ss, d); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean overright_spanset_int(Pointer ss, int i) { + var _result = _meos_a.overright_spanset_int(ss, i); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean overright_spanset_span(Pointer ss, Pointer s) { + var _result = _meos_a.overright_spanset_span(ss, s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean overright_spanset_spanset(Pointer ss1, Pointer ss2) { + var _result = _meos_a.overright_spanset_spanset(ss1, ss2); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean overright_text_set(Pointer txt, Pointer s) { + var _result = _meos_a.overright_text_set(txt, s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean right_bigint_set(long i, Pointer s) { + var _result = _meos_a.right_bigint_set(i, s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean right_bigint_span(long i, Pointer s) { + var _result = _meos_a.right_bigint_span(i, s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean right_bigint_spanset(long i, Pointer ss) { + var _result = _meos_a.right_bigint_spanset(i, ss); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean right_float_set(double d, Pointer s) { + var _result = _meos_a.right_float_set(d, s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean right_float_span(double d, Pointer s) { + var _result = _meos_a.right_float_span(d, s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean right_float_spanset(double d, Pointer ss) { + var _result = _meos_a.right_float_spanset(d, ss); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean right_int_set(int i, Pointer s) { + var _result = _meos_a.right_int_set(i, s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean right_int_span(int i, Pointer s) { + var _result = _meos_a.right_int_span(i, s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean right_int_spanset(int i, Pointer ss) { + var _result = _meos_a.right_int_spanset(i, ss); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean right_set_bigint(Pointer s, long i) { + var _result = _meos_a.right_set_bigint(s, i); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean right_set_float(Pointer s, double d) { + var _result = _meos_a.right_set_float(s, d); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean right_set_int(Pointer s, int i) { + var _result = _meos_a.right_set_int(s, i); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean right_set_set(Pointer s1, Pointer s2) { + var _result = _meos_a.right_set_set(s1, s2); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean right_set_text(Pointer s, Pointer txt) { + var _result = _meos_a.right_set_text(s, txt); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean right_span_bigint(Pointer s, long i) { + var _result = _meos_a.right_span_bigint(s, i); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean right_span_float(Pointer s, double d) { + var _result = _meos_a.right_span_float(s, d); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean right_span_int(Pointer s, int i) { + var _result = _meos_a.right_span_int(s, i); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean right_span_span(Pointer s1, Pointer s2) { + var _result = _meos_a.right_span_span(s1, s2); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean right_span_spanset(Pointer s, Pointer ss) { + var _result = _meos_a.right_span_spanset(s, ss); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean right_spanset_bigint(Pointer ss, long i) { + var _result = _meos_a.right_spanset_bigint(ss, i); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean right_spanset_float(Pointer ss, double d) { + var _result = _meos_a.right_spanset_float(ss, d); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean right_spanset_int(Pointer ss, int i) { + var _result = _meos_a.right_spanset_int(ss, i); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean right_spanset_span(Pointer ss, Pointer s) { + var _result = _meos_a.right_spanset_span(ss, s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean right_spanset_spanset(Pointer ss1, Pointer ss2) { + var _result = _meos_a.right_spanset_spanset(ss1, ss2); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean right_text_set(Pointer txt, Pointer s) { + var _result = _meos_a.right_text_set(txt, s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer intersection_bigint_set(long i, Pointer s) { + var _result = _meos_a.intersection_bigint_set(i, s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer intersection_date_set(int d, Pointer s) { + var _result = _meos_a.intersection_date_set(d, s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer intersection_float_set(double d, Pointer s) { + var _result = _meos_a.intersection_float_set(d, s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer intersection_int_set(int i, Pointer s) { + var _result = _meos_a.intersection_int_set(i, s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer intersection_set_bigint(Pointer s, long i) { + var _result = _meos_a.intersection_set_bigint(s, i); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer intersection_set_date(Pointer s, int d) { + var _result = _meos_a.intersection_set_date(s, d); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer intersection_set_float(Pointer s, double d) { + var _result = _meos_a.intersection_set_float(s, d); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer intersection_set_int(Pointer s, int i) { + var _result = _meos_a.intersection_set_int(s, i); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer intersection_set_set(Pointer s1, Pointer s2) { + var _result = _meos_a.intersection_set_set(s1, s2); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer intersection_set_text(Pointer s, Pointer txt) { + var _result = _meos_a.intersection_set_text(s, txt); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer intersection_set_timestamptz(Pointer s, OffsetDateTime t) { + var t_new = t.toEpochSecond(); + var _result = _meos_a.intersection_set_timestamptz(s, t_new); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer intersection_span_bigint(Pointer s, long i) { + var _result = _meos_a.intersection_span_bigint(s, i); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer intersection_span_date(Pointer s, int d) { + var _result = _meos_a.intersection_span_date(s, d); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer intersection_span_float(Pointer s, double d) { + var _result = _meos_a.intersection_span_float(s, d); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer intersection_span_int(Pointer s, int i) { + var _result = _meos_a.intersection_span_int(s, i); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer intersection_span_span(Pointer s1, Pointer s2) { + var _result = _meos_a.intersection_span_span(s1, s2); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer intersection_span_spanset(Pointer s, Pointer ss) { + var _result = _meos_a.intersection_span_spanset(s, ss); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer intersection_span_timestamptz(Pointer s, OffsetDateTime t) { + var t_new = t.toEpochSecond(); + var _result = _meos_a.intersection_span_timestamptz(s, t_new); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer intersection_spanset_bigint(Pointer ss, long i) { + var _result = _meos_a.intersection_spanset_bigint(ss, i); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer intersection_spanset_date(Pointer ss, int d) { + var _result = _meos_a.intersection_spanset_date(ss, d); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer intersection_spanset_float(Pointer ss, double d) { + var _result = _meos_a.intersection_spanset_float(ss, d); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer intersection_spanset_int(Pointer ss, int i) { + var _result = _meos_a.intersection_spanset_int(ss, i); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer intersection_spanset_span(Pointer ss, Pointer s) { + var _result = _meos_a.intersection_spanset_span(ss, s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer intersection_spanset_spanset(Pointer ss1, Pointer ss2) { + var _result = _meos_a.intersection_spanset_spanset(ss1, ss2); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer intersection_spanset_timestamptz(Pointer ss, OffsetDateTime t) { + var t_new = t.toEpochSecond(); + var _result = _meos_a.intersection_spanset_timestamptz(ss, t_new); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer intersection_text_set(Pointer txt, Pointer s) { + var _result = _meos_a.intersection_text_set(txt, s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer intersection_timestamptz_set(OffsetDateTime t, Pointer s) { + var t_new = t.toEpochSecond(); + var _result = _meos_a.intersection_timestamptz_set(t_new, s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer minus_bigint_set(long i, Pointer s) { + var _result = _meos_a.minus_bigint_set(i, s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer minus_bigint_span(long i, Pointer s) { + var _result = _meos_a.minus_bigint_span(i, s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer minus_bigint_spanset(long i, Pointer ss) { + var _result = _meos_a.minus_bigint_spanset(i, ss); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer minus_date_set(int d, Pointer s) { + var _result = _meos_a.minus_date_set(d, s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer minus_date_span(int d, Pointer s) { + var _result = _meos_a.minus_date_span(d, s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer minus_date_spanset(int d, Pointer ss) { + var _result = _meos_a.minus_date_spanset(d, ss); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer minus_float_set(double d, Pointer s) { + var _result = _meos_a.minus_float_set(d, s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer minus_float_span(double d, Pointer s) { + var _result = _meos_a.minus_float_span(d, s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer minus_float_spanset(double d, Pointer ss) { + var _result = _meos_a.minus_float_spanset(d, ss); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer minus_int_set(int i, Pointer s) { + var _result = _meos_a.minus_int_set(i, s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer minus_int_span(int i, Pointer s) { + var _result = _meos_a.minus_int_span(i, s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer minus_int_spanset(int i, Pointer ss) { + var _result = _meos_a.minus_int_spanset(i, ss); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer minus_set_bigint(Pointer s, long i) { + var _result = _meos_a.minus_set_bigint(s, i); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer minus_set_date(Pointer s, int d) { + var _result = _meos_a.minus_set_date(s, d); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer minus_set_float(Pointer s, double d) { + var _result = _meos_a.minus_set_float(s, d); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer minus_set_int(Pointer s, int i) { + var _result = _meos_a.minus_set_int(s, i); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer minus_set_set(Pointer s1, Pointer s2) { + var _result = _meos_a.minus_set_set(s1, s2); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer minus_set_text(Pointer s, Pointer txt) { + var _result = _meos_a.minus_set_text(s, txt); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer minus_set_timestamptz(Pointer s, OffsetDateTime t) { + var t_new = t.toEpochSecond(); + var _result = _meos_a.minus_set_timestamptz(s, t_new); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer minus_span_bigint(Pointer s, long i) { + var _result = _meos_a.minus_span_bigint(s, i); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer minus_span_date(Pointer s, int d) { + var _result = _meos_a.minus_span_date(s, d); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer minus_span_float(Pointer s, double d) { + var _result = _meos_a.minus_span_float(s, d); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer minus_span_int(Pointer s, int i) { + var _result = _meos_a.minus_span_int(s, i); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer minus_span_span(Pointer s1, Pointer s2) { + var _result = _meos_a.minus_span_span(s1, s2); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer minus_span_spanset(Pointer s, Pointer ss) { + var _result = _meos_a.minus_span_spanset(s, ss); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer minus_span_timestamptz(Pointer s, OffsetDateTime t) { + var t_new = t.toEpochSecond(); + var _result = _meos_a.minus_span_timestamptz(s, t_new); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer minus_spanset_bigint(Pointer ss, long i) { + var _result = _meos_a.minus_spanset_bigint(ss, i); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer minus_spanset_date(Pointer ss, int d) { + var _result = _meos_a.minus_spanset_date(ss, d); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer minus_spanset_float(Pointer ss, double d) { + var _result = _meos_a.minus_spanset_float(ss, d); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer minus_spanset_int(Pointer ss, int i) { + var _result = _meos_a.minus_spanset_int(ss, i); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer minus_spanset_span(Pointer ss, Pointer s) { + var _result = _meos_a.minus_spanset_span(ss, s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer minus_spanset_spanset(Pointer ss1, Pointer ss2) { + var _result = _meos_a.minus_spanset_spanset(ss1, ss2); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer minus_spanset_timestamptz(Pointer ss, OffsetDateTime t) { + var t_new = t.toEpochSecond(); + var _result = _meos_a.minus_spanset_timestamptz(ss, t_new); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer minus_text_set(Pointer txt, Pointer s) { + var _result = _meos_a.minus_text_set(txt, s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer minus_timestamptz_set(OffsetDateTime t, Pointer s) { + var t_new = t.toEpochSecond(); + var _result = _meos_a.minus_timestamptz_set(t_new, s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer minus_timestamptz_span(OffsetDateTime t, Pointer s) { + var t_new = t.toEpochSecond(); + var _result = _meos_a.minus_timestamptz_span(t_new, s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer minus_timestamptz_spanset(OffsetDateTime t, Pointer ss) { + var t_new = t.toEpochSecond(); + var _result = _meos_a.minus_timestamptz_spanset(t_new, ss); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer union_bigint_set(long i, Pointer s) { + var _result = _meos_a.union_bigint_set(i, s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer union_bigint_span(Pointer s, long i) { + var _result = _meos_a.union_bigint_span(s, i); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer union_bigint_spanset(long i, Pointer ss) { + var _result = _meos_a.union_bigint_spanset(i, ss); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer union_date_set(int d, Pointer s) { + var _result = _meos_a.union_date_set(d, s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer union_date_span(Pointer s, int d) { + var _result = _meos_a.union_date_span(s, d); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer union_date_spanset(int d, Pointer ss) { + var _result = _meos_a.union_date_spanset(d, ss); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer union_float_set(double d, Pointer s) { + var _result = _meos_a.union_float_set(d, s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer union_float_span(Pointer s, double d) { + var _result = _meos_a.union_float_span(s, d); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer union_float_spanset(double d, Pointer ss) { + var _result = _meos_a.union_float_spanset(d, ss); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer union_int_set(int i, Pointer s) { + var _result = _meos_a.union_int_set(i, s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer union_int_span(int i, Pointer s) { + var _result = _meos_a.union_int_span(i, s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer union_int_spanset(int i, Pointer ss) { + var _result = _meos_a.union_int_spanset(i, ss); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer union_set_bigint(Pointer s, long i) { + var _result = _meos_a.union_set_bigint(s, i); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer union_set_date(Pointer s, int d) { + var _result = _meos_a.union_set_date(s, d); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer union_set_float(Pointer s, double d) { + var _result = _meos_a.union_set_float(s, d); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer union_set_int(Pointer s, int i) { + var _result = _meos_a.union_set_int(s, i); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer union_set_set(Pointer s1, Pointer s2) { + var _result = _meos_a.union_set_set(s1, s2); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer union_set_text(Pointer s, Pointer txt) { + var _result = _meos_a.union_set_text(s, txt); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer union_set_timestamptz(Pointer s, OffsetDateTime t) { + var t_new = t.toEpochSecond(); + var _result = _meos_a.union_set_timestamptz(s, t_new); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer union_span_bigint(Pointer s, long i) { + var _result = _meos_a.union_span_bigint(s, i); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer union_span_date(Pointer s, int d) { + var _result = _meos_a.union_span_date(s, d); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer union_span_float(Pointer s, double d) { + var _result = _meos_a.union_span_float(s, d); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer union_span_int(Pointer s, int i) { + var _result = _meos_a.union_span_int(s, i); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer union_span_span(Pointer s1, Pointer s2) { + var _result = _meos_a.union_span_span(s1, s2); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer union_span_spanset(Pointer s, Pointer ss) { + var _result = _meos_a.union_span_spanset(s, ss); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer union_span_timestamptz(Pointer s, OffsetDateTime t) { + var t_new = t.toEpochSecond(); + var _result = _meos_a.union_span_timestamptz(s, t_new); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer union_spanset_bigint(Pointer ss, long i) { + var _result = _meos_a.union_spanset_bigint(ss, i); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer union_spanset_date(Pointer ss, int d) { + var _result = _meos_a.union_spanset_date(ss, d); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer union_spanset_float(Pointer ss, double d) { + var _result = _meos_a.union_spanset_float(ss, d); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer union_spanset_int(Pointer ss, int i) { + var _result = _meos_a.union_spanset_int(ss, i); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer union_spanset_span(Pointer ss, Pointer s) { + var _result = _meos_a.union_spanset_span(ss, s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer union_spanset_spanset(Pointer ss1, Pointer ss2) { + var _result = _meos_a.union_spanset_spanset(ss1, ss2); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer union_spanset_timestamptz(Pointer ss, OffsetDateTime t) { + var t_new = t.toEpochSecond(); + var _result = _meos_a.union_spanset_timestamptz(ss, t_new); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer union_text_set(Pointer txt, Pointer s) { + var _result = _meos_a.union_text_set(txt, s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer union_timestamptz_set(OffsetDateTime t, Pointer s) { + var t_new = t.toEpochSecond(); + var _result = _meos_a.union_timestamptz_set(t_new, s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer union_timestamptz_span(OffsetDateTime t, Pointer s) { + var t_new = t.toEpochSecond(); + var _result = _meos_a.union_timestamptz_span(t_new, s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer union_timestamptz_spanset(OffsetDateTime t, Pointer ss) { + var t_new = t.toEpochSecond(); + var _result = _meos_a.union_timestamptz_spanset(t_new, ss); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static long distance_bigintset_bigintset(Pointer s1, Pointer s2) { + var _result = _meos_a.distance_bigintset_bigintset(s1, s2); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static long distance_bigintspan_bigintspan(Pointer s1, Pointer s2) { + var _result = _meos_a.distance_bigintspan_bigintspan(s1, s2); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static long distance_bigintspanset_bigintspan(Pointer ss, Pointer s) { + var _result = _meos_a.distance_bigintspanset_bigintspan(ss, s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static long distance_bigintspanset_bigintspanset(Pointer ss1, Pointer ss2) { + var _result = _meos_a.distance_bigintspanset_bigintspanset(ss1, ss2); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int distance_dateset_dateset(Pointer s1, Pointer s2) { + var _result = _meos_a.distance_dateset_dateset(s1, s2); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int distance_datespan_datespan(Pointer s1, Pointer s2) { + var _result = _meos_a.distance_datespan_datespan(s1, s2); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int distance_datespanset_datespan(Pointer ss, Pointer s) { + var _result = _meos_a.distance_datespanset_datespan(ss, s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int distance_datespanset_datespanset(Pointer ss1, Pointer ss2) { + var _result = _meos_a.distance_datespanset_datespanset(ss1, ss2); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static double distance_floatset_floatset(Pointer s1, Pointer s2) { + var _result = _meos_a.distance_floatset_floatset(s1, s2); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static double distance_floatspan_floatspan(Pointer s1, Pointer s2) { + var _result = _meos_a.distance_floatspan_floatspan(s1, s2); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static double distance_floatspanset_floatspan(Pointer ss, Pointer s) { + var _result = _meos_a.distance_floatspanset_floatspan(ss, s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static double distance_floatspanset_floatspanset(Pointer ss1, Pointer ss2) { + var _result = _meos_a.distance_floatspanset_floatspanset(ss1, ss2); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int distance_intset_intset(Pointer s1, Pointer s2) { + var _result = _meos_a.distance_intset_intset(s1, s2); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int distance_intspan_intspan(Pointer s1, Pointer s2) { + var _result = _meos_a.distance_intspan_intspan(s1, s2); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int distance_intspanset_intspan(Pointer ss, Pointer s) { + var _result = _meos_a.distance_intspanset_intspan(ss, s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int distance_intspanset_intspanset(Pointer ss1, Pointer ss2) { + var _result = _meos_a.distance_intspanset_intspanset(ss1, ss2); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static long distance_set_bigint(Pointer s, long i) { + var _result = _meos_a.distance_set_bigint(s, i); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int distance_set_date(Pointer s, int d) { + var _result = _meos_a.distance_set_date(s, d); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static double distance_set_float(Pointer s, double d) { + var _result = _meos_a.distance_set_float(s, d); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int distance_set_int(Pointer s, int i) { + var _result = _meos_a.distance_set_int(s, i); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static double distance_set_timestamptz(Pointer s, OffsetDateTime t) { + var t_new = t.toEpochSecond(); + var _result = _meos_a.distance_set_timestamptz(s, t_new); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static long distance_span_bigint(Pointer s, long i) { + var _result = _meos_a.distance_span_bigint(s, i); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int distance_span_date(Pointer s, int d) { + var _result = _meos_a.distance_span_date(s, d); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static double distance_span_float(Pointer s, double d) { + var _result = _meos_a.distance_span_float(s, d); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int distance_span_int(Pointer s, int i) { + var _result = _meos_a.distance_span_int(s, i); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static double distance_span_timestamptz(Pointer s, OffsetDateTime t) { + var t_new = t.toEpochSecond(); + var _result = _meos_a.distance_span_timestamptz(s, t_new); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static long distance_spanset_bigint(Pointer ss, long i) { + var _result = _meos_a.distance_spanset_bigint(ss, i); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int distance_spanset_date(Pointer ss, int d) { + var _result = _meos_a.distance_spanset_date(ss, d); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static double distance_spanset_float(Pointer ss, double d) { + var _result = _meos_a.distance_spanset_float(ss, d); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int distance_spanset_int(Pointer ss, int i) { + var _result = _meos_a.distance_spanset_int(ss, i); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static double distance_spanset_timestamptz(Pointer ss, OffsetDateTime t) { + var t_new = t.toEpochSecond(); + var _result = _meos_a.distance_spanset_timestamptz(ss, t_new); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static double distance_tstzset_tstzset(Pointer s1, Pointer s2) { + var _result = _meos_a.distance_tstzset_tstzset(s1, s2); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static double distance_tstzspan_tstzspan(Pointer s1, Pointer s2) { + var _result = _meos_a.distance_tstzspan_tstzspan(s1, s2); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static double distance_tstzspanset_tstzspan(Pointer ss, Pointer s) { + var _result = _meos_a.distance_tstzspanset_tstzspan(ss, s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static double distance_tstzspanset_tstzspanset(Pointer ss1, Pointer ss2) { + var _result = _meos_a.distance_tstzspanset_tstzspanset(ss1, ss2); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer bigint_extent_transfn(Pointer state, long i) { + var _result = _meos_a.bigint_extent_transfn(state, i); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer bigint_union_transfn(Pointer state, long i) { + var _result = _meos_a.bigint_union_transfn(state, i); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer date_extent_transfn(Pointer state, int d) { + var _result = _meos_a.date_extent_transfn(state, d); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer date_union_transfn(Pointer state, int d) { + var _result = _meos_a.date_union_transfn(state, d); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer float_extent_transfn(Pointer state, double d) { + var _result = _meos_a.float_extent_transfn(state, d); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer float_union_transfn(Pointer state, double d) { + var _result = _meos_a.float_union_transfn(state, d); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer int_extent_transfn(Pointer state, int i) { + var _result = _meos_a.int_extent_transfn(state, i); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer int_union_transfn(Pointer state, int i) { + var _result = _meos_a.int_union_transfn(state, i); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer set_extent_transfn(Pointer state, Pointer s) { + var _result = _meos_a.set_extent_transfn(state, s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer set_union_finalfn(Pointer state) { + var _result = _meos_a.set_union_finalfn(state); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer set_union_transfn(Pointer state, Pointer s) { + var _result = _meos_a.set_union_transfn(state, s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer span_extent_transfn(Pointer state, Pointer s) { + var _result = _meos_a.span_extent_transfn(state, s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer span_union_transfn(Pointer state, Pointer s) { + var _result = _meos_a.span_union_transfn(state, s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer spanset_extent_transfn(Pointer state, Pointer ss) { + var _result = _meos_a.spanset_extent_transfn(state, ss); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer spanset_union_finalfn(Pointer state) { + var _result = _meos_a.spanset_union_finalfn(state); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer spanset_union_transfn(Pointer state, Pointer ss) { + var _result = _meos_a.spanset_union_transfn(state, ss); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer text_union_transfn(Pointer state, Pointer txt) { + var _result = _meos_a.text_union_transfn(state, txt); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer timestamptz_extent_transfn(Pointer state, OffsetDateTime t) { + var t_new = t.toEpochSecond(); + var _result = _meos_a.timestamptz_extent_transfn(state, t_new); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer timestamptz_union_transfn(Pointer state, OffsetDateTime t) { + var t_new = t.toEpochSecond(); + var _result = _meos_a.timestamptz_union_transfn(state, t_new); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static long bigint_get_bin(long value, long vsize, long vorigin) { + var _result = _meos_a.bigint_get_bin(value, vsize, vorigin); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer bigintspan_bins(Pointer s, long vsize, long vorigin, Pointer count) { + var _result = _meos_a.bigintspan_bins(s, vsize, vorigin, count); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer bigintspanset_bins(Pointer ss, long vsize, long vorigin, Pointer count) { + var _result = _meos_a.bigintspanset_bins(ss, vsize, vorigin, count); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int date_get_bin(int d, Pointer duration, int torigin) { + var _result = _meos_a.date_get_bin(d, duration, torigin); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer datespan_bins(Pointer s, Pointer duration, int torigin, Pointer count) { + var _result = _meos_a.datespan_bins(s, duration, torigin, count); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer datespanset_bins(Pointer ss, Pointer duration, int torigin, Pointer count) { + var _result = _meos_a.datespanset_bins(ss, duration, torigin, count); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static double float_get_bin(double value, double vsize, double vorigin) { + var _result = _meos_a.float_get_bin(value, vsize, vorigin); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer floatspan_bins(Pointer s, double vsize, double vorigin, Pointer count) { + var _result = _meos_a.floatspan_bins(s, vsize, vorigin, count); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer floatspanset_bins(Pointer ss, double vsize, double vorigin, Pointer count) { + var _result = _meos_a.floatspanset_bins(ss, vsize, vorigin, count); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int int_get_bin(int value, int vsize, int vorigin) { + var _result = _meos_a.int_get_bin(value, vsize, vorigin); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer intspan_bins(Pointer s, int vsize, int vorigin, Pointer count) { + var _result = _meos_a.intspan_bins(s, vsize, vorigin, count); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer intspanset_bins(Pointer ss, int vsize, int vorigin, Pointer count) { + var _result = _meos_a.intspanset_bins(ss, vsize, vorigin, count); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static OffsetDateTime timestamptz_get_bin(OffsetDateTime t, Pointer duration, OffsetDateTime torigin) { + var t_new = t.toEpochSecond(); + var torigin_new = torigin.toEpochSecond(); + var _result = _meos_a.timestamptz_get_bin(t_new, duration, torigin_new); + MeosErrorHandler.checkError(); + return java.time.Instant.ofEpochSecond(_result).atOffset(java.time.ZoneOffset.UTC); + } + + @SuppressWarnings("unused") + public static Pointer tstzspan_bins(Pointer s, Pointer duration, OffsetDateTime origin, Pointer count) { + var origin_new = origin.toEpochSecond(); + var _result = _meos_a.tstzspan_bins(s, duration, origin_new, count); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer tstzspanset_bins(Pointer ss, Pointer duration, OffsetDateTime torigin, Pointer count) { + var torigin_new = torigin.toEpochSecond(); + var _result = _meos_a.tstzspanset_bins(ss, duration, torigin_new, count); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static String tbox_as_hexwkb(Pointer box, byte variant, Pointer size) { + var _result = _meos_a.tbox_as_hexwkb(box, variant, size); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer tbox_as_wkb(Pointer box, byte variant) { + Runtime runtime = Runtime.getSystemRuntime(); + Pointer size_out = Memory.allocateDirect(runtime, Long.BYTES); + var _result = _meos_a.tbox_as_wkb(box, variant, size_out); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer tbox_from_hexwkb(String hexwkb) { + var _result = _meos_a.tbox_from_hexwkb(hexwkb); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer tbox_from_wkb(Pointer wkb, long size) { + var _result = _meos_a.tbox_from_wkb(wkb, size); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer tbox_in(String str) { + var _result = _meos_a.tbox_in(str); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static String tbox_out(Pointer box, int maxdd) { + var _result = _meos_a.tbox_out(box, maxdd); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer float_timestamptz_to_tbox(double d, OffsetDateTime t) { + var t_new = t.toEpochSecond(); + var _result = _meos_a.float_timestamptz_to_tbox(d, t_new); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer float_tstzspan_to_tbox(double d, Pointer s) { + var _result = _meos_a.float_tstzspan_to_tbox(d, s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer int_timestamptz_to_tbox(int i, OffsetDateTime t) { + var t_new = t.toEpochSecond(); + var _result = _meos_a.int_timestamptz_to_tbox(i, t_new); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer int_tstzspan_to_tbox(int i, Pointer s) { + var _result = _meos_a.int_tstzspan_to_tbox(i, s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer numspan_tstzspan_to_tbox(Pointer span, Pointer s) { + var _result = _meos_a.numspan_tstzspan_to_tbox(span, s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer numspan_timestamptz_to_tbox(Pointer span, OffsetDateTime t) { + var t_new = t.toEpochSecond(); + var _result = _meos_a.numspan_timestamptz_to_tbox(span, t_new); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer tbox_copy(Pointer box) { + var _result = _meos_a.tbox_copy(box); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer tbox_make(Pointer s, Pointer p) { + var _result = _meos_a.tbox_make(s, p); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer float_to_tbox(double d) { + var _result = _meos_a.float_to_tbox(d); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer int_to_tbox(int i) { + var _result = _meos_a.int_to_tbox(i); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer set_to_tbox(Pointer s) { + var _result = _meos_a.set_to_tbox(s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer span_to_tbox(Pointer s) { + var _result = _meos_a.span_to_tbox(s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer spanset_to_tbox(Pointer ss) { + var _result = _meos_a.spanset_to_tbox(ss); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer tbox_to_bigintspan(Pointer box) { + var _result = _meos_a.tbox_to_bigintspan(box); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer tbox_to_intspan(Pointer box) { + var _result = _meos_a.tbox_to_intspan(box); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer tbox_to_floatspan(Pointer box) { + var _result = _meos_a.tbox_to_floatspan(box); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer tbox_to_tstzspan(Pointer box) { + var _result = _meos_a.tbox_to_tstzspan(box); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer timestamptz_to_tbox(OffsetDateTime t) { + var t_new = t.toEpochSecond(); + var _result = _meos_a.timestamptz_to_tbox(t_new); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int tbox_hash(Pointer box) { + var _result = _meos_a.tbox_hash(box); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static long tbox_hash_extended(Pointer box, long seed) { + var _result = _meos_a.tbox_hash_extended(box, seed); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean tbox_hast(Pointer box) { + var _result = _meos_a.tbox_hast(box); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean tbox_hasx(Pointer box) { + var _result = _meos_a.tbox_hasx(box); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer tbox_tmax(Pointer box) { + boolean out; + Runtime runtime = Runtime.getSystemRuntime(); + Pointer result = Memory.allocateDirect(runtime, Long.BYTES); + out = _meos_b.tbox_tmax(box, result); + MeosErrorHandler.checkError(); + return out ? result : null; + } + + @SuppressWarnings("unused") + public static Pointer tbox_tmax_inc(Pointer box) { + boolean out; + Runtime runtime = Runtime.getSystemRuntime(); + Pointer result = Memory.allocateDirect(runtime, Byte.BYTES); + out = _meos_b.tbox_tmax_inc(box, result); + MeosErrorHandler.checkError(); + return out ? result : null; + } + + @SuppressWarnings("unused") + public static Pointer tbox_tmin(Pointer box) { + boolean out; + Runtime runtime = Runtime.getSystemRuntime(); + Pointer result = Memory.allocateDirect(runtime, Long.BYTES); + out = _meos_b.tbox_tmin(box, result); + MeosErrorHandler.checkError(); + return out ? result : null; + } + + @SuppressWarnings("unused") + public static Pointer tbox_tmin_inc(Pointer box) { + boolean out; + Runtime runtime = Runtime.getSystemRuntime(); + Pointer result = Memory.allocateDirect(runtime, Byte.BYTES); + out = _meos_b.tbox_tmin_inc(box, result); + MeosErrorHandler.checkError(); + return out ? result : null; + } + + @SuppressWarnings("unused") + public static Pointer tbox_xmax(Pointer box) { + boolean out; + Runtime runtime = Runtime.getSystemRuntime(); + Pointer result = Memory.allocateDirect(runtime, Double.BYTES); + out = _meos_b.tbox_xmax(box, result); + MeosErrorHandler.checkError(); + return out ? result : null; + } + + @SuppressWarnings("unused") + public static Pointer tbox_xmax_inc(Pointer box) { + boolean out; + Runtime runtime = Runtime.getSystemRuntime(); + Pointer result = Memory.allocateDirect(runtime, Byte.BYTES); + out = _meos_b.tbox_xmax_inc(box, result); + MeosErrorHandler.checkError(); + return out ? result : null; + } + + @SuppressWarnings("unused") + public static Pointer tbox_xmin(Pointer box) { + boolean out; + Runtime runtime = Runtime.getSystemRuntime(); + Pointer result = Memory.allocateDirect(runtime, Double.BYTES); + out = _meos_b.tbox_xmin(box, result); + MeosErrorHandler.checkError(); + return out ? result : null; + } + + @SuppressWarnings("unused") + public static Pointer tbox_xmin_inc(Pointer box) { + boolean out; + Runtime runtime = Runtime.getSystemRuntime(); + Pointer result = Memory.allocateDirect(runtime, Byte.BYTES); + out = _meos_b.tbox_xmin_inc(box, result); + MeosErrorHandler.checkError(); + return out ? result : null; + } + + @SuppressWarnings("unused") + public static Pointer tboxfloat_xmax(Pointer box) { + boolean out; + Runtime runtime = Runtime.getSystemRuntime(); + Pointer result = Memory.allocateDirect(runtime, Double.BYTES); + out = _meos_b.tboxfloat_xmax(box, result); + MeosErrorHandler.checkError(); + return out ? result : null; + } + + @SuppressWarnings("unused") + public static Pointer tboxfloat_xmin(Pointer box) { + boolean out; + Runtime runtime = Runtime.getSystemRuntime(); + Pointer result = Memory.allocateDirect(runtime, Double.BYTES); + out = _meos_b.tboxfloat_xmin(box, result); + MeosErrorHandler.checkError(); + return out ? result : null; + } + + @SuppressWarnings("unused") + public static Pointer tboxint_xmax(Pointer box) { + boolean out; + Runtime runtime = Runtime.getSystemRuntime(); + Pointer result = Memory.allocateDirect(runtime, Integer.BYTES); + out = _meos_b.tboxint_xmax(box, result); + MeosErrorHandler.checkError(); + return out ? result : null; + } + + @SuppressWarnings("unused") + public static Pointer tboxint_xmin(Pointer box) { + boolean out; + Runtime runtime = Runtime.getSystemRuntime(); + Pointer result = Memory.allocateDirect(runtime, Integer.BYTES); + out = _meos_b.tboxint_xmin(box, result); + MeosErrorHandler.checkError(); + return out ? result : null; + } + + @SuppressWarnings("unused") + public static Pointer tbigintbox_expand(Pointer box, long i) { + var _result = _meos_b.tbigintbox_expand(box, i); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer tbigintbox_shift_scale(Pointer box, long shift, long width, boolean hasshift, boolean haswidth) { + var _result = _meos_b.tbigintbox_shift_scale(box, shift, width, hasshift, haswidth); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer tbox_expand_time(Pointer box, Pointer interv) { + var _result = _meos_b.tbox_expand_time(box, interv); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer tbox_round(Pointer box, int maxdd) { + var _result = _meos_b.tbox_round(box, maxdd); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer tbox_shift_scale_time(Pointer box, Pointer shift, Pointer duration) { + var _result = _meos_b.tbox_shift_scale_time(box, shift, duration); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer tfloatbox_expand(Pointer box, double d) { + var _result = _meos_b.tfloatbox_expand(box, d); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer tfloatbox_shift_scale(Pointer box, double shift, double width, boolean hasshift, boolean haswidth) { + var _result = _meos_b.tfloatbox_shift_scale(box, shift, width, hasshift, haswidth); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer tintbox_expand(Pointer box, int i) { + var _result = _meos_b.tintbox_expand(box, i); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer tintbox_shift_scale(Pointer box, int shift, int width, boolean hasshift, boolean haswidth) { + var _result = _meos_b.tintbox_shift_scale(box, shift, width, hasshift, haswidth); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer union_tbox_tbox(Pointer box1, Pointer box2, boolean strict) { + var _result = _meos_b.union_tbox_tbox(box1, box2, strict); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer intersection_tbox_tbox(Pointer box1, Pointer box2) { + var _result = _meos_b.intersection_tbox_tbox(box1, box2); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean adjacent_tbox_tbox(Pointer box1, Pointer box2) { + var _result = _meos_b.adjacent_tbox_tbox(box1, box2); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean contained_tbox_tbox(Pointer box1, Pointer box2) { + var _result = _meos_b.contained_tbox_tbox(box1, box2); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean contains_tbox_tbox(Pointer box1, Pointer box2) { + var _result = _meos_b.contains_tbox_tbox(box1, box2); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean overlaps_tbox_tbox(Pointer box1, Pointer box2) { + var _result = _meos_b.overlaps_tbox_tbox(box1, box2); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean same_tbox_tbox(Pointer box1, Pointer box2) { + var _result = _meos_b.same_tbox_tbox(box1, box2); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean after_tbox_tbox(Pointer box1, Pointer box2) { + var _result = _meos_b.after_tbox_tbox(box1, box2); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean before_tbox_tbox(Pointer box1, Pointer box2) { + var _result = _meos_b.before_tbox_tbox(box1, box2); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean left_tbox_tbox(Pointer box1, Pointer box2) { + var _result = _meos_b.left_tbox_tbox(box1, box2); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean overafter_tbox_tbox(Pointer box1, Pointer box2) { + var _result = _meos_b.overafter_tbox_tbox(box1, box2); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean overbefore_tbox_tbox(Pointer box1, Pointer box2) { + var _result = _meos_b.overbefore_tbox_tbox(box1, box2); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean overleft_tbox_tbox(Pointer box1, Pointer box2) { + var _result = _meos_b.overleft_tbox_tbox(box1, box2); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean overright_tbox_tbox(Pointer box1, Pointer box2) { + var _result = _meos_b.overright_tbox_tbox(box1, box2); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean right_tbox_tbox(Pointer box1, Pointer box2) { + var _result = _meos_b.right_tbox_tbox(box1, box2); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int tbox_cmp(Pointer box1, Pointer box2) { + var _result = _meos_b.tbox_cmp(box1, box2); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean tbox_eq(Pointer box1, Pointer box2) { + var _result = _meos_b.tbox_eq(box1, box2); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean tbox_ge(Pointer box1, Pointer box2) { + var _result = _meos_b.tbox_ge(box1, box2); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean tbox_gt(Pointer box1, Pointer box2) { + var _result = _meos_b.tbox_gt(box1, box2); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean tbox_le(Pointer box1, Pointer box2) { + var _result = _meos_b.tbox_le(box1, box2); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean tbox_lt(Pointer box1, Pointer box2) { + var _result = _meos_b.tbox_lt(box1, box2); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean tbox_ne(Pointer box1, Pointer box2) { + var _result = _meos_b.tbox_ne(box1, box2); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer tbigint_from_mfjson(String str) { + var _result = _meos_b.tbigint_from_mfjson(str); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer tbigint_in(String str) { + var _result = _meos_b.tbigint_in(str); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static String tbigint_out(Pointer temp) { + var _result = _meos_b.tbigint_out(temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer tbool_from_mfjson(String str) { + var _result = _meos_b.tbool_from_mfjson(str); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer tbool_in(String str) { + var _result = _meos_b.tbool_in(str); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static String tbool_out(Pointer temp) { + var _result = _meos_b.tbool_out(temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static String temporal_as_hexwkb(Pointer temp, byte variant) { + Runtime runtime = Runtime.getSystemRuntime(); + Pointer size_out = Memory.allocateDirect(runtime, Long.BYTES); + var _result = _meos_b.temporal_as_hexwkb(temp, variant, size_out); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static String temporal_as_mfjson(Pointer temp, boolean with_bbox, int flags, int precision, String srs) { + var _result = _meos_b.temporal_as_mfjson(temp, with_bbox, flags, precision, srs); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer temporal_as_wkb(Pointer temp, byte variant) { + Runtime runtime = Runtime.getSystemRuntime(); + Pointer size_out = Memory.allocateDirect(runtime, Long.BYTES); + var _result = _meos_b.temporal_as_wkb(temp, variant, size_out); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer temporal_from_hexwkb(String hexwkb) { + var _result = _meos_b.temporal_from_hexwkb(hexwkb); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer temporal_from_wkb(Pointer wkb, long size) { + var _result = _meos_b.temporal_from_wkb(wkb, size); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer tfloat_from_mfjson(String str) { + var _result = _meos_b.tfloat_from_mfjson(str); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer tfloat_in(String str) { + var _result = _meos_b.tfloat_in(str); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static String tfloat_out(Pointer temp, int maxdd) { + var _result = _meos_b.tfloat_out(temp, maxdd); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer tint_from_mfjson(String str) { + var _result = _meos_b.tint_from_mfjson(str); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer tint_in(String str) { + var _result = _meos_b.tint_in(str); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static String tint_out(Pointer temp) { + var _result = _meos_b.tint_out(temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer ttext_from_mfjson(String str) { + var _result = _meos_b.ttext_from_mfjson(str); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer ttext_in(String str) { + var _result = _meos_b.ttext_in(str); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static String ttext_out(Pointer temp) { + var _result = _meos_b.ttext_out(temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer tbigint_from_base_temp(long i, Pointer temp) { + var _result = _meos_b.tbigint_from_base_temp(i, temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer tbigintinst_make(long i, OffsetDateTime t) { + var t_new = t.toEpochSecond(); + var _result = _meos_b.tbigintinst_make(i, t_new); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer tbigintseq_from_base_tstzset(long i, Pointer s) { + var _result = _meos_b.tbigintseq_from_base_tstzset(i, s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer tbigintseq_from_base_tstzspan(long i, Pointer s) { + var _result = _meos_b.tbigintseq_from_base_tstzspan(i, s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer tbigintseqset_from_base_tstzspanset(long i, Pointer ss) { + var _result = _meos_b.tbigintseqset_from_base_tstzspanset(i, ss); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer tbool_from_base_temp(boolean b, Pointer temp) { + var _result = _meos_b.tbool_from_base_temp(b, temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer tboolinst_make(boolean b, OffsetDateTime t) { + var t_new = t.toEpochSecond(); + var _result = _meos_b.tboolinst_make(b, t_new); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer tboolseq_from_base_tstzset(boolean b, Pointer s) { + var _result = _meos_b.tboolseq_from_base_tstzset(b, s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer tboolseq_from_base_tstzspan(boolean b, Pointer s) { + var _result = _meos_b.tboolseq_from_base_tstzspan(b, s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer tboolseqset_from_base_tstzspanset(boolean b, Pointer ss) { + var _result = _meos_b.tboolseqset_from_base_tstzspanset(b, ss); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer temporal_copy(Pointer temp) { + var _result = _meos_b.temporal_copy(temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer tfloat_from_base_temp(double d, Pointer temp) { + var _result = _meos_b.tfloat_from_base_temp(d, temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer tfloatinst_make(double d, OffsetDateTime t) { + var t_new = t.toEpochSecond(); + var _result = _meos_b.tfloatinst_make(d, t_new); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer tfloatseq_from_base_tstzset(double d, Pointer s) { + var _result = _meos_b.tfloatseq_from_base_tstzset(d, s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer tfloatseq_from_base_tstzspan(double d, Pointer s, int interp) { + var _result = _meos_b.tfloatseq_from_base_tstzspan(d, s, interp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer tfloatseqset_from_base_tstzspanset(double d, Pointer ss, int interp) { + var _result = _meos_b.tfloatseqset_from_base_tstzspanset(d, ss, interp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer tint_from_base_temp(int i, Pointer temp) { + var _result = _meos_b.tint_from_base_temp(i, temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer tintinst_make(int i, OffsetDateTime t) { + var t_new = t.toEpochSecond(); + var _result = _meos_b.tintinst_make(i, t_new); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer tintseq_from_base_tstzset(int i, Pointer s) { + var _result = _meos_b.tintseq_from_base_tstzset(i, s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer tintseq_from_base_tstzspan(int i, Pointer s) { + var _result = _meos_b.tintseq_from_base_tstzspan(i, s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer tintseqset_from_base_tstzspanset(int i, Pointer ss) { + var _result = _meos_b.tintseqset_from_base_tstzspanset(i, ss); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer tsequence_make(Pointer instants, int count, boolean lower_inc, boolean upper_inc, int interp, boolean normalize) { + var _result = _meos_b.tsequence_make(instants, count, lower_inc, upper_inc, interp, normalize); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer tsequenceset_make(Pointer sequences, int count, boolean normalize) { + var _result = _meos_b.tsequenceset_make(sequences, count, normalize); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer tsequenceset_make_gaps(Pointer instants, int count, int interp, Pointer maxt, double maxdist) { + var _result = _meos_b.tsequenceset_make_gaps(instants, count, interp, maxt, maxdist); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer ttext_from_base_temp(Pointer txt, Pointer temp) { + var _result = _meos_b.ttext_from_base_temp(txt, temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer ttextinst_make(Pointer txt, OffsetDateTime t) { + var t_new = t.toEpochSecond(); + var _result = _meos_b.ttextinst_make(txt, t_new); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer ttextseq_from_base_tstzset(Pointer txt, Pointer s) { + var _result = _meos_b.ttextseq_from_base_tstzset(txt, s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer ttextseq_from_base_tstzspan(Pointer txt, Pointer s) { + var _result = _meos_b.ttextseq_from_base_tstzspan(txt, s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer ttextseqset_from_base_tstzspanset(Pointer txt, Pointer ss) { + var _result = _meos_b.ttextseqset_from_base_tstzspanset(txt, ss); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer tbigint_to_tfloat(Pointer temp) { + var _result = _meos_b.tbigint_to_tfloat(temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer tbigint_to_tint(Pointer temp) { + var _result = _meos_b.tbigint_to_tint(temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer tbool_to_tint(Pointer temp) { + var _result = _meos_b.tbool_to_tint(temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer temporal_to_tstzspan(Pointer temp) { + var _result = _meos_b.temporal_to_tstzspan(temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer tfloat_to_tbigint(Pointer temp) { + var _result = _meos_b.tfloat_to_tbigint(temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer tfloat_to_tint(Pointer temp) { + var _result = _meos_b.tfloat_to_tint(temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer tint_to_tbigint(Pointer temp) { + var _result = _meos_b.tint_to_tbigint(temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer tint_to_tfloat(Pointer temp) { + var _result = _meos_b.tint_to_tfloat(temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer tnumber_to_span(Pointer temp) { + var _result = _meos_b.tnumber_to_span(temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer tnumber_to_tbox(Pointer temp) { + var _result = _meos_b.tnumber_to_tbox(temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static long tbigint_end_value(Pointer temp) { + var _result = _meos_b.tbigint_end_value(temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static long tbigint_max_value(Pointer temp) { + var _result = _meos_b.tbigint_max_value(temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static long tbigint_min_value(Pointer temp) { + var _result = _meos_b.tbigint_min_value(temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static long tbigint_start_value(Pointer temp) { + var _result = _meos_b.tbigint_start_value(temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean tbigint_value_at_timestamptz(Pointer temp, OffsetDateTime t, boolean strict, Pointer value) { + var t_new = t.toEpochSecond(); + var _result = _meos_b.tbigint_value_at_timestamptz(temp, t_new, strict, value); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer tbigint_value_n(Pointer temp, long n) { + boolean out; + Runtime runtime = Runtime.getSystemRuntime(); + Pointer result = Memory.allocateDirect(runtime, Long.BYTES); + out = _meos_b.tbigint_value_n(temp, n, result); + MeosErrorHandler.checkError(); + return out ? result : null; + } + + @SuppressWarnings("unused") + public static Pointer tbigint_values(Pointer temp, Pointer count) { + var _result = _meos_b.tbigint_values(temp, count); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean tbool_end_value(Pointer temp) { + var _result = _meos_b.tbool_end_value(temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean tbool_start_value(Pointer temp) { + var _result = _meos_b.tbool_start_value(temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean tbool_value_at_timestamptz(Pointer temp, OffsetDateTime t, boolean strict, Pointer value) { + var t_new = t.toEpochSecond(); + var _result = _meos_b.tbool_value_at_timestamptz(temp, t_new, strict, value); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer tbool_value_n(Pointer temp, int n) { + boolean out; + Runtime runtime = Runtime.getSystemRuntime(); + Pointer result = Memory.allocateDirect(runtime, Byte.BYTES); + out = _meos_b.tbool_value_n(temp, n, result); + MeosErrorHandler.checkError(); + return out ? result : null; + } + + @SuppressWarnings("unused") + public static Pointer tbool_values(Pointer temp, Pointer count) { + var _result = _meos_b.tbool_values(temp, count); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer temporal_duration(Pointer temp, boolean boundspan) { + var _result = _meos_b.temporal_duration(temp, boundspan); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer temporal_end_instant(Pointer temp) { + var _result = _meos_b.temporal_end_instant(temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer temporal_end_sequence(Pointer temp) { + var _result = _meos_b.temporal_end_sequence(temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static OffsetDateTime temporal_end_timestamptz(Pointer temp) { + var _result = _meos_b.temporal_end_timestamptz(temp); + MeosErrorHandler.checkError(); + return java.time.Instant.ofEpochSecond(_result).atOffset(java.time.ZoneOffset.UTC); + } + + @SuppressWarnings("unused") + public static int temporal_hash(Pointer temp) { + var _result = _meos_b.temporal_hash(temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer temporal_instant_n(Pointer temp, int n) { + var _result = _meos_b.temporal_instant_n(temp, n); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer temporal_instants(Pointer temp, Pointer count) { + var _result = _meos_b.temporal_instants(temp, count); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static String temporal_interp(Pointer temp) { + var _result = _meos_b.temporal_interp(temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean temporal_lower_inc(Pointer temp) { + var _result = _meos_b.temporal_lower_inc(temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer temporal_max_instant(Pointer temp) { + var _result = _meos_b.temporal_max_instant(temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer temporal_min_instant(Pointer temp) { + var _result = _meos_b.temporal_min_instant(temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int temporal_num_instants(Pointer temp) { + var _result = _meos_b.temporal_num_instants(temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int temporal_num_sequences(Pointer temp) { + var _result = _meos_b.temporal_num_sequences(temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int temporal_num_timestamps(Pointer temp) { + var _result = _meos_b.temporal_num_timestamps(temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer temporal_segm_duration(Pointer temp, Pointer duration, boolean atleast, boolean strict) { + var _result = _meos_b.temporal_segm_duration(temp, duration, atleast, strict); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer temporal_segments(Pointer temp, Pointer count) { + var _result = _meos_b.temporal_segments(temp, count); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer temporal_sequence_n(Pointer temp, int i) { + var _result = _meos_b.temporal_sequence_n(temp, i); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer temporal_sequences(Pointer temp, Pointer count) { + var _result = _meos_b.temporal_sequences(temp, count); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer temporal_start_instant(Pointer temp) { + var _result = _meos_b.temporal_start_instant(temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer temporal_start_sequence(Pointer temp) { + var _result = _meos_b.temporal_start_sequence(temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static OffsetDateTime temporal_start_timestamptz(Pointer temp) { + var _result = _meos_b.temporal_start_timestamptz(temp); + MeosErrorHandler.checkError(); + return java.time.Instant.ofEpochSecond(_result).atOffset(java.time.ZoneOffset.UTC); + } + + @SuppressWarnings("unused") + public static Pointer temporal_stops(Pointer temp, double maxdist, Pointer minduration) { + var _result = _meos_b.temporal_stops(temp, maxdist, minduration); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static String temporal_subtype(Pointer temp) { + var _result = _meos_b.temporal_subtype(temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer temporal_time(Pointer temp) { + var _result = _meos_b.temporal_time(temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer temporal_timestamps(Pointer temp, Pointer count) { + var _result = _meos_b.temporal_timestamps(temp, count); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer temporal_timestamptz_n(Pointer temp, int n) { + boolean out; + Runtime runtime = Runtime.getSystemRuntime(); + Pointer result = Memory.allocateDirect(runtime, Long.BYTES); + out = _meos_b.temporal_timestamptz_n(temp, n, result); + MeosErrorHandler.checkError(); + return out ? result : null; + } + + @SuppressWarnings("unused") + public static boolean temporal_upper_inc(Pointer temp) { + var _result = _meos_b.temporal_upper_inc(temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static double tfloat_avg_value(Pointer temp) { + var _result = _meos_b.tfloat_avg_value(temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static double tfloat_end_value(Pointer temp) { + var _result = _meos_b.tfloat_end_value(temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static double tfloat_min_value(Pointer temp) { + var _result = _meos_b.tfloat_min_value(temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static double tfloat_max_value(Pointer temp) { + var _result = _meos_b.tfloat_max_value(temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static double tfloat_start_value(Pointer temp) { + var _result = _meos_b.tfloat_start_value(temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean tfloat_value_at_timestamptz(Pointer temp, OffsetDateTime t, boolean strict, Pointer value) { + var t_new = t.toEpochSecond(); + var _result = _meos_b.tfloat_value_at_timestamptz(temp, t_new, strict, value); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer tfloat_value_n(Pointer temp, int n) { + boolean out; + Runtime runtime = Runtime.getSystemRuntime(); + Pointer result = Memory.allocateDirect(runtime, Double.BYTES); + out = _meos_b.tfloat_value_n(temp, n, result); + MeosErrorHandler.checkError(); + return out ? result : null; + } + + @SuppressWarnings("unused") + public static Pointer tfloat_values(Pointer temp, Pointer count) { + var _result = _meos_b.tfloat_values(temp, count); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int tint_end_value(Pointer temp) { + var _result = _meos_b.tint_end_value(temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int tint_max_value(Pointer temp) { + var _result = _meos_b.tint_max_value(temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int tint_min_value(Pointer temp) { + var _result = _meos_b.tint_min_value(temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int tint_start_value(Pointer temp) { + var _result = _meos_b.tint_start_value(temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean tint_value_at_timestamptz(Pointer temp, OffsetDateTime t, boolean strict, Pointer value) { + var t_new = t.toEpochSecond(); + var _result = _meos_b.tint_value_at_timestamptz(temp, t_new, strict, value); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer tint_value_n(Pointer temp, int n) { + boolean out; + Runtime runtime = Runtime.getSystemRuntime(); + Pointer result = Memory.allocateDirect(runtime, Integer.BYTES); + out = _meos_b.tint_value_n(temp, n, result); + MeosErrorHandler.checkError(); + return out ? result : null; + } + + @SuppressWarnings("unused") + public static Pointer tint_values(Pointer temp, Pointer count) { + var _result = _meos_b.tint_values(temp, count); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static double tnumber_avg_value(Pointer temp) { + var _result = _meos_b.tnumber_avg_value(temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static double tnumber_integral(Pointer temp) { + var _result = _meos_b.tnumber_integral(temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static double tnumber_twavg(Pointer temp) { + var _result = _meos_b.tnumber_twavg(temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer tnumber_valuespans(Pointer temp) { + var _result = _meos_b.tnumber_valuespans(temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer ttext_end_value(Pointer temp) { + var _result = _meos_b.ttext_end_value(temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer ttext_max_value(Pointer temp) { + var _result = _meos_b.ttext_max_value(temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer ttext_min_value(Pointer temp) { + var _result = _meos_b.ttext_min_value(temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer ttext_start_value(Pointer temp) { + var _result = _meos_b.ttext_start_value(temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean ttext_value_at_timestamptz(Pointer temp, OffsetDateTime t, boolean strict, Pointer value) { + var t_new = t.toEpochSecond(); + var _result = _meos_b.ttext_value_at_timestamptz(temp, t_new, strict, value); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer ttext_value_n(Pointer temp, int n) { + boolean out; + Runtime runtime = Runtime.getSystemRuntime(); + Pointer result = Memory.allocateDirect(runtime, Long.BYTES); + out = _meos_b.ttext_value_n(temp, n, result); + Pointer new_result = result.getPointer(0); + MeosErrorHandler.checkError(); + return out ? new_result : null; + } + + @SuppressWarnings("unused") + public static Pointer ttext_values(Pointer temp, Pointer count) { + var _result = _meos_b.ttext_values(temp, count); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static double float_degrees(double value, boolean normalize) { + var _result = _meos_b.float_degrees(value, normalize); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer tbigint_scale_value(Pointer temp, long width) { + var _result = _meos_b.tbigint_scale_value(temp, width); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer tbigint_shift_scale_value(Pointer temp, long shift, long width) { + var _result = _meos_b.tbigint_shift_scale_value(temp, shift, width); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer tbigint_shift_value(Pointer temp, long shift) { + var _result = _meos_b.tbigint_shift_value(temp, shift); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer temparr_round(Pointer temp, int count, int maxdd) { + var _result = _meos_b.temparr_round(temp, count, maxdd); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer temporal_round(Pointer temp, int maxdd) { + var _result = _meos_b.temporal_round(temp, maxdd); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer temporal_scale_time(Pointer temp, Pointer duration) { + var _result = _meos_b.temporal_scale_time(temp, duration); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer temporal_set_interp(Pointer temp, int interp) { + var _result = _meos_b.temporal_set_interp(temp, interp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer temporal_shift_scale_time(Pointer temp, Pointer shift, Pointer duration) { + var _result = _meos_b.temporal_shift_scale_time(temp, shift, duration); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer temporal_shift_time(Pointer temp, Pointer shift) { + var _result = _meos_b.temporal_shift_time(temp, shift); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer temporal_to_tinstant(Pointer temp) { + var _result = _meos_b.temporal_to_tinstant(temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer temporal_to_tsequence(Pointer temp, int interp) { + var _result = _meos_b.temporal_to_tsequence(temp, interp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer temporal_to_tsequenceset(Pointer temp, int interp) { + var _result = _meos_b.temporal_to_tsequenceset(temp, interp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer tfloat_ceil(Pointer temp) { + var _result = _meos_b.tfloat_ceil(temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer tfloat_degrees(Pointer temp, boolean normalize) { + var _result = _meos_b.tfloat_degrees(temp, normalize); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer tfloat_floor(Pointer temp) { + var _result = _meos_b.tfloat_floor(temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer tfloat_radians(Pointer temp) { + var _result = _meos_b.tfloat_radians(temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer tfloat_scale_value(Pointer temp, double width) { + var _result = _meos_b.tfloat_scale_value(temp, width); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer tfloat_shift_scale_value(Pointer temp, double shift, double width) { + var _result = _meos_b.tfloat_shift_scale_value(temp, shift, width); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer tfloat_shift_value(Pointer temp, double shift) { + var _result = _meos_b.tfloat_shift_value(temp, shift); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer tint_scale_value(Pointer temp, int width) { + var _result = _meos_b.tint_scale_value(temp, width); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer tint_shift_scale_value(Pointer temp, int shift, int width) { + var _result = _meos_b.tint_shift_scale_value(temp, shift, width); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer tint_shift_value(Pointer temp, int shift) { + var _result = _meos_b.tint_shift_value(temp, shift); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer temporal_append_tinstant(Pointer temp, Pointer inst, int interp, double maxdist, Pointer maxt, boolean expand) { + var _result = _meos_b.temporal_append_tinstant(temp, inst, interp, maxdist, maxt, expand); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer temporal_append_tsequence(Pointer temp, Pointer seq, boolean expand) { + var _result = _meos_b.temporal_append_tsequence(temp, seq, expand); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer temporal_delete_timestamptz(Pointer temp, OffsetDateTime t, boolean connect) { + var t_new = t.toEpochSecond(); + var _result = _meos_b.temporal_delete_timestamptz(temp, t_new, connect); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer temporal_delete_tstzset(Pointer temp, Pointer s, boolean connect) { + var _result = _meos_b.temporal_delete_tstzset(temp, s, connect); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer temporal_delete_tstzspan(Pointer temp, Pointer s, boolean connect) { + var _result = _meos_b.temporal_delete_tstzspan(temp, s, connect); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer temporal_delete_tstzspanset(Pointer temp, Pointer ss, boolean connect) { + var _result = _meos_b.temporal_delete_tstzspanset(temp, ss, connect); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer temporal_insert(Pointer temp1, Pointer temp2, boolean connect) { + var _result = _meos_b.temporal_insert(temp1, temp2, connect); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer temporal_merge(Pointer temp1, Pointer temp2) { + var _result = _meos_b.temporal_merge(temp1, temp2); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer temporal_merge_array(Pointer temparr, int count) { + var _result = _meos_b.temporal_merge_array(temparr, count); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer temporal_update(Pointer temp1, Pointer temp2, boolean connect) { + var _result = _meos_b.temporal_update(temp1, temp2, connect); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer tbigint_at_value(Pointer temp, long i) { + var _result = _meos_b.tbigint_at_value(temp, i); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer tbigint_minus_value(Pointer temp, long i) { + var _result = _meos_b.tbigint_minus_value(temp, i); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer tbool_at_value(Pointer temp, boolean b) { + var _result = _meos_b.tbool_at_value(temp, b); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer tbool_minus_value(Pointer temp, boolean b) { + var _result = _meos_b.tbool_minus_value(temp, b); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer temporal_after_timestamptz(Pointer temp, OffsetDateTime t, boolean strict) { + var t_new = t.toEpochSecond(); + var _result = _meos_b.temporal_after_timestamptz(temp, t_new, strict); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer temporal_at_max(Pointer temp) { + var _result = _meos_b.temporal_at_max(temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer temporal_at_min(Pointer temp) { + var _result = _meos_b.temporal_at_min(temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer temporal_at_timestamptz(Pointer temp, OffsetDateTime t) { + var t_new = t.toEpochSecond(); + var _result = _meos_b.temporal_at_timestamptz(temp, t_new); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer temporal_at_tstzset(Pointer temp, Pointer s) { + var _result = _meos_b.temporal_at_tstzset(temp, s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer temporal_at_tstzspan(Pointer temp, Pointer s) { + var _result = _meos_b.temporal_at_tstzspan(temp, s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer temporal_at_tstzspanset(Pointer temp, Pointer ss) { + var _result = _meos_b.temporal_at_tstzspanset(temp, ss); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer temporal_at_values(Pointer temp, Pointer set) { + var _result = _meos_b.temporal_at_values(temp, set); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer temporal_before_timestamptz(Pointer temp, OffsetDateTime t, boolean strict) { + var t_new = t.toEpochSecond(); + var _result = _meos_b.temporal_before_timestamptz(temp, t_new, strict); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer temporal_minus_max(Pointer temp) { + var _result = _meos_b.temporal_minus_max(temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer temporal_minus_min(Pointer temp) { + var _result = _meos_b.temporal_minus_min(temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer temporal_minus_timestamptz(Pointer temp, OffsetDateTime t) { + var t_new = t.toEpochSecond(); + var _result = _meos_b.temporal_minus_timestamptz(temp, t_new); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer temporal_minus_tstzset(Pointer temp, Pointer s) { + var _result = _meos_b.temporal_minus_tstzset(temp, s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer temporal_minus_tstzspan(Pointer temp, Pointer s) { + var _result = _meos_b.temporal_minus_tstzspan(temp, s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer temporal_minus_tstzspanset(Pointer temp, Pointer ss) { + var _result = _meos_b.temporal_minus_tstzspanset(temp, ss); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer temporal_minus_values(Pointer temp, Pointer set) { + var _result = _meos_b.temporal_minus_values(temp, set); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer tfloat_at_value(Pointer temp, double d) { + var _result = _meos_b.tfloat_at_value(temp, d); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer tfloat_minus_value(Pointer temp, double d) { + var _result = _meos_b.tfloat_minus_value(temp, d); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer tint_at_value(Pointer temp, int i) { + var _result = _meos_b.tint_at_value(temp, i); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer tint_minus_value(Pointer temp, int i) { + var _result = _meos_b.tint_minus_value(temp, i); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer tnumber_at_span(Pointer temp, Pointer span) { + var _result = _meos_b.tnumber_at_span(temp, span); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer tnumber_at_spanset(Pointer temp, Pointer ss) { + var _result = _meos_b.tnumber_at_spanset(temp, ss); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer tnumber_at_tbox(Pointer temp, Pointer box) { + var _result = _meos_b.tnumber_at_tbox(temp, box); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer tnumber_minus_span(Pointer temp, Pointer span) { + var _result = _meos_b.tnumber_minus_span(temp, span); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer tnumber_minus_spanset(Pointer temp, Pointer ss) { + var _result = _meos_b.tnumber_minus_spanset(temp, ss); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer tnumber_minus_tbox(Pointer temp, Pointer box) { + var _result = _meos_b.tnumber_minus_tbox(temp, box); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer ttext_at_value(Pointer temp, Pointer txt) { + var _result = _meos_b.ttext_at_value(temp, txt); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer ttext_minus_value(Pointer temp, Pointer txt) { + var _result = _meos_b.ttext_minus_value(temp, txt); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int temporal_cmp(Pointer temp1, Pointer temp2) { + var _result = _meos_b.temporal_cmp(temp1, temp2); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean temporal_eq(Pointer temp1, Pointer temp2) { + var _result = _meos_b.temporal_eq(temp1, temp2); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean temporal_ge(Pointer temp1, Pointer temp2) { + var _result = _meos_b.temporal_ge(temp1, temp2); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean temporal_gt(Pointer temp1, Pointer temp2) { + var _result = _meos_b.temporal_gt(temp1, temp2); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean temporal_le(Pointer temp1, Pointer temp2) { + var _result = _meos_b.temporal_le(temp1, temp2); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean temporal_lt(Pointer temp1, Pointer temp2) { + var _result = _meos_b.temporal_lt(temp1, temp2); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean temporal_ne(Pointer temp1, Pointer temp2) { + var _result = _meos_b.temporal_ne(temp1, temp2); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int always_eq_bigint_tbigint(long i, Pointer temp) { + var _result = _meos_b.always_eq_bigint_tbigint(i, temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int always_eq_bool_tbool(boolean b, Pointer temp) { + var _result = _meos_b.always_eq_bool_tbool(b, temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int always_eq_float_tfloat(double d, Pointer temp) { + var _result = _meos_b.always_eq_float_tfloat(d, temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int always_eq_int_tint(int i, Pointer temp) { + var _result = _meos_b.always_eq_int_tint(i, temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int always_eq_tbool_bool(Pointer temp, boolean b) { + var _result = _meos_b.always_eq_tbool_bool(temp, b); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int always_eq_temporal_temporal(Pointer temp1, Pointer temp2) { + var _result = _meos_b.always_eq_temporal_temporal(temp1, temp2); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int always_eq_text_ttext(Pointer txt, Pointer temp) { + var _result = _meos_b.always_eq_text_ttext(txt, temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int always_eq_tbigint_bigint(Pointer temp, long i) { + var _result = _meos_b.always_eq_tbigint_bigint(temp, i); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int always_eq_tfloat_float(Pointer temp, double d) { + var _result = _meos_b.always_eq_tfloat_float(temp, d); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int always_eq_tint_int(Pointer temp, int i) { + var _result = _meos_b.always_eq_tint_int(temp, i); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int always_eq_ttext_text(Pointer temp, Pointer txt) { + var _result = _meos_b.always_eq_ttext_text(temp, txt); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int always_ge_bigint_tbigint(long i, Pointer temp) { + var _result = _meos_b.always_ge_bigint_tbigint(i, temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int always_ge_float_tfloat(double d, Pointer temp) { + var _result = _meos_b.always_ge_float_tfloat(d, temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int always_ge_int_tint(int i, Pointer temp) { + var _result = _meos_b.always_ge_int_tint(i, temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int always_ge_tbigint_bigint(Pointer temp, long i) { + var _result = _meos_b.always_ge_tbigint_bigint(temp, i); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int always_ge_temporal_temporal(Pointer temp1, Pointer temp2) { + var _result = _meos_b.always_ge_temporal_temporal(temp1, temp2); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int always_ge_text_ttext(Pointer txt, Pointer temp) { + var _result = _meos_b.always_ge_text_ttext(txt, temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int always_ge_tfloat_float(Pointer temp, double d) { + var _result = _meos_b.always_ge_tfloat_float(temp, d); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int always_ge_tint_int(Pointer temp, int i) { + var _result = _meos_b.always_ge_tint_int(temp, i); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int always_ge_ttext_text(Pointer temp, Pointer txt) { + var _result = _meos_b.always_ge_ttext_text(temp, txt); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int always_gt_bigint_tbigint(long i, Pointer temp) { + var _result = _meos_b.always_gt_bigint_tbigint(i, temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int always_gt_float_tfloat(double d, Pointer temp) { + var _result = _meos_b.always_gt_float_tfloat(d, temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int always_gt_int_tint(int i, Pointer temp) { + var _result = _meos_b.always_gt_int_tint(i, temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int always_gt_tbigint_bigint(Pointer temp, long i) { + var _result = _meos_b.always_gt_tbigint_bigint(temp, i); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int always_gt_temporal_temporal(Pointer temp1, Pointer temp2) { + var _result = _meos_b.always_gt_temporal_temporal(temp1, temp2); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int always_gt_text_ttext(Pointer txt, Pointer temp) { + var _result = _meos_b.always_gt_text_ttext(txt, temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int always_gt_tfloat_float(Pointer temp, double d) { + var _result = _meos_b.always_gt_tfloat_float(temp, d); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int always_gt_tint_int(Pointer temp, int i) { + var _result = _meos_b.always_gt_tint_int(temp, i); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int always_gt_ttext_text(Pointer temp, Pointer txt) { + var _result = _meos_b.always_gt_ttext_text(temp, txt); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int always_le_bigint_tbigint(long i, Pointer temp) { + var _result = _meos_b.always_le_bigint_tbigint(i, temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int always_le_float_tfloat(double d, Pointer temp) { + var _result = _meos_b.always_le_float_tfloat(d, temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int always_le_int_tint(int i, Pointer temp) { + var _result = _meos_b.always_le_int_tint(i, temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int always_le_tbigint_bigint(Pointer temp, long i) { + var _result = _meos_b.always_le_tbigint_bigint(temp, i); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int always_le_temporal_temporal(Pointer temp1, Pointer temp2) { + var _result = _meos_b.always_le_temporal_temporal(temp1, temp2); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int always_le_text_ttext(Pointer txt, Pointer temp) { + var _result = _meos_b.always_le_text_ttext(txt, temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int always_le_tfloat_float(Pointer temp, double d) { + var _result = _meos_b.always_le_tfloat_float(temp, d); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int always_le_tint_int(Pointer temp, int i) { + var _result = _meos_b.always_le_tint_int(temp, i); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int always_le_ttext_text(Pointer temp, Pointer txt) { + var _result = _meos_b.always_le_ttext_text(temp, txt); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int always_lt_bigint_tbigint(long i, Pointer temp) { + var _result = _meos_b.always_lt_bigint_tbigint(i, temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int always_lt_float_tfloat(double d, Pointer temp) { + var _result = _meos_b.always_lt_float_tfloat(d, temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int always_lt_int_tint(int i, Pointer temp) { + var _result = _meos_b.always_lt_int_tint(i, temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int always_lt_temporal_temporal(Pointer temp1, Pointer temp2) { + var _result = _meos_b.always_lt_temporal_temporal(temp1, temp2); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int always_lt_text_ttext(Pointer txt, Pointer temp) { + var _result = _meos_b.always_lt_text_ttext(txt, temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int always_lt_tfloat_float(Pointer temp, double d) { + var _result = _meos_b.always_lt_tfloat_float(temp, d); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int always_lt_tint_int(Pointer temp, int i) { + var _result = _meos_b.always_lt_tint_int(temp, i); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int always_lt_ttext_text(Pointer temp, Pointer txt) { + var _result = _meos_b.always_lt_ttext_text(temp, txt); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int always_ne_bool_tbool(boolean b, Pointer temp) { + var _result = _meos_b.always_ne_bool_tbool(b, temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int always_ne_float_tfloat(double d, Pointer temp) { + var _result = _meos_b.always_ne_float_tfloat(d, temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int always_ne_int_tint(int i, Pointer temp) { + var _result = _meos_b.always_ne_int_tint(i, temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int always_lt_tbigint_bigint(Pointer temp, long i) { + var _result = _meos_b.always_lt_tbigint_bigint(temp, i); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int always_ne_bigint_tbigint(long i, Pointer temp) { + var _result = _meos_b.always_ne_bigint_tbigint(i, temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int always_ne_tbool_bool(Pointer temp, boolean b) { + var _result = _meos_b.always_ne_tbool_bool(temp, b); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int always_ne_tbigint_bigint(Pointer temp, long i) { + var _result = _meos_b.always_ne_tbigint_bigint(temp, i); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int always_ne_temporal_temporal(Pointer temp1, Pointer temp2) { + var _result = _meos_b.always_ne_temporal_temporal(temp1, temp2); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int always_ne_text_ttext(Pointer txt, Pointer temp) { + var _result = _meos_b.always_ne_text_ttext(txt, temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int always_ne_tfloat_float(Pointer temp, double d) { + var _result = _meos_b.always_ne_tfloat_float(temp, d); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int always_ne_tint_int(Pointer temp, int i) { + var _result = _meos_b.always_ne_tint_int(temp, i); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int always_ne_ttext_text(Pointer temp, Pointer txt) { + var _result = _meos_b.always_ne_ttext_text(temp, txt); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int ever_eq_bigint_tbigint(long i, Pointer temp) { + var _result = _meos_b.ever_eq_bigint_tbigint(i, temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int ever_eq_bool_tbool(boolean b, Pointer temp) { + var _result = _meos_b.ever_eq_bool_tbool(b, temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int ever_eq_float_tfloat(double d, Pointer temp) { + var _result = _meos_b.ever_eq_float_tfloat(d, temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int ever_eq_int_tint(int i, Pointer temp) { + var _result = _meos_b.ever_eq_int_tint(i, temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int ever_eq_tbigint_bigint(Pointer temp, long i) { + var _result = _meos_b.ever_eq_tbigint_bigint(temp, i); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int ever_eq_tbool_bool(Pointer temp, boolean b) { + var _result = _meos_b.ever_eq_tbool_bool(temp, b); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int ever_eq_temporal_temporal(Pointer temp1, Pointer temp2) { + var _result = _meos_b.ever_eq_temporal_temporal(temp1, temp2); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int ever_eq_text_ttext(Pointer txt, Pointer temp) { + var _result = _meos_b.ever_eq_text_ttext(txt, temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int ever_eq_tfloat_float(Pointer temp, double d) { + var _result = _meos_b.ever_eq_tfloat_float(temp, d); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int ever_eq_tint_int(Pointer temp, int i) { + var _result = _meos_b.ever_eq_tint_int(temp, i); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int ever_eq_ttext_text(Pointer temp, Pointer txt) { + var _result = _meos_b.ever_eq_ttext_text(temp, txt); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int ever_ge_bigint_tbigint(long i, Pointer temp) { + var _result = _meos_b.ever_ge_bigint_tbigint(i, temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int ever_ge_float_tfloat(double d, Pointer temp) { + var _result = _meos_b.ever_ge_float_tfloat(d, temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int ever_ge_int_tint(int i, Pointer temp) { + var _result = _meos_b.ever_ge_int_tint(i, temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int ever_ge_tbigint_bigint(Pointer temp, long i) { + var _result = _meos_b.ever_ge_tbigint_bigint(temp, i); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int ever_ge_temporal_temporal(Pointer temp1, Pointer temp2) { + var _result = _meos_b.ever_ge_temporal_temporal(temp1, temp2); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int ever_ge_text_ttext(Pointer txt, Pointer temp) { + var _result = _meos_b.ever_ge_text_ttext(txt, temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int ever_ge_tfloat_float(Pointer temp, double d) { + var _result = _meos_b.ever_ge_tfloat_float(temp, d); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int ever_ge_tint_int(Pointer temp, int i) { + var _result = _meos_b.ever_ge_tint_int(temp, i); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int ever_ge_ttext_text(Pointer temp, Pointer txt) { + var _result = _meos_b.ever_ge_ttext_text(temp, txt); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int ever_gt_bigint_tbigint(long i, Pointer temp) { + var _result = _meos_b.ever_gt_bigint_tbigint(i, temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int ever_gt_float_tfloat(double d, Pointer temp) { + var _result = _meos_b.ever_gt_float_tfloat(d, temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int ever_gt_int_tint(int i, Pointer temp) { + var _result = _meos_b.ever_gt_int_tint(i, temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int ever_gt_tbigint_bigint(Pointer temp, long i) { + var _result = _meos_b.ever_gt_tbigint_bigint(temp, i); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int ever_gt_temporal_temporal(Pointer temp1, Pointer temp2) { + var _result = _meos_b.ever_gt_temporal_temporal(temp1, temp2); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int ever_gt_text_ttext(Pointer txt, Pointer temp) { + var _result = _meos_b.ever_gt_text_ttext(txt, temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int ever_gt_tfloat_float(Pointer temp, double d) { + var _result = _meos_b.ever_gt_tfloat_float(temp, d); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int ever_gt_tint_int(Pointer temp, int i) { + var _result = _meos_b.ever_gt_tint_int(temp, i); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int ever_gt_ttext_text(Pointer temp, Pointer txt) { + var _result = _meos_b.ever_gt_ttext_text(temp, txt); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int ever_le_bigint_tbigint(long i, Pointer temp) { + var _result = _meos_b.ever_le_bigint_tbigint(i, temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int ever_le_float_tfloat(double d, Pointer temp) { + var _result = _meos_b.ever_le_float_tfloat(d, temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int ever_le_int_tint(int i, Pointer temp) { + var _result = _meos_b.ever_le_int_tint(i, temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int ever_le_tbigint_bigint(Pointer temp, long i) { + var _result = _meos_b.ever_le_tbigint_bigint(temp, i); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int ever_le_temporal_temporal(Pointer temp1, Pointer temp2) { + var _result = _meos_b.ever_le_temporal_temporal(temp1, temp2); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int ever_le_text_ttext(Pointer txt, Pointer temp) { + var _result = _meos_b.ever_le_text_ttext(txt, temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int ever_le_tfloat_float(Pointer temp, double d) { + var _result = _meos_b.ever_le_tfloat_float(temp, d); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int ever_le_tint_int(Pointer temp, int i) { + var _result = _meos_b.ever_le_tint_int(temp, i); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int ever_le_ttext_text(Pointer temp, Pointer txt) { + var _result = _meos_b.ever_le_ttext_text(temp, txt); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int ever_lt_bigint_tbigint(long i, Pointer temp) { + var _result = _meos_b.ever_lt_bigint_tbigint(i, temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int ever_lt_float_tfloat(double d, Pointer temp) { + var _result = _meos_b.ever_lt_float_tfloat(d, temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int ever_lt_int_tint(int i, Pointer temp) { + var _result = _meos_b.ever_lt_int_tint(i, temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int ever_lt_tbigint_bigint(Pointer temp, long i) { + var _result = _meos_b.ever_lt_tbigint_bigint(temp, i); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int ever_lt_temporal_temporal(Pointer temp1, Pointer temp2) { + var _result = _meos_b.ever_lt_temporal_temporal(temp1, temp2); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int ever_lt_text_ttext(Pointer txt, Pointer temp) { + var _result = _meos_b.ever_lt_text_ttext(txt, temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int ever_lt_tfloat_float(Pointer temp, double d) { + var _result = _meos_b.ever_lt_tfloat_float(temp, d); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int ever_lt_tint_int(Pointer temp, int i) { + var _result = _meos_b.ever_lt_tint_int(temp, i); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int ever_lt_ttext_text(Pointer temp, Pointer txt) { + var _result = _meos_b.ever_lt_ttext_text(temp, txt); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int ever_ne_bigint_tbigint(long i, Pointer temp) { + var _result = _meos_b.ever_ne_bigint_tbigint(i, temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int ever_ne_bool_tbool(boolean b, Pointer temp) { + var _result = _meos_b.ever_ne_bool_tbool(b, temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int ever_ne_float_tfloat(double d, Pointer temp) { + var _result = _meos_b.ever_ne_float_tfloat(d, temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int ever_ne_int_tint(int i, Pointer temp) { + var _result = _meos_b.ever_ne_int_tint(i, temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int ever_ne_tbigint_bigint(Pointer temp, long i) { + var _result = _meos_b.ever_ne_tbigint_bigint(temp, i); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int ever_ne_tbool_bool(Pointer temp, boolean b) { + var _result = _meos_b.ever_ne_tbool_bool(temp, b); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int ever_ne_temporal_temporal(Pointer temp1, Pointer temp2) { + var _result = _meos_b.ever_ne_temporal_temporal(temp1, temp2); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int ever_ne_text_ttext(Pointer txt, Pointer temp) { + var _result = _meos_b.ever_ne_text_ttext(txt, temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int ever_ne_tfloat_float(Pointer temp, double d) { + var _result = _meos_b.ever_ne_tfloat_float(temp, d); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int ever_ne_tint_int(Pointer temp, int i) { + var _result = _meos_b.ever_ne_tint_int(temp, i); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static int ever_ne_ttext_text(Pointer temp, Pointer txt) { + var _result = _meos_b.ever_ne_ttext_text(temp, txt); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer teq_bool_tbool(boolean b, Pointer temp) { + var _result = _meos_b.teq_bool_tbool(b, temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer teq_float_tfloat(double d, Pointer temp) { + var _result = _meos_b.teq_float_tfloat(d, temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer teq_int_tint(int i, Pointer temp) { + var _result = _meos_b.teq_int_tint(i, temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer teq_tbool_bool(Pointer temp, boolean b) { + var _result = _meos_b.teq_tbool_bool(temp, b); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer teq_temporal_temporal(Pointer temp1, Pointer temp2) { + var _result = _meos_b.teq_temporal_temporal(temp1, temp2); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer teq_text_ttext(Pointer txt, Pointer temp) { + var _result = _meos_b.teq_text_ttext(txt, temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer teq_tfloat_float(Pointer temp, double d) { + var _result = _meos_b.teq_tfloat_float(temp, d); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer teq_tint_int(Pointer temp, int i) { + var _result = _meos_b.teq_tint_int(temp, i); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer teq_ttext_text(Pointer temp, Pointer txt) { + var _result = _meos_b.teq_ttext_text(temp, txt); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer tge_float_tfloat(double d, Pointer temp) { + var _result = _meos_b.tge_float_tfloat(d, temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer tge_int_tint(int i, Pointer temp) { + var _result = _meos_b.tge_int_tint(i, temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer tge_temporal_temporal(Pointer temp1, Pointer temp2) { + var _result = _meos_b.tge_temporal_temporal(temp1, temp2); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer tge_text_ttext(Pointer txt, Pointer temp) { + var _result = _meos_b.tge_text_ttext(txt, temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer tge_tfloat_float(Pointer temp, double d) { + var _result = _meos_b.tge_tfloat_float(temp, d); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer tge_tint_int(Pointer temp, int i) { + var _result = _meos_b.tge_tint_int(temp, i); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer tge_ttext_text(Pointer temp, Pointer txt) { + var _result = _meos_b.tge_ttext_text(temp, txt); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer tgt_float_tfloat(double d, Pointer temp) { + var _result = _meos_b.tgt_float_tfloat(d, temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer tgt_int_tint(int i, Pointer temp) { + var _result = _meos_b.tgt_int_tint(i, temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer tgt_temporal_temporal(Pointer temp1, Pointer temp2) { + var _result = _meos_b.tgt_temporal_temporal(temp1, temp2); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer tgt_text_ttext(Pointer txt, Pointer temp) { + var _result = _meos_b.tgt_text_ttext(txt, temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer tgt_tfloat_float(Pointer temp, double d) { + var _result = _meos_b.tgt_tfloat_float(temp, d); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer tgt_tint_int(Pointer temp, int i) { + var _result = _meos_b.tgt_tint_int(temp, i); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer tgt_ttext_text(Pointer temp, Pointer txt) { + var _result = _meos_b.tgt_ttext_text(temp, txt); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer tle_float_tfloat(double d, Pointer temp) { + var _result = _meos_b.tle_float_tfloat(d, temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer tle_int_tint(int i, Pointer temp) { + var _result = _meos_b.tle_int_tint(i, temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer tle_temporal_temporal(Pointer temp1, Pointer temp2) { + var _result = _meos_b.tle_temporal_temporal(temp1, temp2); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer tle_text_ttext(Pointer txt, Pointer temp) { + var _result = _meos_b.tle_text_ttext(txt, temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer tle_tfloat_float(Pointer temp, double d) { + var _result = _meos_b.tle_tfloat_float(temp, d); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer tle_tint_int(Pointer temp, int i) { + var _result = _meos_b.tle_tint_int(temp, i); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer tle_ttext_text(Pointer temp, Pointer txt) { + var _result = _meos_b.tle_ttext_text(temp, txt); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer tlt_float_tfloat(double d, Pointer temp) { + var _result = _meos_b.tlt_float_tfloat(d, temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer tlt_int_tint(int i, Pointer temp) { + var _result = _meos_b.tlt_int_tint(i, temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer tlt_temporal_temporal(Pointer temp1, Pointer temp2) { + var _result = _meos_b.tlt_temporal_temporal(temp1, temp2); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer tlt_text_ttext(Pointer txt, Pointer temp) { + var _result = _meos_b.tlt_text_ttext(txt, temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer tlt_tfloat_float(Pointer temp, double d) { + var _result = _meos_b.tlt_tfloat_float(temp, d); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer tlt_tint_int(Pointer temp, int i) { + var _result = _meos_b.tlt_tint_int(temp, i); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer tlt_ttext_text(Pointer temp, Pointer txt) { + var _result = _meos_b.tlt_ttext_text(temp, txt); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer tne_bool_tbool(boolean b, Pointer temp) { + var _result = _meos_b.tne_bool_tbool(b, temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer tne_float_tfloat(double d, Pointer temp) { + var _result = _meos_b.tne_float_tfloat(d, temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer tne_int_tint(int i, Pointer temp) { + var _result = _meos_b.tne_int_tint(i, temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer tne_tbool_bool(Pointer temp, boolean b) { + var _result = _meos_b.tne_tbool_bool(temp, b); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer tne_temporal_temporal(Pointer temp1, Pointer temp2) { + var _result = _meos_b.tne_temporal_temporal(temp1, temp2); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer tne_text_ttext(Pointer txt, Pointer temp) { + var _result = _meos_b.tne_text_ttext(txt, temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer tne_tfloat_float(Pointer temp, double d) { + var _result = _meos_b.tne_tfloat_float(temp, d); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer tne_tint_int(Pointer temp, int i) { + var _result = _meos_b.tne_tint_int(temp, i); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer tne_ttext_text(Pointer temp, Pointer txt) { + var _result = _meos_b.tne_ttext_text(temp, txt); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer temporal_spans(Pointer temp, Pointer count) { + var _result = _meos_b.temporal_spans(temp, count); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer temporal_split_each_n_spans(Pointer temp, int elem_count, Pointer count) { + var _result = _meos_b.temporal_split_each_n_spans(temp, elem_count, count); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer temporal_split_n_spans(Pointer temp, int span_count, Pointer count) { + var _result = _meos_b.temporal_split_n_spans(temp, span_count, count); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer tnumber_split_each_n_tboxes(Pointer temp, int elem_count, Pointer count) { + var _result = _meos_b.tnumber_split_each_n_tboxes(temp, elem_count, count); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer tnumber_split_n_tboxes(Pointer temp, int box_count, Pointer count) { + var _result = _meos_b.tnumber_split_n_tboxes(temp, box_count, count); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer tnumber_tboxes(Pointer temp, Pointer count) { + var _result = _meos_b.tnumber_tboxes(temp, count); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean adjacent_numspan_tnumber(Pointer s, Pointer temp) { + var _result = _meos_b.adjacent_numspan_tnumber(s, temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean adjacent_tbox_tnumber(Pointer box, Pointer temp) { + var _result = _meos_b.adjacent_tbox_tnumber(box, temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean adjacent_temporal_temporal(Pointer temp1, Pointer temp2) { + var _result = _meos_b.adjacent_temporal_temporal(temp1, temp2); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean adjacent_temporal_tstzspan(Pointer temp, Pointer s) { + var _result = _meos_b.adjacent_temporal_tstzspan(temp, s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean adjacent_tnumber_numspan(Pointer temp, Pointer s) { + var _result = _meos_b.adjacent_tnumber_numspan(temp, s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean adjacent_tnumber_tbox(Pointer temp, Pointer box) { + var _result = _meos_b.adjacent_tnumber_tbox(temp, box); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean adjacent_tnumber_tnumber(Pointer temp1, Pointer temp2) { + var _result = _meos_b.adjacent_tnumber_tnumber(temp1, temp2); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean adjacent_tstzspan_temporal(Pointer s, Pointer temp) { + var _result = _meos_b.adjacent_tstzspan_temporal(s, temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean contained_numspan_tnumber(Pointer s, Pointer temp) { + var _result = _meos_b.contained_numspan_tnumber(s, temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean contained_tbox_tnumber(Pointer box, Pointer temp) { + var _result = _meos_b.contained_tbox_tnumber(box, temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean contained_temporal_temporal(Pointer temp1, Pointer temp2) { + var _result = _meos_b.contained_temporal_temporal(temp1, temp2); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean contained_temporal_tstzspan(Pointer temp, Pointer s) { + var _result = _meos_b.contained_temporal_tstzspan(temp, s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean contained_tnumber_numspan(Pointer temp, Pointer s) { + var _result = _meos_b.contained_tnumber_numspan(temp, s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean contained_tnumber_tbox(Pointer temp, Pointer box) { + var _result = _meos_b.contained_tnumber_tbox(temp, box); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean contained_tnumber_tnumber(Pointer temp1, Pointer temp2) { + var _result = _meos_b.contained_tnumber_tnumber(temp1, temp2); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean contained_tstzspan_temporal(Pointer s, Pointer temp) { + var _result = _meos_b.contained_tstzspan_temporal(s, temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean contains_numspan_tnumber(Pointer s, Pointer temp) { + var _result = _meos_b.contains_numspan_tnumber(s, temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean contains_tbox_tnumber(Pointer box, Pointer temp) { + var _result = _meos_b.contains_tbox_tnumber(box, temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean contains_temporal_tstzspan(Pointer temp, Pointer s) { + var _result = _meos_b.contains_temporal_tstzspan(temp, s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean contains_temporal_temporal(Pointer temp1, Pointer temp2) { + var _result = _meos_b.contains_temporal_temporal(temp1, temp2); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean contains_tnumber_numspan(Pointer temp, Pointer s) { + var _result = _meos_b.contains_tnumber_numspan(temp, s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean contains_tnumber_tbox(Pointer temp, Pointer box) { + var _result = _meos_b.contains_tnumber_tbox(temp, box); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean contains_tnumber_tnumber(Pointer temp1, Pointer temp2) { + var _result = _meos_b.contains_tnumber_tnumber(temp1, temp2); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean contains_tstzspan_temporal(Pointer s, Pointer temp) { + var _result = _meos_b.contains_tstzspan_temporal(s, temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean overlaps_numspan_tnumber(Pointer s, Pointer temp) { + var _result = _meos_b.overlaps_numspan_tnumber(s, temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean overlaps_tbox_tnumber(Pointer box, Pointer temp) { + var _result = _meos_b.overlaps_tbox_tnumber(box, temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean overlaps_temporal_temporal(Pointer temp1, Pointer temp2) { + var _result = _meos_b.overlaps_temporal_temporal(temp1, temp2); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean overlaps_temporal_tstzspan(Pointer temp, Pointer s) { + var _result = _meos_b.overlaps_temporal_tstzspan(temp, s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean overlaps_tnumber_numspan(Pointer temp, Pointer s) { + var _result = _meos_b.overlaps_tnumber_numspan(temp, s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean overlaps_tnumber_tbox(Pointer temp, Pointer box) { + var _result = _meos_b.overlaps_tnumber_tbox(temp, box); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean overlaps_tnumber_tnumber(Pointer temp1, Pointer temp2) { + var _result = _meos_b.overlaps_tnumber_tnumber(temp1, temp2); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean overlaps_tstzspan_temporal(Pointer s, Pointer temp) { + var _result = _meos_b.overlaps_tstzspan_temporal(s, temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean same_numspan_tnumber(Pointer s, Pointer temp) { + var _result = _meos_b.same_numspan_tnumber(s, temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean same_tbox_tnumber(Pointer box, Pointer temp) { + var _result = _meos_b.same_tbox_tnumber(box, temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean same_temporal_temporal(Pointer temp1, Pointer temp2) { + var _result = _meos_b.same_temporal_temporal(temp1, temp2); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean same_temporal_tstzspan(Pointer temp, Pointer s) { + var _result = _meos_b.same_temporal_tstzspan(temp, s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean same_tnumber_numspan(Pointer temp, Pointer s) { + var _result = _meos_b.same_tnumber_numspan(temp, s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean same_tnumber_tbox(Pointer temp, Pointer box) { + var _result = _meos_b.same_tnumber_tbox(temp, box); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean same_tnumber_tnumber(Pointer temp1, Pointer temp2) { + var _result = _meos_b.same_tnumber_tnumber(temp1, temp2); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean same_tstzspan_temporal(Pointer s, Pointer temp) { + var _result = _meos_b.same_tstzspan_temporal(s, temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean after_tbox_tnumber(Pointer box, Pointer temp) { + var _result = _meos_b.after_tbox_tnumber(box, temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean after_temporal_tstzspan(Pointer temp, Pointer s) { + var _result = _meos_b.after_temporal_tstzspan(temp, s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean after_temporal_temporal(Pointer temp1, Pointer temp2) { + var _result = _meos_b.after_temporal_temporal(temp1, temp2); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean after_tnumber_tbox(Pointer temp, Pointer box) { + var _result = _meos_b.after_tnumber_tbox(temp, box); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean after_tnumber_tnumber(Pointer temp1, Pointer temp2) { + var _result = _meos_b.after_tnumber_tnumber(temp1, temp2); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean after_tstzspan_temporal(Pointer s, Pointer temp) { + var _result = _meos_b.after_tstzspan_temporal(s, temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean before_tbox_tnumber(Pointer box, Pointer temp) { + var _result = _meos_b.before_tbox_tnumber(box, temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean before_temporal_tstzspan(Pointer temp, Pointer s) { + var _result = _meos_b.before_temporal_tstzspan(temp, s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean before_temporal_temporal(Pointer temp1, Pointer temp2) { + var _result = _meos_b.before_temporal_temporal(temp1, temp2); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean before_tnumber_tbox(Pointer temp, Pointer box) { + var _result = _meos_b.before_tnumber_tbox(temp, box); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean before_tnumber_tnumber(Pointer temp1, Pointer temp2) { + var _result = _meos_b.before_tnumber_tnumber(temp1, temp2); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean before_tstzspan_temporal(Pointer s, Pointer temp) { + var _result = _meos_b.before_tstzspan_temporal(s, temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean left_tbox_tnumber(Pointer box, Pointer temp) { + var _result = _meos_b.left_tbox_tnumber(box, temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean left_numspan_tnumber(Pointer s, Pointer temp) { + var _result = _meos_b.left_numspan_tnumber(s, temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean left_tnumber_numspan(Pointer temp, Pointer s) { + var _result = _meos_b.left_tnumber_numspan(temp, s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean left_tnumber_tbox(Pointer temp, Pointer box) { + var _result = _meos_b.left_tnumber_tbox(temp, box); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean left_tnumber_tnumber(Pointer temp1, Pointer temp2) { + var _result = _meos_b.left_tnumber_tnumber(temp1, temp2); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean overafter_tbox_tnumber(Pointer box, Pointer temp) { + var _result = _meos_b.overafter_tbox_tnumber(box, temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean overafter_temporal_tstzspan(Pointer temp, Pointer s) { + var _result = _meos_b.overafter_temporal_tstzspan(temp, s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean overafter_temporal_temporal(Pointer temp1, Pointer temp2) { + var _result = _meos_b.overafter_temporal_temporal(temp1, temp2); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean overafter_tnumber_tbox(Pointer temp, Pointer box) { + var _result = _meos_b.overafter_tnumber_tbox(temp, box); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean overafter_tnumber_tnumber(Pointer temp1, Pointer temp2) { + var _result = _meos_b.overafter_tnumber_tnumber(temp1, temp2); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean overafter_tstzspan_temporal(Pointer s, Pointer temp) { + var _result = _meos_b.overafter_tstzspan_temporal(s, temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean overbefore_tbox_tnumber(Pointer box, Pointer temp) { + var _result = _meos_b.overbefore_tbox_tnumber(box, temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean overbefore_temporal_tstzspan(Pointer temp, Pointer s) { + var _result = _meos_b.overbefore_temporal_tstzspan(temp, s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean overbefore_temporal_temporal(Pointer temp1, Pointer temp2) { + var _result = _meos_b.overbefore_temporal_temporal(temp1, temp2); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean overbefore_tnumber_tbox(Pointer temp, Pointer box) { + var _result = _meos_b.overbefore_tnumber_tbox(temp, box); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean overbefore_tnumber_tnumber(Pointer temp1, Pointer temp2) { + var _result = _meos_b.overbefore_tnumber_tnumber(temp1, temp2); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean overbefore_tstzspan_temporal(Pointer s, Pointer temp) { + var _result = _meos_b.overbefore_tstzspan_temporal(s, temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean overleft_numspan_tnumber(Pointer s, Pointer temp) { + var _result = _meos_b.overleft_numspan_tnumber(s, temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean overleft_tbox_tnumber(Pointer box, Pointer temp) { + var _result = _meos_b.overleft_tbox_tnumber(box, temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean overleft_tnumber_numspan(Pointer temp, Pointer s) { + var _result = _meos_b.overleft_tnumber_numspan(temp, s); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean overleft_tnumber_tbox(Pointer temp, Pointer box) { + var _result = _meos_b.overleft_tnumber_tbox(temp, box); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean overleft_tnumber_tnumber(Pointer temp1, Pointer temp2) { + var _result = _meos_b.overleft_tnumber_tnumber(temp1, temp2); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static boolean overright_numspan_tnumber(Pointer s, Pointer temp) { + var _result = _meos_b.overright_numspan_tnumber(s, temp); + MeosErrorHandler.checkError(); + return _result; } @SuppressWarnings("unused") - public static void rtree_insert(Pointer rtree, Pointer box, int id) { - _meos_a.rtree_insert(rtree, box, id); + public static boolean overright_tbox_tnumber(Pointer box, Pointer temp) { + var _result = _meos_b.overright_tbox_tnumber(box, temp); MeosErrorHandler.checkError(); + return _result; } @SuppressWarnings("unused") - public static void rtree_insert_temporal(Pointer rtree, Pointer temp, int id) { - _meos_a.rtree_insert_temporal(rtree, temp, id); + public static boolean overright_tnumber_numspan(Pointer temp, Pointer s) { + var _result = _meos_b.overright_tnumber_numspan(temp, s); MeosErrorHandler.checkError(); + return _result; } @SuppressWarnings("unused") - public static Pointer rtree_search(Pointer rtree, int op, Pointer query, Pointer count) { - var _result = _meos_a.rtree_search(rtree, op, query, count); + public static boolean overright_tnumber_tbox(Pointer temp, Pointer box) { + var _result = _meos_b.overright_tnumber_tbox(temp, box); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer rtree_search_temporal(Pointer rtree, int op, Pointer temp, Pointer count) { - var _result = _meos_a.rtree_search_temporal(rtree, op, temp, count); + public static boolean overright_tnumber_tnumber(Pointer temp1, Pointer temp2) { + var _result = _meos_b.overright_tnumber_tnumber(temp1, temp2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static void meos_error(int errlevel, int errcode, String format) { - _meos_a.meos_error(errlevel, errcode, format); + public static boolean right_numspan_tnumber(Pointer s, Pointer temp) { + var _result = _meos_b.right_numspan_tnumber(s, temp); MeosErrorHandler.checkError(); + return _result; } @SuppressWarnings("unused") - public static int meos_errno() { - var _result = _meos_a.meos_errno(); + public static boolean right_tbox_tnumber(Pointer box, Pointer temp) { + var _result = _meos_b.right_tbox_tnumber(box, temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int meos_errno_set(int err) { - var _result = _meos_a.meos_errno_set(err); + public static boolean right_tnumber_numspan(Pointer temp, Pointer s) { + var _result = _meos_b.right_tnumber_numspan(temp, s); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int meos_errno_restore(int err) { - var _result = _meos_a.meos_errno_restore(err); + public static boolean right_tnumber_tbox(Pointer temp, Pointer box) { + var _result = _meos_b.right_tnumber_tbox(temp, box); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int meos_errno_reset() { - var _result = _meos_a.meos_errno_reset(); + public static boolean right_tnumber_tnumber(Pointer temp1, Pointer temp2) { + var _result = _meos_b.right_tnumber_tnumber(temp1, temp2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static void meos_initialize_timezone(String name) { - _meos_a.meos_initialize_timezone(name); + public static Pointer tand_bool_tbool(boolean b, Pointer temp) { + var _result = _meos_b.tand_bool_tbool(b, temp); MeosErrorHandler.checkError(); + return _result; } @SuppressWarnings("unused") - public static void meos_initialize_error_handler(error_handler_fn err_handler) { - _meos_a.meos_initialize_error_handler(err_handler); + public static Pointer tand_tbool_bool(Pointer temp, boolean b) { + var _result = _meos_b.tand_tbool_bool(temp, b); MeosErrorHandler.checkError(); + return _result; } @SuppressWarnings("unused") - public static void meos_finalize_timezone() { - _meos_a.meos_finalize_timezone(); + public static Pointer tand_tbool_tbool(Pointer temp1, Pointer temp2) { + var _result = _meos_b.tand_tbool_tbool(temp1, temp2); MeosErrorHandler.checkError(); + return _result; } @SuppressWarnings("unused") - public static void meos_finalize_projsrs() { - _meos_a.meos_finalize_projsrs(); + public static Pointer tbool_when_true(Pointer temp) { + var _result = _meos_b.tbool_when_true(temp); MeosErrorHandler.checkError(); + return _result; } @SuppressWarnings("unused") - public static void meos_finalize_ways() { - _meos_a.meos_finalize_ways(); + public static Pointer tnot_tbool(Pointer temp) { + var _result = _meos_b.tnot_tbool(temp); MeosErrorHandler.checkError(); + return _result; } @SuppressWarnings("unused") - public static boolean meos_set_datestyle(String newval, Pointer extra) { - var _result = _meos_a.meos_set_datestyle(newval, extra); + public static Pointer tor_bool_tbool(boolean b, Pointer temp) { + var _result = _meos_b.tor_bool_tbool(b, temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean meos_set_intervalstyle(String newval, int extra) { - var _result = _meos_a.meos_set_intervalstyle(newval, extra); + public static Pointer tor_tbool_bool(Pointer temp, boolean b) { + var _result = _meos_b.tor_tbool_bool(temp, b); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static String meos_get_datestyle() { - var _result = _meos_a.meos_get_datestyle(); + public static Pointer tor_tbool_tbool(Pointer temp1, Pointer temp2) { + var _result = _meos_b.tor_tbool_tbool(temp1, temp2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static String meos_get_intervalstyle() { - var _result = _meos_a.meos_get_intervalstyle(); + public static Pointer add_bigint_tbigint(long i, Pointer tnumber) { + var _result = _meos_b.add_bigint_tbigint(i, tnumber); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static void meos_set_spatial_ref_sys_csv(String path) { - _meos_a.meos_set_spatial_ref_sys_csv(path); + public static Pointer add_float_tfloat(double d, Pointer tnumber) { + var _result = _meos_b.add_float_tfloat(d, tnumber); MeosErrorHandler.checkError(); + return _result; } @SuppressWarnings("unused") - public static void meos_initialize() { - _meos_a.meos_initialize(); + public static Pointer add_int_tint(int i, Pointer tnumber) { + var _result = _meos_b.add_int_tint(i, tnumber); MeosErrorHandler.checkError(); + return _result; } @SuppressWarnings("unused") - public static void meos_finalize() { - _meos_a.meos_finalize(); + public static Pointer add_tbigint_bigint(Pointer tnumber, long i) { + var _result = _meos_b.add_tbigint_bigint(tnumber, i); MeosErrorHandler.checkError(); + return _result; } @SuppressWarnings("unused") - public static int add_date_int(int d, int days) { - var _result = _meos_a.add_date_int(d, days); + public static Pointer add_tfloat_float(Pointer tnumber, double d) { + var _result = _meos_b.add_tfloat_float(tnumber, d); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer add_interval_interval(Pointer interv1, Pointer interv2) { - var _result = _meos_a.add_interval_interval(interv1, interv2); + public static Pointer add_tint_int(Pointer tnumber, int i) { + var _result = _meos_b.add_tint_int(tnumber, i); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static OffsetDateTime add_timestamptz_interval(OffsetDateTime t, Pointer interv) { - var t_new = t.toEpochSecond(); - var _result = _meos_a.add_timestamptz_interval(t_new, interv); + public static Pointer add_tnumber_tnumber(Pointer tnumber1, Pointer tnumber2) { + var _result = _meos_b.add_tnumber_tnumber(tnumber1, tnumber2); MeosErrorHandler.checkError(); - return java.time.Instant.ofEpochSecond(_result).atOffset(java.time.ZoneOffset.UTC); + return _result; } @SuppressWarnings("unused") - public static boolean bool_in(String str) { - var _result = _meos_a.bool_in(str); + public static Pointer div_bigint_tbigint(long i, Pointer tnumber) { + var _result = _meos_b.div_bigint_tbigint(i, tnumber); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static String bool_out(boolean b) { - var _result = _meos_a.bool_out(b); + public static Pointer div_float_tfloat(double d, Pointer tnumber) { + var _result = _meos_b.div_float_tfloat(d, tnumber); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer cstring2text(String str) { - var _result = _meos_a.cstring2text(str); + public static Pointer div_int_tint(int i, Pointer tnumber) { + var _result = _meos_b.div_int_tint(i, tnumber); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static LocalDateTime date_to_timestamp(int dateVal) { - var _result = _meos_a.date_to_timestamp(dateVal); + public static Pointer div_tbigint_bigint(Pointer tnumber, long i) { + var _result = _meos_b.div_tbigint_bigint(tnumber, i); MeosErrorHandler.checkError(); - return java.time.LocalDateTime.ofInstant(java.time.Instant.ofEpochSecond(_result), java.time.ZoneOffset.UTC); + return _result; } @SuppressWarnings("unused") - public static OffsetDateTime date_to_timestamptz(int d) { - var _result = _meos_a.date_to_timestamptz(d); + public static Pointer div_tfloat_float(Pointer tnumber, double d) { + var _result = _meos_b.div_tfloat_float(tnumber, d); MeosErrorHandler.checkError(); - return java.time.Instant.ofEpochSecond(_result).atOffset(java.time.ZoneOffset.UTC); + return _result; } @SuppressWarnings("unused") - public static double float_exp(double d) { - var _result = _meos_a.float_exp(d); + public static Pointer div_tint_int(Pointer tnumber, int i) { + var _result = _meos_b.div_tint_int(tnumber, i); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static double float_ln(double d) { - var _result = _meos_a.float_ln(d); + public static Pointer div_tnumber_tnumber(Pointer tnumber1, Pointer tnumber2) { + var _result = _meos_b.div_tnumber_tnumber(tnumber1, tnumber2); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer mul_bigint_tbigint(long i, Pointer tnumber) { + var _result = _meos_b.mul_bigint_tbigint(i, tnumber); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer mul_float_tfloat(double d, Pointer tnumber) { + var _result = _meos_b.mul_float_tfloat(d, tnumber); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer mul_int_tint(int i, Pointer tnumber) { + var _result = _meos_b.mul_int_tint(i, tnumber); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer mul_tbigint_bigint(Pointer tnumber, long i) { + var _result = _meos_b.mul_tbigint_bigint(tnumber, i); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer mul_tfloat_float(Pointer tnumber, double d) { + var _result = _meos_b.mul_tfloat_float(tnumber, d); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer mul_tint_int(Pointer tnumber, int i) { + var _result = _meos_b.mul_tint_int(tnumber, i); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer mul_tnumber_tnumber(Pointer tnumber1, Pointer tnumber2) { + var _result = _meos_b.mul_tnumber_tnumber(tnumber1, tnumber2); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer sub_bigint_tbigint(long i, Pointer tnumber) { + var _result = _meos_b.sub_bigint_tbigint(i, tnumber); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer sub_float_tfloat(double d, Pointer tnumber) { + var _result = _meos_b.sub_float_tfloat(d, tnumber); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer sub_int_tint(int i, Pointer tnumber) { + var _result = _meos_b.sub_int_tint(i, tnumber); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer sub_tbigint_bigint(Pointer tnumber, long i) { + var _result = _meos_b.sub_tbigint_bigint(tnumber, i); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer sub_tfloat_float(Pointer tnumber, double d) { + var _result = _meos_b.sub_tfloat_float(tnumber, d); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer sub_tint_int(Pointer tnumber, int i) { + var _result = _meos_b.sub_tint_int(tnumber, i); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer sub_tnumber_tnumber(Pointer tnumber1, Pointer tnumber2) { + var _result = _meos_b.sub_tnumber_tnumber(tnumber1, tnumber2); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer temporal_derivative(Pointer temp) { + var _result = _meos_b.temporal_derivative(temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer tfloat_exp(Pointer temp) { + var _result = _meos_b.tfloat_exp(temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer tfloat_ln(Pointer temp) { + var _result = _meos_b.tfloat_ln(temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer tfloat_log10(Pointer temp) { + var _result = _meos_b.tfloat_log10(temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer tnumber_abs(Pointer temp) { + var _result = _meos_b.tnumber_abs(temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer tnumber_trend(Pointer temp) { + var _result = _meos_b.tnumber_trend(temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static double float_angular_difference(double degrees1, double degrees2) { + var _result = _meos_b.float_angular_difference(degrees1, degrees2); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer tnumber_angular_difference(Pointer temp) { + var _result = _meos_b.tnumber_angular_difference(temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer tnumber_delta_value(Pointer temp) { + var _result = _meos_b.tnumber_delta_value(temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer textcat_text_ttext(Pointer txt, Pointer temp) { + var _result = _meos_b.textcat_text_ttext(txt, temp); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer textcat_ttext_text(Pointer temp, Pointer txt) { + var _result = _meos_b.textcat_ttext_text(temp, txt); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer textcat_ttext_ttext(Pointer temp1, Pointer temp2) { + var _result = _meos_b.textcat_ttext_ttext(temp1, temp2); + MeosErrorHandler.checkError(); + return _result; + } + + @SuppressWarnings("unused") + public static Pointer ttext_initcap(Pointer temp) { + var _result = _meos_b.ttext_initcap(temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static double float_log10(double d) { - var _result = _meos_a.float_log10(d); + public static Pointer ttext_upper(Pointer temp) { + var _result = _meos_b.ttext_upper(temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static String float8_out(double d, int maxdd) { - var _result = _meos_a.float8_out(d, maxdd); + public static Pointer ttext_lower(Pointer temp) { + var _result = _meos_b.ttext_lower(temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static double float_round(double d, int maxdd) { - var _result = _meos_a.float_round(d, maxdd); + public static Pointer tdistance_tfloat_float(Pointer temp, double d) { + var _result = _meos_b.tdistance_tfloat_float(temp, d); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int int32_cmp(int l, int r) { - var _result = _meos_a.int32_cmp(l, r); + public static Pointer tdistance_tint_int(Pointer temp, int i) { + var _result = _meos_b.tdistance_tint_int(temp, i); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int int64_cmp(long l, long r) { - var _result = _meos_a.int64_cmp(l, r); + public static Pointer tdistance_tnumber_tnumber(Pointer temp1, Pointer temp2) { + var _result = _meos_b.tdistance_tnumber_tnumber(temp1, temp2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer interval_make(int years, int months, int weeks, int days, int hours, int mins, double secs) { - var _result = _meos_a.interval_make(years, months, weeks, days, hours, mins, secs); + public static double nad_tboxfloat_tboxfloat(Pointer box1, Pointer box2) { + var _result = _meos_b.nad_tboxfloat_tboxfloat(box1, box2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int minus_date_date(int d1, int d2) { - var _result = _meos_a.minus_date_date(d1, d2); + public static int nad_tboxint_tboxint(Pointer box1, Pointer box2) { + var _result = _meos_b.nad_tboxint_tboxint(box1, box2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int minus_date_int(int d, int days) { - var _result = _meos_a.minus_date_int(d, days); + public static double nad_tfloat_float(Pointer temp, double d) { + var _result = _meos_b.nad_tfloat_float(temp, d); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static OffsetDateTime minus_timestamptz_interval(OffsetDateTime t, Pointer interv) { - var t_new = t.toEpochSecond(); - var _result = _meos_a.minus_timestamptz_interval(t_new, interv); + public static double nad_tfloat_tfloat(Pointer temp1, Pointer temp2) { + var _result = _meos_b.nad_tfloat_tfloat(temp1, temp2); MeosErrorHandler.checkError(); - return java.time.Instant.ofEpochSecond(_result).atOffset(java.time.ZoneOffset.UTC); + return _result; } @SuppressWarnings("unused") - public static Pointer minus_timestamptz_timestamptz(OffsetDateTime t1, OffsetDateTime t2) { - var t1_new = t1.toEpochSecond(); - var t2_new = t2.toEpochSecond(); - var _result = _meos_a.minus_timestamptz_timestamptz(t1_new, t2_new); + public static double nad_tfloat_tbox(Pointer temp, Pointer box) { + var _result = _meos_b.nad_tfloat_tbox(temp, box); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer mul_interval_double(Pointer interv, double factor) { - var _result = _meos_a.mul_interval_double(interv, factor); + public static int nad_tint_int(Pointer temp, int i) { + var _result = _meos_b.nad_tint_int(temp, i); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int pg_date_in(String str) { - var _result = _meos_a.pg_date_in(str); + public static int nad_tint_tbox(Pointer temp, Pointer box) { + var _result = _meos_b.nad_tint_tbox(temp, box); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static String pg_date_out(int d) { - var _result = _meos_a.pg_date_out(d); + public static int nad_tint_tint(Pointer temp1, Pointer temp2) { + var _result = _meos_b.nad_tint_tint(temp1, temp2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int pg_interval_cmp(Pointer interv1, Pointer interv2) { - var _result = _meos_a.pg_interval_cmp(interv1, interv2); + public static Pointer tbool_tand_transfn(Pointer state, Pointer temp) { + var _result = _meos_b.tbool_tand_transfn(state, temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer pg_interval_in(String str, int typmod) { - var _result = _meos_a.pg_interval_in(str, typmod); + public static Pointer tbool_tor_transfn(Pointer state, Pointer temp) { + var _result = _meos_b.tbool_tor_transfn(state, temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static String pg_interval_out(Pointer interv) { - var _result = _meos_a.pg_interval_out(interv); + public static Pointer temporal_extent_transfn(Pointer s, Pointer temp) { + var _result = _meos_b.temporal_extent_transfn(s, temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static LocalDateTime pg_timestamp_in(String str, int typmod) { - var _result = _meos_a.pg_timestamp_in(str, typmod); + public static Pointer temporal_merge_transfn(Pointer state, Pointer temp) { + var _result = _meos_b.temporal_merge_transfn(state, temp); MeosErrorHandler.checkError(); - return java.time.LocalDateTime.ofInstant(java.time.Instant.ofEpochSecond(_result), java.time.ZoneOffset.UTC); + return _result; } @SuppressWarnings("unused") - public static String pg_timestamp_out(LocalDateTime t) { - var t_new = t.toInstant(java.time.ZoneOffset.UTC).getEpochSecond(); - var _result = _meos_a.pg_timestamp_out(t_new); + public static Pointer temporal_merge_combinefn(Pointer state1, Pointer state2) { + var _result = _meos_b.temporal_merge_combinefn(state1, state2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static OffsetDateTime pg_timestamptz_in(String str, int typmod) { - var _result = _meos_a.pg_timestamptz_in(str, typmod); + public static Pointer temporal_tagg_finalfn(Pointer state) { + var _result = _meos_b.temporal_tagg_finalfn(state); MeosErrorHandler.checkError(); - return java.time.Instant.ofEpochSecond(_result).atOffset(java.time.ZoneOffset.UTC); + return _result; } @SuppressWarnings("unused") - public static String pg_timestamptz_out(OffsetDateTime t) { - var t_new = t.toEpochSecond(); - var _result = _meos_a.pg_timestamptz_out(t_new); + public static Pointer temporal_tcount_transfn(Pointer state, Pointer temp) { + var _result = _meos_b.temporal_tcount_transfn(state, temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static String text2cstring(Pointer txt) { - var _result = _meos_a.text2cstring(txt); + public static Pointer tfloat_tmax_transfn(Pointer state, Pointer temp) { + var _result = _meos_b.tfloat_tmax_transfn(state, temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int text_cmp(Pointer txt1, Pointer txt2) { - var _result = _meos_a.text_cmp(txt1, txt2); + public static Pointer tfloat_tmin_transfn(Pointer state, Pointer temp) { + var _result = _meos_b.tfloat_tmin_transfn(state, temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer text_copy(Pointer txt) { - var _result = _meos_a.text_copy(txt); + public static Pointer tfloat_tsum_transfn(Pointer state, Pointer temp) { + var _result = _meos_b.tfloat_tsum_transfn(state, temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer text_in(String str) { - var _result = _meos_a.text_in(str); + public static Pointer tfloat_wmax_transfn(Pointer state, Pointer temp, Pointer interv) { + var _result = _meos_b.tfloat_wmax_transfn(state, temp, interv); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer text_initcap(Pointer txt) { - var _result = _meos_a.text_initcap(txt); + public static Pointer tfloat_wmin_transfn(Pointer state, Pointer temp, Pointer interv) { + var _result = _meos_b.tfloat_wmin_transfn(state, temp, interv); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer text_lower(Pointer txt) { - var _result = _meos_a.text_lower(txt); + public static Pointer tfloat_wsum_transfn(Pointer state, Pointer temp, Pointer interv) { + var _result = _meos_b.tfloat_wsum_transfn(state, temp, interv); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static String text_out(Pointer txt) { - var _result = _meos_a.text_out(txt); + public static Pointer timestamptz_tcount_transfn(Pointer state, OffsetDateTime t) { + var t_new = t.toEpochSecond(); + var _result = _meos_b.timestamptz_tcount_transfn(state, t_new); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer text_upper(Pointer txt) { - var _result = _meos_a.text_upper(txt); + public static Pointer tint_tmax_transfn(Pointer state, Pointer temp) { + var _result = _meos_b.tint_tmax_transfn(state, temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer textcat_text_text(Pointer txt1, Pointer txt2) { - var _result = _meos_a.textcat_text_text(txt1, txt2); + public static Pointer tint_tmin_transfn(Pointer state, Pointer temp) { + var _result = _meos_b.tint_tmin_transfn(state, temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static OffsetDateTime timestamptz_shift(OffsetDateTime t, Pointer interv) { - var t_new = t.toEpochSecond(); - var _result = _meos_a.timestamptz_shift(t_new, interv); + public static Pointer tint_tsum_transfn(Pointer state, Pointer temp) { + var _result = _meos_b.tint_tsum_transfn(state, temp); MeosErrorHandler.checkError(); - return java.time.Instant.ofEpochSecond(_result).atOffset(java.time.ZoneOffset.UTC); + return _result; } @SuppressWarnings("unused") - public static int timestamp_to_date(LocalDateTime t) { - var t_new = t.toInstant(java.time.ZoneOffset.UTC).getEpochSecond(); - var _result = _meos_a.timestamp_to_date(t_new); + public static Pointer tint_wmax_transfn(Pointer state, Pointer temp, Pointer interv) { + var _result = _meos_b.tint_wmax_transfn(state, temp, interv); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int timestamptz_to_date(OffsetDateTime t) { - var t_new = t.toEpochSecond(); - var _result = _meos_a.timestamptz_to_date(t_new); + public static Pointer tint_wmin_transfn(Pointer state, Pointer temp, Pointer interv) { + var _result = _meos_b.tint_wmin_transfn(state, temp, interv); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer bigintset_in(String str) { - var _result = _meos_a.bigintset_in(str); + public static Pointer tint_wsum_transfn(Pointer state, Pointer temp, Pointer interv) { + var _result = _meos_b.tint_wsum_transfn(state, temp, interv); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static String bigintset_out(Pointer set) { - var _result = _meos_a.bigintset_out(set); + public static Pointer tnumber_extent_transfn(Pointer box, Pointer temp) { + var _result = _meos_b.tnumber_extent_transfn(box, temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer bigintspan_expand(Pointer s, long value) { - var _result = _meos_a.bigintspan_expand(s, value); + public static Pointer tnumber_tavg_finalfn(Pointer state) { + var _result = _meos_b.tnumber_tavg_finalfn(state); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer bigintspan_in(String str) { - var _result = _meos_a.bigintspan_in(str); + public static Pointer tnumber_tavg_transfn(Pointer state, Pointer temp) { + var _result = _meos_b.tnumber_tavg_transfn(state, temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static String bigintspan_out(Pointer s) { - var _result = _meos_a.bigintspan_out(s); + public static Pointer tnumber_wavg_transfn(Pointer state, Pointer temp, Pointer interv) { + var _result = _meos_b.tnumber_wavg_transfn(state, temp, interv); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer bigintspanset_in(String str) { - var _result = _meos_a.bigintspanset_in(str); + public static Pointer tstzset_tcount_transfn(Pointer state, Pointer s) { + var _result = _meos_b.tstzset_tcount_transfn(state, s); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static String bigintspanset_out(Pointer ss) { - var _result = _meos_a.bigintspanset_out(ss); + public static Pointer tstzspan_tcount_transfn(Pointer state, Pointer s) { + var _result = _meos_b.tstzspan_tcount_transfn(state, s); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer dateset_in(String str) { - var _result = _meos_a.dateset_in(str); + public static Pointer tstzspanset_tcount_transfn(Pointer state, Pointer ss) { + var _result = _meos_b.tstzspanset_tcount_transfn(state, ss); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static String dateset_out(Pointer s) { - var _result = _meos_a.dateset_out(s); + public static Pointer ttext_tmax_transfn(Pointer state, Pointer temp) { + var _result = _meos_b.ttext_tmax_transfn(state, temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer datespan_in(String str) { - var _result = _meos_a.datespan_in(str); + public static Pointer ttext_tmin_transfn(Pointer state, Pointer temp) { + var _result = _meos_b.ttext_tmin_transfn(state, temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static String datespan_out(Pointer s) { - var _result = _meos_a.datespan_out(s); + public static Pointer temporal_simplify_dp(Pointer temp, double eps_dist, boolean synchronize) { + var _result = _meos_b.temporal_simplify_dp(temp, eps_dist, synchronize); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer datespanset_in(String str) { - var _result = _meos_a.datespanset_in(str); + public static Pointer temporal_simplify_max_dist(Pointer temp, double eps_dist, boolean synchronize) { + var _result = _meos_b.temporal_simplify_max_dist(temp, eps_dist, synchronize); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static String datespanset_out(Pointer ss) { - var _result = _meos_a.datespanset_out(ss); + public static Pointer temporal_simplify_min_dist(Pointer temp, double dist) { + var _result = _meos_b.temporal_simplify_min_dist(temp, dist); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer floatset_in(String str) { - var _result = _meos_a.floatset_in(str); + public static Pointer temporal_simplify_min_tdelta(Pointer temp, Pointer mint) { + var _result = _meos_b.temporal_simplify_min_tdelta(temp, mint); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static String floatset_out(Pointer set, int maxdd) { - var _result = _meos_a.floatset_out(set, maxdd); + public static Pointer temporal_tprecision(Pointer temp, Pointer duration, OffsetDateTime origin) { + var origin_new = origin.toEpochSecond(); + var _result = _meos_b.temporal_tprecision(temp, duration, origin_new); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer floatspan_expand(Pointer s, double value) { - var _result = _meos_a.floatspan_expand(s, value); + public static Pointer temporal_tsample(Pointer temp, Pointer duration, OffsetDateTime origin, int interp) { + var origin_new = origin.toEpochSecond(); + var _result = _meos_b.temporal_tsample(temp, duration, origin_new, interp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer floatspan_in(String str) { - var _result = _meos_a.floatspan_in(str); + public static double temporal_dyntimewarp_distance(Pointer temp1, Pointer temp2) { + var _result = _meos_b.temporal_dyntimewarp_distance(temp1, temp2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static String floatspan_out(Pointer s, int maxdd) { - var _result = _meos_a.floatspan_out(s, maxdd); + public static Pointer temporal_dyntimewarp_path(Pointer temp1, Pointer temp2, Pointer count) { + var _result = _meos_b.temporal_dyntimewarp_path(temp1, temp2, count); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer floatspanset_in(String str) { - var _result = _meos_a.floatspanset_in(str); + public static double temporal_frechet_distance(Pointer temp1, Pointer temp2) { + var _result = _meos_b.temporal_frechet_distance(temp1, temp2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static String floatspanset_out(Pointer ss, int maxdd) { - var _result = _meos_a.floatspanset_out(ss, maxdd); + public static Pointer temporal_frechet_path(Pointer temp1, Pointer temp2, Pointer count) { + var _result = _meos_b.temporal_frechet_path(temp1, temp2, count); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer intset_in(String str) { - var _result = _meos_a.intset_in(str); + public static double temporal_hausdorff_distance(Pointer temp1, Pointer temp2) { + var _result = _meos_b.temporal_hausdorff_distance(temp1, temp2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static String intset_out(Pointer set) { - var _result = _meos_a.intset_out(set); + public static Pointer temporal_time_bins(Pointer temp, Pointer duration, OffsetDateTime origin, Pointer count) { + var origin_new = origin.toEpochSecond(); + var _result = _meos_b.temporal_time_bins(temp, duration, origin_new, count); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer intspan_expand(Pointer s, int value) { - var _result = _meos_a.intspan_expand(s, value); + public static Pointer temporal_time_split(Pointer temp, Pointer duration, OffsetDateTime torigin, Pointer time_bins, Pointer count) { + var torigin_new = torigin.toEpochSecond(); + var _result = _meos_b.temporal_time_split(temp, duration, torigin_new, time_bins, count); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer intspan_in(String str) { - var _result = _meos_a.intspan_in(str); + public static Pointer tfloat_time_boxes(Pointer temp, Pointer duration, OffsetDateTime torigin, Pointer count) { + var torigin_new = torigin.toEpochSecond(); + var _result = _meos_b.tfloat_time_boxes(temp, duration, torigin_new, count); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static String intspan_out(Pointer s) { - var _result = _meos_a.intspan_out(s); + public static Pointer tfloat_value_bins(Pointer temp, double vsize, double vorigin, Pointer count) { + var _result = _meos_b.tfloat_value_bins(temp, vsize, vorigin, count); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer intspanset_in(String str) { - var _result = _meos_a.intspanset_in(str); + public static Pointer tfloat_value_boxes(Pointer temp, double vsize, double vorigin, Pointer count) { + var _result = _meos_b.tfloat_value_boxes(temp, vsize, vorigin, count); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static String intspanset_out(Pointer ss) { - var _result = _meos_a.intspanset_out(ss); + public static Pointer tfloat_value_split(Pointer temp, double size, double origin, Pointer bins, Pointer count) { + var _result = _meos_b.tfloat_value_split(temp, size, origin, bins, count); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static String set_as_hexwkb(Pointer s, byte variant) { - Runtime runtime = Runtime.getSystemRuntime(); - Pointer size_out = Memory.allocateDirect(runtime, Long.BYTES); - var _result = _meos_a.set_as_hexwkb(s, variant, size_out); + public static Pointer tfloat_value_time_boxes(Pointer temp, double vsize, Pointer duration, double vorigin, OffsetDateTime torigin, Pointer count) { + var torigin_new = torigin.toEpochSecond(); + var _result = _meos_b.tfloat_value_time_boxes(temp, vsize, duration, vorigin, torigin_new, count); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer set_as_wkb(Pointer s, byte variant) { - Runtime runtime = Runtime.getSystemRuntime(); - Pointer size_out = Memory.allocateDirect(runtime, Long.BYTES); - var _result = _meos_a.set_as_wkb(s, variant, size_out); + public static Pointer tfloat_value_time_split(Pointer temp, double vsize, Pointer duration, double vorigin, OffsetDateTime torigin, Pointer value_bins, Pointer time_bins, Pointer count) { + var torigin_new = torigin.toEpochSecond(); + var _result = _meos_b.tfloat_value_time_split(temp, vsize, duration, vorigin, torigin_new, value_bins, time_bins, count); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer set_from_hexwkb(String hexwkb) { - var _result = _meos_a.set_from_hexwkb(hexwkb); + public static Pointer tfloatbox_time_tiles(Pointer box, Pointer duration, OffsetDateTime torigin, Pointer count) { + var torigin_new = torigin.toEpochSecond(); + var _result = _meos_b.tfloatbox_time_tiles(box, duration, torigin_new, count); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer set_from_wkb(Pointer wkb, long size) { - var _result = _meos_a.set_from_wkb(wkb, size); + public static Pointer tfloatbox_value_tiles(Pointer box, double vsize, double vorigin, Pointer count) { + var _result = _meos_b.tfloatbox_value_tiles(box, vsize, vorigin, count); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static String span_as_hexwkb(Pointer s, byte variant) { - Runtime runtime = Runtime.getSystemRuntime(); - Pointer size_out = Memory.allocateDirect(runtime, Long.BYTES); - var _result = _meos_a.span_as_hexwkb(s, variant, size_out); + public static Pointer tfloatbox_value_time_tiles(Pointer box, double vsize, Pointer duration, double vorigin, OffsetDateTime torigin, Pointer count) { + var torigin_new = torigin.toEpochSecond(); + var _result = _meos_b.tfloatbox_value_time_tiles(box, vsize, duration, vorigin, torigin_new, count); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer span_as_wkb(Pointer s, byte variant) { - Runtime runtime = Runtime.getSystemRuntime(); - Pointer size_out = Memory.allocateDirect(runtime, Long.BYTES); - var _result = _meos_a.span_as_wkb(s, variant, size_out); + public static Pointer tint_time_boxes(Pointer temp, Pointer duration, OffsetDateTime torigin, Pointer count) { + var torigin_new = torigin.toEpochSecond(); + var _result = _meos_b.tint_time_boxes(temp, duration, torigin_new, count); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer span_from_hexwkb(String hexwkb) { - var _result = _meos_a.span_from_hexwkb(hexwkb); + public static Pointer tint_value_bins(Pointer temp, int vsize, int vorigin, Pointer count) { + var _result = _meos_b.tint_value_bins(temp, vsize, vorigin, count); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer span_from_wkb(Pointer wkb, long size) { - var _result = _meos_a.span_from_wkb(wkb, size); + public static Pointer tint_value_boxes(Pointer temp, int vsize, int vorigin, Pointer count) { + var _result = _meos_b.tint_value_boxes(temp, vsize, vorigin, count); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static String spanset_as_hexwkb(Pointer ss, byte variant) { - Runtime runtime = Runtime.getSystemRuntime(); - Pointer size_out = Memory.allocateDirect(runtime, Long.BYTES); - var _result = _meos_a.spanset_as_hexwkb(ss, variant, size_out); + public static Pointer tint_value_split(Pointer temp, int vsize, int vorigin, Pointer bins, Pointer count) { + var _result = _meos_b.tint_value_split(temp, vsize, vorigin, bins, count); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer spanset_as_wkb(Pointer ss, byte variant) { - Runtime runtime = Runtime.getSystemRuntime(); - Pointer size_out = Memory.allocateDirect(runtime, Long.BYTES); - var _result = _meos_a.spanset_as_wkb(ss, variant, size_out); + public static Pointer tint_value_time_boxes(Pointer temp, int vsize, Pointer duration, int vorigin, OffsetDateTime torigin, Pointer count) { + var torigin_new = torigin.toEpochSecond(); + var _result = _meos_b.tint_value_time_boxes(temp, vsize, duration, vorigin, torigin_new, count); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer spanset_from_hexwkb(String hexwkb) { - var _result = _meos_a.spanset_from_hexwkb(hexwkb); + public static Pointer tint_value_time_split(Pointer temp, long size, Pointer duration, int vorigin, OffsetDateTime torigin, Pointer value_bins, Pointer time_bins, Pointer count) { + var torigin_new = torigin.toEpochSecond(); + var _result = _meos_b.tint_value_time_split(temp, size, duration, vorigin, torigin_new, value_bins, time_bins, count); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer spanset_from_wkb(Pointer wkb, long size) { - var _result = _meos_a.spanset_from_wkb(wkb, size); + public static Pointer tintbox_time_tiles(Pointer box, Pointer duration, OffsetDateTime torigin, Pointer count) { + var torigin_new = torigin.toEpochSecond(); + var _result = _meos_b.tintbox_time_tiles(box, duration, torigin_new, count); MeosErrorHandler.checkError(); return _result; } - @SuppressWarnings("unused") - public static Pointer textset_in(String str) { - var _result = _meos_a.textset_in(str); + @SuppressWarnings("unused") + public static Pointer tintbox_value_tiles(Pointer box, int xsize, int xorigin, Pointer count) { + var _result = _meos_b.tintbox_value_tiles(box, xsize, xorigin, count); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static String textset_out(Pointer set) { - var _result = _meos_a.textset_out(set); + public static Pointer tintbox_value_time_tiles(Pointer box, int xsize, Pointer duration, int xorigin, OffsetDateTime torigin, Pointer count) { + var torigin_new = torigin.toEpochSecond(); + var _result = _meos_b.tintbox_value_time_tiles(box, xsize, duration, xorigin, torigin_new, count); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tstzset_in(String str) { - var _result = _meos_a.tstzset_in(str); + public static void meos_initialize_noexit_error_handler() { + _meos_b.meos_initialize_noexit_error_handler(); MeosErrorHandler.checkError(); - return _result; } @SuppressWarnings("unused") - public static String tstzset_out(Pointer set) { - var _result = _meos_a.tstzset_out(set); + public static boolean h3_are_neighbor_cells_meos(long origin, long destination) { + var _result = _meos_b.h3_are_neighbor_cells_meos(origin, destination); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tstzspan_in(String str) { - var _result = _meos_a.tstzspan_in(str); + public static long h3_cells_to_directed_edge_meos(long origin, long destination) { + var _result = _meos_b.h3_cells_to_directed_edge_meos(origin, destination); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static String tstzspan_out(Pointer s) { - var _result = _meos_a.tstzspan_out(s); + public static boolean h3_is_valid_directed_edge_meos(long edge) { + var _result = _meos_b.h3_is_valid_directed_edge_meos(edge); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tstzspanset_in(String str) { - var _result = _meos_a.tstzspanset_in(str); + public static long h3_get_directed_edge_origin_meos(long edge) { + var _result = _meos_b.h3_get_directed_edge_origin_meos(edge); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static String tstzspanset_out(Pointer ss) { - var _result = _meos_a.tstzspanset_out(ss); + public static long h3_get_directed_edge_destination_meos(long edge) { + var _result = _meos_b.h3_get_directed_edge_destination_meos(edge); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer bigintset_make(Pointer values, int count) { - var _result = _meos_a.bigintset_make(values, count); + public static long h3_cell_to_parent_meos(long origin, int resolution) { + var _result = _meos_b.h3_cell_to_parent_meos(origin, resolution); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer bigintspan_make(long lower, long upper, boolean lower_inc, boolean upper_inc) { - var _result = _meos_a.bigintspan_make(lower, upper, lower_inc, upper_inc); + public static long h3_cell_to_center_child_meos(long origin, int resolution) { + var _result = _meos_b.h3_cell_to_center_child_meos(origin, resolution); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer dateset_make(Pointer values, int count) { - var _result = _meos_a.dateset_make(values, count); + public static long h3_cell_to_child_pos_meos(long child, int parentRes) { + var _result = _meos_b.h3_cell_to_child_pos_meos(child, parentRes); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer datespan_make(int lower, int upper, boolean lower_inc, boolean upper_inc) { - var _result = _meos_a.datespan_make(lower, upper, lower_inc, upper_inc); + public static long h3_child_pos_to_cell_meos(long childPos, long parent, int childRes) { + var _result = _meos_b.h3_child_pos_to_cell_meos(childPos, parent, childRes); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer floatset_make(Pointer values, int count) { - var _result = _meos_a.floatset_make(values, count); + public static int h3_get_resolution_meos(long hex) { + var _result = _meos_b.h3_get_resolution_meos(hex); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer floatspan_make(double lower, double upper, boolean lower_inc, boolean upper_inc) { - var _result = _meos_a.floatspan_make(lower, upper, lower_inc, upper_inc); + public static int h3_get_base_cell_number_meos(long hex) { + var _result = _meos_b.h3_get_base_cell_number_meos(hex); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer intset_make(Pointer values, int count) { - var _result = _meos_a.intset_make(values, count); + public static boolean h3_is_valid_cell_meos(long hex) { + var _result = _meos_b.h3_is_valid_cell_meos(hex); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer intspan_make(int lower, int upper, boolean lower_inc, boolean upper_inc) { - var _result = _meos_a.intspan_make(lower, upper, lower_inc, upper_inc); + public static boolean h3_is_res_class_iii_meos(long hex) { + var _result = _meos_b.h3_is_res_class_iii_meos(hex); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer set_copy(Pointer s) { - var _result = _meos_a.set_copy(s); + public static boolean h3_is_pentagon_meos(long hex) { + var _result = _meos_b.h3_is_pentagon_meos(hex); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer span_copy(Pointer s) { - var _result = _meos_a.span_copy(s); + public static long h3_get_num_cells_meos(int resolution) { + var _result = _meos_b.h3_get_num_cells_meos(resolution); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer spanset_copy(Pointer ss) { - var _result = _meos_a.spanset_copy(ss); + public static long h3_grid_distance_meos(long originIndex, long h3Index) { + var _result = _meos_b.h3_grid_distance_meos(originIndex, h3Index); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer spanset_make(Pointer spans, int count) { - var _result = _meos_a.spanset_make(spans, count); + public static long h3_cell_to_vertex_meos(long cell, int vertexNum) { + var _result = _meos_b.h3_cell_to_vertex_meos(cell, vertexNum); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer textset_make(Pointer values, int count) { - var _result = _meos_a.textset_make(values, count); + public static boolean h3_is_valid_vertex_meos(long vertex) { + var _result = _meos_b.h3_is_valid_vertex_meos(vertex); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tstzset_make(Pointer values, int count) { - var _result = _meos_a.tstzset_make(values, count); + public static long h3index_parse(String str) { + var _result = _meos_b.h3index_parse(str); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tstzspan_make(OffsetDateTime lower, OffsetDateTime upper, boolean lower_inc, boolean upper_inc) { - var lower_new = lower.toEpochSecond(); - var upper_new = upper.toEpochSecond(); - var _result = _meos_a.tstzspan_make(lower_new, upper_new, lower_inc, upper_inc); + public static String h3index_to_string(long cell) { + var _result = _meos_b.h3index_to_string(cell); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer bigint_to_set(long i) { - var _result = _meos_a.bigint_to_set(i); + public static boolean h3index_eq(long a, long b) { + var _result = _meos_b.h3index_eq(a, b); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer bigint_to_span(int i) { - var _result = _meos_a.bigint_to_span(i); + public static boolean h3index_ne(long a, long b) { + var _result = _meos_b.h3index_ne(a, b); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer bigint_to_spanset(int i) { - var _result = _meos_a.bigint_to_spanset(i); + public static boolean h3index_lt(long a, long b) { + var _result = _meos_b.h3index_lt(a, b); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer date_to_set(int d) { - var _result = _meos_a.date_to_set(d); + public static boolean h3index_le(long a, long b) { + var _result = _meos_b.h3index_le(a, b); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer date_to_span(int d) { - var _result = _meos_a.date_to_span(d); + public static boolean h3index_gt(long a, long b) { + var _result = _meos_b.h3index_gt(a, b); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer date_to_spanset(int d) { - var _result = _meos_a.date_to_spanset(d); + public static boolean h3index_ge(long a, long b) { + var _result = _meos_b.h3index_ge(a, b); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer dateset_to_tstzset(Pointer s) { - var _result = _meos_a.dateset_to_tstzset(s); + public static int h3index_cmp(long a, long b) { + var _result = _meos_b.h3index_cmp(a, b); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer datespan_to_tstzspan(Pointer s) { - var _result = _meos_a.datespan_to_tstzspan(s); + public static int h3index_hash(long cell) { + var _result = _meos_b.h3index_hash(cell); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer datespanset_to_tstzspanset(Pointer ss) { - var _result = _meos_a.datespanset_to_tstzspanset(ss); + public static Pointer h3_grid_disk(long origin, int k) { + var _result = _meos_b.h3_grid_disk(origin, k); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer float_to_set(double d) { - var _result = _meos_a.float_to_set(d); + public static Pointer h3_grid_ring(long origin, int k) { + var _result = _meos_b.h3_grid_ring(origin, k); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer float_to_span(double d) { - var _result = _meos_a.float_to_span(d); + public static Pointer h3_grid_path_cells(long start, long end) { + var _result = _meos_b.h3_grid_path_cells(start, end); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer float_to_spanset(double d) { - var _result = _meos_a.float_to_spanset(d); + public static Pointer h3_cell_to_children(long origin, int childRes) { + var _result = _meos_b.h3_cell_to_children(origin, childRes); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer floatset_to_intset(Pointer s) { - var _result = _meos_a.floatset_to_intset(s); + public static Pointer h3_compact_cells(Pointer cells) { + var _result = _meos_b.h3_compact_cells(cells); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer floatspan_to_intspan(Pointer s) { - var _result = _meos_a.floatspan_to_intspan(s); + public static Pointer h3_uncompact_cells(Pointer cells, int res) { + var _result = _meos_b.h3_uncompact_cells(cells, res); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer floatspanset_to_intspanset(Pointer ss) { - var _result = _meos_a.floatspanset_to_intspanset(ss); + public static Pointer h3_origin_to_directed_edges(long origin) { + var _result = _meos_b.h3_origin_to_directed_edges(origin); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer int_to_set(int i) { - var _result = _meos_a.int_to_set(i); + public static Pointer h3_cell_to_vertexes(long cell) { + var _result = _meos_b.h3_cell_to_vertexes(cell); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer int_to_span(int i) { - var _result = _meos_a.int_to_span(i); + public static Pointer h3_get_icosahedron_faces(long cell) { + var _result = _meos_b.h3_get_icosahedron_faces(cell); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer int_to_spanset(int i) { - var _result = _meos_a.int_to_spanset(i); + public static boolean ensure_valid_th3index_th3index(Pointer temp1, Pointer temp2) { + var _result = _meos_b.ensure_valid_th3index_th3index(temp1, temp2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer intset_to_floatset(Pointer s) { - var _result = _meos_a.intset_to_floatset(s); + public static boolean ensure_valid_th3index_h3index(Pointer temp, long cell) { + var _result = _meos_b.ensure_valid_th3index_h3index(temp, cell); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer intspan_to_floatspan(Pointer s) { - var _result = _meos_a.intspan_to_floatspan(s); + public static boolean ensure_valid_th3index_tgeogpoint(Pointer temp1, Pointer temp2) { + var _result = _meos_b.ensure_valid_th3index_tgeogpoint(temp1, temp2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer intspanset_to_floatspanset(Pointer ss) { - var _result = _meos_a.intspanset_to_floatspanset(ss); + public static int datum2_h3index_eq(int d1, int d2, int type) { + var _result = _meos_b.datum2_h3index_eq(d1, d2, type); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer set_to_span(Pointer s) { - var _result = _meos_a.set_to_span(s); + public static int datum2_h3index_ne(int d1, int d2, int type) { + var _result = _meos_b.datum2_h3index_ne(d1, d2, type); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer set_to_spanset(Pointer s) { - var _result = _meos_a.set_to_spanset(s); + public static void th3indexinst_set_stbox(Pointer inst, Pointer box) { + _meos_b.th3indexinst_set_stbox(inst, box); MeosErrorHandler.checkError(); - return _result; } @SuppressWarnings("unused") - public static Pointer span_to_spanset(Pointer s) { - var _result = _meos_a.span_to_spanset(s); + public static void th3indexinstarr_set_stbox(Pointer instants, int count, Pointer box) { + _meos_b.th3indexinstarr_set_stbox(instants, count, box); MeosErrorHandler.checkError(); - return _result; } @SuppressWarnings("unused") - public static Pointer text_to_set(Pointer txt) { - var _result = _meos_a.text_to_set(txt); + public static void th3indexseq_expand_stbox(Pointer seq, Pointer inst) { + _meos_b.th3indexseq_expand_stbox(seq, inst); MeosErrorHandler.checkError(); - return _result; } @SuppressWarnings("unused") - public static Pointer timestamptz_to_set(OffsetDateTime t) { - var t_new = t.toEpochSecond(); - var _result = _meos_a.timestamptz_to_set(t_new); + public static long h3_gs_point_to_cell(Pointer point, int resolution) { + var _result = _meos_b.h3_gs_point_to_cell(point, resolution); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer timestamptz_to_span(OffsetDateTime t) { - var t_new = t.toEpochSecond(); - var _result = _meos_a.timestamptz_to_span(t_new); + public static Pointer h3_cell_to_gs_point(long cell) { + var _result = _meos_b.h3_cell_to_gs_point(cell); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer timestamptz_to_spanset(OffsetDateTime t) { - var t_new = t.toEpochSecond(); - var _result = _meos_a.timestamptz_to_spanset(t_new); + public static Pointer h3_cell_to_gs_boundary(long cell) { + var _result = _meos_b.h3_cell_to_gs_boundary(cell); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tstzset_to_dateset(Pointer s) { - var _result = _meos_a.tstzset_to_dateset(s); + public static Pointer cell_boundary_to_gs(Pointer bnd) { + var _result = _meos_b.cell_boundary_to_gs(bnd); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tstzspan_to_datespan(Pointer s) { - var _result = _meos_a.tstzspan_to_datespan(s); + public static double h3_sample_step_deg(int resolution) { + var _result = _meos_b.h3_sample_step_deg(resolution); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tstzspanset_to_datespanset(Pointer ss) { - var _result = _meos_a.tstzspanset_to_datespanset(ss); + public static long h3_latlng_deg_to_cell(double lat_deg, double lng_deg, int resolution) { + var _result = _meos_b.h3_latlng_deg_to_cell(lat_deg, lng_deg, resolution); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static long bigintset_end_value(Pointer s) { - var _result = _meos_a.bigintset_end_value(s); + public static long h3_cell_to_parent_next_meos(long cell) { + var _result = _meos_b.h3_cell_to_parent_next_meos(cell); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static long bigintset_start_value(Pointer s) { - var _result = _meos_a.bigintset_start_value(s); + public static long h3_cell_to_center_child_next_meos(long cell) { + var _result = _meos_b.h3_cell_to_center_child_next_meos(cell); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer bigintset_value_n(Pointer s, int n) { - boolean out; - Runtime runtime = Runtime.getSystemRuntime(); - Pointer result = Memory.allocateDirect(runtime, Long.BYTES); - out = _meos_a.bigintset_value_n(s, n, result); + public static Pointer h3_directed_edge_to_gs_boundary(long edge) { + var _result = _meos_b.h3_directed_edge_to_gs_boundary(edge); MeosErrorHandler.checkError(); - return out ? result : null; + return _result; } @SuppressWarnings("unused") - public static Pointer bigintset_values(Pointer s) { - var _result = _meos_a.bigintset_values(s); + public static Pointer h3_vertex_to_gs_point(long vertex) { + var _result = _meos_b.h3_vertex_to_gs_point(vertex); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static long bigintspan_lower(Pointer s) { - var _result = _meos_a.bigintspan_lower(s); + public static Pointer h3_cell_to_local_ij_meos(long origin, long cell) { + var _result = _meos_b.h3_cell_to_local_ij_meos(origin, cell); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static long bigintspan_upper(Pointer s) { - var _result = _meos_a.bigintspan_upper(s); + public static long h3_local_ij_to_cell_meos(long origin, Pointer coord) { + var _result = _meos_b.h3_local_ij_to_cell_meos(origin, coord); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static long bigintspan_width(Pointer s) { - var _result = _meos_a.bigintspan_width(s); + public static int h3_unit_from_cstring(String unit) { + var _result = _meos_b.h3_unit_from_cstring(unit); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static long bigintspanset_lower(Pointer ss) { - var _result = _meos_a.bigintspanset_lower(ss); + public static double h3_cell_area_meos(long cell, int unit) { + var _result = _meos_b.h3_cell_area_meos(cell, unit); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static long bigintspanset_upper(Pointer ss) { - var _result = _meos_a.bigintspanset_upper(ss); + public static double h3_edge_length_meos(long edge, int unit) { + var _result = _meos_b.h3_edge_length_meos(edge, unit); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static long bigintspanset_width(Pointer ss, boolean boundspan) { - var _result = _meos_a.bigintspanset_width(ss, boundspan); + public static double h3_gs_great_circle_distance_meos(Pointer a, Pointer b, int unit) { + var _result = _meos_b.h3_gs_great_circle_distance_meos(a, b, unit); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int dateset_end_value(Pointer s) { - var _result = _meos_a.dateset_end_value(s); + public static int datum_h3_get_resolution(int d) { + var _result = _meos_b.datum_h3_get_resolution(d); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int dateset_start_value(Pointer s) { - var _result = _meos_a.dateset_start_value(s); + public static int datum_h3_get_base_cell_number(int d) { + var _result = _meos_b.datum_h3_get_base_cell_number(d); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer dateset_value_n(Pointer s, int n) { - boolean out; - Runtime runtime = Runtime.getSystemRuntime(); - Pointer result = Memory.allocateDirect(runtime, Integer.BYTES); - out = _meos_a.dateset_value_n(s, n, result); + public static int datum_h3_is_valid_cell(int d) { + var _result = _meos_b.datum_h3_is_valid_cell(d); MeosErrorHandler.checkError(); - return out ? result : null; + return _result; } @SuppressWarnings("unused") - public static Pointer dateset_values(Pointer s) { - var _result = _meos_a.dateset_values(s); + public static int datum_h3_is_res_class_iii(int d) { + var _result = _meos_b.datum_h3_is_res_class_iii(d); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer datespan_duration(Pointer s) { - var _result = _meos_a.datespan_duration(s); + public static int datum_h3_is_pentagon(int d) { + var _result = _meos_b.datum_h3_is_pentagon(d); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int datespan_lower(Pointer s) { - var _result = _meos_a.datespan_lower(s); + public static int datum_h3_cell_to_parent(int cell_d, int res_d) { + var _result = _meos_b.datum_h3_cell_to_parent(cell_d, res_d); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int datespan_upper(Pointer s) { - var _result = _meos_a.datespan_upper(s); + public static int datum_h3_cell_to_parent_next(int cell_d) { + var _result = _meos_b.datum_h3_cell_to_parent_next(cell_d); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer datespanset_date_n(Pointer ss, int n) { - boolean out; - Runtime runtime = Runtime.getSystemRuntime(); - Pointer result = Memory.allocateDirect(runtime, Integer.BYTES); - out = _meos_a.datespanset_date_n(ss, n, result); + public static int datum_h3_cell_to_center_child(int cell_d, int res_d) { + var _result = _meos_b.datum_h3_cell_to_center_child(cell_d, res_d); MeosErrorHandler.checkError(); - return out ? result : null; + return _result; } @SuppressWarnings("unused") - public static Pointer datespanset_dates(Pointer ss) { - var _result = _meos_a.datespanset_dates(ss); + public static int datum_h3_cell_to_center_child_next(int cell_d) { + var _result = _meos_b.datum_h3_cell_to_center_child_next(cell_d); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer datespanset_duration(Pointer ss, boolean boundspan) { - var _result = _meos_a.datespanset_duration(ss, boundspan); + public static int datum_h3_cell_to_child_pos(int cell_d, int parent_res_d) { + var _result = _meos_b.datum_h3_cell_to_child_pos(cell_d, parent_res_d); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int datespanset_end_date(Pointer ss) { - var _result = _meos_a.datespanset_end_date(ss); + public static int datum_h3_child_pos_to_cell(int pos_d, int parent_d, int child_res_d) { + var _result = _meos_b.datum_h3_child_pos_to_cell(pos_d, parent_d, child_res_d); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int datespanset_num_dates(Pointer ss) { - var _result = _meos_a.datespanset_num_dates(ss); + public static int datum_h3_are_neighbor_cells(int origin_d, int dest_d) { + var _result = _meos_b.datum_h3_are_neighbor_cells(origin_d, dest_d); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int datespanset_start_date(Pointer ss) { - var _result = _meos_a.datespanset_start_date(ss); + public static int datum_h3_cells_to_directed_edge(int origin_d, int dest_d) { + var _result = _meos_b.datum_h3_cells_to_directed_edge(origin_d, dest_d); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static double floatset_end_value(Pointer s) { - var _result = _meos_a.floatset_end_value(s); + public static int datum_h3_is_valid_directed_edge(int d) { + var _result = _meos_b.datum_h3_is_valid_directed_edge(d); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static double floatset_start_value(Pointer s) { - var _result = _meos_a.floatset_start_value(s); + public static int datum_h3_get_directed_edge_origin(int d) { + var _result = _meos_b.datum_h3_get_directed_edge_origin(d); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer floatset_value_n(Pointer s, int n) { - boolean out; - Runtime runtime = Runtime.getSystemRuntime(); - Pointer result = Memory.allocateDirect(runtime, Double.BYTES); - out = _meos_a.floatset_value_n(s, n, result); + public static int datum_h3_get_directed_edge_destination(int d) { + var _result = _meos_b.datum_h3_get_directed_edge_destination(d); MeosErrorHandler.checkError(); - return out ? result : null; + return _result; } @SuppressWarnings("unused") - public static Pointer floatset_values(Pointer s) { - var _result = _meos_a.floatset_values(s); + public static int datum_h3_directed_edge_to_boundary(int d) { + var _result = _meos_b.datum_h3_directed_edge_to_boundary(d); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static double floatspan_lower(Pointer s) { - var _result = _meos_a.floatspan_lower(s); + public static int datum_h3_cell_to_vertex(int cell_d, int vnum_d) { + var _result = _meos_b.datum_h3_cell_to_vertex(cell_d, vnum_d); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static double floatspan_upper(Pointer s) { - var _result = _meos_a.floatspan_upper(s); + public static int datum_h3_vertex_to_latlng(int d) { + var _result = _meos_b.datum_h3_vertex_to_latlng(d); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static double floatspan_width(Pointer s) { - var _result = _meos_a.floatspan_width(s); + public static int datum_h3_is_valid_vertex(int d) { + var _result = _meos_b.datum_h3_is_valid_vertex(d); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static double floatspanset_lower(Pointer ss) { - var _result = _meos_a.floatspanset_lower(ss); + public static int datum_h3_grid_distance(int origin_d, int dest_d) { + var _result = _meos_b.datum_h3_grid_distance(origin_d, dest_d); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static double floatspanset_upper(Pointer ss) { - var _result = _meos_a.floatspanset_upper(ss); + public static int datum_h3_cell_to_local_ij(int origin_d, int cell_d) { + var _result = _meos_b.datum_h3_cell_to_local_ij(origin_d, cell_d); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static double floatspanset_width(Pointer ss, boolean boundspan) { - var _result = _meos_a.floatspanset_width(ss, boundspan); + public static int datum_h3_local_ij_to_cell(int origin_d, int coord_d) { + var _result = _meos_b.datum_h3_local_ij_to_cell(origin_d, coord_d); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int intset_end_value(Pointer s) { - var _result = _meos_a.intset_end_value(s); + public static int datum_h3_latlng_to_cell(int point_d, int res_d) { + var _result = _meos_b.datum_h3_latlng_to_cell(point_d, res_d); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int intset_start_value(Pointer s) { - var _result = _meos_a.intset_start_value(s); + public static int datum_h3_cell_to_latlng(int d) { + var _result = _meos_b.datum_h3_cell_to_latlng(d); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer intset_value_n(Pointer s, int n) { - boolean out; - Runtime runtime = Runtime.getSystemRuntime(); - Pointer result = Memory.allocateDirect(runtime, Integer.BYTES); - out = _meos_a.intset_value_n(s, n, result); + public static int datum_h3_cell_to_boundary(int d) { + var _result = _meos_b.datum_h3_cell_to_boundary(d); MeosErrorHandler.checkError(); - return out ? result : null; + return _result; } @SuppressWarnings("unused") - public static Pointer intset_values(Pointer s) { - var _result = _meos_a.intset_values(s); + public static int datum_h3_cell_area(int cell_d, int unit_d) { + var _result = _meos_b.datum_h3_cell_area(cell_d, unit_d); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int intspan_lower(Pointer s) { - var _result = _meos_a.intspan_lower(s); + public static int datum_h3_edge_length(int edge_d, int unit_d) { + var _result = _meos_b.datum_h3_edge_length(edge_d, unit_d); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int intspan_upper(Pointer s) { - var _result = _meos_a.intspan_upper(s); + public static int datum_h3_great_circle_distance(int a_d, int b_d, int unit_d) { + var _result = _meos_b.datum_h3_great_circle_distance(a_d, b_d, unit_d); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int intspan_width(Pointer s) { - var _result = _meos_a.intspan_width(s); + public static Pointer geo_as_ewkb(Pointer gs, String endian, Pointer size) { + var _result = _meos_b.geo_as_ewkb(gs, endian, size); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int intspanset_lower(Pointer ss) { - var _result = _meos_a.intspanset_lower(ss); + public static String geo_as_ewkt(Pointer gs, int precision) { + var _result = _meos_b.geo_as_ewkt(gs, precision); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int intspanset_upper(Pointer ss) { - var _result = _meos_a.intspanset_upper(ss); + public static String geo_as_geojson(Pointer gs, int option, int precision, String srs) { + var _result = _meos_b.geo_as_geojson(gs, option, precision, srs); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int intspanset_width(Pointer ss, boolean boundspan) { - var _result = _meos_a.intspanset_width(ss, boundspan); + public static String geo_as_hexewkb(Pointer gs, String endian) { + var _result = _meos_b.geo_as_hexewkb(gs, endian); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int set_hash(Pointer s) { - var _result = _meos_a.set_hash(s); + public static String geo_as_text(Pointer gs, int precision) { + var _result = _meos_b.geo_as_text(gs, precision); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static long set_hash_extended(Pointer s, long seed) { - var _result = _meos_a.set_hash_extended(s, seed); + public static Pointer geo_from_ewkb(Pointer wkb, long wkb_size, int srid) { + var _result = _meos_b.geo_from_ewkb(wkb, wkb_size, srid); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int set_num_values(Pointer s) { - var _result = _meos_a.set_num_values(s); + public static Pointer geo_from_geojson(String geojson) { + var _result = _meos_b.geo_from_geojson(geojson); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int span_hash(Pointer s) { - var _result = _meos_a.span_hash(s); + public static Pointer geo_from_text(String wkt, int srid) { + var _result = _meos_b.geo_from_text(wkt, srid); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static long span_hash_extended(Pointer s, long seed) { - var _result = _meos_a.span_hash_extended(s, seed); + public static String geo_out(Pointer gs) { + var _result = _meos_b.geo_out(gs); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean span_lower_inc(Pointer s) { - var _result = _meos_a.span_lower_inc(s); + public static Pointer geog_from_binary(String wkb_bytea) { + var _result = _meos_b.geog_from_binary(wkb_bytea); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean span_upper_inc(Pointer s) { - var _result = _meos_a.span_upper_inc(s); + public static Pointer geog_from_hexewkb(String wkt) { + var _result = _meos_b.geog_from_hexewkb(wkt); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer spanset_end_span(Pointer ss) { - var _result = _meos_a.spanset_end_span(ss); + public static Pointer geog_in(String str, int typmod) { + var _result = _meos_b.geog_in(str, typmod); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int spanset_hash(Pointer ss) { - var _result = _meos_a.spanset_hash(ss); + public static Pointer geom_from_hexewkb(String wkt) { + var _result = _meos_b.geom_from_hexewkb(wkt); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static long spanset_hash_extended(Pointer ss, long seed) { - var _result = _meos_a.spanset_hash_extended(ss, seed); + public static Pointer geom_in(String str, int typmod) { + var _result = _meos_b.geom_in(str, typmod); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean spanset_lower_inc(Pointer ss) { - var _result = _meos_a.spanset_lower_inc(ss); + public static Pointer box3d_make(double xmin, double xmax, double ymin, double ymax, double zmin, double zmax, int srid) { + var _result = _meos_b.box3d_make(xmin, xmax, ymin, ymax, zmin, zmax, srid); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int spanset_num_spans(Pointer ss) { - var _result = _meos_a.spanset_num_spans(ss); + public static String box3d_out(Pointer box, int maxdd) { + var _result = _meos_b.box3d_out(box, maxdd); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer spanset_span(Pointer ss) { - var _result = _meos_a.spanset_span(ss); + public static Pointer gbox_make(boolean hasz, double xmin, double xmax, double ymin, double ymax, double zmin, double zmax) { + var _result = _meos_b.gbox_make(hasz, xmin, xmax, ymin, ymax, zmin, zmax); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer spanset_span_n(Pointer ss, int i) { - var _result = _meos_a.spanset_span_n(ss, i); + public static String gbox_out(Pointer box, int maxdd) { + var _result = _meos_b.gbox_out(box, maxdd); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer spanset_spanarr(Pointer ss) { - var _result = _meos_a.spanset_spanarr(ss); + public static Pointer geo_copy(Pointer g) { + var _result = _meos_b.geo_copy(g); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer spanset_start_span(Pointer ss) { - var _result = _meos_a.spanset_start_span(ss); + public static Pointer geogpoint_make2d(int srid, double x, double y) { + var _result = _meos_b.geogpoint_make2d(srid, x, y); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean spanset_upper_inc(Pointer ss) { - var _result = _meos_a.spanset_upper_inc(ss); + public static Pointer geogpoint_make3dz(int srid, double x, double y, double z) { + var _result = _meos_b.geogpoint_make3dz(srid, x, y, z); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer textset_end_value(Pointer s) { - var _result = _meos_a.textset_end_value(s); + public static Pointer geompoint_make2d(int srid, double x, double y) { + var _result = _meos_b.geompoint_make2d(srid, x, y); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer textset_start_value(Pointer s) { - var _result = _meos_a.textset_start_value(s); + public static Pointer geompoint_make3dz(int srid, double x, double y, double z) { + var _result = _meos_b.geompoint_make3dz(srid, x, y, z); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer textset_value_n(Pointer s, int n) { - boolean out; - Runtime runtime = Runtime.getSystemRuntime(); - Pointer result = Memory.allocateDirect(runtime, Long.BYTES); - out = _meos_a.textset_value_n(s, n, result); - Pointer new_result = result.getPointer(0); + public static Pointer geom_to_geog(Pointer geom) { + var _result = _meos_b.geom_to_geog(geom); MeosErrorHandler.checkError(); - return out ? new_result : null; + return _result; } @SuppressWarnings("unused") - public static Pointer textset_values(Pointer s) { - var _result = _meos_a.textset_values(s); + public static Pointer geog_to_geom(Pointer geog) { + var _result = _meos_b.geog_to_geom(geog); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static OffsetDateTime tstzset_end_value(Pointer s) { - var _result = _meos_a.tstzset_end_value(s); + public static boolean geo_is_empty(Pointer g) { + var _result = _meos_c.geo_is_empty(g); MeosErrorHandler.checkError(); - return java.time.Instant.ofEpochSecond(_result).atOffset(java.time.ZoneOffset.UTC); + return _result; } @SuppressWarnings("unused") - public static OffsetDateTime tstzset_start_value(Pointer s) { - var _result = _meos_a.tstzset_start_value(s); + public static boolean geo_is_unitary(Pointer gs) { + var _result = _meos_c.geo_is_unitary(gs); MeosErrorHandler.checkError(); - return java.time.Instant.ofEpochSecond(_result).atOffset(java.time.ZoneOffset.UTC); + return _result; } @SuppressWarnings("unused") - public static Pointer tstzset_value_n(Pointer s, int n) { - boolean out; - Runtime runtime = Runtime.getSystemRuntime(); - Pointer result = Memory.allocateDirect(runtime, Long.BYTES); - out = _meos_a.tstzset_value_n(s, n, result); + public static String geo_typename(int type) { + var _result = _meos_c.geo_typename(type); MeosErrorHandler.checkError(); - return out ? result : null; + return _result; } @SuppressWarnings("unused") - public static Pointer tstzset_values(Pointer s) { - var _result = _meos_a.tstzset_values(s); + public static double geog_area(Pointer g, boolean use_spheroid) { + var _result = _meos_c.geog_area(g, use_spheroid); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tstzspan_duration(Pointer s) { - var _result = _meos_a.tstzspan_duration(s); + public static Pointer geog_centroid(Pointer g, boolean use_spheroid) { + var _result = _meos_c.geog_centroid(g, use_spheroid); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static OffsetDateTime tstzspan_lower(Pointer s) { - var _result = _meos_a.tstzspan_lower(s); + public static double geog_length(Pointer g, boolean use_spheroid) { + var _result = _meos_c.geog_length(g, use_spheroid); MeosErrorHandler.checkError(); - return java.time.Instant.ofEpochSecond(_result).atOffset(java.time.ZoneOffset.UTC); + return _result; } @SuppressWarnings("unused") - public static OffsetDateTime tstzspan_upper(Pointer s) { - var _result = _meos_a.tstzspan_upper(s); + public static double geog_perimeter(Pointer g, boolean use_spheroid) { + var _result = _meos_c.geog_perimeter(g, use_spheroid); MeosErrorHandler.checkError(); - return java.time.Instant.ofEpochSecond(_result).atOffset(java.time.ZoneOffset.UTC); + return _result; } @SuppressWarnings("unused") - public static Pointer tstzspanset_duration(Pointer ss, boolean boundspan) { - var _result = _meos_a.tstzspanset_duration(ss, boundspan); + public static Pointer geom_azimuth(Pointer gs1, Pointer gs2) { + boolean out; + Runtime runtime = Runtime.getSystemRuntime(); + Pointer result = Memory.allocateDirect(runtime, Double.BYTES); + out = _meos_c.geom_azimuth(gs1, gs2, result); MeosErrorHandler.checkError(); - return _result; + return out ? result : null; } @SuppressWarnings("unused") - public static OffsetDateTime tstzspanset_end_timestamptz(Pointer ss) { - var _result = _meos_a.tstzspanset_end_timestamptz(ss); + public static double geom_length(Pointer gs) { + var _result = _meos_c.geom_length(gs); MeosErrorHandler.checkError(); - return java.time.Instant.ofEpochSecond(_result).atOffset(java.time.ZoneOffset.UTC); + return _result; } @SuppressWarnings("unused") - public static OffsetDateTime tstzspanset_lower(Pointer ss) { - var _result = _meos_a.tstzspanset_lower(ss); + public static double geom_perimeter(Pointer gs) { + var _result = _meos_c.geom_perimeter(gs); MeosErrorHandler.checkError(); - return java.time.Instant.ofEpochSecond(_result).atOffset(java.time.ZoneOffset.UTC); + return _result; } @SuppressWarnings("unused") - public static int tstzspanset_num_timestamps(Pointer ss) { - var _result = _meos_a.tstzspanset_num_timestamps(ss); + public static int line_numpoints(Pointer gs) { + var _result = _meos_c.line_numpoints(gs); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static OffsetDateTime tstzspanset_start_timestamptz(Pointer ss) { - var _result = _meos_a.tstzspanset_start_timestamptz(ss); + public static Pointer line_point_n(Pointer geom, int n) { + var _result = _meos_c.line_point_n(geom, n); MeosErrorHandler.checkError(); - return java.time.Instant.ofEpochSecond(_result).atOffset(java.time.ZoneOffset.UTC); + return _result; } @SuppressWarnings("unused") - public static Pointer tstzspanset_timestamps(Pointer ss) { - var _result = _meos_a.tstzspanset_timestamps(ss); + public static Pointer geo_reverse(Pointer gs) { + var _result = _meos_c.geo_reverse(gs); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tstzspanset_timestamptz_n(Pointer ss, int n) { - boolean out; - Runtime runtime = Runtime.getSystemRuntime(); - Pointer result = Memory.allocateDirect(runtime, Long.BYTES); - out = _meos_a.tstzspanset_timestamptz_n(ss, n, result); + public static Pointer geo_round(Pointer gs, int maxdd) { + var _result = _meos_c.geo_round(gs, maxdd); MeosErrorHandler.checkError(); - return out ? result : null; + return _result; } @SuppressWarnings("unused") - public static OffsetDateTime tstzspanset_upper(Pointer ss) { - var _result = _meos_a.tstzspanset_upper(ss); + public static Pointer geo_set_srid(Pointer gs, int srid) { + var _result = _meos_c.geo_set_srid(gs, srid); MeosErrorHandler.checkError(); - return java.time.Instant.ofEpochSecond(_result).atOffset(java.time.ZoneOffset.UTC); + return _result; } @SuppressWarnings("unused") - public static Pointer bigintset_shift_scale(Pointer s, long shift, long width, boolean hasshift, boolean haswidth) { - var _result = _meos_a.bigintset_shift_scale(s, shift, width, hasshift, haswidth); + public static int geo_srid(Pointer gs) { + var _result = _meos_c.geo_srid(gs); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer bigintspan_shift_scale(Pointer s, long shift, long width, boolean hasshift, boolean haswidth) { - var _result = _meos_a.bigintspan_shift_scale(s, shift, width, hasshift, haswidth); + public static Pointer geo_transform(Pointer geom, int srid_to) { + var _result = _meos_c.geo_transform(geom, srid_to); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer bigintspanset_shift_scale(Pointer ss, long shift, long width, boolean hasshift, boolean haswidth) { - var _result = _meos_a.bigintspanset_shift_scale(ss, shift, width, hasshift, haswidth); + public static Pointer geo_transform_pipeline(Pointer gs, String pipeline, int srid_to, boolean is_forward) { + var _result = _meos_c.geo_transform_pipeline(gs, pipeline, srid_to, is_forward); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer dateset_shift_scale(Pointer s, int shift, int width, boolean hasshift, boolean haswidth) { - var _result = _meos_a.dateset_shift_scale(s, shift, width, hasshift, haswidth); + public static Pointer geo_collect_garray(Pointer gsarr, int count) { + var _result = _meos_c.geo_collect_garray(gsarr, count); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer datespan_shift_scale(Pointer s, int shift, int width, boolean hasshift, boolean haswidth) { - var _result = _meos_a.datespan_shift_scale(s, shift, width, hasshift, haswidth); + public static Pointer geo_makeline_garray(Pointer gsarr, int count) { + var _result = _meos_c.geo_makeline_garray(gsarr, count); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer datespanset_shift_scale(Pointer ss, int shift, int width, boolean hasshift, boolean haswidth) { - var _result = _meos_a.datespanset_shift_scale(ss, shift, width, hasshift, haswidth); + public static int geo_num_points(Pointer gs) { + var _result = _meos_c.geo_num_points(gs); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer floatset_ceil(Pointer s) { - var _result = _meos_a.floatset_ceil(s); + public static int geo_num_geos(Pointer gs) { + var _result = _meos_c.geo_num_geos(gs); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer floatset_degrees(Pointer s, boolean normalize) { - var _result = _meos_a.floatset_degrees(s, normalize); + public static Pointer geo_geo_n(Pointer geom, int n) { + var _result = _meos_c.geo_geo_n(geom, n); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer floatset_floor(Pointer s) { - var _result = _meos_a.floatset_floor(s); + public static Pointer geo_pointarr(Pointer gs, Pointer count) { + var _result = _meos_c.geo_pointarr(gs, count); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer floatset_radians(Pointer s) { - var _result = _meos_a.floatset_radians(s); + public static Pointer geo_points(Pointer gs) { + var _result = _meos_c.geo_points(gs); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer floatset_shift_scale(Pointer s, double shift, double width, boolean hasshift, boolean haswidth) { - var _result = _meos_a.floatset_shift_scale(s, shift, width, hasshift, haswidth); + public static Pointer geom_array_union(Pointer gsarr, int count) { + var _result = _meos_c.geom_array_union(gsarr, count); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer floatspan_ceil(Pointer s) { - var _result = _meos_a.floatspan_ceil(s); + public static Pointer geom_boundary(Pointer gs) { + var _result = _meos_c.geom_boundary(gs); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer floatspan_degrees(Pointer s, boolean normalize) { - var _result = _meos_a.floatspan_degrees(s, normalize); + public static Pointer geom_buffer(Pointer gs, double size, String params) { + var _result = _meos_c.geom_buffer(gs, size, params); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer floatspan_floor(Pointer s) { - var _result = _meos_a.floatspan_floor(s); + public static Pointer geom_centroid(Pointer gs) { + var _result = _meos_c.geom_centroid(gs); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer floatspan_radians(Pointer s) { - var _result = _meos_a.floatspan_radians(s); + public static Pointer geom_convex_hull(Pointer gs) { + var _result = _meos_c.geom_convex_hull(gs); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer floatspan_round(Pointer s, int maxdd) { - var _result = _meos_a.floatspan_round(s, maxdd); + public static Pointer geom_difference2d(Pointer gs1, Pointer gs2) { + var _result = _meos_c.geom_difference2d(gs1, gs2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer floatspan_shift_scale(Pointer s, double shift, double width, boolean hasshift, boolean haswidth) { - var _result = _meos_a.floatspan_shift_scale(s, shift, width, hasshift, haswidth); + public static Pointer geom_intersection2d(Pointer gs1, Pointer gs2) { + var _result = _meos_c.geom_intersection2d(gs1, gs2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer floatspanset_ceil(Pointer ss) { - var _result = _meos_a.floatspanset_ceil(ss); + public static Pointer geom_intersection2d_coll(Pointer gs1, Pointer gs2) { + var _result = _meos_c.geom_intersection2d_coll(gs1, gs2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer floatspanset_floor(Pointer ss) { - var _result = _meos_a.floatspanset_floor(ss); + public static Pointer geom_min_bounding_radius(Pointer geom, Pointer radius) { + var _result = _meos_c.geom_min_bounding_radius(geom, radius); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer floatspanset_degrees(Pointer ss, boolean normalize) { - var _result = _meos_a.floatspanset_degrees(ss, normalize); + public static Pointer geom_shortestline2d(Pointer gs1, Pointer s2) { + var _result = _meos_c.geom_shortestline2d(gs1, s2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer floatspanset_radians(Pointer ss) { - var _result = _meos_a.floatspanset_radians(ss); + public static Pointer geom_shortestline3d(Pointer gs1, Pointer s2) { + var _result = _meos_c.geom_shortestline3d(gs1, s2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer floatspanset_round(Pointer ss, int maxdd) { - var _result = _meos_a.floatspanset_round(ss, maxdd); + public static Pointer geom_unary_union(Pointer gs, double prec) { + var _result = _meos_c.geom_unary_union(gs, prec); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer floatspanset_shift_scale(Pointer ss, double shift, double width, boolean hasshift, boolean haswidth) { - var _result = _meos_a.floatspanset_shift_scale(ss, shift, width, hasshift, haswidth); + public static Pointer line_interpolate_point(Pointer gs, double distance_fraction, boolean repeat) { + var _result = _meos_c.line_interpolate_point(gs, distance_fraction, repeat); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer intset_shift_scale(Pointer s, int shift, int width, boolean hasshift, boolean haswidth) { - var _result = _meos_a.intset_shift_scale(s, shift, width, hasshift, haswidth); + public static double line_locate_point(Pointer gs1, Pointer gs2) { + var _result = _meos_c.line_locate_point(gs1, gs2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer intspan_shift_scale(Pointer s, int shift, int width, boolean hasshift, boolean haswidth) { - var _result = _meos_a.intspan_shift_scale(s, shift, width, hasshift, haswidth); + public static Pointer line_substring(Pointer gs, double from, double to) { + var _result = _meos_c.line_substring(gs, from, to); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer intspanset_shift_scale(Pointer ss, int shift, int width, boolean hasshift, boolean haswidth) { - var _result = _meos_a.intspanset_shift_scale(ss, shift, width, hasshift, haswidth); + public static boolean geog_dwithin(Pointer g1, Pointer g2, double tolerance, boolean use_spheroid) { + var _result = _meos_c.geog_dwithin(g1, g2, tolerance, use_spheroid); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tstzspan_expand(Pointer s, Pointer interv) { - var _result = _meos_a.tstzspan_expand(s, interv); + public static boolean geog_intersects(Pointer gs1, Pointer gs2, boolean use_spheroid) { + var _result = _meos_c.geog_intersects(gs1, gs2, use_spheroid); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer set_round(Pointer s, int maxdd) { - var _result = _meos_a.set_round(s, maxdd); + public static boolean geom_contains(Pointer gs1, Pointer gs2) { + var _result = _meos_c.geom_contains(gs1, gs2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer textcat_text_textset(Pointer txt, Pointer s) { - var _result = _meos_a.textcat_text_textset(txt, s); + public static boolean geom_covers(Pointer gs1, Pointer gs2) { + var _result = _meos_c.geom_covers(gs1, gs2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer textcat_textset_text(Pointer s, Pointer txt) { - var _result = _meos_a.textcat_textset_text(s, txt); + public static boolean geom_disjoint2d(Pointer gs1, Pointer gs2) { + var _result = _meos_c.geom_disjoint2d(gs1, gs2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer textset_initcap(Pointer s) { - var _result = _meos_a.textset_initcap(s); + public static boolean geom_dwithin2d(Pointer gs1, Pointer gs2, double tolerance) { + var _result = _meos_c.geom_dwithin2d(gs1, gs2, tolerance); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer textset_lower(Pointer s) { - var _result = _meos_a.textset_lower(s); + public static boolean geom_dwithin3d(Pointer gs1, Pointer gs2, double tolerance) { + var _result = _meos_c.geom_dwithin3d(gs1, gs2, tolerance); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer textset_upper(Pointer s) { - var _result = _meos_a.textset_upper(s); + public static boolean geom_intersects2d(Pointer gs1, Pointer gs2) { + var _result = _meos_c.geom_intersects2d(gs1, gs2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static OffsetDateTime timestamptz_tprecision(OffsetDateTime t, Pointer duration, OffsetDateTime torigin) { - var t_new = t.toEpochSecond(); - var torigin_new = torigin.toEpochSecond(); - var _result = _meos_a.timestamptz_tprecision(t_new, duration, torigin_new); + public static boolean geom_intersects3d(Pointer gs1, Pointer gs2) { + var _result = _meos_c.geom_intersects3d(gs1, gs2); MeosErrorHandler.checkError(); - return java.time.Instant.ofEpochSecond(_result).atOffset(java.time.ZoneOffset.UTC); + return _result; } @SuppressWarnings("unused") - public static Pointer tstzset_shift_scale(Pointer s, Pointer shift, Pointer duration) { - var _result = _meos_a.tstzset_shift_scale(s, shift, duration); + public static boolean geom_relate_pattern(Pointer gs1, Pointer gs2, String patt) { + var _result = _meos_c.geom_relate_pattern(gs1, gs2, patt); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tstzset_tprecision(Pointer s, Pointer duration, OffsetDateTime torigin) { - var torigin_new = torigin.toEpochSecond(); - var _result = _meos_a.tstzset_tprecision(s, duration, torigin_new); + public static boolean geom_touches(Pointer gs1, Pointer gs2) { + var _result = _meos_c.geom_touches(gs1, gs2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tstzspan_shift_scale(Pointer s, Pointer shift, Pointer duration) { - var _result = _meos_a.tstzspan_shift_scale(s, shift, duration); + public static Pointer geo_stboxes(Pointer gs, Pointer count) { + var _result = _meos_c.geo_stboxes(gs, count); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tstzspan_tprecision(Pointer s, Pointer duration, OffsetDateTime torigin) { - var torigin_new = torigin.toEpochSecond(); - var _result = _meos_a.tstzspan_tprecision(s, duration, torigin_new); + public static Pointer geo_split_each_n_stboxes(Pointer gs, int elem_count, Pointer count) { + var _result = _meos_c.geo_split_each_n_stboxes(gs, elem_count, count); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tstzspanset_shift_scale(Pointer ss, Pointer shift, Pointer duration) { - var _result = _meos_a.tstzspanset_shift_scale(ss, shift, duration); + public static Pointer geo_split_n_stboxes(Pointer gs, int box_count, Pointer count) { + var _result = _meos_c.geo_split_n_stboxes(gs, box_count, count); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tstzspanset_tprecision(Pointer ss, Pointer duration, OffsetDateTime torigin) { - var torigin_new = torigin.toEpochSecond(); - var _result = _meos_a.tstzspanset_tprecision(ss, duration, torigin_new); + public static double geog_distance(Pointer g1, Pointer g2) { + var _result = _meos_c.geog_distance(g1, g2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int set_cmp(Pointer s1, Pointer s2) { - var _result = _meos_a.set_cmp(s1, s2); + public static double geom_distance2d(Pointer gs1, Pointer gs2) { + var _result = _meos_c.geom_distance2d(gs1, gs2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean set_eq(Pointer s1, Pointer s2) { - var _result = _meos_a.set_eq(s1, s2); + public static double geom_distance3d(Pointer gs1, Pointer gs2) { + var _result = _meos_c.geom_distance3d(gs1, gs2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean set_ge(Pointer s1, Pointer s2) { - var _result = _meos_a.set_ge(s1, s2); + public static int geo_equals(Pointer gs1, Pointer gs2) { + var _result = _meos_c.geo_equals(gs1, gs2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean set_gt(Pointer s1, Pointer s2) { - var _result = _meos_a.set_gt(s1, s2); + public static boolean geo_same(Pointer gs1, Pointer gs2) { + var _result = _meos_c.geo_same(gs1, gs2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean set_le(Pointer s1, Pointer s2) { - var _result = _meos_a.set_le(s1, s2); + public static Pointer geogset_in(String str) { + var _result = _meos_c.geogset_in(str); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean set_lt(Pointer s1, Pointer s2) { - var _result = _meos_a.set_lt(s1, s2); + public static Pointer geomset_in(String str) { + var _result = _meos_c.geomset_in(str); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean set_ne(Pointer s1, Pointer s2) { - var _result = _meos_a.set_ne(s1, s2); + public static String spatialset_as_text(Pointer set, int maxdd) { + var _result = _meos_c.spatialset_as_text(set, maxdd); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int span_cmp(Pointer s1, Pointer s2) { - var _result = _meos_a.span_cmp(s1, s2); + public static String spatialset_as_ewkt(Pointer set, int maxdd) { + var _result = _meos_c.spatialset_as_ewkt(set, maxdd); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean span_eq(Pointer s1, Pointer s2) { - var _result = _meos_a.span_eq(s1, s2); + public static Pointer geoset_make(Pointer values, int count) { + var _result = _meos_c.geoset_make(values, count); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean span_ge(Pointer s1, Pointer s2) { - var _result = _meos_a.span_ge(s1, s2); + public static Pointer geo_to_set(Pointer gs) { + var _result = _meos_c.geo_to_set(gs); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean span_gt(Pointer s1, Pointer s2) { - var _result = _meos_a.span_gt(s1, s2); + public static Pointer geoset_end_value(Pointer s) { + var _result = _meos_c.geoset_end_value(s); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean span_le(Pointer s1, Pointer s2) { - var _result = _meos_a.span_le(s1, s2); + public static Pointer geoset_start_value(Pointer s) { + var _result = _meos_c.geoset_start_value(s); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean span_lt(Pointer s1, Pointer s2) { - var _result = _meos_a.span_lt(s1, s2); + public static Pointer geoset_value_n(Pointer s, int n) { + boolean out; + Runtime runtime = Runtime.getSystemRuntime(); + Pointer result = Memory.allocateDirect(runtime, Long.BYTES); + out = _meos_c.geoset_value_n(s, n, result); + Pointer new_result = result.getPointer(0); MeosErrorHandler.checkError(); - return _result; + return out ? new_result : null; } @SuppressWarnings("unused") - public static boolean span_ne(Pointer s1, Pointer s2) { - var _result = _meos_a.span_ne(s1, s2); + public static Pointer geoset_values(Pointer s) { + var _result = _meos_c.geoset_values(s); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int spanset_cmp(Pointer ss1, Pointer ss2) { - var _result = _meos_a.spanset_cmp(ss1, ss2); + public static boolean contained_geo_set(Pointer gs, Pointer s) { + var _result = _meos_c.contained_geo_set(gs, s); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean spanset_eq(Pointer ss1, Pointer ss2) { - var _result = _meos_a.spanset_eq(ss1, ss2); + public static boolean contains_set_geo(Pointer s, Pointer gs) { + var _result = _meos_c.contains_set_geo(s, gs); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean spanset_ge(Pointer ss1, Pointer ss2) { - var _result = _meos_a.spanset_ge(ss1, ss2); + public static Pointer geo_union_transfn(Pointer state, Pointer gs) { + var _result = _meos_c.geo_union_transfn(state, gs); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean spanset_gt(Pointer ss1, Pointer ss2) { - var _result = _meos_a.spanset_gt(ss1, ss2); + public static Pointer intersection_geo_set(Pointer gs, Pointer s) { + var _result = _meos_c.intersection_geo_set(gs, s); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean spanset_le(Pointer ss1, Pointer ss2) { - var _result = _meos_a.spanset_le(ss1, ss2); + public static Pointer intersection_set_geo(Pointer s, Pointer gs) { + var _result = _meos_c.intersection_set_geo(s, gs); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean spanset_lt(Pointer ss1, Pointer ss2) { - var _result = _meos_a.spanset_lt(ss1, ss2); + public static Pointer minus_geo_set(Pointer gs, Pointer s) { + var _result = _meos_c.minus_geo_set(gs, s); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean spanset_ne(Pointer ss1, Pointer ss2) { - var _result = _meos_a.spanset_ne(ss1, ss2); + public static Pointer minus_set_geo(Pointer s, Pointer gs) { + var _result = _meos_c.minus_set_geo(s, gs); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer set_spans(Pointer s) { - var _result = _meos_a.set_spans(s); + public static Pointer union_geo_set(Pointer gs, Pointer s) { + var _result = _meos_c.union_geo_set(gs, s); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer set_split_each_n_spans(Pointer s, int elems_per_span, Pointer count) { - var _result = _meos_a.set_split_each_n_spans(s, elems_per_span, count); + public static Pointer union_set_geo(Pointer s, Pointer gs) { + var _result = _meos_c.union_set_geo(s, gs); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer set_split_n_spans(Pointer s, int span_count, Pointer count) { - var _result = _meos_a.set_split_n_spans(s, span_count, count); + public static Pointer spatialset_set_srid(Pointer s, int srid) { + var _result = _meos_c.spatialset_set_srid(s, srid); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer spanset_spans(Pointer ss) { - var _result = _meos_a.spanset_spans(ss); + public static int spatialset_srid(Pointer s) { + var _result = _meos_c.spatialset_srid(s); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer spanset_split_each_n_spans(Pointer ss, int elems_per_span, Pointer count) { - var _result = _meos_a.spanset_split_each_n_spans(ss, elems_per_span, count); + public static Pointer spatialset_transform(Pointer s, int srid) { + var _result = _meos_c.spatialset_transform(s, srid); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer spanset_split_n_spans(Pointer ss, int span_count, Pointer count) { - var _result = _meos_a.spanset_split_n_spans(ss, span_count, count); + public static Pointer spatialset_transform_pipeline(Pointer s, String pipelinestr, int srid, boolean is_forward) { + var _result = _meos_c.spatialset_transform_pipeline(s, pipelinestr, srid, is_forward); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean adjacent_span_bigint(Pointer s, long i) { - var _result = _meos_a.adjacent_span_bigint(s, i); + public static String stbox_as_hexwkb(Pointer box, byte variant, Pointer size) { + var _result = _meos_c.stbox_as_hexwkb(box, variant, size); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean adjacent_span_date(Pointer s, int d) { - var _result = _meos_a.adjacent_span_date(s, d); + public static Pointer stbox_as_wkb(Pointer box, byte variant) { + Runtime runtime = Runtime.getSystemRuntime(); + Pointer size_out = Memory.allocateDirect(runtime, Long.BYTES); + var _result = _meos_c.stbox_as_wkb(box, variant, size_out); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean adjacent_span_float(Pointer s, double d) { - var _result = _meos_a.adjacent_span_float(s, d); + public static Pointer stbox_from_hexwkb(String hexwkb) { + var _result = _meos_c.stbox_from_hexwkb(hexwkb); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean adjacent_span_int(Pointer s, int i) { - var _result = _meos_a.adjacent_span_int(s, i); + public static Pointer stbox_from_wkb(Pointer wkb, long size) { + var _result = _meos_c.stbox_from_wkb(wkb, size); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean adjacent_span_span(Pointer s1, Pointer s2) { - var _result = _meos_a.adjacent_span_span(s1, s2); + public static Pointer stbox_in(String str) { + var _result = _meos_c.stbox_in(str); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean adjacent_span_spanset(Pointer s, Pointer ss) { - var _result = _meos_a.adjacent_span_spanset(s, ss); + public static String stbox_out(Pointer box, int maxdd) { + var _result = _meos_c.stbox_out(box, maxdd); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean adjacent_span_timestamptz(Pointer s, OffsetDateTime t) { + public static Pointer geo_timestamptz_to_stbox(Pointer gs, OffsetDateTime t) { var t_new = t.toEpochSecond(); - var _result = _meos_a.adjacent_span_timestamptz(s, t_new); + var _result = _meos_c.geo_timestamptz_to_stbox(gs, t_new); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean adjacent_spanset_bigint(Pointer ss, long i) { - var _result = _meos_a.adjacent_spanset_bigint(ss, i); + public static Pointer geo_tstzspan_to_stbox(Pointer gs, Pointer s) { + var _result = _meos_c.geo_tstzspan_to_stbox(gs, s); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean adjacent_spanset_date(Pointer ss, int d) { - var _result = _meos_a.adjacent_spanset_date(ss, d); + public static Pointer stbox_copy(Pointer box) { + var _result = _meos_c.stbox_copy(box); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean adjacent_spanset_float(Pointer ss, double d) { - var _result = _meos_a.adjacent_spanset_float(ss, d); + public static Pointer stbox_make(boolean hasx, boolean hasz, boolean geodetic, int srid, double xmin, double xmax, double ymin, double ymax, double zmin, double zmax, Pointer s) { + var _result = _meos_c.stbox_make(hasx, hasz, geodetic, srid, xmin, xmax, ymin, ymax, zmin, zmax, s); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean adjacent_spanset_int(Pointer ss, int i) { - var _result = _meos_a.adjacent_spanset_int(ss, i); + public static Pointer geo_to_stbox(Pointer gs) { + var _result = _meos_c.geo_to_stbox(gs); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean adjacent_spanset_timestamptz(Pointer ss, OffsetDateTime t) { - var t_new = t.toEpochSecond(); - var _result = _meos_a.adjacent_spanset_timestamptz(ss, t_new); + public static Pointer spatialset_to_stbox(Pointer s) { + var _result = _meos_c.spatialset_to_stbox(s); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean adjacent_spanset_span(Pointer ss, Pointer s) { - var _result = _meos_a.adjacent_spanset_span(ss, s); + public static Pointer stbox_to_box3d(Pointer box) { + var _result = _meos_c.stbox_to_box3d(box); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean adjacent_spanset_spanset(Pointer ss1, Pointer ss2) { - var _result = _meos_a.adjacent_spanset_spanset(ss1, ss2); + public static Pointer stbox_to_gbox(Pointer box) { + var _result = _meos_c.stbox_to_gbox(box); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean contained_bigint_set(long i, Pointer s) { - var _result = _meos_a.contained_bigint_set(i, s); + public static Pointer stbox_to_geo(Pointer box) { + var _result = _meos_c.stbox_to_geo(box); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean contained_bigint_span(long i, Pointer s) { - var _result = _meos_a.contained_bigint_span(i, s); + public static Pointer stbox_to_tstzspan(Pointer box) { + var _result = _meos_c.stbox_to_tstzspan(box); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean contained_bigint_spanset(long i, Pointer ss) { - var _result = _meos_a.contained_bigint_spanset(i, ss); + public static Pointer timestamptz_to_stbox(OffsetDateTime t) { + var t_new = t.toEpochSecond(); + var _result = _meos_c.timestamptz_to_stbox(t_new); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean contained_date_set(int d, Pointer s) { - var _result = _meos_a.contained_date_set(d, s); + public static Pointer tstzset_to_stbox(Pointer s) { + var _result = _meos_c.tstzset_to_stbox(s); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean contained_date_span(int d, Pointer s) { - var _result = _meos_a.contained_date_span(d, s); + public static Pointer tstzspan_to_stbox(Pointer s) { + var _result = _meos_c.tstzspan_to_stbox(s); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean contained_date_spanset(int d, Pointer ss) { - var _result = _meos_a.contained_date_spanset(d, ss); + public static Pointer tstzspanset_to_stbox(Pointer ss) { + var _result = _meos_c.tstzspanset_to_stbox(ss); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean contained_float_set(double d, Pointer s) { - var _result = _meos_a.contained_float_set(d, s); + public static double stbox_area(Pointer box, boolean spheroid) { + var _result = _meos_c.stbox_area(box, spheroid); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean contained_float_span(double d, Pointer s) { - var _result = _meos_a.contained_float_span(d, s); + public static int stbox_hash(Pointer box) { + var _result = _meos_c.stbox_hash(box); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean contained_float_spanset(double d, Pointer ss) { - var _result = _meos_a.contained_float_spanset(d, ss); + public static long stbox_hash_extended(Pointer box, long seed) { + var _result = _meos_c.stbox_hash_extended(box, seed); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean contained_int_set(int i, Pointer s) { - var _result = _meos_a.contained_int_set(i, s); + public static boolean stbox_hast(Pointer box) { + var _result = _meos_c.stbox_hast(box); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean contained_int_span(int i, Pointer s) { - var _result = _meos_a.contained_int_span(i, s); + public static boolean stbox_hasx(Pointer box) { + var _result = _meos_c.stbox_hasx(box); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean contained_int_spanset(int i, Pointer ss) { - var _result = _meos_a.contained_int_spanset(i, ss); + public static boolean stbox_hasz(Pointer box) { + var _result = _meos_c.stbox_hasz(box); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean contained_set_set(Pointer s1, Pointer s2) { - var _result = _meos_a.contained_set_set(s1, s2); + public static boolean stbox_isgeodetic(Pointer box) { + var _result = _meos_c.stbox_isgeodetic(box); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean contained_span_span(Pointer s1, Pointer s2) { - var _result = _meos_a.contained_span_span(s1, s2); + public static double stbox_perimeter(Pointer box, boolean spheroid) { + var _result = _meos_c.stbox_perimeter(box, spheroid); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean contained_span_spanset(Pointer s, Pointer ss) { - var _result = _meos_a.contained_span_spanset(s, ss); + public static Pointer stbox_tmax(Pointer box) { + boolean out; + Runtime runtime = Runtime.getSystemRuntime(); + Pointer result = Memory.allocateDirect(runtime, Long.BYTES); + out = _meos_c.stbox_tmax(box, result); MeosErrorHandler.checkError(); - return _result; + return out ? result : null; } @SuppressWarnings("unused") - public static boolean contained_spanset_span(Pointer ss, Pointer s) { - var _result = _meos_a.contained_spanset_span(ss, s); + public static Pointer stbox_tmax_inc(Pointer box) { + boolean out; + Runtime runtime = Runtime.getSystemRuntime(); + Pointer result = Memory.allocateDirect(runtime, Byte.BYTES); + out = _meos_c.stbox_tmax_inc(box, result); MeosErrorHandler.checkError(); - return _result; + return out ? result : null; } @SuppressWarnings("unused") - public static boolean contained_spanset_spanset(Pointer ss1, Pointer ss2) { - var _result = _meos_a.contained_spanset_spanset(ss1, ss2); + public static Pointer stbox_tmin(Pointer box) { + boolean out; + Runtime runtime = Runtime.getSystemRuntime(); + Pointer result = Memory.allocateDirect(runtime, Long.BYTES); + out = _meos_c.stbox_tmin(box, result); MeosErrorHandler.checkError(); - return _result; + return out ? result : null; } @SuppressWarnings("unused") - public static boolean contained_text_set(Pointer txt, Pointer s) { - var _result = _meos_a.contained_text_set(txt, s); + public static Pointer stbox_tmin_inc(Pointer box) { + boolean out; + Runtime runtime = Runtime.getSystemRuntime(); + Pointer result = Memory.allocateDirect(runtime, Byte.BYTES); + out = _meos_c.stbox_tmin_inc(box, result); MeosErrorHandler.checkError(); - return _result; + return out ? result : null; } @SuppressWarnings("unused") - public static boolean contained_timestamptz_set(OffsetDateTime t, Pointer s) { - var t_new = t.toEpochSecond(); - var _result = _meos_a.contained_timestamptz_set(t_new, s); + public static double stbox_volume(Pointer box) { + var _result = _meos_c.stbox_volume(box); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean contained_timestamptz_span(OffsetDateTime t, Pointer s) { - var t_new = t.toEpochSecond(); - var _result = _meos_a.contained_timestamptz_span(t_new, s); + public static Pointer stbox_xmax(Pointer box) { + boolean out; + Runtime runtime = Runtime.getSystemRuntime(); + Pointer result = Memory.allocateDirect(runtime, Double.BYTES); + out = _meos_c.stbox_xmax(box, result); MeosErrorHandler.checkError(); - return _result; + return out ? result : null; } @SuppressWarnings("unused") - public static boolean contained_timestamptz_spanset(OffsetDateTime t, Pointer ss) { - var t_new = t.toEpochSecond(); - var _result = _meos_a.contained_timestamptz_spanset(t_new, ss); + public static Pointer stbox_xmin(Pointer box) { + boolean out; + Runtime runtime = Runtime.getSystemRuntime(); + Pointer result = Memory.allocateDirect(runtime, Double.BYTES); + out = _meos_c.stbox_xmin(box, result); MeosErrorHandler.checkError(); - return _result; + return out ? result : null; } @SuppressWarnings("unused") - public static boolean contains_set_bigint(Pointer s, long i) { - var _result = _meos_a.contains_set_bigint(s, i); + public static Pointer stbox_ymax(Pointer box) { + boolean out; + Runtime runtime = Runtime.getSystemRuntime(); + Pointer result = Memory.allocateDirect(runtime, Double.BYTES); + out = _meos_c.stbox_ymax(box, result); MeosErrorHandler.checkError(); - return _result; + return out ? result : null; } @SuppressWarnings("unused") - public static boolean contains_set_date(Pointer s, int d) { - var _result = _meos_a.contains_set_date(s, d); + public static Pointer stbox_ymin(Pointer box) { + boolean out; + Runtime runtime = Runtime.getSystemRuntime(); + Pointer result = Memory.allocateDirect(runtime, Double.BYTES); + out = _meos_c.stbox_ymin(box, result); MeosErrorHandler.checkError(); - return _result; + return out ? result : null; } @SuppressWarnings("unused") - public static boolean contains_set_float(Pointer s, double d) { - var _result = _meos_a.contains_set_float(s, d); + public static Pointer stbox_zmax(Pointer box) { + boolean out; + Runtime runtime = Runtime.getSystemRuntime(); + Pointer result = Memory.allocateDirect(runtime, Double.BYTES); + out = _meos_c.stbox_zmax(box, result); MeosErrorHandler.checkError(); - return _result; + return out ? result : null; } @SuppressWarnings("unused") - public static boolean contains_set_int(Pointer s, int i) { - var _result = _meos_a.contains_set_int(s, i); + public static Pointer stbox_zmin(Pointer box) { + boolean out; + Runtime runtime = Runtime.getSystemRuntime(); + Pointer result = Memory.allocateDirect(runtime, Double.BYTES); + out = _meos_c.stbox_zmin(box, result); MeosErrorHandler.checkError(); - return _result; + return out ? result : null; } @SuppressWarnings("unused") - public static boolean contains_set_set(Pointer s1, Pointer s2) { - var _result = _meos_a.contains_set_set(s1, s2); + public static Pointer stbox_expand_space(Pointer box, double d) { + var _result = _meos_c.stbox_expand_space(box, d); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean contains_set_text(Pointer s, Pointer t) { - var _result = _meos_a.contains_set_text(s, t); + public static Pointer stbox_expand_time(Pointer box, Pointer interv) { + var _result = _meos_c.stbox_expand_time(box, interv); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean contains_set_timestamptz(Pointer s, OffsetDateTime t) { - var t_new = t.toEpochSecond(); - var _result = _meos_a.contains_set_timestamptz(s, t_new); + public static Pointer stbox_get_space(Pointer box) { + var _result = _meos_c.stbox_get_space(box); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean contains_span_bigint(Pointer s, long i) { - var _result = _meos_a.contains_span_bigint(s, i); + public static Pointer stbox_quad_split(Pointer box, Pointer count) { + var _result = _meos_c.stbox_quad_split(box, count); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean contains_span_date(Pointer s, int d) { - var _result = _meos_a.contains_span_date(s, d); + public static Pointer stbox_round(Pointer box, int maxdd) { + var _result = _meos_c.stbox_round(box, maxdd); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean contains_span_float(Pointer s, double d) { - var _result = _meos_a.contains_span_float(s, d); + public static Pointer stbox_shift_scale_time(Pointer box, Pointer shift, Pointer duration) { + var _result = _meos_c.stbox_shift_scale_time(box, shift, duration); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean contains_span_int(Pointer s, int i) { - var _result = _meos_a.contains_span_int(s, i); + public static Pointer stboxarr_round(Pointer boxarr, int count, int maxdd) { + var _result = _meos_c.stboxarr_round(boxarr, count, maxdd); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean contains_span_span(Pointer s1, Pointer s2) { - var _result = _meos_a.contains_span_span(s1, s2); + public static Pointer stbox_set_srid(Pointer box, int srid) { + var _result = _meos_c.stbox_set_srid(box, srid); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean contains_span_spanset(Pointer s, Pointer ss) { - var _result = _meos_a.contains_span_spanset(s, ss); + public static int stbox_srid(Pointer box) { + var _result = _meos_c.stbox_srid(box); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean contains_span_timestamptz(Pointer s, OffsetDateTime t) { - var t_new = t.toEpochSecond(); - var _result = _meos_a.contains_span_timestamptz(s, t_new); + public static Pointer stbox_transform(Pointer box, int srid) { + var _result = _meos_c.stbox_transform(box, srid); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean contains_spanset_bigint(Pointer ss, long i) { - var _result = _meos_a.contains_spanset_bigint(ss, i); + public static Pointer stbox_transform_pipeline(Pointer box, String pipelinestr, int srid, boolean is_forward) { + var _result = _meos_c.stbox_transform_pipeline(box, pipelinestr, srid, is_forward); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean contains_spanset_date(Pointer ss, int d) { - var _result = _meos_a.contains_spanset_date(ss, d); + public static boolean adjacent_stbox_stbox(Pointer box1, Pointer box2) { + var _result = _meos_c.adjacent_stbox_stbox(box1, box2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean contains_spanset_float(Pointer ss, double d) { - var _result = _meos_a.contains_spanset_float(ss, d); + public static boolean contained_stbox_stbox(Pointer box1, Pointer box2) { + var _result = _meos_c.contained_stbox_stbox(box1, box2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean contains_spanset_int(Pointer ss, int i) { - var _result = _meos_a.contains_spanset_int(ss, i); + public static boolean contains_stbox_stbox(Pointer box1, Pointer box2) { + var _result = _meos_c.contains_stbox_stbox(box1, box2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean contains_spanset_span(Pointer ss, Pointer s) { - var _result = _meos_a.contains_spanset_span(ss, s); + public static boolean overlaps_stbox_stbox(Pointer box1, Pointer box2) { + var _result = _meos_c.overlaps_stbox_stbox(box1, box2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean contains_spanset_spanset(Pointer ss1, Pointer ss2) { - var _result = _meos_a.contains_spanset_spanset(ss1, ss2); + public static boolean same_stbox_stbox(Pointer box1, Pointer box2) { + var _result = _meos_c.same_stbox_stbox(box1, box2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean contains_spanset_timestamptz(Pointer ss, OffsetDateTime t) { - var t_new = t.toEpochSecond(); - var _result = _meos_a.contains_spanset_timestamptz(ss, t_new); + public static boolean above_stbox_stbox(Pointer box1, Pointer box2) { + var _result = _meos_c.above_stbox_stbox(box1, box2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean overlaps_set_set(Pointer s1, Pointer s2) { - var _result = _meos_a.overlaps_set_set(s1, s2); + public static boolean after_stbox_stbox(Pointer box1, Pointer box2) { + var _result = _meos_c.after_stbox_stbox(box1, box2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean overlaps_span_span(Pointer s1, Pointer s2) { - var _result = _meos_a.overlaps_span_span(s1, s2); + public static boolean back_stbox_stbox(Pointer box1, Pointer box2) { + var _result = _meos_c.back_stbox_stbox(box1, box2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean overlaps_span_spanset(Pointer s, Pointer ss) { - var _result = _meos_a.overlaps_span_spanset(s, ss); + public static boolean before_stbox_stbox(Pointer box1, Pointer box2) { + var _result = _meos_c.before_stbox_stbox(box1, box2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean overlaps_spanset_span(Pointer ss, Pointer s) { - var _result = _meos_a.overlaps_spanset_span(ss, s); + public static boolean below_stbox_stbox(Pointer box1, Pointer box2) { + var _result = _meos_c.below_stbox_stbox(box1, box2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean overlaps_spanset_spanset(Pointer ss1, Pointer ss2) { - var _result = _meos_a.overlaps_spanset_spanset(ss1, ss2); + public static boolean front_stbox_stbox(Pointer box1, Pointer box2) { + var _result = _meos_c.front_stbox_stbox(box1, box2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean after_date_set(int d, Pointer s) { - var _result = _meos_a.after_date_set(d, s); + public static boolean left_stbox_stbox(Pointer box1, Pointer box2) { + var _result = _meos_c.left_stbox_stbox(box1, box2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean after_date_span(int d, Pointer s) { - var _result = _meos_a.after_date_span(d, s); + public static boolean overabove_stbox_stbox(Pointer box1, Pointer box2) { + var _result = _meos_c.overabove_stbox_stbox(box1, box2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean after_date_spanset(int d, Pointer ss) { - var _result = _meos_a.after_date_spanset(d, ss); + public static boolean overafter_stbox_stbox(Pointer box1, Pointer box2) { + var _result = _meos_c.overafter_stbox_stbox(box1, box2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean after_set_date(Pointer s, int d) { - var _result = _meos_a.after_set_date(s, d); + public static boolean overback_stbox_stbox(Pointer box1, Pointer box2) { + var _result = _meos_c.overback_stbox_stbox(box1, box2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean after_set_timestamptz(Pointer s, OffsetDateTime t) { - var t_new = t.toEpochSecond(); - var _result = _meos_a.after_set_timestamptz(s, t_new); + public static boolean overbefore_stbox_stbox(Pointer box1, Pointer box2) { + var _result = _meos_c.overbefore_stbox_stbox(box1, box2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean after_span_date(Pointer s, int d) { - var _result = _meos_a.after_span_date(s, d); + public static boolean overbelow_stbox_stbox(Pointer box1, Pointer box2) { + var _result = _meos_c.overbelow_stbox_stbox(box1, box2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean after_span_timestamptz(Pointer s, OffsetDateTime t) { - var t_new = t.toEpochSecond(); - var _result = _meos_a.after_span_timestamptz(s, t_new); + public static boolean overfront_stbox_stbox(Pointer box1, Pointer box2) { + var _result = _meos_c.overfront_stbox_stbox(box1, box2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean after_spanset_date(Pointer ss, int d) { - var _result = _meos_a.after_spanset_date(ss, d); + public static boolean overleft_stbox_stbox(Pointer box1, Pointer box2) { + var _result = _meos_c.overleft_stbox_stbox(box1, box2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean after_spanset_timestamptz(Pointer ss, OffsetDateTime t) { - var t_new = t.toEpochSecond(); - var _result = _meos_a.after_spanset_timestamptz(ss, t_new); + public static boolean overright_stbox_stbox(Pointer box1, Pointer box2) { + var _result = _meos_c.overright_stbox_stbox(box1, box2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean after_timestamptz_set(OffsetDateTime t, Pointer s) { - var t_new = t.toEpochSecond(); - var _result = _meos_a.after_timestamptz_set(t_new, s); + public static boolean right_stbox_stbox(Pointer box1, Pointer box2) { + var _result = _meos_c.right_stbox_stbox(box1, box2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean after_timestamptz_span(OffsetDateTime t, Pointer s) { - var t_new = t.toEpochSecond(); - var _result = _meos_a.after_timestamptz_span(t_new, s); + public static Pointer union_stbox_stbox(Pointer box1, Pointer box2, boolean strict) { + var _result = _meos_c.union_stbox_stbox(box1, box2, strict); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean after_timestamptz_spanset(OffsetDateTime t, Pointer ss) { - var t_new = t.toEpochSecond(); - var _result = _meos_a.after_timestamptz_spanset(t_new, ss); + public static Pointer intersection_stbox_stbox(Pointer box1, Pointer box2) { + var _result = _meos_c.intersection_stbox_stbox(box1, box2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean before_date_set(int d, Pointer s) { - var _result = _meos_a.before_date_set(d, s); + public static int stbox_cmp(Pointer box1, Pointer box2) { + var _result = _meos_c.stbox_cmp(box1, box2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean before_date_span(int d, Pointer s) { - var _result = _meos_a.before_date_span(d, s); + public static boolean stbox_eq(Pointer box1, Pointer box2) { + var _result = _meos_c.stbox_eq(box1, box2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean before_date_spanset(int d, Pointer ss) { - var _result = _meos_a.before_date_spanset(d, ss); + public static boolean stbox_ge(Pointer box1, Pointer box2) { + var _result = _meos_c.stbox_ge(box1, box2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean before_set_date(Pointer s, int d) { - var _result = _meos_a.before_set_date(s, d); + public static boolean stbox_gt(Pointer box1, Pointer box2) { + var _result = _meos_c.stbox_gt(box1, box2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean before_set_timestamptz(Pointer s, OffsetDateTime t) { - var t_new = t.toEpochSecond(); - var _result = _meos_a.before_set_timestamptz(s, t_new); + public static boolean stbox_le(Pointer box1, Pointer box2) { + var _result = _meos_c.stbox_le(box1, box2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean before_span_date(Pointer s, int d) { - var _result = _meos_a.before_span_date(s, d); + public static boolean stbox_lt(Pointer box1, Pointer box2) { + var _result = _meos_c.stbox_lt(box1, box2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean before_span_timestamptz(Pointer s, OffsetDateTime t) { - var t_new = t.toEpochSecond(); - var _result = _meos_a.before_span_timestamptz(s, t_new); + public static boolean stbox_ne(Pointer box1, Pointer box2) { + var _result = _meos_c.stbox_ne(box1, box2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean before_spanset_date(Pointer ss, int d) { - var _result = _meos_a.before_spanset_date(ss, d); + public static Pointer tgeogpoint_from_mfjson(String str) { + var _result = _meos_c.tgeogpoint_from_mfjson(str); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean before_spanset_timestamptz(Pointer ss, OffsetDateTime t) { - var t_new = t.toEpochSecond(); - var _result = _meos_a.before_spanset_timestamptz(ss, t_new); + public static Pointer tgeogpoint_in(String str) { + var _result = _meos_c.tgeogpoint_in(str); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean before_timestamptz_set(OffsetDateTime t, Pointer s) { - var t_new = t.toEpochSecond(); - var _result = _meos_a.before_timestamptz_set(t_new, s); + public static Pointer tgeography_from_mfjson(String mfjson) { + var _result = _meos_c.tgeography_from_mfjson(mfjson); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean before_timestamptz_span(OffsetDateTime t, Pointer s) { - var t_new = t.toEpochSecond(); - var _result = _meos_a.before_timestamptz_span(t_new, s); + public static Pointer tgeography_in(String str) { + var _result = _meos_c.tgeography_in(str); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean before_timestamptz_spanset(OffsetDateTime t, Pointer ss) { - var t_new = t.toEpochSecond(); - var _result = _meos_a.before_timestamptz_spanset(t_new, ss); + public static Pointer tgeometry_from_mfjson(String str) { + var _result = _meos_c.tgeometry_from_mfjson(str); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean left_bigint_set(long i, Pointer s) { - var _result = _meos_a.left_bigint_set(i, s); + public static Pointer tgeometry_in(String str) { + var _result = _meos_c.tgeometry_in(str); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean left_bigint_span(long i, Pointer s) { - var _result = _meos_a.left_bigint_span(i, s); + public static Pointer tgeompoint_from_mfjson(String str) { + var _result = _meos_c.tgeompoint_from_mfjson(str); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean left_bigint_spanset(long i, Pointer ss) { - var _result = _meos_a.left_bigint_spanset(i, ss); + public static Pointer tgeompoint_in(String str) { + var _result = _meos_c.tgeompoint_in(str); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean left_float_set(double d, Pointer s) { - var _result = _meos_a.left_float_set(d, s); + public static String tspatial_as_ewkt(Pointer temp, int maxdd) { + var _result = _meos_c.tspatial_as_ewkt(temp, maxdd); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean left_float_span(double d, Pointer s) { - var _result = _meos_a.left_float_span(d, s); + public static String tspatial_as_text(Pointer temp, int maxdd) { + var _result = _meos_c.tspatial_as_text(temp, maxdd); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean left_float_spanset(double d, Pointer ss) { - var _result = _meos_a.left_float_spanset(d, ss); + public static String tspatial_out(Pointer temp, int maxdd) { + var _result = _meos_c.tspatial_out(temp, maxdd); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean left_int_set(int i, Pointer s) { - var _result = _meos_a.left_int_set(i, s); + public static Pointer tgeo_from_base_temp(Pointer gs, Pointer temp) { + var _result = _meos_c.tgeo_from_base_temp(gs, temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean left_int_span(int i, Pointer s) { - var _result = _meos_a.left_int_span(i, s); + public static Pointer tgeoinst_make(Pointer gs, OffsetDateTime t) { + var t_new = t.toEpochSecond(); + var _result = _meos_c.tgeoinst_make(gs, t_new); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean left_int_spanset(int i, Pointer ss) { - var _result = _meos_a.left_int_spanset(i, ss); + public static Pointer tgeoseq_from_base_tstzset(Pointer gs, Pointer s) { + var _result = _meos_c.tgeoseq_from_base_tstzset(gs, s); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean left_set_bigint(Pointer s, long i) { - var _result = _meos_a.left_set_bigint(s, i); + public static Pointer tgeoseq_from_base_tstzspan(Pointer gs, Pointer s, int interp) { + var _result = _meos_c.tgeoseq_from_base_tstzspan(gs, s, interp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean left_set_float(Pointer s, double d) { - var _result = _meos_a.left_set_float(s, d); + public static Pointer tgeoseqset_from_base_tstzspanset(Pointer gs, Pointer ss, int interp) { + var _result = _meos_c.tgeoseqset_from_base_tstzspanset(gs, ss, interp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean left_set_int(Pointer s, int i) { - var _result = _meos_a.left_set_int(s, i); + public static Pointer tpoint_from_base_temp(Pointer gs, Pointer temp) { + var _result = _meos_c.tpoint_from_base_temp(gs, temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean left_set_set(Pointer s1, Pointer s2) { - var _result = _meos_a.left_set_set(s1, s2); + public static Pointer tpointinst_make(Pointer gs, OffsetDateTime t) { + var t_new = t.toEpochSecond(); + var _result = _meos_c.tpointinst_make(gs, t_new); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean left_set_text(Pointer s, Pointer txt) { - var _result = _meos_a.left_set_text(s, txt); + public static Pointer tpointseq_from_base_tstzset(Pointer gs, Pointer s) { + var _result = _meos_c.tpointseq_from_base_tstzset(gs, s); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean left_span_bigint(Pointer s, long i) { - var _result = _meos_a.left_span_bigint(s, i); + public static Pointer tpointseq_from_base_tstzspan(Pointer gs, Pointer s, int interp) { + var _result = _meos_c.tpointseq_from_base_tstzspan(gs, s, interp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean left_span_float(Pointer s, double d) { - var _result = _meos_a.left_span_float(s, d); + public static Pointer tpointseq_make_coords(Pointer xcoords, Pointer ycoords, Pointer zcoords, Pointer times, int count, int srid, boolean geodetic, boolean lower_inc, boolean upper_inc, int interp, boolean normalize) { + var _result = _meos_c.tpointseq_make_coords(xcoords, ycoords, zcoords, times, count, srid, geodetic, lower_inc, upper_inc, interp, normalize); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean left_span_int(Pointer s, int i) { - var _result = _meos_a.left_span_int(s, i); + public static Pointer tpointseqset_from_base_tstzspanset(Pointer gs, Pointer ss, int interp) { + var _result = _meos_c.tpointseqset_from_base_tstzspanset(gs, ss, interp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean left_span_span(Pointer s1, Pointer s2) { - var _result = _meos_a.left_span_span(s1, s2); + public static Pointer box3d_to_stbox(Pointer box) { + var _result = _meos_c.box3d_to_stbox(box); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean left_span_spanset(Pointer s, Pointer ss) { - var _result = _meos_a.left_span_spanset(s, ss); + public static Pointer gbox_to_stbox(Pointer box) { + var _result = _meos_c.gbox_to_stbox(box); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean left_spanset_bigint(Pointer ss, long i) { - var _result = _meos_a.left_spanset_bigint(ss, i); + public static Pointer geomeas_to_tpoint(Pointer gs) { + var _result = _meos_c.geomeas_to_tpoint(gs); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean left_spanset_float(Pointer ss, double d) { - var _result = _meos_a.left_spanset_float(ss, d); + public static Pointer tgeogpoint_to_tgeography(Pointer temp) { + var _result = _meos_c.tgeogpoint_to_tgeography(temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean left_spanset_int(Pointer ss, int i) { - var _result = _meos_a.left_spanset_int(ss, i); + public static Pointer tgeography_to_tgeogpoint(Pointer temp) { + var _result = _meos_c.tgeography_to_tgeogpoint(temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean left_spanset_span(Pointer ss, Pointer s) { - var _result = _meos_a.left_spanset_span(ss, s); + public static Pointer tgeography_to_tgeometry(Pointer temp) { + var _result = _meos_c.tgeography_to_tgeometry(temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean left_spanset_spanset(Pointer ss1, Pointer ss2) { - var _result = _meos_a.left_spanset_spanset(ss1, ss2); + public static Pointer tgeometry_to_tgeography(Pointer temp) { + var _result = _meos_c.tgeometry_to_tgeography(temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean left_text_set(Pointer txt, Pointer s) { - var _result = _meos_a.left_text_set(txt, s); + public static Pointer tgeometry_to_tgeompoint(Pointer temp) { + var _result = _meos_c.tgeometry_to_tgeompoint(temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean overafter_date_set(int d, Pointer s) { - var _result = _meos_a.overafter_date_set(d, s); + public static Pointer tgeompoint_to_tgeometry(Pointer temp) { + var _result = _meos_c.tgeompoint_to_tgeometry(temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean overafter_date_span(int d, Pointer s) { - var _result = _meos_a.overafter_date_span(d, s); + public static boolean tpoint_as_mvtgeom(Pointer temp, Pointer bounds, int extent, int buffer, boolean clip_geom, Pointer gsarr, Pointer timesarr, Pointer count) { + var _result = _meos_c.tpoint_as_mvtgeom(temp, bounds, extent, buffer, clip_geom, gsarr, timesarr, count); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean overafter_date_spanset(int d, Pointer ss) { - var _result = _meos_b.overafter_date_spanset(d, ss); + public static Pointer tpoint_tfloat_to_geomeas(Pointer tpoint, Pointer measure, boolean segmentize) { + boolean out; + Runtime runtime = Runtime.getSystemRuntime(); + Pointer result = Memory.allocateDirect(runtime, Long.BYTES); + out = _meos_c.tpoint_tfloat_to_geomeas(tpoint, measure, segmentize, result); + Pointer new_result = result.getPointer(0); MeosErrorHandler.checkError(); - return _result; + return out ? new_result : null; } @SuppressWarnings("unused") - public static boolean overafter_set_date(Pointer s, int d) { - var _result = _meos_b.overafter_set_date(s, d); + public static Pointer tspatial_to_stbox(Pointer temp) { + var _result = _meos_c.tspatial_to_stbox(temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean overafter_set_timestamptz(Pointer s, OffsetDateTime t) { - var t_new = t.toEpochSecond(); - var _result = _meos_b.overafter_set_timestamptz(s, t_new); + public static Pointer bearing_point_point(Pointer gs1, Pointer gs2) { + boolean out; + Runtime runtime = Runtime.getSystemRuntime(); + Pointer result = Memory.allocateDirect(runtime, Double.BYTES); + out = _meos_c.bearing_point_point(gs1, gs2, result); MeosErrorHandler.checkError(); - return _result; + return out ? result : null; } @SuppressWarnings("unused") - public static boolean overafter_span_date(Pointer s, int d) { - var _result = _meos_b.overafter_span_date(s, d); + public static Pointer bearing_tpoint_point(Pointer temp, Pointer gs, boolean invert) { + var _result = _meos_c.bearing_tpoint_point(temp, gs, invert); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean overafter_span_timestamptz(Pointer s, OffsetDateTime t) { - var t_new = t.toEpochSecond(); - var _result = _meos_b.overafter_span_timestamptz(s, t_new); + public static Pointer bearing_tpoint_tpoint(Pointer temp1, Pointer temp2) { + var _result = _meos_c.bearing_tpoint_tpoint(temp1, temp2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean overafter_spanset_date(Pointer ss, int d) { - var _result = _meos_b.overafter_spanset_date(ss, d); + public static Pointer tgeo_centroid(Pointer temp) { + var _result = _meos_c.tgeo_centroid(temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean overafter_spanset_timestamptz(Pointer ss, OffsetDateTime t) { - var t_new = t.toEpochSecond(); - var _result = _meos_b.overafter_spanset_timestamptz(ss, t_new); + public static Pointer tgeo_convex_hull(Pointer temp) { + var _result = _meos_c.tgeo_convex_hull(temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean overafter_timestamptz_set(OffsetDateTime t, Pointer s) { - var t_new = t.toEpochSecond(); - var _result = _meos_b.overafter_timestamptz_set(t_new, s); + public static Pointer tgeo_end_value(Pointer temp) { + var _result = _meos_c.tgeo_end_value(temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean overafter_timestamptz_span(OffsetDateTime t, Pointer s) { - var t_new = t.toEpochSecond(); - var _result = _meos_b.overafter_timestamptz_span(t_new, s); + public static Pointer tgeo_start_value(Pointer temp) { + var _result = _meos_c.tgeo_start_value(temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean overafter_timestamptz_spanset(OffsetDateTime t, Pointer ss) { - var t_new = t.toEpochSecond(); - var _result = _meos_b.overafter_timestamptz_spanset(t_new, ss); + public static Pointer tgeo_traversed_area(Pointer temp, boolean unary_union) { + var _result = _meos_c.tgeo_traversed_area(temp, unary_union); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean overbefore_date_set(int d, Pointer s) { - var _result = _meos_b.overbefore_date_set(d, s); + public static boolean tgeo_value_at_timestamptz(Pointer temp, OffsetDateTime t, boolean strict, Pointer value) { + var t_new = t.toEpochSecond(); + var _result = _meos_c.tgeo_value_at_timestamptz(temp, t_new, strict, value); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean overbefore_date_span(int d, Pointer s) { - var _result = _meos_b.overbefore_date_span(d, s); + public static Pointer tgeo_value_n(Pointer temp, int n) { + boolean out; + Runtime runtime = Runtime.getSystemRuntime(); + Pointer result = Memory.allocateDirect(runtime, Long.BYTES); + out = _meos_c.tgeo_value_n(temp, n, result); + Pointer new_result = result.getPointer(0); MeosErrorHandler.checkError(); - return _result; + return out ? new_result : null; } @SuppressWarnings("unused") - public static boolean overbefore_date_spanset(int d, Pointer ss) { - var _result = _meos_b.overbefore_date_spanset(d, ss); + public static Pointer tgeo_values(Pointer temp, Pointer count) { + var _result = _meos_c.tgeo_values(temp, count); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean overbefore_set_date(Pointer s, int d) { - var _result = _meos_b.overbefore_set_date(s, d); + public static Pointer tpoint_angular_difference(Pointer temp) { + var _result = _meos_c.tpoint_angular_difference(temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean overbefore_set_timestamptz(Pointer s, OffsetDateTime t) { - var t_new = t.toEpochSecond(); - var _result = _meos_b.overbefore_set_timestamptz(s, t_new); + public static Pointer tpoint_azimuth(Pointer temp) { + var _result = _meos_c.tpoint_azimuth(temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean overbefore_span_date(Pointer s, int d) { - var _result = _meos_b.overbefore_span_date(s, d); + public static Pointer tpoint_cumulative_length(Pointer temp) { + var _result = _meos_c.tpoint_cumulative_length(temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean overbefore_span_timestamptz(Pointer s, OffsetDateTime t) { - var t_new = t.toEpochSecond(); - var _result = _meos_b.overbefore_span_timestamptz(s, t_new); + public static Pointer tpoint_direction(Pointer temp) { + boolean out; + Runtime runtime = Runtime.getSystemRuntime(); + Pointer result = Memory.allocateDirect(runtime, Double.BYTES); + out = _meos_c.tpoint_direction(temp, result); MeosErrorHandler.checkError(); - return _result; + return out ? result : null; } @SuppressWarnings("unused") - public static boolean overbefore_spanset_date(Pointer ss, int d) { - var _result = _meos_b.overbefore_spanset_date(ss, d); + public static Pointer tpoint_get_x(Pointer temp) { + var _result = _meos_c.tpoint_get_x(temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean overbefore_spanset_timestamptz(Pointer ss, OffsetDateTime t) { - var t_new = t.toEpochSecond(); - var _result = _meos_b.overbefore_spanset_timestamptz(ss, t_new); + public static Pointer tpoint_get_y(Pointer temp) { + var _result = _meos_c.tpoint_get_y(temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean overbefore_timestamptz_set(OffsetDateTime t, Pointer s) { - var t_new = t.toEpochSecond(); - var _result = _meos_b.overbefore_timestamptz_set(t_new, s); + public static Pointer tpoint_get_z(Pointer temp) { + var _result = _meos_c.tpoint_get_z(temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean overbefore_timestamptz_span(OffsetDateTime t, Pointer s) { - var t_new = t.toEpochSecond(); - var _result = _meos_b.overbefore_timestamptz_span(t_new, s); + public static boolean tpoint_is_simple(Pointer temp) { + var _result = _meos_c.tpoint_is_simple(temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean overbefore_timestamptz_spanset(OffsetDateTime t, Pointer ss) { - var t_new = t.toEpochSecond(); - var _result = _meos_b.overbefore_timestamptz_spanset(t_new, ss); + public static double tpoint_length(Pointer temp) { + var _result = _meos_c.tpoint_length(temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean overleft_bigint_set(long i, Pointer s) { - var _result = _meos_b.overleft_bigint_set(i, s); + public static Pointer tpoint_speed(Pointer temp) { + var _result = _meos_c.tpoint_speed(temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean overleft_bigint_span(long i, Pointer s) { - var _result = _meos_b.overleft_bigint_span(i, s); + public static Pointer tpoint_trajectory(Pointer temp, boolean unary_union) { + var _result = _meos_c.tpoint_trajectory(temp, unary_union); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean overleft_bigint_spanset(long i, Pointer ss) { - var _result = _meos_b.overleft_bigint_spanset(i, ss); + public static Pointer tpoint_twcentroid(Pointer temp) { + var _result = _meos_c.tpoint_twcentroid(temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean overleft_float_set(double d, Pointer s) { - var _result = _meos_b.overleft_float_set(d, s); + public static Pointer tgeo_affine(Pointer temp, Pointer a) { + var _result = _meos_c.tgeo_affine(temp, a); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean overleft_float_span(double d, Pointer s) { - var _result = _meos_b.overleft_float_span(d, s); + public static Pointer tgeo_scale(Pointer temp, Pointer scale, Pointer sorigin) { + var _result = _meos_c.tgeo_scale(temp, scale, sorigin); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean overleft_float_spanset(double d, Pointer ss) { - var _result = _meos_b.overleft_float_spanset(d, ss); + public static Pointer tpoint_make_simple(Pointer temp, Pointer count) { + var _result = _meos_c.tpoint_make_simple(temp, count); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean overleft_int_set(int i, Pointer s) { - var _result = _meos_b.overleft_int_set(i, s); + public static int tspatial_srid(Pointer temp) { + var _result = _meos_c.tspatial_srid(temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean overleft_int_span(int i, Pointer s) { - var _result = _meos_b.overleft_int_span(i, s); + public static Pointer tspatial_set_srid(Pointer temp, int srid) { + var _result = _meos_c.tspatial_set_srid(temp, srid); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean overleft_int_spanset(int i, Pointer ss) { - var _result = _meos_b.overleft_int_spanset(i, ss); + public static Pointer tspatial_transform(Pointer temp, int srid) { + var _result = _meos_c.tspatial_transform(temp, srid); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean overleft_set_bigint(Pointer s, long i) { - var _result = _meos_b.overleft_set_bigint(s, i); + public static Pointer tspatial_transform_pipeline(Pointer temp, String pipelinestr, int srid, boolean is_forward) { + var _result = _meos_c.tspatial_transform_pipeline(temp, pipelinestr, srid, is_forward); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean overleft_set_float(Pointer s, double d) { - var _result = _meos_b.overleft_set_float(s, d); + public static Pointer tgeo_at_geom(Pointer temp, Pointer gs) { + var _result = _meos_c.tgeo_at_geom(temp, gs); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean overleft_set_int(Pointer s, int i) { - var _result = _meos_b.overleft_set_int(s, i); + public static Pointer tgeo_at_stbox(Pointer temp, Pointer box, boolean border_inc) { + var _result = _meos_c.tgeo_at_stbox(temp, box, border_inc); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean overleft_set_set(Pointer s1, Pointer s2) { - var _result = _meos_b.overleft_set_set(s1, s2); + public static Pointer tgeo_at_value(Pointer temp, Pointer gs) { + var _result = _meos_c.tgeo_at_value(temp, gs); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean overleft_set_text(Pointer s, Pointer txt) { - var _result = _meos_b.overleft_set_text(s, txt); + public static Pointer tgeo_minus_geom(Pointer temp, Pointer gs) { + var _result = _meos_c.tgeo_minus_geom(temp, gs); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean overleft_span_bigint(Pointer s, long i) { - var _result = _meos_b.overleft_span_bigint(s, i); + public static Pointer tgeo_minus_stbox(Pointer temp, Pointer box, boolean border_inc) { + var _result = _meos_c.tgeo_minus_stbox(temp, box, border_inc); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean overleft_span_float(Pointer s, double d) { - var _result = _meos_b.overleft_span_float(s, d); + public static Pointer tgeo_minus_value(Pointer temp, Pointer gs) { + var _result = _meos_c.tgeo_minus_value(temp, gs); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean overleft_span_int(Pointer s, int i) { - var _result = _meos_b.overleft_span_int(s, i); + public static Pointer tpoint_at_elevation(Pointer temp, Pointer s) { + var _result = _meos_c.tpoint_at_elevation(temp, s); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean overleft_span_span(Pointer s1, Pointer s2) { - var _result = _meos_b.overleft_span_span(s1, s2); + public static Pointer tpoint_at_geom(Pointer temp, Pointer gs) { + var _result = _meos_c.tpoint_at_geom(temp, gs); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean overleft_span_spanset(Pointer s, Pointer ss) { - var _result = _meos_b.overleft_span_spanset(s, ss); + public static Pointer tpoint_at_value(Pointer temp, Pointer gs) { + var _result = _meos_c.tpoint_at_value(temp, gs); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean overleft_spanset_bigint(Pointer ss, long i) { - var _result = _meos_b.overleft_spanset_bigint(ss, i); + public static Pointer tpoint_minus_elevation(Pointer temp, Pointer s) { + var _result = _meos_c.tpoint_minus_elevation(temp, s); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean overleft_spanset_float(Pointer ss, double d) { - var _result = _meos_b.overleft_spanset_float(ss, d); + public static Pointer tpoint_minus_geom(Pointer temp, Pointer gs) { + var _result = _meos_c.tpoint_minus_geom(temp, gs); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean overleft_spanset_int(Pointer ss, int i) { - var _result = _meos_b.overleft_spanset_int(ss, i); + public static Pointer tpoint_minus_value(Pointer temp, Pointer gs) { + var _result = _meos_c.tpoint_minus_value(temp, gs); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean overleft_spanset_span(Pointer ss, Pointer s) { - var _result = _meos_b.overleft_spanset_span(ss, s); + public static int always_eq_geo_tgeo(Pointer gs, Pointer temp) { + var _result = _meos_c.always_eq_geo_tgeo(gs, temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean overleft_spanset_spanset(Pointer ss1, Pointer ss2) { - var _result = _meos_b.overleft_spanset_spanset(ss1, ss2); + public static int always_eq_tgeo_geo(Pointer temp, Pointer gs) { + var _result = _meos_c.always_eq_tgeo_geo(temp, gs); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean overleft_text_set(Pointer txt, Pointer s) { - var _result = _meos_b.overleft_text_set(txt, s); + public static int always_eq_tgeo_tgeo(Pointer temp1, Pointer temp2) { + var _result = _meos_c.always_eq_tgeo_tgeo(temp1, temp2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean overright_bigint_set(long i, Pointer s) { - var _result = _meos_b.overright_bigint_set(i, s); + public static int always_ne_geo_tgeo(Pointer gs, Pointer temp) { + var _result = _meos_c.always_ne_geo_tgeo(gs, temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean overright_bigint_span(long i, Pointer s) { - var _result = _meos_b.overright_bigint_span(i, s); + public static int always_ne_tgeo_geo(Pointer temp, Pointer gs) { + var _result = _meos_c.always_ne_tgeo_geo(temp, gs); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean overright_bigint_spanset(long i, Pointer ss) { - var _result = _meos_b.overright_bigint_spanset(i, ss); + public static int always_ne_tgeo_tgeo(Pointer temp1, Pointer temp2) { + var _result = _meos_c.always_ne_tgeo_tgeo(temp1, temp2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean overright_float_set(double d, Pointer s) { - var _result = _meos_b.overright_float_set(d, s); + public static int ever_eq_geo_tgeo(Pointer gs, Pointer temp) { + var _result = _meos_c.ever_eq_geo_tgeo(gs, temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean overright_float_span(double d, Pointer s) { - var _result = _meos_b.overright_float_span(d, s); + public static int ever_eq_tgeo_geo(Pointer temp, Pointer gs) { + var _result = _meos_c.ever_eq_tgeo_geo(temp, gs); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean overright_float_spanset(double d, Pointer ss) { - var _result = _meos_b.overright_float_spanset(d, ss); + public static int ever_eq_tgeo_tgeo(Pointer temp1, Pointer temp2) { + var _result = _meos_c.ever_eq_tgeo_tgeo(temp1, temp2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean overright_int_set(int i, Pointer s) { - var _result = _meos_b.overright_int_set(i, s); + public static int ever_ne_geo_tgeo(Pointer gs, Pointer temp) { + var _result = _meos_c.ever_ne_geo_tgeo(gs, temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean overright_int_span(int i, Pointer s) { - var _result = _meos_b.overright_int_span(i, s); + public static int ever_ne_tgeo_geo(Pointer temp, Pointer gs) { + var _result = _meos_c.ever_ne_tgeo_geo(temp, gs); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean overright_int_spanset(int i, Pointer ss) { - var _result = _meos_b.overright_int_spanset(i, ss); + public static int ever_ne_tgeo_tgeo(Pointer temp1, Pointer temp2) { + var _result = _meos_c.ever_ne_tgeo_tgeo(temp1, temp2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean overright_set_bigint(Pointer s, long i) { - var _result = _meos_b.overright_set_bigint(s, i); + public static Pointer teq_geo_tgeo(Pointer gs, Pointer temp) { + var _result = _meos_c.teq_geo_tgeo(gs, temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean overright_set_float(Pointer s, double d) { - var _result = _meos_b.overright_set_float(s, d); + public static Pointer teq_tgeo_geo(Pointer temp, Pointer gs) { + var _result = _meos_c.teq_tgeo_geo(temp, gs); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean overright_set_int(Pointer s, int i) { - var _result = _meos_b.overright_set_int(s, i); + public static Pointer tne_geo_tgeo(Pointer gs, Pointer temp) { + var _result = _meos_c.tne_geo_tgeo(gs, temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean overright_set_set(Pointer s1, Pointer s2) { - var _result = _meos_b.overright_set_set(s1, s2); + public static Pointer tne_tgeo_geo(Pointer temp, Pointer gs) { + var _result = _meos_c.tne_tgeo_geo(temp, gs); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean overright_set_text(Pointer s, Pointer txt) { - var _result = _meos_b.overright_set_text(s, txt); + public static Pointer tgeo_stboxes(Pointer temp, Pointer count) { + var _result = _meos_c.tgeo_stboxes(temp, count); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean overright_span_bigint(Pointer s, long i) { - var _result = _meos_b.overright_span_bigint(s, i); + public static Pointer tgeo_space_boxes(Pointer temp, double xsize, double ysize, double zsize, Pointer sorigin, boolean bitmatrix, boolean border_inc, Pointer count) { + var _result = _meos_c.tgeo_space_boxes(temp, xsize, ysize, zsize, sorigin, bitmatrix, border_inc, count); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean overright_span_float(Pointer s, double d) { - var _result = _meos_b.overright_span_float(s, d); + public static Pointer tgeo_space_time_boxes(Pointer temp, double xsize, double ysize, double zsize, Pointer duration, Pointer sorigin, OffsetDateTime torigin, boolean bitmatrix, boolean border_inc, Pointer count) { + var torigin_new = torigin.toEpochSecond(); + var _result = _meos_c.tgeo_space_time_boxes(temp, xsize, ysize, zsize, duration, sorigin, torigin_new, bitmatrix, border_inc, count); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean overright_span_int(Pointer s, int i) { - var _result = _meos_b.overright_span_int(s, i); + public static Pointer tgeo_split_each_n_stboxes(Pointer temp, int elem_count, Pointer count) { + var _result = _meos_c.tgeo_split_each_n_stboxes(temp, elem_count, count); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean overright_span_span(Pointer s1, Pointer s2) { - var _result = _meos_b.overright_span_span(s1, s2); + public static Pointer tgeo_split_n_stboxes(Pointer temp, int box_count, Pointer count) { + var _result = _meos_c.tgeo_split_n_stboxes(temp, box_count, count); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean overright_span_spanset(Pointer s, Pointer ss) { - var _result = _meos_b.overright_span_spanset(s, ss); + public static boolean adjacent_stbox_tspatial(Pointer box, Pointer temp) { + var _result = _meos_c.adjacent_stbox_tspatial(box, temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean overright_spanset_bigint(Pointer ss, long i) { - var _result = _meos_b.overright_spanset_bigint(ss, i); + public static boolean adjacent_tspatial_stbox(Pointer temp, Pointer box) { + var _result = _meos_c.adjacent_tspatial_stbox(temp, box); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean overright_spanset_float(Pointer ss, double d) { - var _result = _meos_b.overright_spanset_float(ss, d); + public static boolean adjacent_tspatial_tspatial(Pointer temp1, Pointer temp2) { + var _result = _meos_c.adjacent_tspatial_tspatial(temp1, temp2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean overright_spanset_int(Pointer ss, int i) { - var _result = _meos_b.overright_spanset_int(ss, i); + public static boolean contained_stbox_tspatial(Pointer box, Pointer temp) { + var _result = _meos_c.contained_stbox_tspatial(box, temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean overright_spanset_span(Pointer ss, Pointer s) { - var _result = _meos_b.overright_spanset_span(ss, s); + public static boolean contained_tspatial_stbox(Pointer temp, Pointer box) { + var _result = _meos_c.contained_tspatial_stbox(temp, box); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean overright_spanset_spanset(Pointer ss1, Pointer ss2) { - var _result = _meos_b.overright_spanset_spanset(ss1, ss2); + public static boolean contained_tspatial_tspatial(Pointer temp1, Pointer temp2) { + var _result = _meos_c.contained_tspatial_tspatial(temp1, temp2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean overright_text_set(Pointer txt, Pointer s) { - var _result = _meos_b.overright_text_set(txt, s); + public static boolean contains_stbox_tspatial(Pointer box, Pointer temp) { + var _result = _meos_c.contains_stbox_tspatial(box, temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean right_bigint_set(long i, Pointer s) { - var _result = _meos_b.right_bigint_set(i, s); + public static boolean contains_tspatial_stbox(Pointer temp, Pointer box) { + var _result = _meos_c.contains_tspatial_stbox(temp, box); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean right_bigint_span(long i, Pointer s) { - var _result = _meos_b.right_bigint_span(i, s); + public static boolean contains_tspatial_tspatial(Pointer temp1, Pointer temp2) { + var _result = _meos_c.contains_tspatial_tspatial(temp1, temp2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean right_bigint_spanset(long i, Pointer ss) { - var _result = _meos_b.right_bigint_spanset(i, ss); + public static boolean overlaps_stbox_tspatial(Pointer box, Pointer temp) { + var _result = _meos_c.overlaps_stbox_tspatial(box, temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean right_float_set(double d, Pointer s) { - var _result = _meos_b.right_float_set(d, s); + public static boolean overlaps_tspatial_stbox(Pointer temp, Pointer box) { + var _result = _meos_c.overlaps_tspatial_stbox(temp, box); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean right_float_span(double d, Pointer s) { - var _result = _meos_b.right_float_span(d, s); + public static boolean overlaps_tspatial_tspatial(Pointer temp1, Pointer temp2) { + var _result = _meos_c.overlaps_tspatial_tspatial(temp1, temp2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean right_float_spanset(double d, Pointer ss) { - var _result = _meos_b.right_float_spanset(d, ss); + public static boolean same_stbox_tspatial(Pointer box, Pointer temp) { + var _result = _meos_c.same_stbox_tspatial(box, temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean right_int_set(int i, Pointer s) { - var _result = _meos_b.right_int_set(i, s); + public static boolean same_tspatial_stbox(Pointer temp, Pointer box) { + var _result = _meos_c.same_tspatial_stbox(temp, box); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean right_int_span(int i, Pointer s) { - var _result = _meos_b.right_int_span(i, s); + public static boolean same_tspatial_tspatial(Pointer temp1, Pointer temp2) { + var _result = _meos_c.same_tspatial_tspatial(temp1, temp2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean right_int_spanset(int i, Pointer ss) { - var _result = _meos_b.right_int_spanset(i, ss); + public static boolean above_stbox_tspatial(Pointer box, Pointer temp) { + var _result = _meos_c.above_stbox_tspatial(box, temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean right_set_bigint(Pointer s, long i) { - var _result = _meos_b.right_set_bigint(s, i); + public static boolean above_tspatial_stbox(Pointer temp, Pointer box) { + var _result = _meos_c.above_tspatial_stbox(temp, box); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean right_set_float(Pointer s, double d) { - var _result = _meos_b.right_set_float(s, d); + public static boolean above_tspatial_tspatial(Pointer temp1, Pointer temp2) { + var _result = _meos_c.above_tspatial_tspatial(temp1, temp2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean right_set_int(Pointer s, int i) { - var _result = _meos_b.right_set_int(s, i); + public static boolean after_stbox_tspatial(Pointer box, Pointer temp) { + var _result = _meos_c.after_stbox_tspatial(box, temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean right_set_set(Pointer s1, Pointer s2) { - var _result = _meos_b.right_set_set(s1, s2); + public static boolean after_tspatial_stbox(Pointer temp, Pointer box) { + var _result = _meos_c.after_tspatial_stbox(temp, box); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean right_set_text(Pointer s, Pointer txt) { - var _result = _meos_b.right_set_text(s, txt); + public static boolean after_tspatial_tspatial(Pointer temp1, Pointer temp2) { + var _result = _meos_c.after_tspatial_tspatial(temp1, temp2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean right_span_bigint(Pointer s, long i) { - var _result = _meos_b.right_span_bigint(s, i); + public static boolean back_stbox_tspatial(Pointer box, Pointer temp) { + var _result = _meos_c.back_stbox_tspatial(box, temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean right_span_float(Pointer s, double d) { - var _result = _meos_b.right_span_float(s, d); + public static boolean back_tspatial_stbox(Pointer temp, Pointer box) { + var _result = _meos_c.back_tspatial_stbox(temp, box); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean right_span_int(Pointer s, int i) { - var _result = _meos_b.right_span_int(s, i); + public static boolean back_tspatial_tspatial(Pointer temp1, Pointer temp2) { + var _result = _meos_c.back_tspatial_tspatial(temp1, temp2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean right_span_span(Pointer s1, Pointer s2) { - var _result = _meos_b.right_span_span(s1, s2); + public static boolean before_stbox_tspatial(Pointer box, Pointer temp) { + var _result = _meos_c.before_stbox_tspatial(box, temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean right_span_spanset(Pointer s, Pointer ss) { - var _result = _meos_b.right_span_spanset(s, ss); + public static boolean before_tspatial_stbox(Pointer temp, Pointer box) { + var _result = _meos_c.before_tspatial_stbox(temp, box); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean right_spanset_bigint(Pointer ss, long i) { - var _result = _meos_b.right_spanset_bigint(ss, i); + public static boolean before_tspatial_tspatial(Pointer temp1, Pointer temp2) { + var _result = _meos_c.before_tspatial_tspatial(temp1, temp2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean right_spanset_float(Pointer ss, double d) { - var _result = _meos_b.right_spanset_float(ss, d); + public static boolean below_stbox_tspatial(Pointer box, Pointer temp) { + var _result = _meos_c.below_stbox_tspatial(box, temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean right_spanset_int(Pointer ss, int i) { - var _result = _meos_b.right_spanset_int(ss, i); + public static boolean below_tspatial_stbox(Pointer temp, Pointer box) { + var _result = _meos_c.below_tspatial_stbox(temp, box); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean right_spanset_span(Pointer ss, Pointer s) { - var _result = _meos_b.right_spanset_span(ss, s); + public static boolean below_tspatial_tspatial(Pointer temp1, Pointer temp2) { + var _result = _meos_c.below_tspatial_tspatial(temp1, temp2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean right_spanset_spanset(Pointer ss1, Pointer ss2) { - var _result = _meos_b.right_spanset_spanset(ss1, ss2); + public static boolean front_stbox_tspatial(Pointer box, Pointer temp) { + var _result = _meos_c.front_stbox_tspatial(box, temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean right_text_set(Pointer txt, Pointer s) { - var _result = _meos_b.right_text_set(txt, s); + public static boolean front_tspatial_stbox(Pointer temp, Pointer box) { + var _result = _meos_c.front_tspatial_stbox(temp, box); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer intersection_bigint_set(long i, Pointer s) { - var _result = _meos_b.intersection_bigint_set(i, s); + public static boolean front_tspatial_tspatial(Pointer temp1, Pointer temp2) { + var _result = _meos_c.front_tspatial_tspatial(temp1, temp2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer intersection_date_set(int d, Pointer s) { - var _result = _meos_b.intersection_date_set(d, s); + public static boolean left_stbox_tspatial(Pointer box, Pointer temp) { + var _result = _meos_c.left_stbox_tspatial(box, temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer intersection_float_set(double d, Pointer s) { - var _result = _meos_b.intersection_float_set(d, s); + public static boolean left_tspatial_stbox(Pointer temp, Pointer box) { + var _result = _meos_c.left_tspatial_stbox(temp, box); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer intersection_int_set(int i, Pointer s) { - var _result = _meos_b.intersection_int_set(i, s); + public static boolean left_tspatial_tspatial(Pointer temp1, Pointer temp2) { + var _result = _meos_c.left_tspatial_tspatial(temp1, temp2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer intersection_set_bigint(Pointer s, long i) { - var _result = _meos_b.intersection_set_bigint(s, i); + public static boolean overabove_stbox_tspatial(Pointer box, Pointer temp) { + var _result = _meos_c.overabove_stbox_tspatial(box, temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer intersection_set_date(Pointer s, int d) { - var _result = _meos_b.intersection_set_date(s, d); + public static boolean overabove_tspatial_stbox(Pointer temp, Pointer box) { + var _result = _meos_c.overabove_tspatial_stbox(temp, box); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer intersection_set_float(Pointer s, double d) { - var _result = _meos_b.intersection_set_float(s, d); + public static boolean overabove_tspatial_tspatial(Pointer temp1, Pointer temp2) { + var _result = _meos_c.overabove_tspatial_tspatial(temp1, temp2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer intersection_set_int(Pointer s, int i) { - var _result = _meos_b.intersection_set_int(s, i); + public static boolean overafter_stbox_tspatial(Pointer box, Pointer temp) { + var _result = _meos_c.overafter_stbox_tspatial(box, temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer intersection_set_set(Pointer s1, Pointer s2) { - var _result = _meos_b.intersection_set_set(s1, s2); + public static boolean overafter_tspatial_stbox(Pointer temp, Pointer box) { + var _result = _meos_c.overafter_tspatial_stbox(temp, box); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer intersection_set_text(Pointer s, Pointer txt) { - var _result = _meos_b.intersection_set_text(s, txt); + public static boolean overafter_tspatial_tspatial(Pointer temp1, Pointer temp2) { + var _result = _meos_c.overafter_tspatial_tspatial(temp1, temp2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer intersection_set_timestamptz(Pointer s, OffsetDateTime t) { - var t_new = t.toEpochSecond(); - var _result = _meos_b.intersection_set_timestamptz(s, t_new); + public static boolean overback_stbox_tspatial(Pointer box, Pointer temp) { + var _result = _meos_c.overback_stbox_tspatial(box, temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer intersection_span_bigint(Pointer s, long i) { - var _result = _meos_b.intersection_span_bigint(s, i); + public static boolean overback_tspatial_stbox(Pointer temp, Pointer box) { + var _result = _meos_c.overback_tspatial_stbox(temp, box); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer intersection_span_date(Pointer s, int d) { - var _result = _meos_b.intersection_span_date(s, d); + public static boolean overback_tspatial_tspatial(Pointer temp1, Pointer temp2) { + var _result = _meos_c.overback_tspatial_tspatial(temp1, temp2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer intersection_span_float(Pointer s, double d) { - var _result = _meos_b.intersection_span_float(s, d); + public static boolean overbefore_stbox_tspatial(Pointer box, Pointer temp) { + var _result = _meos_c.overbefore_stbox_tspatial(box, temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer intersection_span_int(Pointer s, int i) { - var _result = _meos_b.intersection_span_int(s, i); + public static boolean overbefore_tspatial_stbox(Pointer temp, Pointer box) { + var _result = _meos_c.overbefore_tspatial_stbox(temp, box); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer intersection_span_span(Pointer s1, Pointer s2) { - var _result = _meos_b.intersection_span_span(s1, s2); + public static boolean overbefore_tspatial_tspatial(Pointer temp1, Pointer temp2) { + var _result = _meos_c.overbefore_tspatial_tspatial(temp1, temp2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer intersection_span_spanset(Pointer s, Pointer ss) { - var _result = _meos_b.intersection_span_spanset(s, ss); + public static boolean overbelow_stbox_tspatial(Pointer box, Pointer temp) { + var _result = _meos_c.overbelow_stbox_tspatial(box, temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer intersection_span_timestamptz(Pointer s, OffsetDateTime t) { - var t_new = t.toEpochSecond(); - var _result = _meos_b.intersection_span_timestamptz(s, t_new); + public static boolean overbelow_tspatial_stbox(Pointer temp, Pointer box) { + var _result = _meos_c.overbelow_tspatial_stbox(temp, box); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer intersection_spanset_bigint(Pointer ss, long i) { - var _result = _meos_b.intersection_spanset_bigint(ss, i); + public static boolean overbelow_tspatial_tspatial(Pointer temp1, Pointer temp2) { + var _result = _meos_c.overbelow_tspatial_tspatial(temp1, temp2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer intersection_spanset_date(Pointer ss, int d) { - var _result = _meos_b.intersection_spanset_date(ss, d); + public static boolean overfront_stbox_tspatial(Pointer box, Pointer temp) { + var _result = _meos_c.overfront_stbox_tspatial(box, temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer intersection_spanset_float(Pointer ss, double d) { - var _result = _meos_b.intersection_spanset_float(ss, d); + public static boolean overfront_tspatial_stbox(Pointer temp, Pointer box) { + var _result = _meos_c.overfront_tspatial_stbox(temp, box); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer intersection_spanset_int(Pointer ss, int i) { - var _result = _meos_b.intersection_spanset_int(ss, i); + public static boolean overfront_tspatial_tspatial(Pointer temp1, Pointer temp2) { + var _result = _meos_c.overfront_tspatial_tspatial(temp1, temp2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer intersection_spanset_span(Pointer ss, Pointer s) { - var _result = _meos_b.intersection_spanset_span(ss, s); + public static boolean overleft_stbox_tspatial(Pointer box, Pointer temp) { + var _result = _meos_c.overleft_stbox_tspatial(box, temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer intersection_spanset_spanset(Pointer ss1, Pointer ss2) { - var _result = _meos_b.intersection_spanset_spanset(ss1, ss2); + public static boolean overleft_tspatial_stbox(Pointer temp, Pointer box) { + var _result = _meos_c.overleft_tspatial_stbox(temp, box); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer intersection_spanset_timestamptz(Pointer ss, OffsetDateTime t) { - var t_new = t.toEpochSecond(); - var _result = _meos_b.intersection_spanset_timestamptz(ss, t_new); + public static boolean overleft_tspatial_tspatial(Pointer temp1, Pointer temp2) { + var _result = _meos_c.overleft_tspatial_tspatial(temp1, temp2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer intersection_text_set(Pointer txt, Pointer s) { - var _result = _meos_b.intersection_text_set(txt, s); + public static boolean overright_stbox_tspatial(Pointer box, Pointer temp) { + var _result = _meos_c.overright_stbox_tspatial(box, temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer intersection_timestamptz_set(OffsetDateTime t, Pointer s) { - var t_new = t.toEpochSecond(); - var _result = _meos_b.intersection_timestamptz_set(t_new, s); + public static boolean overright_tspatial_stbox(Pointer temp, Pointer box) { + var _result = _meos_c.overright_tspatial_stbox(temp, box); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer minus_bigint_set(long i, Pointer s) { - var _result = _meos_b.minus_bigint_set(i, s); + public static boolean overright_tspatial_tspatial(Pointer temp1, Pointer temp2) { + var _result = _meos_c.overright_tspatial_tspatial(temp1, temp2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer minus_bigint_span(long i, Pointer s) { - var _result = _meos_b.minus_bigint_span(i, s); + public static boolean right_stbox_tspatial(Pointer box, Pointer temp) { + var _result = _meos_c.right_stbox_tspatial(box, temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer minus_bigint_spanset(long i, Pointer ss) { - var _result = _meos_b.minus_bigint_spanset(i, ss); + public static boolean right_tspatial_stbox(Pointer temp, Pointer box) { + var _result = _meos_c.right_tspatial_stbox(temp, box); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer minus_date_set(int d, Pointer s) { - var _result = _meos_b.minus_date_set(d, s); + public static boolean right_tspatial_tspatial(Pointer temp1, Pointer temp2) { + var _result = _meos_c.right_tspatial_tspatial(temp1, temp2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer minus_date_span(int d, Pointer s) { - var _result = _meos_b.minus_date_span(d, s); + public static int acontains_geo_tgeo(Pointer gs, Pointer temp) { + var _result = _meos_c.acontains_geo_tgeo(gs, temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer minus_date_spanset(int d, Pointer ss) { - var _result = _meos_b.minus_date_spanset(d, ss); + public static int acontains_tgeo_geo(Pointer temp, Pointer gs) { + var _result = _meos_c.acontains_tgeo_geo(temp, gs); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer minus_float_set(double d, Pointer s) { - var _result = _meos_b.minus_float_set(d, s); + public static int acontains_tgeo_tgeo(Pointer temp1, Pointer temp2) { + var _result = _meos_c.acontains_tgeo_tgeo(temp1, temp2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer minus_float_span(double d, Pointer s) { - var _result = _meos_b.minus_float_span(d, s); + public static int adisjoint_tgeo_geo(Pointer temp, Pointer gs) { + var _result = _meos_c.adisjoint_tgeo_geo(temp, gs); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer minus_float_spanset(double d, Pointer ss) { - var _result = _meos_b.minus_float_spanset(d, ss); + public static int adisjoint_tgeo_tgeo(Pointer temp1, Pointer temp2) { + var _result = _meos_c.adisjoint_tgeo_tgeo(temp1, temp2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer minus_int_set(int i, Pointer s) { - var _result = _meos_b.minus_int_set(i, s); + public static int adwithin_tgeo_geo(Pointer temp, Pointer gs, double dist) { + var _result = _meos_c.adwithin_tgeo_geo(temp, gs, dist); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer minus_int_span(int i, Pointer s) { - var _result = _meos_b.minus_int_span(i, s); + public static int adwithin_tgeo_tgeo(Pointer temp1, Pointer temp2, double dist) { + var _result = _meos_c.adwithin_tgeo_tgeo(temp1, temp2, dist); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer minus_int_spanset(int i, Pointer ss) { - var _result = _meos_b.minus_int_spanset(i, ss); + public static int aintersects_tgeo_geo(Pointer temp, Pointer gs) { + var _result = _meos_c.aintersects_tgeo_geo(temp, gs); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer minus_set_bigint(Pointer s, long i) { - var _result = _meos_b.minus_set_bigint(s, i); + public static int aintersects_tgeo_tgeo(Pointer temp1, Pointer temp2) { + var _result = _meos_c.aintersects_tgeo_tgeo(temp1, temp2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer minus_set_date(Pointer s, int d) { - var _result = _meos_b.minus_set_date(s, d); + public static int atouches_tgeo_geo(Pointer temp, Pointer gs) { + var _result = _meos_c.atouches_tgeo_geo(temp, gs); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer minus_set_float(Pointer s, double d) { - var _result = _meos_b.minus_set_float(s, d); + public static int atouches_tgeo_tgeo(Pointer temp1, Pointer temp2) { + var _result = _meos_c.atouches_tgeo_tgeo(temp1, temp2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer minus_set_int(Pointer s, int i) { - var _result = _meos_b.minus_set_int(s, i); + public static int atouches_tpoint_geo(Pointer temp, Pointer gs) { + var _result = _meos_c.atouches_tpoint_geo(temp, gs); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer minus_set_set(Pointer s1, Pointer s2) { - var _result = _meos_b.minus_set_set(s1, s2); + public static int econtains_geo_tgeo(Pointer gs, Pointer temp) { + var _result = _meos_c.econtains_geo_tgeo(gs, temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer minus_set_text(Pointer s, Pointer txt) { - var _result = _meos_b.minus_set_text(s, txt); + public static int econtains_tgeo_geo(Pointer temp, Pointer gs) { + var _result = _meos_c.econtains_tgeo_geo(temp, gs); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer minus_set_timestamptz(Pointer s, OffsetDateTime t) { - var t_new = t.toEpochSecond(); - var _result = _meos_b.minus_set_timestamptz(s, t_new); + public static int econtains_tgeo_tgeo(Pointer temp1, Pointer temp2) { + var _result = _meos_c.econtains_tgeo_tgeo(temp1, temp2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer minus_span_bigint(Pointer s, long i) { - var _result = _meos_b.minus_span_bigint(s, i); + public static int ecovers_geo_tgeo(Pointer gs, Pointer temp) { + var _result = _meos_c.ecovers_geo_tgeo(gs, temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer minus_span_date(Pointer s, int d) { - var _result = _meos_b.minus_span_date(s, d); + public static int ecovers_tgeo_geo(Pointer temp, Pointer gs) { + var _result = _meos_c.ecovers_tgeo_geo(temp, gs); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer minus_span_float(Pointer s, double d) { - var _result = _meos_b.minus_span_float(s, d); + public static int ecovers_tgeo_tgeo(Pointer temp1, Pointer temp2) { + var _result = _meos_c.ecovers_tgeo_tgeo(temp1, temp2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer minus_span_int(Pointer s, int i) { - var _result = _meos_b.minus_span_int(s, i); + public static int edisjoint_tgeo_geo(Pointer temp, Pointer gs) { + var _result = _meos_c.edisjoint_tgeo_geo(temp, gs); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer minus_span_span(Pointer s1, Pointer s2) { - var _result = _meos_b.minus_span_span(s1, s2); + public static int edisjoint_tgeo_tgeo(Pointer temp1, Pointer temp2) { + var _result = _meos_c.edisjoint_tgeo_tgeo(temp1, temp2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer minus_span_spanset(Pointer s, Pointer ss) { - var _result = _meos_b.minus_span_spanset(s, ss); + public static int edwithin_tgeo_geo(Pointer temp, Pointer gs, double dist) { + var _result = _meos_c.edwithin_tgeo_geo(temp, gs, dist); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer minus_span_timestamptz(Pointer s, OffsetDateTime t) { - var t_new = t.toEpochSecond(); - var _result = _meos_b.minus_span_timestamptz(s, t_new); + public static int edwithin_tgeo_tgeo(Pointer temp1, Pointer temp2, double dist) { + var _result = _meos_c.edwithin_tgeo_tgeo(temp1, temp2, dist); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer minus_spanset_bigint(Pointer ss, long i) { - var _result = _meos_b.minus_spanset_bigint(ss, i); + public static int eintersects_tgeo_geo(Pointer temp, Pointer gs) { + var _result = _meos_c.eintersects_tgeo_geo(temp, gs); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer minus_spanset_date(Pointer ss, int d) { - var _result = _meos_b.minus_spanset_date(ss, d); + public static int eintersects_tgeo_tgeo(Pointer temp1, Pointer temp2) { + var _result = _meos_c.eintersects_tgeo_tgeo(temp1, temp2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer minus_spanset_float(Pointer ss, double d) { - var _result = _meos_b.minus_spanset_float(ss, d); + public static int etouches_tgeo_geo(Pointer temp, Pointer gs) { + var _result = _meos_c.etouches_tgeo_geo(temp, gs); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer minus_spanset_int(Pointer ss, int i) { - var _result = _meos_b.minus_spanset_int(ss, i); + public static int etouches_tgeo_tgeo(Pointer temp1, Pointer temp2) { + var _result = _meos_c.etouches_tgeo_tgeo(temp1, temp2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer minus_spanset_span(Pointer ss, Pointer s) { - var _result = _meos_b.minus_spanset_span(ss, s); + public static int etouches_tpoint_geo(Pointer temp, Pointer gs) { + var _result = _meos_c.etouches_tpoint_geo(temp, gs); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer minus_spanset_spanset(Pointer ss1, Pointer ss2) { - var _result = _meos_b.minus_spanset_spanset(ss1, ss2); + public static Pointer tcontains_geo_tgeo(Pointer gs, Pointer temp) { + var _result = _meos_c.tcontains_geo_tgeo(gs, temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer minus_spanset_timestamptz(Pointer ss, OffsetDateTime t) { - var t_new = t.toEpochSecond(); - var _result = _meos_b.minus_spanset_timestamptz(ss, t_new); + public static Pointer tcontains_tgeo_geo(Pointer temp, Pointer gs) { + var _result = _meos_c.tcontains_tgeo_geo(temp, gs); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer minus_text_set(Pointer txt, Pointer s) { - var _result = _meos_b.minus_text_set(txt, s); + public static Pointer tcontains_tgeo_tgeo(Pointer temp1, Pointer temp2) { + var _result = _meos_c.tcontains_tgeo_tgeo(temp1, temp2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer minus_timestamptz_set(OffsetDateTime t, Pointer s) { - var t_new = t.toEpochSecond(); - var _result = _meos_b.minus_timestamptz_set(t_new, s); + public static Pointer tcovers_geo_tgeo(Pointer gs, Pointer temp) { + var _result = _meos_c.tcovers_geo_tgeo(gs, temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer minus_timestamptz_span(OffsetDateTime t, Pointer s) { - var t_new = t.toEpochSecond(); - var _result = _meos_b.minus_timestamptz_span(t_new, s); + public static Pointer tcovers_tgeo_geo(Pointer temp, Pointer gs) { + var _result = _meos_c.tcovers_tgeo_geo(temp, gs); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer minus_timestamptz_spanset(OffsetDateTime t, Pointer ss) { - var t_new = t.toEpochSecond(); - var _result = _meos_b.minus_timestamptz_spanset(t_new, ss); + public static Pointer tcovers_tgeo_tgeo(Pointer temp1, Pointer temp2) { + var _result = _meos_c.tcovers_tgeo_tgeo(temp1, temp2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer union_bigint_set(long i, Pointer s) { - var _result = _meos_b.union_bigint_set(i, s); + public static Pointer tdisjoint_geo_tgeo(Pointer gs, Pointer temp) { + var _result = _meos_c.tdisjoint_geo_tgeo(gs, temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer union_bigint_span(Pointer s, long i) { - var _result = _meos_b.union_bigint_span(s, i); + public static Pointer tdisjoint_tgeo_geo(Pointer temp, Pointer gs) { + var _result = _meos_c.tdisjoint_tgeo_geo(temp, gs); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer union_bigint_spanset(long i, Pointer ss) { - var _result = _meos_b.union_bigint_spanset(i, ss); + public static Pointer tdisjoint_tgeo_tgeo(Pointer temp1, Pointer temp2) { + var _result = _meos_c.tdisjoint_tgeo_tgeo(temp1, temp2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer union_date_set(int d, Pointer s) { - var _result = _meos_b.union_date_set(d, s); + public static Pointer tdwithin_geo_tgeo(Pointer gs, Pointer temp, double dist) { + var _result = _meos_c.tdwithin_geo_tgeo(gs, temp, dist); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer union_date_span(Pointer s, int d) { - var _result = _meos_b.union_date_span(s, d); + public static Pointer tdwithin_tgeo_geo(Pointer temp, Pointer gs, double dist) { + var _result = _meos_c.tdwithin_tgeo_geo(temp, gs, dist); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer union_date_spanset(int d, Pointer ss) { - var _result = _meos_b.union_date_spanset(d, ss); + public static Pointer tdwithin_tgeo_tgeo(Pointer temp1, Pointer temp2, double dist) { + var _result = _meos_c.tdwithin_tgeo_tgeo(temp1, temp2, dist); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer union_float_set(double d, Pointer s) { - var _result = _meos_b.union_float_set(d, s); + public static Pointer tintersects_geo_tgeo(Pointer gs, Pointer temp) { + var _result = _meos_c.tintersects_geo_tgeo(gs, temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer union_float_span(Pointer s, double d) { - var _result = _meos_b.union_float_span(s, d); + public static Pointer tintersects_tgeo_geo(Pointer temp, Pointer gs) { + var _result = _meos_c.tintersects_tgeo_geo(temp, gs); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer union_float_spanset(double d, Pointer ss) { - var _result = _meos_b.union_float_spanset(d, ss); + public static Pointer tintersects_tgeo_tgeo(Pointer temp1, Pointer temp2) { + var _result = _meos_c.tintersects_tgeo_tgeo(temp1, temp2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer union_int_set(int i, Pointer s) { - var _result = _meos_b.union_int_set(i, s); + public static Pointer ttouches_geo_tgeo(Pointer gs, Pointer temp) { + var _result = _meos_c.ttouches_geo_tgeo(gs, temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer union_int_span(int i, Pointer s) { - var _result = _meos_b.union_int_span(i, s); + public static Pointer ttouches_tgeo_geo(Pointer temp, Pointer gs) { + var _result = _meos_c.ttouches_tgeo_geo(temp, gs); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer union_int_spanset(int i, Pointer ss) { - var _result = _meos_b.union_int_spanset(i, ss); + public static Pointer ttouches_tgeo_tgeo(Pointer temp1, Pointer temp2) { + var _result = _meos_c.ttouches_tgeo_tgeo(temp1, temp2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer union_set_bigint(Pointer s, long i) { - var _result = _meos_b.union_set_bigint(s, i); + public static Pointer tdistance_tgeo_geo(Pointer temp, Pointer gs) { + var _result = _meos_c.tdistance_tgeo_geo(temp, gs); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer union_set_date(Pointer s, int d) { - var _result = _meos_b.union_set_date(s, d); + public static Pointer tdistance_tgeo_tgeo(Pointer temp1, Pointer temp2) { + var _result = _meos_c.tdistance_tgeo_tgeo(temp1, temp2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer union_set_float(Pointer s, double d) { - var _result = _meos_b.union_set_float(s, d); + public static double nad_stbox_geo(Pointer box, Pointer gs) { + var _result = _meos_c.nad_stbox_geo(box, gs); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer union_set_int(Pointer s, int i) { - var _result = _meos_b.union_set_int(s, i); + public static double nad_stbox_stbox(Pointer box1, Pointer box2) { + var _result = _meos_c.nad_stbox_stbox(box1, box2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer union_set_set(Pointer s1, Pointer s2) { - var _result = _meos_b.union_set_set(s1, s2); + public static double nad_tgeo_geo(Pointer temp, Pointer gs) { + var _result = _meos_c.nad_tgeo_geo(temp, gs); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer union_set_text(Pointer s, Pointer txt) { - var _result = _meos_b.union_set_text(s, txt); + public static double nad_tgeo_stbox(Pointer temp, Pointer box) { + var _result = _meos_c.nad_tgeo_stbox(temp, box); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer union_set_timestamptz(Pointer s, OffsetDateTime t) { - var t_new = t.toEpochSecond(); - var _result = _meos_b.union_set_timestamptz(s, t_new); + public static double nad_tgeo_tgeo(Pointer temp1, Pointer temp2) { + var _result = _meos_c.nad_tgeo_tgeo(temp1, temp2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer union_span_bigint(Pointer s, long i) { - var _result = _meos_b.union_span_bigint(s, i); + public static Pointer nai_tgeo_geo(Pointer temp, Pointer gs) { + var _result = _meos_c.nai_tgeo_geo(temp, gs); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer union_span_date(Pointer s, int d) { - var _result = _meos_b.union_span_date(s, d); + public static Pointer nai_tgeo_tgeo(Pointer temp1, Pointer temp2) { + var _result = _meos_c.nai_tgeo_tgeo(temp1, temp2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer union_span_float(Pointer s, double d) { - var _result = _meos_b.union_span_float(s, d); + public static Pointer shortestline_tgeo_geo(Pointer temp, Pointer gs) { + var _result = _meos_c.shortestline_tgeo_geo(temp, gs); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer union_span_int(Pointer s, int i) { - var _result = _meos_b.union_span_int(s, i); + public static Pointer shortestline_tgeo_tgeo(Pointer temp1, Pointer temp2) { + var _result = _meos_c.shortestline_tgeo_tgeo(temp1, temp2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer union_span_span(Pointer s1, Pointer s2) { - var _result = _meos_b.union_span_span(s1, s2); + public static double tgeoarr_tgeoarr_mindist(Pointer arr1, int count1, Pointer arr2, int count2) { + var _result = _meos_c.tgeoarr_tgeoarr_mindist(arr1, count1, arr2, count2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer union_span_spanset(Pointer s, Pointer ss) { - var _result = _meos_b.union_span_spanset(s, ss); + public static double mindistance_tgeo_tgeo(Pointer temp1, Pointer temp2, double threshold) { + var _result = _meos_c.mindistance_tgeo_tgeo(temp1, temp2, threshold); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer union_span_timestamptz(Pointer s, OffsetDateTime t) { - var t_new = t.toEpochSecond(); - var _result = _meos_b.union_span_timestamptz(s, t_new); + public static Pointer tpoint_tcentroid_finalfn(Pointer state) { + var _result = _meos_c.tpoint_tcentroid_finalfn(state); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer union_spanset_bigint(Pointer ss, long i) { - var _result = _meos_b.union_spanset_bigint(ss, i); + public static Pointer tpoint_tcentroid_transfn(Pointer state, Pointer temp) { + var _result = _meos_c.tpoint_tcentroid_transfn(state, temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer union_spanset_date(Pointer ss, int d) { - var _result = _meos_b.union_spanset_date(ss, d); + public static Pointer tspatial_extent_transfn(Pointer box, Pointer temp) { + var _result = _meos_c.tspatial_extent_transfn(box, temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer union_spanset_float(Pointer ss, double d) { - var _result = _meos_b.union_spanset_float(ss, d); + public static Pointer stbox_get_space_tile(Pointer point, double xsize, double ysize, double zsize, Pointer sorigin) { + var _result = _meos_c.stbox_get_space_tile(point, xsize, ysize, zsize, sorigin); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer union_spanset_int(Pointer ss, int i) { - var _result = _meos_b.union_spanset_int(ss, i); + public static Pointer stbox_get_space_time_tile(Pointer point, OffsetDateTime t, double xsize, double ysize, double zsize, Pointer duration, Pointer sorigin, OffsetDateTime torigin) { + var t_new = t.toEpochSecond(); + var torigin_new = torigin.toEpochSecond(); + var _result = _meos_c.stbox_get_space_time_tile(point, t_new, xsize, ysize, zsize, duration, sorigin, torigin_new); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer union_spanset_span(Pointer ss, Pointer s) { - var _result = _meos_b.union_spanset_span(ss, s); + public static Pointer stbox_get_time_tile(OffsetDateTime t, Pointer duration, OffsetDateTime torigin) { + var t_new = t.toEpochSecond(); + var torigin_new = torigin.toEpochSecond(); + var _result = _meos_c.stbox_get_time_tile(t_new, duration, torigin_new); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer union_spanset_spanset(Pointer ss1, Pointer ss2) { - var _result = _meos_b.union_spanset_spanset(ss1, ss2); + public static Pointer stbox_space_tiles(Pointer bounds, double xsize, double ysize, double zsize, Pointer sorigin, boolean border_inc, Pointer count) { + var _result = _meos_c.stbox_space_tiles(bounds, xsize, ysize, zsize, sorigin, border_inc, count); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer union_spanset_timestamptz(Pointer ss, OffsetDateTime t) { - var t_new = t.toEpochSecond(); - var _result = _meos_b.union_spanset_timestamptz(ss, t_new); + public static Pointer stbox_space_time_tiles(Pointer bounds, double xsize, double ysize, double zsize, Pointer duration, Pointer sorigin, OffsetDateTime torigin, boolean border_inc, Pointer count) { + var torigin_new = torigin.toEpochSecond(); + var _result = _meos_c.stbox_space_time_tiles(bounds, xsize, ysize, zsize, duration, sorigin, torigin_new, border_inc, count); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer union_text_set(Pointer txt, Pointer s) { - var _result = _meos_b.union_text_set(txt, s); + public static Pointer stbox_time_tiles(Pointer bounds, Pointer duration, OffsetDateTime torigin, boolean border_inc, Pointer count) { + var torigin_new = torigin.toEpochSecond(); + var _result = _meos_c.stbox_time_tiles(bounds, duration, torigin_new, border_inc, count); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer union_timestamptz_set(OffsetDateTime t, Pointer s) { - var t_new = t.toEpochSecond(); - var _result = _meos_b.union_timestamptz_set(t_new, s); + public static Pointer tgeo_space_split(Pointer temp, double xsize, double ysize, double zsize, Pointer sorigin, boolean bitmatrix, boolean border_inc, Pointer space_bins, Pointer count) { + var _result = _meos_c.tgeo_space_split(temp, xsize, ysize, zsize, sorigin, bitmatrix, border_inc, space_bins, count); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer union_timestamptz_span(OffsetDateTime t, Pointer s) { - var t_new = t.toEpochSecond(); - var _result = _meos_b.union_timestamptz_span(t_new, s); + public static Pointer tgeo_space_time_split(Pointer temp, double xsize, double ysize, double zsize, Pointer duration, Pointer sorigin, OffsetDateTime torigin, boolean bitmatrix, boolean border_inc, Pointer space_bins, Pointer time_bins, Pointer count) { + var torigin_new = torigin.toEpochSecond(); + var _result = _meos_c.tgeo_space_time_split(temp, xsize, ysize, zsize, duration, sorigin, torigin_new, bitmatrix, border_inc, space_bins, time_bins, count); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer union_timestamptz_spanset(OffsetDateTime t, Pointer ss) { - var t_new = t.toEpochSecond(); - var _result = _meos_b.union_timestamptz_spanset(t_new, ss); + public static Pointer geo_cluster_kmeans(Pointer geoms, int ngeoms, int k) { + var _result = _meos_c.geo_cluster_kmeans(geoms, ngeoms, k); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static long distance_bigintset_bigintset(Pointer s1, Pointer s2) { - var _result = _meos_b.distance_bigintset_bigintset(s1, s2); + public static Pointer geo_cluster_dbscan(Pointer geoms, int ngeoms, double tolerance, int minpoints, Pointer count) { + var _result = _meos_c.geo_cluster_dbscan(geoms, ngeoms, tolerance, minpoints, count); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static long distance_bigintspan_bigintspan(Pointer s1, Pointer s2) { - var _result = _meos_b.distance_bigintspan_bigintspan(s1, s2); + public static Pointer geo_cluster_intersecting(Pointer geoms, int ngeoms, Pointer count) { + var _result = _meos_c.geo_cluster_intersecting(geoms, ngeoms, count); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static long distance_bigintspanset_bigintspan(Pointer ss, Pointer s) { - var _result = _meos_b.distance_bigintspanset_bigintspan(ss, s); + public static Pointer geo_cluster_within(Pointer geoms, int ngeoms, double tolerance, Pointer count) { + var _result = _meos_c.geo_cluster_within(geoms, ngeoms, tolerance, count); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static long distance_bigintspanset_bigintspanset(Pointer ss1, Pointer ss2) { - var _result = _meos_b.distance_bigintspanset_bigintspanset(ss1, ss2); + public static int acovers_geo_tgeo(Pointer gs, Pointer temp) { + var _result = _meos_c.acovers_geo_tgeo(gs, temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int distance_dateset_dateset(Pointer s1, Pointer s2) { - var _result = _meos_b.distance_dateset_dateset(s1, s2); + public static int acovers_tgeo_geo(Pointer temp, Pointer gs) { + var _result = _meos_c.acovers_tgeo_geo(temp, gs); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int distance_datespan_datespan(Pointer s1, Pointer s2) { - var _result = _meos_b.distance_datespan_datespan(s1, s2); + public static String cbuffer_as_ewkt(Pointer cb, int maxdd) { + var _result = _meos_c.cbuffer_as_ewkt(cb, maxdd); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int distance_datespanset_datespan(Pointer ss, Pointer s) { - var _result = _meos_b.distance_datespanset_datespan(ss, s); + public static String cbuffer_as_hexwkb(Pointer cb, byte variant, Pointer size) { + var _result = _meos_c.cbuffer_as_hexwkb(cb, variant, size); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int distance_datespanset_datespanset(Pointer ss1, Pointer ss2) { - var _result = _meos_b.distance_datespanset_datespanset(ss1, ss2); + public static String cbuffer_as_text(Pointer cb, int maxdd) { + var _result = _meos_c.cbuffer_as_text(cb, maxdd); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static double distance_floatset_floatset(Pointer s1, Pointer s2) { - var _result = _meos_b.distance_floatset_floatset(s1, s2); + public static Pointer cbuffer_as_wkb(Pointer cb, byte variant) { + Runtime runtime = Runtime.getSystemRuntime(); + Pointer size_out = Memory.allocateDirect(runtime, Long.BYTES); + var _result = _meos_c.cbuffer_as_wkb(cb, variant, size_out); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static double distance_floatspan_floatspan(Pointer s1, Pointer s2) { - var _result = _meos_b.distance_floatspan_floatspan(s1, s2); + public static Pointer cbuffer_from_hexwkb(String hexwkb) { + var _result = _meos_c.cbuffer_from_hexwkb(hexwkb); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static double distance_floatspanset_floatspan(Pointer ss, Pointer s) { - var _result = _meos_b.distance_floatspanset_floatspan(ss, s); + public static Pointer cbuffer_from_wkb(Pointer wkb, long size) { + var _result = _meos_c.cbuffer_from_wkb(wkb, size); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static double distance_floatspanset_floatspanset(Pointer ss1, Pointer ss2) { - var _result = _meos_b.distance_floatspanset_floatspanset(ss1, ss2); + public static Pointer cbuffer_in(String str) { + var _result = _meos_c.cbuffer_in(str); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int distance_intset_intset(Pointer s1, Pointer s2) { - var _result = _meos_b.distance_intset_intset(s1, s2); + public static String cbuffer_out(Pointer cb, int maxdd) { + var _result = _meos_c.cbuffer_out(cb, maxdd); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int distance_intspan_intspan(Pointer s1, Pointer s2) { - var _result = _meos_b.distance_intspan_intspan(s1, s2); + public static Pointer cbuffer_copy(Pointer cb) { + var _result = _meos_c.cbuffer_copy(cb); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int distance_intspanset_intspan(Pointer ss, Pointer s) { - var _result = _meos_b.distance_intspanset_intspan(ss, s); + public static Pointer cbuffer_make(Pointer point, double radius) { + var _result = _meos_c.cbuffer_make(point, radius); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int distance_intspanset_intspanset(Pointer ss1, Pointer ss2) { - var _result = _meos_b.distance_intspanset_intspanset(ss1, ss2); + public static Pointer cbuffer_to_geom(Pointer cb) { + var _result = _meos_c.cbuffer_to_geom(cb); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static long distance_set_bigint(Pointer s, long i) { - var _result = _meos_b.distance_set_bigint(s, i); + public static Pointer cbuffer_to_stbox(Pointer cb) { + var _result = _meos_c.cbuffer_to_stbox(cb); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int distance_set_date(Pointer s, int d) { - var _result = _meos_b.distance_set_date(s, d); + public static Pointer cbufferarr_to_geom(Pointer cbarr, int count) { + var _result = _meos_c.cbufferarr_to_geom(cbarr, count); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static double distance_set_float(Pointer s, double d) { - var _result = _meos_b.distance_set_float(s, d); + public static Pointer geom_to_cbuffer(Pointer gs) { + var _result = _meos_c.geom_to_cbuffer(gs); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int distance_set_int(Pointer s, int i) { - var _result = _meos_b.distance_set_int(s, i); + public static int cbuffer_hash(Pointer cb) { + var _result = _meos_c.cbuffer_hash(cb); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static double distance_set_timestamptz(Pointer s, OffsetDateTime t) { - var t_new = t.toEpochSecond(); - var _result = _meos_b.distance_set_timestamptz(s, t_new); + public static long cbuffer_hash_extended(Pointer cb, long seed) { + var _result = _meos_c.cbuffer_hash_extended(cb, seed); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static long distance_span_bigint(Pointer s, long i) { - var _result = _meos_b.distance_span_bigint(s, i); + public static Pointer cbuffer_point(Pointer cb) { + var _result = _meos_c.cbuffer_point(cb); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int distance_span_date(Pointer s, int d) { - var _result = _meos_b.distance_span_date(s, d); + public static double cbuffer_radius(Pointer cb) { + var _result = _meos_c.cbuffer_radius(cb); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static double distance_span_float(Pointer s, double d) { - var _result = _meos_b.distance_span_float(s, d); + public static Pointer cbuffer_round(Pointer cb, int maxdd) { + var _result = _meos_c.cbuffer_round(cb, maxdd); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int distance_span_int(Pointer s, int i) { - var _result = _meos_b.distance_span_int(s, i); + public static Pointer cbufferarr_round(Pointer cbarr, int count, int maxdd) { + var _result = _meos_c.cbufferarr_round(cbarr, count, maxdd); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static double distance_span_timestamptz(Pointer s, OffsetDateTime t) { - var t_new = t.toEpochSecond(); - var _result = _meos_b.distance_span_timestamptz(s, t_new); + public static void cbuffer_set_srid(Pointer cb, int srid) { + _meos_c.cbuffer_set_srid(cb, srid); MeosErrorHandler.checkError(); - return _result; } @SuppressWarnings("unused") - public static long distance_spanset_bigint(Pointer ss, long i) { - var _result = _meos_b.distance_spanset_bigint(ss, i); + public static int cbuffer_srid(Pointer cb) { + var _result = _meos_c.cbuffer_srid(cb); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int distance_spanset_date(Pointer ss, int d) { - var _result = _meos_b.distance_spanset_date(ss, d); + public static Pointer cbuffer_transform(Pointer cb, int srid) { + var _result = _meos_c.cbuffer_transform(cb, srid); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static double distance_spanset_float(Pointer ss, double d) { - var _result = _meos_b.distance_spanset_float(ss, d); + public static Pointer cbuffer_transform_pipeline(Pointer cb, String pipelinestr, int srid, boolean is_forward) { + var _result = _meos_c.cbuffer_transform_pipeline(cb, pipelinestr, srid, is_forward); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int distance_spanset_int(Pointer ss, int i) { - var _result = _meos_b.distance_spanset_int(ss, i); + public static int contains_cbuffer_cbuffer(Pointer cb1, Pointer cb2) { + var _result = _meos_c.contains_cbuffer_cbuffer(cb1, cb2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static double distance_spanset_timestamptz(Pointer ss, OffsetDateTime t) { - var t_new = t.toEpochSecond(); - var _result = _meos_b.distance_spanset_timestamptz(ss, t_new); + public static int covers_cbuffer_cbuffer(Pointer cb1, Pointer cb2) { + var _result = _meos_c.covers_cbuffer_cbuffer(cb1, cb2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static double distance_tstzset_tstzset(Pointer s1, Pointer s2) { - var _result = _meos_b.distance_tstzset_tstzset(s1, s2); + public static int disjoint_cbuffer_cbuffer(Pointer cb1, Pointer cb2) { + var _result = _meos_c.disjoint_cbuffer_cbuffer(cb1, cb2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static double distance_tstzspan_tstzspan(Pointer s1, Pointer s2) { - var _result = _meos_b.distance_tstzspan_tstzspan(s1, s2); + public static int dwithin_cbuffer_cbuffer(Pointer cb1, Pointer cb2, double dist) { + var _result = _meos_c.dwithin_cbuffer_cbuffer(cb1, cb2, dist); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static double distance_tstzspanset_tstzspan(Pointer ss, Pointer s) { - var _result = _meos_b.distance_tstzspanset_tstzspan(ss, s); + public static int intersects_cbuffer_cbuffer(Pointer cb1, Pointer cb2) { + var _result = _meos_c.intersects_cbuffer_cbuffer(cb1, cb2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static double distance_tstzspanset_tstzspanset(Pointer ss1, Pointer ss2) { - var _result = _meos_b.distance_tstzspanset_tstzspanset(ss1, ss2); + public static int touches_cbuffer_cbuffer(Pointer cb1, Pointer cb2) { + var _result = _meos_c.touches_cbuffer_cbuffer(cb1, cb2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer bigint_extent_transfn(Pointer state, long i) { - var _result = _meos_b.bigint_extent_transfn(state, i); + public static Pointer cbuffer_tstzspan_to_stbox(Pointer cb, Pointer s) { + var _result = _meos_c.cbuffer_tstzspan_to_stbox(cb, s); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer bigint_union_transfn(Pointer state, long i) { - var _result = _meos_b.bigint_union_transfn(state, i); + public static Pointer cbuffer_timestamptz_to_stbox(Pointer cb, OffsetDateTime t) { + var t_new = t.toEpochSecond(); + var _result = _meos_c.cbuffer_timestamptz_to_stbox(cb, t_new); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer date_extent_transfn(Pointer state, int d) { - var _result = _meos_b.date_extent_transfn(state, d); + public static double distance_cbuffer_cbuffer(Pointer cb1, Pointer cb2) { + var _result = _meos_c.distance_cbuffer_cbuffer(cb1, cb2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer date_union_transfn(Pointer state, int d) { - var _result = _meos_b.date_union_transfn(state, d); + public static double distance_cbuffer_geo(Pointer cb, Pointer gs) { + var _result = _meos_c.distance_cbuffer_geo(cb, gs); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer float_extent_transfn(Pointer state, double d) { - var _result = _meos_b.float_extent_transfn(state, d); + public static double distance_cbuffer_stbox(Pointer cb, Pointer box) { + var _result = _meos_c.distance_cbuffer_stbox(cb, box); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer float_union_transfn(Pointer state, double d) { - var _result = _meos_b.float_union_transfn(state, d); + public static double nad_cbuffer_stbox(Pointer cb, Pointer box) { + var _result = _meos_c.nad_cbuffer_stbox(cb, box); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer int_extent_transfn(Pointer state, int i) { - var _result = _meos_b.int_extent_transfn(state, i); + public static int cbuffer_cmp(Pointer cb1, Pointer cb2) { + var _result = _meos_c.cbuffer_cmp(cb1, cb2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer int_union_transfn(Pointer state, int i) { - var _result = _meos_b.int_union_transfn(state, i); + public static boolean cbuffer_eq(Pointer cb1, Pointer cb2) { + var _result = _meos_c.cbuffer_eq(cb1, cb2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer set_extent_transfn(Pointer state, Pointer s) { - var _result = _meos_b.set_extent_transfn(state, s); + public static boolean cbuffer_ge(Pointer cb1, Pointer cb2) { + var _result = _meos_c.cbuffer_ge(cb1, cb2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer set_union_finalfn(Pointer state) { - var _result = _meos_b.set_union_finalfn(state); + public static boolean cbuffer_gt(Pointer cb1, Pointer cb2) { + var _result = _meos_c.cbuffer_gt(cb1, cb2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer set_union_transfn(Pointer state, Pointer s) { - var _result = _meos_b.set_union_transfn(state, s); + public static boolean cbuffer_le(Pointer cb1, Pointer cb2) { + var _result = _meos_c.cbuffer_le(cb1, cb2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer span_extent_transfn(Pointer state, Pointer s) { - var _result = _meos_b.span_extent_transfn(state, s); + public static boolean cbuffer_lt(Pointer cb1, Pointer cb2) { + var _result = _meos_c.cbuffer_lt(cb1, cb2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer span_union_transfn(Pointer state, Pointer s) { - var _result = _meos_b.span_union_transfn(state, s); + public static boolean cbuffer_ne(Pointer cb1, Pointer cb2) { + var _result = _meos_c.cbuffer_ne(cb1, cb2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer spanset_extent_transfn(Pointer state, Pointer ss) { - var _result = _meos_b.spanset_extent_transfn(state, ss); + public static boolean cbuffer_nsame(Pointer cb1, Pointer cb2) { + var _result = _meos_c.cbuffer_nsame(cb1, cb2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer spanset_union_finalfn(Pointer state) { - var _result = _meos_b.spanset_union_finalfn(state); + public static boolean cbuffer_same(Pointer cb1, Pointer cb2) { + var _result = _meos_c.cbuffer_same(cb1, cb2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer spanset_union_transfn(Pointer state, Pointer ss) { - var _result = _meos_b.spanset_union_transfn(state, ss); + public static Pointer cbufferset_in(String str) { + var _result = _meos_c.cbufferset_in(str); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer text_union_transfn(Pointer state, Pointer txt) { - var _result = _meos_b.text_union_transfn(state, txt); + public static String cbufferset_out(Pointer s, int maxdd) { + var _result = _meos_c.cbufferset_out(s, maxdd); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer timestamptz_extent_transfn(Pointer state, OffsetDateTime t) { - var t_new = t.toEpochSecond(); - var _result = _meos_b.timestamptz_extent_transfn(state, t_new); + public static Pointer cbufferset_make(Pointer values, int count) { + var _result = _meos_c.cbufferset_make(values, count); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer timestamptz_union_transfn(Pointer state, OffsetDateTime t) { - var t_new = t.toEpochSecond(); - var _result = _meos_b.timestamptz_union_transfn(state, t_new); + public static Pointer cbuffer_to_set(Pointer cb) { + var _result = _meos_c.cbuffer_to_set(cb); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static long bigint_get_bin(long value, long vsize, long vorigin) { - var _result = _meos_b.bigint_get_bin(value, vsize, vorigin); + public static Pointer cbufferset_end_value(Pointer s) { + var _result = _meos_c.cbufferset_end_value(s); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer bigintspan_bins(Pointer s, long vsize, long vorigin, Pointer count) { - var _result = _meos_b.bigintspan_bins(s, vsize, vorigin, count); + public static Pointer cbufferset_start_value(Pointer s) { + var _result = _meos_c.cbufferset_start_value(s); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer bigintspanset_bins(Pointer ss, long vsize, long vorigin, Pointer count) { - var _result = _meos_b.bigintspanset_bins(ss, vsize, vorigin, count); + public static Pointer cbufferset_value_n(Pointer s, int n) { + boolean out; + Runtime runtime = Runtime.getSystemRuntime(); + Pointer result = Memory.allocateDirect(runtime, Long.BYTES); + out = _meos_c.cbufferset_value_n(s, n, result); + Pointer new_result = result.getPointer(0); MeosErrorHandler.checkError(); - return _result; + return out ? new_result : null; } @SuppressWarnings("unused") - public static int date_get_bin(int d, Pointer duration, int torigin) { - var _result = _meos_b.date_get_bin(d, duration, torigin); + public static Pointer cbufferset_values(Pointer s) { + var _result = _meos_c.cbufferset_values(s); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer datespan_bins(Pointer s, Pointer duration, int torigin, Pointer count) { - var _result = _meos_b.datespan_bins(s, duration, torigin, count); + public static Pointer cbuffer_union_transfn(Pointer state, Pointer cb) { + var _result = _meos_c.cbuffer_union_transfn(state, cb); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer datespanset_bins(Pointer ss, Pointer duration, int torigin, Pointer count) { - var _result = _meos_b.datespanset_bins(ss, duration, torigin, count); + public static boolean contained_cbuffer_set(Pointer cb, Pointer s) { + var _result = _meos_c.contained_cbuffer_set(cb, s); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static double float_get_bin(double value, double vsize, double vorigin) { - var _result = _meos_b.float_get_bin(value, vsize, vorigin); + public static boolean contains_set_cbuffer(Pointer s, Pointer cb) { + var _result = _meos_c.contains_set_cbuffer(s, cb); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer floatspan_bins(Pointer s, double vsize, double vorigin, Pointer count) { - var _result = _meos_b.floatspan_bins(s, vsize, vorigin, count); + public static Pointer intersection_cbuffer_set(Pointer cb, Pointer s) { + var _result = _meos_c.intersection_cbuffer_set(cb, s); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer floatspanset_bins(Pointer ss, double vsize, double vorigin, Pointer count) { - var _result = _meos_b.floatspanset_bins(ss, vsize, vorigin, count); + public static Pointer intersection_set_cbuffer(Pointer s, Pointer cb) { + var _result = _meos_c.intersection_set_cbuffer(s, cb); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int int_get_bin(int value, int vsize, int vorigin) { - var _result = _meos_b.int_get_bin(value, vsize, vorigin); + public static Pointer minus_cbuffer_set(Pointer cb, Pointer s) { + var _result = _meos_c.minus_cbuffer_set(cb, s); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer intspan_bins(Pointer s, int vsize, int vorigin, Pointer count) { - var _result = _meos_b.intspan_bins(s, vsize, vorigin, count); + public static Pointer minus_set_cbuffer(Pointer s, Pointer cb) { + var _result = _meos_c.minus_set_cbuffer(s, cb); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer intspanset_bins(Pointer ss, int vsize, int vorigin, Pointer count) { - var _result = _meos_b.intspanset_bins(ss, vsize, vorigin, count); + public static Pointer union_cbuffer_set(Pointer cb, Pointer s) { + var _result = _meos_c.union_cbuffer_set(cb, s); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static OffsetDateTime timestamptz_get_bin(OffsetDateTime t, Pointer duration, OffsetDateTime torigin) { - var t_new = t.toEpochSecond(); - var torigin_new = torigin.toEpochSecond(); - var _result = _meos_b.timestamptz_get_bin(t_new, duration, torigin_new); + public static Pointer union_set_cbuffer(Pointer s, Pointer cb) { + var _result = _meos_c.union_set_cbuffer(s, cb); MeosErrorHandler.checkError(); - return java.time.Instant.ofEpochSecond(_result).atOffset(java.time.ZoneOffset.UTC); + return _result; } @SuppressWarnings("unused") - public static Pointer tstzspan_bins(Pointer s, Pointer duration, OffsetDateTime origin, Pointer count) { - var origin_new = origin.toEpochSecond(); - var _result = _meos_b.tstzspan_bins(s, duration, origin_new, count); + public static Pointer tcbuffer_in(String str) { + var _result = _meos_c.tcbuffer_in(str); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tstzspanset_bins(Pointer ss, Pointer duration, OffsetDateTime torigin, Pointer count) { - var torigin_new = torigin.toEpochSecond(); - var _result = _meos_b.tstzspanset_bins(ss, duration, torigin_new, count); + public static Pointer tcbuffer_from_mfjson(String mfjson) { + var _result = _meos_c.tcbuffer_from_mfjson(mfjson); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static String tbox_as_hexwkb(Pointer box, byte variant, Pointer size) { - var _result = _meos_b.tbox_as_hexwkb(box, variant, size); + public static Pointer tcbuffer_make(Pointer tpoint, Pointer tfloat) { + var _result = _meos_c.tcbuffer_make(tpoint, tfloat); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tbox_as_wkb(Pointer box, byte variant) { - Runtime runtime = Runtime.getSystemRuntime(); - Pointer size_out = Memory.allocateDirect(runtime, Long.BYTES); - var _result = _meos_b.tbox_as_wkb(box, variant, size_out); + public static Pointer tcbuffer_points(Pointer temp) { + var _result = _meos_c.tcbuffer_points(temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tbox_from_hexwkb(String hexwkb) { - var _result = _meos_b.tbox_from_hexwkb(hexwkb); + public static Pointer tcbuffer_radius(Pointer temp) { + var _result = _meos_c.tcbuffer_radius(temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tbox_from_wkb(Pointer wkb, long size) { - var _result = _meos_b.tbox_from_wkb(wkb, size); + public static Pointer tcbuffer_trav_area(Pointer temp, boolean merge_union) { + var _result = _meos_c.tcbuffer_trav_area(temp, merge_union); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tbox_in(String str) { - var _result = _meos_b.tbox_in(str); + public static Pointer tcbuffer_to_tfloat(Pointer temp) { + var _result = _meos_c.tcbuffer_to_tfloat(temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static String tbox_out(Pointer box, int maxdd) { - var _result = _meos_b.tbox_out(box, maxdd); + public static Pointer tcbuffer_to_tgeompoint(Pointer temp) { + var _result = _meos_c.tcbuffer_to_tgeompoint(temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer float_timestamptz_to_tbox(double d, OffsetDateTime t) { - var t_new = t.toEpochSecond(); - var _result = _meos_b.float_timestamptz_to_tbox(d, t_new); + public static Pointer tgeometry_to_tcbuffer(Pointer temp) { + var _result = _meos_c.tgeometry_to_tcbuffer(temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer float_tstzspan_to_tbox(double d, Pointer s) { - var _result = _meos_b.float_tstzspan_to_tbox(d, s); + public static Pointer tcbuffer_expand(Pointer temp, double dist) { + var _result = _meos_c.tcbuffer_expand(temp, dist); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer int_timestamptz_to_tbox(int i, OffsetDateTime t) { - var t_new = t.toEpochSecond(); - var _result = _meos_b.int_timestamptz_to_tbox(i, t_new); + public static Pointer tcbuffer_at_cbuffer(Pointer temp, Pointer cb) { + var _result = _meos_c.tcbuffer_at_cbuffer(temp, cb); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer int_tstzspan_to_tbox(int i, Pointer s) { - var _result = _meos_b.int_tstzspan_to_tbox(i, s); + public static Pointer tcbuffer_at_geom(Pointer temp, Pointer gs) { + var _result = _meos_c.tcbuffer_at_geom(temp, gs); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer numspan_tstzspan_to_tbox(Pointer span, Pointer s) { - var _result = _meos_b.numspan_tstzspan_to_tbox(span, s); + public static Pointer tcbuffer_at_stbox(Pointer temp, Pointer box, boolean border_inc) { + var _result = _meos_c.tcbuffer_at_stbox(temp, box, border_inc); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer numspan_timestamptz_to_tbox(Pointer span, OffsetDateTime t) { - var t_new = t.toEpochSecond(); - var _result = _meos_b.numspan_timestamptz_to_tbox(span, t_new); + public static Pointer tcbuffer_minus_cbuffer(Pointer temp, Pointer cb) { + var _result = _meos_c.tcbuffer_minus_cbuffer(temp, cb); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tbox_copy(Pointer box) { - var _result = _meos_b.tbox_copy(box); + public static Pointer tcbuffer_minus_geom(Pointer temp, Pointer gs) { + var _result = _meos_c.tcbuffer_minus_geom(temp, gs); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tbox_make(Pointer s, Pointer p) { - var _result = _meos_b.tbox_make(s, p); + public static Pointer tcbuffer_minus_stbox(Pointer temp, Pointer box, boolean border_inc) { + var _result = _meos_c.tcbuffer_minus_stbox(temp, box, border_inc); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer float_to_tbox(double d) { - var _result = _meos_b.float_to_tbox(d); + public static Pointer tdistance_tcbuffer_cbuffer(Pointer temp, Pointer cb) { + var _result = _meos_c.tdistance_tcbuffer_cbuffer(temp, cb); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer int_to_tbox(int i) { - var _result = _meos_b.int_to_tbox(i); + public static Pointer tdistance_tcbuffer_geo(Pointer temp, Pointer gs) { + var _result = _meos_c.tdistance_tcbuffer_geo(temp, gs); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer set_to_tbox(Pointer s) { - var _result = _meos_b.set_to_tbox(s); + public static Pointer tdistance_tcbuffer_tcbuffer(Pointer temp1, Pointer temp2) { + var _result = _meos_c.tdistance_tcbuffer_tcbuffer(temp1, temp2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer span_to_tbox(Pointer s) { - var _result = _meos_b.span_to_tbox(s); + public static double nad_tcbuffer_cbuffer(Pointer temp, Pointer cb) { + var _result = _meos_c.nad_tcbuffer_cbuffer(temp, cb); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer spanset_to_tbox(Pointer ss) { - var _result = _meos_b.spanset_to_tbox(ss); + public static double nad_tcbuffer_geo(Pointer temp, Pointer gs) { + var _result = _meos_c.nad_tcbuffer_geo(temp, gs); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tbox_to_intspan(Pointer box) { - var _result = _meos_b.tbox_to_intspan(box); + public static double nad_tcbuffer_stbox(Pointer temp, Pointer box) { + var _result = _meos_c.nad_tcbuffer_stbox(temp, box); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tbox_to_floatspan(Pointer box) { - var _result = _meos_b.tbox_to_floatspan(box); + public static double nad_tcbuffer_tcbuffer(Pointer temp1, Pointer temp2) { + var _result = _meos_c.nad_tcbuffer_tcbuffer(temp1, temp2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tbox_to_tstzspan(Pointer box) { - var _result = _meos_b.tbox_to_tstzspan(box); + public static Pointer nai_tcbuffer_cbuffer(Pointer temp, Pointer cb) { + var _result = _meos_c.nai_tcbuffer_cbuffer(temp, cb); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer timestamptz_to_tbox(OffsetDateTime t) { - var t_new = t.toEpochSecond(); - var _result = _meos_b.timestamptz_to_tbox(t_new); + public static Pointer nai_tcbuffer_geo(Pointer temp, Pointer gs) { + var _result = _meos_c.nai_tcbuffer_geo(temp, gs); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int tbox_hash(Pointer box) { - var _result = _meos_b.tbox_hash(box); + public static Pointer nai_tcbuffer_tcbuffer(Pointer temp1, Pointer temp2) { + var _result = _meos_c.nai_tcbuffer_tcbuffer(temp1, temp2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static long tbox_hash_extended(Pointer box, long seed) { - var _result = _meos_b.tbox_hash_extended(box, seed); + public static Pointer shortestline_tcbuffer_cbuffer(Pointer temp, Pointer cb) { + var _result = _meos_c.shortestline_tcbuffer_cbuffer(temp, cb); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean tbox_hast(Pointer box) { - var _result = _meos_b.tbox_hast(box); + public static Pointer shortestline_tcbuffer_geo(Pointer temp, Pointer gs) { + var _result = _meos_c.shortestline_tcbuffer_geo(temp, gs); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean tbox_hasx(Pointer box) { - var _result = _meos_b.tbox_hasx(box); + public static Pointer shortestline_tcbuffer_tcbuffer(Pointer temp1, Pointer temp2) { + var _result = _meos_c.shortestline_tcbuffer_tcbuffer(temp1, temp2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tbox_tmax(Pointer box) { - boolean out; - Runtime runtime = Runtime.getSystemRuntime(); - Pointer result = Memory.allocateDirect(runtime, Long.BYTES); - out = _meos_b.tbox_tmax(box, result); + public static int always_eq_cbuffer_tcbuffer(Pointer cb, Pointer temp) { + var _result = _meos_c.always_eq_cbuffer_tcbuffer(cb, temp); MeosErrorHandler.checkError(); - return out ? result : null; + return _result; } @SuppressWarnings("unused") - public static Pointer tbox_tmax_inc(Pointer box) { - boolean out; - Runtime runtime = Runtime.getSystemRuntime(); - Pointer result = Memory.allocateDirect(runtime, Byte.BYTES); - out = _meos_b.tbox_tmax_inc(box, result); + public static int always_eq_tcbuffer_cbuffer(Pointer temp, Pointer cb) { + var _result = _meos_c.always_eq_tcbuffer_cbuffer(temp, cb); MeosErrorHandler.checkError(); - return out ? result : null; + return _result; } @SuppressWarnings("unused") - public static Pointer tbox_tmin(Pointer box) { - boolean out; - Runtime runtime = Runtime.getSystemRuntime(); - Pointer result = Memory.allocateDirect(runtime, Long.BYTES); - out = _meos_b.tbox_tmin(box, result); + public static int always_eq_tcbuffer_tcbuffer(Pointer temp1, Pointer temp2) { + var _result = _meos_c.always_eq_tcbuffer_tcbuffer(temp1, temp2); MeosErrorHandler.checkError(); - return out ? result : null; + return _result; } @SuppressWarnings("unused") - public static Pointer tbox_tmin_inc(Pointer box) { - boolean out; - Runtime runtime = Runtime.getSystemRuntime(); - Pointer result = Memory.allocateDirect(runtime, Byte.BYTES); - out = _meos_b.tbox_tmin_inc(box, result); + public static int always_ne_cbuffer_tcbuffer(Pointer cb, Pointer temp) { + var _result = _meos_c.always_ne_cbuffer_tcbuffer(cb, temp); MeosErrorHandler.checkError(); - return out ? result : null; + return _result; } @SuppressWarnings("unused") - public static Pointer tbox_xmax(Pointer box) { - boolean out; - Runtime runtime = Runtime.getSystemRuntime(); - Pointer result = Memory.allocateDirect(runtime, Double.BYTES); - out = _meos_b.tbox_xmax(box, result); + public static int always_ne_tcbuffer_cbuffer(Pointer temp, Pointer cb) { + var _result = _meos_c.always_ne_tcbuffer_cbuffer(temp, cb); MeosErrorHandler.checkError(); - return out ? result : null; + return _result; } @SuppressWarnings("unused") - public static Pointer tbox_xmax_inc(Pointer box) { - boolean out; - Runtime runtime = Runtime.getSystemRuntime(); - Pointer result = Memory.allocateDirect(runtime, Byte.BYTES); - out = _meos_b.tbox_xmax_inc(box, result); + public static int always_ne_tcbuffer_tcbuffer(Pointer temp1, Pointer temp2) { + var _result = _meos_c.always_ne_tcbuffer_tcbuffer(temp1, temp2); MeosErrorHandler.checkError(); - return out ? result : null; + return _result; } @SuppressWarnings("unused") - public static Pointer tbox_xmin(Pointer box) { - boolean out; - Runtime runtime = Runtime.getSystemRuntime(); - Pointer result = Memory.allocateDirect(runtime, Double.BYTES); - out = _meos_b.tbox_xmin(box, result); + public static int ever_eq_cbuffer_tcbuffer(Pointer cb, Pointer temp) { + var _result = _meos_c.ever_eq_cbuffer_tcbuffer(cb, temp); MeosErrorHandler.checkError(); - return out ? result : null; + return _result; } @SuppressWarnings("unused") - public static Pointer tbox_xmin_inc(Pointer box) { - boolean out; - Runtime runtime = Runtime.getSystemRuntime(); - Pointer result = Memory.allocateDirect(runtime, Byte.BYTES); - out = _meos_b.tbox_xmin_inc(box, result); + public static int ever_eq_tcbuffer_cbuffer(Pointer temp, Pointer cb) { + var _result = _meos_c.ever_eq_tcbuffer_cbuffer(temp, cb); MeosErrorHandler.checkError(); - return out ? result : null; + return _result; } @SuppressWarnings("unused") - public static Pointer tboxfloat_xmax(Pointer box) { - boolean out; - Runtime runtime = Runtime.getSystemRuntime(); - Pointer result = Memory.allocateDirect(runtime, Double.BYTES); - out = _meos_b.tboxfloat_xmax(box, result); + public static int ever_eq_tcbuffer_tcbuffer(Pointer temp1, Pointer temp2) { + var _result = _meos_c.ever_eq_tcbuffer_tcbuffer(temp1, temp2); MeosErrorHandler.checkError(); - return out ? result : null; + return _result; } @SuppressWarnings("unused") - public static Pointer tboxfloat_xmin(Pointer box) { - boolean out; - Runtime runtime = Runtime.getSystemRuntime(); - Pointer result = Memory.allocateDirect(runtime, Double.BYTES); - out = _meos_b.tboxfloat_xmin(box, result); + public static int ever_ne_cbuffer_tcbuffer(Pointer cb, Pointer temp) { + var _result = _meos_c.ever_ne_cbuffer_tcbuffer(cb, temp); MeosErrorHandler.checkError(); - return out ? result : null; + return _result; } @SuppressWarnings("unused") - public static Pointer tboxint_xmax(Pointer box) { - boolean out; - Runtime runtime = Runtime.getSystemRuntime(); - Pointer result = Memory.allocateDirect(runtime, Integer.BYTES); - out = _meos_b.tboxint_xmax(box, result); + public static int ever_ne_tcbuffer_cbuffer(Pointer temp, Pointer cb) { + var _result = _meos_c.ever_ne_tcbuffer_cbuffer(temp, cb); MeosErrorHandler.checkError(); - return out ? result : null; + return _result; } @SuppressWarnings("unused") - public static Pointer tboxint_xmin(Pointer box) { - boolean out; - Runtime runtime = Runtime.getSystemRuntime(); - Pointer result = Memory.allocateDirect(runtime, Integer.BYTES); - out = _meos_b.tboxint_xmin(box, result); + public static int ever_ne_tcbuffer_tcbuffer(Pointer temp1, Pointer temp2) { + var _result = _meos_c.ever_ne_tcbuffer_tcbuffer(temp1, temp2); MeosErrorHandler.checkError(); - return out ? result : null; + return _result; } @SuppressWarnings("unused") - public static Pointer tbox_expand_time(Pointer box, Pointer interv) { - var _result = _meos_b.tbox_expand_time(box, interv); + public static Pointer teq_cbuffer_tcbuffer(Pointer cb, Pointer temp) { + var _result = _meos_c.teq_cbuffer_tcbuffer(cb, temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tbox_round(Pointer box, int maxdd) { - var _result = _meos_b.tbox_round(box, maxdd); + public static Pointer teq_tcbuffer_cbuffer(Pointer temp, Pointer cb) { + var _result = _meos_c.teq_tcbuffer_cbuffer(temp, cb); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tbox_shift_scale_time(Pointer box, Pointer shift, Pointer duration) { - var _result = _meos_b.tbox_shift_scale_time(box, shift, duration); + public static Pointer tne_cbuffer_tcbuffer(Pointer cb, Pointer temp) { + var _result = _meos_c.tne_cbuffer_tcbuffer(cb, temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tfloatbox_expand(Pointer box, double d) { - var _result = _meos_b.tfloatbox_expand(box, d); + public static Pointer tne_tcbuffer_cbuffer(Pointer temp, Pointer cb) { + var _result = _meos_c.tne_tcbuffer_cbuffer(temp, cb); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tfloatbox_shift_scale(Pointer box, double shift, double width, boolean hasshift, boolean haswidth) { - var _result = _meos_b.tfloatbox_shift_scale(box, shift, width, hasshift, haswidth); + public static int acontains_cbuffer_tcbuffer(Pointer cb, Pointer temp) { + var _result = _meos_c.acontains_cbuffer_tcbuffer(cb, temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tintbox_expand(Pointer box, int i) { - var _result = _meos_b.tintbox_expand(box, i); + public static int acontains_geo_tcbuffer(Pointer gs, Pointer temp) { + var _result = _meos_c.acontains_geo_tcbuffer(gs, temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tintbox_shift_scale(Pointer box, int shift, int width, boolean hasshift, boolean haswidth) { - var _result = _meos_b.tintbox_shift_scale(box, shift, width, hasshift, haswidth); + public static int acontains_tcbuffer_cbuffer(Pointer temp, Pointer cb) { + var _result = _meos_c.acontains_tcbuffer_cbuffer(temp, cb); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer union_tbox_tbox(Pointer box1, Pointer box2, boolean strict) { - var _result = _meos_b.union_tbox_tbox(box1, box2, strict); + public static int acontains_tcbuffer_geo(Pointer temp, Pointer gs) { + var _result = _meos_c.acontains_tcbuffer_geo(temp, gs); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer intersection_tbox_tbox(Pointer box1, Pointer box2) { - var _result = _meos_b.intersection_tbox_tbox(box1, box2); + public static int acovers_cbuffer_tcbuffer(Pointer cb, Pointer temp) { + var _result = _meos_c.acovers_cbuffer_tcbuffer(cb, temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean adjacent_tbox_tbox(Pointer box1, Pointer box2) { - var _result = _meos_b.adjacent_tbox_tbox(box1, box2); + public static int acovers_geo_tcbuffer(Pointer gs, Pointer temp) { + var _result = _meos_c.acovers_geo_tcbuffer(gs, temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean contained_tbox_tbox(Pointer box1, Pointer box2) { - var _result = _meos_b.contained_tbox_tbox(box1, box2); + public static int acovers_tcbuffer_cbuffer(Pointer temp, Pointer cb) { + var _result = _meos_c.acovers_tcbuffer_cbuffer(temp, cb); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean contains_tbox_tbox(Pointer box1, Pointer box2) { - var _result = _meos_b.contains_tbox_tbox(box1, box2); + public static int acovers_tcbuffer_geo(Pointer temp, Pointer gs) { + var _result = _meos_c.acovers_tcbuffer_geo(temp, gs); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean overlaps_tbox_tbox(Pointer box1, Pointer box2) { - var _result = _meos_b.overlaps_tbox_tbox(box1, box2); + public static int adisjoint_tcbuffer_geo(Pointer temp, Pointer gs) { + var _result = _meos_c.adisjoint_tcbuffer_geo(temp, gs); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean same_tbox_tbox(Pointer box1, Pointer box2) { - var _result = _meos_b.same_tbox_tbox(box1, box2); + public static int adisjoint_tcbuffer_cbuffer(Pointer temp, Pointer cb) { + var _result = _meos_c.adisjoint_tcbuffer_cbuffer(temp, cb); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean after_tbox_tbox(Pointer box1, Pointer box2) { - var _result = _meos_b.after_tbox_tbox(box1, box2); + public static int adisjoint_tcbuffer_tcbuffer(Pointer temp1, Pointer temp2) { + var _result = _meos_c.adisjoint_tcbuffer_tcbuffer(temp1, temp2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean before_tbox_tbox(Pointer box1, Pointer box2) { - var _result = _meos_b.before_tbox_tbox(box1, box2); + public static int adwithin_tcbuffer_geo(Pointer temp, Pointer gs, double dist) { + var _result = _meos_c.adwithin_tcbuffer_geo(temp, gs, dist); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean left_tbox_tbox(Pointer box1, Pointer box2) { - var _result = _meos_b.left_tbox_tbox(box1, box2); + public static int adwithin_tcbuffer_cbuffer(Pointer temp, Pointer cb, double dist) { + var _result = _meos_c.adwithin_tcbuffer_cbuffer(temp, cb, dist); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean overafter_tbox_tbox(Pointer box1, Pointer box2) { - var _result = _meos_b.overafter_tbox_tbox(box1, box2); + public static int adwithin_tcbuffer_tcbuffer(Pointer temp1, Pointer temp2, double dist) { + var _result = _meos_c.adwithin_tcbuffer_tcbuffer(temp1, temp2, dist); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean overbefore_tbox_tbox(Pointer box1, Pointer box2) { - var _result = _meos_b.overbefore_tbox_tbox(box1, box2); + public static int aintersects_tcbuffer_geo(Pointer temp, Pointer gs) { + var _result = _meos_c.aintersects_tcbuffer_geo(temp, gs); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean overleft_tbox_tbox(Pointer box1, Pointer box2) { - var _result = _meos_b.overleft_tbox_tbox(box1, box2); + public static int aintersects_tcbuffer_cbuffer(Pointer temp, Pointer cb) { + var _result = _meos_c.aintersects_tcbuffer_cbuffer(temp, cb); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean overright_tbox_tbox(Pointer box1, Pointer box2) { - var _result = _meos_b.overright_tbox_tbox(box1, box2); + public static int aintersects_tcbuffer_tcbuffer(Pointer temp1, Pointer temp2) { + var _result = _meos_c.aintersects_tcbuffer_tcbuffer(temp1, temp2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean right_tbox_tbox(Pointer box1, Pointer box2) { - var _result = _meos_b.right_tbox_tbox(box1, box2); + public static int atouches_tcbuffer_geo(Pointer temp, Pointer gs) { + var _result = _meos_c.atouches_tcbuffer_geo(temp, gs); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int tbox_cmp(Pointer box1, Pointer box2) { - var _result = _meos_b.tbox_cmp(box1, box2); + public static int atouches_tcbuffer_cbuffer(Pointer temp, Pointer cb) { + var _result = _meos_c.atouches_tcbuffer_cbuffer(temp, cb); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean tbox_eq(Pointer box1, Pointer box2) { - var _result = _meos_b.tbox_eq(box1, box2); + public static int atouches_tcbuffer_tcbuffer(Pointer temp1, Pointer temp2) { + var _result = _meos_c.atouches_tcbuffer_tcbuffer(temp1, temp2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean tbox_ge(Pointer box1, Pointer box2) { - var _result = _meos_b.tbox_ge(box1, box2); + public static int econtains_cbuffer_tcbuffer(Pointer cb, Pointer temp) { + var _result = _meos_c.econtains_cbuffer_tcbuffer(cb, temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean tbox_gt(Pointer box1, Pointer box2) { - var _result = _meos_b.tbox_gt(box1, box2); + public static int econtains_tcbuffer_cbuffer(Pointer temp, Pointer cb) { + var _result = _meos_c.econtains_tcbuffer_cbuffer(temp, cb); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean tbox_le(Pointer box1, Pointer box2) { - var _result = _meos_b.tbox_le(box1, box2); + public static int econtains_tcbuffer_geo(Pointer temp, Pointer gs) { + var _result = _meos_c.econtains_tcbuffer_geo(temp, gs); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean tbox_lt(Pointer box1, Pointer box2) { - var _result = _meos_b.tbox_lt(box1, box2); + public static int ecovers_cbuffer_tcbuffer(Pointer cb, Pointer temp) { + var _result = _meos_c.ecovers_cbuffer_tcbuffer(cb, temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean tbox_ne(Pointer box1, Pointer box2) { - var _result = _meos_b.tbox_ne(box1, box2); + public static int ecovers_tcbuffer_cbuffer(Pointer temp, Pointer cb) { + var _result = _meos_c.ecovers_tcbuffer_cbuffer(temp, cb); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tbool_from_mfjson(String str) { - var _result = _meos_b.tbool_from_mfjson(str); + public static int ecovers_tcbuffer_geo(Pointer temp, Pointer gs) { + var _result = _meos_c.ecovers_tcbuffer_geo(temp, gs); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tbool_in(String str) { - var _result = _meos_b.tbool_in(str); + public static int ecovers_tcbuffer_tcbuffer(Pointer temp1, Pointer temp2) { + var _result = _meos_c.ecovers_tcbuffer_tcbuffer(temp1, temp2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static String tbool_out(Pointer temp) { - var _result = _meos_b.tbool_out(temp); + public static int edisjoint_tcbuffer_geo(Pointer temp, Pointer gs) { + var _result = _meos_c.edisjoint_tcbuffer_geo(temp, gs); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static String temporal_as_hexwkb(Pointer temp, byte variant) { - Runtime runtime = Runtime.getSystemRuntime(); - Pointer size_out = Memory.allocateDirect(runtime, Long.BYTES); - var _result = _meos_b.temporal_as_hexwkb(temp, variant, size_out); + public static int edisjoint_tcbuffer_cbuffer(Pointer temp, Pointer cb) { + var _result = _meos_c.edisjoint_tcbuffer_cbuffer(temp, cb); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static String temporal_as_mfjson(Pointer temp, boolean with_bbox, int flags, int precision, String srs) { - var _result = _meos_b.temporal_as_mfjson(temp, with_bbox, flags, precision, srs); + public static int edwithin_tcbuffer_geo(Pointer temp, Pointer gs, double dist) { + var _result = _meos_c.edwithin_tcbuffer_geo(temp, gs, dist); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer temporal_as_wkb(Pointer temp, byte variant) { - Runtime runtime = Runtime.getSystemRuntime(); - Pointer size_out = Memory.allocateDirect(runtime, Long.BYTES); - var _result = _meos_b.temporal_as_wkb(temp, variant, size_out); + public static int edwithin_tcbuffer_cbuffer(Pointer temp, Pointer cb, double dist) { + var _result = _meos_c.edwithin_tcbuffer_cbuffer(temp, cb, dist); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer temporal_from_hexwkb(String hexwkb) { - var _result = _meos_b.temporal_from_hexwkb(hexwkb); + public static int edwithin_tcbuffer_tcbuffer(Pointer temp1, Pointer temp2, double dist) { + var _result = _meos_c.edwithin_tcbuffer_tcbuffer(temp1, temp2, dist); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer temporal_from_wkb(Pointer wkb, long size) { - var _result = _meos_b.temporal_from_wkb(wkb, size); + public static int eintersects_tcbuffer_geo(Pointer temp, Pointer gs) { + var _result = _meos_c.eintersects_tcbuffer_geo(temp, gs); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tfloat_from_mfjson(String str) { - var _result = _meos_b.tfloat_from_mfjson(str); + public static int eintersects_tcbuffer_cbuffer(Pointer temp, Pointer cb) { + var _result = _meos_c.eintersects_tcbuffer_cbuffer(temp, cb); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tfloat_in(String str) { - var _result = _meos_b.tfloat_in(str); + public static int eintersects_tcbuffer_tcbuffer(Pointer temp1, Pointer temp2) { + var _result = _meos_c.eintersects_tcbuffer_tcbuffer(temp1, temp2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static String tfloat_out(Pointer temp, int maxdd) { - var _result = _meos_b.tfloat_out(temp, maxdd); + public static int etouches_tcbuffer_geo(Pointer temp, Pointer gs) { + var _result = _meos_c.etouches_tcbuffer_geo(temp, gs); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tint_from_mfjson(String str) { - var _result = _meos_b.tint_from_mfjson(str); + public static int etouches_tcbuffer_cbuffer(Pointer temp, Pointer cb) { + var _result = _meos_c.etouches_tcbuffer_cbuffer(temp, cb); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tint_in(String str) { - var _result = _meos_b.tint_in(str); + public static int etouches_tcbuffer_tcbuffer(Pointer temp1, Pointer temp2) { + var _result = _meos_c.etouches_tcbuffer_tcbuffer(temp1, temp2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static String tint_out(Pointer temp) { - var _result = _meos_b.tint_out(temp); + public static Pointer tcontains_cbuffer_tcbuffer(Pointer cb, Pointer temp) { + var _result = _meos_c.tcontains_cbuffer_tcbuffer(cb, temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer ttext_from_mfjson(String str) { - var _result = _meos_b.ttext_from_mfjson(str); + public static Pointer tcontains_geo_tcbuffer(Pointer gs, Pointer temp) { + var _result = _meos_c.tcontains_geo_tcbuffer(gs, temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer ttext_in(String str) { - var _result = _meos_b.ttext_in(str); + public static Pointer tcontains_tcbuffer_geo(Pointer temp, Pointer gs) { + var _result = _meos_c.tcontains_tcbuffer_geo(temp, gs); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static String ttext_out(Pointer temp) { - var _result = _meos_b.ttext_out(temp); + public static Pointer tcontains_tcbuffer_cbuffer(Pointer temp, Pointer cb) { + var _result = _meos_c.tcontains_tcbuffer_cbuffer(temp, cb); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tbool_from_base_temp(boolean b, Pointer temp) { - var _result = _meos_b.tbool_from_base_temp(b, temp); + public static Pointer tcontains_tcbuffer_tcbuffer(Pointer temp1, Pointer temp2) { + var _result = _meos_c.tcontains_tcbuffer_tcbuffer(temp1, temp2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tboolinst_make(boolean b, OffsetDateTime t) { - var t_new = t.toEpochSecond(); - var _result = _meos_b.tboolinst_make(b, t_new); + public static Pointer tcovers_cbuffer_tcbuffer(Pointer cb, Pointer temp) { + var _result = _meos_c.tcovers_cbuffer_tcbuffer(cb, temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tboolseq_from_base_tstzset(boolean b, Pointer s) { - var _result = _meos_b.tboolseq_from_base_tstzset(b, s); + public static Pointer tcovers_geo_tcbuffer(Pointer gs, Pointer temp) { + var _result = _meos_c.tcovers_geo_tcbuffer(gs, temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tboolseq_from_base_tstzspan(boolean b, Pointer s) { - var _result = _meos_b.tboolseq_from_base_tstzspan(b, s); + public static Pointer tcovers_tcbuffer_geo(Pointer temp, Pointer gs) { + var _result = _meos_c.tcovers_tcbuffer_geo(temp, gs); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tboolseqset_from_base_tstzspanset(boolean b, Pointer ss) { - var _result = _meos_b.tboolseqset_from_base_tstzspanset(b, ss); + public static Pointer tcovers_tcbuffer_cbuffer(Pointer temp, Pointer cb) { + var _result = _meos_c.tcovers_tcbuffer_cbuffer(temp, cb); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer temporal_copy(Pointer temp) { - var _result = _meos_b.temporal_copy(temp); + public static Pointer tcovers_tcbuffer_tcbuffer(Pointer temp1, Pointer temp2) { + var _result = _meos_c.tcovers_tcbuffer_tcbuffer(temp1, temp2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tfloat_from_base_temp(double d, Pointer temp) { - var _result = _meos_b.tfloat_from_base_temp(d, temp); + public static Pointer tdwithin_geo_tcbuffer(Pointer gs, Pointer temp, double dist) { + var _result = _meos_c.tdwithin_geo_tcbuffer(gs, temp, dist); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tfloatinst_make(double d, OffsetDateTime t) { - var t_new = t.toEpochSecond(); - var _result = _meos_b.tfloatinst_make(d, t_new); + public static Pointer tdwithin_tcbuffer_geo(Pointer temp, Pointer gs, double dist) { + var _result = _meos_c.tdwithin_tcbuffer_geo(temp, gs, dist); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tfloatseq_from_base_tstzset(double d, Pointer s) { - var _result = _meos_b.tfloatseq_from_base_tstzset(d, s); + public static Pointer tdwithin_tcbuffer_cbuffer(Pointer temp, Pointer cb, double dist) { + var _result = _meos_c.tdwithin_tcbuffer_cbuffer(temp, cb, dist); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tfloatseq_from_base_tstzspan(double d, Pointer s, int interp) { - var _result = _meos_b.tfloatseq_from_base_tstzspan(d, s, interp); + public static Pointer tdwithin_tcbuffer_tcbuffer(Pointer temp1, Pointer temp2, double dist) { + var _result = _meos_c.tdwithin_tcbuffer_tcbuffer(temp1, temp2, dist); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tfloatseqset_from_base_tstzspanset(double d, Pointer ss, int interp) { - var _result = _meos_b.tfloatseqset_from_base_tstzspanset(d, ss, interp); + public static Pointer tdisjoint_cbuffer_tcbuffer(Pointer cb, Pointer temp) { + var _result = _meos_c.tdisjoint_cbuffer_tcbuffer(cb, temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tint_from_base_temp(int i, Pointer temp) { - var _result = _meos_b.tint_from_base_temp(i, temp); + public static Pointer tdisjoint_geo_tcbuffer(Pointer gs, Pointer temp) { + var _result = _meos_c.tdisjoint_geo_tcbuffer(gs, temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tintinst_make(int i, OffsetDateTime t) { - var t_new = t.toEpochSecond(); - var _result = _meos_b.tintinst_make(i, t_new); + public static Pointer tdisjoint_tcbuffer_geo(Pointer temp, Pointer gs) { + var _result = _meos_c.tdisjoint_tcbuffer_geo(temp, gs); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tintseq_from_base_tstzset(int i, Pointer s) { - var _result = _meos_b.tintseq_from_base_tstzset(i, s); + public static Pointer tdisjoint_tcbuffer_cbuffer(Pointer temp, Pointer cb) { + var _result = _meos_c.tdisjoint_tcbuffer_cbuffer(temp, cb); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tintseq_from_base_tstzspan(int i, Pointer s) { - var _result = _meos_b.tintseq_from_base_tstzspan(i, s); + public static Pointer tdisjoint_tcbuffer_tcbuffer(Pointer temp1, Pointer temp2) { + var _result = _meos_c.tdisjoint_tcbuffer_tcbuffer(temp1, temp2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tintseqset_from_base_tstzspanset(int i, Pointer ss) { - var _result = _meos_b.tintseqset_from_base_tstzspanset(i, ss); + public static Pointer tintersects_cbuffer_tcbuffer(Pointer cb, Pointer temp) { + var _result = _meos_c.tintersects_cbuffer_tcbuffer(cb, temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tsequence_make(Pointer instants, int count, boolean lower_inc, boolean upper_inc, int interp, boolean normalize) { - var _result = _meos_b.tsequence_make(instants, count, lower_inc, upper_inc, interp, normalize); + public static Pointer tintersects_geo_tcbuffer(Pointer gs, Pointer temp) { + var _result = _meos_c.tintersects_geo_tcbuffer(gs, temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tsequenceset_make(Pointer sequences, int count, boolean normalize) { - var _result = _meos_b.tsequenceset_make(sequences, count, normalize); + public static Pointer tintersects_tcbuffer_geo(Pointer temp, Pointer gs) { + var _result = _meos_c.tintersects_tcbuffer_geo(temp, gs); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tsequenceset_make_gaps(Pointer instants, int count, int interp, Pointer maxt, double maxdist) { - var _result = _meos_b.tsequenceset_make_gaps(instants, count, interp, maxt, maxdist); + public static Pointer tintersects_tcbuffer_cbuffer(Pointer temp, Pointer cb) { + var _result = _meos_c.tintersects_tcbuffer_cbuffer(temp, cb); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer ttext_from_base_temp(Pointer txt, Pointer temp) { - var _result = _meos_b.ttext_from_base_temp(txt, temp); + public static Pointer tintersects_tcbuffer_tcbuffer(Pointer temp1, Pointer temp2) { + var _result = _meos_c.tintersects_tcbuffer_tcbuffer(temp1, temp2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer ttextinst_make(Pointer txt, OffsetDateTime t) { - var t_new = t.toEpochSecond(); - var _result = _meos_b.ttextinst_make(txt, t_new); + public static Pointer ttouches_geo_tcbuffer(Pointer gs, Pointer temp) { + var _result = _meos_c.ttouches_geo_tcbuffer(gs, temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer ttextseq_from_base_tstzset(Pointer txt, Pointer s) { - var _result = _meos_b.ttextseq_from_base_tstzset(txt, s); + public static Pointer ttouches_tcbuffer_geo(Pointer temp, Pointer gs) { + var _result = _meos_c.ttouches_tcbuffer_geo(temp, gs); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer ttextseq_from_base_tstzspan(Pointer txt, Pointer s) { - var _result = _meos_b.ttextseq_from_base_tstzspan(txt, s); + public static Pointer ttouches_cbuffer_tcbuffer(Pointer cb, Pointer temp) { + var _result = _meos_c.ttouches_cbuffer_tcbuffer(cb, temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer ttextseqset_from_base_tstzspanset(Pointer txt, Pointer ss) { - var _result = _meos_b.ttextseqset_from_base_tstzspanset(txt, ss); + public static Pointer ttouches_tcbuffer_cbuffer(Pointer temp, Pointer cb) { + var _result = _meos_c.ttouches_tcbuffer_cbuffer(temp, cb); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tbool_to_tint(Pointer temp) { - var _result = _meos_b.tbool_to_tint(temp); + public static Pointer ttouches_tcbuffer_tcbuffer(Pointer temp1, Pointer temp2) { + var _result = _meos_c.ttouches_tcbuffer_tcbuffer(temp1, temp2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer temporal_to_tstzspan(Pointer temp) { - var _result = _meos_b.temporal_to_tstzspan(temp); + public static int acovers_tcbuffer_tcbuffer(Pointer temp1, Pointer temp2) { + var _result = _meos_c.acovers_tcbuffer_tcbuffer(temp1, temp2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tfloat_to_tint(Pointer temp) { - var _result = _meos_b.tfloat_to_tint(temp); + public static long h3index_in(String str) { + var _result = _meos_c.h3index_in(str); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tint_to_tfloat(Pointer temp) { - var _result = _meos_b.tint_to_tfloat(temp); + public static String h3index_out(long cell) { + var _result = _meos_c.h3index_out(cell); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tnumber_to_span(Pointer temp) { - var _result = _meos_b.tnumber_to_span(temp); + public static Pointer th3index_in(String str) { + var _result = _meos_c.th3index_in(str); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tnumber_to_tbox(Pointer temp) { - var _result = _meos_b.tnumber_to_tbox(temp); + public static Pointer th3indexinst_in(String str) { + var _result = _meos_c.th3indexinst_in(str); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean tbool_end_value(Pointer temp) { - var _result = _meos_b.tbool_end_value(temp); + public static Pointer th3indexseq_in(String str, int interp) { + var _result = _meos_c.th3indexseq_in(str, interp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean tbool_start_value(Pointer temp) { - var _result = _meos_b.tbool_start_value(temp); + public static Pointer th3indexseqset_in(String str) { + var _result = _meos_c.th3indexseqset_in(str); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean tbool_value_at_timestamptz(Pointer temp, OffsetDateTime t, boolean strict, Pointer value) { + public static Pointer th3index_make(long value, OffsetDateTime t) { var t_new = t.toEpochSecond(); - var _result = _meos_b.tbool_value_at_timestamptz(temp, t_new, strict, value); + var _result = _meos_c.th3index_make(value, t_new); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tbool_value_n(Pointer temp, int n) { - boolean out; - Runtime runtime = Runtime.getSystemRuntime(); - Pointer result = Memory.allocateDirect(runtime, Byte.BYTES); - out = _meos_b.tbool_value_n(temp, n, result); + public static Pointer th3indexinst_make(long value, OffsetDateTime t) { + var t_new = t.toEpochSecond(); + var _result = _meos_c.th3indexinst_make(value, t_new); MeosErrorHandler.checkError(); - return out ? result : null; + return _result; } @SuppressWarnings("unused") - public static Pointer tbool_values(Pointer temp, Pointer count) { - var _result = _meos_b.tbool_values(temp, count); + public static Pointer th3indexseq_make(Pointer values, Pointer times, int count, boolean lower_inc, boolean upper_inc) { + var _result = _meos_c.th3indexseq_make(values, times, count, lower_inc, upper_inc); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer temporal_duration(Pointer temp, boolean boundspan) { - var _result = _meos_b.temporal_duration(temp, boundspan); + public static Pointer th3indexseqset_make(Pointer sequences, int count) { + var _result = _meos_c.th3indexseqset_make(sequences, count); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer temporal_end_instant(Pointer temp) { - var _result = _meos_b.temporal_end_instant(temp); + public static long th3index_start_value(Pointer temp) { + var _result = _meos_c.th3index_start_value(temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer temporal_end_sequence(Pointer temp) { - var _result = _meos_b.temporal_end_sequence(temp); + public static long th3index_end_value(Pointer temp) { + var _result = _meos_c.th3index_end_value(temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static OffsetDateTime temporal_end_timestamptz(Pointer temp) { - var _result = _meos_b.temporal_end_timestamptz(temp); + public static Pointer th3index_value_n(Pointer temp, int n) { + boolean out; + Runtime runtime = Runtime.getSystemRuntime(); + Pointer result = Memory.allocateDirect(runtime, Long.BYTES); + out = _meos_c.th3index_value_n(temp, n, result); + Pointer new_result = result.getPointer(0); MeosErrorHandler.checkError(); - return java.time.Instant.ofEpochSecond(_result).atOffset(java.time.ZoneOffset.UTC); + return out ? new_result : null; } @SuppressWarnings("unused") - public static int temporal_hash(Pointer temp) { - var _result = _meos_b.temporal_hash(temp); + public static Pointer th3index_values(Pointer temp, Pointer count) { + var _result = _meos_c.th3index_values(temp, count); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer temporal_instant_n(Pointer temp, int n) { - var _result = _meos_b.temporal_instant_n(temp, n); + public static Pointer th3index_value_at_timestamptz(Pointer temp, OffsetDateTime t, boolean strict) { + boolean out; + Runtime runtime = Runtime.getSystemRuntime(); + Pointer result = Memory.allocateDirect(runtime, Long.BYTES); + var t_new = t.toEpochSecond(); + out = _meos_c.th3index_value_at_timestamptz(temp, t_new, strict, result); + Pointer new_result = result.getPointer(0); MeosErrorHandler.checkError(); - return _result; + return out ? new_result : null; } @SuppressWarnings("unused") - public static Pointer temporal_instants(Pointer temp, Pointer count) { - var _result = _meos_b.temporal_instants(temp, count); + public static Pointer tbigint_to_th3index(Pointer temp) { + var _result = _meos_c.tbigint_to_th3index(temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static String temporal_interp(Pointer temp) { - var _result = _meos_b.temporal_interp(temp); + public static Pointer th3index_to_tbigint(Pointer temp) { + var _result = _meos_c.th3index_to_tbigint(temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean temporal_lower_inc(Pointer temp) { - var _result = _meos_b.temporal_lower_inc(temp); + public static int ever_eq_h3index_th3index(long cell, Pointer temp) { + var _result = _meos_c.ever_eq_h3index_th3index(cell, temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer temporal_max_instant(Pointer temp) { - var _result = _meos_b.temporal_max_instant(temp); + public static int ever_eq_th3index_h3index(Pointer temp, long cell) { + var _result = _meos_c.ever_eq_th3index_h3index(temp, cell); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer temporal_min_instant(Pointer temp) { - var _result = _meos_b.temporal_min_instant(temp); + public static int ever_ne_h3index_th3index(long cell, Pointer temp) { + var _result = _meos_c.ever_ne_h3index_th3index(cell, temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int temporal_num_instants(Pointer temp) { - var _result = _meos_b.temporal_num_instants(temp); + public static int ever_ne_th3index_h3index(Pointer temp, long cell) { + var _result = _meos_c.ever_ne_th3index_h3index(temp, cell); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int temporal_num_sequences(Pointer temp) { - var _result = _meos_b.temporal_num_sequences(temp); + public static int always_eq_h3index_th3index(long cell, Pointer temp) { + var _result = _meos_c.always_eq_h3index_th3index(cell, temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int temporal_num_timestamps(Pointer temp) { - var _result = _meos_b.temporal_num_timestamps(temp); + public static int always_eq_th3index_h3index(Pointer temp, long cell) { + var _result = _meos_c.always_eq_th3index_h3index(temp, cell); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer temporal_segm_duration(Pointer temp, Pointer duration, boolean atleast, boolean strict) { - var _result = _meos_b.temporal_segm_duration(temp, duration, atleast, strict); + public static int always_ne_h3index_th3index(long cell, Pointer temp) { + var _result = _meos_c.always_ne_h3index_th3index(cell, temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer temporal_segments(Pointer temp, Pointer count) { - var _result = _meos_b.temporal_segments(temp, count); + public static int always_ne_th3index_h3index(Pointer temp, long cell) { + var _result = _meos_c.always_ne_th3index_h3index(temp, cell); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer temporal_sequence_n(Pointer temp, int i) { - var _result = _meos_b.temporal_sequence_n(temp, i); + public static int ever_eq_th3index_th3index(Pointer temp1, Pointer temp2) { + var _result = _meos_c.ever_eq_th3index_th3index(temp1, temp2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer temporal_sequences(Pointer temp, Pointer count) { - var _result = _meos_b.temporal_sequences(temp, count); + public static int ever_ne_th3index_th3index(Pointer temp1, Pointer temp2) { + var _result = _meos_c.ever_ne_th3index_th3index(temp1, temp2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer temporal_start_instant(Pointer temp) { - var _result = _meos_b.temporal_start_instant(temp); + public static int always_eq_th3index_th3index(Pointer temp1, Pointer temp2) { + var _result = _meos_c.always_eq_th3index_th3index(temp1, temp2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer temporal_start_sequence(Pointer temp) { - var _result = _meos_b.temporal_start_sequence(temp); + public static int always_ne_th3index_th3index(Pointer temp1, Pointer temp2) { + var _result = _meos_c.always_ne_th3index_th3index(temp1, temp2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static OffsetDateTime temporal_start_timestamptz(Pointer temp) { - var _result = _meos_b.temporal_start_timestamptz(temp); + public static Pointer teq_h3index_th3index(long cell, Pointer temp) { + var _result = _meos_c.teq_h3index_th3index(cell, temp); MeosErrorHandler.checkError(); - return java.time.Instant.ofEpochSecond(_result).atOffset(java.time.ZoneOffset.UTC); + return _result; } @SuppressWarnings("unused") - public static Pointer temporal_stops(Pointer temp, double maxdist, Pointer minduration) { - var _result = _meos_b.temporal_stops(temp, maxdist, minduration); + public static Pointer teq_th3index_h3index(Pointer temp, long cell) { + var _result = _meos_c.teq_th3index_h3index(temp, cell); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static String temporal_subtype(Pointer temp) { - var _result = _meos_b.temporal_subtype(temp); + public static Pointer teq_th3index_th3index(Pointer temp1, Pointer temp2) { + var _result = _meos_c.teq_th3index_th3index(temp1, temp2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer temporal_time(Pointer temp) { - var _result = _meos_b.temporal_time(temp); + public static Pointer tne_h3index_th3index(long cell, Pointer temp) { + var _result = _meos_c.tne_h3index_th3index(cell, temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer temporal_timestamps(Pointer temp, Pointer count) { - var _result = _meos_b.temporal_timestamps(temp, count); + public static Pointer tne_th3index_h3index(Pointer temp, long cell) { + var _result = _meos_c.tne_th3index_h3index(temp, cell); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer temporal_timestamptz_n(Pointer temp, int n) { - boolean out; - Runtime runtime = Runtime.getSystemRuntime(); - Pointer result = Memory.allocateDirect(runtime, Long.BYTES); - out = _meos_b.temporal_timestamptz_n(temp, n, result); + public static Pointer tne_th3index_th3index(Pointer temp1, Pointer temp2) { + var _result = _meos_c.tne_th3index_th3index(temp1, temp2); MeosErrorHandler.checkError(); - return out ? result : null; + return _result; } @SuppressWarnings("unused") - public static boolean temporal_upper_inc(Pointer temp) { - var _result = _meos_b.temporal_upper_inc(temp); + public static Pointer th3index_get_resolution(Pointer temp) { + var _result = _meos_c.th3index_get_resolution(temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static double tfloat_avg_value(Pointer temp) { - var _result = _meos_b.tfloat_avg_value(temp); + public static Pointer th3index_get_base_cell_number(Pointer temp) { + var _result = _meos_c.th3index_get_base_cell_number(temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static double tfloat_end_value(Pointer temp) { - var _result = _meos_b.tfloat_end_value(temp); + public static Pointer th3index_is_valid_cell(Pointer temp) { + var _result = _meos_c.th3index_is_valid_cell(temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static double tfloat_min_value(Pointer temp) { - var _result = _meos_b.tfloat_min_value(temp); + public static Pointer th3index_is_res_class_iii(Pointer temp) { + var _result = _meos_c.th3index_is_res_class_iii(temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static double tfloat_max_value(Pointer temp) { - var _result = _meos_b.tfloat_max_value(temp); + public static Pointer th3index_is_pentagon(Pointer temp) { + var _result = _meos_c.th3index_is_pentagon(temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static double tfloat_start_value(Pointer temp) { - var _result = _meos_b.tfloat_start_value(temp); + public static Pointer th3index_cell_to_parent(Pointer temp, int resolution) { + var _result = _meos_c.th3index_cell_to_parent(temp, resolution); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean tfloat_value_at_timestamptz(Pointer temp, OffsetDateTime t, boolean strict, Pointer value) { - var t_new = t.toEpochSecond(); - var _result = _meos_b.tfloat_value_at_timestamptz(temp, t_new, strict, value); + public static Pointer th3index_cell_to_parent_next(Pointer temp) { + var _result = _meos_c.th3index_cell_to_parent_next(temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tfloat_value_n(Pointer temp, int n) { - boolean out; - Runtime runtime = Runtime.getSystemRuntime(); - Pointer result = Memory.allocateDirect(runtime, Double.BYTES); - out = _meos_b.tfloat_value_n(temp, n, result); + public static Pointer th3index_cell_to_center_child(Pointer temp, int resolution) { + var _result = _meos_c.th3index_cell_to_center_child(temp, resolution); MeosErrorHandler.checkError(); - return out ? result : null; + return _result; } @SuppressWarnings("unused") - public static Pointer tfloat_values(Pointer temp, Pointer count) { - var _result = _meos_b.tfloat_values(temp, count); + public static Pointer th3index_cell_to_center_child_next(Pointer temp) { + var _result = _meos_c.th3index_cell_to_center_child_next(temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int tint_end_value(Pointer temp) { - var _result = _meos_c.tint_end_value(temp); + public static Pointer th3index_cell_to_child_pos(Pointer temp, int parent_res) { + var _result = _meos_c.th3index_cell_to_child_pos(temp, parent_res); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int tint_max_value(Pointer temp) { - var _result = _meos_c.tint_max_value(temp); + public static Pointer th3index_child_pos_to_cell(Pointer child_pos, Pointer parent, int child_res) { + var _result = _meos_c.th3index_child_pos_to_cell(child_pos, parent, child_res); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int tint_min_value(Pointer temp) { - var _result = _meos_c.tint_min_value(temp); + public static Pointer tgeogpoint_to_th3index(Pointer temp, int resolution) { + var _result = _meos_c.tgeogpoint_to_th3index(temp, resolution); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int tint_start_value(Pointer temp) { - var _result = _meos_c.tint_start_value(temp); + public static Pointer tgeompoint_to_th3index(Pointer temp, int resolution) { + var _result = _meos_c.tgeompoint_to_th3index(temp, resolution); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean tint_value_at_timestamptz(Pointer temp, OffsetDateTime t, boolean strict, Pointer value) { - var t_new = t.toEpochSecond(); - var _result = _meos_c.tint_value_at_timestamptz(temp, t_new, strict, value); + public static Pointer th3index_to_tgeogpoint(Pointer temp) { + var _result = _meos_c.th3index_to_tgeogpoint(temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tint_value_n(Pointer temp, int n) { - boolean out; - Runtime runtime = Runtime.getSystemRuntime(); - Pointer result = Memory.allocateDirect(runtime, Integer.BYTES); - out = _meos_c.tint_value_n(temp, n, result); + public static Pointer th3index_to_tgeompoint(Pointer temp) { + var _result = _meos_c.th3index_to_tgeompoint(temp); MeosErrorHandler.checkError(); - return out ? result : null; + return _result; } @SuppressWarnings("unused") - public static Pointer tint_values(Pointer temp, Pointer count) { - var _result = _meos_c.tint_values(temp, count); + public static Pointer th3index_cell_to_boundary(Pointer temp) { + var _result = _meos_c.th3index_cell_to_boundary(temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static double tnumber_avg_value(Pointer temp) { - var _result = _meos_c.tnumber_avg_value(temp); + public static Pointer geo_to_h3index_set(Pointer gs, int resolution) { + var _result = _meos_c.geo_to_h3index_set(gs, resolution); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static double tnumber_integral(Pointer temp) { - var _result = _meos_c.tnumber_integral(temp); + public static int ever_eq_h3indexset_th3index(Pointer cells, Pointer th3idx) { + var _result = _meos_c.ever_eq_h3indexset_th3index(cells, th3idx); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static double tnumber_twavg(Pointer temp) { - var _result = _meos_c.tnumber_twavg(temp); + public static Pointer th3index_are_neighbor_cells(Pointer origin, Pointer dest) { + var _result = _meos_c.th3index_are_neighbor_cells(origin, dest); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tnumber_valuespans(Pointer temp) { - var _result = _meos_c.tnumber_valuespans(temp); + public static Pointer th3index_cells_to_directed_edge(Pointer origin, Pointer dest) { + var _result = _meos_c.th3index_cells_to_directed_edge(origin, dest); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer ttext_end_value(Pointer temp) { - var _result = _meos_c.ttext_end_value(temp); + public static Pointer th3index_is_valid_directed_edge(Pointer edge) { + var _result = _meos_c.th3index_is_valid_directed_edge(edge); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer ttext_max_value(Pointer temp) { - var _result = _meos_c.ttext_max_value(temp); + public static Pointer th3index_get_directed_edge_origin(Pointer edge) { + var _result = _meos_c.th3index_get_directed_edge_origin(edge); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer ttext_min_value(Pointer temp) { - var _result = _meos_c.ttext_min_value(temp); + public static Pointer th3index_get_directed_edge_destination(Pointer edge) { + var _result = _meos_c.th3index_get_directed_edge_destination(edge); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer ttext_start_value(Pointer temp) { - var _result = _meos_c.ttext_start_value(temp); + public static Pointer th3index_directed_edge_to_boundary(Pointer edge) { + var _result = _meos_c.th3index_directed_edge_to_boundary(edge); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean ttext_value_at_timestamptz(Pointer temp, OffsetDateTime t, boolean strict, Pointer value) { - var t_new = t.toEpochSecond(); - var _result = _meos_c.ttext_value_at_timestamptz(temp, t_new, strict, value); + public static Pointer th3index_cell_to_vertex(Pointer temp, int vertex_num) { + var _result = _meos_c.th3index_cell_to_vertex(temp, vertex_num); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer ttext_value_n(Pointer temp, int n) { - boolean out; - Runtime runtime = Runtime.getSystemRuntime(); - Pointer result = Memory.allocateDirect(runtime, Long.BYTES); - out = _meos_c.ttext_value_n(temp, n, result); - Pointer new_result = result.getPointer(0); + public static Pointer th3index_vertex_to_latlng(Pointer temp) { + var _result = _meos_c.th3index_vertex_to_latlng(temp); MeosErrorHandler.checkError(); - return out ? new_result : null; + return _result; } @SuppressWarnings("unused") - public static Pointer ttext_values(Pointer temp, Pointer count) { - var _result = _meos_c.ttext_values(temp, count); + public static Pointer th3index_is_valid_vertex(Pointer temp) { + var _result = _meos_c.th3index_is_valid_vertex(temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static double float_degrees(double value, boolean normalize) { - var _result = _meos_c.float_degrees(value, normalize); + public static Pointer th3index_grid_distance(Pointer origin, Pointer dest) { + var _result = _meos_c.th3index_grid_distance(origin, dest); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer temparr_round(Pointer temp, int count, int maxdd) { - var _result = _meos_c.temparr_round(temp, count, maxdd); + public static Pointer th3index_cell_to_local_ij(Pointer origin, Pointer cell) { + var _result = _meos_c.th3index_cell_to_local_ij(origin, cell); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer temporal_round(Pointer temp, int maxdd) { - var _result = _meos_c.temporal_round(temp, maxdd); + public static Pointer th3index_local_ij_to_cell(Pointer origin, Pointer coord) { + var _result = _meos_c.th3index_local_ij_to_cell(origin, coord); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer temporal_scale_time(Pointer temp, Pointer duration) { - var _result = _meos_c.temporal_scale_time(temp, duration); + public static Pointer th3index_cell_area(Pointer temp, String unit) { + var _result = _meos_c.th3index_cell_area(temp, unit); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer temporal_set_interp(Pointer temp, int interp) { - var _result = _meos_c.temporal_set_interp(temp, interp); + public static Pointer th3index_edge_length(Pointer temp, String unit) { + var _result = _meos_c.th3index_edge_length(temp, unit); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer temporal_shift_scale_time(Pointer temp, Pointer shift, Pointer duration) { - var _result = _meos_c.temporal_shift_scale_time(temp, shift, duration); + public static Pointer tgeogpoint_great_circle_distance(Pointer a, Pointer b, String unit) { + var _result = _meos_c.tgeogpoint_great_circle_distance(a, b, unit); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer temporal_shift_time(Pointer temp, Pointer shift) { - var _result = _meos_c.temporal_shift_time(temp, shift); + public static Pointer gsl_get_generation_rng() { + var _result = _meos_c.gsl_get_generation_rng(); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer temporal_to_tinstant(Pointer temp) { - var _result = _meos_c.temporal_to_tinstant(temp); + public static Pointer gsl_get_aggregation_rng() { + var _result = _meos_c.gsl_get_aggregation_rng(); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer temporal_to_tsequence(Pointer temp, int interp) { - var _result = _meos_c.temporal_to_tsequence(temp, interp); + public static int datum_ceil(Pointer d) { + var _result = _meos_c.datum_ceil(d); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer temporal_to_tsequenceset(Pointer temp, int interp) { - var _result = _meos_c.temporal_to_tsequenceset(temp, interp); + public static int datum_degrees(Pointer d, Pointer normalize) { + var _result = _meos_c.datum_degrees(d, normalize); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tfloat_ceil(Pointer temp) { - var _result = _meos_c.tfloat_ceil(temp); + public static int datum_float_round(Pointer value, Pointer size) { + var _result = _meos_c.datum_float_round(value, size); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tfloat_degrees(Pointer temp, boolean normalize) { - var _result = _meos_c.tfloat_degrees(temp, normalize); + public static int datum_floor(Pointer d) { + var _result = _meos_c.datum_floor(d); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tfloat_floor(Pointer temp) { - var _result = _meos_c.tfloat_floor(temp); + public static int datum_hash(Pointer d, int basetype) { + var _result = _meos_c.datum_hash(d, basetype); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tfloat_radians(Pointer temp) { - var _result = _meos_c.tfloat_radians(temp); + public static long datum_hash_extended(Pointer d, int basetype, long seed) { + var _result = _meos_c.datum_hash_extended(d, basetype, seed); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tfloat_scale_value(Pointer temp, double width) { - var _result = _meos_c.tfloat_scale_value(temp, width); + public static int datum_radians(Pointer d) { + var _result = _meos_c.datum_radians(d); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tfloat_shift_scale_value(Pointer temp, double shift, double width) { - var _result = _meos_c.tfloat_shift_scale_value(temp, shift, width); + public static void floatspan_round_set(Pointer s, int maxdd, Pointer result) { + _meos_c.floatspan_round_set(s, maxdd, result); MeosErrorHandler.checkError(); - return _result; } @SuppressWarnings("unused") - public static Pointer tfloat_shift_value(Pointer temp, double shift) { - var _result = _meos_c.tfloat_shift_value(temp, shift); + public static Pointer set_in(String str, int basetype) { + var _result = _meos_c.set_in(str, basetype); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tint_scale_value(Pointer temp, int width) { - var _result = _meos_c.tint_scale_value(temp, width); + public static String set_out(Pointer s, int maxdd) { + var _result = _meos_c.set_out(s, maxdd); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tint_shift_scale_value(Pointer temp, int shift, int width) { - var _result = _meos_c.tint_shift_scale_value(temp, shift, width); + public static Pointer span_in(String str, int spantype) { + var _result = _meos_c.span_in(str, spantype); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tint_shift_value(Pointer temp, int shift) { - var _result = _meos_c.tint_shift_value(temp, shift); + public static String span_out(Pointer s, int maxdd) { + var _result = _meos_c.span_out(s, maxdd); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer temporal_append_tinstant(Pointer temp, Pointer inst, int interp, double maxdist, Pointer maxt, boolean expand) { - var _result = _meos_c.temporal_append_tinstant(temp, inst, interp, maxdist, maxt, expand); + public static Pointer spanset_in(String str, int spantype) { + var _result = _meos_c.spanset_in(str, spantype); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer temporal_append_tsequence(Pointer temp, Pointer seq, boolean expand) { - var _result = _meos_c.temporal_append_tsequence(temp, seq, expand); + public static String spanset_out(Pointer ss, int maxdd) { + var _result = _meos_c.spanset_out(ss, maxdd); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer temporal_delete_timestamptz(Pointer temp, OffsetDateTime t, boolean connect) { - var t_new = t.toEpochSecond(); - var _result = _meos_c.temporal_delete_timestamptz(temp, t_new, connect); + public static Pointer set_make(Pointer values, int count, int basetype, boolean order) { + var _result = _meos_c.set_make(values, count, basetype, order); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer temporal_delete_tstzset(Pointer temp, Pointer s, boolean connect) { - var _result = _meos_c.temporal_delete_tstzset(temp, s, connect); + public static Pointer set_make_exp(Pointer values, int count, int maxcount, int basetype, boolean order) { + var _result = _meos_c.set_make_exp(values, count, maxcount, basetype, order); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer temporal_delete_tstzspan(Pointer temp, Pointer s, boolean connect) { - var _result = _meos_c.temporal_delete_tstzspan(temp, s, connect); + public static Pointer set_make_free(Pointer values, int count, int basetype, boolean order) { + var _result = _meos_c.set_make_free(values, count, basetype, order); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer temporal_delete_tstzspanset(Pointer temp, Pointer ss, boolean connect) { - var _result = _meos_c.temporal_delete_tstzspanset(temp, ss, connect); + public static Pointer span_make(Pointer lower, Pointer upper, boolean lower_inc, boolean upper_inc, int basetype) { + var _result = _meos_c.span_make(lower, upper, lower_inc, upper_inc, basetype); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer temporal_insert(Pointer temp1, Pointer temp2, boolean connect) { - var _result = _meos_c.temporal_insert(temp1, temp2, connect); + public static void span_set(Pointer lower, Pointer upper, boolean lower_inc, boolean upper_inc, int basetype, int spantype, Pointer s) { + _meos_c.span_set(lower, upper, lower_inc, upper_inc, basetype, spantype, s); MeosErrorHandler.checkError(); - return _result; } @SuppressWarnings("unused") - public static Pointer temporal_merge(Pointer temp1, Pointer temp2) { - var _result = _meos_c.temporal_merge(temp1, temp2); + public static Pointer spanset_make_exp(Pointer spans, int count, int maxcount, boolean normalize, boolean order) { + var _result = _meos_c.spanset_make_exp(spans, count, maxcount, normalize, order); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer temporal_merge_array(Pointer temparr, int count) { - var _result = _meos_c.temporal_merge_array(temparr, count); + public static Pointer spanset_make_free(Pointer spans, int count, boolean normalize, boolean order) { + var _result = _meos_c.spanset_make_free(spans, count, normalize, order); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer temporal_update(Pointer temp1, Pointer temp2, boolean connect) { - var _result = _meos_c.temporal_update(temp1, temp2, connect); + public static Pointer set_span(Pointer s) { + var _result = _meos_c.set_span(s); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tbool_at_value(Pointer temp, boolean b) { - var _result = _meos_c.tbool_at_value(temp, b); + public static Pointer set_spanset(Pointer s) { + var _result = _meos_c.set_spanset(s); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tbool_minus_value(Pointer temp, boolean b) { - var _result = _meos_c.tbool_minus_value(temp, b); + public static void value_set_span(Pointer value, int basetype, Pointer s) { + _meos_c.value_set_span(value, basetype, s); MeosErrorHandler.checkError(); - return _result; } @SuppressWarnings("unused") - public static Pointer temporal_after_timestamptz(Pointer temp, OffsetDateTime t, boolean strict) { - var t_new = t.toEpochSecond(); - var _result = _meos_c.temporal_after_timestamptz(temp, t_new, strict); + public static Pointer value_set(Pointer d, int basetype) { + var _result = _meos_c.value_set(d, basetype); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer temporal_at_max(Pointer temp) { - var _result = _meos_c.temporal_at_max(temp); + public static Pointer value_span(Pointer d, int basetype) { + var _result = _meos_c.value_span(d, basetype); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer temporal_at_min(Pointer temp) { - var _result = _meos_c.temporal_at_min(temp); + public static Pointer value_spanset(Pointer d, int basetype) { + var _result = _meos_c.value_spanset(d, basetype); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer temporal_at_timestamptz(Pointer temp, OffsetDateTime t) { - var t_new = t.toEpochSecond(); - var _result = _meos_c.temporal_at_timestamptz(temp, t_new); + public static int numspan_width(Pointer s) { + var _result = _meos_c.numspan_width(s); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer temporal_at_tstzset(Pointer temp, Pointer s) { - var _result = _meos_c.temporal_at_tstzset(temp, s); + public static int numspanset_width(Pointer ss, boolean boundspan) { + var _result = _meos_c.numspanset_width(ss, boundspan); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer temporal_at_tstzspan(Pointer temp, Pointer s) { - var _result = _meos_c.temporal_at_tstzspan(temp, s); + public static int set_end_value(Pointer s) { + var _result = _meos_c.set_end_value(s); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer temporal_at_tstzspanset(Pointer temp, Pointer ss) { - var _result = _meos_c.temporal_at_tstzspanset(temp, ss); + public static int set_mem_size(Pointer s) { + var _result = _meos_c.set_mem_size(s); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer temporal_at_values(Pointer temp, Pointer set) { - var _result = _meos_c.temporal_at_values(temp, set); + public static void set_set_subspan(Pointer s, int minidx, int maxidx, Pointer result) { + _meos_c.set_set_subspan(s, minidx, maxidx, result); MeosErrorHandler.checkError(); - return _result; } @SuppressWarnings("unused") - public static Pointer temporal_before_timestamptz(Pointer temp, OffsetDateTime t, boolean strict) { - var t_new = t.toEpochSecond(); - var _result = _meos_c.temporal_before_timestamptz(temp, t_new, strict); + public static void set_set_span(Pointer s, Pointer result) { + _meos_c.set_set_span(s, result); MeosErrorHandler.checkError(); - return _result; } @SuppressWarnings("unused") - public static Pointer temporal_minus_max(Pointer temp) { - var _result = _meos_c.temporal_minus_max(temp); + public static int set_start_value(Pointer s) { + var _result = _meos_c.set_start_value(s); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer temporal_minus_min(Pointer temp) { - var _result = _meos_c.temporal_minus_min(temp); + public static Pointer set_value_n(Pointer s, int n) { + boolean out; + Runtime runtime = Runtime.getSystemRuntime(); + Pointer result = Memory.allocateDirect(runtime, Long.BYTES); + out = _meos_c.set_value_n(s, n, result); + Pointer new_result = result.getPointer(0); MeosErrorHandler.checkError(); - return _result; + return out ? new_result : null; } @SuppressWarnings("unused") - public static Pointer temporal_minus_timestamptz(Pointer temp, OffsetDateTime t) { - var t_new = t.toEpochSecond(); - var _result = _meos_c.temporal_minus_timestamptz(temp, t_new); + public static Pointer set_vals(Pointer s) { + var _result = _meos_c.set_vals(s); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer temporal_minus_tstzset(Pointer temp, Pointer s) { - var _result = _meos_c.temporal_minus_tstzset(temp, s); + public static Pointer set_values(Pointer s) { + var _result = _meos_c.set_values(s); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer temporal_minus_tstzspan(Pointer temp, Pointer s) { - var _result = _meos_c.temporal_minus_tstzspan(temp, s); + public static int spanset_lower(Pointer ss) { + var _result = _meos_c.spanset_lower(ss); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer temporal_minus_tstzspanset(Pointer temp, Pointer ss) { - var _result = _meos_c.temporal_minus_tstzspanset(temp, ss); + public static int spanset_mem_size(Pointer ss) { + var _result = _meos_c.spanset_mem_size(ss); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer temporal_minus_values(Pointer temp, Pointer set) { - var _result = _meos_c.temporal_minus_values(temp, set); + public static Pointer spanset_sps(Pointer ss) { + var _result = _meos_c.spanset_sps(ss); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tfloat_at_value(Pointer temp, double d) { - var _result = _meos_c.tfloat_at_value(temp, d); + public static int spanset_upper(Pointer ss) { + var _result = _meos_c.spanset_upper(ss); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tfloat_minus_value(Pointer temp, double d) { - var _result = _meos_c.tfloat_minus_value(temp, d); + public static void bigintspan_set_floatspan(Pointer s1, Pointer s2) { + _meos_c.bigintspan_set_floatspan(s1, s2); MeosErrorHandler.checkError(); - return _result; } @SuppressWarnings("unused") - public static Pointer tint_at_value(Pointer temp, int i) { - var _result = _meos_c.tint_at_value(temp, i); + public static void bigintspan_set_intspan(Pointer s1, Pointer s2) { + _meos_c.bigintspan_set_intspan(s1, s2); MeosErrorHandler.checkError(); - return _result; } @SuppressWarnings("unused") - public static Pointer tint_minus_value(Pointer temp, int i) { - var _result = _meos_c.tint_minus_value(temp, i); + public static void datespan_set_tstzspan(Pointer s1, Pointer s2) { + _meos_c.datespan_set_tstzspan(s1, s2); MeosErrorHandler.checkError(); - return _result; } @SuppressWarnings("unused") - public static Pointer tnumber_at_span(Pointer temp, Pointer span) { - var _result = _meos_c.tnumber_at_span(temp, span); + public static void floatspan_set_bigintspan(Pointer s1, Pointer s2) { + _meos_c.floatspan_set_bigintspan(s1, s2); MeosErrorHandler.checkError(); - return _result; } @SuppressWarnings("unused") - public static Pointer tnumber_at_spanset(Pointer temp, Pointer ss) { - var _result = _meos_c.tnumber_at_spanset(temp, ss); + public static void floatspan_set_intspan(Pointer s1, Pointer s2) { + _meos_c.floatspan_set_intspan(s1, s2); MeosErrorHandler.checkError(); - return _result; } @SuppressWarnings("unused") - public static Pointer tnumber_at_tbox(Pointer temp, Pointer box) { - var _result = _meos_c.tnumber_at_tbox(temp, box); + public static void intspan_set_bigintspan(Pointer s1, Pointer s2) { + _meos_c.intspan_set_bigintspan(s1, s2); MeosErrorHandler.checkError(); - return _result; } @SuppressWarnings("unused") - public static Pointer tnumber_minus_span(Pointer temp, Pointer span) { - var _result = _meos_c.tnumber_minus_span(temp, span); + public static void intspan_set_floatspan(Pointer s1, Pointer s2) { + _meos_c.intspan_set_floatspan(s1, s2); MeosErrorHandler.checkError(); - return _result; } @SuppressWarnings("unused") - public static Pointer tnumber_minus_spanset(Pointer temp, Pointer ss) { - var _result = _meos_c.tnumber_minus_spanset(temp, ss); + public static Pointer numset_shift_scale(Pointer s, Pointer shift, Pointer width, boolean hasshift, boolean haswidth) { + var _result = _meos_c.numset_shift_scale(s, shift, width, hasshift, haswidth); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tnumber_minus_tbox(Pointer temp, Pointer box) { - var _result = _meos_c.tnumber_minus_tbox(temp, box); + public static Pointer numspan_expand(Pointer s, Pointer value) { + var _result = _meos_c.numspan_expand(s, value); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer ttext_at_value(Pointer temp, Pointer txt) { - var _result = _meos_c.ttext_at_value(temp, txt); + public static Pointer numspan_shift_scale(Pointer s, Pointer shift, Pointer width, boolean hasshift, boolean haswidth) { + var _result = _meos_c.numspan_shift_scale(s, shift, width, hasshift, haswidth); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer ttext_minus_value(Pointer temp, Pointer txt) { - var _result = _meos_c.ttext_minus_value(temp, txt); + public static Pointer numspanset_shift_scale(Pointer ss, Pointer shift, Pointer width, boolean hasshift, boolean haswidth) { + var _result = _meos_c.numspanset_shift_scale(ss, shift, width, hasshift, haswidth); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int temporal_cmp(Pointer temp1, Pointer temp2) { - var _result = _meos_c.temporal_cmp(temp1, temp2); + public static Pointer set_compact(Pointer s) { + var _result = _meos_c.set_compact(s); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean temporal_eq(Pointer temp1, Pointer temp2) { - var _result = _meos_c.temporal_eq(temp1, temp2); + public static void span_expand(Pointer s1, Pointer s2) { + _meos_c.span_expand(s1, s2); MeosErrorHandler.checkError(); - return _result; } @SuppressWarnings("unused") - public static boolean temporal_ge(Pointer temp1, Pointer temp2) { - var _result = _meos_c.temporal_ge(temp1, temp2); + public static Pointer spanset_compact(Pointer ss) { + var _result = _meos_c.spanset_compact(ss); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean temporal_gt(Pointer temp1, Pointer temp2) { - var _result = _meos_c.temporal_gt(temp1, temp2); + public static Pointer tbox_expand_value(Pointer box, Pointer value, int basetyp) { + var _result = _meos_c.tbox_expand_value(box, value, basetyp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean temporal_le(Pointer temp1, Pointer temp2) { - var _result = _meos_c.temporal_le(temp1, temp2); + public static Pointer textcat_textset_text_common(Pointer s, Pointer txt, boolean invert) { + var _result = _meos_c.textcat_textset_text_common(s, txt, invert); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean temporal_lt(Pointer temp1, Pointer temp2) { - var _result = _meos_c.temporal_lt(temp1, temp2); + public static void tstzspan_set_datespan(Pointer s1, Pointer s2) { + _meos_c.tstzspan_set_datespan(s1, s2); + MeosErrorHandler.checkError(); + } + + @SuppressWarnings("unused") + public static boolean adjacent_span_value(Pointer s, Pointer value) { + var _result = _meos_c.adjacent_span_value(s, value); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean temporal_ne(Pointer temp1, Pointer temp2) { - var _result = _meos_c.temporal_ne(temp1, temp2); + public static boolean adjacent_spanset_value(Pointer ss, Pointer value) { + var _result = _meos_c.adjacent_spanset_value(ss, value); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int always_eq_bool_tbool(boolean b, Pointer temp) { - var _result = _meos_c.always_eq_bool_tbool(b, temp); + public static boolean adjacent_value_spanset(Pointer value, Pointer ss) { + var _result = _meos_c.adjacent_value_spanset(value, ss); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int always_eq_float_tfloat(double d, Pointer temp) { - var _result = _meos_c.always_eq_float_tfloat(d, temp); + public static boolean contained_value_set(Pointer value, Pointer s) { + var _result = _meos_c.contained_value_set(value, s); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int always_eq_int_tint(int i, Pointer temp) { - var _result = _meos_c.always_eq_int_tint(i, temp); + public static boolean contained_value_span(Pointer value, Pointer s) { + var _result = _meos_c.contained_value_span(value, s); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int always_eq_tbool_bool(Pointer temp, boolean b) { - var _result = _meos_c.always_eq_tbool_bool(temp, b); + public static boolean contained_value_spanset(Pointer value, Pointer ss) { + var _result = _meos_c.contained_value_spanset(value, ss); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int always_eq_temporal_temporal(Pointer temp1, Pointer temp2) { - var _result = _meos_c.always_eq_temporal_temporal(temp1, temp2); + public static boolean contains_set_value(Pointer s, Pointer value) { + var _result = _meos_c.contains_set_value(s, value); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int always_eq_text_ttext(Pointer txt, Pointer temp) { - var _result = _meos_c.always_eq_text_ttext(txt, temp); + public static boolean contains_span_value(Pointer s, Pointer value) { + var _result = _meos_c.contains_span_value(s, value); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int always_eq_tfloat_float(Pointer temp, double d) { - var _result = _meos_c.always_eq_tfloat_float(temp, d); + public static boolean contains_spanset_value(Pointer ss, Pointer value) { + var _result = _meos_c.contains_spanset_value(ss, value); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int always_eq_tint_int(Pointer temp, int i) { - var _result = _meos_c.always_eq_tint_int(temp, i); + public static boolean ovadj_span_span(Pointer s1, Pointer s2) { + var _result = _meos_c.ovadj_span_span(s1, s2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int always_eq_ttext_text(Pointer temp, Pointer txt) { - var _result = _meos_c.always_eq_ttext_text(temp, txt); + public static boolean left_set_value(Pointer s, Pointer value) { + var _result = _meos_c.left_set_value(s, value); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int always_ge_float_tfloat(double d, Pointer temp) { - var _result = _meos_c.always_ge_float_tfloat(d, temp); + public static boolean left_span_value(Pointer s, Pointer value) { + var _result = _meos_c.left_span_value(s, value); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int always_ge_int_tint(int i, Pointer temp) { - var _result = _meos_c.always_ge_int_tint(i, temp); + public static boolean left_spanset_value(Pointer ss, Pointer value) { + var _result = _meos_c.left_spanset_value(ss, value); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int always_ge_temporal_temporal(Pointer temp1, Pointer temp2) { - var _result = _meos_c.always_ge_temporal_temporal(temp1, temp2); + public static boolean left_value_set(Pointer value, Pointer s) { + var _result = _meos_c.left_value_set(value, s); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int always_ge_text_ttext(Pointer txt, Pointer temp) { - var _result = _meos_c.always_ge_text_ttext(txt, temp); + public static boolean left_value_span(Pointer value, Pointer s) { + var _result = _meos_c.left_value_span(value, s); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int always_ge_tfloat_float(Pointer temp, double d) { - var _result = _meos_c.always_ge_tfloat_float(temp, d); + public static boolean left_value_spanset(Pointer value, Pointer ss) { + var _result = _meos_c.left_value_spanset(value, ss); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int always_ge_tint_int(Pointer temp, int i) { - var _result = _meos_c.always_ge_tint_int(temp, i); + public static boolean lfnadj_span_span(Pointer s1, Pointer s2) { + var _result = _meos_c.lfnadj_span_span(s1, s2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int always_ge_ttext_text(Pointer temp, Pointer txt) { - var _result = _meos_c.always_ge_ttext_text(temp, txt); + public static boolean overleft_set_value(Pointer s, Pointer value) { + var _result = _meos_c.overleft_set_value(s, value); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int always_gt_float_tfloat(double d, Pointer temp) { - var _result = _meos_c.always_gt_float_tfloat(d, temp); + public static boolean overleft_span_value(Pointer s, Pointer value) { + var _result = _meos_c.overleft_span_value(s, value); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int always_gt_int_tint(int i, Pointer temp) { - var _result = _meos_c.always_gt_int_tint(i, temp); + public static boolean overleft_spanset_value(Pointer ss, Pointer value) { + var _result = _meos_c.overleft_spanset_value(ss, value); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int always_gt_temporal_temporal(Pointer temp1, Pointer temp2) { - var _result = _meos_c.always_gt_temporal_temporal(temp1, temp2); + public static boolean overleft_value_set(Pointer value, Pointer s) { + var _result = _meos_c.overleft_value_set(value, s); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int always_gt_text_ttext(Pointer txt, Pointer temp) { - var _result = _meos_c.always_gt_text_ttext(txt, temp); + public static boolean overleft_value_span(Pointer value, Pointer s) { + var _result = _meos_c.overleft_value_span(value, s); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int always_gt_tfloat_float(Pointer temp, double d) { - var _result = _meos_c.always_gt_tfloat_float(temp, d); + public static boolean overleft_value_spanset(Pointer value, Pointer ss) { + var _result = _meos_c.overleft_value_spanset(value, ss); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int always_gt_tint_int(Pointer temp, int i) { - var _result = _meos_c.always_gt_tint_int(temp, i); + public static boolean overright_set_value(Pointer s, Pointer value) { + var _result = _meos_c.overright_set_value(s, value); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int always_gt_ttext_text(Pointer temp, Pointer txt) { - var _result = _meos_c.always_gt_ttext_text(temp, txt); + public static boolean overright_span_value(Pointer s, Pointer value) { + var _result = _meos_c.overright_span_value(s, value); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int always_le_float_tfloat(double d, Pointer temp) { - var _result = _meos_c.always_le_float_tfloat(d, temp); + public static boolean overright_spanset_value(Pointer ss, Pointer value) { + var _result = _meos_c.overright_spanset_value(ss, value); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int always_le_int_tint(int i, Pointer temp) { - var _result = _meos_c.always_le_int_tint(i, temp); + public static boolean overright_value_set(Pointer value, Pointer s) { + var _result = _meos_c.overright_value_set(value, s); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int always_le_temporal_temporal(Pointer temp1, Pointer temp2) { - var _result = _meos_c.always_le_temporal_temporal(temp1, temp2); + public static boolean overright_value_span(Pointer value, Pointer s) { + var _result = _meos_c.overright_value_span(value, s); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int always_le_text_ttext(Pointer txt, Pointer temp) { - var _result = _meos_c.always_le_text_ttext(txt, temp); + public static boolean overright_value_spanset(Pointer value, Pointer ss) { + var _result = _meos_c.overright_value_spanset(value, ss); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int always_le_tfloat_float(Pointer temp, double d) { - var _result = _meos_c.always_le_tfloat_float(temp, d); + public static boolean right_value_set(Pointer value, Pointer s) { + var _result = _meos_d.right_value_set(value, s); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int always_le_tint_int(Pointer temp, int i) { - var _result = _meos_c.always_le_tint_int(temp, i); + public static boolean right_set_value(Pointer s, Pointer value) { + var _result = _meos_d.right_set_value(s, value); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int always_le_ttext_text(Pointer temp, Pointer txt) { - var _result = _meos_c.always_le_ttext_text(temp, txt); + public static boolean right_value_span(Pointer value, Pointer s) { + var _result = _meos_d.right_value_span(value, s); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int always_lt_float_tfloat(double d, Pointer temp) { - var _result = _meos_c.always_lt_float_tfloat(d, temp); + public static boolean right_value_spanset(Pointer value, Pointer ss) { + var _result = _meos_d.right_value_spanset(value, ss); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int always_lt_int_tint(int i, Pointer temp) { - var _result = _meos_c.always_lt_int_tint(i, temp); + public static boolean right_span_value(Pointer s, Pointer value) { + var _result = _meos_d.right_span_value(s, value); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int always_lt_temporal_temporal(Pointer temp1, Pointer temp2) { - var _result = _meos_c.always_lt_temporal_temporal(temp1, temp2); + public static boolean right_spanset_value(Pointer ss, Pointer value) { + var _result = _meos_d.right_spanset_value(ss, value); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int always_lt_text_ttext(Pointer txt, Pointer temp) { - var _result = _meos_c.always_lt_text_ttext(txt, temp); + public static boolean bbox_type(int bboxtype) { + var _result = _meos_d.bbox_type(bboxtype); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int always_lt_tfloat_float(Pointer temp, double d) { - var _result = _meos_c.always_lt_tfloat_float(temp, d); + public static long bbox_get_size(int bboxtype) { + var _result = _meos_d.bbox_get_size(bboxtype); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int always_lt_tint_int(Pointer temp, int i) { - var _result = _meos_c.always_lt_tint_int(temp, i); + public static int bbox_max_dims(int bboxtype) { + var _result = _meos_d.bbox_max_dims(bboxtype); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int always_lt_ttext_text(Pointer temp, Pointer txt) { - var _result = _meos_c.always_lt_ttext_text(temp, txt); + public static boolean temporal_bbox_eq(Pointer box1, Pointer box2, int temptype) { + var _result = _meos_d.temporal_bbox_eq(box1, box2, temptype); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int always_ne_bool_tbool(boolean b, Pointer temp) { - var _result = _meos_c.always_ne_bool_tbool(b, temp); + public static int temporal_bbox_cmp(Pointer box1, Pointer box2, int temptype) { + var _result = _meos_d.temporal_bbox_cmp(box1, box2, temptype); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int always_ne_float_tfloat(double d, Pointer temp) { - var _result = _meos_c.always_ne_float_tfloat(d, temp); + public static void bbox_union_span_span(Pointer s1, Pointer s2, Pointer result) { + _meos_d.bbox_union_span_span(s1, s2, result); MeosErrorHandler.checkError(); - return _result; } @SuppressWarnings("unused") - public static int always_ne_int_tint(int i, Pointer temp) { - var _result = _meos_c.always_ne_int_tint(i, temp); + public static Pointer inter_span_span(Pointer s1, Pointer s2) { + boolean out; + Runtime runtime = Runtime.getSystemRuntime(); + Pointer result = Memory.allocateDirect(runtime, Long.BYTES); + out = _meos_d.inter_span_span(s1, s2, result); + Pointer new_result = result.getPointer(0); MeosErrorHandler.checkError(); - return _result; + return out ? new_result : null; } @SuppressWarnings("unused") - public static int always_ne_tbool_bool(Pointer temp, boolean b) { - var _result = _meos_c.always_ne_tbool_bool(temp, b); + public static Pointer intersection_set_value(Pointer s, Pointer value) { + var _result = _meos_d.intersection_set_value(s, value); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int always_ne_temporal_temporal(Pointer temp1, Pointer temp2) { - var _result = _meos_c.always_ne_temporal_temporal(temp1, temp2); + public static Pointer intersection_span_value(Pointer s, Pointer value) { + var _result = _meos_d.intersection_span_value(s, value); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int always_ne_text_ttext(Pointer txt, Pointer temp) { - var _result = _meos_c.always_ne_text_ttext(txt, temp); + public static Pointer intersection_spanset_value(Pointer ss, Pointer value) { + var _result = _meos_d.intersection_spanset_value(ss, value); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int always_ne_tfloat_float(Pointer temp, double d) { - var _result = _meos_c.always_ne_tfloat_float(temp, d); + public static Pointer intersection_value_set(Pointer value, Pointer s) { + var _result = _meos_d.intersection_value_set(value, s); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int always_ne_tint_int(Pointer temp, int i) { - var _result = _meos_c.always_ne_tint_int(temp, i); + public static Pointer intersection_value_span(Pointer value, Pointer s) { + var _result = _meos_d.intersection_value_span(value, s); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int always_ne_ttext_text(Pointer temp, Pointer txt) { - var _result = _meos_c.always_ne_ttext_text(temp, txt); + public static Pointer intersection_value_spanset(Pointer value, Pointer ss) { + var _result = _meos_d.intersection_value_spanset(value, ss); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int ever_eq_bool_tbool(boolean b, Pointer temp) { - var _result = _meos_c.ever_eq_bool_tbool(b, temp); + public static int mi_span_span(Pointer s1, Pointer s2, Pointer result) { + var _result = _meos_d.mi_span_span(s1, s2, result); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int ever_eq_float_tfloat(double d, Pointer temp) { - var _result = _meos_c.ever_eq_float_tfloat(d, temp); + public static Pointer minus_set_value(Pointer s, Pointer value) { + var _result = _meos_d.minus_set_value(s, value); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int ever_eq_int_tint(int i, Pointer temp) { - var _result = _meos_c.ever_eq_int_tint(i, temp); + public static Pointer minus_span_value(Pointer s, Pointer value) { + var _result = _meos_d.minus_span_value(s, value); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int ever_eq_tbool_bool(Pointer temp, boolean b) { - var _result = _meos_c.ever_eq_tbool_bool(temp, b); + public static Pointer minus_spanset_value(Pointer ss, Pointer value) { + var _result = _meos_d.minus_spanset_value(ss, value); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int ever_eq_temporal_temporal(Pointer temp1, Pointer temp2) { - var _result = _meos_c.ever_eq_temporal_temporal(temp1, temp2); + public static Pointer minus_value_set(Pointer value, Pointer s) { + var _result = _meos_d.minus_value_set(value, s); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int ever_eq_text_ttext(Pointer txt, Pointer temp) { - var _result = _meos_c.ever_eq_text_ttext(txt, temp); + public static Pointer minus_value_span(Pointer value, Pointer s) { + var _result = _meos_d.minus_value_span(value, s); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int ever_eq_tfloat_float(Pointer temp, double d) { - var _result = _meos_c.ever_eq_tfloat_float(temp, d); + public static Pointer minus_value_spanset(Pointer value, Pointer ss) { + var _result = _meos_d.minus_value_spanset(value, ss); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int ever_eq_tint_int(Pointer temp, int i) { - var _result = _meos_c.ever_eq_tint_int(temp, i); + public static Pointer super_union_span_span(Pointer s1, Pointer s2) { + var _result = _meos_d.super_union_span_span(s1, s2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int ever_eq_ttext_text(Pointer temp, Pointer txt) { - var _result = _meos_c.ever_eq_ttext_text(temp, txt); + public static Pointer union_set_value(Pointer s, Pointer value) { + var _result = _meos_d.union_set_value(s, value); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int ever_ge_float_tfloat(double d, Pointer temp) { - var _result = _meos_c.ever_ge_float_tfloat(d, temp); + public static Pointer union_span_value(Pointer s, Pointer value) { + var _result = _meos_d.union_span_value(s, value); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int ever_ge_int_tint(int i, Pointer temp) { - var _result = _meos_c.ever_ge_int_tint(i, temp); + public static Pointer union_spanset_value(Pointer ss, Pointer value) { + var _result = _meos_d.union_spanset_value(ss, value); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int ever_ge_temporal_temporal(Pointer temp1, Pointer temp2) { - var _result = _meos_c.ever_ge_temporal_temporal(temp1, temp2); + public static Pointer union_value_set(Pointer value, Pointer s) { + var _result = _meos_d.union_value_set(value, s); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int ever_ge_text_ttext(Pointer txt, Pointer temp) { - var _result = _meos_c.ever_ge_text_ttext(txt, temp); + public static Pointer union_value_span(Pointer value, Pointer s) { + var _result = _meos_d.union_value_span(value, s); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int ever_ge_tfloat_float(Pointer temp, double d) { - var _result = _meos_c.ever_ge_tfloat_float(temp, d); + public static Pointer union_value_spanset(Pointer value, Pointer ss) { + var _result = _meos_d.union_value_spanset(value, ss); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int ever_ge_tint_int(Pointer temp, int i) { - var _result = _meos_c.ever_ge_tint_int(temp, i); + public static int distance_set_set(Pointer s1, Pointer s2) { + var _result = _meos_d.distance_set_set(s1, s2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int ever_ge_ttext_text(Pointer temp, Pointer txt) { - var _result = _meos_c.ever_ge_ttext_text(temp, txt); + public static int distance_set_value(Pointer s, Pointer value) { + var _result = _meos_d.distance_set_value(s, value); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int ever_gt_float_tfloat(double d, Pointer temp) { - var _result = _meos_c.ever_gt_float_tfloat(d, temp); + public static int distance_span_span(Pointer s1, Pointer s2) { + var _result = _meos_d.distance_span_span(s1, s2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int ever_gt_int_tint(int i, Pointer temp) { - var _result = _meos_c.ever_gt_int_tint(i, temp); + public static int distance_span_value(Pointer s, Pointer value) { + var _result = _meos_d.distance_span_value(s, value); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int ever_gt_temporal_temporal(Pointer temp1, Pointer temp2) { - var _result = _meos_c.ever_gt_temporal_temporal(temp1, temp2); + public static int distance_spanset_span(Pointer ss, Pointer s) { + var _result = _meos_d.distance_spanset_span(ss, s); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int ever_gt_text_ttext(Pointer txt, Pointer temp) { - var _result = _meos_c.ever_gt_text_ttext(txt, temp); + public static int distance_spanset_spanset(Pointer ss1, Pointer ss2) { + var _result = _meos_d.distance_spanset_spanset(ss1, ss2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int ever_gt_tfloat_float(Pointer temp, double d) { - var _result = _meos_c.ever_gt_tfloat_float(temp, d); + public static int distance_spanset_value(Pointer ss, Pointer value) { + var _result = _meos_d.distance_spanset_value(ss, value); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int ever_gt_tint_int(Pointer temp, int i) { - var _result = _meos_c.ever_gt_tint_int(temp, i); + public static int distance_value_value(Pointer l, Pointer r, int basetype) { + var _result = _meos_d.distance_value_value(l, r, basetype); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int ever_gt_ttext_text(Pointer temp, Pointer txt) { - var _result = _meos_c.ever_gt_ttext_text(temp, txt); + public static Pointer spanbase_extent_transfn(Pointer state, Pointer value, int basetype) { + var _result = _meos_d.spanbase_extent_transfn(state, value, basetype); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int ever_le_float_tfloat(double d, Pointer temp) { - var _result = _meos_c.ever_le_float_tfloat(d, temp); + public static Pointer value_union_transfn(Pointer state, Pointer value, int basetype) { + var _result = _meos_d.value_union_transfn(state, value, basetype); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int ever_le_int_tint(int i, Pointer temp) { - var _result = _meos_c.ever_le_int_tint(i, temp); + public static Pointer number_tstzspan_to_tbox(Pointer d, int basetype, Pointer s) { + var _result = _meos_d.number_tstzspan_to_tbox(d, basetype, s); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int ever_le_temporal_temporal(Pointer temp1, Pointer temp2) { - var _result = _meos_c.ever_le_temporal_temporal(temp1, temp2); + public static Pointer number_timestamptz_to_tbox(Pointer d, int basetype, OffsetDateTime t) { + var t_new = t.toEpochSecond(); + var _result = _meos_d.number_timestamptz_to_tbox(d, basetype, t_new); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int ever_le_text_ttext(Pointer txt, Pointer temp) { - var _result = _meos_c.ever_le_text_ttext(txt, temp); + public static void tbox_set(Pointer s, Pointer p, Pointer box) { + _meos_d.tbox_set(s, p, box); MeosErrorHandler.checkError(); - return _result; } @SuppressWarnings("unused") - public static int ever_le_tfloat_float(Pointer temp, double d) { - var _result = _meos_c.ever_le_tfloat_float(temp, d); + public static void float_set_tbox(double d, Pointer box) { + _meos_d.float_set_tbox(d, box); MeosErrorHandler.checkError(); - return _result; } @SuppressWarnings("unused") - public static int ever_le_tint_int(Pointer temp, int i) { - var _result = _meos_c.ever_le_tint_int(temp, i); + public static void int_set_tbox(int i, Pointer box) { + _meos_d.int_set_tbox(i, box); MeosErrorHandler.checkError(); - return _result; } @SuppressWarnings("unused") - public static int ever_le_ttext_text(Pointer temp, Pointer txt) { - var _result = _meos_c.ever_le_ttext_text(temp, txt); + public static void number_set_tbox(Pointer d, int basetype, Pointer box) { + _meos_d.number_set_tbox(d, basetype, box); MeosErrorHandler.checkError(); - return _result; } @SuppressWarnings("unused") - public static int ever_lt_float_tfloat(double d, Pointer temp) { - var _result = _meos_c.ever_lt_float_tfloat(d, temp); + public static Pointer number_tbox(Pointer value, int basetype) { + var _result = _meos_d.number_tbox(value, basetype); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int ever_lt_int_tint(int i, Pointer temp) { - var _result = _meos_c.ever_lt_int_tint(i, temp); + public static void numset_set_tbox(Pointer s, Pointer box) { + _meos_d.numset_set_tbox(s, box); MeosErrorHandler.checkError(); - return _result; } @SuppressWarnings("unused") - public static int ever_lt_temporal_temporal(Pointer temp1, Pointer temp2) { - var _result = _meos_c.ever_lt_temporal_temporal(temp1, temp2); + public static void numspan_set_tbox(Pointer span, Pointer box) { + _meos_d.numspan_set_tbox(span, box); MeosErrorHandler.checkError(); - return _result; } @SuppressWarnings("unused") - public static int ever_lt_text_ttext(Pointer txt, Pointer temp) { - var _result = _meos_c.ever_lt_text_ttext(txt, temp); + public static void timestamptz_set_tbox(OffsetDateTime t, Pointer box) { + var t_new = t.toEpochSecond(); + _meos_d.timestamptz_set_tbox(t_new, box); MeosErrorHandler.checkError(); - return _result; } @SuppressWarnings("unused") - public static int ever_lt_tfloat_float(Pointer temp, double d) { - var _result = _meos_c.ever_lt_tfloat_float(temp, d); + public static void tstzset_set_tbox(Pointer s, Pointer box) { + _meos_d.tstzset_set_tbox(s, box); MeosErrorHandler.checkError(); - return _result; } @SuppressWarnings("unused") - public static int ever_lt_tint_int(Pointer temp, int i) { - var _result = _meos_c.ever_lt_tint_int(temp, i); + public static void tstzspan_set_tbox(Pointer s, Pointer box) { + _meos_d.tstzspan_set_tbox(s, box); MeosErrorHandler.checkError(); - return _result; } @SuppressWarnings("unused") - public static int ever_lt_ttext_text(Pointer temp, Pointer txt) { - var _result = _meos_c.ever_lt_ttext_text(temp, txt); + public static Pointer tbox_shift_scale_value(Pointer box, Pointer shift, Pointer width, boolean hasshift, boolean haswidth) { + var _result = _meos_d.tbox_shift_scale_value(box, shift, width, hasshift, haswidth); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int ever_ne_bool_tbool(boolean b, Pointer temp) { - var _result = _meos_c.ever_ne_bool_tbool(b, temp); + public static void tbox_expand(Pointer box1, Pointer box2) { + _meos_d.tbox_expand(box1, box2); MeosErrorHandler.checkError(); - return _result; } @SuppressWarnings("unused") - public static int ever_ne_float_tfloat(double d, Pointer temp) { - var _result = _meos_c.ever_ne_float_tfloat(d, temp); + public static Pointer inter_tbox_tbox(Pointer box1, Pointer box2) { + boolean out; + Runtime runtime = Runtime.getSystemRuntime(); + Pointer result = Memory.allocateDirect(runtime, Long.BYTES); + out = _meos_d.inter_tbox_tbox(box1, box2, result); + Pointer new_result = result.getPointer(0); MeosErrorHandler.checkError(); - return _result; + return out ? new_result : null; } @SuppressWarnings("unused") - public static int ever_ne_int_tint(int i, Pointer temp) { - var _result = _meos_c.ever_ne_int_tint(i, temp); + public static Pointer tboolinst_from_mfjson(Pointer mfjson) { + var _result = _meos_d.tboolinst_from_mfjson(mfjson); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int ever_ne_tbool_bool(Pointer temp, boolean b) { - var _result = _meos_c.ever_ne_tbool_bool(temp, b); + public static Pointer tboolinst_in(String str) { + var _result = _meos_d.tboolinst_in(str); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int ever_ne_temporal_temporal(Pointer temp1, Pointer temp2) { - var _result = _meos_c.ever_ne_temporal_temporal(temp1, temp2); + public static Pointer tboolseq_from_mfjson(Pointer mfjson) { + var _result = _meos_d.tboolseq_from_mfjson(mfjson); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int ever_ne_text_ttext(Pointer txt, Pointer temp) { - var _result = _meos_c.ever_ne_text_ttext(txt, temp); + public static Pointer tboolseq_in(String str, int interp) { + var _result = _meos_d.tboolseq_in(str, interp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int ever_ne_tfloat_float(Pointer temp, double d) { - var _result = _meos_c.ever_ne_tfloat_float(temp, d); + public static Pointer tboolseqset_from_mfjson(Pointer mfjson) { + var _result = _meos_d.tboolseqset_from_mfjson(mfjson); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int ever_ne_tint_int(Pointer temp, int i) { - var _result = _meos_c.ever_ne_tint_int(temp, i); + public static Pointer tboolseqset_in(String str) { + var _result = _meos_d.tboolseqset_in(str); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int ever_ne_ttext_text(Pointer temp, Pointer txt) { - var _result = _meos_c.ever_ne_ttext_text(temp, txt); + public static Pointer temporal_in(String str, int temptype) { + var _result = _meos_d.temporal_in(str, temptype); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer teq_bool_tbool(boolean b, Pointer temp) { - var _result = _meos_c.teq_bool_tbool(b, temp); + public static String temporal_out(Pointer temp, int maxdd) { + var _result = _meos_d.temporal_out(temp, maxdd); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer teq_float_tfloat(double d, Pointer temp) { - var _result = _meos_c.teq_float_tfloat(d, temp); + public static Pointer temparr_out(Pointer temparr, int count, int maxdd) { + var _result = _meos_d.temparr_out(temparr, count, maxdd); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer teq_int_tint(int i, Pointer temp) { - var _result = _meos_c.teq_int_tint(i, temp); + public static Pointer tfloatinst_from_mfjson(Pointer mfjson) { + var _result = _meos_d.tfloatinst_from_mfjson(mfjson); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer teq_tbool_bool(Pointer temp, boolean b) { - var _result = _meos_c.teq_tbool_bool(temp, b); + public static Pointer tfloatinst_in(String str) { + var _result = _meos_d.tfloatinst_in(str); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer teq_temporal_temporal(Pointer temp1, Pointer temp2) { - var _result = _meos_c.teq_temporal_temporal(temp1, temp2); + public static Pointer tfloatseq_from_mfjson(Pointer mfjson, int interp) { + var _result = _meos_d.tfloatseq_from_mfjson(mfjson, interp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer teq_text_ttext(Pointer txt, Pointer temp) { - var _result = _meos_c.teq_text_ttext(txt, temp); + public static Pointer tfloatseq_in(String str, int interp) { + var _result = _meos_d.tfloatseq_in(str, interp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer teq_tfloat_float(Pointer temp, double d) { - var _result = _meos_c.teq_tfloat_float(temp, d); + public static Pointer tfloatseqset_from_mfjson(Pointer mfjson, int interp) { + var _result = _meos_d.tfloatseqset_from_mfjson(mfjson, interp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer teq_tint_int(Pointer temp, int i) { - var _result = _meos_c.teq_tint_int(temp, i); + public static Pointer tfloatseqset_in(String str) { + var _result = _meos_d.tfloatseqset_in(str); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer teq_ttext_text(Pointer temp, Pointer txt) { - var _result = _meos_c.teq_ttext_text(temp, txt); + public static Pointer tinstant_from_mfjson(Pointer mfjson, boolean spatial, int srid, int temptype) { + var _result = _meos_d.tinstant_from_mfjson(mfjson, spatial, srid, temptype); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tge_float_tfloat(double d, Pointer temp) { - var _result = _meos_c.tge_float_tfloat(d, temp); + public static Pointer tinstant_in(String str, int temptype) { + var _result = _meos_d.tinstant_in(str, temptype); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tge_int_tint(int i, Pointer temp) { - var _result = _meos_c.tge_int_tint(i, temp); + public static String tinstant_out(Pointer inst, int maxdd) { + var _result = _meos_d.tinstant_out(inst, maxdd); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tge_temporal_temporal(Pointer temp1, Pointer temp2) { - var _result = _meos_c.tge_temporal_temporal(temp1, temp2); + public static Pointer tintinst_from_mfjson(Pointer mfjson) { + var _result = _meos_d.tintinst_from_mfjson(mfjson); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tge_text_ttext(Pointer txt, Pointer temp) { - var _result = _meos_c.tge_text_ttext(txt, temp); + public static Pointer tintinst_in(String str) { + var _result = _meos_d.tintinst_in(str); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tge_tfloat_float(Pointer temp, double d) { - var _result = _meos_c.tge_tfloat_float(temp, d); + public static Pointer tintseq_from_mfjson(Pointer mfjson) { + var _result = _meos_d.tintseq_from_mfjson(mfjson); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tge_tint_int(Pointer temp, int i) { - var _result = _meos_c.tge_tint_int(temp, i); + public static Pointer tintseq_in(String str, int interp) { + var _result = _meos_d.tintseq_in(str, interp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tge_ttext_text(Pointer temp, Pointer txt) { - var _result = _meos_c.tge_ttext_text(temp, txt); + public static Pointer tintseqset_from_mfjson(Pointer mfjson) { + var _result = _meos_d.tintseqset_from_mfjson(mfjson); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tgt_float_tfloat(double d, Pointer temp) { - var _result = _meos_c.tgt_float_tfloat(d, temp); + public static Pointer tintseqset_in(String str) { + var _result = _meos_d.tintseqset_in(str); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tgt_int_tint(int i, Pointer temp) { - var _result = _meos_c.tgt_int_tint(i, temp); + public static Pointer tsequence_from_mfjson(Pointer mfjson, boolean spatial, int srid, int temptype, int interp) { + var _result = _meos_d.tsequence_from_mfjson(mfjson, spatial, srid, temptype, interp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tgt_temporal_temporal(Pointer temp1, Pointer temp2) { - var _result = _meos_c.tgt_temporal_temporal(temp1, temp2); + public static Pointer tsequence_in(String str, int temptype, int interp) { + var _result = _meos_d.tsequence_in(str, temptype, interp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tgt_text_ttext(Pointer txt, Pointer temp) { - var _result = _meos_c.tgt_text_ttext(txt, temp); + public static String tsequence_out(Pointer seq, int maxdd) { + var _result = _meos_d.tsequence_out(seq, maxdd); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tgt_tfloat_float(Pointer temp, double d) { - var _result = _meos_c.tgt_tfloat_float(temp, d); + public static Pointer tsequenceset_from_mfjson(Pointer mfjson, boolean spatial, int srid, int temptype, int interp) { + var _result = _meos_d.tsequenceset_from_mfjson(mfjson, spatial, srid, temptype, interp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tgt_tint_int(Pointer temp, int i) { - var _result = _meos_c.tgt_tint_int(temp, i); + public static Pointer tsequenceset_in(String str, int temptype, int interp) { + var _result = _meos_d.tsequenceset_in(str, temptype, interp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tgt_ttext_text(Pointer temp, Pointer txt) { - var _result = _meos_c.tgt_ttext_text(temp, txt); + public static String tsequenceset_out(Pointer ss, int maxdd) { + var _result = _meos_d.tsequenceset_out(ss, maxdd); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tle_float_tfloat(double d, Pointer temp) { - var _result = _meos_c.tle_float_tfloat(d, temp); + public static Pointer ttextinst_from_mfjson(Pointer mfjson) { + var _result = _meos_d.ttextinst_from_mfjson(mfjson); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tle_int_tint(int i, Pointer temp) { - var _result = _meos_c.tle_int_tint(i, temp); + public static Pointer ttextinst_in(String str) { + var _result = _meos_d.ttextinst_in(str); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tle_temporal_temporal(Pointer temp1, Pointer temp2) { - var _result = _meos_c.tle_temporal_temporal(temp1, temp2); + public static Pointer ttextseq_from_mfjson(Pointer mfjson) { + var _result = _meos_d.ttextseq_from_mfjson(mfjson); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tle_text_ttext(Pointer txt, Pointer temp) { - var _result = _meos_c.tle_text_ttext(txt, temp); + public static Pointer ttextseq_in(String str, int interp) { + var _result = _meos_d.ttextseq_in(str, interp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tle_tfloat_float(Pointer temp, double d) { - var _result = _meos_c.tle_tfloat_float(temp, d); + public static Pointer ttextseqset_from_mfjson(Pointer mfjson) { + var _result = _meos_d.ttextseqset_from_mfjson(mfjson); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tle_tint_int(Pointer temp, int i) { - var _result = _meos_c.tle_tint_int(temp, i); + public static Pointer ttextseqset_in(String str) { + var _result = _meos_d.ttextseqset_in(str); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tle_ttext_text(Pointer temp, Pointer txt) { - var _result = _meos_c.tle_ttext_text(temp, txt); + public static Pointer temporal_from_mfjson(String mfjson, int temptype) { + var _result = _meos_d.temporal_from_mfjson(mfjson, temptype); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tlt_float_tfloat(double d, Pointer temp) { - var _result = _meos_c.tlt_float_tfloat(d, temp); + public static Pointer temporal_from_base_temp(Pointer value, int temptype, Pointer temp) { + var _result = _meos_d.temporal_from_base_temp(value, temptype, temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tlt_int_tint(int i, Pointer temp) { - var _result = _meos_c.tlt_int_tint(i, temp); + public static Pointer tinstant_copy(Pointer inst) { + var _result = _meos_d.tinstant_copy(inst); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tlt_temporal_temporal(Pointer temp1, Pointer temp2) { - var _result = _meos_c.tlt_temporal_temporal(temp1, temp2); + public static Pointer tinstant_make(Pointer value, int temptype, OffsetDateTime t) { + var t_new = t.toEpochSecond(); + var _result = _meos_d.tinstant_make(value, temptype, t_new); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tlt_text_ttext(Pointer txt, Pointer temp) { - var _result = _meos_c.tlt_text_ttext(txt, temp); + public static Pointer tinstant_make_free(Pointer value, int temptype, OffsetDateTime t) { + var t_new = t.toEpochSecond(); + var _result = _meos_d.tinstant_make_free(value, temptype, t_new); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tlt_tfloat_float(Pointer temp, double d) { - var _result = _meos_c.tlt_tfloat_float(temp, d); + public static Pointer tsequence_copy(Pointer seq) { + var _result = _meos_d.tsequence_copy(seq); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tlt_tint_int(Pointer temp, int i) { - var _result = _meos_c.tlt_tint_int(temp, i); + public static Pointer tsequence_from_base_temp(Pointer value, int temptype, Pointer seq) { + var _result = _meos_d.tsequence_from_base_temp(value, temptype, seq); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tlt_ttext_text(Pointer temp, Pointer txt) { - var _result = _meos_c.tlt_ttext_text(temp, txt); + public static Pointer tsequence_from_base_tstzset(Pointer value, int temptype, Pointer s) { + var _result = _meos_d.tsequence_from_base_tstzset(value, temptype, s); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tne_bool_tbool(boolean b, Pointer temp) { - var _result = _meos_c.tne_bool_tbool(b, temp); + public static Pointer tsequence_from_base_tstzspan(Pointer value, int temptype, Pointer s, int interp) { + var _result = _meos_d.tsequence_from_base_tstzspan(value, temptype, s, interp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tne_float_tfloat(double d, Pointer temp) { - var _result = _meos_c.tne_float_tfloat(d, temp); + public static Pointer tsequence_make_exp(Pointer instants, int count, int maxcount, boolean lower_inc, boolean upper_inc, int interp, boolean normalize) { + var _result = _meos_d.tsequence_make_exp(instants, count, maxcount, lower_inc, upper_inc, interp, normalize); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tne_int_tint(int i, Pointer temp) { - var _result = _meos_c.tne_int_tint(i, temp); + public static Pointer tsequence_make_free(Pointer instants, int count, boolean lower_inc, boolean upper_inc, int interp, boolean normalize) { + var _result = _meos_d.tsequence_make_free(instants, count, lower_inc, upper_inc, interp, normalize); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tne_tbool_bool(Pointer temp, boolean b) { - var _result = _meos_c.tne_tbool_bool(temp, b); + public static Pointer tsequenceset_copy(Pointer ss) { + var _result = _meos_d.tsequenceset_copy(ss); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tne_temporal_temporal(Pointer temp1, Pointer temp2) { - var _result = _meos_c.tne_temporal_temporal(temp1, temp2); + public static Pointer tseqsetarr_to_tseqset(Pointer seqsets, int count, int totalseqs) { + var _result = _meos_d.tseqsetarr_to_tseqset(seqsets, count, totalseqs); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tne_text_ttext(Pointer txt, Pointer temp) { - var _result = _meos_c.tne_text_ttext(txt, temp); + public static Pointer tsequenceset_from_base_temp(Pointer value, int temptype, Pointer ss) { + var _result = _meos_d.tsequenceset_from_base_temp(value, temptype, ss); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tne_tfloat_float(Pointer temp, double d) { - var _result = _meos_c.tne_tfloat_float(temp, d); + public static Pointer tsequenceset_from_base_tstzspanset(Pointer value, int temptype, Pointer ss, int interp) { + var _result = _meos_d.tsequenceset_from_base_tstzspanset(value, temptype, ss, interp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tne_tint_int(Pointer temp, int i) { - var _result = _meos_c.tne_tint_int(temp, i); + public static Pointer tsequenceset_make_exp(Pointer sequences, int count, int maxcount, boolean normalize) { + var _result = _meos_d.tsequenceset_make_exp(sequences, count, maxcount, normalize); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tne_ttext_text(Pointer temp, Pointer txt) { - var _result = _meos_c.tne_ttext_text(temp, txt); + public static Pointer tsequenceset_make_free(Pointer sequences, int count, boolean normalize) { + var _result = _meos_d.tsequenceset_make_free(sequences, count, normalize); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer temporal_spans(Pointer temp, Pointer count) { - var _result = _meos_c.temporal_spans(temp, count); + public static void temporal_set_tstzspan(Pointer temp, Pointer s) { + _meos_d.temporal_set_tstzspan(temp, s); MeosErrorHandler.checkError(); - return _result; } @SuppressWarnings("unused") - public static Pointer temporal_split_each_n_spans(Pointer temp, int elem_count, Pointer count) { - var _result = _meos_c.temporal_split_each_n_spans(temp, elem_count, count); + public static void tinstant_set_tstzspan(Pointer inst, Pointer s) { + _meos_d.tinstant_set_tstzspan(inst, s); MeosErrorHandler.checkError(); - return _result; } @SuppressWarnings("unused") - public static Pointer temporal_split_n_spans(Pointer temp, int span_count, Pointer count) { - var _result = _meos_c.temporal_split_n_spans(temp, span_count, count); + public static void tnumber_set_tbox(Pointer temp, Pointer box) { + _meos_d.tnumber_set_tbox(temp, box); MeosErrorHandler.checkError(); - return _result; } @SuppressWarnings("unused") - public static Pointer tnumber_split_each_n_tboxes(Pointer temp, int elem_count, Pointer count) { - var _result = _meos_c.tnumber_split_each_n_tboxes(temp, elem_count, count); + public static void tnumberinst_set_tbox(Pointer inst, Pointer box) { + _meos_d.tnumberinst_set_tbox(inst, box); MeosErrorHandler.checkError(); - return _result; } @SuppressWarnings("unused") - public static Pointer tnumber_split_n_tboxes(Pointer temp, int box_count, Pointer count) { - var _result = _meos_c.tnumber_split_n_tboxes(temp, box_count, count); + public static void tnumberseq_set_tbox(Pointer seq, Pointer box) { + _meos_d.tnumberseq_set_tbox(seq, box); MeosErrorHandler.checkError(); - return _result; } @SuppressWarnings("unused") - public static Pointer tnumber_tboxes(Pointer temp, Pointer count) { - var _result = _meos_c.tnumber_tboxes(temp, count); + public static void tnumberseqset_set_tbox(Pointer ss, Pointer box) { + _meos_d.tnumberseqset_set_tbox(ss, box); MeosErrorHandler.checkError(); - return _result; } @SuppressWarnings("unused") - public static boolean adjacent_numspan_tnumber(Pointer s, Pointer temp) { - var _result = _meos_c.adjacent_numspan_tnumber(s, temp); + public static void tsequence_set_tstzspan(Pointer seq, Pointer s) { + _meos_d.tsequence_set_tstzspan(seq, s); MeosErrorHandler.checkError(); - return _result; } @SuppressWarnings("unused") - public static boolean adjacent_tbox_tnumber(Pointer box, Pointer temp) { - var _result = _meos_c.adjacent_tbox_tnumber(box, temp); + public static void tsequenceset_set_tstzspan(Pointer ss, Pointer s) { + _meos_d.tsequenceset_set_tstzspan(ss, s); MeosErrorHandler.checkError(); - return _result; } @SuppressWarnings("unused") - public static boolean adjacent_temporal_temporal(Pointer temp1, Pointer temp2) { - var _result = _meos_c.adjacent_temporal_temporal(temp1, temp2); + public static Pointer temporal_end_inst(Pointer temp) { + var _result = _meos_d.temporal_end_inst(temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean adjacent_temporal_tstzspan(Pointer temp, Pointer s) { - var _result = _meos_c.adjacent_temporal_tstzspan(temp, s); + public static int temporal_end_value(Pointer temp) { + var _result = _meos_d.temporal_end_value(temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean adjacent_tnumber_numspan(Pointer temp, Pointer s) { - var _result = _meos_c.adjacent_tnumber_numspan(temp, s); + public static Pointer temporal_inst_n(Pointer temp, int n) { + var _result = _meos_d.temporal_inst_n(temp, n); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean adjacent_tnumber_tbox(Pointer temp, Pointer box) { - var _result = _meos_c.adjacent_tnumber_tbox(temp, box); + public static Pointer temporal_insts_p(Pointer temp, Pointer count) { + var _result = _meos_d.temporal_insts_p(temp, count); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean adjacent_tnumber_tnumber(Pointer temp1, Pointer temp2) { - var _result = _meos_c.adjacent_tnumber_tnumber(temp1, temp2); + public static Pointer temporal_max_inst_p(Pointer temp) { + var _result = _meos_d.temporal_max_inst_p(temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean adjacent_tstzspan_temporal(Pointer s, Pointer temp) { - var _result = _meos_c.adjacent_tstzspan_temporal(s, temp); + public static int temporal_max_value(Pointer temp) { + var _result = _meos_d.temporal_max_value(temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean contained_numspan_tnumber(Pointer s, Pointer temp) { - var _result = _meos_c.contained_numspan_tnumber(s, temp); + public static long temporal_mem_size(Pointer temp) { + var _result = _meos_d.temporal_mem_size(temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean contained_tbox_tnumber(Pointer box, Pointer temp) { - var _result = _meos_c.contained_tbox_tnumber(box, temp); + public static Pointer temporal_min_inst_p(Pointer temp) { + var _result = _meos_d.temporal_min_inst_p(temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean contained_temporal_temporal(Pointer temp1, Pointer temp2) { - var _result = _meos_c.contained_temporal_temporal(temp1, temp2); + public static int temporal_min_value(Pointer temp) { + var _result = _meos_d.temporal_min_value(temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean contained_temporal_tstzspan(Pointer temp, Pointer s) { - var _result = _meos_c.contained_temporal_tstzspan(temp, s); + public static Pointer temporal_sequences_p(Pointer temp, Pointer count) { + var _result = _meos_d.temporal_sequences_p(temp, count); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean contained_tnumber_numspan(Pointer temp, Pointer s) { - var _result = _meos_c.contained_tnumber_numspan(temp, s); + public static void temporal_set_bbox(Pointer temp, Pointer box) { + _meos_d.temporal_set_bbox(temp, box); MeosErrorHandler.checkError(); - return _result; } @SuppressWarnings("unused") - public static boolean contained_tnumber_tbox(Pointer temp, Pointer box) { - var _result = _meos_c.contained_tnumber_tbox(temp, box); + public static Pointer temporal_start_inst(Pointer temp) { + var _result = _meos_d.temporal_start_inst(temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean contained_tnumber_tnumber(Pointer temp1, Pointer temp2) { - var _result = _meos_c.contained_tnumber_tnumber(temp1, temp2); + public static int temporal_start_value(Pointer temp) { + var _result = _meos_d.temporal_start_value(temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean contained_tstzspan_temporal(Pointer s, Pointer temp) { - var _result = _meos_c.contained_tstzspan_temporal(s, temp); + public static Pointer temporal_values_p(Pointer temp, Pointer count) { + var _result = _meos_d.temporal_values_p(temp, count); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean contains_numspan_tnumber(Pointer s, Pointer temp) { - var _result = _meos_c.contains_numspan_tnumber(s, temp); + public static Pointer temporal_value_n(Pointer temp, int n) { + boolean out; + Runtime runtime = Runtime.getSystemRuntime(); + Pointer result = Memory.allocateDirect(runtime, Long.BYTES); + out = _meos_d.temporal_value_n(temp, n, result); + Pointer new_result = result.getPointer(0); MeosErrorHandler.checkError(); - return _result; + return out ? new_result : null; } @SuppressWarnings("unused") - public static boolean contains_tbox_tnumber(Pointer box, Pointer temp) { - var _result = _meos_c.contains_tbox_tnumber(box, temp); + public static Pointer temporal_values(Pointer temp, Pointer count) { + var _result = _meos_d.temporal_values(temp, count); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean contains_temporal_tstzspan(Pointer temp, Pointer s) { - var _result = _meos_c.contains_temporal_tstzspan(temp, s); + public static int tinstant_hash(Pointer inst) { + var _result = _meos_d.tinstant_hash(inst); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean contains_temporal_temporal(Pointer temp1, Pointer temp2) { - var _result = _meos_c.contains_temporal_temporal(temp1, temp2); + public static Pointer tinstant_insts(Pointer inst, Pointer count) { + var _result = _meos_d.tinstant_insts(inst, count); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean contains_tnumber_numspan(Pointer temp, Pointer s) { - var _result = _meos_c.contains_tnumber_numspan(temp, s); + public static void tinstant_set_bbox(Pointer inst, Pointer box) { + _meos_d.tinstant_set_bbox(inst, box); MeosErrorHandler.checkError(); - return _result; } @SuppressWarnings("unused") - public static boolean contains_tnumber_tbox(Pointer temp, Pointer box) { - var _result = _meos_c.contains_tnumber_tbox(temp, box); + public static Pointer tinstant_time(Pointer inst) { + var _result = _meos_d.tinstant_time(inst); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean contains_tnumber_tnumber(Pointer temp1, Pointer temp2) { - var _result = _meos_c.contains_tnumber_tnumber(temp1, temp2); + public static Pointer tinstant_timestamps(Pointer inst, Pointer count) { + var _result = _meos_d.tinstant_timestamps(inst, count); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean contains_tstzspan_temporal(Pointer s, Pointer temp) { - var _result = _meos_c.contains_tstzspan_temporal(s, temp); + public static int tinstant_value_p(Pointer inst) { + var _result = _meos_d.tinstant_value_p(inst); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean overlaps_numspan_tnumber(Pointer s, Pointer temp) { - var _result = _meos_c.overlaps_numspan_tnumber(s, temp); + public static int tinstant_value(Pointer inst) { + var _result = _meos_d.tinstant_value(inst); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean overlaps_tbox_tnumber(Pointer box, Pointer temp) { - var _result = _meos_c.overlaps_tbox_tnumber(box, temp); + public static Pointer tinstant_value_at_timestamptz(Pointer inst, OffsetDateTime t) { + boolean out; + Runtime runtime = Runtime.getSystemRuntime(); + Pointer result = Memory.allocateDirect(runtime, Long.BYTES); + var t_new = t.toEpochSecond(); + out = _meos_d.tinstant_value_at_timestamptz(inst, t_new, result); + Pointer new_result = result.getPointer(0); MeosErrorHandler.checkError(); - return _result; + return out ? new_result : null; } @SuppressWarnings("unused") - public static boolean overlaps_temporal_temporal(Pointer temp1, Pointer temp2) { - var _result = _meos_c.overlaps_temporal_temporal(temp1, temp2); + public static Pointer tinstant_values_p(Pointer inst, Pointer count) { + var _result = _meos_d.tinstant_values_p(inst, count); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean overlaps_temporal_tstzspan(Pointer temp, Pointer s) { - var _result = _meos_c.overlaps_temporal_tstzspan(temp, s); + public static void tnumber_set_span(Pointer temp, Pointer span) { + _meos_d.tnumber_set_span(temp, span); MeosErrorHandler.checkError(); - return _result; } @SuppressWarnings("unused") - public static boolean overlaps_tnumber_numspan(Pointer temp, Pointer s) { - var _result = _meos_c.overlaps_tnumber_numspan(temp, s); + public static Pointer tnumberinst_valuespans(Pointer inst) { + var _result = _meos_d.tnumberinst_valuespans(inst); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean overlaps_tnumber_tbox(Pointer temp, Pointer box) { - var _result = _meos_c.overlaps_tnumber_tbox(temp, box); + public static double tnumberseq_avg_val(Pointer seq) { + var _result = _meos_d.tnumberseq_avg_val(seq); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean overlaps_tnumber_tnumber(Pointer temp1, Pointer temp2) { - var _result = _meos_c.overlaps_tnumber_tnumber(temp1, temp2); + public static Pointer tnumberseq_valuespans(Pointer seq) { + var _result = _meos_d.tnumberseq_valuespans(seq); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean overlaps_tstzspan_temporal(Pointer s, Pointer temp) { - var _result = _meos_c.overlaps_tstzspan_temporal(s, temp); + public static double tnumberseqset_avg_val(Pointer ss) { + var _result = _meos_d.tnumberseqset_avg_val(ss); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean same_numspan_tnumber(Pointer s, Pointer temp) { - var _result = _meos_c.same_numspan_tnumber(s, temp); + public static Pointer tnumberseqset_valuespans(Pointer ss) { + var _result = _meos_d.tnumberseqset_valuespans(ss); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean same_tbox_tnumber(Pointer box, Pointer temp) { - var _result = _meos_c.same_tbox_tnumber(box, temp); + public static Pointer tsequence_duration(Pointer seq) { + var _result = _meos_d.tsequence_duration(seq); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean same_temporal_temporal(Pointer temp1, Pointer temp2) { - var _result = _meos_c.same_temporal_temporal(temp1, temp2); + public static OffsetDateTime tsequence_end_timestamptz(Pointer seq) { + var _result = _meos_d.tsequence_end_timestamptz(seq); MeosErrorHandler.checkError(); - return _result; + return java.time.Instant.ofEpochSecond(_result).atOffset(java.time.ZoneOffset.UTC); } @SuppressWarnings("unused") - public static boolean same_temporal_tstzspan(Pointer temp, Pointer s) { - var _result = _meos_c.same_temporal_tstzspan(temp, s); + public static int tsequence_hash(Pointer seq) { + var _result = _meos_d.tsequence_hash(seq); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean same_tnumber_numspan(Pointer temp, Pointer s) { - var _result = _meos_c.same_tnumber_numspan(temp, s); + public static Pointer tsequence_insts_p(Pointer seq) { + var _result = _meos_d.tsequence_insts_p(seq); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean same_tnumber_tbox(Pointer temp, Pointer box) { - var _result = _meos_c.same_tnumber_tbox(temp, box); + public static Pointer tsequence_max_inst_p(Pointer seq) { + var _result = _meos_d.tsequence_max_inst_p(seq); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean same_tnumber_tnumber(Pointer temp1, Pointer temp2) { - var _result = _meos_c.same_tnumber_tnumber(temp1, temp2); + public static int tsequence_max_val(Pointer seq) { + var _result = _meos_d.tsequence_max_val(seq); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean same_tstzspan_temporal(Pointer s, Pointer temp) { - var _result = _meos_c.same_tstzspan_temporal(s, temp); + public static Pointer tsequence_min_inst_p(Pointer seq) { + var _result = _meos_d.tsequence_min_inst_p(seq); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean after_tbox_tnumber(Pointer box, Pointer temp) { - var _result = _meos_c.after_tbox_tnumber(box, temp); + public static int tsequence_min_val(Pointer seq) { + var _result = _meos_d.tsequence_min_val(seq); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean after_temporal_tstzspan(Pointer temp, Pointer s) { - var _result = _meos_c.after_temporal_tstzspan(temp, s); + public static Pointer tsequence_segments(Pointer seq, Pointer count) { + var _result = _meos_d.tsequence_segments(seq, count); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean after_temporal_temporal(Pointer temp1, Pointer temp2) { - var _result = _meos_c.after_temporal_temporal(temp1, temp2); + public static Pointer tsequence_seqs(Pointer seq, Pointer count) { + var _result = _meos_d.tsequence_seqs(seq, count); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean after_tnumber_tbox(Pointer temp, Pointer box) { - var _result = _meos_c.after_tnumber_tbox(temp, box); + public static OffsetDateTime tsequence_start_timestamptz(Pointer seq) { + var _result = _meos_d.tsequence_start_timestamptz(seq); MeosErrorHandler.checkError(); - return _result; + return java.time.Instant.ofEpochSecond(_result).atOffset(java.time.ZoneOffset.UTC); } @SuppressWarnings("unused") - public static boolean after_tnumber_tnumber(Pointer temp1, Pointer temp2) { - var _result = _meos_c.after_tnumber_tnumber(temp1, temp2); + public static Pointer tsequence_time(Pointer seq) { + var _result = _meos_d.tsequence_time(seq); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean after_tstzspan_temporal(Pointer s, Pointer temp) { - var _result = _meos_c.after_tstzspan_temporal(s, temp); + public static Pointer tsequence_timestamps(Pointer seq, Pointer count) { + var _result = _meos_d.tsequence_timestamps(seq, count); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean before_tbox_tnumber(Pointer box, Pointer temp) { - var _result = _meos_c.before_tbox_tnumber(box, temp); + public static Pointer tsequence_value_at_timestamptz(Pointer seq, OffsetDateTime t, boolean strict) { + boolean out; + Runtime runtime = Runtime.getSystemRuntime(); + Pointer result = Memory.allocateDirect(runtime, Long.BYTES); + var t_new = t.toEpochSecond(); + out = _meos_d.tsequence_value_at_timestamptz(seq, t_new, strict, result); + Pointer new_result = result.getPointer(0); MeosErrorHandler.checkError(); - return _result; + return out ? new_result : null; } @SuppressWarnings("unused") - public static boolean before_temporal_tstzspan(Pointer temp, Pointer s) { - var _result = _meos_c.before_temporal_tstzspan(temp, s); + public static Pointer tsequence_values_p(Pointer seq, Pointer count) { + var _result = _meos_d.tsequence_values_p(seq, count); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean before_temporal_temporal(Pointer temp1, Pointer temp2) { - var _result = _meos_c.before_temporal_temporal(temp1, temp2); + public static Pointer tsequenceset_duration(Pointer ss, boolean boundspan) { + var _result = _meos_d.tsequenceset_duration(ss, boundspan); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean before_tnumber_tbox(Pointer temp, Pointer box) { - var _result = _meos_c.before_tnumber_tbox(temp, box); + public static OffsetDateTime tsequenceset_end_timestamptz(Pointer ss) { + var _result = _meos_d.tsequenceset_end_timestamptz(ss); MeosErrorHandler.checkError(); - return _result; + return java.time.Instant.ofEpochSecond(_result).atOffset(java.time.ZoneOffset.UTC); } @SuppressWarnings("unused") - public static boolean before_tnumber_tnumber(Pointer temp1, Pointer temp2) { - var _result = _meos_c.before_tnumber_tnumber(temp1, temp2); + public static int tsequenceset_hash(Pointer ss) { + var _result = _meos_d.tsequenceset_hash(ss); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean before_tstzspan_temporal(Pointer s, Pointer temp) { - var _result = _meos_c.before_tstzspan_temporal(s, temp); + public static Pointer tsequenceset_inst_n(Pointer ss, int n) { + var _result = _meos_d.tsequenceset_inst_n(ss, n); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean left_tbox_tnumber(Pointer box, Pointer temp) { - var _result = _meos_c.left_tbox_tnumber(box, temp); + public static Pointer tsequenceset_insts_p(Pointer ss) { + var _result = _meos_d.tsequenceset_insts_p(ss); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean left_numspan_tnumber(Pointer s, Pointer temp) { - var _result = _meos_c.left_numspan_tnumber(s, temp); + public static Pointer tsequenceset_max_inst_p(Pointer ss) { + var _result = _meos_d.tsequenceset_max_inst_p(ss); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean left_tnumber_numspan(Pointer temp, Pointer s) { - var _result = _meos_c.left_tnumber_numspan(temp, s); + public static int tsequenceset_max_val(Pointer ss) { + var _result = _meos_d.tsequenceset_max_val(ss); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean left_tnumber_tbox(Pointer temp, Pointer box) { - var _result = _meos_c.left_tnumber_tbox(temp, box); + public static Pointer tsequenceset_min_inst_p(Pointer ss) { + var _result = _meos_d.tsequenceset_min_inst_p(ss); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean left_tnumber_tnumber(Pointer temp1, Pointer temp2) { - var _result = _meos_c.left_tnumber_tnumber(temp1, temp2); + public static int tsequenceset_min_val(Pointer ss) { + var _result = _meos_d.tsequenceset_min_val(ss); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean overafter_tbox_tnumber(Pointer box, Pointer temp) { - var _result = _meos_c.overafter_tbox_tnumber(box, temp); + public static int tsequenceset_num_instants(Pointer ss) { + var _result = _meos_d.tsequenceset_num_instants(ss); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean overafter_temporal_tstzspan(Pointer temp, Pointer s) { - var _result = _meos_c.overafter_temporal_tstzspan(temp, s); + public static int tsequenceset_num_timestamps(Pointer ss) { + var _result = _meos_d.tsequenceset_num_timestamps(ss); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean overafter_temporal_temporal(Pointer temp1, Pointer temp2) { - var _result = _meos_c.overafter_temporal_temporal(temp1, temp2); + public static Pointer tsequenceset_segments(Pointer ss, Pointer count) { + var _result = _meos_d.tsequenceset_segments(ss, count); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean overafter_tnumber_tbox(Pointer temp, Pointer box) { - var _result = _meos_c.overafter_tnumber_tbox(temp, box); + public static Pointer tsequenceset_sequences_p(Pointer ss) { + var _result = _meos_d.tsequenceset_sequences_p(ss); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean overafter_tnumber_tnumber(Pointer temp1, Pointer temp2) { - var _result = _meos_c.overafter_tnumber_tnumber(temp1, temp2); + public static OffsetDateTime tsequenceset_start_timestamptz(Pointer ss) { + var _result = _meos_d.tsequenceset_start_timestamptz(ss); MeosErrorHandler.checkError(); - return _result; + return java.time.Instant.ofEpochSecond(_result).atOffset(java.time.ZoneOffset.UTC); } @SuppressWarnings("unused") - public static boolean overafter_tstzspan_temporal(Pointer s, Pointer temp) { - var _result = _meos_c.overafter_tstzspan_temporal(s, temp); + public static Pointer tsequenceset_time(Pointer ss) { + var _result = _meos_d.tsequenceset_time(ss); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean overbefore_tbox_tnumber(Pointer box, Pointer temp) { - var _result = _meos_c.overbefore_tbox_tnumber(box, temp); + public static Pointer tsequenceset_timestamptz_n(Pointer ss, int n) { + boolean out; + Runtime runtime = Runtime.getSystemRuntime(); + Pointer result = Memory.allocateDirect(runtime, Long.BYTES); + out = _meos_d.tsequenceset_timestamptz_n(ss, n, result); MeosErrorHandler.checkError(); - return _result; + return out ? result : null; } @SuppressWarnings("unused") - public static boolean overbefore_temporal_tstzspan(Pointer temp, Pointer s) { - var _result = _meos_c.overbefore_temporal_tstzspan(temp, s); + public static Pointer tsequenceset_timestamps(Pointer ss, Pointer count) { + var _result = _meos_d.tsequenceset_timestamps(ss, count); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean overbefore_temporal_temporal(Pointer temp1, Pointer temp2) { - var _result = _meos_c.overbefore_temporal_temporal(temp1, temp2); + public static Pointer tsequenceset_value_at_timestamptz(Pointer ss, OffsetDateTime t, boolean strict) { + boolean out; + Runtime runtime = Runtime.getSystemRuntime(); + Pointer result = Memory.allocateDirect(runtime, Long.BYTES); + var t_new = t.toEpochSecond(); + out = _meos_d.tsequenceset_value_at_timestamptz(ss, t_new, strict, result); + Pointer new_result = result.getPointer(0); MeosErrorHandler.checkError(); - return _result; + return out ? new_result : null; } @SuppressWarnings("unused") - public static boolean overbefore_tnumber_tbox(Pointer temp, Pointer box) { - var _result = _meos_c.overbefore_tnumber_tbox(temp, box); + public static Pointer tsequenceset_value_n(Pointer ss, int n) { + boolean out; + Runtime runtime = Runtime.getSystemRuntime(); + Pointer result = Memory.allocateDirect(runtime, Long.BYTES); + out = _meos_d.tsequenceset_value_n(ss, n, result); + Pointer new_result = result.getPointer(0); MeosErrorHandler.checkError(); - return _result; + return out ? new_result : null; } @SuppressWarnings("unused") - public static boolean overbefore_tnumber_tnumber(Pointer temp1, Pointer temp2) { - var _result = _meos_c.overbefore_tnumber_tnumber(temp1, temp2); + public static Pointer tsequenceset_values_p(Pointer ss, Pointer count) { + var _result = _meos_d.tsequenceset_values_p(ss, count); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean overbefore_tstzspan_temporal(Pointer s, Pointer temp) { - var _result = _meos_c.overbefore_tstzspan_temporal(s, temp); + public static void temporal_restart(Pointer temp, int count) { + _meos_d.temporal_restart(temp, count); MeosErrorHandler.checkError(); - return _result; } @SuppressWarnings("unused") - public static boolean overleft_numspan_tnumber(Pointer s, Pointer temp) { - var _result = _meos_c.overleft_numspan_tnumber(s, temp); + public static Pointer temporal_tsequence(Pointer temp, int interp) { + var _result = _meos_d.temporal_tsequence(temp, interp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean overleft_tbox_tnumber(Pointer box, Pointer temp) { - var _result = _meos_c.overleft_tbox_tnumber(box, temp); + public static Pointer temporal_tsequenceset(Pointer temp, int interp) { + var _result = _meos_d.temporal_tsequenceset(temp, interp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean overleft_tnumber_numspan(Pointer temp, Pointer s) { - var _result = _meos_c.overleft_tnumber_numspan(temp, s); + public static Pointer tinstant_shift_time(Pointer inst, Pointer interv) { + var _result = _meos_d.tinstant_shift_time(inst, interv); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean overleft_tnumber_tbox(Pointer temp, Pointer box) { - var _result = _meos_c.overleft_tnumber_tbox(temp, box); + public static Pointer tinstant_to_tsequence(Pointer inst, int interp) { + var _result = _meos_d.tinstant_to_tsequence(inst, interp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean overleft_tnumber_tnumber(Pointer temp1, Pointer temp2) { - var _result = _meos_c.overleft_tnumber_tnumber(temp1, temp2); + public static Pointer tinstant_to_tsequence_free(Pointer inst, int interp) { + var _result = _meos_d.tinstant_to_tsequence_free(inst, interp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean overright_numspan_tnumber(Pointer s, Pointer temp) { - var _result = _meos_c.overright_numspan_tnumber(s, temp); + public static Pointer tinstant_to_tsequenceset(Pointer inst, int interp) { + var _result = _meos_d.tinstant_to_tsequenceset(inst, interp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean overright_tbox_tnumber(Pointer box, Pointer temp) { - var _result = _meos_c.overright_tbox_tnumber(box, temp); + public static Pointer tnumber_shift_scale_value(Pointer temp, Pointer shift, Pointer width, boolean hasshift, boolean haswidth) { + var _result = _meos_d.tnumber_shift_scale_value(temp, shift, width, hasshift, haswidth); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean overright_tnumber_numspan(Pointer temp, Pointer s) { - var _result = _meos_c.overright_tnumber_numspan(temp, s); + public static Pointer tnumberinst_shift_value(Pointer inst, Pointer shift) { + var _result = _meos_d.tnumberinst_shift_value(inst, shift); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean overright_tnumber_tbox(Pointer temp, Pointer box) { - var _result = _meos_c.overright_tnumber_tbox(temp, box); + public static Pointer tnumberseq_shift_scale_value(Pointer seq, Pointer shift, Pointer width, boolean hasshift, boolean haswidth) { + var _result = _meos_d.tnumberseq_shift_scale_value(seq, shift, width, hasshift, haswidth); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean overright_tnumber_tnumber(Pointer temp1, Pointer temp2) { - var _result = _meos_c.overright_tnumber_tnumber(temp1, temp2); + public static Pointer tnumberseqset_shift_scale_value(Pointer ss, Pointer start, Pointer width, boolean hasshift, boolean haswidth) { + var _result = _meos_d.tnumberseqset_shift_scale_value(ss, start, width, hasshift, haswidth); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean right_numspan_tnumber(Pointer s, Pointer temp) { - var _result = _meos_c.right_numspan_tnumber(s, temp); + public static void tsequence_restart(Pointer seq, int count) { + _meos_d.tsequence_restart(seq, count); MeosErrorHandler.checkError(); - return _result; } @SuppressWarnings("unused") - public static boolean right_tbox_tnumber(Pointer box, Pointer temp) { - var _result = _meos_c.right_tbox_tnumber(box, temp); + public static Pointer tsequence_set_interp(Pointer seq, int interp) { + var _result = _meos_d.tsequence_set_interp(seq, interp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean right_tnumber_numspan(Pointer temp, Pointer s) { - var _result = _meos_c.right_tnumber_numspan(temp, s); + public static Pointer tsequence_shift_scale_time(Pointer seq, Pointer shift, Pointer duration) { + var _result = _meos_d.tsequence_shift_scale_time(seq, shift, duration); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean right_tnumber_tbox(Pointer temp, Pointer box) { - var _result = _meos_c.right_tnumber_tbox(temp, box); + public static Pointer tsequence_subseq(Pointer seq, int from, int to, boolean lower_inc, boolean upper_inc) { + var _result = _meos_d.tsequence_subseq(seq, from, to, lower_inc, upper_inc); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean right_tnumber_tnumber(Pointer temp1, Pointer temp2) { - var _result = _meos_c.right_tnumber_tnumber(temp1, temp2); + public static Pointer tsequence_to_tinstant(Pointer seq) { + var _result = _meos_d.tsequence_to_tinstant(seq); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tand_bool_tbool(boolean b, Pointer temp) { - var _result = _meos_c.tand_bool_tbool(b, temp); + public static Pointer tsequence_to_tsequenceset(Pointer seq) { + var _result = _meos_d.tsequence_to_tsequenceset(seq); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tand_tbool_bool(Pointer temp, boolean b) { - var _result = _meos_c.tand_tbool_bool(temp, b); + public static Pointer tsequence_to_tsequenceset_free(Pointer seq) { + var _result = _meos_d.tsequence_to_tsequenceset_free(seq); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tand_tbool_tbool(Pointer temp1, Pointer temp2) { - var _result = _meos_c.tand_tbool_tbool(temp1, temp2); + public static Pointer tsequence_to_tsequenceset_interp(Pointer seq, int interp) { + var _result = _meos_d.tsequence_to_tsequenceset_interp(seq, interp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tbool_when_true(Pointer temp) { - var _result = _meos_c.tbool_when_true(temp); + public static void tsequenceset_restart(Pointer ss, int count) { + _meos_d.tsequenceset_restart(ss, count); MeosErrorHandler.checkError(); - return _result; } @SuppressWarnings("unused") - public static Pointer tnot_tbool(Pointer temp) { - var _result = _meos_c.tnot_tbool(temp); + public static Pointer tsequenceset_set_interp(Pointer ss, int interp) { + var _result = _meos_d.tsequenceset_set_interp(ss, interp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tor_bool_tbool(boolean b, Pointer temp) { - var _result = _meos_c.tor_bool_tbool(b, temp); + public static Pointer tsequenceset_shift_scale_time(Pointer ss, Pointer start, Pointer duration) { + var _result = _meos_d.tsequenceset_shift_scale_time(ss, start, duration); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tor_tbool_bool(Pointer temp, boolean b) { - var _result = _meos_c.tor_tbool_bool(temp, b); + public static Pointer tsequenceset_to_discrete(Pointer ss) { + var _result = _meos_d.tsequenceset_to_discrete(ss); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tor_tbool_tbool(Pointer temp1, Pointer temp2) { - var _result = _meos_c.tor_tbool_tbool(temp1, temp2); + public static Pointer tsequenceset_to_linear(Pointer ss) { + var _result = _meos_d.tsequenceset_to_linear(ss); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer add_float_tfloat(double d, Pointer tnumber) { - var _result = _meos_c.add_float_tfloat(d, tnumber); + public static Pointer tsequenceset_to_step(Pointer ss) { + var _result = _meos_d.tsequenceset_to_step(ss); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer add_int_tint(int i, Pointer tnumber) { - var _result = _meos_c.add_int_tint(i, tnumber); + public static Pointer tsequenceset_to_tinstant(Pointer ss) { + var _result = _meos_d.tsequenceset_to_tinstant(ss); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer add_tfloat_float(Pointer tnumber, double d) { - var _result = _meos_c.add_tfloat_float(tnumber, d); + public static Pointer tsequenceset_to_tsequence(Pointer ss) { + var _result = _meos_d.tsequenceset_to_tsequence(ss); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer add_tint_int(Pointer tnumber, int i) { - var _result = _meos_c.add_tint_int(tnumber, i); + public static Pointer tinstant_merge(Pointer inst1, Pointer inst2) { + var _result = _meos_d.tinstant_merge(inst1, inst2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer add_tnumber_tnumber(Pointer tnumber1, Pointer tnumber2) { - var _result = _meos_c.add_tnumber_tnumber(tnumber1, tnumber2); + public static Pointer tinstant_merge_array(Pointer instants, int count) { + var _result = _meos_d.tinstant_merge_array(instants, count); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer div_float_tfloat(double d, Pointer tnumber) { - var _result = _meos_c.div_float_tfloat(d, tnumber); + public static Pointer tsequence_append_tinstant(Pointer seq, Pointer inst, double maxdist, Pointer maxt, boolean expand) { + var _result = _meos_d.tsequence_append_tinstant(seq, inst, maxdist, maxt, expand); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer div_int_tint(int i, Pointer tnumber) { - var _result = _meos_c.div_int_tint(i, tnumber); + public static Pointer tsequence_append_tsequence(Pointer seq1, Pointer seq2, boolean expand) { + var _result = _meos_d.tsequence_append_tsequence(seq1, seq2, expand); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer div_tfloat_float(Pointer tnumber, double d) { - var _result = _meos_c.div_tfloat_float(tnumber, d); + public static Pointer tsequence_delete_timestamptz(Pointer seq, OffsetDateTime t, boolean connect) { + var t_new = t.toEpochSecond(); + var _result = _meos_d.tsequence_delete_timestamptz(seq, t_new, connect); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer div_tint_int(Pointer tnumber, int i) { - var _result = _meos_c.div_tint_int(tnumber, i); + public static Pointer tsequence_delete_tstzset(Pointer seq, Pointer s, boolean connect) { + var _result = _meos_d.tsequence_delete_tstzset(seq, s, connect); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer div_tnumber_tnumber(Pointer tnumber1, Pointer tnumber2) { - var _result = _meos_c.div_tnumber_tnumber(tnumber1, tnumber2); + public static Pointer tsequence_delete_tstzspan(Pointer seq, Pointer s, boolean connect) { + var _result = _meos_d.tsequence_delete_tstzspan(seq, s, connect); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer mult_float_tfloat(double d, Pointer tnumber) { - var _result = _meos_c.mult_float_tfloat(d, tnumber); + public static Pointer tsequence_delete_tstzspanset(Pointer seq, Pointer ss, boolean connect) { + var _result = _meos_d.tsequence_delete_tstzspanset(seq, ss, connect); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer mult_int_tint(int i, Pointer tnumber) { - var _result = _meos_c.mult_int_tint(i, tnumber); + public static Pointer tsequence_insert(Pointer seq1, Pointer seq2, boolean connect) { + var _result = _meos_d.tsequence_insert(seq1, seq2, connect); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer mult_tfloat_float(Pointer tnumber, double d) { - var _result = _meos_c.mult_tfloat_float(tnumber, d); + public static Pointer tsequence_merge(Pointer seq1, Pointer seq2) { + var _result = _meos_d.tsequence_merge(seq1, seq2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer mult_tint_int(Pointer tnumber, int i) { - var _result = _meos_c.mult_tint_int(tnumber, i); + public static Pointer tsequence_merge_array(Pointer sequences, int count) { + var _result = _meos_d.tsequence_merge_array(sequences, count); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer mult_tnumber_tnumber(Pointer tnumber1, Pointer tnumber2) { - var _result = _meos_c.mult_tnumber_tnumber(tnumber1, tnumber2); + public static Pointer tsequenceset_append_tinstant(Pointer ss, Pointer inst, double maxdist, Pointer maxt, boolean expand) { + var _result = _meos_d.tsequenceset_append_tinstant(ss, inst, maxdist, maxt, expand); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer sub_float_tfloat(double d, Pointer tnumber) { - var _result = _meos_c.sub_float_tfloat(d, tnumber); + public static Pointer tsequenceset_append_tsequence(Pointer ss, Pointer seq, boolean expand) { + var _result = _meos_d.tsequenceset_append_tsequence(ss, seq, expand); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer sub_int_tint(int i, Pointer tnumber) { - var _result = _meos_c.sub_int_tint(i, tnumber); + public static Pointer tsequenceset_delete_timestamptz(Pointer ss, OffsetDateTime t) { + var t_new = t.toEpochSecond(); + var _result = _meos_d.tsequenceset_delete_timestamptz(ss, t_new); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer sub_tfloat_float(Pointer tnumber, double d) { - var _result = _meos_c.sub_tfloat_float(tnumber, d); + public static Pointer tsequenceset_delete_tstzset(Pointer ss, Pointer s) { + var _result = _meos_d.tsequenceset_delete_tstzset(ss, s); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer sub_tint_int(Pointer tnumber, int i) { - var _result = _meos_c.sub_tint_int(tnumber, i); + public static Pointer tsequenceset_delete_tstzspan(Pointer ss, Pointer s) { + var _result = _meos_d.tsequenceset_delete_tstzspan(ss, s); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer sub_tnumber_tnumber(Pointer tnumber1, Pointer tnumber2) { - var _result = _meos_c.sub_tnumber_tnumber(tnumber1, tnumber2); + public static Pointer tsequenceset_delete_tstzspanset(Pointer ss, Pointer ps) { + var _result = _meos_d.tsequenceset_delete_tstzspanset(ss, ps); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer temporal_derivative(Pointer temp) { - var _result = _meos_c.temporal_derivative(temp); + public static Pointer tsequenceset_insert(Pointer ss1, Pointer ss2) { + var _result = _meos_d.tsequenceset_insert(ss1, ss2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tfloat_exp(Pointer temp) { - var _result = _meos_c.tfloat_exp(temp); + public static Pointer tsequenceset_merge(Pointer ss1, Pointer ss2) { + var _result = _meos_d.tsequenceset_merge(ss1, ss2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tfloat_ln(Pointer temp) { - var _result = _meos_c.tfloat_ln(temp); + public static Pointer tsequenceset_merge_array(Pointer seqsets, int count) { + var _result = _meos_d.tsequenceset_merge_array(seqsets, count); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tfloat_log10(Pointer temp) { - var _result = _meos_c.tfloat_log10(temp); + public static void tsequence_expand_bbox(Pointer seq, Pointer inst) { + _meos_d.tsequence_expand_bbox(seq, inst); MeosErrorHandler.checkError(); - return _result; } @SuppressWarnings("unused") - public static Pointer tnumber_abs(Pointer temp) { - var _result = _meos_c.tnumber_abs(temp); + public static void tsequence_set_bbox(Pointer seq, Pointer box) { + _meos_d.tsequence_set_bbox(seq, box); MeosErrorHandler.checkError(); - return _result; } @SuppressWarnings("unused") - public static Pointer tnumber_trend(Pointer temp) { - var _result = _meos_c.tnumber_trend(temp); + public static void tsequenceset_expand_bbox(Pointer ss, Pointer seq) { + _meos_d.tsequenceset_expand_bbox(ss, seq); MeosErrorHandler.checkError(); - return _result; } @SuppressWarnings("unused") - public static double float_angular_difference(double degrees1, double degrees2) { - var _result = _meos_c.float_angular_difference(degrees1, degrees2); + public static void tsequenceset_set_bbox(Pointer ss, Pointer box) { + _meos_d.tsequenceset_set_bbox(ss, box); MeosErrorHandler.checkError(); - return _result; } @SuppressWarnings("unused") - public static Pointer tnumber_angular_difference(Pointer temp) { - var _result = _meos_c.tnumber_angular_difference(temp); + public static Pointer tcontseq_after_timestamptz(Pointer seq, OffsetDateTime t, boolean strict) { + var t_new = t.toEpochSecond(); + var _result = _meos_d.tcontseq_after_timestamptz(seq, t_new, strict); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tnumber_delta_value(Pointer temp) { - var _result = _meos_c.tnumber_delta_value(temp); + public static Pointer tcontseq_before_timestamptz(Pointer seq, OffsetDateTime t, boolean strict) { + var t_new = t.toEpochSecond(); + var _result = _meos_d.tcontseq_before_timestamptz(seq, t_new, strict); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer textcat_text_ttext(Pointer txt, Pointer temp) { - var _result = _meos_c.textcat_text_ttext(txt, temp); + public static Pointer tcontseq_restrict_minmax(Pointer seq, boolean min, boolean atfunc) { + var _result = _meos_d.tcontseq_restrict_minmax(seq, min, atfunc); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer textcat_ttext_text(Pointer temp, Pointer txt) { - var _result = _meos_c.textcat_ttext_text(temp, txt); + public static Pointer tdiscseq_after_timestamptz(Pointer seq, OffsetDateTime t, boolean strict) { + var t_new = t.toEpochSecond(); + var _result = _meos_d.tdiscseq_after_timestamptz(seq, t_new, strict); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer textcat_ttext_ttext(Pointer temp1, Pointer temp2) { - var _result = _meos_c.textcat_ttext_ttext(temp1, temp2); + public static Pointer tdiscseq_before_timestamptz(Pointer seq, OffsetDateTime t, boolean strict) { + var t_new = t.toEpochSecond(); + var _result = _meos_d.tdiscseq_before_timestamptz(seq, t_new, strict); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer ttext_initcap(Pointer temp) { - var _result = _meos_c.ttext_initcap(temp); + public static Pointer tdiscseq_restrict_minmax(Pointer seq, boolean min, boolean atfunc) { + var _result = _meos_d.tdiscseq_restrict_minmax(seq, min, atfunc); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer ttext_upper(Pointer temp) { - var _result = _meos_c.ttext_upper(temp); + public static boolean temporal_bbox_restrict_set(Pointer temp, Pointer set) { + var _result = _meos_d.temporal_bbox_restrict_set(temp, set); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer ttext_lower(Pointer temp) { - var _result = _meos_c.ttext_lower(temp); + public static Pointer temporal_restrict_minmax(Pointer temp, boolean min, boolean atfunc) { + var _result = _meos_d.temporal_restrict_minmax(temp, min, atfunc); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tdistance_tfloat_float(Pointer temp, double d) { - var _result = _meos_c.tdistance_tfloat_float(temp, d); + public static Pointer temporal_restrict_timestamptz(Pointer temp, OffsetDateTime t, boolean atfunc) { + var t_new = t.toEpochSecond(); + var _result = _meos_d.temporal_restrict_timestamptz(temp, t_new, atfunc); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tdistance_tint_int(Pointer temp, int i) { - var _result = _meos_c.tdistance_tint_int(temp, i); + public static Pointer temporal_restrict_tstzset(Pointer temp, Pointer s, boolean atfunc) { + var _result = _meos_d.temporal_restrict_tstzset(temp, s, atfunc); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tdistance_tnumber_tnumber(Pointer temp1, Pointer temp2) { - var _result = _meos_c.tdistance_tnumber_tnumber(temp1, temp2); + public static Pointer temporal_restrict_tstzspan(Pointer temp, Pointer s, boolean atfunc) { + var _result = _meos_d.temporal_restrict_tstzspan(temp, s, atfunc); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static double nad_tboxfloat_tboxfloat(Pointer box1, Pointer box2) { - var _result = _meos_c.nad_tboxfloat_tboxfloat(box1, box2); + public static Pointer temporal_restrict_tstzspanset(Pointer temp, Pointer ss, boolean atfunc) { + var _result = _meos_d.temporal_restrict_tstzspanset(temp, ss, atfunc); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int nad_tboxint_tboxint(Pointer box1, Pointer box2) { - var _result = _meos_c.nad_tboxint_tboxint(box1, box2); + public static Pointer temporal_restrict_value(Pointer temp, Pointer value, boolean atfunc) { + var _result = _meos_d.temporal_restrict_value(temp, value, atfunc); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static double nad_tfloat_float(Pointer temp, double d) { - var _result = _meos_c.nad_tfloat_float(temp, d); + public static Pointer temporal_restrict_values(Pointer temp, Pointer set, boolean atfunc) { + var _result = _meos_d.temporal_restrict_values(temp, set, atfunc); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static double nad_tfloat_tfloat(Pointer temp1, Pointer temp2) { - var _result = _meos_c.nad_tfloat_tfloat(temp1, temp2); + public static Pointer temporal_value_at_timestamptz(Pointer temp, OffsetDateTime t, boolean strict) { + boolean out; + Runtime runtime = Runtime.getSystemRuntime(); + Pointer result = Memory.allocateDirect(runtime, Long.BYTES); + var t_new = t.toEpochSecond(); + out = _meos_d.temporal_value_at_timestamptz(temp, t_new, strict, result); + Pointer new_result = result.getPointer(0); MeosErrorHandler.checkError(); - return _result; + return out ? new_result : null; } @SuppressWarnings("unused") - public static double nad_tfloat_tbox(Pointer temp, Pointer box) { - var _result = _meos_c.nad_tfloat_tbox(temp, box); + public static Pointer tinstant_after_timestamptz(Pointer inst, OffsetDateTime t, boolean strict) { + var t_new = t.toEpochSecond(); + var _result = _meos_d.tinstant_after_timestamptz(inst, t_new, strict); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int nad_tint_int(Pointer temp, int i) { - var _result = _meos_c.nad_tint_int(temp, i); + public static Pointer tinstant_before_timestamptz(Pointer inst, OffsetDateTime t, boolean strict) { + var t_new = t.toEpochSecond(); + var _result = _meos_d.tinstant_before_timestamptz(inst, t_new, strict); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int nad_tint_tbox(Pointer temp, Pointer box) { - var _result = _meos_c.nad_tint_tbox(temp, box); + public static Pointer tinstant_restrict_tstzspan(Pointer inst, Pointer period, boolean atfunc) { + var _result = _meos_d.tinstant_restrict_tstzspan(inst, period, atfunc); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int nad_tint_tint(Pointer temp1, Pointer temp2) { - var _result = _meos_c.nad_tint_tint(temp1, temp2); + public static Pointer tinstant_restrict_tstzspanset(Pointer inst, Pointer ss, boolean atfunc) { + var _result = _meos_d.tinstant_restrict_tstzspanset(inst, ss, atfunc); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tbool_tand_transfn(Pointer state, Pointer temp) { - var _result = _meos_c.tbool_tand_transfn(state, temp); + public static Pointer tinstant_restrict_timestamptz(Pointer inst, OffsetDateTime t, boolean atfunc) { + var t_new = t.toEpochSecond(); + var _result = _meos_d.tinstant_restrict_timestamptz(inst, t_new, atfunc); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tbool_tor_transfn(Pointer state, Pointer temp) { - var _result = _meos_c.tbool_tor_transfn(state, temp); + public static Pointer tinstant_restrict_tstzset(Pointer inst, Pointer s, boolean atfunc) { + var _result = _meos_d.tinstant_restrict_tstzset(inst, s, atfunc); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer temporal_extent_transfn(Pointer s, Pointer temp) { - var _result = _meos_c.temporal_extent_transfn(s, temp); + public static Pointer tinstant_restrict_value(Pointer inst, Pointer value, boolean atfunc) { + var _result = _meos_d.tinstant_restrict_value(inst, value, atfunc); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer temporal_tagg_finalfn(Pointer state) { - var _result = _meos_c.temporal_tagg_finalfn(state); + public static Pointer tinstant_restrict_values(Pointer inst, Pointer set, boolean atfunc) { + var _result = _meos_d.tinstant_restrict_values(inst, set, atfunc); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer temporal_tcount_transfn(Pointer state, Pointer temp) { - var _result = _meos_c.temporal_tcount_transfn(state, temp); + public static Pointer tnumber_restrict_span(Pointer temp, Pointer span, boolean atfunc) { + var _result = _meos_d.tnumber_restrict_span(temp, span, atfunc); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tfloat_tmax_transfn(Pointer state, Pointer temp) { - var _result = _meos_c.tfloat_tmax_transfn(state, temp); + public static Pointer tnumber_restrict_spanset(Pointer temp, Pointer ss, boolean atfunc) { + var _result = _meos_d.tnumber_restrict_spanset(temp, ss, atfunc); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tfloat_tmin_transfn(Pointer state, Pointer temp) { - var _result = _meos_c.tfloat_tmin_transfn(state, temp); + public static Pointer tnumberinst_restrict_span(Pointer inst, Pointer span, boolean atfunc) { + var _result = _meos_d.tnumberinst_restrict_span(inst, span, atfunc); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tfloat_tsum_transfn(Pointer state, Pointer temp) { - var _result = _meos_c.tfloat_tsum_transfn(state, temp); + public static Pointer tnumberinst_restrict_spanset(Pointer inst, Pointer ss, boolean atfunc) { + var _result = _meos_d.tnumberinst_restrict_spanset(inst, ss, atfunc); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tfloat_wmax_transfn(Pointer state, Pointer temp, Pointer interv) { - var _result = _meos_c.tfloat_wmax_transfn(state, temp, interv); + public static Pointer tnumberseqset_restrict_span(Pointer ss, Pointer span, boolean atfunc) { + var _result = _meos_d.tnumberseqset_restrict_span(ss, span, atfunc); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tfloat_wmin_transfn(Pointer state, Pointer temp, Pointer interv) { - var _result = _meos_c.tfloat_wmin_transfn(state, temp, interv); + public static Pointer tnumberseqset_restrict_spanset(Pointer ss, Pointer spanset, boolean atfunc) { + var _result = _meos_d.tnumberseqset_restrict_spanset(ss, spanset, atfunc); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tfloat_wsum_transfn(Pointer state, Pointer temp, Pointer interv) { - var _result = _meos_c.tfloat_wsum_transfn(state, temp, interv); + public static Pointer tsequence_at_timestamptz(Pointer seq, OffsetDateTime t) { + var t_new = t.toEpochSecond(); + var _result = _meos_d.tsequence_at_timestamptz(seq, t_new); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer timestamptz_tcount_transfn(Pointer state, OffsetDateTime t) { - var t_new = t.toEpochSecond(); - var _result = _meos_c.timestamptz_tcount_transfn(state, t_new); + public static Pointer tsequence_restrict_tstzspan(Pointer seq, Pointer s, boolean atfunc) { + var _result = _meos_d.tsequence_restrict_tstzspan(seq, s, atfunc); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tint_tmax_transfn(Pointer state, Pointer temp) { - var _result = _meos_c.tint_tmax_transfn(state, temp); + public static Pointer tsequence_restrict_tstzspanset(Pointer seq, Pointer ss, boolean atfunc) { + var _result = _meos_d.tsequence_restrict_tstzspanset(seq, ss, atfunc); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tint_tmin_transfn(Pointer state, Pointer temp) { - var _result = _meos_c.tint_tmin_transfn(state, temp); + public static Pointer tsequenceset_after_timestamptz(Pointer ss, OffsetDateTime t, boolean strict) { + var t_new = t.toEpochSecond(); + var _result = _meos_d.tsequenceset_after_timestamptz(ss, t_new, strict); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tint_tsum_transfn(Pointer state, Pointer temp) { - var _result = _meos_c.tint_tsum_transfn(state, temp); + public static Pointer tsequenceset_before_timestamptz(Pointer ss, OffsetDateTime t, boolean strict) { + var t_new = t.toEpochSecond(); + var _result = _meos_d.tsequenceset_before_timestamptz(ss, t_new, strict); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tint_wmax_transfn(Pointer state, Pointer temp, Pointer interv) { - var _result = _meos_c.tint_wmax_transfn(state, temp, interv); + public static Pointer tsequenceset_restrict_minmax(Pointer ss, boolean min, boolean atfunc) { + var _result = _meos_d.tsequenceset_restrict_minmax(ss, min, atfunc); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tint_wmin_transfn(Pointer state, Pointer temp, Pointer interv) { - var _result = _meos_c.tint_wmin_transfn(state, temp, interv); + public static Pointer tsequenceset_restrict_tstzspan(Pointer ss, Pointer s, boolean atfunc) { + var _result = _meos_d.tsequenceset_restrict_tstzspan(ss, s, atfunc); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tint_wsum_transfn(Pointer state, Pointer temp, Pointer interv) { - var _result = _meos_c.tint_wsum_transfn(state, temp, interv); + public static Pointer tsequenceset_restrict_tstzspanset(Pointer ss, Pointer ps, boolean atfunc) { + var _result = _meos_d.tsequenceset_restrict_tstzspanset(ss, ps, atfunc); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tnumber_extent_transfn(Pointer box, Pointer temp) { - var _result = _meos_c.tnumber_extent_transfn(box, temp); + public static Pointer tsequenceset_restrict_timestamptz(Pointer ss, OffsetDateTime t, boolean atfunc) { + var t_new = t.toEpochSecond(); + var _result = _meos_d.tsequenceset_restrict_timestamptz(ss, t_new, atfunc); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tnumber_tavg_finalfn(Pointer state) { - var _result = _meos_c.tnumber_tavg_finalfn(state); + public static Pointer tsequenceset_restrict_tstzset(Pointer ss, Pointer s, boolean atfunc) { + var _result = _meos_d.tsequenceset_restrict_tstzset(ss, s, atfunc); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tnumber_tavg_transfn(Pointer state, Pointer temp) { - var _result = _meos_c.tnumber_tavg_transfn(state, temp); + public static Pointer tsequenceset_restrict_value(Pointer ss, Pointer value, boolean atfunc) { + var _result = _meos_d.tsequenceset_restrict_value(ss, value, atfunc); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tnumber_wavg_transfn(Pointer state, Pointer temp, Pointer interv) { - var _result = _meos_c.tnumber_wavg_transfn(state, temp, interv); + public static Pointer tsequenceset_restrict_values(Pointer ss, Pointer s, boolean atfunc) { + var _result = _meos_d.tsequenceset_restrict_values(ss, s, atfunc); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tstzset_tcount_transfn(Pointer state, Pointer s) { - var _result = _meos_c.tstzset_tcount_transfn(state, s); + public static int tinstant_cmp(Pointer inst1, Pointer inst2) { + var _result = _meos_d.tinstant_cmp(inst1, inst2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tstzspan_tcount_transfn(Pointer state, Pointer s) { - var _result = _meos_c.tstzspan_tcount_transfn(state, s); + public static boolean tinstant_eq(Pointer inst1, Pointer inst2) { + var _result = _meos_d.tinstant_eq(inst1, inst2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tstzspanset_tcount_transfn(Pointer state, Pointer ss) { - var _result = _meos_c.tstzspanset_tcount_transfn(state, ss); + public static int tsequence_cmp(Pointer seq1, Pointer seq2) { + var _result = _meos_d.tsequence_cmp(seq1, seq2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer ttext_tmax_transfn(Pointer state, Pointer temp) { - var _result = _meos_c.ttext_tmax_transfn(state, temp); + public static boolean tsequence_eq(Pointer seq1, Pointer seq2) { + var _result = _meos_d.tsequence_eq(seq1, seq2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer ttext_tmin_transfn(Pointer state, Pointer temp) { - var _result = _meos_c.ttext_tmin_transfn(state, temp); + public static int tsequenceset_cmp(Pointer ss1, Pointer ss2) { + var _result = _meos_d.tsequenceset_cmp(ss1, ss2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer temporal_simplify_dp(Pointer temp, double eps_dist, boolean synchronize) { - var _result = _meos_c.temporal_simplify_dp(temp, eps_dist, synchronize); + public static boolean tsequenceset_eq(Pointer ss1, Pointer ss2) { + var _result = _meos_d.tsequenceset_eq(ss1, ss2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer temporal_simplify_max_dist(Pointer temp, double eps_dist, boolean synchronize) { - var _result = _meos_c.temporal_simplify_max_dist(temp, eps_dist, synchronize); + public static int always_eq_base_temporal(Pointer value, Pointer temp) { + var _result = _meos_d.always_eq_base_temporal(value, temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer temporal_simplify_min_dist(Pointer temp, double dist) { - var _result = _meos_c.temporal_simplify_min_dist(temp, dist); + public static int always_eq_temporal_base(Pointer temp, Pointer value) { + var _result = _meos_d.always_eq_temporal_base(temp, value); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer temporal_simplify_min_tdelta(Pointer temp, Pointer mint) { - var _result = _meos_c.temporal_simplify_min_tdelta(temp, mint); + public static int always_ne_base_temporal(Pointer value, Pointer temp) { + var _result = _meos_d.always_ne_base_temporal(value, temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer temporal_tprecision(Pointer temp, Pointer duration, OffsetDateTime origin) { - var origin_new = origin.toEpochSecond(); - var _result = _meos_c.temporal_tprecision(temp, duration, origin_new); + public static int always_ne_temporal_base(Pointer temp, Pointer value) { + var _result = _meos_d.always_ne_temporal_base(temp, value); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer temporal_tsample(Pointer temp, Pointer duration, OffsetDateTime origin, int interp) { - var origin_new = origin.toEpochSecond(); - var _result = _meos_c.temporal_tsample(temp, duration, origin_new, interp); + public static int always_ge_base_temporal(Pointer value, Pointer temp) { + var _result = _meos_d.always_ge_base_temporal(value, temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static double temporal_dyntimewarp_distance(Pointer temp1, Pointer temp2) { - var _result = _meos_c.temporal_dyntimewarp_distance(temp1, temp2); + public static int always_ge_temporal_base(Pointer temp, Pointer value) { + var _result = _meos_d.always_ge_temporal_base(temp, value); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer temporal_dyntimewarp_path(Pointer temp1, Pointer temp2, Pointer count) { - var _result = _meos_c.temporal_dyntimewarp_path(temp1, temp2, count); + public static int always_gt_base_temporal(Pointer value, Pointer temp) { + var _result = _meos_d.always_gt_base_temporal(value, temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static double temporal_frechet_distance(Pointer temp1, Pointer temp2) { - var _result = _meos_c.temporal_frechet_distance(temp1, temp2); + public static int always_gt_temporal_base(Pointer temp, Pointer value) { + var _result = _meos_d.always_gt_temporal_base(temp, value); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer temporal_frechet_path(Pointer temp1, Pointer temp2, Pointer count) { - var _result = _meos_c.temporal_frechet_path(temp1, temp2, count); + public static int always_le_base_temporal(Pointer value, Pointer temp) { + var _result = _meos_d.always_le_base_temporal(value, temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static double temporal_hausdorff_distance(Pointer temp1, Pointer temp2) { - var _result = _meos_c.temporal_hausdorff_distance(temp1, temp2); + public static int always_le_temporal_base(Pointer temp, Pointer value) { + var _result = _meos_d.always_le_temporal_base(temp, value); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer temporal_time_bins(Pointer temp, Pointer duration, OffsetDateTime origin, Pointer count) { - var origin_new = origin.toEpochSecond(); - var _result = _meos_c.temporal_time_bins(temp, duration, origin_new, count); + public static int always_lt_base_temporal(Pointer value, Pointer temp) { + var _result = _meos_d.always_lt_base_temporal(value, temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer temporal_time_split(Pointer temp, Pointer duration, OffsetDateTime torigin, Pointer time_bins, Pointer count) { - var torigin_new = torigin.toEpochSecond(); - var _result = _meos_c.temporal_time_split(temp, duration, torigin_new, time_bins, count); + public static int always_lt_temporal_base(Pointer temp, Pointer value) { + var _result = _meos_d.always_lt_temporal_base(temp, value); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tfloat_time_boxes(Pointer temp, Pointer duration, OffsetDateTime torigin, Pointer count) { - var torigin_new = torigin.toEpochSecond(); - var _result = _meos_c.tfloat_time_boxes(temp, duration, torigin_new, count); + public static int ever_eq_base_temporal(Pointer value, Pointer temp) { + var _result = _meos_d.ever_eq_base_temporal(value, temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tfloat_value_bins(Pointer temp, double vsize, double vorigin, Pointer count) { - var _result = _meos_c.tfloat_value_bins(temp, vsize, vorigin, count); + public static int ever_eq_temporal_base(Pointer temp, Pointer value) { + var _result = _meos_d.ever_eq_temporal_base(temp, value); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tfloat_value_boxes(Pointer temp, double vsize, double vorigin, Pointer count) { - var _result = _meos_c.tfloat_value_boxes(temp, vsize, vorigin, count); + public static int ever_ne_base_temporal(Pointer value, Pointer temp) { + var _result = _meos_d.ever_ne_base_temporal(value, temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tfloat_value_split(Pointer temp, double size, double origin, Pointer bins, Pointer count) { - var _result = _meos_c.tfloat_value_split(temp, size, origin, bins, count); + public static int ever_ne_temporal_base(Pointer temp, Pointer value) { + var _result = _meos_d.ever_ne_temporal_base(temp, value); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tfloat_value_time_boxes(Pointer temp, double vsize, Pointer duration, double vorigin, OffsetDateTime torigin, Pointer count) { - var torigin_new = torigin.toEpochSecond(); - var _result = _meos_c.tfloat_value_time_boxes(temp, vsize, duration, vorigin, torigin_new, count); + public static int ever_ge_base_temporal(Pointer value, Pointer temp) { + var _result = _meos_d.ever_ge_base_temporal(value, temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tfloat_value_time_split(Pointer temp, double vsize, Pointer duration, double vorigin, OffsetDateTime torigin, Pointer value_bins, Pointer time_bins, Pointer count) { - var torigin_new = torigin.toEpochSecond(); - var _result = _meos_c.tfloat_value_time_split(temp, vsize, duration, vorigin, torigin_new, value_bins, time_bins, count); + public static int ever_ge_temporal_base(Pointer temp, Pointer value) { + var _result = _meos_d.ever_ge_temporal_base(temp, value); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tfloatbox_time_tiles(Pointer box, Pointer duration, OffsetDateTime torigin, Pointer count) { - var torigin_new = torigin.toEpochSecond(); - var _result = _meos_c.tfloatbox_time_tiles(box, duration, torigin_new, count); + public static int ever_gt_base_temporal(Pointer value, Pointer temp) { + var _result = _meos_d.ever_gt_base_temporal(value, temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tfloatbox_value_tiles(Pointer box, double vsize, double vorigin, Pointer count) { - var _result = _meos_c.tfloatbox_value_tiles(box, vsize, vorigin, count); + public static int ever_gt_temporal_base(Pointer temp, Pointer value) { + var _result = _meos_d.ever_gt_temporal_base(temp, value); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tfloatbox_value_time_tiles(Pointer box, double vsize, Pointer duration, double vorigin, OffsetDateTime torigin, Pointer count) { - var torigin_new = torigin.toEpochSecond(); - var _result = _meos_c.tfloatbox_value_time_tiles(box, vsize, duration, vorigin, torigin_new, count); + public static int ever_le_base_temporal(Pointer value, Pointer temp) { + var _result = _meos_d.ever_le_base_temporal(value, temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tint_time_boxes(Pointer temp, Pointer duration, OffsetDateTime torigin, Pointer count) { - var torigin_new = torigin.toEpochSecond(); - var _result = _meos_c.tint_time_boxes(temp, duration, torigin_new, count); + public static int ever_le_temporal_base(Pointer temp, Pointer value) { + var _result = _meos_d.ever_le_temporal_base(temp, value); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tint_value_bins(Pointer temp, int vsize, int vorigin, Pointer count) { - var _result = _meos_c.tint_value_bins(temp, vsize, vorigin, count); + public static int ever_lt_base_temporal(Pointer value, Pointer temp) { + var _result = _meos_d.ever_lt_base_temporal(value, temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tint_value_boxes(Pointer temp, int vsize, int vorigin, Pointer count) { - var _result = _meos_c.tint_value_boxes(temp, vsize, vorigin, count); + public static int ever_lt_temporal_base(Pointer temp, Pointer value) { + var _result = _meos_d.ever_lt_temporal_base(temp, value); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tint_value_split(Pointer temp, int vsize, int vorigin, Pointer bins, Pointer count) { - var _result = _meos_c.tint_value_split(temp, vsize, vorigin, bins, count); + public static Pointer tnumberinst_abs(Pointer inst) { + var _result = _meos_d.tnumberinst_abs(inst); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tint_value_time_boxes(Pointer temp, int vsize, Pointer duration, int vorigin, OffsetDateTime torigin, Pointer count) { - var torigin_new = torigin.toEpochSecond(); - var _result = _meos_c.tint_value_time_boxes(temp, vsize, duration, vorigin, torigin_new, count); + public static Pointer tnumberseq_abs(Pointer seq) { + var _result = _meos_d.tnumberseq_abs(seq); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tint_value_time_split(Pointer temp, long size, Pointer duration, int vorigin, OffsetDateTime torigin, Pointer value_bins, Pointer time_bins, Pointer count) { - var torigin_new = torigin.toEpochSecond(); - var _result = _meos_c.tint_value_time_split(temp, size, duration, vorigin, torigin_new, value_bins, time_bins, count); + public static Pointer tnumberseq_angular_difference(Pointer seq) { + var _result = _meos_d.tnumberseq_angular_difference(seq); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tintbox_time_tiles(Pointer box, Pointer duration, OffsetDateTime torigin, Pointer count) { - var torigin_new = torigin.toEpochSecond(); - var _result = _meos_d.tintbox_time_tiles(box, duration, torigin_new, count); + public static Pointer tnumberseq_delta_value(Pointer seq) { + var _result = _meos_d.tnumberseq_delta_value(seq); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tintbox_value_tiles(Pointer box, int xsize, int xorigin, Pointer count) { - var _result = _meos_d.tintbox_value_tiles(box, xsize, xorigin, count); + public static Pointer tnumberseqset_abs(Pointer ss) { + var _result = _meos_d.tnumberseqset_abs(ss); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tintbox_value_time_tiles(Pointer box, int xsize, Pointer duration, int xorigin, OffsetDateTime torigin, Pointer count) { - var torigin_new = torigin.toEpochSecond(); - var _result = _meos_d.tintbox_value_time_tiles(box, xsize, duration, xorigin, torigin_new, count); + public static Pointer tnumberseqset_angular_difference(Pointer ss) { + var _result = _meos_d.tnumberseqset_angular_difference(ss); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer geo_as_ewkb(Pointer gs, String endian, Pointer size) { - var _result = _meos_d.geo_as_ewkb(gs, endian, size); + public static Pointer tnumberseqset_delta_value(Pointer ss) { + var _result = _meos_d.tnumberseqset_delta_value(ss); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static String geo_as_ewkt(Pointer gs, int precision) { - var _result = _meos_d.geo_as_ewkt(gs, precision); + public static double distance_span_span_double(Pointer s1, Pointer s2) { + var _result = _meos_d.distance_span_span_double(s1, s2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static String geo_as_geojson(Pointer gs, int option, int precision, String srs) { - var _result = _meos_d.geo_as_geojson(gs, option, precision, srs); + public static double nad_tbox_tbox(Pointer box1, Pointer box2) { + var _result = _meos_d.nad_tbox_tbox(box1, box2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static String geo_as_hexewkb(Pointer gs, String endian) { - var _result = _meos_d.geo_as_hexewkb(gs, endian); + public static double nad_tnumber_number(Pointer temp, Pointer value) { + var _result = _meos_d.nad_tnumber_number(temp, value); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static String geo_as_text(Pointer gs, int precision) { - var _result = _meos_d.geo_as_text(gs, precision); + public static double nad_tnumber_tbox(Pointer temp, Pointer box) { + var _result = _meos_d.nad_tnumber_tbox(temp, box); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer geo_from_ewkb(Pointer wkb, long wkb_size, int srid) { - var _result = _meos_d.geo_from_ewkb(wkb, wkb_size, srid); + public static double nad_tnumber_tnumber(Pointer temp1, Pointer temp2) { + var _result = _meos_d.nad_tnumber_tnumber(temp1, temp2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer geo_from_geojson(String geojson) { - var _result = _meos_d.geo_from_geojson(geojson); + public static Pointer tdistance_tnumber_number(Pointer temp, Pointer value) { + var _result = _meos_d.tdistance_tnumber_number(temp, value); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer geo_from_text(String wkt, int srid) { - var _result = _meos_d.geo_from_text(wkt, srid); + public static double tnumberinst_distance(Pointer inst1, Pointer inst2) { + var _result = _meos_d.tnumberinst_distance(inst1, inst2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static String geo_out(Pointer gs) { - var _result = _meos_d.geo_out(gs); + public static double tnumberseq_integral(Pointer seq) { + var _result = _meos_d.tnumberseq_integral(seq); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer geog_from_binary(String wkb_bytea) { - var _result = _meos_d.geog_from_binary(wkb_bytea); + public static double tnumberseq_twavg(Pointer seq) { + var _result = _meos_d.tnumberseq_twavg(seq); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer geog_from_hexewkb(String wkt) { - var _result = _meos_d.geog_from_hexewkb(wkt); + public static double tnumberseqset_integral(Pointer ss) { + var _result = _meos_d.tnumberseqset_integral(ss); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer geog_in(String str, int typmod) { - var _result = _meos_d.geog_in(str, typmod); + public static double tnumberseqset_twavg(Pointer ss) { + var _result = _meos_d.tnumberseqset_twavg(ss); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer geom_from_hexewkb(String wkt) { - var _result = _meos_d.geom_from_hexewkb(wkt); + public static Pointer temporal_compact(Pointer temp) { + var _result = _meos_d.temporal_compact(temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer geom_in(String str, int typmod) { - var _result = _meos_d.geom_in(str, typmod); + public static Pointer tsequence_compact(Pointer seq) { + var _result = _meos_d.tsequence_compact(seq); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer box3d_make(double xmin, double xmax, double ymin, double ymax, double zmin, double zmax, int srid) { - var _result = _meos_d.box3d_make(xmin, xmax, ymin, ymax, zmin, zmax, srid); + public static Pointer tsequenceset_compact(Pointer ss) { + var _result = _meos_d.tsequenceset_compact(ss); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static String box3d_out(Pointer box, int maxdd) { - var _result = _meos_d.box3d_out(box, maxdd); + public static Pointer temporal_skiplist_make() { + var _result = _meos_d.temporal_skiplist_make(); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer gbox_make(boolean hasz, double xmin, double xmax, double ymin, double ymax, double zmin, double zmax) { - var _result = _meos_d.gbox_make(hasz, xmin, xmax, ymin, ymax, zmin, zmax); + public static Pointer skiplist_make(long key_size, long value_size, Pointer comp_fn, Pointer merge_fn) { + var _result = _meos_d.skiplist_make(key_size, value_size, comp_fn, merge_fn); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static String gbox_out(Pointer box, int maxdd) { - var _result = _meos_d.gbox_out(box, maxdd); + public static int skiplist_search(Pointer list, Pointer key, Pointer value) { + var _result = _meos_d.skiplist_search(list, key, value); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer geo_copy(Pointer g) { - var _result = _meos_d.geo_copy(g); + public static void skiplist_free(Pointer list) { + _meos_d.skiplist_free(list); MeosErrorHandler.checkError(); - return _result; } @SuppressWarnings("unused") - public static Pointer geogpoint_make2d(int srid, double x, double y) { - var _result = _meos_d.geogpoint_make2d(srid, x, y); + public static void skiplist_splice(Pointer list, Pointer keys, Pointer values, int count, Pointer func, boolean crossings, int sktype) { + _meos_d.skiplist_splice(list, keys, values, count, func, crossings, sktype); MeosErrorHandler.checkError(); - return _result; } @SuppressWarnings("unused") - public static Pointer geogpoint_make3dz(int srid, double x, double y, double z) { - var _result = _meos_d.geogpoint_make3dz(srid, x, y, z); + public static void temporal_skiplist_splice(Pointer list, Pointer values, int count, Pointer func, boolean crossings) { + _meos_d.temporal_skiplist_splice(list, values, count, func, crossings); MeosErrorHandler.checkError(); - return _result; } @SuppressWarnings("unused") - public static Pointer geompoint_make2d(int srid, double x, double y) { - var _result = _meos_d.geompoint_make2d(srid, x, y); + public static Pointer skiplist_values(Pointer list) { + var _result = _meos_d.skiplist_values(list); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer geompoint_make3dz(int srid, double x, double y, double z) { - var _result = _meos_d.geompoint_make3dz(srid, x, y, z); + public static Pointer skiplist_keys_values(Pointer list, Pointer values) { + var _result = _meos_d.skiplist_keys_values(list, values); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer geom_to_geog(Pointer geom) { - var _result = _meos_d.geom_to_geog(geom); + public static Pointer temporal_app_tinst_transfn(Pointer state, Pointer inst, int interp, double maxdist, Pointer maxt) { + var _result = _meos_d.temporal_app_tinst_transfn(state, inst, interp, maxdist, maxt); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer geog_to_geom(Pointer geog) { - var _result = _meos_d.geog_to_geom(geog); + public static Pointer temporal_app_tseq_transfn(Pointer state, Pointer seq) { + var _result = _meos_d.temporal_app_tseq_transfn(state, seq); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean geo_is_empty(Pointer g) { - var _result = _meos_d.geo_is_empty(g); + public static Pointer span_bins(Pointer s, Pointer size, Pointer origin, Pointer count) { + var _result = _meos_d.span_bins(s, size, origin, count); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean geo_is_unitary(Pointer gs) { - var _result = _meos_d.geo_is_unitary(gs); + public static Pointer spanset_bins(Pointer ss, Pointer size, Pointer origin, Pointer count) { + var _result = _meos_d.spanset_bins(ss, size, origin, count); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static String geo_typename(int type) { - var _result = _meos_d.geo_typename(type); + public static Pointer tnumber_value_bins(Pointer temp, Pointer size, Pointer origin, Pointer count) { + var _result = _meos_d.tnumber_value_bins(temp, size, origin, count); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static double geog_area(Pointer g, boolean use_spheroid) { - var _result = _meos_d.geog_area(g, use_spheroid); + public static Pointer tnumber_value_time_boxes(Pointer temp, Pointer vsize, Pointer duration, Pointer vorigin, OffsetDateTime torigin, Pointer count) { + var torigin_new = torigin.toEpochSecond(); + var _result = _meos_d.tnumber_value_time_boxes(temp, vsize, duration, vorigin, torigin_new, count); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer geog_centroid(Pointer g, boolean use_spheroid) { - var _result = _meos_d.geog_centroid(g, use_spheroid); + public static Pointer tnumber_value_split(Pointer temp, Pointer vsize, Pointer vorigin, Pointer bins, Pointer count) { + var _result = _meos_d.tnumber_value_split(temp, vsize, vorigin, bins, count); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static double geog_length(Pointer g, boolean use_spheroid) { - var _result = _meos_d.geog_length(g, use_spheroid); + public static Pointer tbox_get_value_time_tile(Pointer value, OffsetDateTime t, Pointer vsize, Pointer duration, Pointer vorigin, OffsetDateTime torigin, int basetype, int spantype) { + var t_new = t.toEpochSecond(); + var torigin_new = torigin.toEpochSecond(); + var _result = _meos_d.tbox_get_value_time_tile(value, t_new, vsize, duration, vorigin, torigin_new, basetype, spantype); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static double geog_perimeter(Pointer g, boolean use_spheroid) { - var _result = _meos_d.geog_perimeter(g, use_spheroid); + public static Pointer tnumber_value_time_split(Pointer temp, Pointer size, Pointer duration, Pointer vorigin, OffsetDateTime torigin, Pointer value_bins, Pointer time_bins, Pointer count) { + var torigin_new = torigin.toEpochSecond(); + var _result = _meos_d.tnumber_value_time_split(temp, size, duration, vorigin, torigin_new, value_bins, time_bins, count); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer geom_azimuth(Pointer gs1, Pointer gs2) { - boolean out; - Runtime runtime = Runtime.getSystemRuntime(); - Pointer result = Memory.allocateDirect(runtime, Double.BYTES); - out = _meos_d.geom_azimuth(gs1, gs2, result); + public static Pointer proj_get_context() { + var _result = _meos_d.proj_get_context(); MeosErrorHandler.checkError(); - return out ? result : null; + return _result; } @SuppressWarnings("unused") - public static double geom_length(Pointer gs) { - var _result = _meos_d.geom_length(gs); + public static int datum_geo_round(Pointer value, Pointer size) { + var _result = _meos_d.datum_geo_round(value, size); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static double geom_perimeter(Pointer gs) { - var _result = _meos_d.geom_perimeter(gs); + public static Pointer point_round(Pointer gs, int maxdd) { + var _result = _meos_d.point_round(gs, maxdd); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int line_numpoints(Pointer gs) { - var _result = _meos_d.line_numpoints(gs); + public static void stbox_set(boolean hasx, boolean hasz, boolean geodetic, int srid, double xmin, double xmax, double ymin, double ymax, double zmin, double zmax, Pointer s, Pointer box) { + _meos_d.stbox_set(hasx, hasz, geodetic, srid, xmin, xmax, ymin, ymax, zmin, zmax, s, box); MeosErrorHandler.checkError(); - return _result; } @SuppressWarnings("unused") - public static Pointer line_point_n(Pointer geom, int n) { - var _result = _meos_d.line_point_n(geom, n); + public static void gbox_set_stbox(Pointer box, int srid, Pointer result) { + _meos_d.gbox_set_stbox(box, srid, result); MeosErrorHandler.checkError(); - return _result; } @SuppressWarnings("unused") - public static Pointer geo_reverse(Pointer gs) { - var _result = _meos_d.geo_reverse(gs); + public static boolean geo_set_stbox(Pointer gs, Pointer box) { + var _result = _meos_d.geo_set_stbox(gs, box); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer geo_round(Pointer gs, int maxdd) { - var _result = _meos_d.geo_round(gs, maxdd); + public static void geoarr_set_stbox(Pointer values, int count, Pointer box) { + _meos_d.geoarr_set_stbox(values, count, box); MeosErrorHandler.checkError(); - return _result; } @SuppressWarnings("unused") - public static Pointer geo_set_srid(Pointer gs, int srid) { - var _result = _meos_d.geo_set_srid(gs, srid); + public static boolean spatial_set_stbox(Pointer d, int basetype, Pointer box) { + var _result = _meos_d.spatial_set_stbox(d, basetype, box); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int geo_srid(Pointer gs) { - var _result = _meos_d.geo_srid(gs); + public static void spatialset_set_stbox(Pointer set, Pointer box) { + _meos_d.spatialset_set_stbox(set, box); MeosErrorHandler.checkError(); - return _result; } @SuppressWarnings("unused") - public static Pointer geo_transform(Pointer geom, int srid_to) { - var _result = _meos_d.geo_transform(geom, srid_to); + public static void stbox_set_box3d(Pointer box, Pointer box3d) { + _meos_d.stbox_set_box3d(box, box3d); MeosErrorHandler.checkError(); - return _result; } @SuppressWarnings("unused") - public static Pointer geo_transform_pipeline(Pointer gs, String pipeline, int srid_to, boolean is_forward) { - var _result = _meos_d.geo_transform_pipeline(gs, pipeline, srid_to, is_forward); + public static void stbox_set_gbox(Pointer box, Pointer gbox) { + _meos_d.stbox_set_gbox(box, gbox); MeosErrorHandler.checkError(); - return _result; } @SuppressWarnings("unused") - public static Pointer geo_collect_garray(Pointer gsarr, int count) { - var _result = _meos_d.geo_collect_garray(gsarr, count); + public static void tstzset_set_stbox(Pointer s, Pointer box) { + _meos_d.tstzset_set_stbox(s, box); MeosErrorHandler.checkError(); - return _result; } @SuppressWarnings("unused") - public static Pointer geo_makeline_garray(Pointer gsarr, int count) { - var _result = _meos_d.geo_makeline_garray(gsarr, count); + public static void tstzspan_set_stbox(Pointer s, Pointer box) { + _meos_d.tstzspan_set_stbox(s, box); MeosErrorHandler.checkError(); - return _result; } @SuppressWarnings("unused") - public static int geo_num_points(Pointer gs) { - var _result = _meos_d.geo_num_points(gs); + public static void tstzspanset_set_stbox(Pointer s, Pointer box) { + _meos_d.tstzspanset_set_stbox(s, box); MeosErrorHandler.checkError(); - return _result; } @SuppressWarnings("unused") - public static int geo_num_geos(Pointer gs) { - var _result = _meos_d.geo_num_geos(gs); + public static void stbox_expand(Pointer box1, Pointer box2) { + _meos_d.stbox_expand(box1, box2); MeosErrorHandler.checkError(); - return _result; } @SuppressWarnings("unused") - public static Pointer geo_geo_n(Pointer geom, int n) { - var _result = _meos_d.geo_geo_n(geom, n); + public static Pointer inter_stbox_stbox(Pointer box1, Pointer box2) { + boolean out; + Runtime runtime = Runtime.getSystemRuntime(); + Pointer result = Memory.allocateDirect(runtime, Long.BYTES); + out = _meos_d.inter_stbox_stbox(box1, box2, result); + Pointer new_result = result.getPointer(0); MeosErrorHandler.checkError(); - return _result; + return out ? new_result : null; } @SuppressWarnings("unused") - public static Pointer geo_pointarr(Pointer gs, Pointer count) { - var _result = _meos_d.geo_pointarr(gs, count); + public static Pointer stbox_geo(Pointer box) { + var _result = _meos_d.stbox_geo(box); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer geo_points(Pointer gs) { - var _result = _meos_d.geo_points(gs); + public static Pointer tgeogpointinst_from_mfjson(Pointer mfjson, int srid) { + var _result = _meos_d.tgeogpointinst_from_mfjson(mfjson, srid); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer geom_array_union(Pointer gsarr, int count) { - var _result = _meos_d.geom_array_union(gsarr, count); + public static Pointer tgeogpointinst_in(String str) { + var _result = _meos_d.tgeogpointinst_in(str); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer geom_boundary(Pointer gs) { - var _result = _meos_d.geom_boundary(gs); + public static Pointer tgeogpointseq_from_mfjson(Pointer mfjson, int srid, int interp) { + var _result = _meos_d.tgeogpointseq_from_mfjson(mfjson, srid, interp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer geom_buffer(Pointer gs, double size, String params) { - var _result = _meos_d.geom_buffer(gs, size, params); + public static Pointer tgeogpointseq_in(String str, int interp) { + var _result = _meos_d.tgeogpointseq_in(str, interp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer geom_centroid(Pointer gs) { - var _result = _meos_d.geom_centroid(gs); + public static Pointer tgeogpointseqset_from_mfjson(Pointer mfjson, int srid, int interp) { + var _result = _meos_d.tgeogpointseqset_from_mfjson(mfjson, srid, interp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer geom_convex_hull(Pointer gs) { - var _result = _meos_d.geom_convex_hull(gs); + public static Pointer tgeogpointseqset_in(String str) { + var _result = _meos_d.tgeogpointseqset_in(str); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer geom_difference2d(Pointer gs1, Pointer gs2) { - var _result = _meos_d.geom_difference2d(gs1, gs2); + public static Pointer tgeompointinst_from_mfjson(Pointer mfjson, int srid) { + var _result = _meos_d.tgeompointinst_from_mfjson(mfjson, srid); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer geom_intersection2d(Pointer gs1, Pointer gs2) { - var _result = _meos_d.geom_intersection2d(gs1, gs2); + public static Pointer tgeompointinst_in(String str) { + var _result = _meos_d.tgeompointinst_in(str); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer geom_intersection2d_coll(Pointer gs1, Pointer gs2) { - var _result = _meos_d.geom_intersection2d_coll(gs1, gs2); + public static Pointer tgeompointseq_from_mfjson(Pointer mfjson, int srid, int interp) { + var _result = _meos_d.tgeompointseq_from_mfjson(mfjson, srid, interp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer geom_min_bounding_radius(Pointer geom, Pointer radius) { - var _result = _meos_d.geom_min_bounding_radius(geom, radius); + public static Pointer tgeompointseq_in(String str, int interp) { + var _result = _meos_d.tgeompointseq_in(str, interp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer geom_shortestline2d(Pointer gs1, Pointer s2) { - var _result = _meos_d.geom_shortestline2d(gs1, s2); + public static Pointer tgeompointseqset_from_mfjson(Pointer mfjson, int srid, int interp) { + var _result = _meos_d.tgeompointseqset_from_mfjson(mfjson, srid, interp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer geom_shortestline3d(Pointer gs1, Pointer s2) { - var _result = _meos_d.geom_shortestline3d(gs1, s2); + public static Pointer tgeompointseqset_in(String str) { + var _result = _meos_d.tgeompointseqset_in(str); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer geom_unary_union(Pointer gs, double prec) { - var _result = _meos_d.geom_unary_union(gs, prec); + public static Pointer tgeographyinst_from_mfjson(Pointer mfjson, int srid) { + var _result = _meos_d.tgeographyinst_from_mfjson(mfjson, srid); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer line_interpolate_point(Pointer gs, double distance_fraction, boolean repeat) { - var _result = _meos_d.line_interpolate_point(gs, distance_fraction, repeat); + public static Pointer tgeographyinst_in(String str) { + var _result = _meos_d.tgeographyinst_in(str); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static double line_locate_point(Pointer gs1, Pointer gs2) { - var _result = _meos_d.line_locate_point(gs1, gs2); + public static Pointer tgeographyseq_from_mfjson(Pointer mfjson, int srid, int interp) { + var _result = _meos_d.tgeographyseq_from_mfjson(mfjson, srid, interp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer line_substring(Pointer gs, double from, double to) { - var _result = _meos_d.line_substring(gs, from, to); + public static Pointer tgeographyseq_in(String str, int interp) { + var _result = _meos_d.tgeographyseq_in(str, interp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean geog_dwithin(Pointer g1, Pointer g2, double tolerance, boolean use_spheroid) { - var _result = _meos_d.geog_dwithin(g1, g2, tolerance, use_spheroid); + public static Pointer tgeographyseqset_from_mfjson(Pointer mfjson, int srid, int interp) { + var _result = _meos_d.tgeographyseqset_from_mfjson(mfjson, srid, interp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean geog_intersects(Pointer gs1, Pointer gs2, boolean use_spheroid) { - var _result = _meos_d.geog_intersects(gs1, gs2, use_spheroid); + public static Pointer tgeographyseqset_in(String str) { + var _result = _meos_d.tgeographyseqset_in(str); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean geom_contains(Pointer gs1, Pointer gs2) { - var _result = _meos_d.geom_contains(gs1, gs2); + public static Pointer tgeometryinst_from_mfjson(Pointer mfjson, int srid) { + var _result = _meos_d.tgeometryinst_from_mfjson(mfjson, srid); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean geom_covers(Pointer gs1, Pointer gs2) { - var _result = _meos_d.geom_covers(gs1, gs2); + public static Pointer tgeometryinst_in(String str) { + var _result = _meos_d.tgeometryinst_in(str); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean geom_disjoint2d(Pointer gs1, Pointer gs2) { - var _result = _meos_d.geom_disjoint2d(gs1, gs2); + public static Pointer tgeometryseq_from_mfjson(Pointer mfjson, int srid, int interp) { + var _result = _meos_d.tgeometryseq_from_mfjson(mfjson, srid, interp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean geom_dwithin2d(Pointer gs1, Pointer gs2, double tolerance) { - var _result = _meos_d.geom_dwithin2d(gs1, gs2, tolerance); + public static Pointer tgeometryseq_in(String str, int interp) { + var _result = _meos_d.tgeometryseq_in(str, interp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean geom_dwithin3d(Pointer gs1, Pointer gs2, double tolerance) { - var _result = _meos_d.geom_dwithin3d(gs1, gs2, tolerance); + public static Pointer tgeometryseqset_from_mfjson(Pointer mfjson, int srid, int interp) { + var _result = _meos_d.tgeometryseqset_from_mfjson(mfjson, srid, interp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean geom_intersects2d(Pointer gs1, Pointer gs2) { - var _result = _meos_d.geom_intersects2d(gs1, gs2); + public static Pointer tgeometryseqset_in(String str) { + var _result = _meos_d.tgeometryseqset_in(str); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean geom_intersects3d(Pointer gs1, Pointer gs2) { - var _result = _meos_d.geom_intersects3d(gs1, gs2); + public static void tspatial_set_stbox(Pointer temp, Pointer box) { + _meos_d.tspatial_set_stbox(temp, box); MeosErrorHandler.checkError(); - return _result; } @SuppressWarnings("unused") - public static boolean geom_relate_pattern(Pointer gs1, Pointer gs2, String patt) { - var _result = _meos_d.geom_relate_pattern(gs1, gs2, patt); + public static void tgeoinst_set_stbox(Pointer inst, Pointer box) { + _meos_d.tgeoinst_set_stbox(inst, box); MeosErrorHandler.checkError(); - return _result; } @SuppressWarnings("unused") - public static boolean geom_touches(Pointer gs1, Pointer gs2) { - var _result = _meos_d.geom_touches(gs1, gs2); + public static void tspatialseq_set_stbox(Pointer seq, Pointer box) { + _meos_d.tspatialseq_set_stbox(seq, box); MeosErrorHandler.checkError(); - return _result; } @SuppressWarnings("unused") - public static Pointer geo_stboxes(Pointer gs, Pointer count) { - var _result = _meos_d.geo_stboxes(gs, count); + public static void tspatialseqset_set_stbox(Pointer ss, Pointer box) { + _meos_d.tspatialseqset_set_stbox(ss, box); MeosErrorHandler.checkError(); - return _result; } @SuppressWarnings("unused") - public static Pointer geo_split_each_n_stboxes(Pointer gs, int elem_count, Pointer count) { - var _result = _meos_d.geo_split_each_n_stboxes(gs, elem_count, count); + public static Pointer tgeo_restrict_elevation(Pointer temp, Pointer s, boolean atfunc) { + var _result = _meos_d.tgeo_restrict_elevation(temp, s, atfunc); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer geo_split_n_stboxes(Pointer gs, int box_count, Pointer count) { - var _result = _meos_d.geo_split_n_stboxes(gs, box_count, count); + public static Pointer tgeo_restrict_geom(Pointer temp, Pointer gs, boolean atfunc) { + var _result = _meos_d.tgeo_restrict_geom(temp, gs, atfunc); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static double geog_distance(Pointer g1, Pointer g2) { - var _result = _meos_d.geog_distance(g1, g2); + public static Pointer tgeo_restrict_stbox(Pointer temp, Pointer box, boolean border_inc, boolean atfunc) { + var _result = _meos_d.tgeo_restrict_stbox(temp, box, border_inc, atfunc); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static double geom_distance2d(Pointer gs1, Pointer gs2) { - var _result = _meos_d.geom_distance2d(gs1, gs2); + public static Pointer tgeoinst_restrict_geom(Pointer inst, Pointer gs, boolean atfunc) { + var _result = _meos_d.tgeoinst_restrict_geom(inst, gs, atfunc); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static double geom_distance3d(Pointer gs1, Pointer gs2) { - var _result = _meos_d.geom_distance3d(gs1, gs2); + public static Pointer tgeoinst_restrict_stbox(Pointer inst, Pointer box, boolean border_inc, boolean atfunc) { + var _result = _meos_d.tgeoinst_restrict_stbox(inst, box, border_inc, atfunc); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int geo_equals(Pointer gs1, Pointer gs2) { - var _result = _meos_d.geo_equals(gs1, gs2); + public static Pointer tgeoseq_restrict_geom(Pointer seq, Pointer gs, boolean atfunc) { + var _result = _meos_d.tgeoseq_restrict_geom(seq, gs, atfunc); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean geo_same(Pointer gs1, Pointer gs2) { - var _result = _meos_d.geo_same(gs1, gs2); + public static Pointer tgeoseq_restrict_stbox(Pointer seq, Pointer box, boolean border_inc, boolean atfunc) { + var _result = _meos_d.tgeoseq_restrict_stbox(seq, box, border_inc, atfunc); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer geogset_in(String str) { - var _result = _meos_d.geogset_in(str); + public static Pointer tgeoseqset_restrict_geom(Pointer ss, Pointer gs, boolean atfunc) { + var _result = _meos_d.tgeoseqset_restrict_geom(ss, gs, atfunc); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer geomset_in(String str) { - var _result = _meos_d.geomset_in(str); + public static Pointer tgeoseqset_restrict_stbox(Pointer ss, Pointer box, boolean border_inc, boolean atfunc) { + var _result = _meos_d.tgeoseqset_restrict_stbox(ss, box, border_inc, atfunc); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static String spatialset_as_text(Pointer set, int maxdd) { - var _result = _meos_d.spatialset_as_text(set, maxdd); + public static int spatial_srid(Pointer d, int basetype) { + var _result = _meos_d.spatial_srid(d, basetype); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static String spatialset_as_ewkt(Pointer set, int maxdd) { - var _result = _meos_d.spatialset_as_ewkt(set, maxdd); + public static boolean spatial_set_srid(Pointer d, int basetype, int srid) { + var _result = _meos_d.spatial_set_srid(d, basetype, srid); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer geoset_make(Pointer values, int count) { - var _result = _meos_d.geoset_make(values, count); + public static int tspatialinst_srid(Pointer inst) { + var _result = _meos_d.tspatialinst_srid(inst); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer geo_to_set(Pointer gs) { - var _result = _meos_d.geo_to_set(gs); + public static Pointer tpointseq_azimuth(Pointer seq) { + var _result = _meos_d.tpointseq_azimuth(seq); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer geoset_end_value(Pointer s) { - var _result = _meos_d.geoset_end_value(s); + public static Pointer tpointseq_cumulative_length(Pointer seq, double prevlength) { + var _result = _meos_d.tpointseq_cumulative_length(seq, prevlength); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer geoset_start_value(Pointer s) { - var _result = _meos_d.geoset_start_value(s); + public static boolean tpointseq_is_simple(Pointer seq) { + var _result = _meos_d.tpointseq_is_simple(seq); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer geoset_value_n(Pointer s, int n) { - boolean out; - Runtime runtime = Runtime.getSystemRuntime(); - Pointer result = Memory.allocateDirect(runtime, Long.BYTES); - out = _meos_d.geoset_value_n(s, n, result); - Pointer new_result = result.getPointer(0); + public static double tpointseq_length(Pointer seq) { + var _result = _meos_d.tpointseq_length(seq); MeosErrorHandler.checkError(); - return out ? new_result : null; + return _result; } @SuppressWarnings("unused") - public static Pointer geoset_values(Pointer s) { - var _result = _meos_d.geoset_values(s); + public static Pointer tpointseq_linear_trajectory(Pointer seq, boolean unary_union) { + var _result = _meos_d.tpointseq_linear_trajectory(seq, unary_union); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean contained_geo_set(Pointer gs, Pointer s) { - var _result = _meos_d.contained_geo_set(gs, s); + public static Pointer tgeoseq_stboxes(Pointer seq, Pointer count) { + var _result = _meos_d.tgeoseq_stboxes(seq, count); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean contains_set_geo(Pointer s, Pointer gs) { - var _result = _meos_d.contains_set_geo(s, gs); + public static Pointer tgeoseq_split_n_stboxes(Pointer seq, int max_count, Pointer count) { + var _result = _meos_d.tgeoseq_split_n_stboxes(seq, max_count, count); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer geo_union_transfn(Pointer state, Pointer gs) { - var _result = _meos_d.geo_union_transfn(state, gs); + public static Pointer tpointseqset_azimuth(Pointer ss) { + var _result = _meos_d.tpointseqset_azimuth(ss); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer intersection_geo_set(Pointer gs, Pointer s) { - var _result = _meos_d.intersection_geo_set(gs, s); + public static Pointer tpointseqset_cumulative_length(Pointer ss) { + var _result = _meos_d.tpointseqset_cumulative_length(ss); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer intersection_set_geo(Pointer s, Pointer gs) { - var _result = _meos_d.intersection_set_geo(s, gs); + public static boolean tpointseqset_is_simple(Pointer ss) { + var _result = _meos_d.tpointseqset_is_simple(ss); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer minus_geo_set(Pointer gs, Pointer s) { - var _result = _meos_d.minus_geo_set(gs, s); + public static double tpointseqset_length(Pointer ss) { + var _result = _meos_d.tpointseqset_length(ss); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer minus_set_geo(Pointer s, Pointer gs) { - var _result = _meos_d.minus_set_geo(s, gs); + public static Pointer tgeoseqset_stboxes(Pointer ss, Pointer count) { + var _result = _meos_d.tgeoseqset_stboxes(ss, count); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer union_geo_set(Pointer gs, Pointer s) { - var _result = _meos_d.union_geo_set(gs, s); + public static Pointer tgeoseqset_split_n_stboxes(Pointer ss, int max_count, Pointer count) { + var _result = _meos_d.tgeoseqset_split_n_stboxes(ss, max_count, count); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer union_set_geo(Pointer s, Pointer gs) { - var _result = _meos_d.union_set_geo(s, gs); + public static Pointer tpoint_get_coord(Pointer temp, int coord) { + var _result = _meos_d.tpoint_get_coord(temp, coord); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer spatialset_set_srid(Pointer s, int srid) { - var _result = _meos_d.spatialset_set_srid(s, srid); + public static Pointer tgeominst_tgeoginst(Pointer inst, boolean oper) { + var _result = _meos_d.tgeominst_tgeoginst(inst, oper); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int spatialset_srid(Pointer s) { - var _result = _meos_d.spatialset_srid(s); + public static Pointer tgeomseq_tgeogseq(Pointer seq, boolean oper) { + var _result = _meos_d.tgeomseq_tgeogseq(seq, oper); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer spatialset_transform(Pointer s, int srid) { - var _result = _meos_d.spatialset_transform(s, srid); + public static Pointer tgeomseqset_tgeogseqset(Pointer ss, boolean oper) { + var _result = _meos_d.tgeomseqset_tgeogseqset(ss, oper); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer spatialset_transform_pipeline(Pointer s, String pipelinestr, int srid, boolean is_forward) { - var _result = _meos_d.spatialset_transform_pipeline(s, pipelinestr, srid, is_forward); + public static Pointer tgeom_tgeog(Pointer temp, boolean oper) { + var _result = _meos_d.tgeom_tgeog(temp, oper); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static String stbox_as_hexwkb(Pointer box, byte variant, Pointer size) { - var _result = _meos_d.stbox_as_hexwkb(box, variant, size); + public static Pointer tgeo_tpoint(Pointer temp, boolean oper) { + var _result = _meos_d.tgeo_tpoint(temp, oper); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer stbox_as_wkb(Pointer box, byte variant) { - Runtime runtime = Runtime.getSystemRuntime(); - Pointer size_out = Memory.allocateDirect(runtime, Long.BYTES); - var _result = _meos_d.stbox_as_wkb(box, variant, size_out); + public static void tspatialinst_set_srid(Pointer inst, int srid) { + _meos_d.tspatialinst_set_srid(inst, srid); MeosErrorHandler.checkError(); - return _result; } @SuppressWarnings("unused") - public static Pointer stbox_from_hexwkb(String hexwkb) { - var _result = _meos_d.stbox_from_hexwkb(hexwkb); + public static Pointer tpointseq_make_simple(Pointer seq, Pointer count) { + var _result = _meos_d.tpointseq_make_simple(seq, count); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer stbox_from_wkb(Pointer wkb, long size) { - var _result = _meos_d.stbox_from_wkb(wkb, size); + public static void tspatialseq_set_srid(Pointer seq, int srid) { + _meos_d.tspatialseq_set_srid(seq, srid); MeosErrorHandler.checkError(); - return _result; } @SuppressWarnings("unused") - public static Pointer stbox_in(String str) { - var _result = _meos_d.stbox_in(str); + public static Pointer tpointseqset_make_simple(Pointer ss, Pointer count) { + var _result = _meos_d.tpointseqset_make_simple(ss, count); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static String stbox_out(Pointer box, int maxdd) { - var _result = _meos_d.stbox_out(box, maxdd); + public static void tspatialseqset_set_srid(Pointer ss, int srid) { + _meos_d.tspatialseqset_set_srid(ss, srid); MeosErrorHandler.checkError(); - return _result; } @SuppressWarnings("unused") - public static Pointer geo_timestamptz_to_stbox(Pointer gs, OffsetDateTime t) { - var t_new = t.toEpochSecond(); - var _result = _meos_d.geo_timestamptz_to_stbox(gs, t_new); + public static Pointer tpointseq_twcentroid(Pointer seq) { + var _result = _meos_d.tpointseq_twcentroid(seq); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer geo_tstzspan_to_stbox(Pointer gs, Pointer s) { - var _result = _meos_d.geo_tstzspan_to_stbox(gs, s); + public static Pointer tpointseqset_twcentroid(Pointer ss) { + var _result = _meos_d.tpointseqset_twcentroid(ss); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer stbox_copy(Pointer box) { - var _result = _meos_d.stbox_copy(box); + public static String npoint_as_ewkt(Pointer np, int maxdd) { + var _result = _meos_d.npoint_as_ewkt(np, maxdd); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer stbox_make(boolean hasx, boolean hasz, boolean geodetic, int srid, double xmin, double xmax, double ymin, double ymax, double zmin, double zmax, Pointer s) { - var _result = _meos_d.stbox_make(hasx, hasz, geodetic, srid, xmin, xmax, ymin, ymax, zmin, zmax, s); + public static String npoint_as_hexwkb(Pointer np, byte variant) { + Runtime runtime = Runtime.getSystemRuntime(); + Pointer size_out = Memory.allocateDirect(runtime, Long.BYTES); + var _result = _meos_d.npoint_as_hexwkb(np, variant, size_out); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer geo_to_stbox(Pointer gs) { - var _result = _meos_d.geo_to_stbox(gs); + public static String npoint_as_text(Pointer np, int maxdd) { + var _result = _meos_d.npoint_as_text(np, maxdd); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer spatialset_to_stbox(Pointer s) { - var _result = _meos_d.spatialset_to_stbox(s); + public static Pointer npoint_as_wkb(Pointer np, byte variant) { + Runtime runtime = Runtime.getSystemRuntime(); + Pointer size_out = Memory.allocateDirect(runtime, Long.BYTES); + var _result = _meos_d.npoint_as_wkb(np, variant, size_out); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer stbox_to_box3d(Pointer box) { - var _result = _meos_d.stbox_to_box3d(box); + public static Pointer npoint_from_hexwkb(String hexwkb) { + var _result = _meos_d.npoint_from_hexwkb(hexwkb); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer stbox_to_gbox(Pointer box) { - var _result = _meos_d.stbox_to_gbox(box); + public static Pointer npoint_from_wkb(Pointer wkb, long size) { + var _result = _meos_d.npoint_from_wkb(wkb, size); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer stbox_to_geo(Pointer box) { - var _result = _meos_d.stbox_to_geo(box); + public static Pointer npoint_in(String str) { + var _result = _meos_d.npoint_in(str); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer stbox_to_tstzspan(Pointer box) { - var _result = _meos_d.stbox_to_tstzspan(box); + public static String npoint_out(Pointer np, int maxdd) { + var _result = _meos_d.npoint_out(np, maxdd); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer timestamptz_to_stbox(OffsetDateTime t) { - var t_new = t.toEpochSecond(); - var _result = _meos_d.timestamptz_to_stbox(t_new); + public static Pointer nsegment_in(String str) { + var _result = _meos_d.nsegment_in(str); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tstzset_to_stbox(Pointer s) { - var _result = _meos_d.tstzset_to_stbox(s); + public static String nsegment_out(Pointer ns, int maxdd) { + var _result = _meos_d.nsegment_out(ns, maxdd); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tstzspan_to_stbox(Pointer s) { - var _result = _meos_d.tstzspan_to_stbox(s); + public static Pointer npoint_make(long rid, double pos) { + var _result = _meos_d.npoint_make(rid, pos); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tstzspanset_to_stbox(Pointer ss) { - var _result = _meos_d.tstzspanset_to_stbox(ss); + public static Pointer nsegment_make(long rid, double pos1, double pos2) { + var _result = _meos_d.nsegment_make(rid, pos1, pos2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static double stbox_area(Pointer box, boolean spheroid) { - var _result = _meos_d.stbox_area(box, spheroid); + public static Pointer geompoint_to_npoint(Pointer gs) { + var _result = _meos_d.geompoint_to_npoint(gs); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int stbox_hash(Pointer box) { - var _result = _meos_d.stbox_hash(box); + public static Pointer geom_to_nsegment(Pointer gs) { + var _result = _meos_d.geom_to_nsegment(gs); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static long stbox_hash_extended(Pointer box, long seed) { - var _result = _meos_d.stbox_hash_extended(box, seed); + public static Pointer npoint_to_geompoint(Pointer np) { + var _result = _meos_d.npoint_to_geompoint(np); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean stbox_hast(Pointer box) { - var _result = _meos_d.stbox_hast(box); + public static Pointer npoint_to_nsegment(Pointer np) { + var _result = _meos_d.npoint_to_nsegment(np); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean stbox_hasx(Pointer box) { - var _result = _meos_d.stbox_hasx(box); + public static Pointer npoint_to_stbox(Pointer np) { + var _result = _meos_d.npoint_to_stbox(np); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean stbox_hasz(Pointer box) { - var _result = _meos_d.stbox_hasz(box); + public static Pointer nsegment_to_geom(Pointer ns) { + var _result = _meos_d.nsegment_to_geom(ns); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean stbox_isgeodetic(Pointer box) { - var _result = _meos_d.stbox_isgeodetic(box); + public static Pointer nsegment_to_stbox(Pointer np) { + var _result = _meos_d.nsegment_to_stbox(np); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static double stbox_perimeter(Pointer box, boolean spheroid) { - var _result = _meos_d.stbox_perimeter(box, spheroid); + public static int npoint_hash(Pointer np) { + var _result = _meos_d.npoint_hash(np); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer stbox_tmax(Pointer box) { - boolean out; - Runtime runtime = Runtime.getSystemRuntime(); - Pointer result = Memory.allocateDirect(runtime, Long.BYTES); - out = _meos_d.stbox_tmax(box, result); + public static long npoint_hash_extended(Pointer np, long seed) { + var _result = _meos_d.npoint_hash_extended(np, seed); MeosErrorHandler.checkError(); - return out ? result : null; + return _result; } @SuppressWarnings("unused") - public static Pointer stbox_tmax_inc(Pointer box) { - boolean out; - Runtime runtime = Runtime.getSystemRuntime(); - Pointer result = Memory.allocateDirect(runtime, Byte.BYTES); - out = _meos_d.stbox_tmax_inc(box, result); + public static double npoint_position(Pointer np) { + var _result = _meos_d.npoint_position(np); MeosErrorHandler.checkError(); - return out ? result : null; + return _result; } @SuppressWarnings("unused") - public static Pointer stbox_tmin(Pointer box) { - boolean out; - Runtime runtime = Runtime.getSystemRuntime(); - Pointer result = Memory.allocateDirect(runtime, Long.BYTES); - out = _meos_d.stbox_tmin(box, result); + public static long npoint_route(Pointer np) { + var _result = _meos_d.npoint_route(np); MeosErrorHandler.checkError(); - return out ? result : null; + return _result; } @SuppressWarnings("unused") - public static Pointer stbox_tmin_inc(Pointer box) { - boolean out; - Runtime runtime = Runtime.getSystemRuntime(); - Pointer result = Memory.allocateDirect(runtime, Byte.BYTES); - out = _meos_d.stbox_tmin_inc(box, result); + public static double nsegment_end_position(Pointer ns) { + var _result = _meos_d.nsegment_end_position(ns); MeosErrorHandler.checkError(); - return out ? result : null; + return _result; } @SuppressWarnings("unused") - public static double stbox_volume(Pointer box) { - var _result = _meos_d.stbox_volume(box); + public static long nsegment_route(Pointer ns) { + var _result = _meos_d.nsegment_route(ns); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer stbox_xmax(Pointer box) { - boolean out; - Runtime runtime = Runtime.getSystemRuntime(); - Pointer result = Memory.allocateDirect(runtime, Double.BYTES); - out = _meos_d.stbox_xmax(box, result); + public static double nsegment_start_position(Pointer ns) { + var _result = _meos_d.nsegment_start_position(ns); MeosErrorHandler.checkError(); - return out ? result : null; + return _result; } @SuppressWarnings("unused") - public static Pointer stbox_xmin(Pointer box) { - boolean out; - Runtime runtime = Runtime.getSystemRuntime(); - Pointer result = Memory.allocateDirect(runtime, Double.BYTES); - out = _meos_d.stbox_xmin(box, result); + public static boolean route_exists(long rid) { + var _result = _meos_d.route_exists(rid); MeosErrorHandler.checkError(); - return out ? result : null; + return _result; } @SuppressWarnings("unused") - public static Pointer stbox_ymax(Pointer box) { - boolean out; - Runtime runtime = Runtime.getSystemRuntime(); - Pointer result = Memory.allocateDirect(runtime, Double.BYTES); - out = _meos_d.stbox_ymax(box, result); + public static Pointer route_geom(long rid) { + var _result = _meos_d.route_geom(rid); MeosErrorHandler.checkError(); - return out ? result : null; + return _result; } @SuppressWarnings("unused") - public static Pointer stbox_ymin(Pointer box) { - boolean out; - Runtime runtime = Runtime.getSystemRuntime(); - Pointer result = Memory.allocateDirect(runtime, Double.BYTES); - out = _meos_d.stbox_ymin(box, result); + public static double route_length(long rid) { + var _result = _meos_d.route_length(rid); MeosErrorHandler.checkError(); - return out ? result : null; + return _result; } @SuppressWarnings("unused") - public static Pointer stbox_zmax(Pointer box) { - boolean out; - Runtime runtime = Runtime.getSystemRuntime(); - Pointer result = Memory.allocateDirect(runtime, Double.BYTES); - out = _meos_d.stbox_zmax(box, result); + public static Pointer npoint_round(Pointer np, int maxdd) { + var _result = _meos_d.npoint_round(np, maxdd); MeosErrorHandler.checkError(); - return out ? result : null; + return _result; } @SuppressWarnings("unused") - public static Pointer stbox_zmin(Pointer box) { - boolean out; - Runtime runtime = Runtime.getSystemRuntime(); - Pointer result = Memory.allocateDirect(runtime, Double.BYTES); - out = _meos_d.stbox_zmin(box, result); + public static Pointer nsegment_round(Pointer ns, int maxdd) { + var _result = _meos_d.nsegment_round(ns, maxdd); MeosErrorHandler.checkError(); - return out ? result : null; + return _result; } @SuppressWarnings("unused") - public static Pointer stbox_expand_space(Pointer box, double d) { - var _result = _meos_d.stbox_expand_space(box, d); + public static int get_srid_ways() { + var _result = _meos_d.get_srid_ways(); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer stbox_expand_time(Pointer box, Pointer interv) { - var _result = _meos_d.stbox_expand_time(box, interv); + public static int npoint_srid(Pointer np) { + var _result = _meos_d.npoint_srid(np); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer stbox_get_space(Pointer box) { - var _result = _meos_d.stbox_get_space(box); + public static int nsegment_srid(Pointer ns) { + var _result = _meos_d.nsegment_srid(ns); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer stbox_quad_split(Pointer box, Pointer count) { - var _result = _meos_d.stbox_quad_split(box, count); + public static Pointer npoint_timestamptz_to_stbox(Pointer np, OffsetDateTime t) { + var t_new = t.toEpochSecond(); + var _result = _meos_d.npoint_timestamptz_to_stbox(np, t_new); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer stbox_round(Pointer box, int maxdd) { - var _result = _meos_d.stbox_round(box, maxdd); + public static Pointer npoint_tstzspan_to_stbox(Pointer np, Pointer s) { + var _result = _meos_d.npoint_tstzspan_to_stbox(np, s); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer stbox_shift_scale_time(Pointer box, Pointer shift, Pointer duration) { - var _result = _meos_d.stbox_shift_scale_time(box, shift, duration); + public static int npoint_cmp(Pointer np1, Pointer np2) { + var _result = _meos_d.npoint_cmp(np1, np2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer stboxarr_round(Pointer boxarr, int count, int maxdd) { - var _result = _meos_d.stboxarr_round(boxarr, count, maxdd); + public static boolean npoint_eq(Pointer np1, Pointer np2) { + var _result = _meos_d.npoint_eq(np1, np2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer stbox_set_srid(Pointer box, int srid) { - var _result = _meos_d.stbox_set_srid(box, srid); + public static boolean npoint_ge(Pointer np1, Pointer np2) { + var _result = _meos_d.npoint_ge(np1, np2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int stbox_srid(Pointer box) { - var _result = _meos_d.stbox_srid(box); + public static boolean npoint_gt(Pointer np1, Pointer np2) { + var _result = _meos_d.npoint_gt(np1, np2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer stbox_transform(Pointer box, int srid) { - var _result = _meos_d.stbox_transform(box, srid); + public static boolean npoint_le(Pointer np1, Pointer np2) { + var _result = _meos_d.npoint_le(np1, np2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer stbox_transform_pipeline(Pointer box, String pipelinestr, int srid, boolean is_forward) { - var _result = _meos_d.stbox_transform_pipeline(box, pipelinestr, srid, is_forward); + public static boolean npoint_lt(Pointer np1, Pointer np2) { + var _result = _meos_d.npoint_lt(np1, np2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean adjacent_stbox_stbox(Pointer box1, Pointer box2) { - var _result = _meos_d.adjacent_stbox_stbox(box1, box2); + public static boolean npoint_ne(Pointer np1, Pointer np2) { + var _result = _meos_d.npoint_ne(np1, np2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean contained_stbox_stbox(Pointer box1, Pointer box2) { - var _result = _meos_d.contained_stbox_stbox(box1, box2); + public static boolean npoint_same(Pointer np1, Pointer np2) { + var _result = _meos_d.npoint_same(np1, np2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean contains_stbox_stbox(Pointer box1, Pointer box2) { - var _result = _meos_d.contains_stbox_stbox(box1, box2); + public static int nsegment_cmp(Pointer ns1, Pointer ns2) { + var _result = _meos_d.nsegment_cmp(ns1, ns2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean overlaps_stbox_stbox(Pointer box1, Pointer box2) { - var _result = _meos_d.overlaps_stbox_stbox(box1, box2); + public static boolean nsegment_eq(Pointer ns1, Pointer ns2) { + var _result = _meos_d.nsegment_eq(ns1, ns2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean same_stbox_stbox(Pointer box1, Pointer box2) { - var _result = _meos_d.same_stbox_stbox(box1, box2); + public static boolean nsegment_ge(Pointer ns1, Pointer ns2) { + var _result = _meos_d.nsegment_ge(ns1, ns2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean above_stbox_stbox(Pointer box1, Pointer box2) { - var _result = _meos_d.above_stbox_stbox(box1, box2); + public static boolean nsegment_gt(Pointer ns1, Pointer ns2) { + var _result = _meos_d.nsegment_gt(ns1, ns2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean after_stbox_stbox(Pointer box1, Pointer box2) { - var _result = _meos_d.after_stbox_stbox(box1, box2); + public static boolean nsegment_le(Pointer ns1, Pointer ns2) { + var _result = _meos_d.nsegment_le(ns1, ns2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean back_stbox_stbox(Pointer box1, Pointer box2) { - var _result = _meos_d.back_stbox_stbox(box1, box2); + public static boolean nsegment_lt(Pointer ns1, Pointer ns2) { + var _result = _meos_d.nsegment_lt(ns1, ns2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean before_stbox_stbox(Pointer box1, Pointer box2) { - var _result = _meos_d.before_stbox_stbox(box1, box2); + public static boolean nsegment_ne(Pointer ns1, Pointer ns2) { + var _result = _meos_d.nsegment_ne(ns1, ns2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean below_stbox_stbox(Pointer box1, Pointer box2) { - var _result = _meos_d.below_stbox_stbox(box1, box2); + public static Pointer npointset_in(String str) { + var _result = _meos_d.npointset_in(str); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean front_stbox_stbox(Pointer box1, Pointer box2) { - var _result = _meos_d.front_stbox_stbox(box1, box2); + public static String npointset_out(Pointer s, int maxdd) { + var _result = _meos_d.npointset_out(s, maxdd); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean left_stbox_stbox(Pointer box1, Pointer box2) { - var _result = _meos_d.left_stbox_stbox(box1, box2); + public static Pointer npointset_make(Pointer values, int count) { + var _result = _meos_d.npointset_make(values, count); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean overabove_stbox_stbox(Pointer box1, Pointer box2) { - var _result = _meos_d.overabove_stbox_stbox(box1, box2); + public static Pointer npoint_to_set(Pointer np) { + var _result = _meos_d.npoint_to_set(np); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean overafter_stbox_stbox(Pointer box1, Pointer box2) { - var _result = _meos_d.overafter_stbox_stbox(box1, box2); + public static Pointer npointset_end_value(Pointer s) { + var _result = _meos_d.npointset_end_value(s); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean overback_stbox_stbox(Pointer box1, Pointer box2) { - var _result = _meos_d.overback_stbox_stbox(box1, box2); + public static Pointer npointset_routes(Pointer s) { + var _result = _meos_d.npointset_routes(s); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean overbefore_stbox_stbox(Pointer box1, Pointer box2) { - var _result = _meos_d.overbefore_stbox_stbox(box1, box2); + public static Pointer npointset_start_value(Pointer s) { + var _result = _meos_d.npointset_start_value(s); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean overbelow_stbox_stbox(Pointer box1, Pointer box2) { - var _result = _meos_d.overbelow_stbox_stbox(box1, box2); + public static Pointer npointset_value_n(Pointer s, int n) { + boolean out; + Runtime runtime = Runtime.getSystemRuntime(); + Pointer result = Memory.allocateDirect(runtime, Long.BYTES); + out = _meos_d.npointset_value_n(s, n, result); + Pointer new_result = result.getPointer(0); MeosErrorHandler.checkError(); - return _result; + return out ? new_result : null; } @SuppressWarnings("unused") - public static boolean overfront_stbox_stbox(Pointer box1, Pointer box2) { - var _result = _meos_d.overfront_stbox_stbox(box1, box2); + public static Pointer npointset_values(Pointer s) { + var _result = _meos_d.npointset_values(s); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean overleft_stbox_stbox(Pointer box1, Pointer box2) { - var _result = _meos_d.overleft_stbox_stbox(box1, box2); + public static boolean contained_npoint_set(Pointer np, Pointer s) { + var _result = _meos_d.contained_npoint_set(np, s); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean overright_stbox_stbox(Pointer box1, Pointer box2) { - var _result = _meos_d.overright_stbox_stbox(box1, box2); + public static boolean contains_set_npoint(Pointer s, Pointer np) { + var _result = _meos_d.contains_set_npoint(s, np); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean right_stbox_stbox(Pointer box1, Pointer box2) { - var _result = _meos_d.right_stbox_stbox(box1, box2); + public static Pointer intersection_npoint_set(Pointer np, Pointer s) { + var _result = _meos_d.intersection_npoint_set(np, s); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer union_stbox_stbox(Pointer box1, Pointer box2, boolean strict) { - var _result = _meos_d.union_stbox_stbox(box1, box2, strict); + public static Pointer intersection_set_npoint(Pointer s, Pointer np) { + var _result = _meos_d.intersection_set_npoint(s, np); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer intersection_stbox_stbox(Pointer box1, Pointer box2) { - var _result = _meos_d.intersection_stbox_stbox(box1, box2); + public static Pointer minus_npoint_set(Pointer np, Pointer s) { + var _result = _meos_d.minus_npoint_set(np, s); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int stbox_cmp(Pointer box1, Pointer box2) { - var _result = _meos_d.stbox_cmp(box1, box2); + public static Pointer minus_set_npoint(Pointer s, Pointer np) { + var _result = _meos_d.minus_set_npoint(s, np); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean stbox_eq(Pointer box1, Pointer box2) { - var _result = _meos_d.stbox_eq(box1, box2); + public static Pointer npoint_union_transfn(Pointer state, Pointer np) { + var _result = _meos_d.npoint_union_transfn(state, np); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean stbox_ge(Pointer box1, Pointer box2) { - var _result = _meos_d.stbox_ge(box1, box2); + public static Pointer union_npoint_set(Pointer np, Pointer s) { + var _result = _meos_d.union_npoint_set(np, s); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean stbox_gt(Pointer box1, Pointer box2) { - var _result = _meos_d.stbox_gt(box1, box2); + public static Pointer union_set_npoint(Pointer s, Pointer np) { + var _result = _meos_d.union_set_npoint(s, np); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean stbox_le(Pointer box1, Pointer box2) { - var _result = _meos_d.stbox_le(box1, box2); + public static Pointer tnpoint_in(String str) { + var _result = _meos_d.tnpoint_in(str); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean stbox_lt(Pointer box1, Pointer box2) { - var _result = _meos_d.stbox_lt(box1, box2); + public static Pointer tnpoint_from_mfjson(String mfjson) { + var _result = _meos_d.tnpoint_from_mfjson(mfjson); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean stbox_ne(Pointer box1, Pointer box2) { - var _result = _meos_d.stbox_ne(box1, box2); + public static String tnpoint_out(Pointer temp, int maxdd) { + var _result = _meos_d.tnpoint_out(temp, maxdd); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tgeogpoint_from_mfjson(String str) { - var _result = _meos_d.tgeogpoint_from_mfjson(str); + public static Pointer tnpointinst_make(Pointer np, OffsetDateTime t) { + var t_new = t.toEpochSecond(); + var _result = _meos_d.tnpointinst_make(np, t_new); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tgeogpoint_in(String str) { - var _result = _meos_d.tgeogpoint_in(str); + public static Pointer tgeompoint_to_tnpoint(Pointer temp) { + var _result = _meos_d.tgeompoint_to_tnpoint(temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tgeography_from_mfjson(String mfjson) { - var _result = _meos_d.tgeography_from_mfjson(mfjson); + public static Pointer tnpoint_to_tgeompoint(Pointer temp) { + var _result = _meos_d.tnpoint_to_tgeompoint(temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tgeography_in(String str) { - var _result = _meos_d.tgeography_in(str); + public static Pointer tnpoint_cumulative_length(Pointer temp) { + var _result = _meos_d.tnpoint_cumulative_length(temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tgeometry_from_mfjson(String str) { - var _result = _meos_d.tgeometry_from_mfjson(str); + public static double tnpoint_length(Pointer temp) { + var _result = _meos_d.tnpoint_length(temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tgeometry_in(String str) { - var _result = _meos_d.tgeometry_in(str); + public static Pointer tnpoint_positions(Pointer temp, Pointer count) { + var _result = _meos_d.tnpoint_positions(temp, count); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tgeompoint_from_mfjson(String str) { - var _result = _meos_d.tgeompoint_from_mfjson(str); + public static long tnpoint_route(Pointer temp) { + var _result = _meos_d.tnpoint_route(temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tgeompoint_in(String str) { - var _result = _meos_d.tgeompoint_in(str); + public static Pointer tnpoint_routes(Pointer temp) { + var _result = _meos_d.tnpoint_routes(temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static String tspatial_as_ewkt(Pointer temp, int maxdd) { - var _result = _meos_d.tspatial_as_ewkt(temp, maxdd); + public static Pointer tnpoint_speed(Pointer temp) { + var _result = _meos_d.tnpoint_speed(temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static String tspatial_as_text(Pointer temp, int maxdd) { - var _result = _meos_d.tspatial_as_text(temp, maxdd); + public static Pointer tnpoint_trajectory(Pointer temp) { + var _result = _meos_d.tnpoint_trajectory(temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static String tspatial_out(Pointer temp, int maxdd) { - var _result = _meos_d.tspatial_out(temp, maxdd); + public static Pointer tnpoint_twcentroid(Pointer temp) { + var _result = _meos_d.tnpoint_twcentroid(temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tgeo_from_base_temp(Pointer gs, Pointer temp) { - var _result = _meos_d.tgeo_from_base_temp(gs, temp); + public static Pointer tnpoint_at_geom(Pointer temp, Pointer gs) { + var _result = _meos_d.tnpoint_at_geom(temp, gs); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tgeoinst_make(Pointer gs, OffsetDateTime t) { - var t_new = t.toEpochSecond(); - var _result = _meos_d.tgeoinst_make(gs, t_new); + public static Pointer tnpoint_at_npoint(Pointer temp, Pointer np) { + var _result = _meos_d.tnpoint_at_npoint(temp, np); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tgeoseq_from_base_tstzset(Pointer gs, Pointer s) { - var _result = _meos_d.tgeoseq_from_base_tstzset(gs, s); + public static Pointer tnpoint_at_npointset(Pointer temp, Pointer s) { + var _result = _meos_d.tnpoint_at_npointset(temp, s); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tgeoseq_from_base_tstzspan(Pointer gs, Pointer s, int interp) { - var _result = _meos_d.tgeoseq_from_base_tstzspan(gs, s, interp); + public static Pointer tnpoint_at_stbox(Pointer temp, Pointer box, boolean border_inc) { + var _result = _meos_d.tnpoint_at_stbox(temp, box, border_inc); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tgeoseqset_from_base_tstzspanset(Pointer gs, Pointer ss, int interp) { - var _result = _meos_d.tgeoseqset_from_base_tstzspanset(gs, ss, interp); + public static Pointer tnpoint_minus_geom(Pointer temp, Pointer gs) { + var _result = _meos_d.tnpoint_minus_geom(temp, gs); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tpoint_from_base_temp(Pointer gs, Pointer temp) { - var _result = _meos_d.tpoint_from_base_temp(gs, temp); + public static Pointer tnpoint_minus_npoint(Pointer temp, Pointer np) { + var _result = _meos_d.tnpoint_minus_npoint(temp, np); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tpointinst_make(Pointer gs, OffsetDateTime t) { - var t_new = t.toEpochSecond(); - var _result = _meos_d.tpointinst_make(gs, t_new); + public static Pointer tnpoint_minus_npointset(Pointer temp, Pointer s) { + var _result = _meos_d.tnpoint_minus_npointset(temp, s); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tpointseq_from_base_tstzset(Pointer gs, Pointer s) { - var _result = _meos_d.tpointseq_from_base_tstzset(gs, s); + public static Pointer tnpoint_minus_stbox(Pointer temp, Pointer box, boolean border_inc) { + var _result = _meos_d.tnpoint_minus_stbox(temp, box, border_inc); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tpointseq_from_base_tstzspan(Pointer gs, Pointer s, int interp) { - var _result = _meos_d.tpointseq_from_base_tstzspan(gs, s, interp); + public static Pointer tdistance_tnpoint_npoint(Pointer temp, Pointer np) { + var _result = _meos_d.tdistance_tnpoint_npoint(temp, np); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tpointseq_make_coords(Pointer xcoords, Pointer ycoords, Pointer zcoords, Pointer times, int count, int srid, boolean geodetic, boolean lower_inc, boolean upper_inc, int interp, boolean normalize) { - var _result = _meos_d.tpointseq_make_coords(xcoords, ycoords, zcoords, times, count, srid, geodetic, lower_inc, upper_inc, interp, normalize); + public static Pointer tdistance_tnpoint_point(Pointer temp, Pointer gs) { + var _result = _meos_d.tdistance_tnpoint_point(temp, gs); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tpointseqset_from_base_tstzspanset(Pointer gs, Pointer ss, int interp) { - var _result = _meos_d.tpointseqset_from_base_tstzspanset(gs, ss, interp); + public static Pointer tdistance_tnpoint_tnpoint(Pointer temp1, Pointer temp2) { + var _result = _meos_d.tdistance_tnpoint_tnpoint(temp1, temp2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer box3d_to_stbox(Pointer box) { - var _result = _meos_d.box3d_to_stbox(box); + public static double nad_tnpoint_geo(Pointer temp, Pointer gs) { + var _result = _meos_d.nad_tnpoint_geo(temp, gs); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer gbox_to_stbox(Pointer box) { - var _result = _meos_d.gbox_to_stbox(box); + public static double nad_tnpoint_npoint(Pointer temp, Pointer np) { + var _result = _meos_d.nad_tnpoint_npoint(temp, np); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer geomeas_to_tpoint(Pointer gs) { - var _result = _meos_d.geomeas_to_tpoint(gs); + public static double nad_tnpoint_stbox(Pointer temp, Pointer box) { + var _result = _meos_d.nad_tnpoint_stbox(temp, box); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tgeogpoint_to_tgeography(Pointer temp) { - var _result = _meos_d.tgeogpoint_to_tgeography(temp); + public static double nad_tnpoint_tnpoint(Pointer temp1, Pointer temp2) { + var _result = _meos_d.nad_tnpoint_tnpoint(temp1, temp2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tgeography_to_tgeogpoint(Pointer temp) { - var _result = _meos_d.tgeography_to_tgeogpoint(temp); + public static Pointer nai_tnpoint_geo(Pointer temp, Pointer gs) { + var _result = _meos_d.nai_tnpoint_geo(temp, gs); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tgeography_to_tgeometry(Pointer temp) { - var _result = _meos_d.tgeography_to_tgeometry(temp); + public static Pointer nai_tnpoint_npoint(Pointer temp, Pointer np) { + var _result = _meos_d.nai_tnpoint_npoint(temp, np); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tgeometry_to_tgeography(Pointer temp) { - var _result = _meos_d.tgeometry_to_tgeography(temp); + public static Pointer nai_tnpoint_tnpoint(Pointer temp1, Pointer temp2) { + var _result = _meos_d.nai_tnpoint_tnpoint(temp1, temp2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tgeometry_to_tgeompoint(Pointer temp) { - var _result = _meos_d.tgeometry_to_tgeompoint(temp); + public static Pointer shortestline_tnpoint_geo(Pointer temp, Pointer gs) { + var _result = _meos_d.shortestline_tnpoint_geo(temp, gs); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tgeompoint_to_tgeometry(Pointer temp) { - var _result = _meos_d.tgeompoint_to_tgeometry(temp); + public static Pointer shortestline_tnpoint_npoint(Pointer temp, Pointer np) { + var _result = _meos_d.shortestline_tnpoint_npoint(temp, np); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean tpoint_as_mvtgeom(Pointer temp, Pointer bounds, int extent, int buffer, boolean clip_geom, Pointer gsarr, Pointer timesarr, Pointer count) { - var _result = _meos_d.tpoint_as_mvtgeom(temp, bounds, extent, buffer, clip_geom, gsarr, timesarr, count); + public static Pointer shortestline_tnpoint_tnpoint(Pointer temp1, Pointer temp2) { + var _result = _meos_d.shortestline_tnpoint_tnpoint(temp1, temp2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tpoint_tfloat_to_geomeas(Pointer tpoint, Pointer measure, boolean segmentize) { - boolean out; - Runtime runtime = Runtime.getSystemRuntime(); - Pointer result = Memory.allocateDirect(runtime, Long.BYTES); - out = _meos_d.tpoint_tfloat_to_geomeas(tpoint, measure, segmentize, result); - Pointer new_result = result.getPointer(0); + public static Pointer tnpoint_tcentroid_transfn(Pointer state, Pointer temp) { + var _result = _meos_d.tnpoint_tcentroid_transfn(state, temp); MeosErrorHandler.checkError(); - return out ? new_result : null; + return _result; } @SuppressWarnings("unused") - public static Pointer tspatial_to_stbox(Pointer temp) { - var _result = _meos_d.tspatial_to_stbox(temp); + public static int always_eq_npoint_tnpoint(Pointer np, Pointer temp) { + var _result = _meos_d.always_eq_npoint_tnpoint(np, temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer bearing_point_point(Pointer gs1, Pointer gs2) { - boolean out; - Runtime runtime = Runtime.getSystemRuntime(); - Pointer result = Memory.allocateDirect(runtime, Double.BYTES); - out = _meos_d.bearing_point_point(gs1, gs2, result); + public static int always_eq_tnpoint_npoint(Pointer temp, Pointer np) { + var _result = _meos_d.always_eq_tnpoint_npoint(temp, np); MeosErrorHandler.checkError(); - return out ? result : null; + return _result; } @SuppressWarnings("unused") - public static Pointer bearing_tpoint_point(Pointer temp, Pointer gs, boolean invert) { - var _result = _meos_d.bearing_tpoint_point(temp, gs, invert); + public static int always_eq_tnpoint_tnpoint(Pointer temp1, Pointer temp2) { + var _result = _meos_d.always_eq_tnpoint_tnpoint(temp1, temp2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer bearing_tpoint_tpoint(Pointer temp1, Pointer temp2) { - var _result = _meos_d.bearing_tpoint_tpoint(temp1, temp2); + public static int always_ne_npoint_tnpoint(Pointer np, Pointer temp) { + var _result = _meos_d.always_ne_npoint_tnpoint(np, temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tgeo_centroid(Pointer temp) { - var _result = _meos_d.tgeo_centroid(temp); + public static int always_ne_tnpoint_npoint(Pointer temp, Pointer np) { + var _result = _meos_d.always_ne_tnpoint_npoint(temp, np); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tgeo_convex_hull(Pointer temp) { - var _result = _meos_d.tgeo_convex_hull(temp); + public static int always_ne_tnpoint_tnpoint(Pointer temp1, Pointer temp2) { + var _result = _meos_d.always_ne_tnpoint_tnpoint(temp1, temp2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tgeo_end_value(Pointer temp) { - var _result = _meos_d.tgeo_end_value(temp); + public static int ever_eq_npoint_tnpoint(Pointer np, Pointer temp) { + var _result = _meos_d.ever_eq_npoint_tnpoint(np, temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tgeo_start_value(Pointer temp) { - var _result = _meos_d.tgeo_start_value(temp); + public static int ever_eq_tnpoint_npoint(Pointer temp, Pointer np) { + var _result = _meos_d.ever_eq_tnpoint_npoint(temp, np); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tgeo_traversed_area(Pointer temp, boolean unary_union) { - var _result = _meos_d.tgeo_traversed_area(temp, unary_union); + public static int ever_eq_tnpoint_tnpoint(Pointer temp1, Pointer temp2) { + var _result = _meos_d.ever_eq_tnpoint_tnpoint(temp1, temp2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean tgeo_value_at_timestamptz(Pointer temp, OffsetDateTime t, boolean strict, Pointer value) { - var t_new = t.toEpochSecond(); - var _result = _meos_d.tgeo_value_at_timestamptz(temp, t_new, strict, value); + public static int ever_ne_npoint_tnpoint(Pointer np, Pointer temp) { + var _result = _meos_d.ever_ne_npoint_tnpoint(np, temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tgeo_value_n(Pointer temp, int n) { - boolean out; - Runtime runtime = Runtime.getSystemRuntime(); - Pointer result = Memory.allocateDirect(runtime, Long.BYTES); - out = _meos_d.tgeo_value_n(temp, n, result); - Pointer new_result = result.getPointer(0); + public static int ever_ne_tnpoint_npoint(Pointer temp, Pointer np) { + var _result = _meos_d.ever_ne_tnpoint_npoint(temp, np); MeosErrorHandler.checkError(); - return out ? new_result : null; + return _result; } @SuppressWarnings("unused") - public static Pointer tgeo_values(Pointer temp, Pointer count) { - var _result = _meos_d.tgeo_values(temp, count); + public static int ever_ne_tnpoint_tnpoint(Pointer temp1, Pointer temp2) { + var _result = _meos_d.ever_ne_tnpoint_tnpoint(temp1, temp2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tpoint_angular_difference(Pointer temp) { - var _result = _meos_d.tpoint_angular_difference(temp); + public static Pointer teq_tnpoint_npoint(Pointer temp, Pointer np) { + var _result = _meos_d.teq_tnpoint_npoint(temp, np); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tpoint_azimuth(Pointer temp) { - var _result = _meos_d.tpoint_azimuth(temp); + public static Pointer tne_tnpoint_npoint(Pointer temp, Pointer np) { + var _result = _meos_d.tne_tnpoint_npoint(temp, np); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tpoint_cumulative_length(Pointer temp) { - var _result = _meos_d.tpoint_cumulative_length(temp); + public static String pose_as_ewkt(Pointer pose, int maxdd) { + var _result = _meos_d.pose_as_ewkt(pose, maxdd); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tpoint_direction(Pointer temp) { - boolean out; - Runtime runtime = Runtime.getSystemRuntime(); - Pointer result = Memory.allocateDirect(runtime, Double.BYTES); - out = _meos_d.tpoint_direction(temp, result); + public static String pose_as_hexwkb(Pointer pose, byte variant, Pointer size) { + var _result = _meos_d.pose_as_hexwkb(pose, variant, size); MeosErrorHandler.checkError(); - return out ? result : null; + return _result; } @SuppressWarnings("unused") - public static Pointer tpoint_get_x(Pointer temp) { - var _result = _meos_d.tpoint_get_x(temp); + public static String pose_as_text(Pointer pose, int maxdd) { + var _result = _meos_d.pose_as_text(pose, maxdd); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tpoint_get_y(Pointer temp) { - var _result = _meos_d.tpoint_get_y(temp); + public static Pointer pose_as_wkb(Pointer pose, byte variant) { + Runtime runtime = Runtime.getSystemRuntime(); + Pointer size_out = Memory.allocateDirect(runtime, Long.BYTES); + var _result = _meos_d.pose_as_wkb(pose, variant, size_out); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tpoint_get_z(Pointer temp) { - var _result = _meos_d.tpoint_get_z(temp); + public static Pointer pose_from_wkb(Pointer wkb, long size) { + var _result = _meos_d.pose_from_wkb(wkb, size); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean tpoint_is_simple(Pointer temp) { - var _result = _meos_d.tpoint_is_simple(temp); + public static Pointer pose_from_hexwkb(String hexwkb) { + var _result = _meos_d.pose_from_hexwkb(hexwkb); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static double tpoint_length(Pointer temp) { - var _result = _meos_d.tpoint_length(temp); + public static Pointer pose_in(String str) { + var _result = _meos_d.pose_in(str); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tpoint_speed(Pointer temp) { - var _result = _meos_d.tpoint_speed(temp); + public static String pose_out(Pointer pose, int maxdd) { + var _result = _meos_d.pose_out(pose, maxdd); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tpoint_trajectory(Pointer temp, boolean unary_union) { - var _result = _meos_d.tpoint_trajectory(temp, unary_union); + public static Pointer pose_copy(Pointer pose) { + var _result = _meos_d.pose_copy(pose); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tpoint_twcentroid(Pointer temp) { - var _result = _meos_d.tpoint_twcentroid(temp); + public static Pointer pose_make_2d(double x, double y, double theta, int srid) { + var _result = _meos_d.pose_make_2d(x, y, theta, srid); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tgeo_affine(Pointer temp, Pointer a) { - var _result = _meos_d.tgeo_affine(temp, a); + public static Pointer pose_make_3d(double x, double y, double z, double W, double X, double Y, double Z, int srid) { + var _result = _meos_d.pose_make_3d(x, y, z, W, X, Y, Z, srid); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tgeo_scale(Pointer temp, Pointer scale, Pointer sorigin) { - var _result = _meos_d.tgeo_scale(temp, scale, sorigin); + public static Pointer pose_make_point2d(Pointer gs, double theta) { + var _result = _meos_d.pose_make_point2d(gs, theta); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tpoint_make_simple(Pointer temp, Pointer count) { - var _result = _meos_d.tpoint_make_simple(temp, count); + public static Pointer pose_make_point3d(Pointer gs, double W, double X, double Y, double Z) { + var _result = _meos_d.pose_make_point3d(gs, W, X, Y, Z); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int tspatial_srid(Pointer temp) { - var _result = _meos_d.tspatial_srid(temp); + public static Pointer pose_to_point(Pointer pose) { + var _result = _meos_d.pose_to_point(pose); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tspatial_set_srid(Pointer temp, int srid) { - var _result = _meos_d.tspatial_set_srid(temp, srid); + public static Pointer pose_to_stbox(Pointer pose) { + var _result = _meos_d.pose_to_stbox(pose); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tspatial_transform(Pointer temp, int srid) { - var _result = _meos_d.tspatial_transform(temp, srid); + public static int pose_hash(Pointer pose) { + var _result = _meos_d.pose_hash(pose); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tspatial_transform_pipeline(Pointer temp, String pipelinestr, int srid, boolean is_forward) { - var _result = _meos_d.tspatial_transform_pipeline(temp, pipelinestr, srid, is_forward); + public static long pose_hash_extended(Pointer pose, long seed) { + var _result = _meos_d.pose_hash_extended(pose, seed); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tgeo_at_geom(Pointer temp, Pointer gs) { - var _result = _meos_d.tgeo_at_geom(temp, gs); + public static Pointer pose_orientation(Pointer pose) { + var _result = _meos_d.pose_orientation(pose); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tgeo_at_stbox(Pointer temp, Pointer box, boolean border_inc) { - var _result = _meos_d.tgeo_at_stbox(temp, box, border_inc); + public static double pose_rotation(Pointer pose) { + var _result = _meos_d.pose_rotation(pose); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tgeo_at_value(Pointer temp, Pointer gs) { - var _result = _meos_d.tgeo_at_value(temp, gs); + public static Pointer pose_round(Pointer pose, int maxdd) { + var _result = _meos_d.pose_round(pose, maxdd); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tgeo_minus_geom(Pointer temp, Pointer gs) { - var _result = _meos_d.tgeo_minus_geom(temp, gs); + public static Pointer posearr_round(Pointer posearr, int count, int maxdd) { + var _result = _meos_d.posearr_round(posearr, count, maxdd); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tgeo_minus_stbox(Pointer temp, Pointer box, boolean border_inc) { - var _result = _meos_d.tgeo_minus_stbox(temp, box, border_inc); + public static void pose_set_srid(Pointer pose, int srid) { + _meos_d.pose_set_srid(pose, srid); MeosErrorHandler.checkError(); - return _result; } @SuppressWarnings("unused") - public static Pointer tgeo_minus_value(Pointer temp, Pointer gs) { - var _result = _meos_d.tgeo_minus_value(temp, gs); + public static int pose_srid(Pointer pose) { + var _result = _meos_d.pose_srid(pose); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tpoint_at_geom(Pointer temp, Pointer gs, Pointer zspan) { - var _result = _meos_d.tpoint_at_geom(temp, gs, zspan); + public static Pointer pose_transform(Pointer pose, int srid) { + var _result = _meos_d.pose_transform(pose, srid); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tpoint_at_value(Pointer temp, Pointer gs) { - var _result = _meos_d.tpoint_at_value(temp, gs); + public static Pointer pose_transform_pipeline(Pointer pose, String pipelinestr, int srid, boolean is_forward) { + var _result = _meos_d.pose_transform_pipeline(pose, pipelinestr, srid, is_forward); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tpoint_minus_geom(Pointer temp, Pointer gs, Pointer zspan) { - var _result = _meos_d.tpoint_minus_geom(temp, gs, zspan); + public static Pointer pose_tstzspan_to_stbox(Pointer pose, Pointer s) { + var _result = _meos_d.pose_tstzspan_to_stbox(pose, s); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tpoint_minus_value(Pointer temp, Pointer gs) { - var _result = _meos_d.tpoint_minus_value(temp, gs); + public static Pointer pose_timestamptz_to_stbox(Pointer pose, OffsetDateTime t) { + var t_new = t.toEpochSecond(); + var _result = _meos_d.pose_timestamptz_to_stbox(pose, t_new); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int always_eq_geo_tgeo(Pointer gs, Pointer temp) { - var _result = _meos_d.always_eq_geo_tgeo(gs, temp); + public static double distance_pose_geo(Pointer pose, Pointer gs) { + var _result = _meos_d.distance_pose_geo(pose, gs); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int always_eq_tgeo_geo(Pointer temp, Pointer gs) { - var _result = _meos_d.always_eq_tgeo_geo(temp, gs); + public static double distance_pose_pose(Pointer pose1, Pointer pose2) { + var _result = _meos_d.distance_pose_pose(pose1, pose2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int always_eq_tgeo_tgeo(Pointer temp1, Pointer temp2) { - var _result = _meos_d.always_eq_tgeo_tgeo(temp1, temp2); + public static double distance_pose_stbox(Pointer pose, Pointer box) { + var _result = _meos_d.distance_pose_stbox(pose, box); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int always_ne_geo_tgeo(Pointer gs, Pointer temp) { - var _result = _meos_d.always_ne_geo_tgeo(gs, temp); + public static int pose_cmp(Pointer pose1, Pointer pose2) { + var _result = _meos_d.pose_cmp(pose1, pose2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int always_ne_tgeo_geo(Pointer temp, Pointer gs) { - var _result = _meos_d.always_ne_tgeo_geo(temp, gs); + public static boolean pose_eq(Pointer pose1, Pointer pose2) { + var _result = _meos_d.pose_eq(pose1, pose2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int always_ne_tgeo_tgeo(Pointer temp1, Pointer temp2) { - var _result = _meos_d.always_ne_tgeo_tgeo(temp1, temp2); + public static boolean pose_ge(Pointer pose1, Pointer pose2) { + var _result = _meos_d.pose_ge(pose1, pose2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int ever_eq_geo_tgeo(Pointer gs, Pointer temp) { - var _result = _meos_d.ever_eq_geo_tgeo(gs, temp); + public static boolean pose_gt(Pointer pose1, Pointer pose2) { + var _result = _meos_d.pose_gt(pose1, pose2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int ever_eq_tgeo_geo(Pointer temp, Pointer gs) { - var _result = _meos_d.ever_eq_tgeo_geo(temp, gs); + public static boolean pose_le(Pointer pose1, Pointer pose2) { + var _result = _meos_d.pose_le(pose1, pose2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int ever_eq_tgeo_tgeo(Pointer temp1, Pointer temp2) { - var _result = _meos_d.ever_eq_tgeo_tgeo(temp1, temp2); + public static boolean pose_lt(Pointer pose1, Pointer pose2) { + var _result = _meos_d.pose_lt(pose1, pose2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int ever_ne_geo_tgeo(Pointer gs, Pointer temp) { - var _result = _meos_d.ever_ne_geo_tgeo(gs, temp); + public static boolean pose_ne(Pointer pose1, Pointer pose2) { + var _result = _meos_d.pose_ne(pose1, pose2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int ever_ne_tgeo_geo(Pointer temp, Pointer gs) { - var _result = _meos_d.ever_ne_tgeo_geo(temp, gs); + public static boolean pose_nsame(Pointer pose1, Pointer pose2) { + var _result = _meos_d.pose_nsame(pose1, pose2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int ever_ne_tgeo_tgeo(Pointer temp1, Pointer temp2) { - var _result = _meos_d.ever_ne_tgeo_tgeo(temp1, temp2); + public static boolean pose_same(Pointer pose1, Pointer pose2) { + var _result = _meos_d.pose_same(pose1, pose2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer teq_geo_tgeo(Pointer gs, Pointer temp) { - var _result = _meos_d.teq_geo_tgeo(gs, temp); + public static Pointer poseset_in(String str) { + var _result = _meos_d.poseset_in(str); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer teq_tgeo_geo(Pointer temp, Pointer gs) { - var _result = _meos_d.teq_tgeo_geo(temp, gs); + public static String poseset_out(Pointer s, int maxdd) { + var _result = _meos_d.poseset_out(s, maxdd); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tne_geo_tgeo(Pointer gs, Pointer temp) { - var _result = _meos_d.tne_geo_tgeo(gs, temp); + public static Pointer poseset_make(Pointer values, int count) { + var _result = _meos_d.poseset_make(values, count); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tne_tgeo_geo(Pointer temp, Pointer gs) { - var _result = _meos_d.tne_tgeo_geo(temp, gs); + public static Pointer pose_to_set(Pointer pose) { + var _result = _meos_d.pose_to_set(pose); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tgeo_stboxes(Pointer temp, Pointer count) { - var _result = _meos_d.tgeo_stboxes(temp, count); + public static Pointer poseset_end_value(Pointer s) { + var _result = _meos_d.poseset_end_value(s); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tgeo_space_boxes(Pointer temp, double xsize, double ysize, double zsize, Pointer sorigin, boolean bitmatrix, boolean border_inc, Pointer count) { - var _result = _meos_d.tgeo_space_boxes(temp, xsize, ysize, zsize, sorigin, bitmatrix, border_inc, count); + public static Pointer poseset_start_value(Pointer s) { + var _result = _meos_d.poseset_start_value(s); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tgeo_space_time_boxes(Pointer temp, double xsize, double ysize, double zsize, Pointer duration, Pointer sorigin, OffsetDateTime torigin, boolean bitmatrix, boolean border_inc, Pointer count) { - var torigin_new = torigin.toEpochSecond(); - var _result = _meos_d.tgeo_space_time_boxes(temp, xsize, ysize, zsize, duration, sorigin, torigin_new, bitmatrix, border_inc, count); + public static Pointer poseset_value_n(Pointer s, int n) { + boolean out; + Runtime runtime = Runtime.getSystemRuntime(); + Pointer result = Memory.allocateDirect(runtime, Long.BYTES); + out = _meos_d.poseset_value_n(s, n, result); + Pointer new_result = result.getPointer(0); MeosErrorHandler.checkError(); - return _result; + return out ? new_result : null; } @SuppressWarnings("unused") - public static Pointer tgeo_split_each_n_stboxes(Pointer temp, int elem_count, Pointer count) { - var _result = _meos_d.tgeo_split_each_n_stboxes(temp, elem_count, count); + public static Pointer poseset_values(Pointer s) { + var _result = _meos_d.poseset_values(s); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tgeo_split_n_stboxes(Pointer temp, int box_count, Pointer count) { - var _result = _meos_d.tgeo_split_n_stboxes(temp, box_count, count); + public static boolean contained_pose_set(Pointer pose, Pointer s) { + var _result = _meos_d.contained_pose_set(pose, s); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean adjacent_stbox_tspatial(Pointer box, Pointer temp) { - var _result = _meos_d.adjacent_stbox_tspatial(box, temp); + public static boolean contains_set_pose(Pointer s, Pointer pose) { + var _result = _meos_d.contains_set_pose(s, pose); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean adjacent_tspatial_stbox(Pointer temp, Pointer box) { - var _result = _meos_d.adjacent_tspatial_stbox(temp, box); + public static Pointer intersection_pose_set(Pointer pose, Pointer s) { + var _result = _meos_d.intersection_pose_set(pose, s); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean adjacent_tspatial_tspatial(Pointer temp1, Pointer temp2) { - var _result = _meos_d.adjacent_tspatial_tspatial(temp1, temp2); + public static Pointer intersection_set_pose(Pointer s, Pointer pose) { + var _result = _meos_d.intersection_set_pose(s, pose); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean contained_stbox_tspatial(Pointer box, Pointer temp) { - var _result = _meos_d.contained_stbox_tspatial(box, temp); + public static Pointer minus_pose_set(Pointer pose, Pointer s) { + var _result = _meos_d.minus_pose_set(pose, s); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean contained_tspatial_stbox(Pointer temp, Pointer box) { - var _result = _meos_d.contained_tspatial_stbox(temp, box); + public static Pointer minus_set_pose(Pointer s, Pointer pose) { + var _result = _meos_d.minus_set_pose(s, pose); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean contained_tspatial_tspatial(Pointer temp1, Pointer temp2) { - var _result = _meos_d.contained_tspatial_tspatial(temp1, temp2); + public static Pointer pose_union_transfn(Pointer state, Pointer pose) { + var _result = _meos_d.pose_union_transfn(state, pose); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean contains_stbox_tspatial(Pointer box, Pointer temp) { - var _result = _meos_d.contains_stbox_tspatial(box, temp); + public static Pointer union_pose_set(Pointer pose, Pointer s) { + var _result = _meos_d.union_pose_set(pose, s); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean contains_tspatial_stbox(Pointer temp, Pointer box) { - var _result = _meos_d.contains_tspatial_stbox(temp, box); + public static Pointer union_set_pose(Pointer s, Pointer pose) { + var _result = _meos_d.union_set_pose(s, pose); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean contains_tspatial_tspatial(Pointer temp1, Pointer temp2) { - var _result = _meos_d.contains_tspatial_tspatial(temp1, temp2); + public static Pointer tpose_in(String str) { + var _result = _meos_d.tpose_in(str); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean overlaps_stbox_tspatial(Pointer box, Pointer temp) { - var _result = _meos_d.overlaps_stbox_tspatial(box, temp); + public static Pointer tpose_make(Pointer tpoint, Pointer tradius) { + var _result = _meos_d.tpose_make(tpoint, tradius); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean overlaps_tspatial_stbox(Pointer temp, Pointer box) { - var _result = _meos_d.overlaps_tspatial_stbox(temp, box); + public static Pointer tpose_to_tpoint(Pointer temp) { + var _result = _meos_d.tpose_to_tpoint(temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean overlaps_tspatial_tspatial(Pointer temp1, Pointer temp2) { - var _result = _meos_d.overlaps_tspatial_tspatial(temp1, temp2); + public static Pointer tpose_end_value(Pointer temp) { + var _result = _meos_d.tpose_end_value(temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean same_stbox_tspatial(Pointer box, Pointer temp) { - var _result = _meos_d.same_stbox_tspatial(box, temp); + public static Pointer tpose_points(Pointer temp) { + var _result = _meos_d.tpose_points(temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean same_tspatial_stbox(Pointer temp, Pointer box) { - var _result = _meos_d.same_tspatial_stbox(temp, box); + public static Pointer tpose_rotation(Pointer temp) { + var _result = _meos_d.tpose_rotation(temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean same_tspatial_tspatial(Pointer temp1, Pointer temp2) { - var _result = _meos_d.same_tspatial_tspatial(temp1, temp2); + public static Pointer tpose_start_value(Pointer temp) { + var _result = _meos_d.tpose_start_value(temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean above_stbox_tspatial(Pointer box, Pointer temp) { - var _result = _meos_d.above_stbox_tspatial(box, temp); + public static Pointer tpose_trajectory(Pointer temp) { + var _result = _meos_d.tpose_trajectory(temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean above_tspatial_stbox(Pointer temp, Pointer box) { - var _result = _meos_d.above_tspatial_stbox(temp, box); + public static boolean tpose_value_at_timestamptz(Pointer temp, OffsetDateTime t, boolean strict, Pointer value) { + var t_new = t.toEpochSecond(); + var _result = _meos_d.tpose_value_at_timestamptz(temp, t_new, strict, value); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean above_tspatial_tspatial(Pointer temp1, Pointer temp2) { - var _result = _meos_d.above_tspatial_tspatial(temp1, temp2); + public static Pointer tpose_value_n(Pointer temp, int n) { + boolean out; + Runtime runtime = Runtime.getSystemRuntime(); + Pointer result = Memory.allocateDirect(runtime, Long.BYTES); + out = _meos_d.tpose_value_n(temp, n, result); + Pointer new_result = result.getPointer(0); MeosErrorHandler.checkError(); - return _result; + return out ? new_result : null; } @SuppressWarnings("unused") - public static boolean after_stbox_tspatial(Pointer box, Pointer temp) { - var _result = _meos_d.after_stbox_tspatial(box, temp); + public static Pointer tpose_values(Pointer temp, Pointer count) { + var _result = _meos_d.tpose_values(temp, count); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean after_tspatial_stbox(Pointer temp, Pointer box) { - var _result = _meos_d.after_tspatial_stbox(temp, box); + public static Pointer tpose_at_geom(Pointer temp, Pointer gs) { + var _result = _meos_d.tpose_at_geom(temp, gs); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean after_tspatial_tspatial(Pointer temp1, Pointer temp2) { - var _result = _meos_d.after_tspatial_tspatial(temp1, temp2); + public static Pointer tpose_at_stbox(Pointer temp, Pointer box, boolean border_inc) { + var _result = _meos_d.tpose_at_stbox(temp, box, border_inc); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean back_stbox_tspatial(Pointer box, Pointer temp) { - var _result = _meos_d.back_stbox_tspatial(box, temp); + public static Pointer tpose_at_pose(Pointer temp, Pointer pose) { + var _result = _meos_d.tpose_at_pose(temp, pose); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean back_tspatial_stbox(Pointer temp, Pointer box) { - var _result = _meos_d.back_tspatial_stbox(temp, box); + public static Pointer tpose_minus_geom(Pointer temp, Pointer gs) { + var _result = _meos_d.tpose_minus_geom(temp, gs); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean back_tspatial_tspatial(Pointer temp1, Pointer temp2) { - var _result = _meos_d.back_tspatial_tspatial(temp1, temp2); + public static Pointer tpose_minus_pose(Pointer temp, Pointer pose) { + var _result = _meos_d.tpose_minus_pose(temp, pose); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean before_stbox_tspatial(Pointer box, Pointer temp) { - var _result = _meos_d.before_stbox_tspatial(box, temp); + public static Pointer tpose_minus_stbox(Pointer temp, Pointer box, boolean border_inc) { + var _result = _meos_d.tpose_minus_stbox(temp, box, border_inc); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean before_tspatial_stbox(Pointer temp, Pointer box) { - var _result = _meos_d.before_tspatial_stbox(temp, box); + public static Pointer tdistance_tpose_pose(Pointer temp, Pointer pose) { + var _result = _meos_d.tdistance_tpose_pose(temp, pose); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean before_tspatial_tspatial(Pointer temp1, Pointer temp2) { - var _result = _meos_d.before_tspatial_tspatial(temp1, temp2); + public static Pointer tdistance_tpose_point(Pointer temp, Pointer gs) { + var _result = _meos_d.tdistance_tpose_point(temp, gs); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean below_stbox_tspatial(Pointer box, Pointer temp) { - var _result = _meos_d.below_stbox_tspatial(box, temp); + public static Pointer tdistance_tpose_tpose(Pointer temp1, Pointer temp2) { + var _result = _meos_d.tdistance_tpose_tpose(temp1, temp2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean below_tspatial_stbox(Pointer temp, Pointer box) { - var _result = _meos_d.below_tspatial_stbox(temp, box); + public static double nad_tpose_geo(Pointer temp, Pointer gs) { + var _result = _meos_d.nad_tpose_geo(temp, gs); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean below_tspatial_tspatial(Pointer temp1, Pointer temp2) { - var _result = _meos_d.below_tspatial_tspatial(temp1, temp2); + public static double nad_tpose_pose(Pointer temp, Pointer pose) { + var _result = _meos_d.nad_tpose_pose(temp, pose); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean front_stbox_tspatial(Pointer box, Pointer temp) { - var _result = _meos_d.front_stbox_tspatial(box, temp); + public static double nad_tpose_stbox(Pointer temp, Pointer box) { + var _result = _meos_d.nad_tpose_stbox(temp, box); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean front_tspatial_stbox(Pointer temp, Pointer box) { - var _result = _meos_d.front_tspatial_stbox(temp, box); + public static double nad_tpose_tpose(Pointer temp1, Pointer temp2) { + var _result = _meos_d.nad_tpose_tpose(temp1, temp2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean front_tspatial_tspatial(Pointer temp1, Pointer temp2) { - var _result = _meos_d.front_tspatial_tspatial(temp1, temp2); + public static Pointer nai_tpose_geo(Pointer temp, Pointer gs) { + var _result = _meos_d.nai_tpose_geo(temp, gs); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean left_stbox_tspatial(Pointer box, Pointer temp) { - var _result = _meos_d.left_stbox_tspatial(box, temp); + public static Pointer nai_tpose_pose(Pointer temp, Pointer pose) { + var _result = _meos_d.nai_tpose_pose(temp, pose); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean left_tspatial_stbox(Pointer temp, Pointer box) { - var _result = _meos_d.left_tspatial_stbox(temp, box); + public static Pointer nai_tpose_tpose(Pointer temp1, Pointer temp2) { + var _result = _meos_d.nai_tpose_tpose(temp1, temp2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean left_tspatial_tspatial(Pointer temp1, Pointer temp2) { - var _result = _meos_d.left_tspatial_tspatial(temp1, temp2); + public static Pointer shortestline_tpose_geo(Pointer temp, Pointer gs) { + var _result = _meos_d.shortestline_tpose_geo(temp, gs); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean overabove_stbox_tspatial(Pointer box, Pointer temp) { - var _result = _meos_d.overabove_stbox_tspatial(box, temp); + public static Pointer shortestline_tpose_pose(Pointer temp, Pointer pose) { + var _result = _meos_d.shortestline_tpose_pose(temp, pose); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean overabove_tspatial_stbox(Pointer temp, Pointer box) { - var _result = _meos_d.overabove_tspatial_stbox(temp, box); + public static Pointer shortestline_tpose_tpose(Pointer temp1, Pointer temp2) { + var _result = _meos_d.shortestline_tpose_tpose(temp1, temp2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean overabove_tspatial_tspatial(Pointer temp1, Pointer temp2) { - var _result = _meos_d.overabove_tspatial_tspatial(temp1, temp2); + public static int always_eq_pose_tpose(Pointer pose, Pointer temp) { + var _result = _meos_d.always_eq_pose_tpose(pose, temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean overafter_stbox_tspatial(Pointer box, Pointer temp) { - var _result = _meos_d.overafter_stbox_tspatial(box, temp); + public static int always_eq_tpose_pose(Pointer temp, Pointer pose) { + var _result = _meos_d.always_eq_tpose_pose(temp, pose); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean overafter_tspatial_stbox(Pointer temp, Pointer box) { - var _result = _meos_d.overafter_tspatial_stbox(temp, box); + public static int always_eq_tpose_tpose(Pointer temp1, Pointer temp2) { + var _result = _meos_d.always_eq_tpose_tpose(temp1, temp2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean overafter_tspatial_tspatial(Pointer temp1, Pointer temp2) { - var _result = _meos_d.overafter_tspatial_tspatial(temp1, temp2); + public static int always_ne_pose_tpose(Pointer pose, Pointer temp) { + var _result = _meos_d.always_ne_pose_tpose(pose, temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean overback_stbox_tspatial(Pointer box, Pointer temp) { - var _result = _meos_d.overback_stbox_tspatial(box, temp); + public static int always_ne_tpose_pose(Pointer temp, Pointer pose) { + var _result = _meos_d.always_ne_tpose_pose(temp, pose); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean overback_tspatial_stbox(Pointer temp, Pointer box) { - var _result = _meos_d.overback_tspatial_stbox(temp, box); + public static int always_ne_tpose_tpose(Pointer temp1, Pointer temp2) { + var _result = _meos_d.always_ne_tpose_tpose(temp1, temp2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean overback_tspatial_tspatial(Pointer temp1, Pointer temp2) { - var _result = _meos_d.overback_tspatial_tspatial(temp1, temp2); + public static int ever_eq_pose_tpose(Pointer pose, Pointer temp) { + var _result = _meos_d.ever_eq_pose_tpose(pose, temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean overbefore_stbox_tspatial(Pointer box, Pointer temp) { - var _result = _meos_d.overbefore_stbox_tspatial(box, temp); + public static int ever_eq_tpose_pose(Pointer temp, Pointer pose) { + var _result = _meos_d.ever_eq_tpose_pose(temp, pose); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean overbefore_tspatial_stbox(Pointer temp, Pointer box) { - var _result = _meos_d.overbefore_tspatial_stbox(temp, box); + public static int ever_eq_tpose_tpose(Pointer temp1, Pointer temp2) { + var _result = _meos_d.ever_eq_tpose_tpose(temp1, temp2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean overbefore_tspatial_tspatial(Pointer temp1, Pointer temp2) { - var _result = _meos_d.overbefore_tspatial_tspatial(temp1, temp2); + public static int ever_ne_pose_tpose(Pointer pose, Pointer temp) { + var _result = _meos_d.ever_ne_pose_tpose(pose, temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean overbelow_stbox_tspatial(Pointer box, Pointer temp) { - var _result = _meos_d.overbelow_stbox_tspatial(box, temp); + public static int ever_ne_tpose_pose(Pointer temp, Pointer pose) { + var _result = _meos_d.ever_ne_tpose_pose(temp, pose); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean overbelow_tspatial_stbox(Pointer temp, Pointer box) { - var _result = _meos_d.overbelow_tspatial_stbox(temp, box); + public static int ever_ne_tpose_tpose(Pointer temp1, Pointer temp2) { + var _result = _meos_d.ever_ne_tpose_tpose(temp1, temp2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean overbelow_tspatial_tspatial(Pointer temp1, Pointer temp2) { - var _result = _meos_d.overbelow_tspatial_tspatial(temp1, temp2); + public static Pointer teq_pose_tpose(Pointer pose, Pointer temp) { + var _result = _meos_d.teq_pose_tpose(pose, temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean overfront_stbox_tspatial(Pointer box, Pointer temp) { - var _result = _meos_d.overfront_stbox_tspatial(box, temp); + public static Pointer teq_tpose_pose(Pointer temp, Pointer pose) { + var _result = _meos_d.teq_tpose_pose(temp, pose); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean overfront_tspatial_stbox(Pointer temp, Pointer box) { - var _result = _meos_d.overfront_tspatial_stbox(temp, box); + public static Pointer tne_pose_tpose(Pointer pose, Pointer temp) { + var _result = _meos_d.tne_pose_tpose(pose, temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean overfront_tspatial_tspatial(Pointer temp1, Pointer temp2) { - var _result = _meos_d.overfront_tspatial_tspatial(temp1, temp2); + public static Pointer tne_tpose_pose(Pointer temp, Pointer pose) { + var _result = _meos_d.tne_tpose_pose(temp, pose); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean overleft_stbox_tspatial(Pointer box, Pointer temp) { - var _result = _meos_d.overleft_stbox_tspatial(box, temp); + public static String trgeo_out(Pointer temp) { + var _result = _meos_d.trgeo_out(temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean overleft_tspatial_stbox(Pointer temp, Pointer box) { - var _result = _meos_d.overleft_tspatial_stbox(temp, box); + public static Pointer trgeoinst_make(Pointer geom, Pointer pose, OffsetDateTime t) { + var t_new = t.toEpochSecond(); + var _result = _meos_d.trgeoinst_make(geom, pose, t_new); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean overleft_tspatial_tspatial(Pointer temp1, Pointer temp2) { - var _result = _meos_d.overleft_tspatial_tspatial(temp1, temp2); + public static Pointer geo_tpose_to_trgeo(Pointer gs, Pointer temp) { + var _result = _meos_d.geo_tpose_to_trgeo(gs, temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean overright_stbox_tspatial(Pointer box, Pointer temp) { - var _result = _meos_d.overright_stbox_tspatial(box, temp); + public static Pointer trgeo_to_tpose(Pointer temp) { + var _result = _meos_d.trgeo_to_tpose(temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean overright_tspatial_stbox(Pointer temp, Pointer box) { - var _result = _meos_d.overright_tspatial_stbox(temp, box); + public static Pointer trgeo_to_tpoint(Pointer temp) { + var _result = _meos_d.trgeo_to_tpoint(temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean overright_tspatial_tspatial(Pointer temp1, Pointer temp2) { - var _result = _meos_d.overright_tspatial_tspatial(temp1, temp2); + public static Pointer trgeo_end_instant(Pointer temp) { + var _result = _meos_d.trgeo_end_instant(temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean right_stbox_tspatial(Pointer box, Pointer temp) { - var _result = _meos_d.right_stbox_tspatial(box, temp); + public static Pointer trgeo_end_sequence(Pointer temp) { + var _result = _meos_d.trgeo_end_sequence(temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean right_tspatial_stbox(Pointer temp, Pointer box) { - var _result = _meos_d.right_tspatial_stbox(temp, box); + public static Pointer trgeo_end_value(Pointer temp) { + var _result = _meos_d.trgeo_end_value(temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static boolean right_tspatial_tspatial(Pointer temp1, Pointer temp2) { - var _result = _meos_d.right_tspatial_tspatial(temp1, temp2); + public static Pointer trgeo_geom(Pointer temp) { + var _result = _meos_d.trgeo_geom(temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int acontains_geo_tgeo(Pointer gs, Pointer temp) { - var _result = _meos_d.acontains_geo_tgeo(gs, temp); + public static Pointer trgeo_instant_n(Pointer temp, int n) { + var _result = _meos_d.trgeo_instant_n(temp, n); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int acontains_tgeo_geo(Pointer temp, Pointer gs) { - var _result = _meos_d.acontains_tgeo_geo(temp, gs); + public static Pointer trgeo_instants(Pointer temp, Pointer count) { + var _result = _meos_d.trgeo_instants(temp, count); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int acontains_tgeo_tgeo(Pointer temp1, Pointer temp2) { - var _result = _meos_d.acontains_tgeo_tgeo(temp1, temp2); + public static Pointer trgeo_points(Pointer temp) { + var _result = _meos_d.trgeo_points(temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int adisjoint_tgeo_geo(Pointer temp, Pointer gs) { - var _result = _meos_d.adisjoint_tgeo_geo(temp, gs); + public static Pointer trgeo_rotation(Pointer temp) { + var _result = _meos_d.trgeo_rotation(temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int adisjoint_tgeo_tgeo(Pointer temp1, Pointer temp2) { - var _result = _meos_d.adisjoint_tgeo_tgeo(temp1, temp2); + public static Pointer trgeo_segments(Pointer temp, Pointer count) { + var _result = _meos_d.trgeo_segments(temp, count); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int adwithin_tgeo_geo(Pointer temp, Pointer gs, double dist) { - var _result = _meos_d.adwithin_tgeo_geo(temp, gs, dist); + public static Pointer trgeo_sequence_n(Pointer temp, int i) { + var _result = _meos_d.trgeo_sequence_n(temp, i); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int adwithin_tgeo_tgeo(Pointer temp1, Pointer temp2, double dist) { - var _result = _meos_d.adwithin_tgeo_tgeo(temp1, temp2, dist); + public static Pointer trgeo_sequences(Pointer temp, Pointer count) { + var _result = _meos_d.trgeo_sequences(temp, count); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int aintersects_tgeo_geo(Pointer temp, Pointer gs) { - var _result = _meos_d.aintersects_tgeo_geo(temp, gs); + public static Pointer trgeo_start_instant(Pointer temp) { + var _result = _meos_d.trgeo_start_instant(temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int aintersects_tgeo_tgeo(Pointer temp1, Pointer temp2) { - var _result = _meos_d.aintersects_tgeo_tgeo(temp1, temp2); + public static Pointer trgeo_start_sequence(Pointer temp) { + var _result = _meos_d.trgeo_start_sequence(temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int atouches_tgeo_geo(Pointer temp, Pointer gs) { - var _result = _meos_d.atouches_tgeo_geo(temp, gs); + public static Pointer trgeo_start_value(Pointer temp) { + var _result = _meos_d.trgeo_start_value(temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int atouches_tgeo_tgeo(Pointer temp1, Pointer temp2) { - var _result = _meos_d.atouches_tgeo_tgeo(temp1, temp2); + public static Pointer trgeo_value_n(Pointer temp, int n) { + boolean out; + Runtime runtime = Runtime.getSystemRuntime(); + Pointer result = Memory.allocateDirect(runtime, Long.BYTES); + out = _meos_d.trgeo_value_n(temp, n, result); + Pointer new_result = result.getPointer(0); MeosErrorHandler.checkError(); - return _result; + return out ? new_result : null; } @SuppressWarnings("unused") - public static int atouches_tpoint_geo(Pointer temp, Pointer gs) { - var _result = _meos_d.atouches_tpoint_geo(temp, gs); + public static Pointer trgeo_traversed_area(Pointer temp, boolean unary_union) { + var _result = _meos_d.trgeo_traversed_area(temp, unary_union); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int econtains_geo_tgeo(Pointer gs, Pointer temp) { - var _result = _meos_d.econtains_geo_tgeo(gs, temp); + public static Pointer trgeo_append_tinstant(Pointer temp, Pointer inst, int interp, double maxdist, Pointer maxt, boolean expand) { + var _result = _meos_d.trgeo_append_tinstant(temp, inst, interp, maxdist, maxt, expand); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int econtains_tgeo_geo(Pointer temp, Pointer gs) { - var _result = _meos_d.econtains_tgeo_geo(temp, gs); + public static Pointer trgeo_append_tsequence(Pointer temp, Pointer seq, boolean expand) { + var _result = _meos_d.trgeo_append_tsequence(temp, seq, expand); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int econtains_tgeo_tgeo(Pointer temp1, Pointer temp2) { - var _result = _meos_d.econtains_tgeo_tgeo(temp1, temp2); + public static Pointer trgeo_delete_timestamptz(Pointer temp, OffsetDateTime t, boolean connect) { + var t_new = t.toEpochSecond(); + var _result = _meos_d.trgeo_delete_timestamptz(temp, t_new, connect); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int ecovers_geo_tgeo(Pointer gs, Pointer temp) { - var _result = _meos_d.ecovers_geo_tgeo(gs, temp); + public static Pointer trgeo_delete_tstzset(Pointer temp, Pointer s, boolean connect) { + var _result = _meos_d.trgeo_delete_tstzset(temp, s, connect); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int ecovers_tgeo_geo(Pointer temp, Pointer gs) { - var _result = _meos_d.ecovers_tgeo_geo(temp, gs); + public static Pointer trgeo_delete_tstzspan(Pointer temp, Pointer s, boolean connect) { + var _result = _meos_d.trgeo_delete_tstzspan(temp, s, connect); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int ecovers_tgeo_tgeo(Pointer temp1, Pointer temp2) { - var _result = _meos_d.ecovers_tgeo_tgeo(temp1, temp2); + public static Pointer trgeo_delete_tstzspanset(Pointer temp, Pointer ss, boolean connect) { + var _result = _meos_d.trgeo_delete_tstzspanset(temp, ss, connect); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int edisjoint_tgeo_geo(Pointer temp, Pointer gs) { - var _result = _meos_d.edisjoint_tgeo_geo(temp, gs); + public static Pointer trgeo_round(Pointer temp, int maxdd) { + var _result = _meos_d.trgeo_round(temp, maxdd); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int edisjoint_tgeo_tgeo(Pointer temp1, Pointer temp2) { - var _result = _meos_d.edisjoint_tgeo_tgeo(temp1, temp2); + public static Pointer trgeo_set_interp(Pointer temp, int interp) { + var _result = _meos_d.trgeo_set_interp(temp, interp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int edwithin_tgeo_geo(Pointer temp, Pointer gs, double dist) { - var _result = _meos_d.edwithin_tgeo_geo(temp, gs, dist); + public static Pointer trgeo_to_tinstant(Pointer temp) { + var _result = _meos_d.trgeo_to_tinstant(temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int edwithin_tgeo_tgeo(Pointer temp1, Pointer temp2, double dist) { - var _result = _meos_d.edwithin_tgeo_tgeo(temp1, temp2, dist); + public static Pointer trgeo_after_timestamptz(Pointer temp, OffsetDateTime t, boolean strict) { + var t_new = t.toEpochSecond(); + var _result = _meos_d.trgeo_after_timestamptz(temp, t_new, strict); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int eintersects_tgeo_geo(Pointer temp, Pointer gs) { - var _result = _meos_d.eintersects_tgeo_geo(temp, gs); + public static Pointer trgeo_before_timestamptz(Pointer temp, OffsetDateTime t, boolean strict) { + var t_new = t.toEpochSecond(); + var _result = _meos_d.trgeo_before_timestamptz(temp, t_new, strict); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int eintersects_tgeo_tgeo(Pointer temp1, Pointer temp2) { - var _result = _meos_d.eintersects_tgeo_tgeo(temp1, temp2); + public static Pointer trgeo_restrict_value(Pointer temp, Pointer value, boolean atfunc) { + var _result = _meos_d.trgeo_restrict_value(temp, value, atfunc); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int etouches_tgeo_geo(Pointer temp, Pointer gs) { - var _result = _meos_d.etouches_tgeo_geo(temp, gs); + public static Pointer trgeo_restrict_values(Pointer temp, Pointer s, boolean atfunc) { + var _result = _meos_d.trgeo_restrict_values(temp, s, atfunc); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int etouches_tgeo_tgeo(Pointer temp1, Pointer temp2) { - var _result = _meos_d.etouches_tgeo_tgeo(temp1, temp2); + public static Pointer trgeo_restrict_timestamptz(Pointer temp, OffsetDateTime t, boolean atfunc) { + var t_new = t.toEpochSecond(); + var _result = _meos_d.trgeo_restrict_timestamptz(temp, t_new, atfunc); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static int etouches_tpoint_geo(Pointer temp, Pointer gs) { - var _result = _meos_d.etouches_tpoint_geo(temp, gs); + public static Pointer trgeo_restrict_tstzset(Pointer temp, Pointer s, boolean atfunc) { + var _result = _meos_d.trgeo_restrict_tstzset(temp, s, atfunc); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tcontains_geo_tgeo(Pointer gs, Pointer temp, boolean restr, boolean atvalue) { - var _result = _meos_d.tcontains_geo_tgeo(gs, temp, restr, atvalue); + public static Pointer trgeo_restrict_tstzspan(Pointer temp, Pointer s, boolean atfunc) { + var _result = _meos_d.trgeo_restrict_tstzspan(temp, s, atfunc); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tcontains_tgeo_geo(Pointer temp, Pointer gs, boolean restr, boolean atvalue) { - var _result = _meos_d.tcontains_tgeo_geo(temp, gs, restr, atvalue); + public static Pointer trgeo_restrict_tstzspanset(Pointer temp, Pointer ss, boolean atfunc) { + var _result = _meos_d.trgeo_restrict_tstzspanset(temp, ss, atfunc); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tcontains_tgeo_tgeo(Pointer temp1, Pointer temp2, boolean restr, boolean atvalue) { - var _result = _meos_d.tcontains_tgeo_tgeo(temp1, temp2, restr, atvalue); + public static Pointer tdistance_trgeo_geo(Pointer temp, Pointer gs) { + var _result = _meos_d.tdistance_trgeo_geo(temp, gs); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tcovers_geo_tgeo(Pointer gs, Pointer temp, boolean restr, boolean atvalue) { - var _result = _meos_d.tcovers_geo_tgeo(gs, temp, restr, atvalue); + public static Pointer tdistance_trgeo_tpoint(Pointer temp1, Pointer temp2) { + var _result = _meos_d.tdistance_trgeo_tpoint(temp1, temp2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tcovers_tgeo_geo(Pointer temp, Pointer gs, boolean restr, boolean atvalue) { - var _result = _meos_d.tcovers_tgeo_geo(temp, gs, restr, atvalue); + public static Pointer tdistance_trgeo_trgeo(Pointer temp1, Pointer temp2) { + var _result = _meos_d.tdistance_trgeo_trgeo(temp1, temp2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tcovers_tgeo_tgeo(Pointer temp1, Pointer temp2, boolean restr, boolean atvalue) { - var _result = _meos_d.tcovers_tgeo_tgeo(temp1, temp2, restr, atvalue); + public static double nad_stbox_trgeo(Pointer box, Pointer temp) { + var _result = _meos_d.nad_stbox_trgeo(box, temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tdisjoint_geo_tgeo(Pointer gs, Pointer temp, boolean restr, boolean atvalue) { - var _result = _meos_d.tdisjoint_geo_tgeo(gs, temp, restr, atvalue); + public static double nad_trgeo_geo(Pointer temp, Pointer gs) { + var _result = _meos_d.nad_trgeo_geo(temp, gs); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tdisjoint_tgeo_geo(Pointer temp, Pointer gs, boolean restr, boolean atvalue) { - var _result = _meos_d.tdisjoint_tgeo_geo(temp, gs, restr, atvalue); + public static double nad_trgeo_stbox(Pointer temp, Pointer box) { + var _result = _meos_d.nad_trgeo_stbox(temp, box); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tdisjoint_tgeo_tgeo(Pointer temp1, Pointer temp2, boolean restr, boolean atvalue) { - var _result = _meos_d.tdisjoint_tgeo_tgeo(temp1, temp2, restr, atvalue); + public static double nad_trgeo_tpoint(Pointer temp1, Pointer temp2) { + var _result = _meos_d.nad_trgeo_tpoint(temp1, temp2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tdwithin_geo_tgeo(Pointer gs, Pointer temp, double dist, boolean restr, boolean atvalue) { - var _result = _meos_d.tdwithin_geo_tgeo(gs, temp, dist, restr, atvalue); + public static double nad_trgeo_trgeo(Pointer temp1, Pointer temp2) { + var _result = _meos_d.nad_trgeo_trgeo(temp1, temp2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tdwithin_tgeo_geo(Pointer temp, Pointer gs, double dist, boolean restr, boolean atvalue) { - var _result = _meos_d.tdwithin_tgeo_geo(temp, gs, dist, restr, atvalue); + public static Pointer nai_trgeo_geo(Pointer temp, Pointer gs) { + var _result = _meos_d.nai_trgeo_geo(temp, gs); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tdwithin_tgeo_tgeo(Pointer temp1, Pointer temp2, double dist, boolean restr, boolean atvalue) { - var _result = _meos_d.tdwithin_tgeo_tgeo(temp1, temp2, dist, restr, atvalue); + public static Pointer nai_trgeo_tpoint(Pointer temp1, Pointer temp2) { + var _result = _meos_d.nai_trgeo_tpoint(temp1, temp2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tintersects_geo_tgeo(Pointer gs, Pointer temp, boolean restr, boolean atvalue) { - var _result = _meos_d.tintersects_geo_tgeo(gs, temp, restr, atvalue); + public static Pointer nai_trgeo_trgeo(Pointer temp1, Pointer temp2) { + var _result = _meos_d.nai_trgeo_trgeo(temp1, temp2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tintersects_tgeo_geo(Pointer temp, Pointer gs, boolean restr, boolean atvalue) { - var _result = _meos_d.tintersects_tgeo_geo(temp, gs, restr, atvalue); + public static Pointer shortestline_trgeo_geo(Pointer temp, Pointer gs) { + var _result = _meos_d.shortestline_trgeo_geo(temp, gs); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tintersects_tgeo_tgeo(Pointer temp1, Pointer temp2, boolean restr, boolean atvalue) { - var _result = _meos_d.tintersects_tgeo_tgeo(temp1, temp2, restr, atvalue); + public static Pointer shortestline_trgeo_tpoint(Pointer temp1, Pointer temp2) { + var _result = _meos_d.shortestline_trgeo_tpoint(temp1, temp2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer ttouches_geo_tgeo(Pointer gs, Pointer temp, boolean restr, boolean atvalue) { - var _result = _meos_d.ttouches_geo_tgeo(gs, temp, restr, atvalue); + public static Pointer shortestline_trgeo_trgeo(Pointer temp1, Pointer temp2) { + var _result = _meos_d.shortestline_trgeo_trgeo(temp1, temp2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer ttouches_tgeo_geo(Pointer temp, Pointer gs, boolean restr, boolean atvalue) { - var _result = _meos_d.ttouches_tgeo_geo(temp, gs, restr, atvalue); + public static int always_eq_geo_trgeo(Pointer gs, Pointer temp) { + var _result = _meos_d.always_eq_geo_trgeo(gs, temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer ttouches_tgeo_tgeo(Pointer temp1, Pointer temp2, boolean restr, boolean atvalue) { - var _result = _meos_d.ttouches_tgeo_tgeo(temp1, temp2, restr, atvalue); + public static int always_eq_trgeo_geo(Pointer temp, Pointer gs) { + var _result = _meos_d.always_eq_trgeo_geo(temp, gs); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tdistance_tgeo_geo(Pointer temp, Pointer gs) { - var _result = _meos_d.tdistance_tgeo_geo(temp, gs); + public static int always_eq_trgeo_trgeo(Pointer temp1, Pointer temp2) { + var _result = _meos_d.always_eq_trgeo_trgeo(temp1, temp2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tdistance_tgeo_tgeo(Pointer temp1, Pointer temp2) { - var _result = _meos_d.tdistance_tgeo_tgeo(temp1, temp2); + public static int always_ne_geo_trgeo(Pointer gs, Pointer temp) { + var _result = _meos_d.always_ne_geo_trgeo(gs, temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static double nad_stbox_geo(Pointer box, Pointer gs) { - var _result = _meos_d.nad_stbox_geo(box, gs); + public static int always_ne_trgeo_geo(Pointer temp, Pointer gs) { + var _result = _meos_d.always_ne_trgeo_geo(temp, gs); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static double nad_stbox_stbox(Pointer box1, Pointer box2) { - var _result = _meos_d.nad_stbox_stbox(box1, box2); + public static int always_ne_trgeo_trgeo(Pointer temp1, Pointer temp2) { + var _result = _meos_d.always_ne_trgeo_trgeo(temp1, temp2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static double nad_tgeo_geo(Pointer temp, Pointer gs) { - var _result = _meos_d.nad_tgeo_geo(temp, gs); + public static int ever_eq_geo_trgeo(Pointer gs, Pointer temp) { + var _result = _meos_d.ever_eq_geo_trgeo(gs, temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static double nad_tgeo_stbox(Pointer temp, Pointer box) { - var _result = _meos_d.nad_tgeo_stbox(temp, box); + public static int ever_eq_trgeo_geo(Pointer temp, Pointer gs) { + var _result = _meos_d.ever_eq_trgeo_geo(temp, gs); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static double nad_tgeo_tgeo(Pointer temp1, Pointer temp2) { - var _result = _meos_d.nad_tgeo_tgeo(temp1, temp2); + public static int ever_eq_trgeo_trgeo(Pointer temp1, Pointer temp2) { + var _result = _meos_d.ever_eq_trgeo_trgeo(temp1, temp2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer nai_tgeo_geo(Pointer temp, Pointer gs) { - var _result = _meos_d.nai_tgeo_geo(temp, gs); + public static int ever_ne_geo_trgeo(Pointer gs, Pointer temp) { + var _result = _meos_d.ever_ne_geo_trgeo(gs, temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer nai_tgeo_tgeo(Pointer temp1, Pointer temp2) { - var _result = _meos_d.nai_tgeo_tgeo(temp1, temp2); + public static int ever_ne_trgeo_geo(Pointer temp, Pointer gs) { + var _result = _meos_d.ever_ne_trgeo_geo(temp, gs); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer shortestline_tgeo_geo(Pointer temp, Pointer gs) { - var _result = _meos_d.shortestline_tgeo_geo(temp, gs); + public static int ever_ne_trgeo_trgeo(Pointer temp1, Pointer temp2) { + var _result = _meos_d.ever_ne_trgeo_trgeo(temp1, temp2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer shortestline_tgeo_tgeo(Pointer temp1, Pointer temp2) { - var _result = _meos_d.shortestline_tgeo_tgeo(temp1, temp2); + public static Pointer teq_geo_trgeo(Pointer gs, Pointer temp) { + var _result = _meos_d.teq_geo_trgeo(gs, temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tpoint_tcentroid_finalfn(Pointer state) { - var _result = _meos_d.tpoint_tcentroid_finalfn(state); + public static Pointer teq_trgeo_geo(Pointer temp, Pointer gs) { + var _result = _meos_d.teq_trgeo_geo(temp, gs); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tpoint_tcentroid_transfn(Pointer state, Pointer temp) { - var _result = _meos_d.tpoint_tcentroid_transfn(state, temp); + public static Pointer tne_geo_trgeo(Pointer gs, Pointer temp) { + var _result = _meos_d.tne_geo_trgeo(gs, temp); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tspatial_extent_transfn(Pointer box, Pointer temp) { - var _result = _meos_d.tspatial_extent_transfn(box, temp); + public static Pointer tne_trgeo_geo(Pointer temp, Pointer gs) { + var _result = _meos_d.tne_trgeo_geo(temp, gs); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer stbox_get_space_tile(Pointer point, double xsize, double ysize, double zsize, Pointer sorigin) { - var _result = _meos_d.stbox_get_space_tile(point, xsize, ysize, zsize, sorigin); + public static int geo_get_srid(Pointer g) { + var _result = _meos_d.geo_get_srid(g); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer stbox_get_space_time_tile(Pointer point, OffsetDateTime t, double xsize, double ysize, double zsize, Pointer duration, Pointer sorigin, OffsetDateTime torigin) { - var t_new = t.toEpochSecond(); - var torigin_new = torigin.toEpochSecond(); - var _result = _meos_d.stbox_get_space_time_tile(point, t_new, xsize, ysize, zsize, duration, sorigin, torigin_new); + public static int date_in(String str) { + var _result = _meos_d.date_in(str); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer stbox_get_time_tile(OffsetDateTime t, Pointer duration, OffsetDateTime torigin) { - var t_new = t.toEpochSecond(); - var torigin_new = torigin.toEpochSecond(); - var _result = _meos_d.stbox_get_time_tile(t_new, duration, torigin_new); + public static String date_out(int d) { + var _result = _meos_d.date_out(d); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer stbox_space_tiles(Pointer bounds, double xsize, double ysize, double zsize, Pointer sorigin, boolean border_inc, Pointer count) { - var _result = _meos_d.stbox_space_tiles(bounds, xsize, ysize, zsize, sorigin, border_inc, count); + public static int interval_cmp(Pointer interv1, Pointer interv2) { + var _result = _meos_d.interval_cmp(interv1, interv2); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer stbox_space_time_tiles(Pointer bounds, double xsize, double ysize, double zsize, Pointer duration, Pointer sorigin, OffsetDateTime torigin, boolean border_inc, Pointer count) { - var torigin_new = torigin.toEpochSecond(); - var _result = _meos_d.stbox_space_time_tiles(bounds, xsize, ysize, zsize, duration, sorigin, torigin_new, border_inc, count); + public static Pointer interval_in(String str, int typmod) { + var _result = _meos_d.interval_in(str, typmod); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer stbox_time_tiles(Pointer bounds, Pointer duration, OffsetDateTime torigin, boolean border_inc, Pointer count) { - var torigin_new = torigin.toEpochSecond(); - var _result = _meos_d.stbox_time_tiles(bounds, duration, torigin_new, border_inc, count); + public static String interval_out(Pointer interv) { + var _result = _meos_d.interval_out(interv); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tgeo_space_split(Pointer temp, double xsize, double ysize, double zsize, Pointer sorigin, boolean bitmatrix, boolean border_inc, Pointer space_bins, Pointer count) { - var _result = _meos_d.tgeo_space_split(temp, xsize, ysize, zsize, sorigin, bitmatrix, border_inc, space_bins, count); + public static Pointer time_in(String str, int typmod) { + var _result = _meos_d.time_in(str, typmod); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer tgeo_space_time_split(Pointer temp, double xsize, double ysize, double zsize, Pointer duration, Pointer sorigin, OffsetDateTime torigin, boolean bitmatrix, boolean border_inc, Pointer space_bins, Pointer time_bins, Pointer count) { - var torigin_new = torigin.toEpochSecond(); - var _result = _meos_d.tgeo_space_time_split(temp, xsize, ysize, zsize, duration, sorigin, torigin_new, bitmatrix, border_inc, space_bins, time_bins, count); + public static String time_out(Pointer t) { + var _result = _meos_d.time_out(t); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer geo_cluster_kmeans(Pointer geoms, int ngeoms, int k) { - var _result = _meos_d.geo_cluster_kmeans(geoms, ngeoms, k); + public static LocalDateTime timestamp_in(String str, int typmod) { + var _result = _meos_d.timestamp_in(str, typmod); MeosErrorHandler.checkError(); - return _result; + return java.time.LocalDateTime.ofInstant(java.time.Instant.ofEpochSecond(_result), java.time.ZoneOffset.UTC); } @SuppressWarnings("unused") - public static Pointer geo_cluster_dbscan(Pointer geoms, int ngeoms, double tolerance, int minpoints, Pointer count) { - var _result = _meos_d.geo_cluster_dbscan(geoms, ngeoms, tolerance, minpoints, count); + public static String timestamp_out(LocalDateTime t) { + var t_new = t.toInstant(java.time.ZoneOffset.UTC).getEpochSecond(); + var _result = _meos_d.timestamp_out(t_new); MeosErrorHandler.checkError(); return _result; } @SuppressWarnings("unused") - public static Pointer geo_cluster_intersecting(Pointer geoms, int ngeoms, Pointer count) { - var _result = _meos_d.geo_cluster_intersecting(geoms, ngeoms, count); + public static OffsetDateTime timestamptz_in(String str, int typmod) { + var _result = _meos_d.timestamptz_in(str, typmod); MeosErrorHandler.checkError(); - return _result; + return java.time.Instant.ofEpochSecond(_result).atOffset(java.time.ZoneOffset.UTC); } @SuppressWarnings("unused") - public static Pointer geo_cluster_within(Pointer geoms, int ngeoms, double tolerance, Pointer count) { - var _result = _meos_d.geo_cluster_within(geoms, ngeoms, tolerance, count); + public static String timestamptz_out(OffsetDateTime t) { + var t_new = t.toEpochSecond(); + var _result = _meos_d.timestamptz_out(t_new); MeosErrorHandler.checkError(); return _result; } From c27a06641269a8ac178a088f388c6a1913d20ad3 Mon Sep 17 00:00:00 2001 From: Esteban Zimanyi Date: Sun, 31 May 2026 09:09:25 +0200 Subject: [PATCH 2/5] feat(build): select MEOS type families with MobilityDB/MEOS-style build flags The functions.GeneratedFunctions facade is generated at build time from the MEOS IDL with the optional type families selected by the same flag names and ON|OFF (also 1|0) values as the MobilityDB/MEOS build: -DCBUFFER, -DNPOINT, -DPOSE, -DRGEO, -DH3. Every family is included by default; passing -DCBUFFER=OFF (or =0) drops that family's functions from the generated binding so a subset jar ships without it (RGEO needs POSE). FunctionsGenerator maps each function's source header to its family and omits excluded families; jmeos-core runs the generator at generate-sources (so the flag flows through mvn) and compiles the generated functions.GeneratedFunctions. --- codegen/src/main/java/FunctionsGenerator.java | 53 + jmeos-core/pom.xml | 51 + .../java/functions/GeneratedFunctions.java | 26610 ---------------- 3 files changed, 104 insertions(+), 26610 deletions(-) delete mode 100644 jmeos-core/src/main/java/functions/GeneratedFunctions.java diff --git a/codegen/src/main/java/FunctionsGenerator.java b/codegen/src/main/java/FunctionsGenerator.java index 2064f840..ed053084 100644 --- a/codegen/src/main/java/FunctionsGenerator.java +++ b/codegen/src/main/java/FunctionsGenerator.java @@ -35,6 +35,51 @@ public class FunctionsGenerator { // so we force long when the interface type resolved to int for these names. private static final Set SIZE_PARAM_NAMES = Set.of("size", "wkb_size"); + // ------------------------------------------------------------------------- + // Optional MEOS type families, gated by build flags mirroring the + // MobilityDB/MEOS flag names and ON|OFF (also 1|0) values: -DCBUFFER=OFF, + // -DNPOINT=OFF, -DPOSE=OFF, -DRGEO=OFF, -DH3=OFF. Each family maps to the + // public headers that declare its functions; a function whose header belongs + // to an excluded family is omitted from the generated binding, so a subset + // jar ships without it. The shared binding jar includes every family by + // default; pass -D=OFF|0 to drop one (RGEO needs POSE). + // ------------------------------------------------------------------------- + private static final Map HEADER_FAMILY = Map.ofEntries( + Map.entry("meos_cbuffer.h", "CBUFFER"), + Map.entry("meos_npoint.h", "NPOINT"), + Map.entry("meos_pose.h", "POSE"), + Map.entry("meos_rgeo.h", "RGEO"), + Map.entry("meos_h3.h", "H3"), + Map.entry("th3index.h", "H3"), + Map.entry("th3index_internal.h", "H3"), + Map.entry("th3index_boxops.h", "H3"), + Map.entry("h3index.h", "H3"), + Map.entry("h3index_sets.h", "H3"), + Map.entry("h3_generated.h", "H3")); + private static final Set OPTIONAL_FAMILIES = + Set.of("CBUFFER", "NPOINT", "POSE", "RGEO", "H3"); + + // Families enabled for this generation run; core headers are always emitted. + private Set enabledFamilies; + + private static Set resolveEnabledFamilies() { + Set enabled = new LinkedHashSet<>(); + for (String family : OPTIONAL_FAMILIES) { + String v = System.getProperty(family); + boolean off = v != null + && (v.equalsIgnoreCase("OFF") || v.equals("0") || v.equalsIgnoreCase("false")); + if (!off) { + enabled.add(family); // included by default, dropped only by -D=OFF|0 + } + } + return enabled; + } + + private boolean familyEnabled(String file) { + String family = HEADER_FAMILY.get(file); + return family == null || enabledFamilies.contains(family); // core (unmapped) always on + } + // Output-only size parameters that must not appear in the public // static wrapper signature. // @@ -121,7 +166,15 @@ private void run(String inputPath, String outputPath) throws IOException { List functions = new ArrayList<>(); Set seen = new LinkedHashSet<>(); // deduplicate by name#arity + enabledFamilies = resolveEnabledFamilies(); + System.out.println("Enabled optional families: " + enabledFamilies + + " (core always included)"); + for (JsonNode fn : functionsNode) { + JsonNode fileNode = fn.get("file"); + if (fileNode != null && !familyEnabled(fileNode.asText())) { + continue; // function belongs to a disabled type family + } FunctionDef def = parseFunctionDef(fn); String key = def.name + "#" + def.params.size(); if (seen.add(key)) { diff --git a/jmeos-core/pom.xml b/jmeos-core/pom.xml index dd37ac3a..50255343 100644 --- a/jmeos-core/pom.xml +++ b/jmeos-core/pom.xml @@ -240,6 +240,57 @@ + + + org.codehaus.mojo + exec-maven-plugin + 3.1.0 + + + generate-meos-facade + generate-sources + + java + + + FunctionsGenerator + + ${project.basedir}/../codegen/target/classes + + + ${project.basedir}/../codegen/input/meos-idl.json + ${project.build.directory}/generated-sources/jmeos/functions/GeneratedFunctions.java + + + + + + + + org.codehaus.mojo + build-helper-maven-plugin + 3.5.0 + + + add-generated-facade + generate-sources + + add-source + + + + ${project.build.directory}/generated-sources/jmeos + + + + + + org.apache.maven.plugins maven-compiler-plugin diff --git a/jmeos-core/src/main/java/functions/GeneratedFunctions.java b/jmeos-core/src/main/java/functions/GeneratedFunctions.java deleted file mode 100644 index 3dc0aae9..00000000 --- a/jmeos-core/src/main/java/functions/GeneratedFunctions.java +++ /dev/null @@ -1,26610 +0,0 @@ -package functions; - -import jnr.ffi.Pointer; -import jnr.ffi.Memory; -import jnr.ffi.Runtime; -import jnr.ffi.byref.PointerByReference; -import jnr.ffi.Struct; -import utils.JarLibraryLoader; -import utils.meosCatalog.MeosEnums.meosType; -import utils.meosCatalog.MeosEnums.meosOper; -import functions.MeosErrorHandler; - -import java.time.*; - -public class GeneratedFunctions { - public interface MeosLibraryPartA { - - Pointer meos_array_create(int elem_size); - - void meos_array_add(Pointer array, Pointer value); - - Pointer meos_array_get(Pointer array, int n); - - int meos_array_count(Pointer array); - - void meos_array_reset(Pointer array); - - void meos_array_reset_free(Pointer array); - - void meos_array_destroy(Pointer array); - - void meos_array_destroy_free(Pointer array); - - Pointer rtree_create_intspan(); - - Pointer rtree_create_bigintspan(); - - Pointer rtree_create_floatspan(); - - Pointer rtree_create_datespan(); - - Pointer rtree_create_tstzspan(); - - Pointer rtree_create_tbox(); - - Pointer rtree_create_stbox(); - - void rtree_free(Pointer rtree); - - void rtree_insert(Pointer rtree, Pointer box, int id); - - void rtree_insert_temporal(Pointer rtree, Pointer temp, int id); - - int rtree_search(Pointer rtree, int op, Pointer query, Pointer result); - - int rtree_search_temporal(Pointer rtree, int op, Pointer temp, Pointer result); - - void meos_error(int errlevel, int errcode, String format); - - int meos_errno(); - - int meos_errno_set(int err); - - int meos_errno_restore(int err); - - int meos_errno_reset(); - - void meos_initialize_timezone(String name); - - void meos_initialize_error_handler(error_handler_fn err_handler); - - void meos_finalize_timezone(); - - void meos_finalize_projsrs(); - - void meos_finalize_ways(); - - boolean meos_set_datestyle(String newval, Pointer extra); - - boolean meos_set_intervalstyle(String newval, int extra); - - String meos_get_datestyle(); - - String meos_get_intervalstyle(); - - void meos_set_spatial_ref_sys_csv(String path); - - void meos_initialize(); - - void meos_finalize(); - - int add_date_int(int d, int days); - - Pointer add_interval_interval(Pointer interv1, Pointer interv2); - - long add_timestamptz_interval(long t, Pointer interv); - - boolean bool_in(String str); - - String bool_out(boolean b); - - Pointer cstring2text(String str); - - long date_to_timestamp(int dateVal); - - long date_to_timestamptz(int d); - - double float_exp(double d); - - double float_ln(double d); - - double float_log10(double d); - - String float8_out(double d, int maxdd); - - double float_round(double d, int maxdd); - - int int32_cmp(int l, int r); - - int int64_cmp(long l, long r); - - Pointer interval_make(int years, int months, int weeks, int days, int hours, int mins, double secs); - - int minus_date_date(int d1, int d2); - - int minus_date_int(int d, int days); - - long minus_timestamptz_interval(long t, Pointer interv); - - Pointer minus_timestamptz_timestamptz(long t1, long t2); - - Pointer mul_interval_double(Pointer interv, double factor); - - int pg_date_in(String str); - - String pg_date_out(int d); - - int pg_interval_cmp(Pointer interv1, Pointer interv2); - - Pointer pg_interval_in(String str, int typmod); - - String pg_interval_out(Pointer interv); - - long pg_timestamp_in(String str, int typmod); - - String pg_timestamp_out(long t); - - long pg_timestamptz_in(String str, int typmod); - - String pg_timestamptz_out(long t); - - String text2cstring(Pointer txt); - - int text_cmp(Pointer txt1, Pointer txt2); - - Pointer text_copy(Pointer txt); - - Pointer text_in(String str); - - Pointer text_initcap(Pointer txt); - - Pointer text_lower(Pointer txt); - - String text_out(Pointer txt); - - Pointer text_upper(Pointer txt); - - Pointer textcat_text_text(Pointer txt1, Pointer txt2); - - long timestamptz_shift(long t, Pointer interv); - - int timestamp_to_date(long t); - - int timestamptz_to_date(long t); - - Pointer bigintset_in(String str); - - String bigintset_out(Pointer set); - - Pointer bigintspan_expand(Pointer s, long value); - - Pointer bigintspan_in(String str); - - String bigintspan_out(Pointer s); - - Pointer bigintspanset_in(String str); - - String bigintspanset_out(Pointer ss); - - Pointer dateset_in(String str); - - String dateset_out(Pointer s); - - Pointer datespan_in(String str); - - String datespan_out(Pointer s); - - Pointer datespanset_in(String str); - - String datespanset_out(Pointer ss); - - Pointer floatset_in(String str); - - String floatset_out(Pointer set, int maxdd); - - Pointer floatspan_expand(Pointer s, double value); - - Pointer floatspan_in(String str); - - String floatspan_out(Pointer s, int maxdd); - - Pointer floatspanset_in(String str); - - String floatspanset_out(Pointer ss, int maxdd); - - Pointer intset_in(String str); - - String intset_out(Pointer set); - - Pointer intspan_expand(Pointer s, int value); - - Pointer intspan_in(String str); - - String intspan_out(Pointer s); - - Pointer intspanset_in(String str); - - String intspanset_out(Pointer ss); - - String set_as_hexwkb(Pointer s, byte variant, Pointer size_out); - - Pointer set_as_wkb(Pointer s, byte variant, Pointer size_out); - - Pointer set_from_hexwkb(String hexwkb); - - Pointer set_from_wkb(Pointer wkb, long size); - - String span_as_hexwkb(Pointer s, byte variant, Pointer size_out); - - Pointer span_as_wkb(Pointer s, byte variant, Pointer size_out); - - Pointer span_from_hexwkb(String hexwkb); - - Pointer span_from_wkb(Pointer wkb, long size); - - String spanset_as_hexwkb(Pointer ss, byte variant, Pointer size_out); - - Pointer spanset_as_wkb(Pointer ss, byte variant, Pointer size_out); - - Pointer spanset_from_hexwkb(String hexwkb); - - Pointer spanset_from_wkb(Pointer wkb, long size); - - Pointer textset_in(String str); - - String textset_out(Pointer set); - - Pointer tstzset_in(String str); - - String tstzset_out(Pointer set); - - Pointer tstzspan_in(String str); - - String tstzspan_out(Pointer s); - - Pointer tstzspanset_in(String str); - - String tstzspanset_out(Pointer ss); - - Pointer bigintset_make(Pointer values, int count); - - Pointer bigintspan_make(long lower, long upper, boolean lower_inc, boolean upper_inc); - - Pointer dateset_make(Pointer values, int count); - - Pointer datespan_make(int lower, int upper, boolean lower_inc, boolean upper_inc); - - Pointer floatset_make(Pointer values, int count); - - Pointer floatspan_make(double lower, double upper, boolean lower_inc, boolean upper_inc); - - Pointer intset_make(Pointer values, int count); - - Pointer intspan_make(int lower, int upper, boolean lower_inc, boolean upper_inc); - - Pointer set_copy(Pointer s); - - Pointer span_copy(Pointer s); - - Pointer spanset_copy(Pointer ss); - - Pointer spanset_make(Pointer spans, int count); - - Pointer textset_make(Pointer values, int count); - - Pointer tstzset_make(Pointer values, int count); - - Pointer tstzspan_make(long lower, long upper, boolean lower_inc, boolean upper_inc); - - Pointer bigint_to_set(long i); - - Pointer bigint_to_span(long i); - - Pointer bigint_to_spanset(long i); - - Pointer bigintspan_to_intspan(Pointer s); - - Pointer bigintspan_to_floatspan(Pointer s); - - Pointer date_to_set(int d); - - Pointer date_to_span(int d); - - Pointer date_to_spanset(int d); - - Pointer dateset_to_tstzset(Pointer s); - - Pointer datespan_to_tstzspan(Pointer s); - - Pointer datespanset_to_tstzspanset(Pointer ss); - - Pointer float_to_set(double d); - - Pointer float_to_span(double d); - - Pointer float_to_spanset(double d); - - Pointer floatset_to_intset(Pointer s); - - Pointer floatspan_to_bigintspan(Pointer s); - - Pointer floatspan_to_intspan(Pointer s); - - Pointer floatspanset_to_intspanset(Pointer ss); - - Pointer int_to_set(int i); - - Pointer int_to_span(int i); - - Pointer int_to_spanset(int i); - - Pointer intset_to_floatset(Pointer s); - - Pointer intspan_to_bigintspan(Pointer s); - - Pointer intspan_to_floatspan(Pointer s); - - Pointer intspanset_to_floatspanset(Pointer ss); - - Pointer set_to_span(Pointer s); - - Pointer set_to_spanset(Pointer s); - - Pointer span_to_spanset(Pointer s); - - Pointer text_to_set(Pointer txt); - - Pointer timestamptz_to_set(long t); - - Pointer timestamptz_to_span(long t); - - Pointer timestamptz_to_spanset(long t); - - Pointer tstzset_to_dateset(Pointer s); - - Pointer tstzspan_to_datespan(Pointer s); - - Pointer tstzspanset_to_datespanset(Pointer ss); - - long bigintset_end_value(Pointer s); - - long bigintset_start_value(Pointer s); - - boolean bigintset_value_n(Pointer s, int n, Pointer result); - - Pointer bigintset_values(Pointer s); - - long bigintspan_lower(Pointer s); - - long bigintspan_upper(Pointer s); - - long bigintspan_width(Pointer s); - - long bigintspanset_lower(Pointer ss); - - long bigintspanset_upper(Pointer ss); - - long bigintspanset_width(Pointer ss, boolean boundspan); - - int dateset_end_value(Pointer s); - - int dateset_start_value(Pointer s); - - boolean dateset_value_n(Pointer s, int n, Pointer result); - - Pointer dateset_values(Pointer s); - - Pointer datespan_duration(Pointer s); - - int datespan_lower(Pointer s); - - int datespan_upper(Pointer s); - - boolean datespanset_date_n(Pointer ss, int n, Pointer result); - - Pointer datespanset_dates(Pointer ss); - - Pointer datespanset_duration(Pointer ss, boolean boundspan); - - int datespanset_end_date(Pointer ss); - - int datespanset_num_dates(Pointer ss); - - int datespanset_start_date(Pointer ss); - - double floatset_end_value(Pointer s); - - double floatset_start_value(Pointer s); - - boolean floatset_value_n(Pointer s, int n, Pointer result); - - Pointer floatset_values(Pointer s); - - double floatspan_lower(Pointer s); - - double floatspan_upper(Pointer s); - - double floatspan_width(Pointer s); - - double floatspanset_lower(Pointer ss); - - double floatspanset_upper(Pointer ss); - - double floatspanset_width(Pointer ss, boolean boundspan); - - int intset_end_value(Pointer s); - - int intset_start_value(Pointer s); - - boolean intset_value_n(Pointer s, int n, Pointer result); - - Pointer intset_values(Pointer s); - - int intspan_lower(Pointer s); - - int intspan_upper(Pointer s); - - int intspan_width(Pointer s); - - int intspanset_lower(Pointer ss); - - int intspanset_upper(Pointer ss); - - int intspanset_width(Pointer ss, boolean boundspan); - - int set_hash(Pointer s); - - long set_hash_extended(Pointer s, long seed); - - int set_num_values(Pointer s); - - int span_hash(Pointer s); - - long span_hash_extended(Pointer s, long seed); - - boolean span_lower_inc(Pointer s); - - boolean span_upper_inc(Pointer s); - - Pointer spanset_end_span(Pointer ss); - - int spanset_hash(Pointer ss); - - long spanset_hash_extended(Pointer ss, long seed); - - boolean spanset_lower_inc(Pointer ss); - - int spanset_num_spans(Pointer ss); - - Pointer spanset_span(Pointer ss); - - Pointer spanset_span_n(Pointer ss, int i); - - Pointer spanset_spanarr(Pointer ss); - - Pointer spanset_start_span(Pointer ss); - - boolean spanset_upper_inc(Pointer ss); - - Pointer textset_end_value(Pointer s); - - Pointer textset_start_value(Pointer s); - - boolean textset_value_n(Pointer s, int n, Pointer result); - - Pointer textset_values(Pointer s); - - long tstzset_end_value(Pointer s); - - long tstzset_start_value(Pointer s); - - boolean tstzset_value_n(Pointer s, int n, Pointer result); - - Pointer tstzset_values(Pointer s); - - Pointer tstzspan_duration(Pointer s); - - long tstzspan_lower(Pointer s); - - long tstzspan_upper(Pointer s); - - Pointer tstzspanset_duration(Pointer ss, boolean boundspan); - - long tstzspanset_end_timestamptz(Pointer ss); - - long tstzspanset_lower(Pointer ss); - - int tstzspanset_num_timestamps(Pointer ss); - - long tstzspanset_start_timestamptz(Pointer ss); - - Pointer tstzspanset_timestamps(Pointer ss); - - boolean tstzspanset_timestamptz_n(Pointer ss, int n, Pointer result); - - long tstzspanset_upper(Pointer ss); - - Pointer bigintset_shift_scale(Pointer s, long shift, long width, boolean hasshift, boolean haswidth); - - Pointer bigintspan_shift_scale(Pointer s, long shift, long width, boolean hasshift, boolean haswidth); - - Pointer bigintspanset_shift_scale(Pointer ss, long shift, long width, boolean hasshift, boolean haswidth); - - Pointer dateset_shift_scale(Pointer s, int shift, int width, boolean hasshift, boolean haswidth); - - Pointer datespan_shift_scale(Pointer s, int shift, int width, boolean hasshift, boolean haswidth); - - Pointer datespanset_shift_scale(Pointer ss, int shift, int width, boolean hasshift, boolean haswidth); - - Pointer floatset_ceil(Pointer s); - - Pointer floatset_degrees(Pointer s, boolean normalize); - - Pointer floatset_floor(Pointer s); - - Pointer floatset_radians(Pointer s); - - Pointer floatset_shift_scale(Pointer s, double shift, double width, boolean hasshift, boolean haswidth); - - Pointer floatspan_ceil(Pointer s); - - Pointer floatspan_degrees(Pointer s, boolean normalize); - - Pointer floatspan_floor(Pointer s); - - Pointer floatspan_radians(Pointer s); - - Pointer floatspan_round(Pointer s, int maxdd); - - Pointer floatspan_shift_scale(Pointer s, double shift, double width, boolean hasshift, boolean haswidth); - - Pointer floatspanset_ceil(Pointer ss); - - Pointer floatspanset_floor(Pointer ss); - - Pointer floatspanset_degrees(Pointer ss, boolean normalize); - - Pointer floatspanset_radians(Pointer ss); - - Pointer floatspanset_round(Pointer ss, int maxdd); - - Pointer floatspanset_shift_scale(Pointer ss, double shift, double width, boolean hasshift, boolean haswidth); - - Pointer intset_shift_scale(Pointer s, int shift, int width, boolean hasshift, boolean haswidth); - - Pointer intspan_shift_scale(Pointer s, int shift, int width, boolean hasshift, boolean haswidth); - - Pointer intspanset_shift_scale(Pointer ss, int shift, int width, boolean hasshift, boolean haswidth); - - Pointer tstzspan_expand(Pointer s, Pointer interv); - - Pointer set_round(Pointer s, int maxdd); - - Pointer textcat_text_textset(Pointer txt, Pointer s); - - Pointer textcat_textset_text(Pointer s, Pointer txt); - - Pointer textset_initcap(Pointer s); - - Pointer textset_lower(Pointer s); - - Pointer textset_upper(Pointer s); - - long timestamptz_tprecision(long t, Pointer duration, long torigin); - - Pointer tstzset_shift_scale(Pointer s, Pointer shift, Pointer duration); - - Pointer tstzset_tprecision(Pointer s, Pointer duration, long torigin); - - Pointer tstzspan_shift_scale(Pointer s, Pointer shift, Pointer duration); - - Pointer tstzspan_tprecision(Pointer s, Pointer duration, long torigin); - - Pointer tstzspanset_shift_scale(Pointer ss, Pointer shift, Pointer duration); - - Pointer tstzspanset_tprecision(Pointer ss, Pointer duration, long torigin); - - int set_cmp(Pointer s1, Pointer s2); - - boolean set_eq(Pointer s1, Pointer s2); - - boolean set_ge(Pointer s1, Pointer s2); - - boolean set_gt(Pointer s1, Pointer s2); - - boolean set_le(Pointer s1, Pointer s2); - - boolean set_lt(Pointer s1, Pointer s2); - - boolean set_ne(Pointer s1, Pointer s2); - - int span_cmp(Pointer s1, Pointer s2); - - boolean span_eq(Pointer s1, Pointer s2); - - boolean span_ge(Pointer s1, Pointer s2); - - boolean span_gt(Pointer s1, Pointer s2); - - boolean span_le(Pointer s1, Pointer s2); - - boolean span_lt(Pointer s1, Pointer s2); - - boolean span_ne(Pointer s1, Pointer s2); - - int spanset_cmp(Pointer ss1, Pointer ss2); - - boolean spanset_eq(Pointer ss1, Pointer ss2); - - boolean spanset_ge(Pointer ss1, Pointer ss2); - - boolean spanset_gt(Pointer ss1, Pointer ss2); - - boolean spanset_le(Pointer ss1, Pointer ss2); - - boolean spanset_lt(Pointer ss1, Pointer ss2); - - boolean spanset_ne(Pointer ss1, Pointer ss2); - - Pointer set_spans(Pointer s); - - Pointer set_split_each_n_spans(Pointer s, int elems_per_span, Pointer count); - - Pointer set_split_n_spans(Pointer s, int span_count, Pointer count); - - Pointer spanset_spans(Pointer ss); - - Pointer spanset_split_each_n_spans(Pointer ss, int elems_per_span, Pointer count); - - Pointer spanset_split_n_spans(Pointer ss, int span_count, Pointer count); - - boolean adjacent_span_bigint(Pointer s, long i); - - boolean adjacent_span_date(Pointer s, int d); - - boolean adjacent_span_float(Pointer s, double d); - - boolean adjacent_span_int(Pointer s, int i); - - boolean adjacent_span_span(Pointer s1, Pointer s2); - - boolean adjacent_span_spanset(Pointer s, Pointer ss); - - boolean adjacent_span_timestamptz(Pointer s, long t); - - boolean adjacent_spanset_bigint(Pointer ss, long i); - - boolean adjacent_spanset_date(Pointer ss, int d); - - boolean adjacent_spanset_float(Pointer ss, double d); - - boolean adjacent_spanset_int(Pointer ss, int i); - - boolean adjacent_spanset_timestamptz(Pointer ss, long t); - - boolean adjacent_spanset_span(Pointer ss, Pointer s); - - boolean adjacent_spanset_spanset(Pointer ss1, Pointer ss2); - - boolean contained_bigint_set(long i, Pointer s); - - boolean contained_bigint_span(long i, Pointer s); - - boolean contained_bigint_spanset(long i, Pointer ss); - - boolean contained_date_set(int d, Pointer s); - - boolean contained_date_span(int d, Pointer s); - - boolean contained_date_spanset(int d, Pointer ss); - - boolean contained_float_set(double d, Pointer s); - - boolean contained_float_span(double d, Pointer s); - - boolean contained_float_spanset(double d, Pointer ss); - - boolean contained_int_set(int i, Pointer s); - - boolean contained_int_span(int i, Pointer s); - - boolean contained_int_spanset(int i, Pointer ss); - - boolean contained_set_set(Pointer s1, Pointer s2); - - boolean contained_span_span(Pointer s1, Pointer s2); - - boolean contained_span_spanset(Pointer s, Pointer ss); - - boolean contained_spanset_span(Pointer ss, Pointer s); - - boolean contained_spanset_spanset(Pointer ss1, Pointer ss2); - - boolean contained_text_set(Pointer txt, Pointer s); - - boolean contained_timestamptz_set(long t, Pointer s); - - boolean contained_timestamptz_span(long t, Pointer s); - - boolean contained_timestamptz_spanset(long t, Pointer ss); - - boolean contains_set_bigint(Pointer s, long i); - - boolean contains_set_date(Pointer s, int d); - - boolean contains_set_float(Pointer s, double d); - - boolean contains_set_int(Pointer s, int i); - - boolean contains_set_set(Pointer s1, Pointer s2); - - boolean contains_set_text(Pointer s, Pointer t); - - boolean contains_set_timestamptz(Pointer s, long t); - - boolean contains_span_bigint(Pointer s, long i); - - boolean contains_span_date(Pointer s, int d); - - boolean contains_span_float(Pointer s, double d); - - boolean contains_span_int(Pointer s, int i); - - boolean contains_span_span(Pointer s1, Pointer s2); - - boolean contains_span_spanset(Pointer s, Pointer ss); - - boolean contains_span_timestamptz(Pointer s, long t); - - boolean contains_spanset_bigint(Pointer ss, long i); - - boolean contains_spanset_date(Pointer ss, int d); - - boolean contains_spanset_float(Pointer ss, double d); - - boolean contains_spanset_int(Pointer ss, int i); - - boolean contains_spanset_span(Pointer ss, Pointer s); - - boolean contains_spanset_spanset(Pointer ss1, Pointer ss2); - - boolean contains_spanset_timestamptz(Pointer ss, long t); - - boolean overlaps_set_set(Pointer s1, Pointer s2); - - boolean overlaps_span_span(Pointer s1, Pointer s2); - - boolean overlaps_span_spanset(Pointer s, Pointer ss); - - boolean overlaps_spanset_span(Pointer ss, Pointer s); - - boolean overlaps_spanset_spanset(Pointer ss1, Pointer ss2); - - boolean after_date_set(int d, Pointer s); - - boolean after_date_span(int d, Pointer s); - - boolean after_date_spanset(int d, Pointer ss); - - boolean after_set_date(Pointer s, int d); - - boolean after_set_timestamptz(Pointer s, long t); - - boolean after_span_date(Pointer s, int d); - - boolean after_span_timestamptz(Pointer s, long t); - - boolean after_spanset_date(Pointer ss, int d); - - boolean after_spanset_timestamptz(Pointer ss, long t); - - boolean after_timestamptz_set(long t, Pointer s); - - boolean after_timestamptz_span(long t, Pointer s); - - boolean after_timestamptz_spanset(long t, Pointer ss); - - boolean before_date_set(int d, Pointer s); - - boolean before_date_span(int d, Pointer s); - - boolean before_date_spanset(int d, Pointer ss); - - boolean before_set_date(Pointer s, int d); - - boolean before_set_timestamptz(Pointer s, long t); - - boolean before_span_date(Pointer s, int d); - - boolean before_span_timestamptz(Pointer s, long t); - - boolean before_spanset_date(Pointer ss, int d); - - boolean before_spanset_timestamptz(Pointer ss, long t); - - boolean before_timestamptz_set(long t, Pointer s); - - boolean before_timestamptz_span(long t, Pointer s); - - boolean before_timestamptz_spanset(long t, Pointer ss); - - boolean left_bigint_set(long i, Pointer s); - - boolean left_bigint_span(long i, Pointer s); - - boolean left_bigint_spanset(long i, Pointer ss); - - boolean left_float_set(double d, Pointer s); - - boolean left_float_span(double d, Pointer s); - - boolean left_float_spanset(double d, Pointer ss); - - boolean left_int_set(int i, Pointer s); - - boolean left_int_span(int i, Pointer s); - - boolean left_int_spanset(int i, Pointer ss); - - boolean left_set_bigint(Pointer s, long i); - - boolean left_set_float(Pointer s, double d); - - boolean left_set_int(Pointer s, int i); - - boolean left_set_set(Pointer s1, Pointer s2); - - boolean left_set_text(Pointer s, Pointer txt); - - boolean left_span_bigint(Pointer s, long i); - - boolean left_span_float(Pointer s, double d); - - boolean left_span_int(Pointer s, int i); - - boolean left_span_span(Pointer s1, Pointer s2); - - boolean left_span_spanset(Pointer s, Pointer ss); - - boolean left_spanset_bigint(Pointer ss, long i); - - boolean left_spanset_float(Pointer ss, double d); - - boolean left_spanset_int(Pointer ss, int i); - - boolean left_spanset_span(Pointer ss, Pointer s); - - boolean left_spanset_spanset(Pointer ss1, Pointer ss2); - - boolean left_text_set(Pointer txt, Pointer s); - - boolean overafter_date_set(int d, Pointer s); - - boolean overafter_date_span(int d, Pointer s); - - boolean overafter_date_spanset(int d, Pointer ss); - - boolean overafter_set_date(Pointer s, int d); - - boolean overafter_set_timestamptz(Pointer s, long t); - - boolean overafter_span_date(Pointer s, int d); - - boolean overafter_span_timestamptz(Pointer s, long t); - - boolean overafter_spanset_date(Pointer ss, int d); - - boolean overafter_spanset_timestamptz(Pointer ss, long t); - - boolean overafter_timestamptz_set(long t, Pointer s); - - boolean overafter_timestamptz_span(long t, Pointer s); - - boolean overafter_timestamptz_spanset(long t, Pointer ss); - - boolean overbefore_date_set(int d, Pointer s); - - boolean overbefore_date_span(int d, Pointer s); - - boolean overbefore_date_spanset(int d, Pointer ss); - - boolean overbefore_set_date(Pointer s, int d); - - boolean overbefore_set_timestamptz(Pointer s, long t); - - boolean overbefore_span_date(Pointer s, int d); - - boolean overbefore_span_timestamptz(Pointer s, long t); - - boolean overbefore_spanset_date(Pointer ss, int d); - - boolean overbefore_spanset_timestamptz(Pointer ss, long t); - - boolean overbefore_timestamptz_set(long t, Pointer s); - - boolean overbefore_timestamptz_span(long t, Pointer s); - - boolean overbefore_timestamptz_spanset(long t, Pointer ss); - - boolean overleft_bigint_set(long i, Pointer s); - - boolean overleft_bigint_span(long i, Pointer s); - - boolean overleft_bigint_spanset(long i, Pointer ss); - - boolean overleft_float_set(double d, Pointer s); - - boolean overleft_float_span(double d, Pointer s); - - boolean overleft_float_spanset(double d, Pointer ss); - - boolean overleft_int_set(int i, Pointer s); - - boolean overleft_int_span(int i, Pointer s); - - boolean overleft_int_spanset(int i, Pointer ss); - - boolean overleft_set_bigint(Pointer s, long i); - - boolean overleft_set_float(Pointer s, double d); - - boolean overleft_set_int(Pointer s, int i); - - boolean overleft_set_set(Pointer s1, Pointer s2); - - boolean overleft_set_text(Pointer s, Pointer txt); - - boolean overleft_span_bigint(Pointer s, long i); - - boolean overleft_span_float(Pointer s, double d); - - boolean overleft_span_int(Pointer s, int i); - - boolean overleft_span_span(Pointer s1, Pointer s2); - - boolean overleft_span_spanset(Pointer s, Pointer ss); - - boolean overleft_spanset_bigint(Pointer ss, long i); - - boolean overleft_spanset_float(Pointer ss, double d); - - boolean overleft_spanset_int(Pointer ss, int i); - - boolean overleft_spanset_span(Pointer ss, Pointer s); - - boolean overleft_spanset_spanset(Pointer ss1, Pointer ss2); - - boolean overleft_text_set(Pointer txt, Pointer s); - - boolean overright_bigint_set(long i, Pointer s); - - boolean overright_bigint_span(long i, Pointer s); - - boolean overright_bigint_spanset(long i, Pointer ss); - - boolean overright_float_set(double d, Pointer s); - - boolean overright_float_span(double d, Pointer s); - - boolean overright_float_spanset(double d, Pointer ss); - - boolean overright_int_set(int i, Pointer s); - - boolean overright_int_span(int i, Pointer s); - - boolean overright_int_spanset(int i, Pointer ss); - - boolean overright_set_bigint(Pointer s, long i); - - boolean overright_set_float(Pointer s, double d); - - boolean overright_set_int(Pointer s, int i); - - boolean overright_set_set(Pointer s1, Pointer s2); - - boolean overright_set_text(Pointer s, Pointer txt); - - boolean overright_span_bigint(Pointer s, long i); - - boolean overright_span_float(Pointer s, double d); - - boolean overright_span_int(Pointer s, int i); - - boolean overright_span_span(Pointer s1, Pointer s2); - - boolean overright_span_spanset(Pointer s, Pointer ss); - - boolean overright_spanset_bigint(Pointer ss, long i); - - boolean overright_spanset_float(Pointer ss, double d); - - boolean overright_spanset_int(Pointer ss, int i); - - boolean overright_spanset_span(Pointer ss, Pointer s); - - boolean overright_spanset_spanset(Pointer ss1, Pointer ss2); - - boolean overright_text_set(Pointer txt, Pointer s); - - boolean right_bigint_set(long i, Pointer s); - - boolean right_bigint_span(long i, Pointer s); - - boolean right_bigint_spanset(long i, Pointer ss); - - boolean right_float_set(double d, Pointer s); - - boolean right_float_span(double d, Pointer s); - - boolean right_float_spanset(double d, Pointer ss); - - boolean right_int_set(int i, Pointer s); - - boolean right_int_span(int i, Pointer s); - - boolean right_int_spanset(int i, Pointer ss); - - boolean right_set_bigint(Pointer s, long i); - - boolean right_set_float(Pointer s, double d); - - boolean right_set_int(Pointer s, int i); - - boolean right_set_set(Pointer s1, Pointer s2); - - boolean right_set_text(Pointer s, Pointer txt); - - boolean right_span_bigint(Pointer s, long i); - - boolean right_span_float(Pointer s, double d); - - boolean right_span_int(Pointer s, int i); - - boolean right_span_span(Pointer s1, Pointer s2); - - boolean right_span_spanset(Pointer s, Pointer ss); - - boolean right_spanset_bigint(Pointer ss, long i); - - boolean right_spanset_float(Pointer ss, double d); - - boolean right_spanset_int(Pointer ss, int i); - - boolean right_spanset_span(Pointer ss, Pointer s); - - boolean right_spanset_spanset(Pointer ss1, Pointer ss2); - - boolean right_text_set(Pointer txt, Pointer s); - - Pointer intersection_bigint_set(long i, Pointer s); - - Pointer intersection_date_set(int d, Pointer s); - - Pointer intersection_float_set(double d, Pointer s); - - Pointer intersection_int_set(int i, Pointer s); - - Pointer intersection_set_bigint(Pointer s, long i); - - Pointer intersection_set_date(Pointer s, int d); - - Pointer intersection_set_float(Pointer s, double d); - - Pointer intersection_set_int(Pointer s, int i); - - Pointer intersection_set_set(Pointer s1, Pointer s2); - - Pointer intersection_set_text(Pointer s, Pointer txt); - - Pointer intersection_set_timestamptz(Pointer s, long t); - - Pointer intersection_span_bigint(Pointer s, long i); - - Pointer intersection_span_date(Pointer s, int d); - - Pointer intersection_span_float(Pointer s, double d); - - Pointer intersection_span_int(Pointer s, int i); - - Pointer intersection_span_span(Pointer s1, Pointer s2); - - Pointer intersection_span_spanset(Pointer s, Pointer ss); - - Pointer intersection_span_timestamptz(Pointer s, long t); - - Pointer intersection_spanset_bigint(Pointer ss, long i); - - Pointer intersection_spanset_date(Pointer ss, int d); - - Pointer intersection_spanset_float(Pointer ss, double d); - - Pointer intersection_spanset_int(Pointer ss, int i); - - Pointer intersection_spanset_span(Pointer ss, Pointer s); - - Pointer intersection_spanset_spanset(Pointer ss1, Pointer ss2); - - Pointer intersection_spanset_timestamptz(Pointer ss, long t); - - Pointer intersection_text_set(Pointer txt, Pointer s); - - Pointer intersection_timestamptz_set(long t, Pointer s); - - Pointer minus_bigint_set(long i, Pointer s); - - Pointer minus_bigint_span(long i, Pointer s); - - Pointer minus_bigint_spanset(long i, Pointer ss); - - Pointer minus_date_set(int d, Pointer s); - - Pointer minus_date_span(int d, Pointer s); - - Pointer minus_date_spanset(int d, Pointer ss); - - Pointer minus_float_set(double d, Pointer s); - - Pointer minus_float_span(double d, Pointer s); - - Pointer minus_float_spanset(double d, Pointer ss); - - Pointer minus_int_set(int i, Pointer s); - - Pointer minus_int_span(int i, Pointer s); - - Pointer minus_int_spanset(int i, Pointer ss); - - Pointer minus_set_bigint(Pointer s, long i); - - Pointer minus_set_date(Pointer s, int d); - - Pointer minus_set_float(Pointer s, double d); - - Pointer minus_set_int(Pointer s, int i); - - Pointer minus_set_set(Pointer s1, Pointer s2); - - Pointer minus_set_text(Pointer s, Pointer txt); - - Pointer minus_set_timestamptz(Pointer s, long t); - - Pointer minus_span_bigint(Pointer s, long i); - - Pointer minus_span_date(Pointer s, int d); - - Pointer minus_span_float(Pointer s, double d); - - Pointer minus_span_int(Pointer s, int i); - - Pointer minus_span_span(Pointer s1, Pointer s2); - - Pointer minus_span_spanset(Pointer s, Pointer ss); - - Pointer minus_span_timestamptz(Pointer s, long t); - - Pointer minus_spanset_bigint(Pointer ss, long i); - - Pointer minus_spanset_date(Pointer ss, int d); - - Pointer minus_spanset_float(Pointer ss, double d); - - Pointer minus_spanset_int(Pointer ss, int i); - - Pointer minus_spanset_span(Pointer ss, Pointer s); - - Pointer minus_spanset_spanset(Pointer ss1, Pointer ss2); - - Pointer minus_spanset_timestamptz(Pointer ss, long t); - - Pointer minus_text_set(Pointer txt, Pointer s); - - Pointer minus_timestamptz_set(long t, Pointer s); - - Pointer minus_timestamptz_span(long t, Pointer s); - - Pointer minus_timestamptz_spanset(long t, Pointer ss); - - Pointer union_bigint_set(long i, Pointer s); - - Pointer union_bigint_span(Pointer s, long i); - - Pointer union_bigint_spanset(long i, Pointer ss); - - Pointer union_date_set(int d, Pointer s); - - Pointer union_date_span(Pointer s, int d); - - Pointer union_date_spanset(int d, Pointer ss); - - Pointer union_float_set(double d, Pointer s); - - Pointer union_float_span(Pointer s, double d); - - Pointer union_float_spanset(double d, Pointer ss); - - Pointer union_int_set(int i, Pointer s); - - Pointer union_int_span(int i, Pointer s); - - Pointer union_int_spanset(int i, Pointer ss); - - Pointer union_set_bigint(Pointer s, long i); - - Pointer union_set_date(Pointer s, int d); - - Pointer union_set_float(Pointer s, double d); - - Pointer union_set_int(Pointer s, int i); - - Pointer union_set_set(Pointer s1, Pointer s2); - - Pointer union_set_text(Pointer s, Pointer txt); - - Pointer union_set_timestamptz(Pointer s, long t); - - Pointer union_span_bigint(Pointer s, long i); - - Pointer union_span_date(Pointer s, int d); - - Pointer union_span_float(Pointer s, double d); - - Pointer union_span_int(Pointer s, int i); - - Pointer union_span_span(Pointer s1, Pointer s2); - - Pointer union_span_spanset(Pointer s, Pointer ss); - - Pointer union_span_timestamptz(Pointer s, long t); - - Pointer union_spanset_bigint(Pointer ss, long i); - - Pointer union_spanset_date(Pointer ss, int d); - - Pointer union_spanset_float(Pointer ss, double d); - - Pointer union_spanset_int(Pointer ss, int i); - - Pointer union_spanset_span(Pointer ss, Pointer s); - - Pointer union_spanset_spanset(Pointer ss1, Pointer ss2); - - Pointer union_spanset_timestamptz(Pointer ss, long t); - - Pointer union_text_set(Pointer txt, Pointer s); - - Pointer union_timestamptz_set(long t, Pointer s); - - Pointer union_timestamptz_span(long t, Pointer s); - - Pointer union_timestamptz_spanset(long t, Pointer ss); - - long distance_bigintset_bigintset(Pointer s1, Pointer s2); - - long distance_bigintspan_bigintspan(Pointer s1, Pointer s2); - - long distance_bigintspanset_bigintspan(Pointer ss, Pointer s); - - long distance_bigintspanset_bigintspanset(Pointer ss1, Pointer ss2); - - int distance_dateset_dateset(Pointer s1, Pointer s2); - - int distance_datespan_datespan(Pointer s1, Pointer s2); - - int distance_datespanset_datespan(Pointer ss, Pointer s); - - int distance_datespanset_datespanset(Pointer ss1, Pointer ss2); - - double distance_floatset_floatset(Pointer s1, Pointer s2); - - double distance_floatspan_floatspan(Pointer s1, Pointer s2); - - double distance_floatspanset_floatspan(Pointer ss, Pointer s); - - double distance_floatspanset_floatspanset(Pointer ss1, Pointer ss2); - - int distance_intset_intset(Pointer s1, Pointer s2); - - int distance_intspan_intspan(Pointer s1, Pointer s2); - - int distance_intspanset_intspan(Pointer ss, Pointer s); - - int distance_intspanset_intspanset(Pointer ss1, Pointer ss2); - - long distance_set_bigint(Pointer s, long i); - - int distance_set_date(Pointer s, int d); - - double distance_set_float(Pointer s, double d); - - int distance_set_int(Pointer s, int i); - - double distance_set_timestamptz(Pointer s, long t); - - long distance_span_bigint(Pointer s, long i); - - int distance_span_date(Pointer s, int d); - - double distance_span_float(Pointer s, double d); - - int distance_span_int(Pointer s, int i); - - double distance_span_timestamptz(Pointer s, long t); - - long distance_spanset_bigint(Pointer ss, long i); - - int distance_spanset_date(Pointer ss, int d); - - double distance_spanset_float(Pointer ss, double d); - - int distance_spanset_int(Pointer ss, int i); - - double distance_spanset_timestamptz(Pointer ss, long t); - - double distance_tstzset_tstzset(Pointer s1, Pointer s2); - - double distance_tstzspan_tstzspan(Pointer s1, Pointer s2); - - double distance_tstzspanset_tstzspan(Pointer ss, Pointer s); - - double distance_tstzspanset_tstzspanset(Pointer ss1, Pointer ss2); - - Pointer bigint_extent_transfn(Pointer state, long i); - - Pointer bigint_union_transfn(Pointer state, long i); - - Pointer date_extent_transfn(Pointer state, int d); - - Pointer date_union_transfn(Pointer state, int d); - - Pointer float_extent_transfn(Pointer state, double d); - - Pointer float_union_transfn(Pointer state, double d); - - Pointer int_extent_transfn(Pointer state, int i); - - Pointer int_union_transfn(Pointer state, int i); - - Pointer set_extent_transfn(Pointer state, Pointer s); - - Pointer set_union_finalfn(Pointer state); - - Pointer set_union_transfn(Pointer state, Pointer s); - - Pointer span_extent_transfn(Pointer state, Pointer s); - - Pointer span_union_transfn(Pointer state, Pointer s); - - Pointer spanset_extent_transfn(Pointer state, Pointer ss); - - Pointer spanset_union_finalfn(Pointer state); - - Pointer spanset_union_transfn(Pointer state, Pointer ss); - - Pointer text_union_transfn(Pointer state, Pointer txt); - - Pointer timestamptz_extent_transfn(Pointer state, long t); - - Pointer timestamptz_union_transfn(Pointer state, long t); - - long bigint_get_bin(long value, long vsize, long vorigin); - - Pointer bigintspan_bins(Pointer s, long vsize, long vorigin, Pointer count); - - Pointer bigintspanset_bins(Pointer ss, long vsize, long vorigin, Pointer count); - - int date_get_bin(int d, Pointer duration, int torigin); - - Pointer datespan_bins(Pointer s, Pointer duration, int torigin, Pointer count); - - Pointer datespanset_bins(Pointer ss, Pointer duration, int torigin, Pointer count); - - double float_get_bin(double value, double vsize, double vorigin); - - Pointer floatspan_bins(Pointer s, double vsize, double vorigin, Pointer count); - - Pointer floatspanset_bins(Pointer ss, double vsize, double vorigin, Pointer count); - - int int_get_bin(int value, int vsize, int vorigin); - - Pointer intspan_bins(Pointer s, int vsize, int vorigin, Pointer count); - - Pointer intspanset_bins(Pointer ss, int vsize, int vorigin, Pointer count); - - long timestamptz_get_bin(long t, Pointer duration, long torigin); - - Pointer tstzspan_bins(Pointer s, Pointer duration, long origin, Pointer count); - - Pointer tstzspanset_bins(Pointer ss, Pointer duration, long torigin, Pointer count); - - String tbox_as_hexwkb(Pointer box, byte variant, Pointer size); - - Pointer tbox_as_wkb(Pointer box, byte variant, Pointer size_out); - - Pointer tbox_from_hexwkb(String hexwkb); - - Pointer tbox_from_wkb(Pointer wkb, long size); - - Pointer tbox_in(String str); - - String tbox_out(Pointer box, int maxdd); - - Pointer float_timestamptz_to_tbox(double d, long t); - - Pointer float_tstzspan_to_tbox(double d, Pointer s); - - Pointer int_timestamptz_to_tbox(int i, long t); - - Pointer int_tstzspan_to_tbox(int i, Pointer s); - - Pointer numspan_tstzspan_to_tbox(Pointer span, Pointer s); - - Pointer numspan_timestamptz_to_tbox(Pointer span, long t); - - Pointer tbox_copy(Pointer box); - - Pointer tbox_make(Pointer s, Pointer p); - - Pointer float_to_tbox(double d); - - Pointer int_to_tbox(int i); - - Pointer set_to_tbox(Pointer s); - - Pointer span_to_tbox(Pointer s); - - Pointer spanset_to_tbox(Pointer ss); - - Pointer tbox_to_bigintspan(Pointer box); - - Pointer tbox_to_intspan(Pointer box); - - Pointer tbox_to_floatspan(Pointer box); - - Pointer tbox_to_tstzspan(Pointer box); - - Pointer timestamptz_to_tbox(long t); - - int tbox_hash(Pointer box); - - long tbox_hash_extended(Pointer box, long seed); - - boolean tbox_hast(Pointer box); - - boolean tbox_hasx(Pointer box); - - } - - public interface MeosLibraryPartB { - - boolean tbox_tmax(Pointer box, Pointer result); - - boolean tbox_tmax_inc(Pointer box, Pointer result); - - boolean tbox_tmin(Pointer box, Pointer result); - - boolean tbox_tmin_inc(Pointer box, Pointer result); - - boolean tbox_xmax(Pointer box, Pointer result); - - boolean tbox_xmax_inc(Pointer box, Pointer result); - - boolean tbox_xmin(Pointer box, Pointer result); - - boolean tbox_xmin_inc(Pointer box, Pointer result); - - boolean tboxfloat_xmax(Pointer box, Pointer result); - - boolean tboxfloat_xmin(Pointer box, Pointer result); - - boolean tboxint_xmax(Pointer box, Pointer result); - - boolean tboxint_xmin(Pointer box, Pointer result); - - Pointer tbigintbox_expand(Pointer box, long i); - - Pointer tbigintbox_shift_scale(Pointer box, long shift, long width, boolean hasshift, boolean haswidth); - - Pointer tbox_expand_time(Pointer box, Pointer interv); - - Pointer tbox_round(Pointer box, int maxdd); - - Pointer tbox_shift_scale_time(Pointer box, Pointer shift, Pointer duration); - - Pointer tfloatbox_expand(Pointer box, double d); - - Pointer tfloatbox_shift_scale(Pointer box, double shift, double width, boolean hasshift, boolean haswidth); - - Pointer tintbox_expand(Pointer box, int i); - - Pointer tintbox_shift_scale(Pointer box, int shift, int width, boolean hasshift, boolean haswidth); - - Pointer union_tbox_tbox(Pointer box1, Pointer box2, boolean strict); - - Pointer intersection_tbox_tbox(Pointer box1, Pointer box2); - - boolean adjacent_tbox_tbox(Pointer box1, Pointer box2); - - boolean contained_tbox_tbox(Pointer box1, Pointer box2); - - boolean contains_tbox_tbox(Pointer box1, Pointer box2); - - boolean overlaps_tbox_tbox(Pointer box1, Pointer box2); - - boolean same_tbox_tbox(Pointer box1, Pointer box2); - - boolean after_tbox_tbox(Pointer box1, Pointer box2); - - boolean before_tbox_tbox(Pointer box1, Pointer box2); - - boolean left_tbox_tbox(Pointer box1, Pointer box2); - - boolean overafter_tbox_tbox(Pointer box1, Pointer box2); - - boolean overbefore_tbox_tbox(Pointer box1, Pointer box2); - - boolean overleft_tbox_tbox(Pointer box1, Pointer box2); - - boolean overright_tbox_tbox(Pointer box1, Pointer box2); - - boolean right_tbox_tbox(Pointer box1, Pointer box2); - - int tbox_cmp(Pointer box1, Pointer box2); - - boolean tbox_eq(Pointer box1, Pointer box2); - - boolean tbox_ge(Pointer box1, Pointer box2); - - boolean tbox_gt(Pointer box1, Pointer box2); - - boolean tbox_le(Pointer box1, Pointer box2); - - boolean tbox_lt(Pointer box1, Pointer box2); - - boolean tbox_ne(Pointer box1, Pointer box2); - - Pointer tbigint_from_mfjson(String str); - - Pointer tbigint_in(String str); - - String tbigint_out(Pointer temp); - - Pointer tbool_from_mfjson(String str); - - Pointer tbool_in(String str); - - String tbool_out(Pointer temp); - - String temporal_as_hexwkb(Pointer temp, byte variant, Pointer size_out); - - String temporal_as_mfjson(Pointer temp, boolean with_bbox, int flags, int precision, String srs); - - Pointer temporal_as_wkb(Pointer temp, byte variant, Pointer size_out); - - Pointer temporal_from_hexwkb(String hexwkb); - - Pointer temporal_from_wkb(Pointer wkb, long size); - - Pointer tfloat_from_mfjson(String str); - - Pointer tfloat_in(String str); - - String tfloat_out(Pointer temp, int maxdd); - - Pointer tint_from_mfjson(String str); - - Pointer tint_in(String str); - - String tint_out(Pointer temp); - - Pointer ttext_from_mfjson(String str); - - Pointer ttext_in(String str); - - String ttext_out(Pointer temp); - - Pointer tbigint_from_base_temp(long i, Pointer temp); - - Pointer tbigintinst_make(long i, long t); - - Pointer tbigintseq_from_base_tstzset(long i, Pointer s); - - Pointer tbigintseq_from_base_tstzspan(long i, Pointer s); - - Pointer tbigintseqset_from_base_tstzspanset(long i, Pointer ss); - - Pointer tbool_from_base_temp(boolean b, Pointer temp); - - Pointer tboolinst_make(boolean b, long t); - - Pointer tboolseq_from_base_tstzset(boolean b, Pointer s); - - Pointer tboolseq_from_base_tstzspan(boolean b, Pointer s); - - Pointer tboolseqset_from_base_tstzspanset(boolean b, Pointer ss); - - Pointer temporal_copy(Pointer temp); - - Pointer tfloat_from_base_temp(double d, Pointer temp); - - Pointer tfloatinst_make(double d, long t); - - Pointer tfloatseq_from_base_tstzset(double d, Pointer s); - - Pointer tfloatseq_from_base_tstzspan(double d, Pointer s, int interp); - - Pointer tfloatseqset_from_base_tstzspanset(double d, Pointer ss, int interp); - - Pointer tint_from_base_temp(int i, Pointer temp); - - Pointer tintinst_make(int i, long t); - - Pointer tintseq_from_base_tstzset(int i, Pointer s); - - Pointer tintseq_from_base_tstzspan(int i, Pointer s); - - Pointer tintseqset_from_base_tstzspanset(int i, Pointer ss); - - Pointer tsequence_make(Pointer instants, int count, boolean lower_inc, boolean upper_inc, int interp, boolean normalize); - - Pointer tsequenceset_make(Pointer sequences, int count, boolean normalize); - - Pointer tsequenceset_make_gaps(Pointer instants, int count, int interp, Pointer maxt, double maxdist); - - Pointer ttext_from_base_temp(Pointer txt, Pointer temp); - - Pointer ttextinst_make(Pointer txt, long t); - - Pointer ttextseq_from_base_tstzset(Pointer txt, Pointer s); - - Pointer ttextseq_from_base_tstzspan(Pointer txt, Pointer s); - - Pointer ttextseqset_from_base_tstzspanset(Pointer txt, Pointer ss); - - Pointer tbigint_to_tfloat(Pointer temp); - - Pointer tbigint_to_tint(Pointer temp); - - Pointer tbool_to_tint(Pointer temp); - - Pointer temporal_to_tstzspan(Pointer temp); - - Pointer tfloat_to_tbigint(Pointer temp); - - Pointer tfloat_to_tint(Pointer temp); - - Pointer tint_to_tbigint(Pointer temp); - - Pointer tint_to_tfloat(Pointer temp); - - Pointer tnumber_to_span(Pointer temp); - - Pointer tnumber_to_tbox(Pointer temp); - - long tbigint_end_value(Pointer temp); - - long tbigint_max_value(Pointer temp); - - long tbigint_min_value(Pointer temp); - - long tbigint_start_value(Pointer temp); - - boolean tbigint_value_at_timestamptz(Pointer temp, long t, boolean strict, Pointer value); - - boolean tbigint_value_n(Pointer temp, long n, Pointer result); - - Pointer tbigint_values(Pointer temp, Pointer count); - - boolean tbool_end_value(Pointer temp); - - boolean tbool_start_value(Pointer temp); - - boolean tbool_value_at_timestamptz(Pointer temp, long t, boolean strict, Pointer value); - - boolean tbool_value_n(Pointer temp, int n, Pointer result); - - Pointer tbool_values(Pointer temp, Pointer count); - - Pointer temporal_duration(Pointer temp, boolean boundspan); - - Pointer temporal_end_instant(Pointer temp); - - Pointer temporal_end_sequence(Pointer temp); - - long temporal_end_timestamptz(Pointer temp); - - int temporal_hash(Pointer temp); - - Pointer temporal_instant_n(Pointer temp, int n); - - Pointer temporal_instants(Pointer temp, Pointer count); - - String temporal_interp(Pointer temp); - - boolean temporal_lower_inc(Pointer temp); - - Pointer temporal_max_instant(Pointer temp); - - Pointer temporal_min_instant(Pointer temp); - - int temporal_num_instants(Pointer temp); - - int temporal_num_sequences(Pointer temp); - - int temporal_num_timestamps(Pointer temp); - - Pointer temporal_segm_duration(Pointer temp, Pointer duration, boolean atleast, boolean strict); - - Pointer temporal_segments(Pointer temp, Pointer count); - - Pointer temporal_sequence_n(Pointer temp, int i); - - Pointer temporal_sequences(Pointer temp, Pointer count); - - Pointer temporal_start_instant(Pointer temp); - - Pointer temporal_start_sequence(Pointer temp); - - long temporal_start_timestamptz(Pointer temp); - - Pointer temporal_stops(Pointer temp, double maxdist, Pointer minduration); - - String temporal_subtype(Pointer temp); - - Pointer temporal_time(Pointer temp); - - Pointer temporal_timestamps(Pointer temp, Pointer count); - - boolean temporal_timestamptz_n(Pointer temp, int n, Pointer result); - - boolean temporal_upper_inc(Pointer temp); - - double tfloat_avg_value(Pointer temp); - - double tfloat_end_value(Pointer temp); - - double tfloat_min_value(Pointer temp); - - double tfloat_max_value(Pointer temp); - - double tfloat_start_value(Pointer temp); - - boolean tfloat_value_at_timestamptz(Pointer temp, long t, boolean strict, Pointer value); - - boolean tfloat_value_n(Pointer temp, int n, Pointer result); - - Pointer tfloat_values(Pointer temp, Pointer count); - - int tint_end_value(Pointer temp); - - int tint_max_value(Pointer temp); - - int tint_min_value(Pointer temp); - - int tint_start_value(Pointer temp); - - boolean tint_value_at_timestamptz(Pointer temp, long t, boolean strict, Pointer value); - - boolean tint_value_n(Pointer temp, int n, Pointer result); - - Pointer tint_values(Pointer temp, Pointer count); - - double tnumber_avg_value(Pointer temp); - - double tnumber_integral(Pointer temp); - - double tnumber_twavg(Pointer temp); - - Pointer tnumber_valuespans(Pointer temp); - - Pointer ttext_end_value(Pointer temp); - - Pointer ttext_max_value(Pointer temp); - - Pointer ttext_min_value(Pointer temp); - - Pointer ttext_start_value(Pointer temp); - - boolean ttext_value_at_timestamptz(Pointer temp, long t, boolean strict, Pointer value); - - boolean ttext_value_n(Pointer temp, int n, Pointer result); - - Pointer ttext_values(Pointer temp, Pointer count); - - double float_degrees(double value, boolean normalize); - - Pointer tbigint_scale_value(Pointer temp, long width); - - Pointer tbigint_shift_scale_value(Pointer temp, long shift, long width); - - Pointer tbigint_shift_value(Pointer temp, long shift); - - Pointer temparr_round(Pointer temp, int count, int maxdd); - - Pointer temporal_round(Pointer temp, int maxdd); - - Pointer temporal_scale_time(Pointer temp, Pointer duration); - - Pointer temporal_set_interp(Pointer temp, int interp); - - Pointer temporal_shift_scale_time(Pointer temp, Pointer shift, Pointer duration); - - Pointer temporal_shift_time(Pointer temp, Pointer shift); - - Pointer temporal_to_tinstant(Pointer temp); - - Pointer temporal_to_tsequence(Pointer temp, int interp); - - Pointer temporal_to_tsequenceset(Pointer temp, int interp); - - Pointer tfloat_ceil(Pointer temp); - - Pointer tfloat_degrees(Pointer temp, boolean normalize); - - Pointer tfloat_floor(Pointer temp); - - Pointer tfloat_radians(Pointer temp); - - Pointer tfloat_scale_value(Pointer temp, double width); - - Pointer tfloat_shift_scale_value(Pointer temp, double shift, double width); - - Pointer tfloat_shift_value(Pointer temp, double shift); - - Pointer tint_scale_value(Pointer temp, int width); - - Pointer tint_shift_scale_value(Pointer temp, int shift, int width); - - Pointer tint_shift_value(Pointer temp, int shift); - - Pointer temporal_append_tinstant(Pointer temp, Pointer inst, int interp, double maxdist, Pointer maxt, boolean expand); - - Pointer temporal_append_tsequence(Pointer temp, Pointer seq, boolean expand); - - Pointer temporal_delete_timestamptz(Pointer temp, long t, boolean connect); - - Pointer temporal_delete_tstzset(Pointer temp, Pointer s, boolean connect); - - Pointer temporal_delete_tstzspan(Pointer temp, Pointer s, boolean connect); - - Pointer temporal_delete_tstzspanset(Pointer temp, Pointer ss, boolean connect); - - Pointer temporal_insert(Pointer temp1, Pointer temp2, boolean connect); - - Pointer temporal_merge(Pointer temp1, Pointer temp2); - - Pointer temporal_merge_array(Pointer temparr, int count); - - Pointer temporal_update(Pointer temp1, Pointer temp2, boolean connect); - - Pointer tbigint_at_value(Pointer temp, long i); - - Pointer tbigint_minus_value(Pointer temp, long i); - - Pointer tbool_at_value(Pointer temp, boolean b); - - Pointer tbool_minus_value(Pointer temp, boolean b); - - Pointer temporal_after_timestamptz(Pointer temp, long t, boolean strict); - - Pointer temporal_at_max(Pointer temp); - - Pointer temporal_at_min(Pointer temp); - - Pointer temporal_at_timestamptz(Pointer temp, long t); - - Pointer temporal_at_tstzset(Pointer temp, Pointer s); - - Pointer temporal_at_tstzspan(Pointer temp, Pointer s); - - Pointer temporal_at_tstzspanset(Pointer temp, Pointer ss); - - Pointer temporal_at_values(Pointer temp, Pointer set); - - Pointer temporal_before_timestamptz(Pointer temp, long t, boolean strict); - - Pointer temporal_minus_max(Pointer temp); - - Pointer temporal_minus_min(Pointer temp); - - Pointer temporal_minus_timestamptz(Pointer temp, long t); - - Pointer temporal_minus_tstzset(Pointer temp, Pointer s); - - Pointer temporal_minus_tstzspan(Pointer temp, Pointer s); - - Pointer temporal_minus_tstzspanset(Pointer temp, Pointer ss); - - Pointer temporal_minus_values(Pointer temp, Pointer set); - - Pointer tfloat_at_value(Pointer temp, double d); - - Pointer tfloat_minus_value(Pointer temp, double d); - - Pointer tint_at_value(Pointer temp, int i); - - Pointer tint_minus_value(Pointer temp, int i); - - Pointer tnumber_at_span(Pointer temp, Pointer span); - - Pointer tnumber_at_spanset(Pointer temp, Pointer ss); - - Pointer tnumber_at_tbox(Pointer temp, Pointer box); - - Pointer tnumber_minus_span(Pointer temp, Pointer span); - - Pointer tnumber_minus_spanset(Pointer temp, Pointer ss); - - Pointer tnumber_minus_tbox(Pointer temp, Pointer box); - - Pointer ttext_at_value(Pointer temp, Pointer txt); - - Pointer ttext_minus_value(Pointer temp, Pointer txt); - - int temporal_cmp(Pointer temp1, Pointer temp2); - - boolean temporal_eq(Pointer temp1, Pointer temp2); - - boolean temporal_ge(Pointer temp1, Pointer temp2); - - boolean temporal_gt(Pointer temp1, Pointer temp2); - - boolean temporal_le(Pointer temp1, Pointer temp2); - - boolean temporal_lt(Pointer temp1, Pointer temp2); - - boolean temporal_ne(Pointer temp1, Pointer temp2); - - int always_eq_bigint_tbigint(long i, Pointer temp); - - int always_eq_bool_tbool(boolean b, Pointer temp); - - int always_eq_float_tfloat(double d, Pointer temp); - - int always_eq_int_tint(int i, Pointer temp); - - int always_eq_tbool_bool(Pointer temp, boolean b); - - int always_eq_temporal_temporal(Pointer temp1, Pointer temp2); - - int always_eq_text_ttext(Pointer txt, Pointer temp); - - int always_eq_tbigint_bigint(Pointer temp, long i); - - int always_eq_tfloat_float(Pointer temp, double d); - - int always_eq_tint_int(Pointer temp, int i); - - int always_eq_ttext_text(Pointer temp, Pointer txt); - - int always_ge_bigint_tbigint(long i, Pointer temp); - - int always_ge_float_tfloat(double d, Pointer temp); - - int always_ge_int_tint(int i, Pointer temp); - - int always_ge_tbigint_bigint(Pointer temp, long i); - - int always_ge_temporal_temporal(Pointer temp1, Pointer temp2); - - int always_ge_text_ttext(Pointer txt, Pointer temp); - - int always_ge_tfloat_float(Pointer temp, double d); - - int always_ge_tint_int(Pointer temp, int i); - - int always_ge_ttext_text(Pointer temp, Pointer txt); - - int always_gt_bigint_tbigint(long i, Pointer temp); - - int always_gt_float_tfloat(double d, Pointer temp); - - int always_gt_int_tint(int i, Pointer temp); - - int always_gt_tbigint_bigint(Pointer temp, long i); - - int always_gt_temporal_temporal(Pointer temp1, Pointer temp2); - - int always_gt_text_ttext(Pointer txt, Pointer temp); - - int always_gt_tfloat_float(Pointer temp, double d); - - int always_gt_tint_int(Pointer temp, int i); - - int always_gt_ttext_text(Pointer temp, Pointer txt); - - int always_le_bigint_tbigint(long i, Pointer temp); - - int always_le_float_tfloat(double d, Pointer temp); - - int always_le_int_tint(int i, Pointer temp); - - int always_le_tbigint_bigint(Pointer temp, long i); - - int always_le_temporal_temporal(Pointer temp1, Pointer temp2); - - int always_le_text_ttext(Pointer txt, Pointer temp); - - int always_le_tfloat_float(Pointer temp, double d); - - int always_le_tint_int(Pointer temp, int i); - - int always_le_ttext_text(Pointer temp, Pointer txt); - - int always_lt_bigint_tbigint(long i, Pointer temp); - - int always_lt_float_tfloat(double d, Pointer temp); - - int always_lt_int_tint(int i, Pointer temp); - - int always_lt_temporal_temporal(Pointer temp1, Pointer temp2); - - int always_lt_text_ttext(Pointer txt, Pointer temp); - - int always_lt_tfloat_float(Pointer temp, double d); - - int always_lt_tint_int(Pointer temp, int i); - - int always_lt_ttext_text(Pointer temp, Pointer txt); - - int always_ne_bool_tbool(boolean b, Pointer temp); - - int always_ne_float_tfloat(double d, Pointer temp); - - int always_ne_int_tint(int i, Pointer temp); - - int always_lt_tbigint_bigint(Pointer temp, long i); - - int always_ne_bigint_tbigint(long i, Pointer temp); - - int always_ne_tbool_bool(Pointer temp, boolean b); - - int always_ne_tbigint_bigint(Pointer temp, long i); - - int always_ne_temporal_temporal(Pointer temp1, Pointer temp2); - - int always_ne_text_ttext(Pointer txt, Pointer temp); - - int always_ne_tfloat_float(Pointer temp, double d); - - int always_ne_tint_int(Pointer temp, int i); - - int always_ne_ttext_text(Pointer temp, Pointer txt); - - int ever_eq_bigint_tbigint(long i, Pointer temp); - - int ever_eq_bool_tbool(boolean b, Pointer temp); - - int ever_eq_float_tfloat(double d, Pointer temp); - - int ever_eq_int_tint(int i, Pointer temp); - - int ever_eq_tbigint_bigint(Pointer temp, long i); - - int ever_eq_tbool_bool(Pointer temp, boolean b); - - int ever_eq_temporal_temporal(Pointer temp1, Pointer temp2); - - int ever_eq_text_ttext(Pointer txt, Pointer temp); - - int ever_eq_tfloat_float(Pointer temp, double d); - - int ever_eq_tint_int(Pointer temp, int i); - - int ever_eq_ttext_text(Pointer temp, Pointer txt); - - int ever_ge_bigint_tbigint(long i, Pointer temp); - - int ever_ge_float_tfloat(double d, Pointer temp); - - int ever_ge_int_tint(int i, Pointer temp); - - int ever_ge_tbigint_bigint(Pointer temp, long i); - - int ever_ge_temporal_temporal(Pointer temp1, Pointer temp2); - - int ever_ge_text_ttext(Pointer txt, Pointer temp); - - int ever_ge_tfloat_float(Pointer temp, double d); - - int ever_ge_tint_int(Pointer temp, int i); - - int ever_ge_ttext_text(Pointer temp, Pointer txt); - - int ever_gt_bigint_tbigint(long i, Pointer temp); - - int ever_gt_float_tfloat(double d, Pointer temp); - - int ever_gt_int_tint(int i, Pointer temp); - - int ever_gt_tbigint_bigint(Pointer temp, long i); - - int ever_gt_temporal_temporal(Pointer temp1, Pointer temp2); - - int ever_gt_text_ttext(Pointer txt, Pointer temp); - - int ever_gt_tfloat_float(Pointer temp, double d); - - int ever_gt_tint_int(Pointer temp, int i); - - int ever_gt_ttext_text(Pointer temp, Pointer txt); - - int ever_le_bigint_tbigint(long i, Pointer temp); - - int ever_le_float_tfloat(double d, Pointer temp); - - int ever_le_int_tint(int i, Pointer temp); - - int ever_le_tbigint_bigint(Pointer temp, long i); - - int ever_le_temporal_temporal(Pointer temp1, Pointer temp2); - - int ever_le_text_ttext(Pointer txt, Pointer temp); - - int ever_le_tfloat_float(Pointer temp, double d); - - int ever_le_tint_int(Pointer temp, int i); - - int ever_le_ttext_text(Pointer temp, Pointer txt); - - int ever_lt_bigint_tbigint(long i, Pointer temp); - - int ever_lt_float_tfloat(double d, Pointer temp); - - int ever_lt_int_tint(int i, Pointer temp); - - int ever_lt_tbigint_bigint(Pointer temp, long i); - - int ever_lt_temporal_temporal(Pointer temp1, Pointer temp2); - - int ever_lt_text_ttext(Pointer txt, Pointer temp); - - int ever_lt_tfloat_float(Pointer temp, double d); - - int ever_lt_tint_int(Pointer temp, int i); - - int ever_lt_ttext_text(Pointer temp, Pointer txt); - - int ever_ne_bigint_tbigint(long i, Pointer temp); - - int ever_ne_bool_tbool(boolean b, Pointer temp); - - int ever_ne_float_tfloat(double d, Pointer temp); - - int ever_ne_int_tint(int i, Pointer temp); - - int ever_ne_tbigint_bigint(Pointer temp, long i); - - int ever_ne_tbool_bool(Pointer temp, boolean b); - - int ever_ne_temporal_temporal(Pointer temp1, Pointer temp2); - - int ever_ne_text_ttext(Pointer txt, Pointer temp); - - int ever_ne_tfloat_float(Pointer temp, double d); - - int ever_ne_tint_int(Pointer temp, int i); - - int ever_ne_ttext_text(Pointer temp, Pointer txt); - - Pointer teq_bool_tbool(boolean b, Pointer temp); - - Pointer teq_float_tfloat(double d, Pointer temp); - - Pointer teq_int_tint(int i, Pointer temp); - - Pointer teq_tbool_bool(Pointer temp, boolean b); - - Pointer teq_temporal_temporal(Pointer temp1, Pointer temp2); - - Pointer teq_text_ttext(Pointer txt, Pointer temp); - - Pointer teq_tfloat_float(Pointer temp, double d); - - Pointer teq_tint_int(Pointer temp, int i); - - Pointer teq_ttext_text(Pointer temp, Pointer txt); - - Pointer tge_float_tfloat(double d, Pointer temp); - - Pointer tge_int_tint(int i, Pointer temp); - - Pointer tge_temporal_temporal(Pointer temp1, Pointer temp2); - - Pointer tge_text_ttext(Pointer txt, Pointer temp); - - Pointer tge_tfloat_float(Pointer temp, double d); - - Pointer tge_tint_int(Pointer temp, int i); - - Pointer tge_ttext_text(Pointer temp, Pointer txt); - - Pointer tgt_float_tfloat(double d, Pointer temp); - - Pointer tgt_int_tint(int i, Pointer temp); - - Pointer tgt_temporal_temporal(Pointer temp1, Pointer temp2); - - Pointer tgt_text_ttext(Pointer txt, Pointer temp); - - Pointer tgt_tfloat_float(Pointer temp, double d); - - Pointer tgt_tint_int(Pointer temp, int i); - - Pointer tgt_ttext_text(Pointer temp, Pointer txt); - - Pointer tle_float_tfloat(double d, Pointer temp); - - Pointer tle_int_tint(int i, Pointer temp); - - Pointer tle_temporal_temporal(Pointer temp1, Pointer temp2); - - Pointer tle_text_ttext(Pointer txt, Pointer temp); - - Pointer tle_tfloat_float(Pointer temp, double d); - - Pointer tle_tint_int(Pointer temp, int i); - - Pointer tle_ttext_text(Pointer temp, Pointer txt); - - Pointer tlt_float_tfloat(double d, Pointer temp); - - Pointer tlt_int_tint(int i, Pointer temp); - - Pointer tlt_temporal_temporal(Pointer temp1, Pointer temp2); - - Pointer tlt_text_ttext(Pointer txt, Pointer temp); - - Pointer tlt_tfloat_float(Pointer temp, double d); - - Pointer tlt_tint_int(Pointer temp, int i); - - Pointer tlt_ttext_text(Pointer temp, Pointer txt); - - Pointer tne_bool_tbool(boolean b, Pointer temp); - - Pointer tne_float_tfloat(double d, Pointer temp); - - Pointer tne_int_tint(int i, Pointer temp); - - Pointer tne_tbool_bool(Pointer temp, boolean b); - - Pointer tne_temporal_temporal(Pointer temp1, Pointer temp2); - - Pointer tne_text_ttext(Pointer txt, Pointer temp); - - Pointer tne_tfloat_float(Pointer temp, double d); - - Pointer tne_tint_int(Pointer temp, int i); - - Pointer tne_ttext_text(Pointer temp, Pointer txt); - - Pointer temporal_spans(Pointer temp, Pointer count); - - Pointer temporal_split_each_n_spans(Pointer temp, int elem_count, Pointer count); - - Pointer temporal_split_n_spans(Pointer temp, int span_count, Pointer count); - - Pointer tnumber_split_each_n_tboxes(Pointer temp, int elem_count, Pointer count); - - Pointer tnumber_split_n_tboxes(Pointer temp, int box_count, Pointer count); - - Pointer tnumber_tboxes(Pointer temp, Pointer count); - - boolean adjacent_numspan_tnumber(Pointer s, Pointer temp); - - boolean adjacent_tbox_tnumber(Pointer box, Pointer temp); - - boolean adjacent_temporal_temporal(Pointer temp1, Pointer temp2); - - boolean adjacent_temporal_tstzspan(Pointer temp, Pointer s); - - boolean adjacent_tnumber_numspan(Pointer temp, Pointer s); - - boolean adjacent_tnumber_tbox(Pointer temp, Pointer box); - - boolean adjacent_tnumber_tnumber(Pointer temp1, Pointer temp2); - - boolean adjacent_tstzspan_temporal(Pointer s, Pointer temp); - - boolean contained_numspan_tnumber(Pointer s, Pointer temp); - - boolean contained_tbox_tnumber(Pointer box, Pointer temp); - - boolean contained_temporal_temporal(Pointer temp1, Pointer temp2); - - boolean contained_temporal_tstzspan(Pointer temp, Pointer s); - - boolean contained_tnumber_numspan(Pointer temp, Pointer s); - - boolean contained_tnumber_tbox(Pointer temp, Pointer box); - - boolean contained_tnumber_tnumber(Pointer temp1, Pointer temp2); - - boolean contained_tstzspan_temporal(Pointer s, Pointer temp); - - boolean contains_numspan_tnumber(Pointer s, Pointer temp); - - boolean contains_tbox_tnumber(Pointer box, Pointer temp); - - boolean contains_temporal_tstzspan(Pointer temp, Pointer s); - - boolean contains_temporal_temporal(Pointer temp1, Pointer temp2); - - boolean contains_tnumber_numspan(Pointer temp, Pointer s); - - boolean contains_tnumber_tbox(Pointer temp, Pointer box); - - boolean contains_tnumber_tnumber(Pointer temp1, Pointer temp2); - - boolean contains_tstzspan_temporal(Pointer s, Pointer temp); - - boolean overlaps_numspan_tnumber(Pointer s, Pointer temp); - - boolean overlaps_tbox_tnumber(Pointer box, Pointer temp); - - boolean overlaps_temporal_temporal(Pointer temp1, Pointer temp2); - - boolean overlaps_temporal_tstzspan(Pointer temp, Pointer s); - - boolean overlaps_tnumber_numspan(Pointer temp, Pointer s); - - boolean overlaps_tnumber_tbox(Pointer temp, Pointer box); - - boolean overlaps_tnumber_tnumber(Pointer temp1, Pointer temp2); - - boolean overlaps_tstzspan_temporal(Pointer s, Pointer temp); - - boolean same_numspan_tnumber(Pointer s, Pointer temp); - - boolean same_tbox_tnumber(Pointer box, Pointer temp); - - boolean same_temporal_temporal(Pointer temp1, Pointer temp2); - - boolean same_temporal_tstzspan(Pointer temp, Pointer s); - - boolean same_tnumber_numspan(Pointer temp, Pointer s); - - boolean same_tnumber_tbox(Pointer temp, Pointer box); - - boolean same_tnumber_tnumber(Pointer temp1, Pointer temp2); - - boolean same_tstzspan_temporal(Pointer s, Pointer temp); - - boolean after_tbox_tnumber(Pointer box, Pointer temp); - - boolean after_temporal_tstzspan(Pointer temp, Pointer s); - - boolean after_temporal_temporal(Pointer temp1, Pointer temp2); - - boolean after_tnumber_tbox(Pointer temp, Pointer box); - - boolean after_tnumber_tnumber(Pointer temp1, Pointer temp2); - - boolean after_tstzspan_temporal(Pointer s, Pointer temp); - - boolean before_tbox_tnumber(Pointer box, Pointer temp); - - boolean before_temporal_tstzspan(Pointer temp, Pointer s); - - boolean before_temporal_temporal(Pointer temp1, Pointer temp2); - - boolean before_tnumber_tbox(Pointer temp, Pointer box); - - boolean before_tnumber_tnumber(Pointer temp1, Pointer temp2); - - boolean before_tstzspan_temporal(Pointer s, Pointer temp); - - boolean left_tbox_tnumber(Pointer box, Pointer temp); - - boolean left_numspan_tnumber(Pointer s, Pointer temp); - - boolean left_tnumber_numspan(Pointer temp, Pointer s); - - boolean left_tnumber_tbox(Pointer temp, Pointer box); - - boolean left_tnumber_tnumber(Pointer temp1, Pointer temp2); - - boolean overafter_tbox_tnumber(Pointer box, Pointer temp); - - boolean overafter_temporal_tstzspan(Pointer temp, Pointer s); - - boolean overafter_temporal_temporal(Pointer temp1, Pointer temp2); - - boolean overafter_tnumber_tbox(Pointer temp, Pointer box); - - boolean overafter_tnumber_tnumber(Pointer temp1, Pointer temp2); - - boolean overafter_tstzspan_temporal(Pointer s, Pointer temp); - - boolean overbefore_tbox_tnumber(Pointer box, Pointer temp); - - boolean overbefore_temporal_tstzspan(Pointer temp, Pointer s); - - boolean overbefore_temporal_temporal(Pointer temp1, Pointer temp2); - - boolean overbefore_tnumber_tbox(Pointer temp, Pointer box); - - boolean overbefore_tnumber_tnumber(Pointer temp1, Pointer temp2); - - boolean overbefore_tstzspan_temporal(Pointer s, Pointer temp); - - boolean overleft_numspan_tnumber(Pointer s, Pointer temp); - - boolean overleft_tbox_tnumber(Pointer box, Pointer temp); - - boolean overleft_tnumber_numspan(Pointer temp, Pointer s); - - boolean overleft_tnumber_tbox(Pointer temp, Pointer box); - - boolean overleft_tnumber_tnumber(Pointer temp1, Pointer temp2); - - boolean overright_numspan_tnumber(Pointer s, Pointer temp); - - boolean overright_tbox_tnumber(Pointer box, Pointer temp); - - boolean overright_tnumber_numspan(Pointer temp, Pointer s); - - boolean overright_tnumber_tbox(Pointer temp, Pointer box); - - boolean overright_tnumber_tnumber(Pointer temp1, Pointer temp2); - - boolean right_numspan_tnumber(Pointer s, Pointer temp); - - boolean right_tbox_tnumber(Pointer box, Pointer temp); - - boolean right_tnumber_numspan(Pointer temp, Pointer s); - - boolean right_tnumber_tbox(Pointer temp, Pointer box); - - boolean right_tnumber_tnumber(Pointer temp1, Pointer temp2); - - Pointer tand_bool_tbool(boolean b, Pointer temp); - - Pointer tand_tbool_bool(Pointer temp, boolean b); - - Pointer tand_tbool_tbool(Pointer temp1, Pointer temp2); - - Pointer tbool_when_true(Pointer temp); - - Pointer tnot_tbool(Pointer temp); - - Pointer tor_bool_tbool(boolean b, Pointer temp); - - Pointer tor_tbool_bool(Pointer temp, boolean b); - - Pointer tor_tbool_tbool(Pointer temp1, Pointer temp2); - - Pointer add_bigint_tbigint(long i, Pointer tnumber); - - Pointer add_float_tfloat(double d, Pointer tnumber); - - Pointer add_int_tint(int i, Pointer tnumber); - - Pointer add_tbigint_bigint(Pointer tnumber, long i); - - Pointer add_tfloat_float(Pointer tnumber, double d); - - Pointer add_tint_int(Pointer tnumber, int i); - - Pointer add_tnumber_tnumber(Pointer tnumber1, Pointer tnumber2); - - Pointer div_bigint_tbigint(long i, Pointer tnumber); - - Pointer div_float_tfloat(double d, Pointer tnumber); - - Pointer div_int_tint(int i, Pointer tnumber); - - Pointer div_tbigint_bigint(Pointer tnumber, long i); - - Pointer div_tfloat_float(Pointer tnumber, double d); - - Pointer div_tint_int(Pointer tnumber, int i); - - Pointer div_tnumber_tnumber(Pointer tnumber1, Pointer tnumber2); - - Pointer mul_bigint_tbigint(long i, Pointer tnumber); - - Pointer mul_float_tfloat(double d, Pointer tnumber); - - Pointer mul_int_tint(int i, Pointer tnumber); - - Pointer mul_tbigint_bigint(Pointer tnumber, long i); - - Pointer mul_tfloat_float(Pointer tnumber, double d); - - Pointer mul_tint_int(Pointer tnumber, int i); - - Pointer mul_tnumber_tnumber(Pointer tnumber1, Pointer tnumber2); - - Pointer sub_bigint_tbigint(long i, Pointer tnumber); - - Pointer sub_float_tfloat(double d, Pointer tnumber); - - Pointer sub_int_tint(int i, Pointer tnumber); - - Pointer sub_tbigint_bigint(Pointer tnumber, long i); - - Pointer sub_tfloat_float(Pointer tnumber, double d); - - Pointer sub_tint_int(Pointer tnumber, int i); - - Pointer sub_tnumber_tnumber(Pointer tnumber1, Pointer tnumber2); - - Pointer temporal_derivative(Pointer temp); - - Pointer tfloat_exp(Pointer temp); - - Pointer tfloat_ln(Pointer temp); - - Pointer tfloat_log10(Pointer temp); - - Pointer tnumber_abs(Pointer temp); - - Pointer tnumber_trend(Pointer temp); - - double float_angular_difference(double degrees1, double degrees2); - - Pointer tnumber_angular_difference(Pointer temp); - - Pointer tnumber_delta_value(Pointer temp); - - Pointer textcat_text_ttext(Pointer txt, Pointer temp); - - Pointer textcat_ttext_text(Pointer temp, Pointer txt); - - Pointer textcat_ttext_ttext(Pointer temp1, Pointer temp2); - - Pointer ttext_initcap(Pointer temp); - - Pointer ttext_upper(Pointer temp); - - Pointer ttext_lower(Pointer temp); - - Pointer tdistance_tfloat_float(Pointer temp, double d); - - Pointer tdistance_tint_int(Pointer temp, int i); - - Pointer tdistance_tnumber_tnumber(Pointer temp1, Pointer temp2); - - double nad_tboxfloat_tboxfloat(Pointer box1, Pointer box2); - - int nad_tboxint_tboxint(Pointer box1, Pointer box2); - - double nad_tfloat_float(Pointer temp, double d); - - double nad_tfloat_tfloat(Pointer temp1, Pointer temp2); - - double nad_tfloat_tbox(Pointer temp, Pointer box); - - int nad_tint_int(Pointer temp, int i); - - int nad_tint_tbox(Pointer temp, Pointer box); - - int nad_tint_tint(Pointer temp1, Pointer temp2); - - Pointer tbool_tand_transfn(Pointer state, Pointer temp); - - Pointer tbool_tor_transfn(Pointer state, Pointer temp); - - Pointer temporal_extent_transfn(Pointer s, Pointer temp); - - Pointer temporal_merge_transfn(Pointer state, Pointer temp); - - Pointer temporal_merge_combinefn(Pointer state1, Pointer state2); - - Pointer temporal_tagg_finalfn(Pointer state); - - Pointer temporal_tcount_transfn(Pointer state, Pointer temp); - - Pointer tfloat_tmax_transfn(Pointer state, Pointer temp); - - Pointer tfloat_tmin_transfn(Pointer state, Pointer temp); - - Pointer tfloat_tsum_transfn(Pointer state, Pointer temp); - - Pointer tfloat_wmax_transfn(Pointer state, Pointer temp, Pointer interv); - - Pointer tfloat_wmin_transfn(Pointer state, Pointer temp, Pointer interv); - - Pointer tfloat_wsum_transfn(Pointer state, Pointer temp, Pointer interv); - - Pointer timestamptz_tcount_transfn(Pointer state, long t); - - Pointer tint_tmax_transfn(Pointer state, Pointer temp); - - Pointer tint_tmin_transfn(Pointer state, Pointer temp); - - Pointer tint_tsum_transfn(Pointer state, Pointer temp); - - Pointer tint_wmax_transfn(Pointer state, Pointer temp, Pointer interv); - - Pointer tint_wmin_transfn(Pointer state, Pointer temp, Pointer interv); - - Pointer tint_wsum_transfn(Pointer state, Pointer temp, Pointer interv); - - Pointer tnumber_extent_transfn(Pointer box, Pointer temp); - - Pointer tnumber_tavg_finalfn(Pointer state); - - Pointer tnumber_tavg_transfn(Pointer state, Pointer temp); - - Pointer tnumber_wavg_transfn(Pointer state, Pointer temp, Pointer interv); - - Pointer tstzset_tcount_transfn(Pointer state, Pointer s); - - Pointer tstzspan_tcount_transfn(Pointer state, Pointer s); - - Pointer tstzspanset_tcount_transfn(Pointer state, Pointer ss); - - Pointer ttext_tmax_transfn(Pointer state, Pointer temp); - - Pointer ttext_tmin_transfn(Pointer state, Pointer temp); - - Pointer temporal_simplify_dp(Pointer temp, double eps_dist, boolean synchronize); - - Pointer temporal_simplify_max_dist(Pointer temp, double eps_dist, boolean synchronize); - - Pointer temporal_simplify_min_dist(Pointer temp, double dist); - - Pointer temporal_simplify_min_tdelta(Pointer temp, Pointer mint); - - Pointer temporal_tprecision(Pointer temp, Pointer duration, long origin); - - Pointer temporal_tsample(Pointer temp, Pointer duration, long origin, int interp); - - double temporal_dyntimewarp_distance(Pointer temp1, Pointer temp2); - - Pointer temporal_dyntimewarp_path(Pointer temp1, Pointer temp2, Pointer count); - - double temporal_frechet_distance(Pointer temp1, Pointer temp2); - - Pointer temporal_frechet_path(Pointer temp1, Pointer temp2, Pointer count); - - double temporal_hausdorff_distance(Pointer temp1, Pointer temp2); - - Pointer temporal_time_bins(Pointer temp, Pointer duration, long origin, Pointer count); - - Pointer temporal_time_split(Pointer temp, Pointer duration, long torigin, Pointer time_bins, Pointer count); - - Pointer tfloat_time_boxes(Pointer temp, Pointer duration, long torigin, Pointer count); - - Pointer tfloat_value_bins(Pointer temp, double vsize, double vorigin, Pointer count); - - Pointer tfloat_value_boxes(Pointer temp, double vsize, double vorigin, Pointer count); - - Pointer tfloat_value_split(Pointer temp, double size, double origin, Pointer bins, Pointer count); - - Pointer tfloat_value_time_boxes(Pointer temp, double vsize, Pointer duration, double vorigin, long torigin, Pointer count); - - Pointer tfloat_value_time_split(Pointer temp, double vsize, Pointer duration, double vorigin, long torigin, Pointer value_bins, Pointer time_bins, Pointer count); - - Pointer tfloatbox_time_tiles(Pointer box, Pointer duration, long torigin, Pointer count); - - Pointer tfloatbox_value_tiles(Pointer box, double vsize, double vorigin, Pointer count); - - Pointer tfloatbox_value_time_tiles(Pointer box, double vsize, Pointer duration, double vorigin, long torigin, Pointer count); - - Pointer tint_time_boxes(Pointer temp, Pointer duration, long torigin, Pointer count); - - Pointer tint_value_bins(Pointer temp, int vsize, int vorigin, Pointer count); - - Pointer tint_value_boxes(Pointer temp, int vsize, int vorigin, Pointer count); - - Pointer tint_value_split(Pointer temp, int vsize, int vorigin, Pointer bins, Pointer count); - - Pointer tint_value_time_boxes(Pointer temp, int vsize, Pointer duration, int vorigin, long torigin, Pointer count); - - Pointer tint_value_time_split(Pointer temp, long size, Pointer duration, int vorigin, long torigin, Pointer value_bins, Pointer time_bins, Pointer count); - - Pointer tintbox_time_tiles(Pointer box, Pointer duration, long torigin, Pointer count); - - Pointer tintbox_value_tiles(Pointer box, int xsize, int xorigin, Pointer count); - - Pointer tintbox_value_time_tiles(Pointer box, int xsize, Pointer duration, int xorigin, long torigin, Pointer count); - - void meos_initialize_noexit_error_handler(); - - boolean h3_are_neighbor_cells_meos(long origin, long destination); - - long h3_cells_to_directed_edge_meos(long origin, long destination); - - boolean h3_is_valid_directed_edge_meos(long edge); - - long h3_get_directed_edge_origin_meos(long edge); - - long h3_get_directed_edge_destination_meos(long edge); - - long h3_cell_to_parent_meos(long origin, int resolution); - - long h3_cell_to_center_child_meos(long origin, int resolution); - - long h3_cell_to_child_pos_meos(long child, int parentRes); - - long h3_child_pos_to_cell_meos(long childPos, long parent, int childRes); - - int h3_get_resolution_meos(long hex); - - int h3_get_base_cell_number_meos(long hex); - - boolean h3_is_valid_cell_meos(long hex); - - boolean h3_is_res_class_iii_meos(long hex); - - boolean h3_is_pentagon_meos(long hex); - - long h3_get_num_cells_meos(int resolution); - - long h3_grid_distance_meos(long originIndex, long h3Index); - - long h3_cell_to_vertex_meos(long cell, int vertexNum); - - boolean h3_is_valid_vertex_meos(long vertex); - - long h3index_parse(String str); - - String h3index_to_string(long cell); - - boolean h3index_eq(long a, long b); - - boolean h3index_ne(long a, long b); - - boolean h3index_lt(long a, long b); - - boolean h3index_le(long a, long b); - - boolean h3index_gt(long a, long b); - - boolean h3index_ge(long a, long b); - - int h3index_cmp(long a, long b); - - int h3index_hash(long cell); - - Pointer h3_grid_disk(long origin, int k); - - Pointer h3_grid_ring(long origin, int k); - - Pointer h3_grid_path_cells(long start, long end); - - Pointer h3_cell_to_children(long origin, int childRes); - - Pointer h3_compact_cells(Pointer cells); - - Pointer h3_uncompact_cells(Pointer cells, int res); - - Pointer h3_origin_to_directed_edges(long origin); - - Pointer h3_cell_to_vertexes(long cell); - - Pointer h3_get_icosahedron_faces(long cell); - - boolean ensure_valid_th3index_th3index(Pointer temp1, Pointer temp2); - - boolean ensure_valid_th3index_h3index(Pointer temp, long cell); - - boolean ensure_valid_th3index_tgeogpoint(Pointer temp1, Pointer temp2); - - int datum2_h3index_eq(int d1, int d2, int type); - - int datum2_h3index_ne(int d1, int d2, int type); - - void th3indexinst_set_stbox(Pointer inst, Pointer box); - - void th3indexinstarr_set_stbox(Pointer instants, int count, Pointer box); - - void th3indexseq_expand_stbox(Pointer seq, Pointer inst); - - long h3_gs_point_to_cell(Pointer point, int resolution); - - Pointer h3_cell_to_gs_point(long cell); - - Pointer h3_cell_to_gs_boundary(long cell); - - Pointer cell_boundary_to_gs(Pointer bnd); - - double h3_sample_step_deg(int resolution); - - long h3_latlng_deg_to_cell(double lat_deg, double lng_deg, int resolution); - - long h3_cell_to_parent_next_meos(long cell); - - long h3_cell_to_center_child_next_meos(long cell); - - Pointer h3_directed_edge_to_gs_boundary(long edge); - - Pointer h3_vertex_to_gs_point(long vertex); - - Pointer h3_cell_to_local_ij_meos(long origin, long cell); - - long h3_local_ij_to_cell_meos(long origin, Pointer coord); - - int h3_unit_from_cstring(String unit); - - double h3_cell_area_meos(long cell, int unit); - - double h3_edge_length_meos(long edge, int unit); - - double h3_gs_great_circle_distance_meos(Pointer a, Pointer b, int unit); - - int datum_h3_get_resolution(int d); - - int datum_h3_get_base_cell_number(int d); - - int datum_h3_is_valid_cell(int d); - - int datum_h3_is_res_class_iii(int d); - - int datum_h3_is_pentagon(int d); - - int datum_h3_cell_to_parent(int cell_d, int res_d); - - int datum_h3_cell_to_parent_next(int cell_d); - - int datum_h3_cell_to_center_child(int cell_d, int res_d); - - int datum_h3_cell_to_center_child_next(int cell_d); - - int datum_h3_cell_to_child_pos(int cell_d, int parent_res_d); - - int datum_h3_child_pos_to_cell(int pos_d, int parent_d, int child_res_d); - - int datum_h3_are_neighbor_cells(int origin_d, int dest_d); - - int datum_h3_cells_to_directed_edge(int origin_d, int dest_d); - - int datum_h3_is_valid_directed_edge(int d); - - int datum_h3_get_directed_edge_origin(int d); - - int datum_h3_get_directed_edge_destination(int d); - - int datum_h3_directed_edge_to_boundary(int d); - - int datum_h3_cell_to_vertex(int cell_d, int vnum_d); - - int datum_h3_vertex_to_latlng(int d); - - int datum_h3_is_valid_vertex(int d); - - int datum_h3_grid_distance(int origin_d, int dest_d); - - int datum_h3_cell_to_local_ij(int origin_d, int cell_d); - - int datum_h3_local_ij_to_cell(int origin_d, int coord_d); - - int datum_h3_latlng_to_cell(int point_d, int res_d); - - int datum_h3_cell_to_latlng(int d); - - int datum_h3_cell_to_boundary(int d); - - int datum_h3_cell_area(int cell_d, int unit_d); - - int datum_h3_edge_length(int edge_d, int unit_d); - - int datum_h3_great_circle_distance(int a_d, int b_d, int unit_d); - - Pointer geo_as_ewkb(Pointer gs, String endian, Pointer size); - - String geo_as_ewkt(Pointer gs, int precision); - - String geo_as_geojson(Pointer gs, int option, int precision, String srs); - - String geo_as_hexewkb(Pointer gs, String endian); - - String geo_as_text(Pointer gs, int precision); - - Pointer geo_from_ewkb(Pointer wkb, long wkb_size, int srid); - - Pointer geo_from_geojson(String geojson); - - Pointer geo_from_text(String wkt, int srid); - - String geo_out(Pointer gs); - - Pointer geog_from_binary(String wkb_bytea); - - Pointer geog_from_hexewkb(String wkt); - - Pointer geog_in(String str, int typmod); - - Pointer geom_from_hexewkb(String wkt); - - Pointer geom_in(String str, int typmod); - - Pointer box3d_make(double xmin, double xmax, double ymin, double ymax, double zmin, double zmax, int srid); - - String box3d_out(Pointer box, int maxdd); - - Pointer gbox_make(boolean hasz, double xmin, double xmax, double ymin, double ymax, double zmin, double zmax); - - String gbox_out(Pointer box, int maxdd); - - Pointer geo_copy(Pointer g); - - Pointer geogpoint_make2d(int srid, double x, double y); - - Pointer geogpoint_make3dz(int srid, double x, double y, double z); - - Pointer geompoint_make2d(int srid, double x, double y); - - Pointer geompoint_make3dz(int srid, double x, double y, double z); - - Pointer geom_to_geog(Pointer geom); - - Pointer geog_to_geom(Pointer geog); - - } - - public interface MeosLibraryPartC { - - boolean geo_is_empty(Pointer g); - - boolean geo_is_unitary(Pointer gs); - - String geo_typename(int type); - - double geog_area(Pointer g, boolean use_spheroid); - - Pointer geog_centroid(Pointer g, boolean use_spheroid); - - double geog_length(Pointer g, boolean use_spheroid); - - double geog_perimeter(Pointer g, boolean use_spheroid); - - boolean geom_azimuth(Pointer gs1, Pointer gs2, Pointer result); - - double geom_length(Pointer gs); - - double geom_perimeter(Pointer gs); - - int line_numpoints(Pointer gs); - - Pointer line_point_n(Pointer geom, int n); - - Pointer geo_reverse(Pointer gs); - - Pointer geo_round(Pointer gs, int maxdd); - - Pointer geo_set_srid(Pointer gs, int srid); - - int geo_srid(Pointer gs); - - Pointer geo_transform(Pointer geom, int srid_to); - - Pointer geo_transform_pipeline(Pointer gs, String pipeline, int srid_to, boolean is_forward); - - Pointer geo_collect_garray(Pointer gsarr, int count); - - Pointer geo_makeline_garray(Pointer gsarr, int count); - - int geo_num_points(Pointer gs); - - int geo_num_geos(Pointer gs); - - Pointer geo_geo_n(Pointer geom, int n); - - Pointer geo_pointarr(Pointer gs, Pointer count); - - Pointer geo_points(Pointer gs); - - Pointer geom_array_union(Pointer gsarr, int count); - - Pointer geom_boundary(Pointer gs); - - Pointer geom_buffer(Pointer gs, double size, String params); - - Pointer geom_centroid(Pointer gs); - - Pointer geom_convex_hull(Pointer gs); - - Pointer geom_difference2d(Pointer gs1, Pointer gs2); - - Pointer geom_intersection2d(Pointer gs1, Pointer gs2); - - Pointer geom_intersection2d_coll(Pointer gs1, Pointer gs2); - - Pointer geom_min_bounding_radius(Pointer geom, Pointer radius); - - Pointer geom_shortestline2d(Pointer gs1, Pointer s2); - - Pointer geom_shortestline3d(Pointer gs1, Pointer s2); - - Pointer geom_unary_union(Pointer gs, double prec); - - Pointer line_interpolate_point(Pointer gs, double distance_fraction, boolean repeat); - - double line_locate_point(Pointer gs1, Pointer gs2); - - Pointer line_substring(Pointer gs, double from, double to); - - boolean geog_dwithin(Pointer g1, Pointer g2, double tolerance, boolean use_spheroid); - - boolean geog_intersects(Pointer gs1, Pointer gs2, boolean use_spheroid); - - boolean geom_contains(Pointer gs1, Pointer gs2); - - boolean geom_covers(Pointer gs1, Pointer gs2); - - boolean geom_disjoint2d(Pointer gs1, Pointer gs2); - - boolean geom_dwithin2d(Pointer gs1, Pointer gs2, double tolerance); - - boolean geom_dwithin3d(Pointer gs1, Pointer gs2, double tolerance); - - boolean geom_intersects2d(Pointer gs1, Pointer gs2); - - boolean geom_intersects3d(Pointer gs1, Pointer gs2); - - boolean geom_relate_pattern(Pointer gs1, Pointer gs2, String patt); - - boolean geom_touches(Pointer gs1, Pointer gs2); - - Pointer geo_stboxes(Pointer gs, Pointer count); - - Pointer geo_split_each_n_stboxes(Pointer gs, int elem_count, Pointer count); - - Pointer geo_split_n_stboxes(Pointer gs, int box_count, Pointer count); - - double geog_distance(Pointer g1, Pointer g2); - - double geom_distance2d(Pointer gs1, Pointer gs2); - - double geom_distance3d(Pointer gs1, Pointer gs2); - - int geo_equals(Pointer gs1, Pointer gs2); - - boolean geo_same(Pointer gs1, Pointer gs2); - - Pointer geogset_in(String str); - - Pointer geomset_in(String str); - - String spatialset_as_text(Pointer set, int maxdd); - - String spatialset_as_ewkt(Pointer set, int maxdd); - - Pointer geoset_make(Pointer values, int count); - - Pointer geo_to_set(Pointer gs); - - Pointer geoset_end_value(Pointer s); - - Pointer geoset_start_value(Pointer s); - - boolean geoset_value_n(Pointer s, int n, Pointer result); - - Pointer geoset_values(Pointer s); - - boolean contained_geo_set(Pointer gs, Pointer s); - - boolean contains_set_geo(Pointer s, Pointer gs); - - Pointer geo_union_transfn(Pointer state, Pointer gs); - - Pointer intersection_geo_set(Pointer gs, Pointer s); - - Pointer intersection_set_geo(Pointer s, Pointer gs); - - Pointer minus_geo_set(Pointer gs, Pointer s); - - Pointer minus_set_geo(Pointer s, Pointer gs); - - Pointer union_geo_set(Pointer gs, Pointer s); - - Pointer union_set_geo(Pointer s, Pointer gs); - - Pointer spatialset_set_srid(Pointer s, int srid); - - int spatialset_srid(Pointer s); - - Pointer spatialset_transform(Pointer s, int srid); - - Pointer spatialset_transform_pipeline(Pointer s, String pipelinestr, int srid, boolean is_forward); - - String stbox_as_hexwkb(Pointer box, byte variant, Pointer size); - - Pointer stbox_as_wkb(Pointer box, byte variant, Pointer size_out); - - Pointer stbox_from_hexwkb(String hexwkb); - - Pointer stbox_from_wkb(Pointer wkb, long size); - - Pointer stbox_in(String str); - - String stbox_out(Pointer box, int maxdd); - - Pointer geo_timestamptz_to_stbox(Pointer gs, long t); - - Pointer geo_tstzspan_to_stbox(Pointer gs, Pointer s); - - Pointer stbox_copy(Pointer box); - - Pointer stbox_make(boolean hasx, boolean hasz, boolean geodetic, int srid, double xmin, double xmax, double ymin, double ymax, double zmin, double zmax, Pointer s); - - Pointer geo_to_stbox(Pointer gs); - - Pointer spatialset_to_stbox(Pointer s); - - Pointer stbox_to_box3d(Pointer box); - - Pointer stbox_to_gbox(Pointer box); - - Pointer stbox_to_geo(Pointer box); - - Pointer stbox_to_tstzspan(Pointer box); - - Pointer timestamptz_to_stbox(long t); - - Pointer tstzset_to_stbox(Pointer s); - - Pointer tstzspan_to_stbox(Pointer s); - - Pointer tstzspanset_to_stbox(Pointer ss); - - double stbox_area(Pointer box, boolean spheroid); - - int stbox_hash(Pointer box); - - long stbox_hash_extended(Pointer box, long seed); - - boolean stbox_hast(Pointer box); - - boolean stbox_hasx(Pointer box); - - boolean stbox_hasz(Pointer box); - - boolean stbox_isgeodetic(Pointer box); - - double stbox_perimeter(Pointer box, boolean spheroid); - - boolean stbox_tmax(Pointer box, Pointer result); - - boolean stbox_tmax_inc(Pointer box, Pointer result); - - boolean stbox_tmin(Pointer box, Pointer result); - - boolean stbox_tmin_inc(Pointer box, Pointer result); - - double stbox_volume(Pointer box); - - boolean stbox_xmax(Pointer box, Pointer result); - - boolean stbox_xmin(Pointer box, Pointer result); - - boolean stbox_ymax(Pointer box, Pointer result); - - boolean stbox_ymin(Pointer box, Pointer result); - - boolean stbox_zmax(Pointer box, Pointer result); - - boolean stbox_zmin(Pointer box, Pointer result); - - Pointer stbox_expand_space(Pointer box, double d); - - Pointer stbox_expand_time(Pointer box, Pointer interv); - - Pointer stbox_get_space(Pointer box); - - Pointer stbox_quad_split(Pointer box, Pointer count); - - Pointer stbox_round(Pointer box, int maxdd); - - Pointer stbox_shift_scale_time(Pointer box, Pointer shift, Pointer duration); - - Pointer stboxarr_round(Pointer boxarr, int count, int maxdd); - - Pointer stbox_set_srid(Pointer box, int srid); - - int stbox_srid(Pointer box); - - Pointer stbox_transform(Pointer box, int srid); - - Pointer stbox_transform_pipeline(Pointer box, String pipelinestr, int srid, boolean is_forward); - - boolean adjacent_stbox_stbox(Pointer box1, Pointer box2); - - boolean contained_stbox_stbox(Pointer box1, Pointer box2); - - boolean contains_stbox_stbox(Pointer box1, Pointer box2); - - boolean overlaps_stbox_stbox(Pointer box1, Pointer box2); - - boolean same_stbox_stbox(Pointer box1, Pointer box2); - - boolean above_stbox_stbox(Pointer box1, Pointer box2); - - boolean after_stbox_stbox(Pointer box1, Pointer box2); - - boolean back_stbox_stbox(Pointer box1, Pointer box2); - - boolean before_stbox_stbox(Pointer box1, Pointer box2); - - boolean below_stbox_stbox(Pointer box1, Pointer box2); - - boolean front_stbox_stbox(Pointer box1, Pointer box2); - - boolean left_stbox_stbox(Pointer box1, Pointer box2); - - boolean overabove_stbox_stbox(Pointer box1, Pointer box2); - - boolean overafter_stbox_stbox(Pointer box1, Pointer box2); - - boolean overback_stbox_stbox(Pointer box1, Pointer box2); - - boolean overbefore_stbox_stbox(Pointer box1, Pointer box2); - - boolean overbelow_stbox_stbox(Pointer box1, Pointer box2); - - boolean overfront_stbox_stbox(Pointer box1, Pointer box2); - - boolean overleft_stbox_stbox(Pointer box1, Pointer box2); - - boolean overright_stbox_stbox(Pointer box1, Pointer box2); - - boolean right_stbox_stbox(Pointer box1, Pointer box2); - - Pointer union_stbox_stbox(Pointer box1, Pointer box2, boolean strict); - - Pointer intersection_stbox_stbox(Pointer box1, Pointer box2); - - int stbox_cmp(Pointer box1, Pointer box2); - - boolean stbox_eq(Pointer box1, Pointer box2); - - boolean stbox_ge(Pointer box1, Pointer box2); - - boolean stbox_gt(Pointer box1, Pointer box2); - - boolean stbox_le(Pointer box1, Pointer box2); - - boolean stbox_lt(Pointer box1, Pointer box2); - - boolean stbox_ne(Pointer box1, Pointer box2); - - Pointer tgeogpoint_from_mfjson(String str); - - Pointer tgeogpoint_in(String str); - - Pointer tgeography_from_mfjson(String mfjson); - - Pointer tgeography_in(String str); - - Pointer tgeometry_from_mfjson(String str); - - Pointer tgeometry_in(String str); - - Pointer tgeompoint_from_mfjson(String str); - - Pointer tgeompoint_in(String str); - - String tspatial_as_ewkt(Pointer temp, int maxdd); - - String tspatial_as_text(Pointer temp, int maxdd); - - String tspatial_out(Pointer temp, int maxdd); - - Pointer tgeo_from_base_temp(Pointer gs, Pointer temp); - - Pointer tgeoinst_make(Pointer gs, long t); - - Pointer tgeoseq_from_base_tstzset(Pointer gs, Pointer s); - - Pointer tgeoseq_from_base_tstzspan(Pointer gs, Pointer s, int interp); - - Pointer tgeoseqset_from_base_tstzspanset(Pointer gs, Pointer ss, int interp); - - Pointer tpoint_from_base_temp(Pointer gs, Pointer temp); - - Pointer tpointinst_make(Pointer gs, long t); - - Pointer tpointseq_from_base_tstzset(Pointer gs, Pointer s); - - Pointer tpointseq_from_base_tstzspan(Pointer gs, Pointer s, int interp); - - Pointer tpointseq_make_coords(Pointer xcoords, Pointer ycoords, Pointer zcoords, Pointer times, int count, int srid, boolean geodetic, boolean lower_inc, boolean upper_inc, int interp, boolean normalize); - - Pointer tpointseqset_from_base_tstzspanset(Pointer gs, Pointer ss, int interp); - - Pointer box3d_to_stbox(Pointer box); - - Pointer gbox_to_stbox(Pointer box); - - Pointer geomeas_to_tpoint(Pointer gs); - - Pointer tgeogpoint_to_tgeography(Pointer temp); - - Pointer tgeography_to_tgeogpoint(Pointer temp); - - Pointer tgeography_to_tgeometry(Pointer temp); - - Pointer tgeometry_to_tgeography(Pointer temp); - - Pointer tgeometry_to_tgeompoint(Pointer temp); - - Pointer tgeompoint_to_tgeometry(Pointer temp); - - boolean tpoint_as_mvtgeom(Pointer temp, Pointer bounds, int extent, int buffer, boolean clip_geom, Pointer gsarr, Pointer timesarr, Pointer count); - - boolean tpoint_tfloat_to_geomeas(Pointer tpoint, Pointer measure, boolean segmentize, Pointer result); - - Pointer tspatial_to_stbox(Pointer temp); - - boolean bearing_point_point(Pointer gs1, Pointer gs2, Pointer result); - - Pointer bearing_tpoint_point(Pointer temp, Pointer gs, boolean invert); - - Pointer bearing_tpoint_tpoint(Pointer temp1, Pointer temp2); - - Pointer tgeo_centroid(Pointer temp); - - Pointer tgeo_convex_hull(Pointer temp); - - Pointer tgeo_end_value(Pointer temp); - - Pointer tgeo_start_value(Pointer temp); - - Pointer tgeo_traversed_area(Pointer temp, boolean unary_union); - - boolean tgeo_value_at_timestamptz(Pointer temp, long t, boolean strict, Pointer value); - - boolean tgeo_value_n(Pointer temp, int n, Pointer result); - - Pointer tgeo_values(Pointer temp, Pointer count); - - Pointer tpoint_angular_difference(Pointer temp); - - Pointer tpoint_azimuth(Pointer temp); - - Pointer tpoint_cumulative_length(Pointer temp); - - boolean tpoint_direction(Pointer temp, Pointer result); - - Pointer tpoint_get_x(Pointer temp); - - Pointer tpoint_get_y(Pointer temp); - - Pointer tpoint_get_z(Pointer temp); - - boolean tpoint_is_simple(Pointer temp); - - double tpoint_length(Pointer temp); - - Pointer tpoint_speed(Pointer temp); - - Pointer tpoint_trajectory(Pointer temp, boolean unary_union); - - Pointer tpoint_twcentroid(Pointer temp); - - Pointer tgeo_affine(Pointer temp, Pointer a); - - Pointer tgeo_scale(Pointer temp, Pointer scale, Pointer sorigin); - - Pointer tpoint_make_simple(Pointer temp, Pointer count); - - int tspatial_srid(Pointer temp); - - Pointer tspatial_set_srid(Pointer temp, int srid); - - Pointer tspatial_transform(Pointer temp, int srid); - - Pointer tspatial_transform_pipeline(Pointer temp, String pipelinestr, int srid, boolean is_forward); - - Pointer tgeo_at_geom(Pointer temp, Pointer gs); - - Pointer tgeo_at_stbox(Pointer temp, Pointer box, boolean border_inc); - - Pointer tgeo_at_value(Pointer temp, Pointer gs); - - Pointer tgeo_minus_geom(Pointer temp, Pointer gs); - - Pointer tgeo_minus_stbox(Pointer temp, Pointer box, boolean border_inc); - - Pointer tgeo_minus_value(Pointer temp, Pointer gs); - - Pointer tpoint_at_elevation(Pointer temp, Pointer s); - - Pointer tpoint_at_geom(Pointer temp, Pointer gs); - - Pointer tpoint_at_value(Pointer temp, Pointer gs); - - Pointer tpoint_minus_elevation(Pointer temp, Pointer s); - - Pointer tpoint_minus_geom(Pointer temp, Pointer gs); - - Pointer tpoint_minus_value(Pointer temp, Pointer gs); - - int always_eq_geo_tgeo(Pointer gs, Pointer temp); - - int always_eq_tgeo_geo(Pointer temp, Pointer gs); - - int always_eq_tgeo_tgeo(Pointer temp1, Pointer temp2); - - int always_ne_geo_tgeo(Pointer gs, Pointer temp); - - int always_ne_tgeo_geo(Pointer temp, Pointer gs); - - int always_ne_tgeo_tgeo(Pointer temp1, Pointer temp2); - - int ever_eq_geo_tgeo(Pointer gs, Pointer temp); - - int ever_eq_tgeo_geo(Pointer temp, Pointer gs); - - int ever_eq_tgeo_tgeo(Pointer temp1, Pointer temp2); - - int ever_ne_geo_tgeo(Pointer gs, Pointer temp); - - int ever_ne_tgeo_geo(Pointer temp, Pointer gs); - - int ever_ne_tgeo_tgeo(Pointer temp1, Pointer temp2); - - Pointer teq_geo_tgeo(Pointer gs, Pointer temp); - - Pointer teq_tgeo_geo(Pointer temp, Pointer gs); - - Pointer tne_geo_tgeo(Pointer gs, Pointer temp); - - Pointer tne_tgeo_geo(Pointer temp, Pointer gs); - - Pointer tgeo_stboxes(Pointer temp, Pointer count); - - Pointer tgeo_space_boxes(Pointer temp, double xsize, double ysize, double zsize, Pointer sorigin, boolean bitmatrix, boolean border_inc, Pointer count); - - Pointer tgeo_space_time_boxes(Pointer temp, double xsize, double ysize, double zsize, Pointer duration, Pointer sorigin, long torigin, boolean bitmatrix, boolean border_inc, Pointer count); - - Pointer tgeo_split_each_n_stboxes(Pointer temp, int elem_count, Pointer count); - - Pointer tgeo_split_n_stboxes(Pointer temp, int box_count, Pointer count); - - boolean adjacent_stbox_tspatial(Pointer box, Pointer temp); - - boolean adjacent_tspatial_stbox(Pointer temp, Pointer box); - - boolean adjacent_tspatial_tspatial(Pointer temp1, Pointer temp2); - - boolean contained_stbox_tspatial(Pointer box, Pointer temp); - - boolean contained_tspatial_stbox(Pointer temp, Pointer box); - - boolean contained_tspatial_tspatial(Pointer temp1, Pointer temp2); - - boolean contains_stbox_tspatial(Pointer box, Pointer temp); - - boolean contains_tspatial_stbox(Pointer temp, Pointer box); - - boolean contains_tspatial_tspatial(Pointer temp1, Pointer temp2); - - boolean overlaps_stbox_tspatial(Pointer box, Pointer temp); - - boolean overlaps_tspatial_stbox(Pointer temp, Pointer box); - - boolean overlaps_tspatial_tspatial(Pointer temp1, Pointer temp2); - - boolean same_stbox_tspatial(Pointer box, Pointer temp); - - boolean same_tspatial_stbox(Pointer temp, Pointer box); - - boolean same_tspatial_tspatial(Pointer temp1, Pointer temp2); - - boolean above_stbox_tspatial(Pointer box, Pointer temp); - - boolean above_tspatial_stbox(Pointer temp, Pointer box); - - boolean above_tspatial_tspatial(Pointer temp1, Pointer temp2); - - boolean after_stbox_tspatial(Pointer box, Pointer temp); - - boolean after_tspatial_stbox(Pointer temp, Pointer box); - - boolean after_tspatial_tspatial(Pointer temp1, Pointer temp2); - - boolean back_stbox_tspatial(Pointer box, Pointer temp); - - boolean back_tspatial_stbox(Pointer temp, Pointer box); - - boolean back_tspatial_tspatial(Pointer temp1, Pointer temp2); - - boolean before_stbox_tspatial(Pointer box, Pointer temp); - - boolean before_tspatial_stbox(Pointer temp, Pointer box); - - boolean before_tspatial_tspatial(Pointer temp1, Pointer temp2); - - boolean below_stbox_tspatial(Pointer box, Pointer temp); - - boolean below_tspatial_stbox(Pointer temp, Pointer box); - - boolean below_tspatial_tspatial(Pointer temp1, Pointer temp2); - - boolean front_stbox_tspatial(Pointer box, Pointer temp); - - boolean front_tspatial_stbox(Pointer temp, Pointer box); - - boolean front_tspatial_tspatial(Pointer temp1, Pointer temp2); - - boolean left_stbox_tspatial(Pointer box, Pointer temp); - - boolean left_tspatial_stbox(Pointer temp, Pointer box); - - boolean left_tspatial_tspatial(Pointer temp1, Pointer temp2); - - boolean overabove_stbox_tspatial(Pointer box, Pointer temp); - - boolean overabove_tspatial_stbox(Pointer temp, Pointer box); - - boolean overabove_tspatial_tspatial(Pointer temp1, Pointer temp2); - - boolean overafter_stbox_tspatial(Pointer box, Pointer temp); - - boolean overafter_tspatial_stbox(Pointer temp, Pointer box); - - boolean overafter_tspatial_tspatial(Pointer temp1, Pointer temp2); - - boolean overback_stbox_tspatial(Pointer box, Pointer temp); - - boolean overback_tspatial_stbox(Pointer temp, Pointer box); - - boolean overback_tspatial_tspatial(Pointer temp1, Pointer temp2); - - boolean overbefore_stbox_tspatial(Pointer box, Pointer temp); - - boolean overbefore_tspatial_stbox(Pointer temp, Pointer box); - - boolean overbefore_tspatial_tspatial(Pointer temp1, Pointer temp2); - - boolean overbelow_stbox_tspatial(Pointer box, Pointer temp); - - boolean overbelow_tspatial_stbox(Pointer temp, Pointer box); - - boolean overbelow_tspatial_tspatial(Pointer temp1, Pointer temp2); - - boolean overfront_stbox_tspatial(Pointer box, Pointer temp); - - boolean overfront_tspatial_stbox(Pointer temp, Pointer box); - - boolean overfront_tspatial_tspatial(Pointer temp1, Pointer temp2); - - boolean overleft_stbox_tspatial(Pointer box, Pointer temp); - - boolean overleft_tspatial_stbox(Pointer temp, Pointer box); - - boolean overleft_tspatial_tspatial(Pointer temp1, Pointer temp2); - - boolean overright_stbox_tspatial(Pointer box, Pointer temp); - - boolean overright_tspatial_stbox(Pointer temp, Pointer box); - - boolean overright_tspatial_tspatial(Pointer temp1, Pointer temp2); - - boolean right_stbox_tspatial(Pointer box, Pointer temp); - - boolean right_tspatial_stbox(Pointer temp, Pointer box); - - boolean right_tspatial_tspatial(Pointer temp1, Pointer temp2); - - int acontains_geo_tgeo(Pointer gs, Pointer temp); - - int acontains_tgeo_geo(Pointer temp, Pointer gs); - - int acontains_tgeo_tgeo(Pointer temp1, Pointer temp2); - - int adisjoint_tgeo_geo(Pointer temp, Pointer gs); - - int adisjoint_tgeo_tgeo(Pointer temp1, Pointer temp2); - - int adwithin_tgeo_geo(Pointer temp, Pointer gs, double dist); - - int adwithin_tgeo_tgeo(Pointer temp1, Pointer temp2, double dist); - - int aintersects_tgeo_geo(Pointer temp, Pointer gs); - - int aintersects_tgeo_tgeo(Pointer temp1, Pointer temp2); - - int atouches_tgeo_geo(Pointer temp, Pointer gs); - - int atouches_tgeo_tgeo(Pointer temp1, Pointer temp2); - - int atouches_tpoint_geo(Pointer temp, Pointer gs); - - int econtains_geo_tgeo(Pointer gs, Pointer temp); - - int econtains_tgeo_geo(Pointer temp, Pointer gs); - - int econtains_tgeo_tgeo(Pointer temp1, Pointer temp2); - - int ecovers_geo_tgeo(Pointer gs, Pointer temp); - - int ecovers_tgeo_geo(Pointer temp, Pointer gs); - - int ecovers_tgeo_tgeo(Pointer temp1, Pointer temp2); - - int edisjoint_tgeo_geo(Pointer temp, Pointer gs); - - int edisjoint_tgeo_tgeo(Pointer temp1, Pointer temp2); - - int edwithin_tgeo_geo(Pointer temp, Pointer gs, double dist); - - int edwithin_tgeo_tgeo(Pointer temp1, Pointer temp2, double dist); - - int eintersects_tgeo_geo(Pointer temp, Pointer gs); - - int eintersects_tgeo_tgeo(Pointer temp1, Pointer temp2); - - int etouches_tgeo_geo(Pointer temp, Pointer gs); - - int etouches_tgeo_tgeo(Pointer temp1, Pointer temp2); - - int etouches_tpoint_geo(Pointer temp, Pointer gs); - - Pointer tcontains_geo_tgeo(Pointer gs, Pointer temp); - - Pointer tcontains_tgeo_geo(Pointer temp, Pointer gs); - - Pointer tcontains_tgeo_tgeo(Pointer temp1, Pointer temp2); - - Pointer tcovers_geo_tgeo(Pointer gs, Pointer temp); - - Pointer tcovers_tgeo_geo(Pointer temp, Pointer gs); - - Pointer tcovers_tgeo_tgeo(Pointer temp1, Pointer temp2); - - Pointer tdisjoint_geo_tgeo(Pointer gs, Pointer temp); - - Pointer tdisjoint_tgeo_geo(Pointer temp, Pointer gs); - - Pointer tdisjoint_tgeo_tgeo(Pointer temp1, Pointer temp2); - - Pointer tdwithin_geo_tgeo(Pointer gs, Pointer temp, double dist); - - Pointer tdwithin_tgeo_geo(Pointer temp, Pointer gs, double dist); - - Pointer tdwithin_tgeo_tgeo(Pointer temp1, Pointer temp2, double dist); - - Pointer tintersects_geo_tgeo(Pointer gs, Pointer temp); - - Pointer tintersects_tgeo_geo(Pointer temp, Pointer gs); - - Pointer tintersects_tgeo_tgeo(Pointer temp1, Pointer temp2); - - Pointer ttouches_geo_tgeo(Pointer gs, Pointer temp); - - Pointer ttouches_tgeo_geo(Pointer temp, Pointer gs); - - Pointer ttouches_tgeo_tgeo(Pointer temp1, Pointer temp2); - - Pointer tdistance_tgeo_geo(Pointer temp, Pointer gs); - - Pointer tdistance_tgeo_tgeo(Pointer temp1, Pointer temp2); - - double nad_stbox_geo(Pointer box, Pointer gs); - - double nad_stbox_stbox(Pointer box1, Pointer box2); - - double nad_tgeo_geo(Pointer temp, Pointer gs); - - double nad_tgeo_stbox(Pointer temp, Pointer box); - - double nad_tgeo_tgeo(Pointer temp1, Pointer temp2); - - Pointer nai_tgeo_geo(Pointer temp, Pointer gs); - - Pointer nai_tgeo_tgeo(Pointer temp1, Pointer temp2); - - Pointer shortestline_tgeo_geo(Pointer temp, Pointer gs); - - Pointer shortestline_tgeo_tgeo(Pointer temp1, Pointer temp2); - - double tgeoarr_tgeoarr_mindist(Pointer arr1, int count1, Pointer arr2, int count2); - - double mindistance_tgeo_tgeo(Pointer temp1, Pointer temp2, double threshold); - - Pointer tpoint_tcentroid_finalfn(Pointer state); - - Pointer tpoint_tcentroid_transfn(Pointer state, Pointer temp); - - Pointer tspatial_extent_transfn(Pointer box, Pointer temp); - - Pointer stbox_get_space_tile(Pointer point, double xsize, double ysize, double zsize, Pointer sorigin); - - Pointer stbox_get_space_time_tile(Pointer point, long t, double xsize, double ysize, double zsize, Pointer duration, Pointer sorigin, long torigin); - - Pointer stbox_get_time_tile(long t, Pointer duration, long torigin); - - Pointer stbox_space_tiles(Pointer bounds, double xsize, double ysize, double zsize, Pointer sorigin, boolean border_inc, Pointer count); - - Pointer stbox_space_time_tiles(Pointer bounds, double xsize, double ysize, double zsize, Pointer duration, Pointer sorigin, long torigin, boolean border_inc, Pointer count); - - Pointer stbox_time_tiles(Pointer bounds, Pointer duration, long torigin, boolean border_inc, Pointer count); - - Pointer tgeo_space_split(Pointer temp, double xsize, double ysize, double zsize, Pointer sorigin, boolean bitmatrix, boolean border_inc, Pointer space_bins, Pointer count); - - Pointer tgeo_space_time_split(Pointer temp, double xsize, double ysize, double zsize, Pointer duration, Pointer sorigin, long torigin, boolean bitmatrix, boolean border_inc, Pointer space_bins, Pointer time_bins, Pointer count); - - Pointer geo_cluster_kmeans(Pointer geoms, int ngeoms, int k); - - Pointer geo_cluster_dbscan(Pointer geoms, int ngeoms, double tolerance, int minpoints, Pointer count); - - Pointer geo_cluster_intersecting(Pointer geoms, int ngeoms, Pointer count); - - Pointer geo_cluster_within(Pointer geoms, int ngeoms, double tolerance, Pointer count); - - int acovers_geo_tgeo(Pointer gs, Pointer temp); - - int acovers_tgeo_geo(Pointer temp, Pointer gs); - - String cbuffer_as_ewkt(Pointer cb, int maxdd); - - String cbuffer_as_hexwkb(Pointer cb, byte variant, Pointer size); - - String cbuffer_as_text(Pointer cb, int maxdd); - - Pointer cbuffer_as_wkb(Pointer cb, byte variant, Pointer size_out); - - Pointer cbuffer_from_hexwkb(String hexwkb); - - Pointer cbuffer_from_wkb(Pointer wkb, long size); - - Pointer cbuffer_in(String str); - - String cbuffer_out(Pointer cb, int maxdd); - - Pointer cbuffer_copy(Pointer cb); - - Pointer cbuffer_make(Pointer point, double radius); - - Pointer cbuffer_to_geom(Pointer cb); - - Pointer cbuffer_to_stbox(Pointer cb); - - Pointer cbufferarr_to_geom(Pointer cbarr, int count); - - Pointer geom_to_cbuffer(Pointer gs); - - int cbuffer_hash(Pointer cb); - - long cbuffer_hash_extended(Pointer cb, long seed); - - Pointer cbuffer_point(Pointer cb); - - double cbuffer_radius(Pointer cb); - - Pointer cbuffer_round(Pointer cb, int maxdd); - - Pointer cbufferarr_round(Pointer cbarr, int count, int maxdd); - - void cbuffer_set_srid(Pointer cb, int srid); - - int cbuffer_srid(Pointer cb); - - Pointer cbuffer_transform(Pointer cb, int srid); - - Pointer cbuffer_transform_pipeline(Pointer cb, String pipelinestr, int srid, boolean is_forward); - - int contains_cbuffer_cbuffer(Pointer cb1, Pointer cb2); - - int covers_cbuffer_cbuffer(Pointer cb1, Pointer cb2); - - int disjoint_cbuffer_cbuffer(Pointer cb1, Pointer cb2); - - int dwithin_cbuffer_cbuffer(Pointer cb1, Pointer cb2, double dist); - - int intersects_cbuffer_cbuffer(Pointer cb1, Pointer cb2); - - int touches_cbuffer_cbuffer(Pointer cb1, Pointer cb2); - - Pointer cbuffer_tstzspan_to_stbox(Pointer cb, Pointer s); - - Pointer cbuffer_timestamptz_to_stbox(Pointer cb, long t); - - double distance_cbuffer_cbuffer(Pointer cb1, Pointer cb2); - - double distance_cbuffer_geo(Pointer cb, Pointer gs); - - double distance_cbuffer_stbox(Pointer cb, Pointer box); - - double nad_cbuffer_stbox(Pointer cb, Pointer box); - - int cbuffer_cmp(Pointer cb1, Pointer cb2); - - boolean cbuffer_eq(Pointer cb1, Pointer cb2); - - boolean cbuffer_ge(Pointer cb1, Pointer cb2); - - boolean cbuffer_gt(Pointer cb1, Pointer cb2); - - boolean cbuffer_le(Pointer cb1, Pointer cb2); - - boolean cbuffer_lt(Pointer cb1, Pointer cb2); - - boolean cbuffer_ne(Pointer cb1, Pointer cb2); - - boolean cbuffer_nsame(Pointer cb1, Pointer cb2); - - boolean cbuffer_same(Pointer cb1, Pointer cb2); - - Pointer cbufferset_in(String str); - - String cbufferset_out(Pointer s, int maxdd); - - Pointer cbufferset_make(Pointer values, int count); - - Pointer cbuffer_to_set(Pointer cb); - - Pointer cbufferset_end_value(Pointer s); - - Pointer cbufferset_start_value(Pointer s); - - boolean cbufferset_value_n(Pointer s, int n, Pointer result); - - Pointer cbufferset_values(Pointer s); - - Pointer cbuffer_union_transfn(Pointer state, Pointer cb); - - boolean contained_cbuffer_set(Pointer cb, Pointer s); - - boolean contains_set_cbuffer(Pointer s, Pointer cb); - - Pointer intersection_cbuffer_set(Pointer cb, Pointer s); - - Pointer intersection_set_cbuffer(Pointer s, Pointer cb); - - Pointer minus_cbuffer_set(Pointer cb, Pointer s); - - Pointer minus_set_cbuffer(Pointer s, Pointer cb); - - Pointer union_cbuffer_set(Pointer cb, Pointer s); - - Pointer union_set_cbuffer(Pointer s, Pointer cb); - - Pointer tcbuffer_in(String str); - - Pointer tcbuffer_from_mfjson(String mfjson); - - Pointer tcbuffer_make(Pointer tpoint, Pointer tfloat); - - Pointer tcbuffer_points(Pointer temp); - - Pointer tcbuffer_radius(Pointer temp); - - Pointer tcbuffer_trav_area(Pointer temp, boolean merge_union); - - Pointer tcbuffer_to_tfloat(Pointer temp); - - Pointer tcbuffer_to_tgeompoint(Pointer temp); - - Pointer tgeometry_to_tcbuffer(Pointer temp); - - Pointer tcbuffer_expand(Pointer temp, double dist); - - Pointer tcbuffer_at_cbuffer(Pointer temp, Pointer cb); - - Pointer tcbuffer_at_geom(Pointer temp, Pointer gs); - - Pointer tcbuffer_at_stbox(Pointer temp, Pointer box, boolean border_inc); - - Pointer tcbuffer_minus_cbuffer(Pointer temp, Pointer cb); - - Pointer tcbuffer_minus_geom(Pointer temp, Pointer gs); - - Pointer tcbuffer_minus_stbox(Pointer temp, Pointer box, boolean border_inc); - - Pointer tdistance_tcbuffer_cbuffer(Pointer temp, Pointer cb); - - Pointer tdistance_tcbuffer_geo(Pointer temp, Pointer gs); - - Pointer tdistance_tcbuffer_tcbuffer(Pointer temp1, Pointer temp2); - - double nad_tcbuffer_cbuffer(Pointer temp, Pointer cb); - - double nad_tcbuffer_geo(Pointer temp, Pointer gs); - - double nad_tcbuffer_stbox(Pointer temp, Pointer box); - - double nad_tcbuffer_tcbuffer(Pointer temp1, Pointer temp2); - - Pointer nai_tcbuffer_cbuffer(Pointer temp, Pointer cb); - - Pointer nai_tcbuffer_geo(Pointer temp, Pointer gs); - - Pointer nai_tcbuffer_tcbuffer(Pointer temp1, Pointer temp2); - - Pointer shortestline_tcbuffer_cbuffer(Pointer temp, Pointer cb); - - Pointer shortestline_tcbuffer_geo(Pointer temp, Pointer gs); - - Pointer shortestline_tcbuffer_tcbuffer(Pointer temp1, Pointer temp2); - - int always_eq_cbuffer_tcbuffer(Pointer cb, Pointer temp); - - int always_eq_tcbuffer_cbuffer(Pointer temp, Pointer cb); - - int always_eq_tcbuffer_tcbuffer(Pointer temp1, Pointer temp2); - - int always_ne_cbuffer_tcbuffer(Pointer cb, Pointer temp); - - int always_ne_tcbuffer_cbuffer(Pointer temp, Pointer cb); - - int always_ne_tcbuffer_tcbuffer(Pointer temp1, Pointer temp2); - - int ever_eq_cbuffer_tcbuffer(Pointer cb, Pointer temp); - - int ever_eq_tcbuffer_cbuffer(Pointer temp, Pointer cb); - - int ever_eq_tcbuffer_tcbuffer(Pointer temp1, Pointer temp2); - - int ever_ne_cbuffer_tcbuffer(Pointer cb, Pointer temp); - - int ever_ne_tcbuffer_cbuffer(Pointer temp, Pointer cb); - - int ever_ne_tcbuffer_tcbuffer(Pointer temp1, Pointer temp2); - - Pointer teq_cbuffer_tcbuffer(Pointer cb, Pointer temp); - - Pointer teq_tcbuffer_cbuffer(Pointer temp, Pointer cb); - - Pointer tne_cbuffer_tcbuffer(Pointer cb, Pointer temp); - - Pointer tne_tcbuffer_cbuffer(Pointer temp, Pointer cb); - - int acontains_cbuffer_tcbuffer(Pointer cb, Pointer temp); - - int acontains_geo_tcbuffer(Pointer gs, Pointer temp); - - int acontains_tcbuffer_cbuffer(Pointer temp, Pointer cb); - - int acontains_tcbuffer_geo(Pointer temp, Pointer gs); - - int acovers_cbuffer_tcbuffer(Pointer cb, Pointer temp); - - int acovers_geo_tcbuffer(Pointer gs, Pointer temp); - - int acovers_tcbuffer_cbuffer(Pointer temp, Pointer cb); - - int acovers_tcbuffer_geo(Pointer temp, Pointer gs); - - int adisjoint_tcbuffer_geo(Pointer temp, Pointer gs); - - int adisjoint_tcbuffer_cbuffer(Pointer temp, Pointer cb); - - int adisjoint_tcbuffer_tcbuffer(Pointer temp1, Pointer temp2); - - int adwithin_tcbuffer_geo(Pointer temp, Pointer gs, double dist); - - int adwithin_tcbuffer_cbuffer(Pointer temp, Pointer cb, double dist); - - int adwithin_tcbuffer_tcbuffer(Pointer temp1, Pointer temp2, double dist); - - int aintersects_tcbuffer_geo(Pointer temp, Pointer gs); - - int aintersects_tcbuffer_cbuffer(Pointer temp, Pointer cb); - - int aintersects_tcbuffer_tcbuffer(Pointer temp1, Pointer temp2); - - int atouches_tcbuffer_geo(Pointer temp, Pointer gs); - - int atouches_tcbuffer_cbuffer(Pointer temp, Pointer cb); - - int atouches_tcbuffer_tcbuffer(Pointer temp1, Pointer temp2); - - int econtains_cbuffer_tcbuffer(Pointer cb, Pointer temp); - - int econtains_tcbuffer_cbuffer(Pointer temp, Pointer cb); - - int econtains_tcbuffer_geo(Pointer temp, Pointer gs); - - int ecovers_cbuffer_tcbuffer(Pointer cb, Pointer temp); - - int ecovers_tcbuffer_cbuffer(Pointer temp, Pointer cb); - - int ecovers_tcbuffer_geo(Pointer temp, Pointer gs); - - int ecovers_tcbuffer_tcbuffer(Pointer temp1, Pointer temp2); - - int edisjoint_tcbuffer_geo(Pointer temp, Pointer gs); - - int edisjoint_tcbuffer_cbuffer(Pointer temp, Pointer cb); - - int edwithin_tcbuffer_geo(Pointer temp, Pointer gs, double dist); - - int edwithin_tcbuffer_cbuffer(Pointer temp, Pointer cb, double dist); - - int edwithin_tcbuffer_tcbuffer(Pointer temp1, Pointer temp2, double dist); - - int eintersects_tcbuffer_geo(Pointer temp, Pointer gs); - - int eintersects_tcbuffer_cbuffer(Pointer temp, Pointer cb); - - int eintersects_tcbuffer_tcbuffer(Pointer temp1, Pointer temp2); - - int etouches_tcbuffer_geo(Pointer temp, Pointer gs); - - int etouches_tcbuffer_cbuffer(Pointer temp, Pointer cb); - - int etouches_tcbuffer_tcbuffer(Pointer temp1, Pointer temp2); - - Pointer tcontains_cbuffer_tcbuffer(Pointer cb, Pointer temp); - - Pointer tcontains_geo_tcbuffer(Pointer gs, Pointer temp); - - Pointer tcontains_tcbuffer_geo(Pointer temp, Pointer gs); - - Pointer tcontains_tcbuffer_cbuffer(Pointer temp, Pointer cb); - - Pointer tcontains_tcbuffer_tcbuffer(Pointer temp1, Pointer temp2); - - Pointer tcovers_cbuffer_tcbuffer(Pointer cb, Pointer temp); - - Pointer tcovers_geo_tcbuffer(Pointer gs, Pointer temp); - - Pointer tcovers_tcbuffer_geo(Pointer temp, Pointer gs); - - Pointer tcovers_tcbuffer_cbuffer(Pointer temp, Pointer cb); - - Pointer tcovers_tcbuffer_tcbuffer(Pointer temp1, Pointer temp2); - - Pointer tdwithin_geo_tcbuffer(Pointer gs, Pointer temp, double dist); - - Pointer tdwithin_tcbuffer_geo(Pointer temp, Pointer gs, double dist); - - Pointer tdwithin_tcbuffer_cbuffer(Pointer temp, Pointer cb, double dist); - - Pointer tdwithin_tcbuffer_tcbuffer(Pointer temp1, Pointer temp2, double dist); - - Pointer tdisjoint_cbuffer_tcbuffer(Pointer cb, Pointer temp); - - Pointer tdisjoint_geo_tcbuffer(Pointer gs, Pointer temp); - - Pointer tdisjoint_tcbuffer_geo(Pointer temp, Pointer gs); - - Pointer tdisjoint_tcbuffer_cbuffer(Pointer temp, Pointer cb); - - Pointer tdisjoint_tcbuffer_tcbuffer(Pointer temp1, Pointer temp2); - - Pointer tintersects_cbuffer_tcbuffer(Pointer cb, Pointer temp); - - Pointer tintersects_geo_tcbuffer(Pointer gs, Pointer temp); - - Pointer tintersects_tcbuffer_geo(Pointer temp, Pointer gs); - - Pointer tintersects_tcbuffer_cbuffer(Pointer temp, Pointer cb); - - Pointer tintersects_tcbuffer_tcbuffer(Pointer temp1, Pointer temp2); - - Pointer ttouches_geo_tcbuffer(Pointer gs, Pointer temp); - - Pointer ttouches_tcbuffer_geo(Pointer temp, Pointer gs); - - Pointer ttouches_cbuffer_tcbuffer(Pointer cb, Pointer temp); - - Pointer ttouches_tcbuffer_cbuffer(Pointer temp, Pointer cb); - - Pointer ttouches_tcbuffer_tcbuffer(Pointer temp1, Pointer temp2); - - int acovers_tcbuffer_tcbuffer(Pointer temp1, Pointer temp2); - - long h3index_in(String str); - - String h3index_out(long cell); - - Pointer th3index_in(String str); - - Pointer th3indexinst_in(String str); - - Pointer th3indexseq_in(String str, int interp); - - Pointer th3indexseqset_in(String str); - - Pointer th3index_make(long value, long t); - - Pointer th3indexinst_make(long value, long t); - - Pointer th3indexseq_make(Pointer values, Pointer times, int count, boolean lower_inc, boolean upper_inc); - - Pointer th3indexseqset_make(Pointer sequences, int count); - - long th3index_start_value(Pointer temp); - - long th3index_end_value(Pointer temp); - - boolean th3index_value_n(Pointer temp, int n, Pointer result); - - Pointer th3index_values(Pointer temp, Pointer count); - - boolean th3index_value_at_timestamptz(Pointer temp, long t, boolean strict, Pointer result); - - Pointer tbigint_to_th3index(Pointer temp); - - Pointer th3index_to_tbigint(Pointer temp); - - int ever_eq_h3index_th3index(long cell, Pointer temp); - - int ever_eq_th3index_h3index(Pointer temp, long cell); - - int ever_ne_h3index_th3index(long cell, Pointer temp); - - int ever_ne_th3index_h3index(Pointer temp, long cell); - - int always_eq_h3index_th3index(long cell, Pointer temp); - - int always_eq_th3index_h3index(Pointer temp, long cell); - - int always_ne_h3index_th3index(long cell, Pointer temp); - - int always_ne_th3index_h3index(Pointer temp, long cell); - - int ever_eq_th3index_th3index(Pointer temp1, Pointer temp2); - - int ever_ne_th3index_th3index(Pointer temp1, Pointer temp2); - - int always_eq_th3index_th3index(Pointer temp1, Pointer temp2); - - int always_ne_th3index_th3index(Pointer temp1, Pointer temp2); - - Pointer teq_h3index_th3index(long cell, Pointer temp); - - Pointer teq_th3index_h3index(Pointer temp, long cell); - - Pointer teq_th3index_th3index(Pointer temp1, Pointer temp2); - - Pointer tne_h3index_th3index(long cell, Pointer temp); - - Pointer tne_th3index_h3index(Pointer temp, long cell); - - Pointer tne_th3index_th3index(Pointer temp1, Pointer temp2); - - Pointer th3index_get_resolution(Pointer temp); - - Pointer th3index_get_base_cell_number(Pointer temp); - - Pointer th3index_is_valid_cell(Pointer temp); - - Pointer th3index_is_res_class_iii(Pointer temp); - - Pointer th3index_is_pentagon(Pointer temp); - - Pointer th3index_cell_to_parent(Pointer temp, int resolution); - - Pointer th3index_cell_to_parent_next(Pointer temp); - - Pointer th3index_cell_to_center_child(Pointer temp, int resolution); - - Pointer th3index_cell_to_center_child_next(Pointer temp); - - Pointer th3index_cell_to_child_pos(Pointer temp, int parent_res); - - Pointer th3index_child_pos_to_cell(Pointer child_pos, Pointer parent, int child_res); - - Pointer tgeogpoint_to_th3index(Pointer temp, int resolution); - - Pointer tgeompoint_to_th3index(Pointer temp, int resolution); - - Pointer th3index_to_tgeogpoint(Pointer temp); - - Pointer th3index_to_tgeompoint(Pointer temp); - - Pointer th3index_cell_to_boundary(Pointer temp); - - Pointer geo_to_h3index_set(Pointer gs, int resolution); - - int ever_eq_h3indexset_th3index(Pointer cells, Pointer th3idx); - - Pointer th3index_are_neighbor_cells(Pointer origin, Pointer dest); - - Pointer th3index_cells_to_directed_edge(Pointer origin, Pointer dest); - - Pointer th3index_is_valid_directed_edge(Pointer edge); - - Pointer th3index_get_directed_edge_origin(Pointer edge); - - Pointer th3index_get_directed_edge_destination(Pointer edge); - - Pointer th3index_directed_edge_to_boundary(Pointer edge); - - Pointer th3index_cell_to_vertex(Pointer temp, int vertex_num); - - Pointer th3index_vertex_to_latlng(Pointer temp); - - Pointer th3index_is_valid_vertex(Pointer temp); - - Pointer th3index_grid_distance(Pointer origin, Pointer dest); - - Pointer th3index_cell_to_local_ij(Pointer origin, Pointer cell); - - Pointer th3index_local_ij_to_cell(Pointer origin, Pointer coord); - - Pointer th3index_cell_area(Pointer temp, String unit); - - Pointer th3index_edge_length(Pointer temp, String unit); - - Pointer tgeogpoint_great_circle_distance(Pointer a, Pointer b, String unit); - - Pointer gsl_get_generation_rng(); - - Pointer gsl_get_aggregation_rng(); - - int datum_ceil(Pointer d); - - int datum_degrees(Pointer d, Pointer normalize); - - int datum_float_round(Pointer value, Pointer size); - - int datum_floor(Pointer d); - - int datum_hash(Pointer d, int basetype); - - long datum_hash_extended(Pointer d, int basetype, long seed); - - int datum_radians(Pointer d); - - void floatspan_round_set(Pointer s, int maxdd, Pointer result); - - Pointer set_in(String str, int basetype); - - String set_out(Pointer s, int maxdd); - - Pointer span_in(String str, int spantype); - - String span_out(Pointer s, int maxdd); - - Pointer spanset_in(String str, int spantype); - - String spanset_out(Pointer ss, int maxdd); - - Pointer set_make(Pointer values, int count, int basetype, boolean order); - - Pointer set_make_exp(Pointer values, int count, int maxcount, int basetype, boolean order); - - Pointer set_make_free(Pointer values, int count, int basetype, boolean order); - - Pointer span_make(Pointer lower, Pointer upper, boolean lower_inc, boolean upper_inc, int basetype); - - void span_set(Pointer lower, Pointer upper, boolean lower_inc, boolean upper_inc, int basetype, int spantype, Pointer s); - - Pointer spanset_make_exp(Pointer spans, int count, int maxcount, boolean normalize, boolean order); - - Pointer spanset_make_free(Pointer spans, int count, boolean normalize, boolean order); - - Pointer set_span(Pointer s); - - Pointer set_spanset(Pointer s); - - void value_set_span(Pointer value, int basetype, Pointer s); - - Pointer value_set(Pointer d, int basetype); - - Pointer value_span(Pointer d, int basetype); - - Pointer value_spanset(Pointer d, int basetype); - - int numspan_width(Pointer s); - - int numspanset_width(Pointer ss, boolean boundspan); - - int set_end_value(Pointer s); - - int set_mem_size(Pointer s); - - void set_set_subspan(Pointer s, int minidx, int maxidx, Pointer result); - - void set_set_span(Pointer s, Pointer result); - - int set_start_value(Pointer s); - - boolean set_value_n(Pointer s, int n, Pointer result); - - Pointer set_vals(Pointer s); - - Pointer set_values(Pointer s); - - int spanset_lower(Pointer ss); - - int spanset_mem_size(Pointer ss); - - Pointer spanset_sps(Pointer ss); - - int spanset_upper(Pointer ss); - - void bigintspan_set_floatspan(Pointer s1, Pointer s2); - - void bigintspan_set_intspan(Pointer s1, Pointer s2); - - void datespan_set_tstzspan(Pointer s1, Pointer s2); - - void floatspan_set_bigintspan(Pointer s1, Pointer s2); - - void floatspan_set_intspan(Pointer s1, Pointer s2); - - void intspan_set_bigintspan(Pointer s1, Pointer s2); - - void intspan_set_floatspan(Pointer s1, Pointer s2); - - Pointer numset_shift_scale(Pointer s, Pointer shift, Pointer width, boolean hasshift, boolean haswidth); - - Pointer numspan_expand(Pointer s, Pointer value); - - Pointer numspan_shift_scale(Pointer s, Pointer shift, Pointer width, boolean hasshift, boolean haswidth); - - Pointer numspanset_shift_scale(Pointer ss, Pointer shift, Pointer width, boolean hasshift, boolean haswidth); - - Pointer set_compact(Pointer s); - - void span_expand(Pointer s1, Pointer s2); - - Pointer spanset_compact(Pointer ss); - - Pointer tbox_expand_value(Pointer box, Pointer value, int basetyp); - - Pointer textcat_textset_text_common(Pointer s, Pointer txt, boolean invert); - - void tstzspan_set_datespan(Pointer s1, Pointer s2); - - boolean adjacent_span_value(Pointer s, Pointer value); - - boolean adjacent_spanset_value(Pointer ss, Pointer value); - - boolean adjacent_value_spanset(Pointer value, Pointer ss); - - boolean contained_value_set(Pointer value, Pointer s); - - boolean contained_value_span(Pointer value, Pointer s); - - boolean contained_value_spanset(Pointer value, Pointer ss); - - boolean contains_set_value(Pointer s, Pointer value); - - boolean contains_span_value(Pointer s, Pointer value); - - boolean contains_spanset_value(Pointer ss, Pointer value); - - boolean ovadj_span_span(Pointer s1, Pointer s2); - - boolean left_set_value(Pointer s, Pointer value); - - boolean left_span_value(Pointer s, Pointer value); - - boolean left_spanset_value(Pointer ss, Pointer value); - - boolean left_value_set(Pointer value, Pointer s); - - boolean left_value_span(Pointer value, Pointer s); - - boolean left_value_spanset(Pointer value, Pointer ss); - - boolean lfnadj_span_span(Pointer s1, Pointer s2); - - boolean overleft_set_value(Pointer s, Pointer value); - - boolean overleft_span_value(Pointer s, Pointer value); - - boolean overleft_spanset_value(Pointer ss, Pointer value); - - boolean overleft_value_set(Pointer value, Pointer s); - - boolean overleft_value_span(Pointer value, Pointer s); - - boolean overleft_value_spanset(Pointer value, Pointer ss); - - boolean overright_set_value(Pointer s, Pointer value); - - boolean overright_span_value(Pointer s, Pointer value); - - boolean overright_spanset_value(Pointer ss, Pointer value); - - boolean overright_value_set(Pointer value, Pointer s); - - boolean overright_value_span(Pointer value, Pointer s); - - boolean overright_value_spanset(Pointer value, Pointer ss); - - } - - public interface MeosLibraryPartD { - - boolean right_value_set(Pointer value, Pointer s); - - boolean right_set_value(Pointer s, Pointer value); - - boolean right_value_span(Pointer value, Pointer s); - - boolean right_value_spanset(Pointer value, Pointer ss); - - boolean right_span_value(Pointer s, Pointer value); - - boolean right_spanset_value(Pointer ss, Pointer value); - - boolean bbox_type(int bboxtype); - - long bbox_get_size(int bboxtype); - - int bbox_max_dims(int bboxtype); - - boolean temporal_bbox_eq(Pointer box1, Pointer box2, int temptype); - - int temporal_bbox_cmp(Pointer box1, Pointer box2, int temptype); - - void bbox_union_span_span(Pointer s1, Pointer s2, Pointer result); - - boolean inter_span_span(Pointer s1, Pointer s2, Pointer result); - - Pointer intersection_set_value(Pointer s, Pointer value); - - Pointer intersection_span_value(Pointer s, Pointer value); - - Pointer intersection_spanset_value(Pointer ss, Pointer value); - - Pointer intersection_value_set(Pointer value, Pointer s); - - Pointer intersection_value_span(Pointer value, Pointer s); - - Pointer intersection_value_spanset(Pointer value, Pointer ss); - - int mi_span_span(Pointer s1, Pointer s2, Pointer result); - - Pointer minus_set_value(Pointer s, Pointer value); - - Pointer minus_span_value(Pointer s, Pointer value); - - Pointer minus_spanset_value(Pointer ss, Pointer value); - - Pointer minus_value_set(Pointer value, Pointer s); - - Pointer minus_value_span(Pointer value, Pointer s); - - Pointer minus_value_spanset(Pointer value, Pointer ss); - - Pointer super_union_span_span(Pointer s1, Pointer s2); - - Pointer union_set_value(Pointer s, Pointer value); - - Pointer union_span_value(Pointer s, Pointer value); - - Pointer union_spanset_value(Pointer ss, Pointer value); - - Pointer union_value_set(Pointer value, Pointer s); - - Pointer union_value_span(Pointer value, Pointer s); - - Pointer union_value_spanset(Pointer value, Pointer ss); - - int distance_set_set(Pointer s1, Pointer s2); - - int distance_set_value(Pointer s, Pointer value); - - int distance_span_span(Pointer s1, Pointer s2); - - int distance_span_value(Pointer s, Pointer value); - - int distance_spanset_span(Pointer ss, Pointer s); - - int distance_spanset_spanset(Pointer ss1, Pointer ss2); - - int distance_spanset_value(Pointer ss, Pointer value); - - int distance_value_value(Pointer l, Pointer r, int basetype); - - Pointer spanbase_extent_transfn(Pointer state, Pointer value, int basetype); - - Pointer value_union_transfn(Pointer state, Pointer value, int basetype); - - Pointer number_tstzspan_to_tbox(Pointer d, int basetype, Pointer s); - - Pointer number_timestamptz_to_tbox(Pointer d, int basetype, long t); - - void tbox_set(Pointer s, Pointer p, Pointer box); - - void float_set_tbox(double d, Pointer box); - - void int_set_tbox(int i, Pointer box); - - void number_set_tbox(Pointer d, int basetype, Pointer box); - - Pointer number_tbox(Pointer value, int basetype); - - void numset_set_tbox(Pointer s, Pointer box); - - void numspan_set_tbox(Pointer span, Pointer box); - - void timestamptz_set_tbox(long t, Pointer box); - - void tstzset_set_tbox(Pointer s, Pointer box); - - void tstzspan_set_tbox(Pointer s, Pointer box); - - Pointer tbox_shift_scale_value(Pointer box, Pointer shift, Pointer width, boolean hasshift, boolean haswidth); - - void tbox_expand(Pointer box1, Pointer box2); - - boolean inter_tbox_tbox(Pointer box1, Pointer box2, Pointer result); - - Pointer tboolinst_from_mfjson(Pointer mfjson); - - Pointer tboolinst_in(String str); - - Pointer tboolseq_from_mfjson(Pointer mfjson); - - Pointer tboolseq_in(String str, int interp); - - Pointer tboolseqset_from_mfjson(Pointer mfjson); - - Pointer tboolseqset_in(String str); - - Pointer temporal_in(String str, int temptype); - - String temporal_out(Pointer temp, int maxdd); - - Pointer temparr_out(Pointer temparr, int count, int maxdd); - - Pointer tfloatinst_from_mfjson(Pointer mfjson); - - Pointer tfloatinst_in(String str); - - Pointer tfloatseq_from_mfjson(Pointer mfjson, int interp); - - Pointer tfloatseq_in(String str, int interp); - - Pointer tfloatseqset_from_mfjson(Pointer mfjson, int interp); - - Pointer tfloatseqset_in(String str); - - Pointer tinstant_from_mfjson(Pointer mfjson, boolean spatial, int srid, int temptype); - - Pointer tinstant_in(String str, int temptype); - - String tinstant_out(Pointer inst, int maxdd); - - Pointer tintinst_from_mfjson(Pointer mfjson); - - Pointer tintinst_in(String str); - - Pointer tintseq_from_mfjson(Pointer mfjson); - - Pointer tintseq_in(String str, int interp); - - Pointer tintseqset_from_mfjson(Pointer mfjson); - - Pointer tintseqset_in(String str); - - Pointer tsequence_from_mfjson(Pointer mfjson, boolean spatial, int srid, int temptype, int interp); - - Pointer tsequence_in(String str, int temptype, int interp); - - String tsequence_out(Pointer seq, int maxdd); - - Pointer tsequenceset_from_mfjson(Pointer mfjson, boolean spatial, int srid, int temptype, int interp); - - Pointer tsequenceset_in(String str, int temptype, int interp); - - String tsequenceset_out(Pointer ss, int maxdd); - - Pointer ttextinst_from_mfjson(Pointer mfjson); - - Pointer ttextinst_in(String str); - - Pointer ttextseq_from_mfjson(Pointer mfjson); - - Pointer ttextseq_in(String str, int interp); - - Pointer ttextseqset_from_mfjson(Pointer mfjson); - - Pointer ttextseqset_in(String str); - - Pointer temporal_from_mfjson(String mfjson, int temptype); - - Pointer temporal_from_base_temp(Pointer value, int temptype, Pointer temp); - - Pointer tinstant_copy(Pointer inst); - - Pointer tinstant_make(Pointer value, int temptype, long t); - - Pointer tinstant_make_free(Pointer value, int temptype, long t); - - Pointer tsequence_copy(Pointer seq); - - Pointer tsequence_from_base_temp(Pointer value, int temptype, Pointer seq); - - Pointer tsequence_from_base_tstzset(Pointer value, int temptype, Pointer s); - - Pointer tsequence_from_base_tstzspan(Pointer value, int temptype, Pointer s, int interp); - - Pointer tsequence_make_exp(Pointer instants, int count, int maxcount, boolean lower_inc, boolean upper_inc, int interp, boolean normalize); - - Pointer tsequence_make_free(Pointer instants, int count, boolean lower_inc, boolean upper_inc, int interp, boolean normalize); - - Pointer tsequenceset_copy(Pointer ss); - - Pointer tseqsetarr_to_tseqset(Pointer seqsets, int count, int totalseqs); - - Pointer tsequenceset_from_base_temp(Pointer value, int temptype, Pointer ss); - - Pointer tsequenceset_from_base_tstzspanset(Pointer value, int temptype, Pointer ss, int interp); - - Pointer tsequenceset_make_exp(Pointer sequences, int count, int maxcount, boolean normalize); - - Pointer tsequenceset_make_free(Pointer sequences, int count, boolean normalize); - - void temporal_set_tstzspan(Pointer temp, Pointer s); - - void tinstant_set_tstzspan(Pointer inst, Pointer s); - - void tnumber_set_tbox(Pointer temp, Pointer box); - - void tnumberinst_set_tbox(Pointer inst, Pointer box); - - void tnumberseq_set_tbox(Pointer seq, Pointer box); - - void tnumberseqset_set_tbox(Pointer ss, Pointer box); - - void tsequence_set_tstzspan(Pointer seq, Pointer s); - - void tsequenceset_set_tstzspan(Pointer ss, Pointer s); - - Pointer temporal_end_inst(Pointer temp); - - int temporal_end_value(Pointer temp); - - Pointer temporal_inst_n(Pointer temp, int n); - - Pointer temporal_insts_p(Pointer temp, Pointer count); - - Pointer temporal_max_inst_p(Pointer temp); - - int temporal_max_value(Pointer temp); - - long temporal_mem_size(Pointer temp); - - Pointer temporal_min_inst_p(Pointer temp); - - int temporal_min_value(Pointer temp); - - Pointer temporal_sequences_p(Pointer temp, Pointer count); - - void temporal_set_bbox(Pointer temp, Pointer box); - - Pointer temporal_start_inst(Pointer temp); - - int temporal_start_value(Pointer temp); - - Pointer temporal_values_p(Pointer temp, Pointer count); - - boolean temporal_value_n(Pointer temp, int n, Pointer result); - - Pointer temporal_values(Pointer temp, Pointer count); - - int tinstant_hash(Pointer inst); - - Pointer tinstant_insts(Pointer inst, Pointer count); - - void tinstant_set_bbox(Pointer inst, Pointer box); - - Pointer tinstant_time(Pointer inst); - - Pointer tinstant_timestamps(Pointer inst, Pointer count); - - int tinstant_value_p(Pointer inst); - - int tinstant_value(Pointer inst); - - boolean tinstant_value_at_timestamptz(Pointer inst, long t, Pointer result); - - Pointer tinstant_values_p(Pointer inst, Pointer count); - - void tnumber_set_span(Pointer temp, Pointer span); - - Pointer tnumberinst_valuespans(Pointer inst); - - double tnumberseq_avg_val(Pointer seq); - - Pointer tnumberseq_valuespans(Pointer seq); - - double tnumberseqset_avg_val(Pointer ss); - - Pointer tnumberseqset_valuespans(Pointer ss); - - Pointer tsequence_duration(Pointer seq); - - long tsequence_end_timestamptz(Pointer seq); - - int tsequence_hash(Pointer seq); - - Pointer tsequence_insts_p(Pointer seq); - - Pointer tsequence_max_inst_p(Pointer seq); - - int tsequence_max_val(Pointer seq); - - Pointer tsequence_min_inst_p(Pointer seq); - - int tsequence_min_val(Pointer seq); - - Pointer tsequence_segments(Pointer seq, Pointer count); - - Pointer tsequence_seqs(Pointer seq, Pointer count); - - long tsequence_start_timestamptz(Pointer seq); - - Pointer tsequence_time(Pointer seq); - - Pointer tsequence_timestamps(Pointer seq, Pointer count); - - boolean tsequence_value_at_timestamptz(Pointer seq, long t, boolean strict, Pointer result); - - Pointer tsequence_values_p(Pointer seq, Pointer count); - - Pointer tsequenceset_duration(Pointer ss, boolean boundspan); - - long tsequenceset_end_timestamptz(Pointer ss); - - int tsequenceset_hash(Pointer ss); - - Pointer tsequenceset_inst_n(Pointer ss, int n); - - Pointer tsequenceset_insts_p(Pointer ss); - - Pointer tsequenceset_max_inst_p(Pointer ss); - - int tsequenceset_max_val(Pointer ss); - - Pointer tsequenceset_min_inst_p(Pointer ss); - - int tsequenceset_min_val(Pointer ss); - - int tsequenceset_num_instants(Pointer ss); - - int tsequenceset_num_timestamps(Pointer ss); - - Pointer tsequenceset_segments(Pointer ss, Pointer count); - - Pointer tsequenceset_sequences_p(Pointer ss); - - long tsequenceset_start_timestamptz(Pointer ss); - - Pointer tsequenceset_time(Pointer ss); - - boolean tsequenceset_timestamptz_n(Pointer ss, int n, Pointer result); - - Pointer tsequenceset_timestamps(Pointer ss, Pointer count); - - boolean tsequenceset_value_at_timestamptz(Pointer ss, long t, boolean strict, Pointer result); - - boolean tsequenceset_value_n(Pointer ss, int n, Pointer result); - - Pointer tsequenceset_values_p(Pointer ss, Pointer count); - - void temporal_restart(Pointer temp, int count); - - Pointer temporal_tsequence(Pointer temp, int interp); - - Pointer temporal_tsequenceset(Pointer temp, int interp); - - Pointer tinstant_shift_time(Pointer inst, Pointer interv); - - Pointer tinstant_to_tsequence(Pointer inst, int interp); - - Pointer tinstant_to_tsequence_free(Pointer inst, int interp); - - Pointer tinstant_to_tsequenceset(Pointer inst, int interp); - - Pointer tnumber_shift_scale_value(Pointer temp, Pointer shift, Pointer width, boolean hasshift, boolean haswidth); - - Pointer tnumberinst_shift_value(Pointer inst, Pointer shift); - - Pointer tnumberseq_shift_scale_value(Pointer seq, Pointer shift, Pointer width, boolean hasshift, boolean haswidth); - - Pointer tnumberseqset_shift_scale_value(Pointer ss, Pointer start, Pointer width, boolean hasshift, boolean haswidth); - - void tsequence_restart(Pointer seq, int count); - - Pointer tsequence_set_interp(Pointer seq, int interp); - - Pointer tsequence_shift_scale_time(Pointer seq, Pointer shift, Pointer duration); - - Pointer tsequence_subseq(Pointer seq, int from, int to, boolean lower_inc, boolean upper_inc); - - Pointer tsequence_to_tinstant(Pointer seq); - - Pointer tsequence_to_tsequenceset(Pointer seq); - - Pointer tsequence_to_tsequenceset_free(Pointer seq); - - Pointer tsequence_to_tsequenceset_interp(Pointer seq, int interp); - - void tsequenceset_restart(Pointer ss, int count); - - Pointer tsequenceset_set_interp(Pointer ss, int interp); - - Pointer tsequenceset_shift_scale_time(Pointer ss, Pointer start, Pointer duration); - - Pointer tsequenceset_to_discrete(Pointer ss); - - Pointer tsequenceset_to_linear(Pointer ss); - - Pointer tsequenceset_to_step(Pointer ss); - - Pointer tsequenceset_to_tinstant(Pointer ss); - - Pointer tsequenceset_to_tsequence(Pointer ss); - - Pointer tinstant_merge(Pointer inst1, Pointer inst2); - - Pointer tinstant_merge_array(Pointer instants, int count); - - Pointer tsequence_append_tinstant(Pointer seq, Pointer inst, double maxdist, Pointer maxt, boolean expand); - - Pointer tsequence_append_tsequence(Pointer seq1, Pointer seq2, boolean expand); - - Pointer tsequence_delete_timestamptz(Pointer seq, long t, boolean connect); - - Pointer tsequence_delete_tstzset(Pointer seq, Pointer s, boolean connect); - - Pointer tsequence_delete_tstzspan(Pointer seq, Pointer s, boolean connect); - - Pointer tsequence_delete_tstzspanset(Pointer seq, Pointer ss, boolean connect); - - Pointer tsequence_insert(Pointer seq1, Pointer seq2, boolean connect); - - Pointer tsequence_merge(Pointer seq1, Pointer seq2); - - Pointer tsequence_merge_array(Pointer sequences, int count); - - Pointer tsequenceset_append_tinstant(Pointer ss, Pointer inst, double maxdist, Pointer maxt, boolean expand); - - Pointer tsequenceset_append_tsequence(Pointer ss, Pointer seq, boolean expand); - - Pointer tsequenceset_delete_timestamptz(Pointer ss, long t); - - Pointer tsequenceset_delete_tstzset(Pointer ss, Pointer s); - - Pointer tsequenceset_delete_tstzspan(Pointer ss, Pointer s); - - Pointer tsequenceset_delete_tstzspanset(Pointer ss, Pointer ps); - - Pointer tsequenceset_insert(Pointer ss1, Pointer ss2); - - Pointer tsequenceset_merge(Pointer ss1, Pointer ss2); - - Pointer tsequenceset_merge_array(Pointer seqsets, int count); - - void tsequence_expand_bbox(Pointer seq, Pointer inst); - - void tsequence_set_bbox(Pointer seq, Pointer box); - - void tsequenceset_expand_bbox(Pointer ss, Pointer seq); - - void tsequenceset_set_bbox(Pointer ss, Pointer box); - - Pointer tcontseq_after_timestamptz(Pointer seq, long t, boolean strict); - - Pointer tcontseq_before_timestamptz(Pointer seq, long t, boolean strict); - - Pointer tcontseq_restrict_minmax(Pointer seq, boolean min, boolean atfunc); - - Pointer tdiscseq_after_timestamptz(Pointer seq, long t, boolean strict); - - Pointer tdiscseq_before_timestamptz(Pointer seq, long t, boolean strict); - - Pointer tdiscseq_restrict_minmax(Pointer seq, boolean min, boolean atfunc); - - boolean temporal_bbox_restrict_set(Pointer temp, Pointer set); - - Pointer temporal_restrict_minmax(Pointer temp, boolean min, boolean atfunc); - - Pointer temporal_restrict_timestamptz(Pointer temp, long t, boolean atfunc); - - Pointer temporal_restrict_tstzset(Pointer temp, Pointer s, boolean atfunc); - - Pointer temporal_restrict_tstzspan(Pointer temp, Pointer s, boolean atfunc); - - Pointer temporal_restrict_tstzspanset(Pointer temp, Pointer ss, boolean atfunc); - - Pointer temporal_restrict_value(Pointer temp, Pointer value, boolean atfunc); - - Pointer temporal_restrict_values(Pointer temp, Pointer set, boolean atfunc); - - boolean temporal_value_at_timestamptz(Pointer temp, long t, boolean strict, Pointer result); - - Pointer tinstant_after_timestamptz(Pointer inst, long t, boolean strict); - - Pointer tinstant_before_timestamptz(Pointer inst, long t, boolean strict); - - Pointer tinstant_restrict_tstzspan(Pointer inst, Pointer period, boolean atfunc); - - Pointer tinstant_restrict_tstzspanset(Pointer inst, Pointer ss, boolean atfunc); - - Pointer tinstant_restrict_timestamptz(Pointer inst, long t, boolean atfunc); - - Pointer tinstant_restrict_tstzset(Pointer inst, Pointer s, boolean atfunc); - - Pointer tinstant_restrict_value(Pointer inst, Pointer value, boolean atfunc); - - Pointer tinstant_restrict_values(Pointer inst, Pointer set, boolean atfunc); - - Pointer tnumber_restrict_span(Pointer temp, Pointer span, boolean atfunc); - - Pointer tnumber_restrict_spanset(Pointer temp, Pointer ss, boolean atfunc); - - Pointer tnumberinst_restrict_span(Pointer inst, Pointer span, boolean atfunc); - - Pointer tnumberinst_restrict_spanset(Pointer inst, Pointer ss, boolean atfunc); - - Pointer tnumberseqset_restrict_span(Pointer ss, Pointer span, boolean atfunc); - - Pointer tnumberseqset_restrict_spanset(Pointer ss, Pointer spanset, boolean atfunc); - - Pointer tsequence_at_timestamptz(Pointer seq, long t); - - Pointer tsequence_restrict_tstzspan(Pointer seq, Pointer s, boolean atfunc); - - Pointer tsequence_restrict_tstzspanset(Pointer seq, Pointer ss, boolean atfunc); - - Pointer tsequenceset_after_timestamptz(Pointer ss, long t, boolean strict); - - Pointer tsequenceset_before_timestamptz(Pointer ss, long t, boolean strict); - - Pointer tsequenceset_restrict_minmax(Pointer ss, boolean min, boolean atfunc); - - Pointer tsequenceset_restrict_tstzspan(Pointer ss, Pointer s, boolean atfunc); - - Pointer tsequenceset_restrict_tstzspanset(Pointer ss, Pointer ps, boolean atfunc); - - Pointer tsequenceset_restrict_timestamptz(Pointer ss, long t, boolean atfunc); - - Pointer tsequenceset_restrict_tstzset(Pointer ss, Pointer s, boolean atfunc); - - Pointer tsequenceset_restrict_value(Pointer ss, Pointer value, boolean atfunc); - - Pointer tsequenceset_restrict_values(Pointer ss, Pointer s, boolean atfunc); - - int tinstant_cmp(Pointer inst1, Pointer inst2); - - boolean tinstant_eq(Pointer inst1, Pointer inst2); - - int tsequence_cmp(Pointer seq1, Pointer seq2); - - boolean tsequence_eq(Pointer seq1, Pointer seq2); - - int tsequenceset_cmp(Pointer ss1, Pointer ss2); - - boolean tsequenceset_eq(Pointer ss1, Pointer ss2); - - int always_eq_base_temporal(Pointer value, Pointer temp); - - int always_eq_temporal_base(Pointer temp, Pointer value); - - int always_ne_base_temporal(Pointer value, Pointer temp); - - int always_ne_temporal_base(Pointer temp, Pointer value); - - int always_ge_base_temporal(Pointer value, Pointer temp); - - int always_ge_temporal_base(Pointer temp, Pointer value); - - int always_gt_base_temporal(Pointer value, Pointer temp); - - int always_gt_temporal_base(Pointer temp, Pointer value); - - int always_le_base_temporal(Pointer value, Pointer temp); - - int always_le_temporal_base(Pointer temp, Pointer value); - - int always_lt_base_temporal(Pointer value, Pointer temp); - - int always_lt_temporal_base(Pointer temp, Pointer value); - - int ever_eq_base_temporal(Pointer value, Pointer temp); - - int ever_eq_temporal_base(Pointer temp, Pointer value); - - int ever_ne_base_temporal(Pointer value, Pointer temp); - - int ever_ne_temporal_base(Pointer temp, Pointer value); - - int ever_ge_base_temporal(Pointer value, Pointer temp); - - int ever_ge_temporal_base(Pointer temp, Pointer value); - - int ever_gt_base_temporal(Pointer value, Pointer temp); - - int ever_gt_temporal_base(Pointer temp, Pointer value); - - int ever_le_base_temporal(Pointer value, Pointer temp); - - int ever_le_temporal_base(Pointer temp, Pointer value); - - int ever_lt_base_temporal(Pointer value, Pointer temp); - - int ever_lt_temporal_base(Pointer temp, Pointer value); - - Pointer tnumberinst_abs(Pointer inst); - - Pointer tnumberseq_abs(Pointer seq); - - Pointer tnumberseq_angular_difference(Pointer seq); - - Pointer tnumberseq_delta_value(Pointer seq); - - Pointer tnumberseqset_abs(Pointer ss); - - Pointer tnumberseqset_angular_difference(Pointer ss); - - Pointer tnumberseqset_delta_value(Pointer ss); - - double distance_span_span_double(Pointer s1, Pointer s2); - - double nad_tbox_tbox(Pointer box1, Pointer box2); - - double nad_tnumber_number(Pointer temp, Pointer value); - - double nad_tnumber_tbox(Pointer temp, Pointer box); - - double nad_tnumber_tnumber(Pointer temp1, Pointer temp2); - - Pointer tdistance_tnumber_number(Pointer temp, Pointer value); - - double tnumberinst_distance(Pointer inst1, Pointer inst2); - - double tnumberseq_integral(Pointer seq); - - double tnumberseq_twavg(Pointer seq); - - double tnumberseqset_integral(Pointer ss); - - double tnumberseqset_twavg(Pointer ss); - - Pointer temporal_compact(Pointer temp); - - Pointer tsequence_compact(Pointer seq); - - Pointer tsequenceset_compact(Pointer ss); - - Pointer temporal_skiplist_make(); - - Pointer skiplist_make(long key_size, long value_size, Pointer comp_fn, Pointer merge_fn); - - int skiplist_search(Pointer list, Pointer key, Pointer value); - - void skiplist_free(Pointer list); - - void skiplist_splice(Pointer list, Pointer keys, Pointer values, int count, Pointer func, boolean crossings, int sktype); - - void temporal_skiplist_splice(Pointer list, Pointer values, int count, Pointer func, boolean crossings); - - Pointer skiplist_values(Pointer list); - - Pointer skiplist_keys_values(Pointer list, Pointer values); - - Pointer temporal_app_tinst_transfn(Pointer state, Pointer inst, int interp, double maxdist, Pointer maxt); - - Pointer temporal_app_tseq_transfn(Pointer state, Pointer seq); - - Pointer span_bins(Pointer s, Pointer size, Pointer origin, Pointer count); - - Pointer spanset_bins(Pointer ss, Pointer size, Pointer origin, Pointer count); - - Pointer tnumber_value_bins(Pointer temp, Pointer size, Pointer origin, Pointer count); - - Pointer tnumber_value_time_boxes(Pointer temp, Pointer vsize, Pointer duration, Pointer vorigin, long torigin, Pointer count); - - Pointer tnumber_value_split(Pointer temp, Pointer vsize, Pointer vorigin, Pointer bins, Pointer count); - - Pointer tbox_get_value_time_tile(Pointer value, long t, Pointer vsize, Pointer duration, Pointer vorigin, long torigin, int basetype, int spantype); - - Pointer tnumber_value_time_split(Pointer temp, Pointer size, Pointer duration, Pointer vorigin, long torigin, Pointer value_bins, Pointer time_bins, Pointer count); - - Pointer proj_get_context(); - - int datum_geo_round(Pointer value, Pointer size); - - Pointer point_round(Pointer gs, int maxdd); - - void stbox_set(boolean hasx, boolean hasz, boolean geodetic, int srid, double xmin, double xmax, double ymin, double ymax, double zmin, double zmax, Pointer s, Pointer box); - - void gbox_set_stbox(Pointer box, int srid, Pointer result); - - boolean geo_set_stbox(Pointer gs, Pointer box); - - void geoarr_set_stbox(Pointer values, int count, Pointer box); - - boolean spatial_set_stbox(Pointer d, int basetype, Pointer box); - - void spatialset_set_stbox(Pointer set, Pointer box); - - void stbox_set_box3d(Pointer box, Pointer box3d); - - void stbox_set_gbox(Pointer box, Pointer gbox); - - void tstzset_set_stbox(Pointer s, Pointer box); - - void tstzspan_set_stbox(Pointer s, Pointer box); - - void tstzspanset_set_stbox(Pointer s, Pointer box); - - void stbox_expand(Pointer box1, Pointer box2); - - boolean inter_stbox_stbox(Pointer box1, Pointer box2, Pointer result); - - Pointer stbox_geo(Pointer box); - - Pointer tgeogpointinst_from_mfjson(Pointer mfjson, int srid); - - Pointer tgeogpointinst_in(String str); - - Pointer tgeogpointseq_from_mfjson(Pointer mfjson, int srid, int interp); - - Pointer tgeogpointseq_in(String str, int interp); - - Pointer tgeogpointseqset_from_mfjson(Pointer mfjson, int srid, int interp); - - Pointer tgeogpointseqset_in(String str); - - Pointer tgeompointinst_from_mfjson(Pointer mfjson, int srid); - - Pointer tgeompointinst_in(String str); - - Pointer tgeompointseq_from_mfjson(Pointer mfjson, int srid, int interp); - - Pointer tgeompointseq_in(String str, int interp); - - Pointer tgeompointseqset_from_mfjson(Pointer mfjson, int srid, int interp); - - Pointer tgeompointseqset_in(String str); - - Pointer tgeographyinst_from_mfjson(Pointer mfjson, int srid); - - Pointer tgeographyinst_in(String str); - - Pointer tgeographyseq_from_mfjson(Pointer mfjson, int srid, int interp); - - Pointer tgeographyseq_in(String str, int interp); - - Pointer tgeographyseqset_from_mfjson(Pointer mfjson, int srid, int interp); - - Pointer tgeographyseqset_in(String str); - - Pointer tgeometryinst_from_mfjson(Pointer mfjson, int srid); - - Pointer tgeometryinst_in(String str); - - Pointer tgeometryseq_from_mfjson(Pointer mfjson, int srid, int interp); - - Pointer tgeometryseq_in(String str, int interp); - - Pointer tgeometryseqset_from_mfjson(Pointer mfjson, int srid, int interp); - - Pointer tgeometryseqset_in(String str); - - void tspatial_set_stbox(Pointer temp, Pointer box); - - void tgeoinst_set_stbox(Pointer inst, Pointer box); - - void tspatialseq_set_stbox(Pointer seq, Pointer box); - - void tspatialseqset_set_stbox(Pointer ss, Pointer box); - - Pointer tgeo_restrict_elevation(Pointer temp, Pointer s, boolean atfunc); - - Pointer tgeo_restrict_geom(Pointer temp, Pointer gs, boolean atfunc); - - Pointer tgeo_restrict_stbox(Pointer temp, Pointer box, boolean border_inc, boolean atfunc); - - Pointer tgeoinst_restrict_geom(Pointer inst, Pointer gs, boolean atfunc); - - Pointer tgeoinst_restrict_stbox(Pointer inst, Pointer box, boolean border_inc, boolean atfunc); - - Pointer tgeoseq_restrict_geom(Pointer seq, Pointer gs, boolean atfunc); - - Pointer tgeoseq_restrict_stbox(Pointer seq, Pointer box, boolean border_inc, boolean atfunc); - - Pointer tgeoseqset_restrict_geom(Pointer ss, Pointer gs, boolean atfunc); - - Pointer tgeoseqset_restrict_stbox(Pointer ss, Pointer box, boolean border_inc, boolean atfunc); - - int spatial_srid(Pointer d, int basetype); - - boolean spatial_set_srid(Pointer d, int basetype, int srid); - - int tspatialinst_srid(Pointer inst); - - Pointer tpointseq_azimuth(Pointer seq); - - Pointer tpointseq_cumulative_length(Pointer seq, double prevlength); - - boolean tpointseq_is_simple(Pointer seq); - - double tpointseq_length(Pointer seq); - - Pointer tpointseq_linear_trajectory(Pointer seq, boolean unary_union); - - Pointer tgeoseq_stboxes(Pointer seq, Pointer count); - - Pointer tgeoseq_split_n_stboxes(Pointer seq, int max_count, Pointer count); - - Pointer tpointseqset_azimuth(Pointer ss); - - Pointer tpointseqset_cumulative_length(Pointer ss); - - boolean tpointseqset_is_simple(Pointer ss); - - double tpointseqset_length(Pointer ss); - - Pointer tgeoseqset_stboxes(Pointer ss, Pointer count); - - Pointer tgeoseqset_split_n_stboxes(Pointer ss, int max_count, Pointer count); - - Pointer tpoint_get_coord(Pointer temp, int coord); - - Pointer tgeominst_tgeoginst(Pointer inst, boolean oper); - - Pointer tgeomseq_tgeogseq(Pointer seq, boolean oper); - - Pointer tgeomseqset_tgeogseqset(Pointer ss, boolean oper); - - Pointer tgeom_tgeog(Pointer temp, boolean oper); - - Pointer tgeo_tpoint(Pointer temp, boolean oper); - - void tspatialinst_set_srid(Pointer inst, int srid); - - Pointer tpointseq_make_simple(Pointer seq, Pointer count); - - void tspatialseq_set_srid(Pointer seq, int srid); - - Pointer tpointseqset_make_simple(Pointer ss, Pointer count); - - void tspatialseqset_set_srid(Pointer ss, int srid); - - Pointer tpointseq_twcentroid(Pointer seq); - - Pointer tpointseqset_twcentroid(Pointer ss); - - String npoint_as_ewkt(Pointer np, int maxdd); - - String npoint_as_hexwkb(Pointer np, byte variant, Pointer size_out); - - String npoint_as_text(Pointer np, int maxdd); - - Pointer npoint_as_wkb(Pointer np, byte variant, Pointer size_out); - - Pointer npoint_from_hexwkb(String hexwkb); - - Pointer npoint_from_wkb(Pointer wkb, long size); - - Pointer npoint_in(String str); - - String npoint_out(Pointer np, int maxdd); - - Pointer nsegment_in(String str); - - String nsegment_out(Pointer ns, int maxdd); - - Pointer npoint_make(long rid, double pos); - - Pointer nsegment_make(long rid, double pos1, double pos2); - - Pointer geompoint_to_npoint(Pointer gs); - - Pointer geom_to_nsegment(Pointer gs); - - Pointer npoint_to_geompoint(Pointer np); - - Pointer npoint_to_nsegment(Pointer np); - - Pointer npoint_to_stbox(Pointer np); - - Pointer nsegment_to_geom(Pointer ns); - - Pointer nsegment_to_stbox(Pointer np); - - int npoint_hash(Pointer np); - - long npoint_hash_extended(Pointer np, long seed); - - double npoint_position(Pointer np); - - long npoint_route(Pointer np); - - double nsegment_end_position(Pointer ns); - - long nsegment_route(Pointer ns); - - double nsegment_start_position(Pointer ns); - - boolean route_exists(long rid); - - Pointer route_geom(long rid); - - double route_length(long rid); - - Pointer npoint_round(Pointer np, int maxdd); - - Pointer nsegment_round(Pointer ns, int maxdd); - - int get_srid_ways(); - - int npoint_srid(Pointer np); - - int nsegment_srid(Pointer ns); - - Pointer npoint_timestamptz_to_stbox(Pointer np, long t); - - Pointer npoint_tstzspan_to_stbox(Pointer np, Pointer s); - - int npoint_cmp(Pointer np1, Pointer np2); - - boolean npoint_eq(Pointer np1, Pointer np2); - - boolean npoint_ge(Pointer np1, Pointer np2); - - boolean npoint_gt(Pointer np1, Pointer np2); - - boolean npoint_le(Pointer np1, Pointer np2); - - boolean npoint_lt(Pointer np1, Pointer np2); - - boolean npoint_ne(Pointer np1, Pointer np2); - - boolean npoint_same(Pointer np1, Pointer np2); - - int nsegment_cmp(Pointer ns1, Pointer ns2); - - boolean nsegment_eq(Pointer ns1, Pointer ns2); - - boolean nsegment_ge(Pointer ns1, Pointer ns2); - - boolean nsegment_gt(Pointer ns1, Pointer ns2); - - boolean nsegment_le(Pointer ns1, Pointer ns2); - - boolean nsegment_lt(Pointer ns1, Pointer ns2); - - boolean nsegment_ne(Pointer ns1, Pointer ns2); - - Pointer npointset_in(String str); - - String npointset_out(Pointer s, int maxdd); - - Pointer npointset_make(Pointer values, int count); - - Pointer npoint_to_set(Pointer np); - - Pointer npointset_end_value(Pointer s); - - Pointer npointset_routes(Pointer s); - - Pointer npointset_start_value(Pointer s); - - boolean npointset_value_n(Pointer s, int n, Pointer result); - - Pointer npointset_values(Pointer s); - - boolean contained_npoint_set(Pointer np, Pointer s); - - boolean contains_set_npoint(Pointer s, Pointer np); - - Pointer intersection_npoint_set(Pointer np, Pointer s); - - Pointer intersection_set_npoint(Pointer s, Pointer np); - - Pointer minus_npoint_set(Pointer np, Pointer s); - - Pointer minus_set_npoint(Pointer s, Pointer np); - - Pointer npoint_union_transfn(Pointer state, Pointer np); - - Pointer union_npoint_set(Pointer np, Pointer s); - - Pointer union_set_npoint(Pointer s, Pointer np); - - Pointer tnpoint_in(String str); - - Pointer tnpoint_from_mfjson(String mfjson); - - String tnpoint_out(Pointer temp, int maxdd); - - Pointer tnpointinst_make(Pointer np, long t); - - Pointer tgeompoint_to_tnpoint(Pointer temp); - - Pointer tnpoint_to_tgeompoint(Pointer temp); - - Pointer tnpoint_cumulative_length(Pointer temp); - - double tnpoint_length(Pointer temp); - - Pointer tnpoint_positions(Pointer temp, Pointer count); - - long tnpoint_route(Pointer temp); - - Pointer tnpoint_routes(Pointer temp); - - Pointer tnpoint_speed(Pointer temp); - - Pointer tnpoint_trajectory(Pointer temp); - - Pointer tnpoint_twcentroid(Pointer temp); - - Pointer tnpoint_at_geom(Pointer temp, Pointer gs); - - Pointer tnpoint_at_npoint(Pointer temp, Pointer np); - - Pointer tnpoint_at_npointset(Pointer temp, Pointer s); - - Pointer tnpoint_at_stbox(Pointer temp, Pointer box, boolean border_inc); - - Pointer tnpoint_minus_geom(Pointer temp, Pointer gs); - - Pointer tnpoint_minus_npoint(Pointer temp, Pointer np); - - Pointer tnpoint_minus_npointset(Pointer temp, Pointer s); - - Pointer tnpoint_minus_stbox(Pointer temp, Pointer box, boolean border_inc); - - Pointer tdistance_tnpoint_npoint(Pointer temp, Pointer np); - - Pointer tdistance_tnpoint_point(Pointer temp, Pointer gs); - - Pointer tdistance_tnpoint_tnpoint(Pointer temp1, Pointer temp2); - - double nad_tnpoint_geo(Pointer temp, Pointer gs); - - double nad_tnpoint_npoint(Pointer temp, Pointer np); - - double nad_tnpoint_stbox(Pointer temp, Pointer box); - - double nad_tnpoint_tnpoint(Pointer temp1, Pointer temp2); - - Pointer nai_tnpoint_geo(Pointer temp, Pointer gs); - - Pointer nai_tnpoint_npoint(Pointer temp, Pointer np); - - Pointer nai_tnpoint_tnpoint(Pointer temp1, Pointer temp2); - - Pointer shortestline_tnpoint_geo(Pointer temp, Pointer gs); - - Pointer shortestline_tnpoint_npoint(Pointer temp, Pointer np); - - Pointer shortestline_tnpoint_tnpoint(Pointer temp1, Pointer temp2); - - Pointer tnpoint_tcentroid_transfn(Pointer state, Pointer temp); - - int always_eq_npoint_tnpoint(Pointer np, Pointer temp); - - int always_eq_tnpoint_npoint(Pointer temp, Pointer np); - - int always_eq_tnpoint_tnpoint(Pointer temp1, Pointer temp2); - - int always_ne_npoint_tnpoint(Pointer np, Pointer temp); - - int always_ne_tnpoint_npoint(Pointer temp, Pointer np); - - int always_ne_tnpoint_tnpoint(Pointer temp1, Pointer temp2); - - int ever_eq_npoint_tnpoint(Pointer np, Pointer temp); - - int ever_eq_tnpoint_npoint(Pointer temp, Pointer np); - - int ever_eq_tnpoint_tnpoint(Pointer temp1, Pointer temp2); - - int ever_ne_npoint_tnpoint(Pointer np, Pointer temp); - - int ever_ne_tnpoint_npoint(Pointer temp, Pointer np); - - int ever_ne_tnpoint_tnpoint(Pointer temp1, Pointer temp2); - - Pointer teq_tnpoint_npoint(Pointer temp, Pointer np); - - Pointer tne_tnpoint_npoint(Pointer temp, Pointer np); - - String pose_as_ewkt(Pointer pose, int maxdd); - - String pose_as_hexwkb(Pointer pose, byte variant, Pointer size); - - String pose_as_text(Pointer pose, int maxdd); - - Pointer pose_as_wkb(Pointer pose, byte variant, Pointer size_out); - - Pointer pose_from_wkb(Pointer wkb, long size); - - Pointer pose_from_hexwkb(String hexwkb); - - Pointer pose_in(String str); - - String pose_out(Pointer pose, int maxdd); - - Pointer pose_copy(Pointer pose); - - Pointer pose_make_2d(double x, double y, double theta, int srid); - - Pointer pose_make_3d(double x, double y, double z, double W, double X, double Y, double Z, int srid); - - Pointer pose_make_point2d(Pointer gs, double theta); - - Pointer pose_make_point3d(Pointer gs, double W, double X, double Y, double Z); - - Pointer pose_to_point(Pointer pose); - - Pointer pose_to_stbox(Pointer pose); - - int pose_hash(Pointer pose); - - long pose_hash_extended(Pointer pose, long seed); - - Pointer pose_orientation(Pointer pose); - - double pose_rotation(Pointer pose); - - Pointer pose_round(Pointer pose, int maxdd); - - Pointer posearr_round(Pointer posearr, int count, int maxdd); - - void pose_set_srid(Pointer pose, int srid); - - int pose_srid(Pointer pose); - - Pointer pose_transform(Pointer pose, int srid); - - Pointer pose_transform_pipeline(Pointer pose, String pipelinestr, int srid, boolean is_forward); - - Pointer pose_tstzspan_to_stbox(Pointer pose, Pointer s); - - Pointer pose_timestamptz_to_stbox(Pointer pose, long t); - - double distance_pose_geo(Pointer pose, Pointer gs); - - double distance_pose_pose(Pointer pose1, Pointer pose2); - - double distance_pose_stbox(Pointer pose, Pointer box); - - int pose_cmp(Pointer pose1, Pointer pose2); - - boolean pose_eq(Pointer pose1, Pointer pose2); - - boolean pose_ge(Pointer pose1, Pointer pose2); - - boolean pose_gt(Pointer pose1, Pointer pose2); - - boolean pose_le(Pointer pose1, Pointer pose2); - - boolean pose_lt(Pointer pose1, Pointer pose2); - - boolean pose_ne(Pointer pose1, Pointer pose2); - - boolean pose_nsame(Pointer pose1, Pointer pose2); - - boolean pose_same(Pointer pose1, Pointer pose2); - - Pointer poseset_in(String str); - - String poseset_out(Pointer s, int maxdd); - - Pointer poseset_make(Pointer values, int count); - - Pointer pose_to_set(Pointer pose); - - Pointer poseset_end_value(Pointer s); - - Pointer poseset_start_value(Pointer s); - - boolean poseset_value_n(Pointer s, int n, Pointer result); - - Pointer poseset_values(Pointer s); - - boolean contained_pose_set(Pointer pose, Pointer s); - - boolean contains_set_pose(Pointer s, Pointer pose); - - Pointer intersection_pose_set(Pointer pose, Pointer s); - - Pointer intersection_set_pose(Pointer s, Pointer pose); - - Pointer minus_pose_set(Pointer pose, Pointer s); - - Pointer minus_set_pose(Pointer s, Pointer pose); - - Pointer pose_union_transfn(Pointer state, Pointer pose); - - Pointer union_pose_set(Pointer pose, Pointer s); - - Pointer union_set_pose(Pointer s, Pointer pose); - - Pointer tpose_in(String str); - - Pointer tpose_make(Pointer tpoint, Pointer tradius); - - Pointer tpose_to_tpoint(Pointer temp); - - Pointer tpose_end_value(Pointer temp); - - Pointer tpose_points(Pointer temp); - - Pointer tpose_rotation(Pointer temp); - - Pointer tpose_start_value(Pointer temp); - - Pointer tpose_trajectory(Pointer temp); - - boolean tpose_value_at_timestamptz(Pointer temp, long t, boolean strict, Pointer value); - - boolean tpose_value_n(Pointer temp, int n, Pointer result); - - Pointer tpose_values(Pointer temp, Pointer count); - - Pointer tpose_at_geom(Pointer temp, Pointer gs); - - Pointer tpose_at_stbox(Pointer temp, Pointer box, boolean border_inc); - - Pointer tpose_at_pose(Pointer temp, Pointer pose); - - Pointer tpose_minus_geom(Pointer temp, Pointer gs); - - Pointer tpose_minus_pose(Pointer temp, Pointer pose); - - Pointer tpose_minus_stbox(Pointer temp, Pointer box, boolean border_inc); - - Pointer tdistance_tpose_pose(Pointer temp, Pointer pose); - - Pointer tdistance_tpose_point(Pointer temp, Pointer gs); - - Pointer tdistance_tpose_tpose(Pointer temp1, Pointer temp2); - - double nad_tpose_geo(Pointer temp, Pointer gs); - - double nad_tpose_pose(Pointer temp, Pointer pose); - - double nad_tpose_stbox(Pointer temp, Pointer box); - - double nad_tpose_tpose(Pointer temp1, Pointer temp2); - - Pointer nai_tpose_geo(Pointer temp, Pointer gs); - - Pointer nai_tpose_pose(Pointer temp, Pointer pose); - - Pointer nai_tpose_tpose(Pointer temp1, Pointer temp2); - - Pointer shortestline_tpose_geo(Pointer temp, Pointer gs); - - Pointer shortestline_tpose_pose(Pointer temp, Pointer pose); - - Pointer shortestline_tpose_tpose(Pointer temp1, Pointer temp2); - - int always_eq_pose_tpose(Pointer pose, Pointer temp); - - int always_eq_tpose_pose(Pointer temp, Pointer pose); - - int always_eq_tpose_tpose(Pointer temp1, Pointer temp2); - - int always_ne_pose_tpose(Pointer pose, Pointer temp); - - int always_ne_tpose_pose(Pointer temp, Pointer pose); - - int always_ne_tpose_tpose(Pointer temp1, Pointer temp2); - - int ever_eq_pose_tpose(Pointer pose, Pointer temp); - - int ever_eq_tpose_pose(Pointer temp, Pointer pose); - - int ever_eq_tpose_tpose(Pointer temp1, Pointer temp2); - - int ever_ne_pose_tpose(Pointer pose, Pointer temp); - - int ever_ne_tpose_pose(Pointer temp, Pointer pose); - - int ever_ne_tpose_tpose(Pointer temp1, Pointer temp2); - - Pointer teq_pose_tpose(Pointer pose, Pointer temp); - - Pointer teq_tpose_pose(Pointer temp, Pointer pose); - - Pointer tne_pose_tpose(Pointer pose, Pointer temp); - - Pointer tne_tpose_pose(Pointer temp, Pointer pose); - - String trgeo_out(Pointer temp); - - Pointer trgeoinst_make(Pointer geom, Pointer pose, long t); - - Pointer geo_tpose_to_trgeo(Pointer gs, Pointer temp); - - Pointer trgeo_to_tpose(Pointer temp); - - Pointer trgeo_to_tpoint(Pointer temp); - - Pointer trgeo_end_instant(Pointer temp); - - Pointer trgeo_end_sequence(Pointer temp); - - Pointer trgeo_end_value(Pointer temp); - - Pointer trgeo_geom(Pointer temp); - - Pointer trgeo_instant_n(Pointer temp, int n); - - Pointer trgeo_instants(Pointer temp, Pointer count); - - Pointer trgeo_points(Pointer temp); - - Pointer trgeo_rotation(Pointer temp); - - Pointer trgeo_segments(Pointer temp, Pointer count); - - Pointer trgeo_sequence_n(Pointer temp, int i); - - Pointer trgeo_sequences(Pointer temp, Pointer count); - - Pointer trgeo_start_instant(Pointer temp); - - Pointer trgeo_start_sequence(Pointer temp); - - Pointer trgeo_start_value(Pointer temp); - - boolean trgeo_value_n(Pointer temp, int n, Pointer result); - - Pointer trgeo_traversed_area(Pointer temp, boolean unary_union); - - Pointer trgeo_append_tinstant(Pointer temp, Pointer inst, int interp, double maxdist, Pointer maxt, boolean expand); - - Pointer trgeo_append_tsequence(Pointer temp, Pointer seq, boolean expand); - - Pointer trgeo_delete_timestamptz(Pointer temp, long t, boolean connect); - - Pointer trgeo_delete_tstzset(Pointer temp, Pointer s, boolean connect); - - Pointer trgeo_delete_tstzspan(Pointer temp, Pointer s, boolean connect); - - Pointer trgeo_delete_tstzspanset(Pointer temp, Pointer ss, boolean connect); - - Pointer trgeo_round(Pointer temp, int maxdd); - - Pointer trgeo_set_interp(Pointer temp, int interp); - - Pointer trgeo_to_tinstant(Pointer temp); - - Pointer trgeo_after_timestamptz(Pointer temp, long t, boolean strict); - - Pointer trgeo_before_timestamptz(Pointer temp, long t, boolean strict); - - Pointer trgeo_restrict_value(Pointer temp, Pointer value, boolean atfunc); - - Pointer trgeo_restrict_values(Pointer temp, Pointer s, boolean atfunc); - - Pointer trgeo_restrict_timestamptz(Pointer temp, long t, boolean atfunc); - - Pointer trgeo_restrict_tstzset(Pointer temp, Pointer s, boolean atfunc); - - Pointer trgeo_restrict_tstzspan(Pointer temp, Pointer s, boolean atfunc); - - Pointer trgeo_restrict_tstzspanset(Pointer temp, Pointer ss, boolean atfunc); - - Pointer tdistance_trgeo_geo(Pointer temp, Pointer gs); - - Pointer tdistance_trgeo_tpoint(Pointer temp1, Pointer temp2); - - Pointer tdistance_trgeo_trgeo(Pointer temp1, Pointer temp2); - - double nad_stbox_trgeo(Pointer box, Pointer temp); - - double nad_trgeo_geo(Pointer temp, Pointer gs); - - double nad_trgeo_stbox(Pointer temp, Pointer box); - - double nad_trgeo_tpoint(Pointer temp1, Pointer temp2); - - double nad_trgeo_trgeo(Pointer temp1, Pointer temp2); - - Pointer nai_trgeo_geo(Pointer temp, Pointer gs); - - Pointer nai_trgeo_tpoint(Pointer temp1, Pointer temp2); - - Pointer nai_trgeo_trgeo(Pointer temp1, Pointer temp2); - - Pointer shortestline_trgeo_geo(Pointer temp, Pointer gs); - - Pointer shortestline_trgeo_tpoint(Pointer temp1, Pointer temp2); - - Pointer shortestline_trgeo_trgeo(Pointer temp1, Pointer temp2); - - int always_eq_geo_trgeo(Pointer gs, Pointer temp); - - int always_eq_trgeo_geo(Pointer temp, Pointer gs); - - int always_eq_trgeo_trgeo(Pointer temp1, Pointer temp2); - - int always_ne_geo_trgeo(Pointer gs, Pointer temp); - - int always_ne_trgeo_geo(Pointer temp, Pointer gs); - - int always_ne_trgeo_trgeo(Pointer temp1, Pointer temp2); - - int ever_eq_geo_trgeo(Pointer gs, Pointer temp); - - int ever_eq_trgeo_geo(Pointer temp, Pointer gs); - - int ever_eq_trgeo_trgeo(Pointer temp1, Pointer temp2); - - int ever_ne_geo_trgeo(Pointer gs, Pointer temp); - - int ever_ne_trgeo_geo(Pointer temp, Pointer gs); - - int ever_ne_trgeo_trgeo(Pointer temp1, Pointer temp2); - - Pointer teq_geo_trgeo(Pointer gs, Pointer temp); - - Pointer teq_trgeo_geo(Pointer temp, Pointer gs); - - Pointer tne_geo_trgeo(Pointer gs, Pointer temp); - - Pointer tne_trgeo_geo(Pointer temp, Pointer gs); - - int geo_get_srid(Pointer g); - - int date_in(String str); - - String date_out(int d); - - int interval_cmp(Pointer interv1, Pointer interv2); - - Pointer interval_in(String str, int typmod); - - String interval_out(Pointer interv); - - Pointer time_in(String str, int typmod); - - String time_out(Pointer t); - - long timestamp_in(String str, int typmod); - - String timestamp_out(long t); - - long timestamptz_in(String str, int typmod); - - String timestamptz_out(long t); - - } - - private static final String _LIB = "libmeos.so"; - - static final MeosLibraryPartA _meos_a = - JarLibraryLoader.create(MeosLibraryPartA.class, _LIB).getLibraryInstance(); - static final MeosLibraryPartB _meos_b = - JarLibraryLoader.create(MeosLibraryPartB.class, _LIB).getLibraryInstance(); - static final MeosLibraryPartC _meos_c = - JarLibraryLoader.create(MeosLibraryPartC.class, _LIB).getLibraryInstance(); - static final MeosLibraryPartD _meos_d = - JarLibraryLoader.create(MeosLibraryPartD.class, _LIB).getLibraryInstance(); - - private static final java.util.Map _dispatch; - static { - _dispatch = new java.util.HashMap<>(4096); - for (java.lang.reflect.Method _m : MeosLibraryPartA.class.getMethods()) - _dispatch.put(_m.getName(), _meos_a); - for (java.lang.reflect.Method _m : MeosLibraryPartB.class.getMethods()) - _dispatch.put(_m.getName(), _meos_b); - for (java.lang.reflect.Method _m : MeosLibraryPartC.class.getMethods()) - _dispatch.put(_m.getName(), _meos_c); - for (java.lang.reflect.Method _m : MeosLibraryPartD.class.getMethods()) - _dispatch.put(_m.getName(), _meos_d); - } - - - - @SuppressWarnings("unused") - public static Pointer meos_array_create(int elem_size) { - var _result = _meos_a.meos_array_create(elem_size); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static void meos_array_add(Pointer array, Pointer value) { - _meos_a.meos_array_add(array, value); - MeosErrorHandler.checkError(); - } - - @SuppressWarnings("unused") - public static Pointer meos_array_get(Pointer array, int n) { - var _result = _meos_a.meos_array_get(array, n); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int meos_array_count(Pointer array) { - var _result = _meos_a.meos_array_count(array); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static void meos_array_reset(Pointer array) { - _meos_a.meos_array_reset(array); - MeosErrorHandler.checkError(); - } - - @SuppressWarnings("unused") - public static void meos_array_reset_free(Pointer array) { - _meos_a.meos_array_reset_free(array); - MeosErrorHandler.checkError(); - } - - @SuppressWarnings("unused") - public static void meos_array_destroy(Pointer array) { - _meos_a.meos_array_destroy(array); - MeosErrorHandler.checkError(); - } - - @SuppressWarnings("unused") - public static void meos_array_destroy_free(Pointer array) { - _meos_a.meos_array_destroy_free(array); - MeosErrorHandler.checkError(); - } - - @SuppressWarnings("unused") - public static Pointer rtree_create_intspan() { - var _result = _meos_a.rtree_create_intspan(); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer rtree_create_bigintspan() { - var _result = _meos_a.rtree_create_bigintspan(); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer rtree_create_floatspan() { - var _result = _meos_a.rtree_create_floatspan(); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer rtree_create_datespan() { - var _result = _meos_a.rtree_create_datespan(); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer rtree_create_tstzspan() { - var _result = _meos_a.rtree_create_tstzspan(); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer rtree_create_tbox() { - var _result = _meos_a.rtree_create_tbox(); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer rtree_create_stbox() { - var _result = _meos_a.rtree_create_stbox(); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static void rtree_free(Pointer rtree) { - _meos_a.rtree_free(rtree); - MeosErrorHandler.checkError(); - } - - @SuppressWarnings("unused") - public static void rtree_insert(Pointer rtree, Pointer box, int id) { - _meos_a.rtree_insert(rtree, box, id); - MeosErrorHandler.checkError(); - } - - @SuppressWarnings("unused") - public static void rtree_insert_temporal(Pointer rtree, Pointer temp, int id) { - _meos_a.rtree_insert_temporal(rtree, temp, id); - MeosErrorHandler.checkError(); - } - - @SuppressWarnings("unused") - public static int rtree_search(Pointer rtree, int op, Pointer query, Pointer result) { - var _result = _meos_a.rtree_search(rtree, op, query, result); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int rtree_search_temporal(Pointer rtree, int op, Pointer temp, Pointer result) { - var _result = _meos_a.rtree_search_temporal(rtree, op, temp, result); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static void meos_error(int errlevel, int errcode, String format) { - _meos_a.meos_error(errlevel, errcode, format); - MeosErrorHandler.checkError(); - } - - @SuppressWarnings("unused") - public static int meos_errno() { - var _result = _meos_a.meos_errno(); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int meos_errno_set(int err) { - var _result = _meos_a.meos_errno_set(err); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int meos_errno_restore(int err) { - var _result = _meos_a.meos_errno_restore(err); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int meos_errno_reset() { - var _result = _meos_a.meos_errno_reset(); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static void meos_initialize_timezone(String name) { - _meos_a.meos_initialize_timezone(name); - MeosErrorHandler.checkError(); - } - - @SuppressWarnings("unused") - public static void meos_initialize_error_handler(error_handler_fn err_handler) { - _meos_a.meos_initialize_error_handler(err_handler); - MeosErrorHandler.checkError(); - } - - @SuppressWarnings("unused") - public static void meos_finalize_timezone() { - _meos_a.meos_finalize_timezone(); - MeosErrorHandler.checkError(); - } - - @SuppressWarnings("unused") - public static void meos_finalize_projsrs() { - _meos_a.meos_finalize_projsrs(); - MeosErrorHandler.checkError(); - } - - @SuppressWarnings("unused") - public static void meos_finalize_ways() { - _meos_a.meos_finalize_ways(); - MeosErrorHandler.checkError(); - } - - @SuppressWarnings("unused") - public static boolean meos_set_datestyle(String newval, Pointer extra) { - var _result = _meos_a.meos_set_datestyle(newval, extra); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean meos_set_intervalstyle(String newval, int extra) { - var _result = _meos_a.meos_set_intervalstyle(newval, extra); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static String meos_get_datestyle() { - var _result = _meos_a.meos_get_datestyle(); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static String meos_get_intervalstyle() { - var _result = _meos_a.meos_get_intervalstyle(); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static void meos_set_spatial_ref_sys_csv(String path) { - _meos_a.meos_set_spatial_ref_sys_csv(path); - MeosErrorHandler.checkError(); - } - - @SuppressWarnings("unused") - public static void meos_initialize() { - _meos_a.meos_initialize(); - MeosErrorHandler.checkError(); - } - - @SuppressWarnings("unused") - public static void meos_finalize() { - _meos_a.meos_finalize(); - MeosErrorHandler.checkError(); - } - - @SuppressWarnings("unused") - public static int add_date_int(int d, int days) { - var _result = _meos_a.add_date_int(d, days); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer add_interval_interval(Pointer interv1, Pointer interv2) { - var _result = _meos_a.add_interval_interval(interv1, interv2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static OffsetDateTime add_timestamptz_interval(OffsetDateTime t, Pointer interv) { - var t_new = t.toEpochSecond(); - var _result = _meos_a.add_timestamptz_interval(t_new, interv); - MeosErrorHandler.checkError(); - return java.time.Instant.ofEpochSecond(_result).atOffset(java.time.ZoneOffset.UTC); - } - - @SuppressWarnings("unused") - public static boolean bool_in(String str) { - var _result = _meos_a.bool_in(str); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static String bool_out(boolean b) { - var _result = _meos_a.bool_out(b); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer cstring2text(String str) { - var _result = _meos_a.cstring2text(str); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static LocalDateTime date_to_timestamp(int dateVal) { - var _result = _meos_a.date_to_timestamp(dateVal); - MeosErrorHandler.checkError(); - return java.time.LocalDateTime.ofInstant(java.time.Instant.ofEpochSecond(_result), java.time.ZoneOffset.UTC); - } - - @SuppressWarnings("unused") - public static OffsetDateTime date_to_timestamptz(int d) { - var _result = _meos_a.date_to_timestamptz(d); - MeosErrorHandler.checkError(); - return java.time.Instant.ofEpochSecond(_result).atOffset(java.time.ZoneOffset.UTC); - } - - @SuppressWarnings("unused") - public static double float_exp(double d) { - var _result = _meos_a.float_exp(d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double float_ln(double d) { - var _result = _meos_a.float_ln(d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double float_log10(double d) { - var _result = _meos_a.float_log10(d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static String float8_out(double d, int maxdd) { - var _result = _meos_a.float8_out(d, maxdd); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double float_round(double d, int maxdd) { - var _result = _meos_a.float_round(d, maxdd); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int int32_cmp(int l, int r) { - var _result = _meos_a.int32_cmp(l, r); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int int64_cmp(long l, long r) { - var _result = _meos_a.int64_cmp(l, r); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer interval_make(int years, int months, int weeks, int days, int hours, int mins, double secs) { - var _result = _meos_a.interval_make(years, months, weeks, days, hours, mins, secs); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int minus_date_date(int d1, int d2) { - var _result = _meos_a.minus_date_date(d1, d2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int minus_date_int(int d, int days) { - var _result = _meos_a.minus_date_int(d, days); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static OffsetDateTime minus_timestamptz_interval(OffsetDateTime t, Pointer interv) { - var t_new = t.toEpochSecond(); - var _result = _meos_a.minus_timestamptz_interval(t_new, interv); - MeosErrorHandler.checkError(); - return java.time.Instant.ofEpochSecond(_result).atOffset(java.time.ZoneOffset.UTC); - } - - @SuppressWarnings("unused") - public static Pointer minus_timestamptz_timestamptz(OffsetDateTime t1, OffsetDateTime t2) { - var t1_new = t1.toEpochSecond(); - var t2_new = t2.toEpochSecond(); - var _result = _meos_a.minus_timestamptz_timestamptz(t1_new, t2_new); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer mul_interval_double(Pointer interv, double factor) { - var _result = _meos_a.mul_interval_double(interv, factor); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int pg_date_in(String str) { - var _result = _meos_a.pg_date_in(str); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static String pg_date_out(int d) { - var _result = _meos_a.pg_date_out(d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int pg_interval_cmp(Pointer interv1, Pointer interv2) { - var _result = _meos_a.pg_interval_cmp(interv1, interv2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer pg_interval_in(String str, int typmod) { - var _result = _meos_a.pg_interval_in(str, typmod); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static String pg_interval_out(Pointer interv) { - var _result = _meos_a.pg_interval_out(interv); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static LocalDateTime pg_timestamp_in(String str, int typmod) { - var _result = _meos_a.pg_timestamp_in(str, typmod); - MeosErrorHandler.checkError(); - return java.time.LocalDateTime.ofInstant(java.time.Instant.ofEpochSecond(_result), java.time.ZoneOffset.UTC); - } - - @SuppressWarnings("unused") - public static String pg_timestamp_out(LocalDateTime t) { - var t_new = t.toInstant(java.time.ZoneOffset.UTC).getEpochSecond(); - var _result = _meos_a.pg_timestamp_out(t_new); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static OffsetDateTime pg_timestamptz_in(String str, int typmod) { - var _result = _meos_a.pg_timestamptz_in(str, typmod); - MeosErrorHandler.checkError(); - return java.time.Instant.ofEpochSecond(_result).atOffset(java.time.ZoneOffset.UTC); - } - - @SuppressWarnings("unused") - public static String pg_timestamptz_out(OffsetDateTime t) { - var t_new = t.toEpochSecond(); - var _result = _meos_a.pg_timestamptz_out(t_new); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static String text2cstring(Pointer txt) { - var _result = _meos_a.text2cstring(txt); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int text_cmp(Pointer txt1, Pointer txt2) { - var _result = _meos_a.text_cmp(txt1, txt2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer text_copy(Pointer txt) { - var _result = _meos_a.text_copy(txt); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer text_in(String str) { - var _result = _meos_a.text_in(str); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer text_initcap(Pointer txt) { - var _result = _meos_a.text_initcap(txt); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer text_lower(Pointer txt) { - var _result = _meos_a.text_lower(txt); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static String text_out(Pointer txt) { - var _result = _meos_a.text_out(txt); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer text_upper(Pointer txt) { - var _result = _meos_a.text_upper(txt); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer textcat_text_text(Pointer txt1, Pointer txt2) { - var _result = _meos_a.textcat_text_text(txt1, txt2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static OffsetDateTime timestamptz_shift(OffsetDateTime t, Pointer interv) { - var t_new = t.toEpochSecond(); - var _result = _meos_a.timestamptz_shift(t_new, interv); - MeosErrorHandler.checkError(); - return java.time.Instant.ofEpochSecond(_result).atOffset(java.time.ZoneOffset.UTC); - } - - @SuppressWarnings("unused") - public static int timestamp_to_date(LocalDateTime t) { - var t_new = t.toInstant(java.time.ZoneOffset.UTC).getEpochSecond(); - var _result = _meos_a.timestamp_to_date(t_new); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int timestamptz_to_date(OffsetDateTime t) { - var t_new = t.toEpochSecond(); - var _result = _meos_a.timestamptz_to_date(t_new); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer bigintset_in(String str) { - var _result = _meos_a.bigintset_in(str); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static String bigintset_out(Pointer set) { - var _result = _meos_a.bigintset_out(set); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer bigintspan_expand(Pointer s, long value) { - var _result = _meos_a.bigintspan_expand(s, value); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer bigintspan_in(String str) { - var _result = _meos_a.bigintspan_in(str); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static String bigintspan_out(Pointer s) { - var _result = _meos_a.bigintspan_out(s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer bigintspanset_in(String str) { - var _result = _meos_a.bigintspanset_in(str); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static String bigintspanset_out(Pointer ss) { - var _result = _meos_a.bigintspanset_out(ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer dateset_in(String str) { - var _result = _meos_a.dateset_in(str); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static String dateset_out(Pointer s) { - var _result = _meos_a.dateset_out(s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer datespan_in(String str) { - var _result = _meos_a.datespan_in(str); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static String datespan_out(Pointer s) { - var _result = _meos_a.datespan_out(s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer datespanset_in(String str) { - var _result = _meos_a.datespanset_in(str); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static String datespanset_out(Pointer ss) { - var _result = _meos_a.datespanset_out(ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer floatset_in(String str) { - var _result = _meos_a.floatset_in(str); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static String floatset_out(Pointer set, int maxdd) { - var _result = _meos_a.floatset_out(set, maxdd); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer floatspan_expand(Pointer s, double value) { - var _result = _meos_a.floatspan_expand(s, value); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer floatspan_in(String str) { - var _result = _meos_a.floatspan_in(str); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static String floatspan_out(Pointer s, int maxdd) { - var _result = _meos_a.floatspan_out(s, maxdd); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer floatspanset_in(String str) { - var _result = _meos_a.floatspanset_in(str); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static String floatspanset_out(Pointer ss, int maxdd) { - var _result = _meos_a.floatspanset_out(ss, maxdd); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer intset_in(String str) { - var _result = _meos_a.intset_in(str); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static String intset_out(Pointer set) { - var _result = _meos_a.intset_out(set); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer intspan_expand(Pointer s, int value) { - var _result = _meos_a.intspan_expand(s, value); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer intspan_in(String str) { - var _result = _meos_a.intspan_in(str); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static String intspan_out(Pointer s) { - var _result = _meos_a.intspan_out(s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer intspanset_in(String str) { - var _result = _meos_a.intspanset_in(str); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static String intspanset_out(Pointer ss) { - var _result = _meos_a.intspanset_out(ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static String set_as_hexwkb(Pointer s, byte variant) { - Runtime runtime = Runtime.getSystemRuntime(); - Pointer size_out = Memory.allocateDirect(runtime, Long.BYTES); - var _result = _meos_a.set_as_hexwkb(s, variant, size_out); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer set_as_wkb(Pointer s, byte variant) { - Runtime runtime = Runtime.getSystemRuntime(); - Pointer size_out = Memory.allocateDirect(runtime, Long.BYTES); - var _result = _meos_a.set_as_wkb(s, variant, size_out); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer set_from_hexwkb(String hexwkb) { - var _result = _meos_a.set_from_hexwkb(hexwkb); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer set_from_wkb(Pointer wkb, long size) { - var _result = _meos_a.set_from_wkb(wkb, size); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static String span_as_hexwkb(Pointer s, byte variant) { - Runtime runtime = Runtime.getSystemRuntime(); - Pointer size_out = Memory.allocateDirect(runtime, Long.BYTES); - var _result = _meos_a.span_as_hexwkb(s, variant, size_out); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer span_as_wkb(Pointer s, byte variant) { - Runtime runtime = Runtime.getSystemRuntime(); - Pointer size_out = Memory.allocateDirect(runtime, Long.BYTES); - var _result = _meos_a.span_as_wkb(s, variant, size_out); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer span_from_hexwkb(String hexwkb) { - var _result = _meos_a.span_from_hexwkb(hexwkb); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer span_from_wkb(Pointer wkb, long size) { - var _result = _meos_a.span_from_wkb(wkb, size); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static String spanset_as_hexwkb(Pointer ss, byte variant) { - Runtime runtime = Runtime.getSystemRuntime(); - Pointer size_out = Memory.allocateDirect(runtime, Long.BYTES); - var _result = _meos_a.spanset_as_hexwkb(ss, variant, size_out); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer spanset_as_wkb(Pointer ss, byte variant) { - Runtime runtime = Runtime.getSystemRuntime(); - Pointer size_out = Memory.allocateDirect(runtime, Long.BYTES); - var _result = _meos_a.spanset_as_wkb(ss, variant, size_out); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer spanset_from_hexwkb(String hexwkb) { - var _result = _meos_a.spanset_from_hexwkb(hexwkb); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer spanset_from_wkb(Pointer wkb, long size) { - var _result = _meos_a.spanset_from_wkb(wkb, size); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer textset_in(String str) { - var _result = _meos_a.textset_in(str); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static String textset_out(Pointer set) { - var _result = _meos_a.textset_out(set); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tstzset_in(String str) { - var _result = _meos_a.tstzset_in(str); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static String tstzset_out(Pointer set) { - var _result = _meos_a.tstzset_out(set); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tstzspan_in(String str) { - var _result = _meos_a.tstzspan_in(str); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static String tstzspan_out(Pointer s) { - var _result = _meos_a.tstzspan_out(s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tstzspanset_in(String str) { - var _result = _meos_a.tstzspanset_in(str); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static String tstzspanset_out(Pointer ss) { - var _result = _meos_a.tstzspanset_out(ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer bigintset_make(Pointer values, int count) { - var _result = _meos_a.bigintset_make(values, count); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer bigintspan_make(long lower, long upper, boolean lower_inc, boolean upper_inc) { - var _result = _meos_a.bigintspan_make(lower, upper, lower_inc, upper_inc); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer dateset_make(Pointer values, int count) { - var _result = _meos_a.dateset_make(values, count); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer datespan_make(int lower, int upper, boolean lower_inc, boolean upper_inc) { - var _result = _meos_a.datespan_make(lower, upper, lower_inc, upper_inc); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer floatset_make(Pointer values, int count) { - var _result = _meos_a.floatset_make(values, count); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer floatspan_make(double lower, double upper, boolean lower_inc, boolean upper_inc) { - var _result = _meos_a.floatspan_make(lower, upper, lower_inc, upper_inc); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer intset_make(Pointer values, int count) { - var _result = _meos_a.intset_make(values, count); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer intspan_make(int lower, int upper, boolean lower_inc, boolean upper_inc) { - var _result = _meos_a.intspan_make(lower, upper, lower_inc, upper_inc); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer set_copy(Pointer s) { - var _result = _meos_a.set_copy(s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer span_copy(Pointer s) { - var _result = _meos_a.span_copy(s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer spanset_copy(Pointer ss) { - var _result = _meos_a.spanset_copy(ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer spanset_make(Pointer spans, int count) { - var _result = _meos_a.spanset_make(spans, count); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer textset_make(Pointer values, int count) { - var _result = _meos_a.textset_make(values, count); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tstzset_make(Pointer values, int count) { - var _result = _meos_a.tstzset_make(values, count); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tstzspan_make(OffsetDateTime lower, OffsetDateTime upper, boolean lower_inc, boolean upper_inc) { - var lower_new = lower.toEpochSecond(); - var upper_new = upper.toEpochSecond(); - var _result = _meos_a.tstzspan_make(lower_new, upper_new, lower_inc, upper_inc); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer bigint_to_set(long i) { - var _result = _meos_a.bigint_to_set(i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer bigint_to_span(long i) { - var _result = _meos_a.bigint_to_span(i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer bigint_to_spanset(long i) { - var _result = _meos_a.bigint_to_spanset(i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer bigintspan_to_intspan(Pointer s) { - var _result = _meos_a.bigintspan_to_intspan(s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer bigintspan_to_floatspan(Pointer s) { - var _result = _meos_a.bigintspan_to_floatspan(s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer date_to_set(int d) { - var _result = _meos_a.date_to_set(d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer date_to_span(int d) { - var _result = _meos_a.date_to_span(d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer date_to_spanset(int d) { - var _result = _meos_a.date_to_spanset(d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer dateset_to_tstzset(Pointer s) { - var _result = _meos_a.dateset_to_tstzset(s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer datespan_to_tstzspan(Pointer s) { - var _result = _meos_a.datespan_to_tstzspan(s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer datespanset_to_tstzspanset(Pointer ss) { - var _result = _meos_a.datespanset_to_tstzspanset(ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer float_to_set(double d) { - var _result = _meos_a.float_to_set(d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer float_to_span(double d) { - var _result = _meos_a.float_to_span(d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer float_to_spanset(double d) { - var _result = _meos_a.float_to_spanset(d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer floatset_to_intset(Pointer s) { - var _result = _meos_a.floatset_to_intset(s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer floatspan_to_bigintspan(Pointer s) { - var _result = _meos_a.floatspan_to_bigintspan(s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer floatspan_to_intspan(Pointer s) { - var _result = _meos_a.floatspan_to_intspan(s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer floatspanset_to_intspanset(Pointer ss) { - var _result = _meos_a.floatspanset_to_intspanset(ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer int_to_set(int i) { - var _result = _meos_a.int_to_set(i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer int_to_span(int i) { - var _result = _meos_a.int_to_span(i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer int_to_spanset(int i) { - var _result = _meos_a.int_to_spanset(i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer intset_to_floatset(Pointer s) { - var _result = _meos_a.intset_to_floatset(s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer intspan_to_bigintspan(Pointer s) { - var _result = _meos_a.intspan_to_bigintspan(s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer intspan_to_floatspan(Pointer s) { - var _result = _meos_a.intspan_to_floatspan(s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer intspanset_to_floatspanset(Pointer ss) { - var _result = _meos_a.intspanset_to_floatspanset(ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer set_to_span(Pointer s) { - var _result = _meos_a.set_to_span(s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer set_to_spanset(Pointer s) { - var _result = _meos_a.set_to_spanset(s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer span_to_spanset(Pointer s) { - var _result = _meos_a.span_to_spanset(s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer text_to_set(Pointer txt) { - var _result = _meos_a.text_to_set(txt); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer timestamptz_to_set(OffsetDateTime t) { - var t_new = t.toEpochSecond(); - var _result = _meos_a.timestamptz_to_set(t_new); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer timestamptz_to_span(OffsetDateTime t) { - var t_new = t.toEpochSecond(); - var _result = _meos_a.timestamptz_to_span(t_new); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer timestamptz_to_spanset(OffsetDateTime t) { - var t_new = t.toEpochSecond(); - var _result = _meos_a.timestamptz_to_spanset(t_new); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tstzset_to_dateset(Pointer s) { - var _result = _meos_a.tstzset_to_dateset(s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tstzspan_to_datespan(Pointer s) { - var _result = _meos_a.tstzspan_to_datespan(s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tstzspanset_to_datespanset(Pointer ss) { - var _result = _meos_a.tstzspanset_to_datespanset(ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static long bigintset_end_value(Pointer s) { - var _result = _meos_a.bigintset_end_value(s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static long bigintset_start_value(Pointer s) { - var _result = _meos_a.bigintset_start_value(s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer bigintset_value_n(Pointer s, int n) { - boolean out; - Runtime runtime = Runtime.getSystemRuntime(); - Pointer result = Memory.allocateDirect(runtime, Long.BYTES); - out = _meos_a.bigintset_value_n(s, n, result); - MeosErrorHandler.checkError(); - return out ? result : null; - } - - @SuppressWarnings("unused") - public static Pointer bigintset_values(Pointer s) { - var _result = _meos_a.bigintset_values(s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static long bigintspan_lower(Pointer s) { - var _result = _meos_a.bigintspan_lower(s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static long bigintspan_upper(Pointer s) { - var _result = _meos_a.bigintspan_upper(s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static long bigintspan_width(Pointer s) { - var _result = _meos_a.bigintspan_width(s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static long bigintspanset_lower(Pointer ss) { - var _result = _meos_a.bigintspanset_lower(ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static long bigintspanset_upper(Pointer ss) { - var _result = _meos_a.bigintspanset_upper(ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static long bigintspanset_width(Pointer ss, boolean boundspan) { - var _result = _meos_a.bigintspanset_width(ss, boundspan); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int dateset_end_value(Pointer s) { - var _result = _meos_a.dateset_end_value(s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int dateset_start_value(Pointer s) { - var _result = _meos_a.dateset_start_value(s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer dateset_value_n(Pointer s, int n) { - boolean out; - Runtime runtime = Runtime.getSystemRuntime(); - Pointer result = Memory.allocateDirect(runtime, Integer.BYTES); - out = _meos_a.dateset_value_n(s, n, result); - MeosErrorHandler.checkError(); - return out ? result : null; - } - - @SuppressWarnings("unused") - public static Pointer dateset_values(Pointer s) { - var _result = _meos_a.dateset_values(s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer datespan_duration(Pointer s) { - var _result = _meos_a.datespan_duration(s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int datespan_lower(Pointer s) { - var _result = _meos_a.datespan_lower(s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int datespan_upper(Pointer s) { - var _result = _meos_a.datespan_upper(s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer datespanset_date_n(Pointer ss, int n) { - boolean out; - Runtime runtime = Runtime.getSystemRuntime(); - Pointer result = Memory.allocateDirect(runtime, Integer.BYTES); - out = _meos_a.datespanset_date_n(ss, n, result); - MeosErrorHandler.checkError(); - return out ? result : null; - } - - @SuppressWarnings("unused") - public static Pointer datespanset_dates(Pointer ss) { - var _result = _meos_a.datespanset_dates(ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer datespanset_duration(Pointer ss, boolean boundspan) { - var _result = _meos_a.datespanset_duration(ss, boundspan); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int datespanset_end_date(Pointer ss) { - var _result = _meos_a.datespanset_end_date(ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int datespanset_num_dates(Pointer ss) { - var _result = _meos_a.datespanset_num_dates(ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int datespanset_start_date(Pointer ss) { - var _result = _meos_a.datespanset_start_date(ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double floatset_end_value(Pointer s) { - var _result = _meos_a.floatset_end_value(s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double floatset_start_value(Pointer s) { - var _result = _meos_a.floatset_start_value(s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer floatset_value_n(Pointer s, int n) { - boolean out; - Runtime runtime = Runtime.getSystemRuntime(); - Pointer result = Memory.allocateDirect(runtime, Double.BYTES); - out = _meos_a.floatset_value_n(s, n, result); - MeosErrorHandler.checkError(); - return out ? result : null; - } - - @SuppressWarnings("unused") - public static Pointer floatset_values(Pointer s) { - var _result = _meos_a.floatset_values(s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double floatspan_lower(Pointer s) { - var _result = _meos_a.floatspan_lower(s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double floatspan_upper(Pointer s) { - var _result = _meos_a.floatspan_upper(s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double floatspan_width(Pointer s) { - var _result = _meos_a.floatspan_width(s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double floatspanset_lower(Pointer ss) { - var _result = _meos_a.floatspanset_lower(ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double floatspanset_upper(Pointer ss) { - var _result = _meos_a.floatspanset_upper(ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double floatspanset_width(Pointer ss, boolean boundspan) { - var _result = _meos_a.floatspanset_width(ss, boundspan); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int intset_end_value(Pointer s) { - var _result = _meos_a.intset_end_value(s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int intset_start_value(Pointer s) { - var _result = _meos_a.intset_start_value(s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer intset_value_n(Pointer s, int n) { - boolean out; - Runtime runtime = Runtime.getSystemRuntime(); - Pointer result = Memory.allocateDirect(runtime, Integer.BYTES); - out = _meos_a.intset_value_n(s, n, result); - MeosErrorHandler.checkError(); - return out ? result : null; - } - - @SuppressWarnings("unused") - public static Pointer intset_values(Pointer s) { - var _result = _meos_a.intset_values(s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int intspan_lower(Pointer s) { - var _result = _meos_a.intspan_lower(s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int intspan_upper(Pointer s) { - var _result = _meos_a.intspan_upper(s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int intspan_width(Pointer s) { - var _result = _meos_a.intspan_width(s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int intspanset_lower(Pointer ss) { - var _result = _meos_a.intspanset_lower(ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int intspanset_upper(Pointer ss) { - var _result = _meos_a.intspanset_upper(ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int intspanset_width(Pointer ss, boolean boundspan) { - var _result = _meos_a.intspanset_width(ss, boundspan); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int set_hash(Pointer s) { - var _result = _meos_a.set_hash(s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static long set_hash_extended(Pointer s, long seed) { - var _result = _meos_a.set_hash_extended(s, seed); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int set_num_values(Pointer s) { - var _result = _meos_a.set_num_values(s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int span_hash(Pointer s) { - var _result = _meos_a.span_hash(s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static long span_hash_extended(Pointer s, long seed) { - var _result = _meos_a.span_hash_extended(s, seed); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean span_lower_inc(Pointer s) { - var _result = _meos_a.span_lower_inc(s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean span_upper_inc(Pointer s) { - var _result = _meos_a.span_upper_inc(s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer spanset_end_span(Pointer ss) { - var _result = _meos_a.spanset_end_span(ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int spanset_hash(Pointer ss) { - var _result = _meos_a.spanset_hash(ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static long spanset_hash_extended(Pointer ss, long seed) { - var _result = _meos_a.spanset_hash_extended(ss, seed); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean spanset_lower_inc(Pointer ss) { - var _result = _meos_a.spanset_lower_inc(ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int spanset_num_spans(Pointer ss) { - var _result = _meos_a.spanset_num_spans(ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer spanset_span(Pointer ss) { - var _result = _meos_a.spanset_span(ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer spanset_span_n(Pointer ss, int i) { - var _result = _meos_a.spanset_span_n(ss, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer spanset_spanarr(Pointer ss) { - var _result = _meos_a.spanset_spanarr(ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer spanset_start_span(Pointer ss) { - var _result = _meos_a.spanset_start_span(ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean spanset_upper_inc(Pointer ss) { - var _result = _meos_a.spanset_upper_inc(ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer textset_end_value(Pointer s) { - var _result = _meos_a.textset_end_value(s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer textset_start_value(Pointer s) { - var _result = _meos_a.textset_start_value(s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer textset_value_n(Pointer s, int n) { - boolean out; - Runtime runtime = Runtime.getSystemRuntime(); - Pointer result = Memory.allocateDirect(runtime, Long.BYTES); - out = _meos_a.textset_value_n(s, n, result); - Pointer new_result = result.getPointer(0); - MeosErrorHandler.checkError(); - return out ? new_result : null; - } - - @SuppressWarnings("unused") - public static Pointer textset_values(Pointer s) { - var _result = _meos_a.textset_values(s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static OffsetDateTime tstzset_end_value(Pointer s) { - var _result = _meos_a.tstzset_end_value(s); - MeosErrorHandler.checkError(); - return java.time.Instant.ofEpochSecond(_result).atOffset(java.time.ZoneOffset.UTC); - } - - @SuppressWarnings("unused") - public static OffsetDateTime tstzset_start_value(Pointer s) { - var _result = _meos_a.tstzset_start_value(s); - MeosErrorHandler.checkError(); - return java.time.Instant.ofEpochSecond(_result).atOffset(java.time.ZoneOffset.UTC); - } - - @SuppressWarnings("unused") - public static Pointer tstzset_value_n(Pointer s, int n) { - boolean out; - Runtime runtime = Runtime.getSystemRuntime(); - Pointer result = Memory.allocateDirect(runtime, Long.BYTES); - out = _meos_a.tstzset_value_n(s, n, result); - MeosErrorHandler.checkError(); - return out ? result : null; - } - - @SuppressWarnings("unused") - public static Pointer tstzset_values(Pointer s) { - var _result = _meos_a.tstzset_values(s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tstzspan_duration(Pointer s) { - var _result = _meos_a.tstzspan_duration(s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static OffsetDateTime tstzspan_lower(Pointer s) { - var _result = _meos_a.tstzspan_lower(s); - MeosErrorHandler.checkError(); - return java.time.Instant.ofEpochSecond(_result).atOffset(java.time.ZoneOffset.UTC); - } - - @SuppressWarnings("unused") - public static OffsetDateTime tstzspan_upper(Pointer s) { - var _result = _meos_a.tstzspan_upper(s); - MeosErrorHandler.checkError(); - return java.time.Instant.ofEpochSecond(_result).atOffset(java.time.ZoneOffset.UTC); - } - - @SuppressWarnings("unused") - public static Pointer tstzspanset_duration(Pointer ss, boolean boundspan) { - var _result = _meos_a.tstzspanset_duration(ss, boundspan); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static OffsetDateTime tstzspanset_end_timestamptz(Pointer ss) { - var _result = _meos_a.tstzspanset_end_timestamptz(ss); - MeosErrorHandler.checkError(); - return java.time.Instant.ofEpochSecond(_result).atOffset(java.time.ZoneOffset.UTC); - } - - @SuppressWarnings("unused") - public static OffsetDateTime tstzspanset_lower(Pointer ss) { - var _result = _meos_a.tstzspanset_lower(ss); - MeosErrorHandler.checkError(); - return java.time.Instant.ofEpochSecond(_result).atOffset(java.time.ZoneOffset.UTC); - } - - @SuppressWarnings("unused") - public static int tstzspanset_num_timestamps(Pointer ss) { - var _result = _meos_a.tstzspanset_num_timestamps(ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static OffsetDateTime tstzspanset_start_timestamptz(Pointer ss) { - var _result = _meos_a.tstzspanset_start_timestamptz(ss); - MeosErrorHandler.checkError(); - return java.time.Instant.ofEpochSecond(_result).atOffset(java.time.ZoneOffset.UTC); - } - - @SuppressWarnings("unused") - public static Pointer tstzspanset_timestamps(Pointer ss) { - var _result = _meos_a.tstzspanset_timestamps(ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tstzspanset_timestamptz_n(Pointer ss, int n) { - boolean out; - Runtime runtime = Runtime.getSystemRuntime(); - Pointer result = Memory.allocateDirect(runtime, Long.BYTES); - out = _meos_a.tstzspanset_timestamptz_n(ss, n, result); - MeosErrorHandler.checkError(); - return out ? result : null; - } - - @SuppressWarnings("unused") - public static OffsetDateTime tstzspanset_upper(Pointer ss) { - var _result = _meos_a.tstzspanset_upper(ss); - MeosErrorHandler.checkError(); - return java.time.Instant.ofEpochSecond(_result).atOffset(java.time.ZoneOffset.UTC); - } - - @SuppressWarnings("unused") - public static Pointer bigintset_shift_scale(Pointer s, long shift, long width, boolean hasshift, boolean haswidth) { - var _result = _meos_a.bigintset_shift_scale(s, shift, width, hasshift, haswidth); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer bigintspan_shift_scale(Pointer s, long shift, long width, boolean hasshift, boolean haswidth) { - var _result = _meos_a.bigintspan_shift_scale(s, shift, width, hasshift, haswidth); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer bigintspanset_shift_scale(Pointer ss, long shift, long width, boolean hasshift, boolean haswidth) { - var _result = _meos_a.bigintspanset_shift_scale(ss, shift, width, hasshift, haswidth); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer dateset_shift_scale(Pointer s, int shift, int width, boolean hasshift, boolean haswidth) { - var _result = _meos_a.dateset_shift_scale(s, shift, width, hasshift, haswidth); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer datespan_shift_scale(Pointer s, int shift, int width, boolean hasshift, boolean haswidth) { - var _result = _meos_a.datespan_shift_scale(s, shift, width, hasshift, haswidth); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer datespanset_shift_scale(Pointer ss, int shift, int width, boolean hasshift, boolean haswidth) { - var _result = _meos_a.datespanset_shift_scale(ss, shift, width, hasshift, haswidth); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer floatset_ceil(Pointer s) { - var _result = _meos_a.floatset_ceil(s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer floatset_degrees(Pointer s, boolean normalize) { - var _result = _meos_a.floatset_degrees(s, normalize); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer floatset_floor(Pointer s) { - var _result = _meos_a.floatset_floor(s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer floatset_radians(Pointer s) { - var _result = _meos_a.floatset_radians(s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer floatset_shift_scale(Pointer s, double shift, double width, boolean hasshift, boolean haswidth) { - var _result = _meos_a.floatset_shift_scale(s, shift, width, hasshift, haswidth); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer floatspan_ceil(Pointer s) { - var _result = _meos_a.floatspan_ceil(s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer floatspan_degrees(Pointer s, boolean normalize) { - var _result = _meos_a.floatspan_degrees(s, normalize); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer floatspan_floor(Pointer s) { - var _result = _meos_a.floatspan_floor(s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer floatspan_radians(Pointer s) { - var _result = _meos_a.floatspan_radians(s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer floatspan_round(Pointer s, int maxdd) { - var _result = _meos_a.floatspan_round(s, maxdd); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer floatspan_shift_scale(Pointer s, double shift, double width, boolean hasshift, boolean haswidth) { - var _result = _meos_a.floatspan_shift_scale(s, shift, width, hasshift, haswidth); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer floatspanset_ceil(Pointer ss) { - var _result = _meos_a.floatspanset_ceil(ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer floatspanset_floor(Pointer ss) { - var _result = _meos_a.floatspanset_floor(ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer floatspanset_degrees(Pointer ss, boolean normalize) { - var _result = _meos_a.floatspanset_degrees(ss, normalize); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer floatspanset_radians(Pointer ss) { - var _result = _meos_a.floatspanset_radians(ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer floatspanset_round(Pointer ss, int maxdd) { - var _result = _meos_a.floatspanset_round(ss, maxdd); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer floatspanset_shift_scale(Pointer ss, double shift, double width, boolean hasshift, boolean haswidth) { - var _result = _meos_a.floatspanset_shift_scale(ss, shift, width, hasshift, haswidth); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer intset_shift_scale(Pointer s, int shift, int width, boolean hasshift, boolean haswidth) { - var _result = _meos_a.intset_shift_scale(s, shift, width, hasshift, haswidth); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer intspan_shift_scale(Pointer s, int shift, int width, boolean hasshift, boolean haswidth) { - var _result = _meos_a.intspan_shift_scale(s, shift, width, hasshift, haswidth); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer intspanset_shift_scale(Pointer ss, int shift, int width, boolean hasshift, boolean haswidth) { - var _result = _meos_a.intspanset_shift_scale(ss, shift, width, hasshift, haswidth); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tstzspan_expand(Pointer s, Pointer interv) { - var _result = _meos_a.tstzspan_expand(s, interv); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer set_round(Pointer s, int maxdd) { - var _result = _meos_a.set_round(s, maxdd); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer textcat_text_textset(Pointer txt, Pointer s) { - var _result = _meos_a.textcat_text_textset(txt, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer textcat_textset_text(Pointer s, Pointer txt) { - var _result = _meos_a.textcat_textset_text(s, txt); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer textset_initcap(Pointer s) { - var _result = _meos_a.textset_initcap(s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer textset_lower(Pointer s) { - var _result = _meos_a.textset_lower(s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer textset_upper(Pointer s) { - var _result = _meos_a.textset_upper(s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static OffsetDateTime timestamptz_tprecision(OffsetDateTime t, Pointer duration, OffsetDateTime torigin) { - var t_new = t.toEpochSecond(); - var torigin_new = torigin.toEpochSecond(); - var _result = _meos_a.timestamptz_tprecision(t_new, duration, torigin_new); - MeosErrorHandler.checkError(); - return java.time.Instant.ofEpochSecond(_result).atOffset(java.time.ZoneOffset.UTC); - } - - @SuppressWarnings("unused") - public static Pointer tstzset_shift_scale(Pointer s, Pointer shift, Pointer duration) { - var _result = _meos_a.tstzset_shift_scale(s, shift, duration); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tstzset_tprecision(Pointer s, Pointer duration, OffsetDateTime torigin) { - var torigin_new = torigin.toEpochSecond(); - var _result = _meos_a.tstzset_tprecision(s, duration, torigin_new); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tstzspan_shift_scale(Pointer s, Pointer shift, Pointer duration) { - var _result = _meos_a.tstzspan_shift_scale(s, shift, duration); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tstzspan_tprecision(Pointer s, Pointer duration, OffsetDateTime torigin) { - var torigin_new = torigin.toEpochSecond(); - var _result = _meos_a.tstzspan_tprecision(s, duration, torigin_new); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tstzspanset_shift_scale(Pointer ss, Pointer shift, Pointer duration) { - var _result = _meos_a.tstzspanset_shift_scale(ss, shift, duration); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tstzspanset_tprecision(Pointer ss, Pointer duration, OffsetDateTime torigin) { - var torigin_new = torigin.toEpochSecond(); - var _result = _meos_a.tstzspanset_tprecision(ss, duration, torigin_new); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int set_cmp(Pointer s1, Pointer s2) { - var _result = _meos_a.set_cmp(s1, s2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean set_eq(Pointer s1, Pointer s2) { - var _result = _meos_a.set_eq(s1, s2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean set_ge(Pointer s1, Pointer s2) { - var _result = _meos_a.set_ge(s1, s2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean set_gt(Pointer s1, Pointer s2) { - var _result = _meos_a.set_gt(s1, s2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean set_le(Pointer s1, Pointer s2) { - var _result = _meos_a.set_le(s1, s2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean set_lt(Pointer s1, Pointer s2) { - var _result = _meos_a.set_lt(s1, s2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean set_ne(Pointer s1, Pointer s2) { - var _result = _meos_a.set_ne(s1, s2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int span_cmp(Pointer s1, Pointer s2) { - var _result = _meos_a.span_cmp(s1, s2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean span_eq(Pointer s1, Pointer s2) { - var _result = _meos_a.span_eq(s1, s2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean span_ge(Pointer s1, Pointer s2) { - var _result = _meos_a.span_ge(s1, s2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean span_gt(Pointer s1, Pointer s2) { - var _result = _meos_a.span_gt(s1, s2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean span_le(Pointer s1, Pointer s2) { - var _result = _meos_a.span_le(s1, s2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean span_lt(Pointer s1, Pointer s2) { - var _result = _meos_a.span_lt(s1, s2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean span_ne(Pointer s1, Pointer s2) { - var _result = _meos_a.span_ne(s1, s2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int spanset_cmp(Pointer ss1, Pointer ss2) { - var _result = _meos_a.spanset_cmp(ss1, ss2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean spanset_eq(Pointer ss1, Pointer ss2) { - var _result = _meos_a.spanset_eq(ss1, ss2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean spanset_ge(Pointer ss1, Pointer ss2) { - var _result = _meos_a.spanset_ge(ss1, ss2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean spanset_gt(Pointer ss1, Pointer ss2) { - var _result = _meos_a.spanset_gt(ss1, ss2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean spanset_le(Pointer ss1, Pointer ss2) { - var _result = _meos_a.spanset_le(ss1, ss2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean spanset_lt(Pointer ss1, Pointer ss2) { - var _result = _meos_a.spanset_lt(ss1, ss2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean spanset_ne(Pointer ss1, Pointer ss2) { - var _result = _meos_a.spanset_ne(ss1, ss2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer set_spans(Pointer s) { - var _result = _meos_a.set_spans(s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer set_split_each_n_spans(Pointer s, int elems_per_span, Pointer count) { - var _result = _meos_a.set_split_each_n_spans(s, elems_per_span, count); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer set_split_n_spans(Pointer s, int span_count, Pointer count) { - var _result = _meos_a.set_split_n_spans(s, span_count, count); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer spanset_spans(Pointer ss) { - var _result = _meos_a.spanset_spans(ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer spanset_split_each_n_spans(Pointer ss, int elems_per_span, Pointer count) { - var _result = _meos_a.spanset_split_each_n_spans(ss, elems_per_span, count); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer spanset_split_n_spans(Pointer ss, int span_count, Pointer count) { - var _result = _meos_a.spanset_split_n_spans(ss, span_count, count); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean adjacent_span_bigint(Pointer s, long i) { - var _result = _meos_a.adjacent_span_bigint(s, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean adjacent_span_date(Pointer s, int d) { - var _result = _meos_a.adjacent_span_date(s, d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean adjacent_span_float(Pointer s, double d) { - var _result = _meos_a.adjacent_span_float(s, d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean adjacent_span_int(Pointer s, int i) { - var _result = _meos_a.adjacent_span_int(s, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean adjacent_span_span(Pointer s1, Pointer s2) { - var _result = _meos_a.adjacent_span_span(s1, s2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean adjacent_span_spanset(Pointer s, Pointer ss) { - var _result = _meos_a.adjacent_span_spanset(s, ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean adjacent_span_timestamptz(Pointer s, OffsetDateTime t) { - var t_new = t.toEpochSecond(); - var _result = _meos_a.adjacent_span_timestamptz(s, t_new); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean adjacent_spanset_bigint(Pointer ss, long i) { - var _result = _meos_a.adjacent_spanset_bigint(ss, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean adjacent_spanset_date(Pointer ss, int d) { - var _result = _meos_a.adjacent_spanset_date(ss, d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean adjacent_spanset_float(Pointer ss, double d) { - var _result = _meos_a.adjacent_spanset_float(ss, d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean adjacent_spanset_int(Pointer ss, int i) { - var _result = _meos_a.adjacent_spanset_int(ss, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean adjacent_spanset_timestamptz(Pointer ss, OffsetDateTime t) { - var t_new = t.toEpochSecond(); - var _result = _meos_a.adjacent_spanset_timestamptz(ss, t_new); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean adjacent_spanset_span(Pointer ss, Pointer s) { - var _result = _meos_a.adjacent_spanset_span(ss, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean adjacent_spanset_spanset(Pointer ss1, Pointer ss2) { - var _result = _meos_a.adjacent_spanset_spanset(ss1, ss2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean contained_bigint_set(long i, Pointer s) { - var _result = _meos_a.contained_bigint_set(i, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean contained_bigint_span(long i, Pointer s) { - var _result = _meos_a.contained_bigint_span(i, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean contained_bigint_spanset(long i, Pointer ss) { - var _result = _meos_a.contained_bigint_spanset(i, ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean contained_date_set(int d, Pointer s) { - var _result = _meos_a.contained_date_set(d, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean contained_date_span(int d, Pointer s) { - var _result = _meos_a.contained_date_span(d, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean contained_date_spanset(int d, Pointer ss) { - var _result = _meos_a.contained_date_spanset(d, ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean contained_float_set(double d, Pointer s) { - var _result = _meos_a.contained_float_set(d, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean contained_float_span(double d, Pointer s) { - var _result = _meos_a.contained_float_span(d, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean contained_float_spanset(double d, Pointer ss) { - var _result = _meos_a.contained_float_spanset(d, ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean contained_int_set(int i, Pointer s) { - var _result = _meos_a.contained_int_set(i, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean contained_int_span(int i, Pointer s) { - var _result = _meos_a.contained_int_span(i, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean contained_int_spanset(int i, Pointer ss) { - var _result = _meos_a.contained_int_spanset(i, ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean contained_set_set(Pointer s1, Pointer s2) { - var _result = _meos_a.contained_set_set(s1, s2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean contained_span_span(Pointer s1, Pointer s2) { - var _result = _meos_a.contained_span_span(s1, s2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean contained_span_spanset(Pointer s, Pointer ss) { - var _result = _meos_a.contained_span_spanset(s, ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean contained_spanset_span(Pointer ss, Pointer s) { - var _result = _meos_a.contained_spanset_span(ss, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean contained_spanset_spanset(Pointer ss1, Pointer ss2) { - var _result = _meos_a.contained_spanset_spanset(ss1, ss2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean contained_text_set(Pointer txt, Pointer s) { - var _result = _meos_a.contained_text_set(txt, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean contained_timestamptz_set(OffsetDateTime t, Pointer s) { - var t_new = t.toEpochSecond(); - var _result = _meos_a.contained_timestamptz_set(t_new, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean contained_timestamptz_span(OffsetDateTime t, Pointer s) { - var t_new = t.toEpochSecond(); - var _result = _meos_a.contained_timestamptz_span(t_new, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean contained_timestamptz_spanset(OffsetDateTime t, Pointer ss) { - var t_new = t.toEpochSecond(); - var _result = _meos_a.contained_timestamptz_spanset(t_new, ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean contains_set_bigint(Pointer s, long i) { - var _result = _meos_a.contains_set_bigint(s, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean contains_set_date(Pointer s, int d) { - var _result = _meos_a.contains_set_date(s, d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean contains_set_float(Pointer s, double d) { - var _result = _meos_a.contains_set_float(s, d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean contains_set_int(Pointer s, int i) { - var _result = _meos_a.contains_set_int(s, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean contains_set_set(Pointer s1, Pointer s2) { - var _result = _meos_a.contains_set_set(s1, s2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean contains_set_text(Pointer s, Pointer t) { - var _result = _meos_a.contains_set_text(s, t); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean contains_set_timestamptz(Pointer s, OffsetDateTime t) { - var t_new = t.toEpochSecond(); - var _result = _meos_a.contains_set_timestamptz(s, t_new); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean contains_span_bigint(Pointer s, long i) { - var _result = _meos_a.contains_span_bigint(s, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean contains_span_date(Pointer s, int d) { - var _result = _meos_a.contains_span_date(s, d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean contains_span_float(Pointer s, double d) { - var _result = _meos_a.contains_span_float(s, d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean contains_span_int(Pointer s, int i) { - var _result = _meos_a.contains_span_int(s, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean contains_span_span(Pointer s1, Pointer s2) { - var _result = _meos_a.contains_span_span(s1, s2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean contains_span_spanset(Pointer s, Pointer ss) { - var _result = _meos_a.contains_span_spanset(s, ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean contains_span_timestamptz(Pointer s, OffsetDateTime t) { - var t_new = t.toEpochSecond(); - var _result = _meos_a.contains_span_timestamptz(s, t_new); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean contains_spanset_bigint(Pointer ss, long i) { - var _result = _meos_a.contains_spanset_bigint(ss, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean contains_spanset_date(Pointer ss, int d) { - var _result = _meos_a.contains_spanset_date(ss, d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean contains_spanset_float(Pointer ss, double d) { - var _result = _meos_a.contains_spanset_float(ss, d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean contains_spanset_int(Pointer ss, int i) { - var _result = _meos_a.contains_spanset_int(ss, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean contains_spanset_span(Pointer ss, Pointer s) { - var _result = _meos_a.contains_spanset_span(ss, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean contains_spanset_spanset(Pointer ss1, Pointer ss2) { - var _result = _meos_a.contains_spanset_spanset(ss1, ss2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean contains_spanset_timestamptz(Pointer ss, OffsetDateTime t) { - var t_new = t.toEpochSecond(); - var _result = _meos_a.contains_spanset_timestamptz(ss, t_new); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overlaps_set_set(Pointer s1, Pointer s2) { - var _result = _meos_a.overlaps_set_set(s1, s2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overlaps_span_span(Pointer s1, Pointer s2) { - var _result = _meos_a.overlaps_span_span(s1, s2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overlaps_span_spanset(Pointer s, Pointer ss) { - var _result = _meos_a.overlaps_span_spanset(s, ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overlaps_spanset_span(Pointer ss, Pointer s) { - var _result = _meos_a.overlaps_spanset_span(ss, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overlaps_spanset_spanset(Pointer ss1, Pointer ss2) { - var _result = _meos_a.overlaps_spanset_spanset(ss1, ss2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean after_date_set(int d, Pointer s) { - var _result = _meos_a.after_date_set(d, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean after_date_span(int d, Pointer s) { - var _result = _meos_a.after_date_span(d, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean after_date_spanset(int d, Pointer ss) { - var _result = _meos_a.after_date_spanset(d, ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean after_set_date(Pointer s, int d) { - var _result = _meos_a.after_set_date(s, d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean after_set_timestamptz(Pointer s, OffsetDateTime t) { - var t_new = t.toEpochSecond(); - var _result = _meos_a.after_set_timestamptz(s, t_new); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean after_span_date(Pointer s, int d) { - var _result = _meos_a.after_span_date(s, d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean after_span_timestamptz(Pointer s, OffsetDateTime t) { - var t_new = t.toEpochSecond(); - var _result = _meos_a.after_span_timestamptz(s, t_new); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean after_spanset_date(Pointer ss, int d) { - var _result = _meos_a.after_spanset_date(ss, d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean after_spanset_timestamptz(Pointer ss, OffsetDateTime t) { - var t_new = t.toEpochSecond(); - var _result = _meos_a.after_spanset_timestamptz(ss, t_new); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean after_timestamptz_set(OffsetDateTime t, Pointer s) { - var t_new = t.toEpochSecond(); - var _result = _meos_a.after_timestamptz_set(t_new, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean after_timestamptz_span(OffsetDateTime t, Pointer s) { - var t_new = t.toEpochSecond(); - var _result = _meos_a.after_timestamptz_span(t_new, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean after_timestamptz_spanset(OffsetDateTime t, Pointer ss) { - var t_new = t.toEpochSecond(); - var _result = _meos_a.after_timestamptz_spanset(t_new, ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean before_date_set(int d, Pointer s) { - var _result = _meos_a.before_date_set(d, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean before_date_span(int d, Pointer s) { - var _result = _meos_a.before_date_span(d, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean before_date_spanset(int d, Pointer ss) { - var _result = _meos_a.before_date_spanset(d, ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean before_set_date(Pointer s, int d) { - var _result = _meos_a.before_set_date(s, d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean before_set_timestamptz(Pointer s, OffsetDateTime t) { - var t_new = t.toEpochSecond(); - var _result = _meos_a.before_set_timestamptz(s, t_new); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean before_span_date(Pointer s, int d) { - var _result = _meos_a.before_span_date(s, d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean before_span_timestamptz(Pointer s, OffsetDateTime t) { - var t_new = t.toEpochSecond(); - var _result = _meos_a.before_span_timestamptz(s, t_new); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean before_spanset_date(Pointer ss, int d) { - var _result = _meos_a.before_spanset_date(ss, d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean before_spanset_timestamptz(Pointer ss, OffsetDateTime t) { - var t_new = t.toEpochSecond(); - var _result = _meos_a.before_spanset_timestamptz(ss, t_new); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean before_timestamptz_set(OffsetDateTime t, Pointer s) { - var t_new = t.toEpochSecond(); - var _result = _meos_a.before_timestamptz_set(t_new, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean before_timestamptz_span(OffsetDateTime t, Pointer s) { - var t_new = t.toEpochSecond(); - var _result = _meos_a.before_timestamptz_span(t_new, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean before_timestamptz_spanset(OffsetDateTime t, Pointer ss) { - var t_new = t.toEpochSecond(); - var _result = _meos_a.before_timestamptz_spanset(t_new, ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean left_bigint_set(long i, Pointer s) { - var _result = _meos_a.left_bigint_set(i, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean left_bigint_span(long i, Pointer s) { - var _result = _meos_a.left_bigint_span(i, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean left_bigint_spanset(long i, Pointer ss) { - var _result = _meos_a.left_bigint_spanset(i, ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean left_float_set(double d, Pointer s) { - var _result = _meos_a.left_float_set(d, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean left_float_span(double d, Pointer s) { - var _result = _meos_a.left_float_span(d, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean left_float_spanset(double d, Pointer ss) { - var _result = _meos_a.left_float_spanset(d, ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean left_int_set(int i, Pointer s) { - var _result = _meos_a.left_int_set(i, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean left_int_span(int i, Pointer s) { - var _result = _meos_a.left_int_span(i, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean left_int_spanset(int i, Pointer ss) { - var _result = _meos_a.left_int_spanset(i, ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean left_set_bigint(Pointer s, long i) { - var _result = _meos_a.left_set_bigint(s, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean left_set_float(Pointer s, double d) { - var _result = _meos_a.left_set_float(s, d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean left_set_int(Pointer s, int i) { - var _result = _meos_a.left_set_int(s, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean left_set_set(Pointer s1, Pointer s2) { - var _result = _meos_a.left_set_set(s1, s2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean left_set_text(Pointer s, Pointer txt) { - var _result = _meos_a.left_set_text(s, txt); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean left_span_bigint(Pointer s, long i) { - var _result = _meos_a.left_span_bigint(s, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean left_span_float(Pointer s, double d) { - var _result = _meos_a.left_span_float(s, d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean left_span_int(Pointer s, int i) { - var _result = _meos_a.left_span_int(s, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean left_span_span(Pointer s1, Pointer s2) { - var _result = _meos_a.left_span_span(s1, s2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean left_span_spanset(Pointer s, Pointer ss) { - var _result = _meos_a.left_span_spanset(s, ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean left_spanset_bigint(Pointer ss, long i) { - var _result = _meos_a.left_spanset_bigint(ss, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean left_spanset_float(Pointer ss, double d) { - var _result = _meos_a.left_spanset_float(ss, d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean left_spanset_int(Pointer ss, int i) { - var _result = _meos_a.left_spanset_int(ss, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean left_spanset_span(Pointer ss, Pointer s) { - var _result = _meos_a.left_spanset_span(ss, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean left_spanset_spanset(Pointer ss1, Pointer ss2) { - var _result = _meos_a.left_spanset_spanset(ss1, ss2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean left_text_set(Pointer txt, Pointer s) { - var _result = _meos_a.left_text_set(txt, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overafter_date_set(int d, Pointer s) { - var _result = _meos_a.overafter_date_set(d, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overafter_date_span(int d, Pointer s) { - var _result = _meos_a.overafter_date_span(d, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overafter_date_spanset(int d, Pointer ss) { - var _result = _meos_a.overafter_date_spanset(d, ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overafter_set_date(Pointer s, int d) { - var _result = _meos_a.overafter_set_date(s, d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overafter_set_timestamptz(Pointer s, OffsetDateTime t) { - var t_new = t.toEpochSecond(); - var _result = _meos_a.overafter_set_timestamptz(s, t_new); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overafter_span_date(Pointer s, int d) { - var _result = _meos_a.overafter_span_date(s, d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overafter_span_timestamptz(Pointer s, OffsetDateTime t) { - var t_new = t.toEpochSecond(); - var _result = _meos_a.overafter_span_timestamptz(s, t_new); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overafter_spanset_date(Pointer ss, int d) { - var _result = _meos_a.overafter_spanset_date(ss, d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overafter_spanset_timestamptz(Pointer ss, OffsetDateTime t) { - var t_new = t.toEpochSecond(); - var _result = _meos_a.overafter_spanset_timestamptz(ss, t_new); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overafter_timestamptz_set(OffsetDateTime t, Pointer s) { - var t_new = t.toEpochSecond(); - var _result = _meos_a.overafter_timestamptz_set(t_new, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overafter_timestamptz_span(OffsetDateTime t, Pointer s) { - var t_new = t.toEpochSecond(); - var _result = _meos_a.overafter_timestamptz_span(t_new, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overafter_timestamptz_spanset(OffsetDateTime t, Pointer ss) { - var t_new = t.toEpochSecond(); - var _result = _meos_a.overafter_timestamptz_spanset(t_new, ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overbefore_date_set(int d, Pointer s) { - var _result = _meos_a.overbefore_date_set(d, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overbefore_date_span(int d, Pointer s) { - var _result = _meos_a.overbefore_date_span(d, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overbefore_date_spanset(int d, Pointer ss) { - var _result = _meos_a.overbefore_date_spanset(d, ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overbefore_set_date(Pointer s, int d) { - var _result = _meos_a.overbefore_set_date(s, d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overbefore_set_timestamptz(Pointer s, OffsetDateTime t) { - var t_new = t.toEpochSecond(); - var _result = _meos_a.overbefore_set_timestamptz(s, t_new); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overbefore_span_date(Pointer s, int d) { - var _result = _meos_a.overbefore_span_date(s, d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overbefore_span_timestamptz(Pointer s, OffsetDateTime t) { - var t_new = t.toEpochSecond(); - var _result = _meos_a.overbefore_span_timestamptz(s, t_new); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overbefore_spanset_date(Pointer ss, int d) { - var _result = _meos_a.overbefore_spanset_date(ss, d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overbefore_spanset_timestamptz(Pointer ss, OffsetDateTime t) { - var t_new = t.toEpochSecond(); - var _result = _meos_a.overbefore_spanset_timestamptz(ss, t_new); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overbefore_timestamptz_set(OffsetDateTime t, Pointer s) { - var t_new = t.toEpochSecond(); - var _result = _meos_a.overbefore_timestamptz_set(t_new, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overbefore_timestamptz_span(OffsetDateTime t, Pointer s) { - var t_new = t.toEpochSecond(); - var _result = _meos_a.overbefore_timestamptz_span(t_new, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overbefore_timestamptz_spanset(OffsetDateTime t, Pointer ss) { - var t_new = t.toEpochSecond(); - var _result = _meos_a.overbefore_timestamptz_spanset(t_new, ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overleft_bigint_set(long i, Pointer s) { - var _result = _meos_a.overleft_bigint_set(i, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overleft_bigint_span(long i, Pointer s) { - var _result = _meos_a.overleft_bigint_span(i, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overleft_bigint_spanset(long i, Pointer ss) { - var _result = _meos_a.overleft_bigint_spanset(i, ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overleft_float_set(double d, Pointer s) { - var _result = _meos_a.overleft_float_set(d, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overleft_float_span(double d, Pointer s) { - var _result = _meos_a.overleft_float_span(d, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overleft_float_spanset(double d, Pointer ss) { - var _result = _meos_a.overleft_float_spanset(d, ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overleft_int_set(int i, Pointer s) { - var _result = _meos_a.overleft_int_set(i, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overleft_int_span(int i, Pointer s) { - var _result = _meos_a.overleft_int_span(i, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overleft_int_spanset(int i, Pointer ss) { - var _result = _meos_a.overleft_int_spanset(i, ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overleft_set_bigint(Pointer s, long i) { - var _result = _meos_a.overleft_set_bigint(s, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overleft_set_float(Pointer s, double d) { - var _result = _meos_a.overleft_set_float(s, d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overleft_set_int(Pointer s, int i) { - var _result = _meos_a.overleft_set_int(s, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overleft_set_set(Pointer s1, Pointer s2) { - var _result = _meos_a.overleft_set_set(s1, s2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overleft_set_text(Pointer s, Pointer txt) { - var _result = _meos_a.overleft_set_text(s, txt); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overleft_span_bigint(Pointer s, long i) { - var _result = _meos_a.overleft_span_bigint(s, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overleft_span_float(Pointer s, double d) { - var _result = _meos_a.overleft_span_float(s, d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overleft_span_int(Pointer s, int i) { - var _result = _meos_a.overleft_span_int(s, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overleft_span_span(Pointer s1, Pointer s2) { - var _result = _meos_a.overleft_span_span(s1, s2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overleft_span_spanset(Pointer s, Pointer ss) { - var _result = _meos_a.overleft_span_spanset(s, ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overleft_spanset_bigint(Pointer ss, long i) { - var _result = _meos_a.overleft_spanset_bigint(ss, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overleft_spanset_float(Pointer ss, double d) { - var _result = _meos_a.overleft_spanset_float(ss, d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overleft_spanset_int(Pointer ss, int i) { - var _result = _meos_a.overleft_spanset_int(ss, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overleft_spanset_span(Pointer ss, Pointer s) { - var _result = _meos_a.overleft_spanset_span(ss, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overleft_spanset_spanset(Pointer ss1, Pointer ss2) { - var _result = _meos_a.overleft_spanset_spanset(ss1, ss2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overleft_text_set(Pointer txt, Pointer s) { - var _result = _meos_a.overleft_text_set(txt, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overright_bigint_set(long i, Pointer s) { - var _result = _meos_a.overright_bigint_set(i, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overright_bigint_span(long i, Pointer s) { - var _result = _meos_a.overright_bigint_span(i, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overright_bigint_spanset(long i, Pointer ss) { - var _result = _meos_a.overright_bigint_spanset(i, ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overright_float_set(double d, Pointer s) { - var _result = _meos_a.overright_float_set(d, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overright_float_span(double d, Pointer s) { - var _result = _meos_a.overright_float_span(d, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overright_float_spanset(double d, Pointer ss) { - var _result = _meos_a.overright_float_spanset(d, ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overright_int_set(int i, Pointer s) { - var _result = _meos_a.overright_int_set(i, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overright_int_span(int i, Pointer s) { - var _result = _meos_a.overright_int_span(i, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overright_int_spanset(int i, Pointer ss) { - var _result = _meos_a.overright_int_spanset(i, ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overright_set_bigint(Pointer s, long i) { - var _result = _meos_a.overright_set_bigint(s, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overright_set_float(Pointer s, double d) { - var _result = _meos_a.overright_set_float(s, d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overright_set_int(Pointer s, int i) { - var _result = _meos_a.overright_set_int(s, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overright_set_set(Pointer s1, Pointer s2) { - var _result = _meos_a.overright_set_set(s1, s2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overright_set_text(Pointer s, Pointer txt) { - var _result = _meos_a.overright_set_text(s, txt); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overright_span_bigint(Pointer s, long i) { - var _result = _meos_a.overright_span_bigint(s, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overright_span_float(Pointer s, double d) { - var _result = _meos_a.overright_span_float(s, d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overright_span_int(Pointer s, int i) { - var _result = _meos_a.overright_span_int(s, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overright_span_span(Pointer s1, Pointer s2) { - var _result = _meos_a.overright_span_span(s1, s2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overright_span_spanset(Pointer s, Pointer ss) { - var _result = _meos_a.overright_span_spanset(s, ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overright_spanset_bigint(Pointer ss, long i) { - var _result = _meos_a.overright_spanset_bigint(ss, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overright_spanset_float(Pointer ss, double d) { - var _result = _meos_a.overright_spanset_float(ss, d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overright_spanset_int(Pointer ss, int i) { - var _result = _meos_a.overright_spanset_int(ss, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overright_spanset_span(Pointer ss, Pointer s) { - var _result = _meos_a.overright_spanset_span(ss, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overright_spanset_spanset(Pointer ss1, Pointer ss2) { - var _result = _meos_a.overright_spanset_spanset(ss1, ss2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overright_text_set(Pointer txt, Pointer s) { - var _result = _meos_a.overright_text_set(txt, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean right_bigint_set(long i, Pointer s) { - var _result = _meos_a.right_bigint_set(i, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean right_bigint_span(long i, Pointer s) { - var _result = _meos_a.right_bigint_span(i, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean right_bigint_spanset(long i, Pointer ss) { - var _result = _meos_a.right_bigint_spanset(i, ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean right_float_set(double d, Pointer s) { - var _result = _meos_a.right_float_set(d, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean right_float_span(double d, Pointer s) { - var _result = _meos_a.right_float_span(d, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean right_float_spanset(double d, Pointer ss) { - var _result = _meos_a.right_float_spanset(d, ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean right_int_set(int i, Pointer s) { - var _result = _meos_a.right_int_set(i, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean right_int_span(int i, Pointer s) { - var _result = _meos_a.right_int_span(i, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean right_int_spanset(int i, Pointer ss) { - var _result = _meos_a.right_int_spanset(i, ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean right_set_bigint(Pointer s, long i) { - var _result = _meos_a.right_set_bigint(s, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean right_set_float(Pointer s, double d) { - var _result = _meos_a.right_set_float(s, d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean right_set_int(Pointer s, int i) { - var _result = _meos_a.right_set_int(s, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean right_set_set(Pointer s1, Pointer s2) { - var _result = _meos_a.right_set_set(s1, s2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean right_set_text(Pointer s, Pointer txt) { - var _result = _meos_a.right_set_text(s, txt); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean right_span_bigint(Pointer s, long i) { - var _result = _meos_a.right_span_bigint(s, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean right_span_float(Pointer s, double d) { - var _result = _meos_a.right_span_float(s, d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean right_span_int(Pointer s, int i) { - var _result = _meos_a.right_span_int(s, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean right_span_span(Pointer s1, Pointer s2) { - var _result = _meos_a.right_span_span(s1, s2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean right_span_spanset(Pointer s, Pointer ss) { - var _result = _meos_a.right_span_spanset(s, ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean right_spanset_bigint(Pointer ss, long i) { - var _result = _meos_a.right_spanset_bigint(ss, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean right_spanset_float(Pointer ss, double d) { - var _result = _meos_a.right_spanset_float(ss, d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean right_spanset_int(Pointer ss, int i) { - var _result = _meos_a.right_spanset_int(ss, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean right_spanset_span(Pointer ss, Pointer s) { - var _result = _meos_a.right_spanset_span(ss, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean right_spanset_spanset(Pointer ss1, Pointer ss2) { - var _result = _meos_a.right_spanset_spanset(ss1, ss2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean right_text_set(Pointer txt, Pointer s) { - var _result = _meos_a.right_text_set(txt, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer intersection_bigint_set(long i, Pointer s) { - var _result = _meos_a.intersection_bigint_set(i, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer intersection_date_set(int d, Pointer s) { - var _result = _meos_a.intersection_date_set(d, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer intersection_float_set(double d, Pointer s) { - var _result = _meos_a.intersection_float_set(d, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer intersection_int_set(int i, Pointer s) { - var _result = _meos_a.intersection_int_set(i, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer intersection_set_bigint(Pointer s, long i) { - var _result = _meos_a.intersection_set_bigint(s, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer intersection_set_date(Pointer s, int d) { - var _result = _meos_a.intersection_set_date(s, d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer intersection_set_float(Pointer s, double d) { - var _result = _meos_a.intersection_set_float(s, d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer intersection_set_int(Pointer s, int i) { - var _result = _meos_a.intersection_set_int(s, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer intersection_set_set(Pointer s1, Pointer s2) { - var _result = _meos_a.intersection_set_set(s1, s2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer intersection_set_text(Pointer s, Pointer txt) { - var _result = _meos_a.intersection_set_text(s, txt); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer intersection_set_timestamptz(Pointer s, OffsetDateTime t) { - var t_new = t.toEpochSecond(); - var _result = _meos_a.intersection_set_timestamptz(s, t_new); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer intersection_span_bigint(Pointer s, long i) { - var _result = _meos_a.intersection_span_bigint(s, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer intersection_span_date(Pointer s, int d) { - var _result = _meos_a.intersection_span_date(s, d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer intersection_span_float(Pointer s, double d) { - var _result = _meos_a.intersection_span_float(s, d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer intersection_span_int(Pointer s, int i) { - var _result = _meos_a.intersection_span_int(s, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer intersection_span_span(Pointer s1, Pointer s2) { - var _result = _meos_a.intersection_span_span(s1, s2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer intersection_span_spanset(Pointer s, Pointer ss) { - var _result = _meos_a.intersection_span_spanset(s, ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer intersection_span_timestamptz(Pointer s, OffsetDateTime t) { - var t_new = t.toEpochSecond(); - var _result = _meos_a.intersection_span_timestamptz(s, t_new); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer intersection_spanset_bigint(Pointer ss, long i) { - var _result = _meos_a.intersection_spanset_bigint(ss, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer intersection_spanset_date(Pointer ss, int d) { - var _result = _meos_a.intersection_spanset_date(ss, d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer intersection_spanset_float(Pointer ss, double d) { - var _result = _meos_a.intersection_spanset_float(ss, d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer intersection_spanset_int(Pointer ss, int i) { - var _result = _meos_a.intersection_spanset_int(ss, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer intersection_spanset_span(Pointer ss, Pointer s) { - var _result = _meos_a.intersection_spanset_span(ss, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer intersection_spanset_spanset(Pointer ss1, Pointer ss2) { - var _result = _meos_a.intersection_spanset_spanset(ss1, ss2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer intersection_spanset_timestamptz(Pointer ss, OffsetDateTime t) { - var t_new = t.toEpochSecond(); - var _result = _meos_a.intersection_spanset_timestamptz(ss, t_new); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer intersection_text_set(Pointer txt, Pointer s) { - var _result = _meos_a.intersection_text_set(txt, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer intersection_timestamptz_set(OffsetDateTime t, Pointer s) { - var t_new = t.toEpochSecond(); - var _result = _meos_a.intersection_timestamptz_set(t_new, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer minus_bigint_set(long i, Pointer s) { - var _result = _meos_a.minus_bigint_set(i, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer minus_bigint_span(long i, Pointer s) { - var _result = _meos_a.minus_bigint_span(i, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer minus_bigint_spanset(long i, Pointer ss) { - var _result = _meos_a.minus_bigint_spanset(i, ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer minus_date_set(int d, Pointer s) { - var _result = _meos_a.minus_date_set(d, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer minus_date_span(int d, Pointer s) { - var _result = _meos_a.minus_date_span(d, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer minus_date_spanset(int d, Pointer ss) { - var _result = _meos_a.minus_date_spanset(d, ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer minus_float_set(double d, Pointer s) { - var _result = _meos_a.minus_float_set(d, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer minus_float_span(double d, Pointer s) { - var _result = _meos_a.minus_float_span(d, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer minus_float_spanset(double d, Pointer ss) { - var _result = _meos_a.minus_float_spanset(d, ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer minus_int_set(int i, Pointer s) { - var _result = _meos_a.minus_int_set(i, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer minus_int_span(int i, Pointer s) { - var _result = _meos_a.minus_int_span(i, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer minus_int_spanset(int i, Pointer ss) { - var _result = _meos_a.minus_int_spanset(i, ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer minus_set_bigint(Pointer s, long i) { - var _result = _meos_a.minus_set_bigint(s, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer minus_set_date(Pointer s, int d) { - var _result = _meos_a.minus_set_date(s, d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer minus_set_float(Pointer s, double d) { - var _result = _meos_a.minus_set_float(s, d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer minus_set_int(Pointer s, int i) { - var _result = _meos_a.minus_set_int(s, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer minus_set_set(Pointer s1, Pointer s2) { - var _result = _meos_a.minus_set_set(s1, s2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer minus_set_text(Pointer s, Pointer txt) { - var _result = _meos_a.minus_set_text(s, txt); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer minus_set_timestamptz(Pointer s, OffsetDateTime t) { - var t_new = t.toEpochSecond(); - var _result = _meos_a.minus_set_timestamptz(s, t_new); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer minus_span_bigint(Pointer s, long i) { - var _result = _meos_a.minus_span_bigint(s, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer minus_span_date(Pointer s, int d) { - var _result = _meos_a.minus_span_date(s, d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer minus_span_float(Pointer s, double d) { - var _result = _meos_a.minus_span_float(s, d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer minus_span_int(Pointer s, int i) { - var _result = _meos_a.minus_span_int(s, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer minus_span_span(Pointer s1, Pointer s2) { - var _result = _meos_a.minus_span_span(s1, s2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer minus_span_spanset(Pointer s, Pointer ss) { - var _result = _meos_a.minus_span_spanset(s, ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer minus_span_timestamptz(Pointer s, OffsetDateTime t) { - var t_new = t.toEpochSecond(); - var _result = _meos_a.minus_span_timestamptz(s, t_new); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer minus_spanset_bigint(Pointer ss, long i) { - var _result = _meos_a.minus_spanset_bigint(ss, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer minus_spanset_date(Pointer ss, int d) { - var _result = _meos_a.minus_spanset_date(ss, d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer minus_spanset_float(Pointer ss, double d) { - var _result = _meos_a.minus_spanset_float(ss, d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer minus_spanset_int(Pointer ss, int i) { - var _result = _meos_a.minus_spanset_int(ss, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer minus_spanset_span(Pointer ss, Pointer s) { - var _result = _meos_a.minus_spanset_span(ss, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer minus_spanset_spanset(Pointer ss1, Pointer ss2) { - var _result = _meos_a.minus_spanset_spanset(ss1, ss2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer minus_spanset_timestamptz(Pointer ss, OffsetDateTime t) { - var t_new = t.toEpochSecond(); - var _result = _meos_a.minus_spanset_timestamptz(ss, t_new); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer minus_text_set(Pointer txt, Pointer s) { - var _result = _meos_a.minus_text_set(txt, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer minus_timestamptz_set(OffsetDateTime t, Pointer s) { - var t_new = t.toEpochSecond(); - var _result = _meos_a.minus_timestamptz_set(t_new, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer minus_timestamptz_span(OffsetDateTime t, Pointer s) { - var t_new = t.toEpochSecond(); - var _result = _meos_a.minus_timestamptz_span(t_new, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer minus_timestamptz_spanset(OffsetDateTime t, Pointer ss) { - var t_new = t.toEpochSecond(); - var _result = _meos_a.minus_timestamptz_spanset(t_new, ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer union_bigint_set(long i, Pointer s) { - var _result = _meos_a.union_bigint_set(i, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer union_bigint_span(Pointer s, long i) { - var _result = _meos_a.union_bigint_span(s, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer union_bigint_spanset(long i, Pointer ss) { - var _result = _meos_a.union_bigint_spanset(i, ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer union_date_set(int d, Pointer s) { - var _result = _meos_a.union_date_set(d, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer union_date_span(Pointer s, int d) { - var _result = _meos_a.union_date_span(s, d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer union_date_spanset(int d, Pointer ss) { - var _result = _meos_a.union_date_spanset(d, ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer union_float_set(double d, Pointer s) { - var _result = _meos_a.union_float_set(d, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer union_float_span(Pointer s, double d) { - var _result = _meos_a.union_float_span(s, d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer union_float_spanset(double d, Pointer ss) { - var _result = _meos_a.union_float_spanset(d, ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer union_int_set(int i, Pointer s) { - var _result = _meos_a.union_int_set(i, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer union_int_span(int i, Pointer s) { - var _result = _meos_a.union_int_span(i, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer union_int_spanset(int i, Pointer ss) { - var _result = _meos_a.union_int_spanset(i, ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer union_set_bigint(Pointer s, long i) { - var _result = _meos_a.union_set_bigint(s, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer union_set_date(Pointer s, int d) { - var _result = _meos_a.union_set_date(s, d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer union_set_float(Pointer s, double d) { - var _result = _meos_a.union_set_float(s, d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer union_set_int(Pointer s, int i) { - var _result = _meos_a.union_set_int(s, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer union_set_set(Pointer s1, Pointer s2) { - var _result = _meos_a.union_set_set(s1, s2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer union_set_text(Pointer s, Pointer txt) { - var _result = _meos_a.union_set_text(s, txt); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer union_set_timestamptz(Pointer s, OffsetDateTime t) { - var t_new = t.toEpochSecond(); - var _result = _meos_a.union_set_timestamptz(s, t_new); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer union_span_bigint(Pointer s, long i) { - var _result = _meos_a.union_span_bigint(s, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer union_span_date(Pointer s, int d) { - var _result = _meos_a.union_span_date(s, d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer union_span_float(Pointer s, double d) { - var _result = _meos_a.union_span_float(s, d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer union_span_int(Pointer s, int i) { - var _result = _meos_a.union_span_int(s, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer union_span_span(Pointer s1, Pointer s2) { - var _result = _meos_a.union_span_span(s1, s2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer union_span_spanset(Pointer s, Pointer ss) { - var _result = _meos_a.union_span_spanset(s, ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer union_span_timestamptz(Pointer s, OffsetDateTime t) { - var t_new = t.toEpochSecond(); - var _result = _meos_a.union_span_timestamptz(s, t_new); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer union_spanset_bigint(Pointer ss, long i) { - var _result = _meos_a.union_spanset_bigint(ss, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer union_spanset_date(Pointer ss, int d) { - var _result = _meos_a.union_spanset_date(ss, d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer union_spanset_float(Pointer ss, double d) { - var _result = _meos_a.union_spanset_float(ss, d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer union_spanset_int(Pointer ss, int i) { - var _result = _meos_a.union_spanset_int(ss, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer union_spanset_span(Pointer ss, Pointer s) { - var _result = _meos_a.union_spanset_span(ss, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer union_spanset_spanset(Pointer ss1, Pointer ss2) { - var _result = _meos_a.union_spanset_spanset(ss1, ss2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer union_spanset_timestamptz(Pointer ss, OffsetDateTime t) { - var t_new = t.toEpochSecond(); - var _result = _meos_a.union_spanset_timestamptz(ss, t_new); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer union_text_set(Pointer txt, Pointer s) { - var _result = _meos_a.union_text_set(txt, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer union_timestamptz_set(OffsetDateTime t, Pointer s) { - var t_new = t.toEpochSecond(); - var _result = _meos_a.union_timestamptz_set(t_new, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer union_timestamptz_span(OffsetDateTime t, Pointer s) { - var t_new = t.toEpochSecond(); - var _result = _meos_a.union_timestamptz_span(t_new, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer union_timestamptz_spanset(OffsetDateTime t, Pointer ss) { - var t_new = t.toEpochSecond(); - var _result = _meos_a.union_timestamptz_spanset(t_new, ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static long distance_bigintset_bigintset(Pointer s1, Pointer s2) { - var _result = _meos_a.distance_bigintset_bigintset(s1, s2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static long distance_bigintspan_bigintspan(Pointer s1, Pointer s2) { - var _result = _meos_a.distance_bigintspan_bigintspan(s1, s2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static long distance_bigintspanset_bigintspan(Pointer ss, Pointer s) { - var _result = _meos_a.distance_bigintspanset_bigintspan(ss, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static long distance_bigintspanset_bigintspanset(Pointer ss1, Pointer ss2) { - var _result = _meos_a.distance_bigintspanset_bigintspanset(ss1, ss2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int distance_dateset_dateset(Pointer s1, Pointer s2) { - var _result = _meos_a.distance_dateset_dateset(s1, s2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int distance_datespan_datespan(Pointer s1, Pointer s2) { - var _result = _meos_a.distance_datespan_datespan(s1, s2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int distance_datespanset_datespan(Pointer ss, Pointer s) { - var _result = _meos_a.distance_datespanset_datespan(ss, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int distance_datespanset_datespanset(Pointer ss1, Pointer ss2) { - var _result = _meos_a.distance_datespanset_datespanset(ss1, ss2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double distance_floatset_floatset(Pointer s1, Pointer s2) { - var _result = _meos_a.distance_floatset_floatset(s1, s2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double distance_floatspan_floatspan(Pointer s1, Pointer s2) { - var _result = _meos_a.distance_floatspan_floatspan(s1, s2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double distance_floatspanset_floatspan(Pointer ss, Pointer s) { - var _result = _meos_a.distance_floatspanset_floatspan(ss, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double distance_floatspanset_floatspanset(Pointer ss1, Pointer ss2) { - var _result = _meos_a.distance_floatspanset_floatspanset(ss1, ss2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int distance_intset_intset(Pointer s1, Pointer s2) { - var _result = _meos_a.distance_intset_intset(s1, s2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int distance_intspan_intspan(Pointer s1, Pointer s2) { - var _result = _meos_a.distance_intspan_intspan(s1, s2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int distance_intspanset_intspan(Pointer ss, Pointer s) { - var _result = _meos_a.distance_intspanset_intspan(ss, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int distance_intspanset_intspanset(Pointer ss1, Pointer ss2) { - var _result = _meos_a.distance_intspanset_intspanset(ss1, ss2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static long distance_set_bigint(Pointer s, long i) { - var _result = _meos_a.distance_set_bigint(s, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int distance_set_date(Pointer s, int d) { - var _result = _meos_a.distance_set_date(s, d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double distance_set_float(Pointer s, double d) { - var _result = _meos_a.distance_set_float(s, d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int distance_set_int(Pointer s, int i) { - var _result = _meos_a.distance_set_int(s, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double distance_set_timestamptz(Pointer s, OffsetDateTime t) { - var t_new = t.toEpochSecond(); - var _result = _meos_a.distance_set_timestamptz(s, t_new); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static long distance_span_bigint(Pointer s, long i) { - var _result = _meos_a.distance_span_bigint(s, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int distance_span_date(Pointer s, int d) { - var _result = _meos_a.distance_span_date(s, d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double distance_span_float(Pointer s, double d) { - var _result = _meos_a.distance_span_float(s, d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int distance_span_int(Pointer s, int i) { - var _result = _meos_a.distance_span_int(s, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double distance_span_timestamptz(Pointer s, OffsetDateTime t) { - var t_new = t.toEpochSecond(); - var _result = _meos_a.distance_span_timestamptz(s, t_new); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static long distance_spanset_bigint(Pointer ss, long i) { - var _result = _meos_a.distance_spanset_bigint(ss, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int distance_spanset_date(Pointer ss, int d) { - var _result = _meos_a.distance_spanset_date(ss, d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double distance_spanset_float(Pointer ss, double d) { - var _result = _meos_a.distance_spanset_float(ss, d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int distance_spanset_int(Pointer ss, int i) { - var _result = _meos_a.distance_spanset_int(ss, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double distance_spanset_timestamptz(Pointer ss, OffsetDateTime t) { - var t_new = t.toEpochSecond(); - var _result = _meos_a.distance_spanset_timestamptz(ss, t_new); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double distance_tstzset_tstzset(Pointer s1, Pointer s2) { - var _result = _meos_a.distance_tstzset_tstzset(s1, s2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double distance_tstzspan_tstzspan(Pointer s1, Pointer s2) { - var _result = _meos_a.distance_tstzspan_tstzspan(s1, s2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double distance_tstzspanset_tstzspan(Pointer ss, Pointer s) { - var _result = _meos_a.distance_tstzspanset_tstzspan(ss, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double distance_tstzspanset_tstzspanset(Pointer ss1, Pointer ss2) { - var _result = _meos_a.distance_tstzspanset_tstzspanset(ss1, ss2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer bigint_extent_transfn(Pointer state, long i) { - var _result = _meos_a.bigint_extent_transfn(state, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer bigint_union_transfn(Pointer state, long i) { - var _result = _meos_a.bigint_union_transfn(state, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer date_extent_transfn(Pointer state, int d) { - var _result = _meos_a.date_extent_transfn(state, d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer date_union_transfn(Pointer state, int d) { - var _result = _meos_a.date_union_transfn(state, d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer float_extent_transfn(Pointer state, double d) { - var _result = _meos_a.float_extent_transfn(state, d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer float_union_transfn(Pointer state, double d) { - var _result = _meos_a.float_union_transfn(state, d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer int_extent_transfn(Pointer state, int i) { - var _result = _meos_a.int_extent_transfn(state, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer int_union_transfn(Pointer state, int i) { - var _result = _meos_a.int_union_transfn(state, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer set_extent_transfn(Pointer state, Pointer s) { - var _result = _meos_a.set_extent_transfn(state, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer set_union_finalfn(Pointer state) { - var _result = _meos_a.set_union_finalfn(state); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer set_union_transfn(Pointer state, Pointer s) { - var _result = _meos_a.set_union_transfn(state, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer span_extent_transfn(Pointer state, Pointer s) { - var _result = _meos_a.span_extent_transfn(state, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer span_union_transfn(Pointer state, Pointer s) { - var _result = _meos_a.span_union_transfn(state, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer spanset_extent_transfn(Pointer state, Pointer ss) { - var _result = _meos_a.spanset_extent_transfn(state, ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer spanset_union_finalfn(Pointer state) { - var _result = _meos_a.spanset_union_finalfn(state); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer spanset_union_transfn(Pointer state, Pointer ss) { - var _result = _meos_a.spanset_union_transfn(state, ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer text_union_transfn(Pointer state, Pointer txt) { - var _result = _meos_a.text_union_transfn(state, txt); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer timestamptz_extent_transfn(Pointer state, OffsetDateTime t) { - var t_new = t.toEpochSecond(); - var _result = _meos_a.timestamptz_extent_transfn(state, t_new); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer timestamptz_union_transfn(Pointer state, OffsetDateTime t) { - var t_new = t.toEpochSecond(); - var _result = _meos_a.timestamptz_union_transfn(state, t_new); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static long bigint_get_bin(long value, long vsize, long vorigin) { - var _result = _meos_a.bigint_get_bin(value, vsize, vorigin); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer bigintspan_bins(Pointer s, long vsize, long vorigin, Pointer count) { - var _result = _meos_a.bigintspan_bins(s, vsize, vorigin, count); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer bigintspanset_bins(Pointer ss, long vsize, long vorigin, Pointer count) { - var _result = _meos_a.bigintspanset_bins(ss, vsize, vorigin, count); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int date_get_bin(int d, Pointer duration, int torigin) { - var _result = _meos_a.date_get_bin(d, duration, torigin); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer datespan_bins(Pointer s, Pointer duration, int torigin, Pointer count) { - var _result = _meos_a.datespan_bins(s, duration, torigin, count); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer datespanset_bins(Pointer ss, Pointer duration, int torigin, Pointer count) { - var _result = _meos_a.datespanset_bins(ss, duration, torigin, count); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double float_get_bin(double value, double vsize, double vorigin) { - var _result = _meos_a.float_get_bin(value, vsize, vorigin); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer floatspan_bins(Pointer s, double vsize, double vorigin, Pointer count) { - var _result = _meos_a.floatspan_bins(s, vsize, vorigin, count); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer floatspanset_bins(Pointer ss, double vsize, double vorigin, Pointer count) { - var _result = _meos_a.floatspanset_bins(ss, vsize, vorigin, count); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int int_get_bin(int value, int vsize, int vorigin) { - var _result = _meos_a.int_get_bin(value, vsize, vorigin); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer intspan_bins(Pointer s, int vsize, int vorigin, Pointer count) { - var _result = _meos_a.intspan_bins(s, vsize, vorigin, count); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer intspanset_bins(Pointer ss, int vsize, int vorigin, Pointer count) { - var _result = _meos_a.intspanset_bins(ss, vsize, vorigin, count); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static OffsetDateTime timestamptz_get_bin(OffsetDateTime t, Pointer duration, OffsetDateTime torigin) { - var t_new = t.toEpochSecond(); - var torigin_new = torigin.toEpochSecond(); - var _result = _meos_a.timestamptz_get_bin(t_new, duration, torigin_new); - MeosErrorHandler.checkError(); - return java.time.Instant.ofEpochSecond(_result).atOffset(java.time.ZoneOffset.UTC); - } - - @SuppressWarnings("unused") - public static Pointer tstzspan_bins(Pointer s, Pointer duration, OffsetDateTime origin, Pointer count) { - var origin_new = origin.toEpochSecond(); - var _result = _meos_a.tstzspan_bins(s, duration, origin_new, count); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tstzspanset_bins(Pointer ss, Pointer duration, OffsetDateTime torigin, Pointer count) { - var torigin_new = torigin.toEpochSecond(); - var _result = _meos_a.tstzspanset_bins(ss, duration, torigin_new, count); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static String tbox_as_hexwkb(Pointer box, byte variant, Pointer size) { - var _result = _meos_a.tbox_as_hexwkb(box, variant, size); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tbox_as_wkb(Pointer box, byte variant) { - Runtime runtime = Runtime.getSystemRuntime(); - Pointer size_out = Memory.allocateDirect(runtime, Long.BYTES); - var _result = _meos_a.tbox_as_wkb(box, variant, size_out); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tbox_from_hexwkb(String hexwkb) { - var _result = _meos_a.tbox_from_hexwkb(hexwkb); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tbox_from_wkb(Pointer wkb, long size) { - var _result = _meos_a.tbox_from_wkb(wkb, size); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tbox_in(String str) { - var _result = _meos_a.tbox_in(str); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static String tbox_out(Pointer box, int maxdd) { - var _result = _meos_a.tbox_out(box, maxdd); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer float_timestamptz_to_tbox(double d, OffsetDateTime t) { - var t_new = t.toEpochSecond(); - var _result = _meos_a.float_timestamptz_to_tbox(d, t_new); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer float_tstzspan_to_tbox(double d, Pointer s) { - var _result = _meos_a.float_tstzspan_to_tbox(d, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer int_timestamptz_to_tbox(int i, OffsetDateTime t) { - var t_new = t.toEpochSecond(); - var _result = _meos_a.int_timestamptz_to_tbox(i, t_new); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer int_tstzspan_to_tbox(int i, Pointer s) { - var _result = _meos_a.int_tstzspan_to_tbox(i, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer numspan_tstzspan_to_tbox(Pointer span, Pointer s) { - var _result = _meos_a.numspan_tstzspan_to_tbox(span, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer numspan_timestamptz_to_tbox(Pointer span, OffsetDateTime t) { - var t_new = t.toEpochSecond(); - var _result = _meos_a.numspan_timestamptz_to_tbox(span, t_new); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tbox_copy(Pointer box) { - var _result = _meos_a.tbox_copy(box); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tbox_make(Pointer s, Pointer p) { - var _result = _meos_a.tbox_make(s, p); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer float_to_tbox(double d) { - var _result = _meos_a.float_to_tbox(d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer int_to_tbox(int i) { - var _result = _meos_a.int_to_tbox(i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer set_to_tbox(Pointer s) { - var _result = _meos_a.set_to_tbox(s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer span_to_tbox(Pointer s) { - var _result = _meos_a.span_to_tbox(s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer spanset_to_tbox(Pointer ss) { - var _result = _meos_a.spanset_to_tbox(ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tbox_to_bigintspan(Pointer box) { - var _result = _meos_a.tbox_to_bigintspan(box); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tbox_to_intspan(Pointer box) { - var _result = _meos_a.tbox_to_intspan(box); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tbox_to_floatspan(Pointer box) { - var _result = _meos_a.tbox_to_floatspan(box); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tbox_to_tstzspan(Pointer box) { - var _result = _meos_a.tbox_to_tstzspan(box); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer timestamptz_to_tbox(OffsetDateTime t) { - var t_new = t.toEpochSecond(); - var _result = _meos_a.timestamptz_to_tbox(t_new); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int tbox_hash(Pointer box) { - var _result = _meos_a.tbox_hash(box); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static long tbox_hash_extended(Pointer box, long seed) { - var _result = _meos_a.tbox_hash_extended(box, seed); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean tbox_hast(Pointer box) { - var _result = _meos_a.tbox_hast(box); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean tbox_hasx(Pointer box) { - var _result = _meos_a.tbox_hasx(box); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tbox_tmax(Pointer box) { - boolean out; - Runtime runtime = Runtime.getSystemRuntime(); - Pointer result = Memory.allocateDirect(runtime, Long.BYTES); - out = _meos_b.tbox_tmax(box, result); - MeosErrorHandler.checkError(); - return out ? result : null; - } - - @SuppressWarnings("unused") - public static Pointer tbox_tmax_inc(Pointer box) { - boolean out; - Runtime runtime = Runtime.getSystemRuntime(); - Pointer result = Memory.allocateDirect(runtime, Byte.BYTES); - out = _meos_b.tbox_tmax_inc(box, result); - MeosErrorHandler.checkError(); - return out ? result : null; - } - - @SuppressWarnings("unused") - public static Pointer tbox_tmin(Pointer box) { - boolean out; - Runtime runtime = Runtime.getSystemRuntime(); - Pointer result = Memory.allocateDirect(runtime, Long.BYTES); - out = _meos_b.tbox_tmin(box, result); - MeosErrorHandler.checkError(); - return out ? result : null; - } - - @SuppressWarnings("unused") - public static Pointer tbox_tmin_inc(Pointer box) { - boolean out; - Runtime runtime = Runtime.getSystemRuntime(); - Pointer result = Memory.allocateDirect(runtime, Byte.BYTES); - out = _meos_b.tbox_tmin_inc(box, result); - MeosErrorHandler.checkError(); - return out ? result : null; - } - - @SuppressWarnings("unused") - public static Pointer tbox_xmax(Pointer box) { - boolean out; - Runtime runtime = Runtime.getSystemRuntime(); - Pointer result = Memory.allocateDirect(runtime, Double.BYTES); - out = _meos_b.tbox_xmax(box, result); - MeosErrorHandler.checkError(); - return out ? result : null; - } - - @SuppressWarnings("unused") - public static Pointer tbox_xmax_inc(Pointer box) { - boolean out; - Runtime runtime = Runtime.getSystemRuntime(); - Pointer result = Memory.allocateDirect(runtime, Byte.BYTES); - out = _meos_b.tbox_xmax_inc(box, result); - MeosErrorHandler.checkError(); - return out ? result : null; - } - - @SuppressWarnings("unused") - public static Pointer tbox_xmin(Pointer box) { - boolean out; - Runtime runtime = Runtime.getSystemRuntime(); - Pointer result = Memory.allocateDirect(runtime, Double.BYTES); - out = _meos_b.tbox_xmin(box, result); - MeosErrorHandler.checkError(); - return out ? result : null; - } - - @SuppressWarnings("unused") - public static Pointer tbox_xmin_inc(Pointer box) { - boolean out; - Runtime runtime = Runtime.getSystemRuntime(); - Pointer result = Memory.allocateDirect(runtime, Byte.BYTES); - out = _meos_b.tbox_xmin_inc(box, result); - MeosErrorHandler.checkError(); - return out ? result : null; - } - - @SuppressWarnings("unused") - public static Pointer tboxfloat_xmax(Pointer box) { - boolean out; - Runtime runtime = Runtime.getSystemRuntime(); - Pointer result = Memory.allocateDirect(runtime, Double.BYTES); - out = _meos_b.tboxfloat_xmax(box, result); - MeosErrorHandler.checkError(); - return out ? result : null; - } - - @SuppressWarnings("unused") - public static Pointer tboxfloat_xmin(Pointer box) { - boolean out; - Runtime runtime = Runtime.getSystemRuntime(); - Pointer result = Memory.allocateDirect(runtime, Double.BYTES); - out = _meos_b.tboxfloat_xmin(box, result); - MeosErrorHandler.checkError(); - return out ? result : null; - } - - @SuppressWarnings("unused") - public static Pointer tboxint_xmax(Pointer box) { - boolean out; - Runtime runtime = Runtime.getSystemRuntime(); - Pointer result = Memory.allocateDirect(runtime, Integer.BYTES); - out = _meos_b.tboxint_xmax(box, result); - MeosErrorHandler.checkError(); - return out ? result : null; - } - - @SuppressWarnings("unused") - public static Pointer tboxint_xmin(Pointer box) { - boolean out; - Runtime runtime = Runtime.getSystemRuntime(); - Pointer result = Memory.allocateDirect(runtime, Integer.BYTES); - out = _meos_b.tboxint_xmin(box, result); - MeosErrorHandler.checkError(); - return out ? result : null; - } - - @SuppressWarnings("unused") - public static Pointer tbigintbox_expand(Pointer box, long i) { - var _result = _meos_b.tbigintbox_expand(box, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tbigintbox_shift_scale(Pointer box, long shift, long width, boolean hasshift, boolean haswidth) { - var _result = _meos_b.tbigintbox_shift_scale(box, shift, width, hasshift, haswidth); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tbox_expand_time(Pointer box, Pointer interv) { - var _result = _meos_b.tbox_expand_time(box, interv); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tbox_round(Pointer box, int maxdd) { - var _result = _meos_b.tbox_round(box, maxdd); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tbox_shift_scale_time(Pointer box, Pointer shift, Pointer duration) { - var _result = _meos_b.tbox_shift_scale_time(box, shift, duration); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tfloatbox_expand(Pointer box, double d) { - var _result = _meos_b.tfloatbox_expand(box, d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tfloatbox_shift_scale(Pointer box, double shift, double width, boolean hasshift, boolean haswidth) { - var _result = _meos_b.tfloatbox_shift_scale(box, shift, width, hasshift, haswidth); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tintbox_expand(Pointer box, int i) { - var _result = _meos_b.tintbox_expand(box, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tintbox_shift_scale(Pointer box, int shift, int width, boolean hasshift, boolean haswidth) { - var _result = _meos_b.tintbox_shift_scale(box, shift, width, hasshift, haswidth); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer union_tbox_tbox(Pointer box1, Pointer box2, boolean strict) { - var _result = _meos_b.union_tbox_tbox(box1, box2, strict); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer intersection_tbox_tbox(Pointer box1, Pointer box2) { - var _result = _meos_b.intersection_tbox_tbox(box1, box2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean adjacent_tbox_tbox(Pointer box1, Pointer box2) { - var _result = _meos_b.adjacent_tbox_tbox(box1, box2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean contained_tbox_tbox(Pointer box1, Pointer box2) { - var _result = _meos_b.contained_tbox_tbox(box1, box2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean contains_tbox_tbox(Pointer box1, Pointer box2) { - var _result = _meos_b.contains_tbox_tbox(box1, box2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overlaps_tbox_tbox(Pointer box1, Pointer box2) { - var _result = _meos_b.overlaps_tbox_tbox(box1, box2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean same_tbox_tbox(Pointer box1, Pointer box2) { - var _result = _meos_b.same_tbox_tbox(box1, box2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean after_tbox_tbox(Pointer box1, Pointer box2) { - var _result = _meos_b.after_tbox_tbox(box1, box2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean before_tbox_tbox(Pointer box1, Pointer box2) { - var _result = _meos_b.before_tbox_tbox(box1, box2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean left_tbox_tbox(Pointer box1, Pointer box2) { - var _result = _meos_b.left_tbox_tbox(box1, box2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overafter_tbox_tbox(Pointer box1, Pointer box2) { - var _result = _meos_b.overafter_tbox_tbox(box1, box2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overbefore_tbox_tbox(Pointer box1, Pointer box2) { - var _result = _meos_b.overbefore_tbox_tbox(box1, box2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overleft_tbox_tbox(Pointer box1, Pointer box2) { - var _result = _meos_b.overleft_tbox_tbox(box1, box2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overright_tbox_tbox(Pointer box1, Pointer box2) { - var _result = _meos_b.overright_tbox_tbox(box1, box2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean right_tbox_tbox(Pointer box1, Pointer box2) { - var _result = _meos_b.right_tbox_tbox(box1, box2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int tbox_cmp(Pointer box1, Pointer box2) { - var _result = _meos_b.tbox_cmp(box1, box2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean tbox_eq(Pointer box1, Pointer box2) { - var _result = _meos_b.tbox_eq(box1, box2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean tbox_ge(Pointer box1, Pointer box2) { - var _result = _meos_b.tbox_ge(box1, box2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean tbox_gt(Pointer box1, Pointer box2) { - var _result = _meos_b.tbox_gt(box1, box2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean tbox_le(Pointer box1, Pointer box2) { - var _result = _meos_b.tbox_le(box1, box2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean tbox_lt(Pointer box1, Pointer box2) { - var _result = _meos_b.tbox_lt(box1, box2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean tbox_ne(Pointer box1, Pointer box2) { - var _result = _meos_b.tbox_ne(box1, box2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tbigint_from_mfjson(String str) { - var _result = _meos_b.tbigint_from_mfjson(str); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tbigint_in(String str) { - var _result = _meos_b.tbigint_in(str); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static String tbigint_out(Pointer temp) { - var _result = _meos_b.tbigint_out(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tbool_from_mfjson(String str) { - var _result = _meos_b.tbool_from_mfjson(str); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tbool_in(String str) { - var _result = _meos_b.tbool_in(str); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static String tbool_out(Pointer temp) { - var _result = _meos_b.tbool_out(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static String temporal_as_hexwkb(Pointer temp, byte variant) { - Runtime runtime = Runtime.getSystemRuntime(); - Pointer size_out = Memory.allocateDirect(runtime, Long.BYTES); - var _result = _meos_b.temporal_as_hexwkb(temp, variant, size_out); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static String temporal_as_mfjson(Pointer temp, boolean with_bbox, int flags, int precision, String srs) { - var _result = _meos_b.temporal_as_mfjson(temp, with_bbox, flags, precision, srs); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer temporal_as_wkb(Pointer temp, byte variant) { - Runtime runtime = Runtime.getSystemRuntime(); - Pointer size_out = Memory.allocateDirect(runtime, Long.BYTES); - var _result = _meos_b.temporal_as_wkb(temp, variant, size_out); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer temporal_from_hexwkb(String hexwkb) { - var _result = _meos_b.temporal_from_hexwkb(hexwkb); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer temporal_from_wkb(Pointer wkb, long size) { - var _result = _meos_b.temporal_from_wkb(wkb, size); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tfloat_from_mfjson(String str) { - var _result = _meos_b.tfloat_from_mfjson(str); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tfloat_in(String str) { - var _result = _meos_b.tfloat_in(str); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static String tfloat_out(Pointer temp, int maxdd) { - var _result = _meos_b.tfloat_out(temp, maxdd); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tint_from_mfjson(String str) { - var _result = _meos_b.tint_from_mfjson(str); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tint_in(String str) { - var _result = _meos_b.tint_in(str); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static String tint_out(Pointer temp) { - var _result = _meos_b.tint_out(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer ttext_from_mfjson(String str) { - var _result = _meos_b.ttext_from_mfjson(str); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer ttext_in(String str) { - var _result = _meos_b.ttext_in(str); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static String ttext_out(Pointer temp) { - var _result = _meos_b.ttext_out(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tbigint_from_base_temp(long i, Pointer temp) { - var _result = _meos_b.tbigint_from_base_temp(i, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tbigintinst_make(long i, OffsetDateTime t) { - var t_new = t.toEpochSecond(); - var _result = _meos_b.tbigintinst_make(i, t_new); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tbigintseq_from_base_tstzset(long i, Pointer s) { - var _result = _meos_b.tbigintseq_from_base_tstzset(i, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tbigintseq_from_base_tstzspan(long i, Pointer s) { - var _result = _meos_b.tbigintseq_from_base_tstzspan(i, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tbigintseqset_from_base_tstzspanset(long i, Pointer ss) { - var _result = _meos_b.tbigintseqset_from_base_tstzspanset(i, ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tbool_from_base_temp(boolean b, Pointer temp) { - var _result = _meos_b.tbool_from_base_temp(b, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tboolinst_make(boolean b, OffsetDateTime t) { - var t_new = t.toEpochSecond(); - var _result = _meos_b.tboolinst_make(b, t_new); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tboolseq_from_base_tstzset(boolean b, Pointer s) { - var _result = _meos_b.tboolseq_from_base_tstzset(b, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tboolseq_from_base_tstzspan(boolean b, Pointer s) { - var _result = _meos_b.tboolseq_from_base_tstzspan(b, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tboolseqset_from_base_tstzspanset(boolean b, Pointer ss) { - var _result = _meos_b.tboolseqset_from_base_tstzspanset(b, ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer temporal_copy(Pointer temp) { - var _result = _meos_b.temporal_copy(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tfloat_from_base_temp(double d, Pointer temp) { - var _result = _meos_b.tfloat_from_base_temp(d, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tfloatinst_make(double d, OffsetDateTime t) { - var t_new = t.toEpochSecond(); - var _result = _meos_b.tfloatinst_make(d, t_new); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tfloatseq_from_base_tstzset(double d, Pointer s) { - var _result = _meos_b.tfloatseq_from_base_tstzset(d, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tfloatseq_from_base_tstzspan(double d, Pointer s, int interp) { - var _result = _meos_b.tfloatseq_from_base_tstzspan(d, s, interp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tfloatseqset_from_base_tstzspanset(double d, Pointer ss, int interp) { - var _result = _meos_b.tfloatseqset_from_base_tstzspanset(d, ss, interp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tint_from_base_temp(int i, Pointer temp) { - var _result = _meos_b.tint_from_base_temp(i, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tintinst_make(int i, OffsetDateTime t) { - var t_new = t.toEpochSecond(); - var _result = _meos_b.tintinst_make(i, t_new); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tintseq_from_base_tstzset(int i, Pointer s) { - var _result = _meos_b.tintseq_from_base_tstzset(i, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tintseq_from_base_tstzspan(int i, Pointer s) { - var _result = _meos_b.tintseq_from_base_tstzspan(i, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tintseqset_from_base_tstzspanset(int i, Pointer ss) { - var _result = _meos_b.tintseqset_from_base_tstzspanset(i, ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tsequence_make(Pointer instants, int count, boolean lower_inc, boolean upper_inc, int interp, boolean normalize) { - var _result = _meos_b.tsequence_make(instants, count, lower_inc, upper_inc, interp, normalize); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tsequenceset_make(Pointer sequences, int count, boolean normalize) { - var _result = _meos_b.tsequenceset_make(sequences, count, normalize); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tsequenceset_make_gaps(Pointer instants, int count, int interp, Pointer maxt, double maxdist) { - var _result = _meos_b.tsequenceset_make_gaps(instants, count, interp, maxt, maxdist); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer ttext_from_base_temp(Pointer txt, Pointer temp) { - var _result = _meos_b.ttext_from_base_temp(txt, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer ttextinst_make(Pointer txt, OffsetDateTime t) { - var t_new = t.toEpochSecond(); - var _result = _meos_b.ttextinst_make(txt, t_new); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer ttextseq_from_base_tstzset(Pointer txt, Pointer s) { - var _result = _meos_b.ttextseq_from_base_tstzset(txt, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer ttextseq_from_base_tstzspan(Pointer txt, Pointer s) { - var _result = _meos_b.ttextseq_from_base_tstzspan(txt, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer ttextseqset_from_base_tstzspanset(Pointer txt, Pointer ss) { - var _result = _meos_b.ttextseqset_from_base_tstzspanset(txt, ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tbigint_to_tfloat(Pointer temp) { - var _result = _meos_b.tbigint_to_tfloat(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tbigint_to_tint(Pointer temp) { - var _result = _meos_b.tbigint_to_tint(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tbool_to_tint(Pointer temp) { - var _result = _meos_b.tbool_to_tint(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer temporal_to_tstzspan(Pointer temp) { - var _result = _meos_b.temporal_to_tstzspan(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tfloat_to_tbigint(Pointer temp) { - var _result = _meos_b.tfloat_to_tbigint(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tfloat_to_tint(Pointer temp) { - var _result = _meos_b.tfloat_to_tint(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tint_to_tbigint(Pointer temp) { - var _result = _meos_b.tint_to_tbigint(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tint_to_tfloat(Pointer temp) { - var _result = _meos_b.tint_to_tfloat(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tnumber_to_span(Pointer temp) { - var _result = _meos_b.tnumber_to_span(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tnumber_to_tbox(Pointer temp) { - var _result = _meos_b.tnumber_to_tbox(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static long tbigint_end_value(Pointer temp) { - var _result = _meos_b.tbigint_end_value(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static long tbigint_max_value(Pointer temp) { - var _result = _meos_b.tbigint_max_value(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static long tbigint_min_value(Pointer temp) { - var _result = _meos_b.tbigint_min_value(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static long tbigint_start_value(Pointer temp) { - var _result = _meos_b.tbigint_start_value(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean tbigint_value_at_timestamptz(Pointer temp, OffsetDateTime t, boolean strict, Pointer value) { - var t_new = t.toEpochSecond(); - var _result = _meos_b.tbigint_value_at_timestamptz(temp, t_new, strict, value); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tbigint_value_n(Pointer temp, long n) { - boolean out; - Runtime runtime = Runtime.getSystemRuntime(); - Pointer result = Memory.allocateDirect(runtime, Long.BYTES); - out = _meos_b.tbigint_value_n(temp, n, result); - MeosErrorHandler.checkError(); - return out ? result : null; - } - - @SuppressWarnings("unused") - public static Pointer tbigint_values(Pointer temp, Pointer count) { - var _result = _meos_b.tbigint_values(temp, count); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean tbool_end_value(Pointer temp) { - var _result = _meos_b.tbool_end_value(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean tbool_start_value(Pointer temp) { - var _result = _meos_b.tbool_start_value(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean tbool_value_at_timestamptz(Pointer temp, OffsetDateTime t, boolean strict, Pointer value) { - var t_new = t.toEpochSecond(); - var _result = _meos_b.tbool_value_at_timestamptz(temp, t_new, strict, value); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tbool_value_n(Pointer temp, int n) { - boolean out; - Runtime runtime = Runtime.getSystemRuntime(); - Pointer result = Memory.allocateDirect(runtime, Byte.BYTES); - out = _meos_b.tbool_value_n(temp, n, result); - MeosErrorHandler.checkError(); - return out ? result : null; - } - - @SuppressWarnings("unused") - public static Pointer tbool_values(Pointer temp, Pointer count) { - var _result = _meos_b.tbool_values(temp, count); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer temporal_duration(Pointer temp, boolean boundspan) { - var _result = _meos_b.temporal_duration(temp, boundspan); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer temporal_end_instant(Pointer temp) { - var _result = _meos_b.temporal_end_instant(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer temporal_end_sequence(Pointer temp) { - var _result = _meos_b.temporal_end_sequence(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static OffsetDateTime temporal_end_timestamptz(Pointer temp) { - var _result = _meos_b.temporal_end_timestamptz(temp); - MeosErrorHandler.checkError(); - return java.time.Instant.ofEpochSecond(_result).atOffset(java.time.ZoneOffset.UTC); - } - - @SuppressWarnings("unused") - public static int temporal_hash(Pointer temp) { - var _result = _meos_b.temporal_hash(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer temporal_instant_n(Pointer temp, int n) { - var _result = _meos_b.temporal_instant_n(temp, n); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer temporal_instants(Pointer temp, Pointer count) { - var _result = _meos_b.temporal_instants(temp, count); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static String temporal_interp(Pointer temp) { - var _result = _meos_b.temporal_interp(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean temporal_lower_inc(Pointer temp) { - var _result = _meos_b.temporal_lower_inc(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer temporal_max_instant(Pointer temp) { - var _result = _meos_b.temporal_max_instant(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer temporal_min_instant(Pointer temp) { - var _result = _meos_b.temporal_min_instant(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int temporal_num_instants(Pointer temp) { - var _result = _meos_b.temporal_num_instants(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int temporal_num_sequences(Pointer temp) { - var _result = _meos_b.temporal_num_sequences(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int temporal_num_timestamps(Pointer temp) { - var _result = _meos_b.temporal_num_timestamps(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer temporal_segm_duration(Pointer temp, Pointer duration, boolean atleast, boolean strict) { - var _result = _meos_b.temporal_segm_duration(temp, duration, atleast, strict); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer temporal_segments(Pointer temp, Pointer count) { - var _result = _meos_b.temporal_segments(temp, count); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer temporal_sequence_n(Pointer temp, int i) { - var _result = _meos_b.temporal_sequence_n(temp, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer temporal_sequences(Pointer temp, Pointer count) { - var _result = _meos_b.temporal_sequences(temp, count); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer temporal_start_instant(Pointer temp) { - var _result = _meos_b.temporal_start_instant(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer temporal_start_sequence(Pointer temp) { - var _result = _meos_b.temporal_start_sequence(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static OffsetDateTime temporal_start_timestamptz(Pointer temp) { - var _result = _meos_b.temporal_start_timestamptz(temp); - MeosErrorHandler.checkError(); - return java.time.Instant.ofEpochSecond(_result).atOffset(java.time.ZoneOffset.UTC); - } - - @SuppressWarnings("unused") - public static Pointer temporal_stops(Pointer temp, double maxdist, Pointer minduration) { - var _result = _meos_b.temporal_stops(temp, maxdist, minduration); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static String temporal_subtype(Pointer temp) { - var _result = _meos_b.temporal_subtype(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer temporal_time(Pointer temp) { - var _result = _meos_b.temporal_time(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer temporal_timestamps(Pointer temp, Pointer count) { - var _result = _meos_b.temporal_timestamps(temp, count); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer temporal_timestamptz_n(Pointer temp, int n) { - boolean out; - Runtime runtime = Runtime.getSystemRuntime(); - Pointer result = Memory.allocateDirect(runtime, Long.BYTES); - out = _meos_b.temporal_timestamptz_n(temp, n, result); - MeosErrorHandler.checkError(); - return out ? result : null; - } - - @SuppressWarnings("unused") - public static boolean temporal_upper_inc(Pointer temp) { - var _result = _meos_b.temporal_upper_inc(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double tfloat_avg_value(Pointer temp) { - var _result = _meos_b.tfloat_avg_value(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double tfloat_end_value(Pointer temp) { - var _result = _meos_b.tfloat_end_value(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double tfloat_min_value(Pointer temp) { - var _result = _meos_b.tfloat_min_value(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double tfloat_max_value(Pointer temp) { - var _result = _meos_b.tfloat_max_value(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double tfloat_start_value(Pointer temp) { - var _result = _meos_b.tfloat_start_value(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean tfloat_value_at_timestamptz(Pointer temp, OffsetDateTime t, boolean strict, Pointer value) { - var t_new = t.toEpochSecond(); - var _result = _meos_b.tfloat_value_at_timestamptz(temp, t_new, strict, value); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tfloat_value_n(Pointer temp, int n) { - boolean out; - Runtime runtime = Runtime.getSystemRuntime(); - Pointer result = Memory.allocateDirect(runtime, Double.BYTES); - out = _meos_b.tfloat_value_n(temp, n, result); - MeosErrorHandler.checkError(); - return out ? result : null; - } - - @SuppressWarnings("unused") - public static Pointer tfloat_values(Pointer temp, Pointer count) { - var _result = _meos_b.tfloat_values(temp, count); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int tint_end_value(Pointer temp) { - var _result = _meos_b.tint_end_value(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int tint_max_value(Pointer temp) { - var _result = _meos_b.tint_max_value(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int tint_min_value(Pointer temp) { - var _result = _meos_b.tint_min_value(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int tint_start_value(Pointer temp) { - var _result = _meos_b.tint_start_value(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean tint_value_at_timestamptz(Pointer temp, OffsetDateTime t, boolean strict, Pointer value) { - var t_new = t.toEpochSecond(); - var _result = _meos_b.tint_value_at_timestamptz(temp, t_new, strict, value); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tint_value_n(Pointer temp, int n) { - boolean out; - Runtime runtime = Runtime.getSystemRuntime(); - Pointer result = Memory.allocateDirect(runtime, Integer.BYTES); - out = _meos_b.tint_value_n(temp, n, result); - MeosErrorHandler.checkError(); - return out ? result : null; - } - - @SuppressWarnings("unused") - public static Pointer tint_values(Pointer temp, Pointer count) { - var _result = _meos_b.tint_values(temp, count); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double tnumber_avg_value(Pointer temp) { - var _result = _meos_b.tnumber_avg_value(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double tnumber_integral(Pointer temp) { - var _result = _meos_b.tnumber_integral(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double tnumber_twavg(Pointer temp) { - var _result = _meos_b.tnumber_twavg(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tnumber_valuespans(Pointer temp) { - var _result = _meos_b.tnumber_valuespans(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer ttext_end_value(Pointer temp) { - var _result = _meos_b.ttext_end_value(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer ttext_max_value(Pointer temp) { - var _result = _meos_b.ttext_max_value(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer ttext_min_value(Pointer temp) { - var _result = _meos_b.ttext_min_value(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer ttext_start_value(Pointer temp) { - var _result = _meos_b.ttext_start_value(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean ttext_value_at_timestamptz(Pointer temp, OffsetDateTime t, boolean strict, Pointer value) { - var t_new = t.toEpochSecond(); - var _result = _meos_b.ttext_value_at_timestamptz(temp, t_new, strict, value); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer ttext_value_n(Pointer temp, int n) { - boolean out; - Runtime runtime = Runtime.getSystemRuntime(); - Pointer result = Memory.allocateDirect(runtime, Long.BYTES); - out = _meos_b.ttext_value_n(temp, n, result); - Pointer new_result = result.getPointer(0); - MeosErrorHandler.checkError(); - return out ? new_result : null; - } - - @SuppressWarnings("unused") - public static Pointer ttext_values(Pointer temp, Pointer count) { - var _result = _meos_b.ttext_values(temp, count); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double float_degrees(double value, boolean normalize) { - var _result = _meos_b.float_degrees(value, normalize); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tbigint_scale_value(Pointer temp, long width) { - var _result = _meos_b.tbigint_scale_value(temp, width); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tbigint_shift_scale_value(Pointer temp, long shift, long width) { - var _result = _meos_b.tbigint_shift_scale_value(temp, shift, width); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tbigint_shift_value(Pointer temp, long shift) { - var _result = _meos_b.tbigint_shift_value(temp, shift); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer temparr_round(Pointer temp, int count, int maxdd) { - var _result = _meos_b.temparr_round(temp, count, maxdd); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer temporal_round(Pointer temp, int maxdd) { - var _result = _meos_b.temporal_round(temp, maxdd); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer temporal_scale_time(Pointer temp, Pointer duration) { - var _result = _meos_b.temporal_scale_time(temp, duration); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer temporal_set_interp(Pointer temp, int interp) { - var _result = _meos_b.temporal_set_interp(temp, interp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer temporal_shift_scale_time(Pointer temp, Pointer shift, Pointer duration) { - var _result = _meos_b.temporal_shift_scale_time(temp, shift, duration); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer temporal_shift_time(Pointer temp, Pointer shift) { - var _result = _meos_b.temporal_shift_time(temp, shift); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer temporal_to_tinstant(Pointer temp) { - var _result = _meos_b.temporal_to_tinstant(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer temporal_to_tsequence(Pointer temp, int interp) { - var _result = _meos_b.temporal_to_tsequence(temp, interp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer temporal_to_tsequenceset(Pointer temp, int interp) { - var _result = _meos_b.temporal_to_tsequenceset(temp, interp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tfloat_ceil(Pointer temp) { - var _result = _meos_b.tfloat_ceil(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tfloat_degrees(Pointer temp, boolean normalize) { - var _result = _meos_b.tfloat_degrees(temp, normalize); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tfloat_floor(Pointer temp) { - var _result = _meos_b.tfloat_floor(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tfloat_radians(Pointer temp) { - var _result = _meos_b.tfloat_radians(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tfloat_scale_value(Pointer temp, double width) { - var _result = _meos_b.tfloat_scale_value(temp, width); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tfloat_shift_scale_value(Pointer temp, double shift, double width) { - var _result = _meos_b.tfloat_shift_scale_value(temp, shift, width); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tfloat_shift_value(Pointer temp, double shift) { - var _result = _meos_b.tfloat_shift_value(temp, shift); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tint_scale_value(Pointer temp, int width) { - var _result = _meos_b.tint_scale_value(temp, width); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tint_shift_scale_value(Pointer temp, int shift, int width) { - var _result = _meos_b.tint_shift_scale_value(temp, shift, width); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tint_shift_value(Pointer temp, int shift) { - var _result = _meos_b.tint_shift_value(temp, shift); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer temporal_append_tinstant(Pointer temp, Pointer inst, int interp, double maxdist, Pointer maxt, boolean expand) { - var _result = _meos_b.temporal_append_tinstant(temp, inst, interp, maxdist, maxt, expand); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer temporal_append_tsequence(Pointer temp, Pointer seq, boolean expand) { - var _result = _meos_b.temporal_append_tsequence(temp, seq, expand); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer temporal_delete_timestamptz(Pointer temp, OffsetDateTime t, boolean connect) { - var t_new = t.toEpochSecond(); - var _result = _meos_b.temporal_delete_timestamptz(temp, t_new, connect); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer temporal_delete_tstzset(Pointer temp, Pointer s, boolean connect) { - var _result = _meos_b.temporal_delete_tstzset(temp, s, connect); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer temporal_delete_tstzspan(Pointer temp, Pointer s, boolean connect) { - var _result = _meos_b.temporal_delete_tstzspan(temp, s, connect); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer temporal_delete_tstzspanset(Pointer temp, Pointer ss, boolean connect) { - var _result = _meos_b.temporal_delete_tstzspanset(temp, ss, connect); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer temporal_insert(Pointer temp1, Pointer temp2, boolean connect) { - var _result = _meos_b.temporal_insert(temp1, temp2, connect); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer temporal_merge(Pointer temp1, Pointer temp2) { - var _result = _meos_b.temporal_merge(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer temporal_merge_array(Pointer temparr, int count) { - var _result = _meos_b.temporal_merge_array(temparr, count); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer temporal_update(Pointer temp1, Pointer temp2, boolean connect) { - var _result = _meos_b.temporal_update(temp1, temp2, connect); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tbigint_at_value(Pointer temp, long i) { - var _result = _meos_b.tbigint_at_value(temp, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tbigint_minus_value(Pointer temp, long i) { - var _result = _meos_b.tbigint_minus_value(temp, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tbool_at_value(Pointer temp, boolean b) { - var _result = _meos_b.tbool_at_value(temp, b); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tbool_minus_value(Pointer temp, boolean b) { - var _result = _meos_b.tbool_minus_value(temp, b); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer temporal_after_timestamptz(Pointer temp, OffsetDateTime t, boolean strict) { - var t_new = t.toEpochSecond(); - var _result = _meos_b.temporal_after_timestamptz(temp, t_new, strict); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer temporal_at_max(Pointer temp) { - var _result = _meos_b.temporal_at_max(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer temporal_at_min(Pointer temp) { - var _result = _meos_b.temporal_at_min(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer temporal_at_timestamptz(Pointer temp, OffsetDateTime t) { - var t_new = t.toEpochSecond(); - var _result = _meos_b.temporal_at_timestamptz(temp, t_new); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer temporal_at_tstzset(Pointer temp, Pointer s) { - var _result = _meos_b.temporal_at_tstzset(temp, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer temporal_at_tstzspan(Pointer temp, Pointer s) { - var _result = _meos_b.temporal_at_tstzspan(temp, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer temporal_at_tstzspanset(Pointer temp, Pointer ss) { - var _result = _meos_b.temporal_at_tstzspanset(temp, ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer temporal_at_values(Pointer temp, Pointer set) { - var _result = _meos_b.temporal_at_values(temp, set); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer temporal_before_timestamptz(Pointer temp, OffsetDateTime t, boolean strict) { - var t_new = t.toEpochSecond(); - var _result = _meos_b.temporal_before_timestamptz(temp, t_new, strict); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer temporal_minus_max(Pointer temp) { - var _result = _meos_b.temporal_minus_max(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer temporal_minus_min(Pointer temp) { - var _result = _meos_b.temporal_minus_min(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer temporal_minus_timestamptz(Pointer temp, OffsetDateTime t) { - var t_new = t.toEpochSecond(); - var _result = _meos_b.temporal_minus_timestamptz(temp, t_new); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer temporal_minus_tstzset(Pointer temp, Pointer s) { - var _result = _meos_b.temporal_minus_tstzset(temp, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer temporal_minus_tstzspan(Pointer temp, Pointer s) { - var _result = _meos_b.temporal_minus_tstzspan(temp, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer temporal_minus_tstzspanset(Pointer temp, Pointer ss) { - var _result = _meos_b.temporal_minus_tstzspanset(temp, ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer temporal_minus_values(Pointer temp, Pointer set) { - var _result = _meos_b.temporal_minus_values(temp, set); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tfloat_at_value(Pointer temp, double d) { - var _result = _meos_b.tfloat_at_value(temp, d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tfloat_minus_value(Pointer temp, double d) { - var _result = _meos_b.tfloat_minus_value(temp, d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tint_at_value(Pointer temp, int i) { - var _result = _meos_b.tint_at_value(temp, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tint_minus_value(Pointer temp, int i) { - var _result = _meos_b.tint_minus_value(temp, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tnumber_at_span(Pointer temp, Pointer span) { - var _result = _meos_b.tnumber_at_span(temp, span); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tnumber_at_spanset(Pointer temp, Pointer ss) { - var _result = _meos_b.tnumber_at_spanset(temp, ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tnumber_at_tbox(Pointer temp, Pointer box) { - var _result = _meos_b.tnumber_at_tbox(temp, box); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tnumber_minus_span(Pointer temp, Pointer span) { - var _result = _meos_b.tnumber_minus_span(temp, span); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tnumber_minus_spanset(Pointer temp, Pointer ss) { - var _result = _meos_b.tnumber_minus_spanset(temp, ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tnumber_minus_tbox(Pointer temp, Pointer box) { - var _result = _meos_b.tnumber_minus_tbox(temp, box); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer ttext_at_value(Pointer temp, Pointer txt) { - var _result = _meos_b.ttext_at_value(temp, txt); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer ttext_minus_value(Pointer temp, Pointer txt) { - var _result = _meos_b.ttext_minus_value(temp, txt); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int temporal_cmp(Pointer temp1, Pointer temp2) { - var _result = _meos_b.temporal_cmp(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean temporal_eq(Pointer temp1, Pointer temp2) { - var _result = _meos_b.temporal_eq(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean temporal_ge(Pointer temp1, Pointer temp2) { - var _result = _meos_b.temporal_ge(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean temporal_gt(Pointer temp1, Pointer temp2) { - var _result = _meos_b.temporal_gt(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean temporal_le(Pointer temp1, Pointer temp2) { - var _result = _meos_b.temporal_le(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean temporal_lt(Pointer temp1, Pointer temp2) { - var _result = _meos_b.temporal_lt(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean temporal_ne(Pointer temp1, Pointer temp2) { - var _result = _meos_b.temporal_ne(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int always_eq_bigint_tbigint(long i, Pointer temp) { - var _result = _meos_b.always_eq_bigint_tbigint(i, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int always_eq_bool_tbool(boolean b, Pointer temp) { - var _result = _meos_b.always_eq_bool_tbool(b, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int always_eq_float_tfloat(double d, Pointer temp) { - var _result = _meos_b.always_eq_float_tfloat(d, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int always_eq_int_tint(int i, Pointer temp) { - var _result = _meos_b.always_eq_int_tint(i, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int always_eq_tbool_bool(Pointer temp, boolean b) { - var _result = _meos_b.always_eq_tbool_bool(temp, b); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int always_eq_temporal_temporal(Pointer temp1, Pointer temp2) { - var _result = _meos_b.always_eq_temporal_temporal(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int always_eq_text_ttext(Pointer txt, Pointer temp) { - var _result = _meos_b.always_eq_text_ttext(txt, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int always_eq_tbigint_bigint(Pointer temp, long i) { - var _result = _meos_b.always_eq_tbigint_bigint(temp, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int always_eq_tfloat_float(Pointer temp, double d) { - var _result = _meos_b.always_eq_tfloat_float(temp, d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int always_eq_tint_int(Pointer temp, int i) { - var _result = _meos_b.always_eq_tint_int(temp, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int always_eq_ttext_text(Pointer temp, Pointer txt) { - var _result = _meos_b.always_eq_ttext_text(temp, txt); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int always_ge_bigint_tbigint(long i, Pointer temp) { - var _result = _meos_b.always_ge_bigint_tbigint(i, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int always_ge_float_tfloat(double d, Pointer temp) { - var _result = _meos_b.always_ge_float_tfloat(d, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int always_ge_int_tint(int i, Pointer temp) { - var _result = _meos_b.always_ge_int_tint(i, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int always_ge_tbigint_bigint(Pointer temp, long i) { - var _result = _meos_b.always_ge_tbigint_bigint(temp, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int always_ge_temporal_temporal(Pointer temp1, Pointer temp2) { - var _result = _meos_b.always_ge_temporal_temporal(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int always_ge_text_ttext(Pointer txt, Pointer temp) { - var _result = _meos_b.always_ge_text_ttext(txt, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int always_ge_tfloat_float(Pointer temp, double d) { - var _result = _meos_b.always_ge_tfloat_float(temp, d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int always_ge_tint_int(Pointer temp, int i) { - var _result = _meos_b.always_ge_tint_int(temp, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int always_ge_ttext_text(Pointer temp, Pointer txt) { - var _result = _meos_b.always_ge_ttext_text(temp, txt); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int always_gt_bigint_tbigint(long i, Pointer temp) { - var _result = _meos_b.always_gt_bigint_tbigint(i, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int always_gt_float_tfloat(double d, Pointer temp) { - var _result = _meos_b.always_gt_float_tfloat(d, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int always_gt_int_tint(int i, Pointer temp) { - var _result = _meos_b.always_gt_int_tint(i, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int always_gt_tbigint_bigint(Pointer temp, long i) { - var _result = _meos_b.always_gt_tbigint_bigint(temp, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int always_gt_temporal_temporal(Pointer temp1, Pointer temp2) { - var _result = _meos_b.always_gt_temporal_temporal(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int always_gt_text_ttext(Pointer txt, Pointer temp) { - var _result = _meos_b.always_gt_text_ttext(txt, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int always_gt_tfloat_float(Pointer temp, double d) { - var _result = _meos_b.always_gt_tfloat_float(temp, d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int always_gt_tint_int(Pointer temp, int i) { - var _result = _meos_b.always_gt_tint_int(temp, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int always_gt_ttext_text(Pointer temp, Pointer txt) { - var _result = _meos_b.always_gt_ttext_text(temp, txt); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int always_le_bigint_tbigint(long i, Pointer temp) { - var _result = _meos_b.always_le_bigint_tbigint(i, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int always_le_float_tfloat(double d, Pointer temp) { - var _result = _meos_b.always_le_float_tfloat(d, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int always_le_int_tint(int i, Pointer temp) { - var _result = _meos_b.always_le_int_tint(i, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int always_le_tbigint_bigint(Pointer temp, long i) { - var _result = _meos_b.always_le_tbigint_bigint(temp, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int always_le_temporal_temporal(Pointer temp1, Pointer temp2) { - var _result = _meos_b.always_le_temporal_temporal(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int always_le_text_ttext(Pointer txt, Pointer temp) { - var _result = _meos_b.always_le_text_ttext(txt, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int always_le_tfloat_float(Pointer temp, double d) { - var _result = _meos_b.always_le_tfloat_float(temp, d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int always_le_tint_int(Pointer temp, int i) { - var _result = _meos_b.always_le_tint_int(temp, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int always_le_ttext_text(Pointer temp, Pointer txt) { - var _result = _meos_b.always_le_ttext_text(temp, txt); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int always_lt_bigint_tbigint(long i, Pointer temp) { - var _result = _meos_b.always_lt_bigint_tbigint(i, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int always_lt_float_tfloat(double d, Pointer temp) { - var _result = _meos_b.always_lt_float_tfloat(d, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int always_lt_int_tint(int i, Pointer temp) { - var _result = _meos_b.always_lt_int_tint(i, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int always_lt_temporal_temporal(Pointer temp1, Pointer temp2) { - var _result = _meos_b.always_lt_temporal_temporal(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int always_lt_text_ttext(Pointer txt, Pointer temp) { - var _result = _meos_b.always_lt_text_ttext(txt, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int always_lt_tfloat_float(Pointer temp, double d) { - var _result = _meos_b.always_lt_tfloat_float(temp, d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int always_lt_tint_int(Pointer temp, int i) { - var _result = _meos_b.always_lt_tint_int(temp, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int always_lt_ttext_text(Pointer temp, Pointer txt) { - var _result = _meos_b.always_lt_ttext_text(temp, txt); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int always_ne_bool_tbool(boolean b, Pointer temp) { - var _result = _meos_b.always_ne_bool_tbool(b, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int always_ne_float_tfloat(double d, Pointer temp) { - var _result = _meos_b.always_ne_float_tfloat(d, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int always_ne_int_tint(int i, Pointer temp) { - var _result = _meos_b.always_ne_int_tint(i, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int always_lt_tbigint_bigint(Pointer temp, long i) { - var _result = _meos_b.always_lt_tbigint_bigint(temp, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int always_ne_bigint_tbigint(long i, Pointer temp) { - var _result = _meos_b.always_ne_bigint_tbigint(i, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int always_ne_tbool_bool(Pointer temp, boolean b) { - var _result = _meos_b.always_ne_tbool_bool(temp, b); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int always_ne_tbigint_bigint(Pointer temp, long i) { - var _result = _meos_b.always_ne_tbigint_bigint(temp, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int always_ne_temporal_temporal(Pointer temp1, Pointer temp2) { - var _result = _meos_b.always_ne_temporal_temporal(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int always_ne_text_ttext(Pointer txt, Pointer temp) { - var _result = _meos_b.always_ne_text_ttext(txt, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int always_ne_tfloat_float(Pointer temp, double d) { - var _result = _meos_b.always_ne_tfloat_float(temp, d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int always_ne_tint_int(Pointer temp, int i) { - var _result = _meos_b.always_ne_tint_int(temp, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int always_ne_ttext_text(Pointer temp, Pointer txt) { - var _result = _meos_b.always_ne_ttext_text(temp, txt); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int ever_eq_bigint_tbigint(long i, Pointer temp) { - var _result = _meos_b.ever_eq_bigint_tbigint(i, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int ever_eq_bool_tbool(boolean b, Pointer temp) { - var _result = _meos_b.ever_eq_bool_tbool(b, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int ever_eq_float_tfloat(double d, Pointer temp) { - var _result = _meos_b.ever_eq_float_tfloat(d, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int ever_eq_int_tint(int i, Pointer temp) { - var _result = _meos_b.ever_eq_int_tint(i, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int ever_eq_tbigint_bigint(Pointer temp, long i) { - var _result = _meos_b.ever_eq_tbigint_bigint(temp, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int ever_eq_tbool_bool(Pointer temp, boolean b) { - var _result = _meos_b.ever_eq_tbool_bool(temp, b); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int ever_eq_temporal_temporal(Pointer temp1, Pointer temp2) { - var _result = _meos_b.ever_eq_temporal_temporal(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int ever_eq_text_ttext(Pointer txt, Pointer temp) { - var _result = _meos_b.ever_eq_text_ttext(txt, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int ever_eq_tfloat_float(Pointer temp, double d) { - var _result = _meos_b.ever_eq_tfloat_float(temp, d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int ever_eq_tint_int(Pointer temp, int i) { - var _result = _meos_b.ever_eq_tint_int(temp, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int ever_eq_ttext_text(Pointer temp, Pointer txt) { - var _result = _meos_b.ever_eq_ttext_text(temp, txt); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int ever_ge_bigint_tbigint(long i, Pointer temp) { - var _result = _meos_b.ever_ge_bigint_tbigint(i, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int ever_ge_float_tfloat(double d, Pointer temp) { - var _result = _meos_b.ever_ge_float_tfloat(d, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int ever_ge_int_tint(int i, Pointer temp) { - var _result = _meos_b.ever_ge_int_tint(i, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int ever_ge_tbigint_bigint(Pointer temp, long i) { - var _result = _meos_b.ever_ge_tbigint_bigint(temp, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int ever_ge_temporal_temporal(Pointer temp1, Pointer temp2) { - var _result = _meos_b.ever_ge_temporal_temporal(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int ever_ge_text_ttext(Pointer txt, Pointer temp) { - var _result = _meos_b.ever_ge_text_ttext(txt, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int ever_ge_tfloat_float(Pointer temp, double d) { - var _result = _meos_b.ever_ge_tfloat_float(temp, d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int ever_ge_tint_int(Pointer temp, int i) { - var _result = _meos_b.ever_ge_tint_int(temp, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int ever_ge_ttext_text(Pointer temp, Pointer txt) { - var _result = _meos_b.ever_ge_ttext_text(temp, txt); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int ever_gt_bigint_tbigint(long i, Pointer temp) { - var _result = _meos_b.ever_gt_bigint_tbigint(i, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int ever_gt_float_tfloat(double d, Pointer temp) { - var _result = _meos_b.ever_gt_float_tfloat(d, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int ever_gt_int_tint(int i, Pointer temp) { - var _result = _meos_b.ever_gt_int_tint(i, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int ever_gt_tbigint_bigint(Pointer temp, long i) { - var _result = _meos_b.ever_gt_tbigint_bigint(temp, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int ever_gt_temporal_temporal(Pointer temp1, Pointer temp2) { - var _result = _meos_b.ever_gt_temporal_temporal(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int ever_gt_text_ttext(Pointer txt, Pointer temp) { - var _result = _meos_b.ever_gt_text_ttext(txt, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int ever_gt_tfloat_float(Pointer temp, double d) { - var _result = _meos_b.ever_gt_tfloat_float(temp, d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int ever_gt_tint_int(Pointer temp, int i) { - var _result = _meos_b.ever_gt_tint_int(temp, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int ever_gt_ttext_text(Pointer temp, Pointer txt) { - var _result = _meos_b.ever_gt_ttext_text(temp, txt); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int ever_le_bigint_tbigint(long i, Pointer temp) { - var _result = _meos_b.ever_le_bigint_tbigint(i, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int ever_le_float_tfloat(double d, Pointer temp) { - var _result = _meos_b.ever_le_float_tfloat(d, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int ever_le_int_tint(int i, Pointer temp) { - var _result = _meos_b.ever_le_int_tint(i, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int ever_le_tbigint_bigint(Pointer temp, long i) { - var _result = _meos_b.ever_le_tbigint_bigint(temp, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int ever_le_temporal_temporal(Pointer temp1, Pointer temp2) { - var _result = _meos_b.ever_le_temporal_temporal(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int ever_le_text_ttext(Pointer txt, Pointer temp) { - var _result = _meos_b.ever_le_text_ttext(txt, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int ever_le_tfloat_float(Pointer temp, double d) { - var _result = _meos_b.ever_le_tfloat_float(temp, d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int ever_le_tint_int(Pointer temp, int i) { - var _result = _meos_b.ever_le_tint_int(temp, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int ever_le_ttext_text(Pointer temp, Pointer txt) { - var _result = _meos_b.ever_le_ttext_text(temp, txt); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int ever_lt_bigint_tbigint(long i, Pointer temp) { - var _result = _meos_b.ever_lt_bigint_tbigint(i, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int ever_lt_float_tfloat(double d, Pointer temp) { - var _result = _meos_b.ever_lt_float_tfloat(d, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int ever_lt_int_tint(int i, Pointer temp) { - var _result = _meos_b.ever_lt_int_tint(i, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int ever_lt_tbigint_bigint(Pointer temp, long i) { - var _result = _meos_b.ever_lt_tbigint_bigint(temp, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int ever_lt_temporal_temporal(Pointer temp1, Pointer temp2) { - var _result = _meos_b.ever_lt_temporal_temporal(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int ever_lt_text_ttext(Pointer txt, Pointer temp) { - var _result = _meos_b.ever_lt_text_ttext(txt, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int ever_lt_tfloat_float(Pointer temp, double d) { - var _result = _meos_b.ever_lt_tfloat_float(temp, d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int ever_lt_tint_int(Pointer temp, int i) { - var _result = _meos_b.ever_lt_tint_int(temp, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int ever_lt_ttext_text(Pointer temp, Pointer txt) { - var _result = _meos_b.ever_lt_ttext_text(temp, txt); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int ever_ne_bigint_tbigint(long i, Pointer temp) { - var _result = _meos_b.ever_ne_bigint_tbigint(i, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int ever_ne_bool_tbool(boolean b, Pointer temp) { - var _result = _meos_b.ever_ne_bool_tbool(b, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int ever_ne_float_tfloat(double d, Pointer temp) { - var _result = _meos_b.ever_ne_float_tfloat(d, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int ever_ne_int_tint(int i, Pointer temp) { - var _result = _meos_b.ever_ne_int_tint(i, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int ever_ne_tbigint_bigint(Pointer temp, long i) { - var _result = _meos_b.ever_ne_tbigint_bigint(temp, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int ever_ne_tbool_bool(Pointer temp, boolean b) { - var _result = _meos_b.ever_ne_tbool_bool(temp, b); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int ever_ne_temporal_temporal(Pointer temp1, Pointer temp2) { - var _result = _meos_b.ever_ne_temporal_temporal(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int ever_ne_text_ttext(Pointer txt, Pointer temp) { - var _result = _meos_b.ever_ne_text_ttext(txt, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int ever_ne_tfloat_float(Pointer temp, double d) { - var _result = _meos_b.ever_ne_tfloat_float(temp, d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int ever_ne_tint_int(Pointer temp, int i) { - var _result = _meos_b.ever_ne_tint_int(temp, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int ever_ne_ttext_text(Pointer temp, Pointer txt) { - var _result = _meos_b.ever_ne_ttext_text(temp, txt); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer teq_bool_tbool(boolean b, Pointer temp) { - var _result = _meos_b.teq_bool_tbool(b, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer teq_float_tfloat(double d, Pointer temp) { - var _result = _meos_b.teq_float_tfloat(d, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer teq_int_tint(int i, Pointer temp) { - var _result = _meos_b.teq_int_tint(i, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer teq_tbool_bool(Pointer temp, boolean b) { - var _result = _meos_b.teq_tbool_bool(temp, b); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer teq_temporal_temporal(Pointer temp1, Pointer temp2) { - var _result = _meos_b.teq_temporal_temporal(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer teq_text_ttext(Pointer txt, Pointer temp) { - var _result = _meos_b.teq_text_ttext(txt, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer teq_tfloat_float(Pointer temp, double d) { - var _result = _meos_b.teq_tfloat_float(temp, d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer teq_tint_int(Pointer temp, int i) { - var _result = _meos_b.teq_tint_int(temp, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer teq_ttext_text(Pointer temp, Pointer txt) { - var _result = _meos_b.teq_ttext_text(temp, txt); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tge_float_tfloat(double d, Pointer temp) { - var _result = _meos_b.tge_float_tfloat(d, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tge_int_tint(int i, Pointer temp) { - var _result = _meos_b.tge_int_tint(i, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tge_temporal_temporal(Pointer temp1, Pointer temp2) { - var _result = _meos_b.tge_temporal_temporal(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tge_text_ttext(Pointer txt, Pointer temp) { - var _result = _meos_b.tge_text_ttext(txt, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tge_tfloat_float(Pointer temp, double d) { - var _result = _meos_b.tge_tfloat_float(temp, d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tge_tint_int(Pointer temp, int i) { - var _result = _meos_b.tge_tint_int(temp, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tge_ttext_text(Pointer temp, Pointer txt) { - var _result = _meos_b.tge_ttext_text(temp, txt); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tgt_float_tfloat(double d, Pointer temp) { - var _result = _meos_b.tgt_float_tfloat(d, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tgt_int_tint(int i, Pointer temp) { - var _result = _meos_b.tgt_int_tint(i, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tgt_temporal_temporal(Pointer temp1, Pointer temp2) { - var _result = _meos_b.tgt_temporal_temporal(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tgt_text_ttext(Pointer txt, Pointer temp) { - var _result = _meos_b.tgt_text_ttext(txt, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tgt_tfloat_float(Pointer temp, double d) { - var _result = _meos_b.tgt_tfloat_float(temp, d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tgt_tint_int(Pointer temp, int i) { - var _result = _meos_b.tgt_tint_int(temp, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tgt_ttext_text(Pointer temp, Pointer txt) { - var _result = _meos_b.tgt_ttext_text(temp, txt); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tle_float_tfloat(double d, Pointer temp) { - var _result = _meos_b.tle_float_tfloat(d, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tle_int_tint(int i, Pointer temp) { - var _result = _meos_b.tle_int_tint(i, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tle_temporal_temporal(Pointer temp1, Pointer temp2) { - var _result = _meos_b.tle_temporal_temporal(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tle_text_ttext(Pointer txt, Pointer temp) { - var _result = _meos_b.tle_text_ttext(txt, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tle_tfloat_float(Pointer temp, double d) { - var _result = _meos_b.tle_tfloat_float(temp, d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tle_tint_int(Pointer temp, int i) { - var _result = _meos_b.tle_tint_int(temp, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tle_ttext_text(Pointer temp, Pointer txt) { - var _result = _meos_b.tle_ttext_text(temp, txt); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tlt_float_tfloat(double d, Pointer temp) { - var _result = _meos_b.tlt_float_tfloat(d, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tlt_int_tint(int i, Pointer temp) { - var _result = _meos_b.tlt_int_tint(i, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tlt_temporal_temporal(Pointer temp1, Pointer temp2) { - var _result = _meos_b.tlt_temporal_temporal(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tlt_text_ttext(Pointer txt, Pointer temp) { - var _result = _meos_b.tlt_text_ttext(txt, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tlt_tfloat_float(Pointer temp, double d) { - var _result = _meos_b.tlt_tfloat_float(temp, d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tlt_tint_int(Pointer temp, int i) { - var _result = _meos_b.tlt_tint_int(temp, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tlt_ttext_text(Pointer temp, Pointer txt) { - var _result = _meos_b.tlt_ttext_text(temp, txt); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tne_bool_tbool(boolean b, Pointer temp) { - var _result = _meos_b.tne_bool_tbool(b, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tne_float_tfloat(double d, Pointer temp) { - var _result = _meos_b.tne_float_tfloat(d, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tne_int_tint(int i, Pointer temp) { - var _result = _meos_b.tne_int_tint(i, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tne_tbool_bool(Pointer temp, boolean b) { - var _result = _meos_b.tne_tbool_bool(temp, b); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tne_temporal_temporal(Pointer temp1, Pointer temp2) { - var _result = _meos_b.tne_temporal_temporal(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tne_text_ttext(Pointer txt, Pointer temp) { - var _result = _meos_b.tne_text_ttext(txt, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tne_tfloat_float(Pointer temp, double d) { - var _result = _meos_b.tne_tfloat_float(temp, d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tne_tint_int(Pointer temp, int i) { - var _result = _meos_b.tne_tint_int(temp, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tne_ttext_text(Pointer temp, Pointer txt) { - var _result = _meos_b.tne_ttext_text(temp, txt); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer temporal_spans(Pointer temp, Pointer count) { - var _result = _meos_b.temporal_spans(temp, count); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer temporal_split_each_n_spans(Pointer temp, int elem_count, Pointer count) { - var _result = _meos_b.temporal_split_each_n_spans(temp, elem_count, count); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer temporal_split_n_spans(Pointer temp, int span_count, Pointer count) { - var _result = _meos_b.temporal_split_n_spans(temp, span_count, count); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tnumber_split_each_n_tboxes(Pointer temp, int elem_count, Pointer count) { - var _result = _meos_b.tnumber_split_each_n_tboxes(temp, elem_count, count); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tnumber_split_n_tboxes(Pointer temp, int box_count, Pointer count) { - var _result = _meos_b.tnumber_split_n_tboxes(temp, box_count, count); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tnumber_tboxes(Pointer temp, Pointer count) { - var _result = _meos_b.tnumber_tboxes(temp, count); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean adjacent_numspan_tnumber(Pointer s, Pointer temp) { - var _result = _meos_b.adjacent_numspan_tnumber(s, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean adjacent_tbox_tnumber(Pointer box, Pointer temp) { - var _result = _meos_b.adjacent_tbox_tnumber(box, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean adjacent_temporal_temporal(Pointer temp1, Pointer temp2) { - var _result = _meos_b.adjacent_temporal_temporal(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean adjacent_temporal_tstzspan(Pointer temp, Pointer s) { - var _result = _meos_b.adjacent_temporal_tstzspan(temp, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean adjacent_tnumber_numspan(Pointer temp, Pointer s) { - var _result = _meos_b.adjacent_tnumber_numspan(temp, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean adjacent_tnumber_tbox(Pointer temp, Pointer box) { - var _result = _meos_b.adjacent_tnumber_tbox(temp, box); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean adjacent_tnumber_tnumber(Pointer temp1, Pointer temp2) { - var _result = _meos_b.adjacent_tnumber_tnumber(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean adjacent_tstzspan_temporal(Pointer s, Pointer temp) { - var _result = _meos_b.adjacent_tstzspan_temporal(s, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean contained_numspan_tnumber(Pointer s, Pointer temp) { - var _result = _meos_b.contained_numspan_tnumber(s, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean contained_tbox_tnumber(Pointer box, Pointer temp) { - var _result = _meos_b.contained_tbox_tnumber(box, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean contained_temporal_temporal(Pointer temp1, Pointer temp2) { - var _result = _meos_b.contained_temporal_temporal(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean contained_temporal_tstzspan(Pointer temp, Pointer s) { - var _result = _meos_b.contained_temporal_tstzspan(temp, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean contained_tnumber_numspan(Pointer temp, Pointer s) { - var _result = _meos_b.contained_tnumber_numspan(temp, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean contained_tnumber_tbox(Pointer temp, Pointer box) { - var _result = _meos_b.contained_tnumber_tbox(temp, box); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean contained_tnumber_tnumber(Pointer temp1, Pointer temp2) { - var _result = _meos_b.contained_tnumber_tnumber(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean contained_tstzspan_temporal(Pointer s, Pointer temp) { - var _result = _meos_b.contained_tstzspan_temporal(s, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean contains_numspan_tnumber(Pointer s, Pointer temp) { - var _result = _meos_b.contains_numspan_tnumber(s, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean contains_tbox_tnumber(Pointer box, Pointer temp) { - var _result = _meos_b.contains_tbox_tnumber(box, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean contains_temporal_tstzspan(Pointer temp, Pointer s) { - var _result = _meos_b.contains_temporal_tstzspan(temp, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean contains_temporal_temporal(Pointer temp1, Pointer temp2) { - var _result = _meos_b.contains_temporal_temporal(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean contains_tnumber_numspan(Pointer temp, Pointer s) { - var _result = _meos_b.contains_tnumber_numspan(temp, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean contains_tnumber_tbox(Pointer temp, Pointer box) { - var _result = _meos_b.contains_tnumber_tbox(temp, box); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean contains_tnumber_tnumber(Pointer temp1, Pointer temp2) { - var _result = _meos_b.contains_tnumber_tnumber(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean contains_tstzspan_temporal(Pointer s, Pointer temp) { - var _result = _meos_b.contains_tstzspan_temporal(s, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overlaps_numspan_tnumber(Pointer s, Pointer temp) { - var _result = _meos_b.overlaps_numspan_tnumber(s, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overlaps_tbox_tnumber(Pointer box, Pointer temp) { - var _result = _meos_b.overlaps_tbox_tnumber(box, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overlaps_temporal_temporal(Pointer temp1, Pointer temp2) { - var _result = _meos_b.overlaps_temporal_temporal(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overlaps_temporal_tstzspan(Pointer temp, Pointer s) { - var _result = _meos_b.overlaps_temporal_tstzspan(temp, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overlaps_tnumber_numspan(Pointer temp, Pointer s) { - var _result = _meos_b.overlaps_tnumber_numspan(temp, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overlaps_tnumber_tbox(Pointer temp, Pointer box) { - var _result = _meos_b.overlaps_tnumber_tbox(temp, box); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overlaps_tnumber_tnumber(Pointer temp1, Pointer temp2) { - var _result = _meos_b.overlaps_tnumber_tnumber(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overlaps_tstzspan_temporal(Pointer s, Pointer temp) { - var _result = _meos_b.overlaps_tstzspan_temporal(s, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean same_numspan_tnumber(Pointer s, Pointer temp) { - var _result = _meos_b.same_numspan_tnumber(s, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean same_tbox_tnumber(Pointer box, Pointer temp) { - var _result = _meos_b.same_tbox_tnumber(box, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean same_temporal_temporal(Pointer temp1, Pointer temp2) { - var _result = _meos_b.same_temporal_temporal(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean same_temporal_tstzspan(Pointer temp, Pointer s) { - var _result = _meos_b.same_temporal_tstzspan(temp, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean same_tnumber_numspan(Pointer temp, Pointer s) { - var _result = _meos_b.same_tnumber_numspan(temp, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean same_tnumber_tbox(Pointer temp, Pointer box) { - var _result = _meos_b.same_tnumber_tbox(temp, box); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean same_tnumber_tnumber(Pointer temp1, Pointer temp2) { - var _result = _meos_b.same_tnumber_tnumber(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean same_tstzspan_temporal(Pointer s, Pointer temp) { - var _result = _meos_b.same_tstzspan_temporal(s, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean after_tbox_tnumber(Pointer box, Pointer temp) { - var _result = _meos_b.after_tbox_tnumber(box, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean after_temporal_tstzspan(Pointer temp, Pointer s) { - var _result = _meos_b.after_temporal_tstzspan(temp, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean after_temporal_temporal(Pointer temp1, Pointer temp2) { - var _result = _meos_b.after_temporal_temporal(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean after_tnumber_tbox(Pointer temp, Pointer box) { - var _result = _meos_b.after_tnumber_tbox(temp, box); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean after_tnumber_tnumber(Pointer temp1, Pointer temp2) { - var _result = _meos_b.after_tnumber_tnumber(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean after_tstzspan_temporal(Pointer s, Pointer temp) { - var _result = _meos_b.after_tstzspan_temporal(s, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean before_tbox_tnumber(Pointer box, Pointer temp) { - var _result = _meos_b.before_tbox_tnumber(box, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean before_temporal_tstzspan(Pointer temp, Pointer s) { - var _result = _meos_b.before_temporal_tstzspan(temp, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean before_temporal_temporal(Pointer temp1, Pointer temp2) { - var _result = _meos_b.before_temporal_temporal(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean before_tnumber_tbox(Pointer temp, Pointer box) { - var _result = _meos_b.before_tnumber_tbox(temp, box); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean before_tnumber_tnumber(Pointer temp1, Pointer temp2) { - var _result = _meos_b.before_tnumber_tnumber(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean before_tstzspan_temporal(Pointer s, Pointer temp) { - var _result = _meos_b.before_tstzspan_temporal(s, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean left_tbox_tnumber(Pointer box, Pointer temp) { - var _result = _meos_b.left_tbox_tnumber(box, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean left_numspan_tnumber(Pointer s, Pointer temp) { - var _result = _meos_b.left_numspan_tnumber(s, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean left_tnumber_numspan(Pointer temp, Pointer s) { - var _result = _meos_b.left_tnumber_numspan(temp, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean left_tnumber_tbox(Pointer temp, Pointer box) { - var _result = _meos_b.left_tnumber_tbox(temp, box); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean left_tnumber_tnumber(Pointer temp1, Pointer temp2) { - var _result = _meos_b.left_tnumber_tnumber(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overafter_tbox_tnumber(Pointer box, Pointer temp) { - var _result = _meos_b.overafter_tbox_tnumber(box, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overafter_temporal_tstzspan(Pointer temp, Pointer s) { - var _result = _meos_b.overafter_temporal_tstzspan(temp, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overafter_temporal_temporal(Pointer temp1, Pointer temp2) { - var _result = _meos_b.overafter_temporal_temporal(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overafter_tnumber_tbox(Pointer temp, Pointer box) { - var _result = _meos_b.overafter_tnumber_tbox(temp, box); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overafter_tnumber_tnumber(Pointer temp1, Pointer temp2) { - var _result = _meos_b.overafter_tnumber_tnumber(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overafter_tstzspan_temporal(Pointer s, Pointer temp) { - var _result = _meos_b.overafter_tstzspan_temporal(s, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overbefore_tbox_tnumber(Pointer box, Pointer temp) { - var _result = _meos_b.overbefore_tbox_tnumber(box, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overbefore_temporal_tstzspan(Pointer temp, Pointer s) { - var _result = _meos_b.overbefore_temporal_tstzspan(temp, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overbefore_temporal_temporal(Pointer temp1, Pointer temp2) { - var _result = _meos_b.overbefore_temporal_temporal(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overbefore_tnumber_tbox(Pointer temp, Pointer box) { - var _result = _meos_b.overbefore_tnumber_tbox(temp, box); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overbefore_tnumber_tnumber(Pointer temp1, Pointer temp2) { - var _result = _meos_b.overbefore_tnumber_tnumber(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overbefore_tstzspan_temporal(Pointer s, Pointer temp) { - var _result = _meos_b.overbefore_tstzspan_temporal(s, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overleft_numspan_tnumber(Pointer s, Pointer temp) { - var _result = _meos_b.overleft_numspan_tnumber(s, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overleft_tbox_tnumber(Pointer box, Pointer temp) { - var _result = _meos_b.overleft_tbox_tnumber(box, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overleft_tnumber_numspan(Pointer temp, Pointer s) { - var _result = _meos_b.overleft_tnumber_numspan(temp, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overleft_tnumber_tbox(Pointer temp, Pointer box) { - var _result = _meos_b.overleft_tnumber_tbox(temp, box); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overleft_tnumber_tnumber(Pointer temp1, Pointer temp2) { - var _result = _meos_b.overleft_tnumber_tnumber(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overright_numspan_tnumber(Pointer s, Pointer temp) { - var _result = _meos_b.overright_numspan_tnumber(s, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overright_tbox_tnumber(Pointer box, Pointer temp) { - var _result = _meos_b.overright_tbox_tnumber(box, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overright_tnumber_numspan(Pointer temp, Pointer s) { - var _result = _meos_b.overright_tnumber_numspan(temp, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overright_tnumber_tbox(Pointer temp, Pointer box) { - var _result = _meos_b.overright_tnumber_tbox(temp, box); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overright_tnumber_tnumber(Pointer temp1, Pointer temp2) { - var _result = _meos_b.overright_tnumber_tnumber(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean right_numspan_tnumber(Pointer s, Pointer temp) { - var _result = _meos_b.right_numspan_tnumber(s, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean right_tbox_tnumber(Pointer box, Pointer temp) { - var _result = _meos_b.right_tbox_tnumber(box, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean right_tnumber_numspan(Pointer temp, Pointer s) { - var _result = _meos_b.right_tnumber_numspan(temp, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean right_tnumber_tbox(Pointer temp, Pointer box) { - var _result = _meos_b.right_tnumber_tbox(temp, box); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean right_tnumber_tnumber(Pointer temp1, Pointer temp2) { - var _result = _meos_b.right_tnumber_tnumber(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tand_bool_tbool(boolean b, Pointer temp) { - var _result = _meos_b.tand_bool_tbool(b, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tand_tbool_bool(Pointer temp, boolean b) { - var _result = _meos_b.tand_tbool_bool(temp, b); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tand_tbool_tbool(Pointer temp1, Pointer temp2) { - var _result = _meos_b.tand_tbool_tbool(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tbool_when_true(Pointer temp) { - var _result = _meos_b.tbool_when_true(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tnot_tbool(Pointer temp) { - var _result = _meos_b.tnot_tbool(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tor_bool_tbool(boolean b, Pointer temp) { - var _result = _meos_b.tor_bool_tbool(b, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tor_tbool_bool(Pointer temp, boolean b) { - var _result = _meos_b.tor_tbool_bool(temp, b); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tor_tbool_tbool(Pointer temp1, Pointer temp2) { - var _result = _meos_b.tor_tbool_tbool(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer add_bigint_tbigint(long i, Pointer tnumber) { - var _result = _meos_b.add_bigint_tbigint(i, tnumber); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer add_float_tfloat(double d, Pointer tnumber) { - var _result = _meos_b.add_float_tfloat(d, tnumber); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer add_int_tint(int i, Pointer tnumber) { - var _result = _meos_b.add_int_tint(i, tnumber); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer add_tbigint_bigint(Pointer tnumber, long i) { - var _result = _meos_b.add_tbigint_bigint(tnumber, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer add_tfloat_float(Pointer tnumber, double d) { - var _result = _meos_b.add_tfloat_float(tnumber, d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer add_tint_int(Pointer tnumber, int i) { - var _result = _meos_b.add_tint_int(tnumber, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer add_tnumber_tnumber(Pointer tnumber1, Pointer tnumber2) { - var _result = _meos_b.add_tnumber_tnumber(tnumber1, tnumber2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer div_bigint_tbigint(long i, Pointer tnumber) { - var _result = _meos_b.div_bigint_tbigint(i, tnumber); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer div_float_tfloat(double d, Pointer tnumber) { - var _result = _meos_b.div_float_tfloat(d, tnumber); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer div_int_tint(int i, Pointer tnumber) { - var _result = _meos_b.div_int_tint(i, tnumber); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer div_tbigint_bigint(Pointer tnumber, long i) { - var _result = _meos_b.div_tbigint_bigint(tnumber, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer div_tfloat_float(Pointer tnumber, double d) { - var _result = _meos_b.div_tfloat_float(tnumber, d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer div_tint_int(Pointer tnumber, int i) { - var _result = _meos_b.div_tint_int(tnumber, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer div_tnumber_tnumber(Pointer tnumber1, Pointer tnumber2) { - var _result = _meos_b.div_tnumber_tnumber(tnumber1, tnumber2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer mul_bigint_tbigint(long i, Pointer tnumber) { - var _result = _meos_b.mul_bigint_tbigint(i, tnumber); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer mul_float_tfloat(double d, Pointer tnumber) { - var _result = _meos_b.mul_float_tfloat(d, tnumber); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer mul_int_tint(int i, Pointer tnumber) { - var _result = _meos_b.mul_int_tint(i, tnumber); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer mul_tbigint_bigint(Pointer tnumber, long i) { - var _result = _meos_b.mul_tbigint_bigint(tnumber, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer mul_tfloat_float(Pointer tnumber, double d) { - var _result = _meos_b.mul_tfloat_float(tnumber, d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer mul_tint_int(Pointer tnumber, int i) { - var _result = _meos_b.mul_tint_int(tnumber, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer mul_tnumber_tnumber(Pointer tnumber1, Pointer tnumber2) { - var _result = _meos_b.mul_tnumber_tnumber(tnumber1, tnumber2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer sub_bigint_tbigint(long i, Pointer tnumber) { - var _result = _meos_b.sub_bigint_tbigint(i, tnumber); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer sub_float_tfloat(double d, Pointer tnumber) { - var _result = _meos_b.sub_float_tfloat(d, tnumber); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer sub_int_tint(int i, Pointer tnumber) { - var _result = _meos_b.sub_int_tint(i, tnumber); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer sub_tbigint_bigint(Pointer tnumber, long i) { - var _result = _meos_b.sub_tbigint_bigint(tnumber, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer sub_tfloat_float(Pointer tnumber, double d) { - var _result = _meos_b.sub_tfloat_float(tnumber, d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer sub_tint_int(Pointer tnumber, int i) { - var _result = _meos_b.sub_tint_int(tnumber, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer sub_tnumber_tnumber(Pointer tnumber1, Pointer tnumber2) { - var _result = _meos_b.sub_tnumber_tnumber(tnumber1, tnumber2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer temporal_derivative(Pointer temp) { - var _result = _meos_b.temporal_derivative(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tfloat_exp(Pointer temp) { - var _result = _meos_b.tfloat_exp(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tfloat_ln(Pointer temp) { - var _result = _meos_b.tfloat_ln(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tfloat_log10(Pointer temp) { - var _result = _meos_b.tfloat_log10(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tnumber_abs(Pointer temp) { - var _result = _meos_b.tnumber_abs(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tnumber_trend(Pointer temp) { - var _result = _meos_b.tnumber_trend(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double float_angular_difference(double degrees1, double degrees2) { - var _result = _meos_b.float_angular_difference(degrees1, degrees2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tnumber_angular_difference(Pointer temp) { - var _result = _meos_b.tnumber_angular_difference(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tnumber_delta_value(Pointer temp) { - var _result = _meos_b.tnumber_delta_value(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer textcat_text_ttext(Pointer txt, Pointer temp) { - var _result = _meos_b.textcat_text_ttext(txt, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer textcat_ttext_text(Pointer temp, Pointer txt) { - var _result = _meos_b.textcat_ttext_text(temp, txt); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer textcat_ttext_ttext(Pointer temp1, Pointer temp2) { - var _result = _meos_b.textcat_ttext_ttext(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer ttext_initcap(Pointer temp) { - var _result = _meos_b.ttext_initcap(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer ttext_upper(Pointer temp) { - var _result = _meos_b.ttext_upper(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer ttext_lower(Pointer temp) { - var _result = _meos_b.ttext_lower(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tdistance_tfloat_float(Pointer temp, double d) { - var _result = _meos_b.tdistance_tfloat_float(temp, d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tdistance_tint_int(Pointer temp, int i) { - var _result = _meos_b.tdistance_tint_int(temp, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tdistance_tnumber_tnumber(Pointer temp1, Pointer temp2) { - var _result = _meos_b.tdistance_tnumber_tnumber(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double nad_tboxfloat_tboxfloat(Pointer box1, Pointer box2) { - var _result = _meos_b.nad_tboxfloat_tboxfloat(box1, box2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int nad_tboxint_tboxint(Pointer box1, Pointer box2) { - var _result = _meos_b.nad_tboxint_tboxint(box1, box2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double nad_tfloat_float(Pointer temp, double d) { - var _result = _meos_b.nad_tfloat_float(temp, d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double nad_tfloat_tfloat(Pointer temp1, Pointer temp2) { - var _result = _meos_b.nad_tfloat_tfloat(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double nad_tfloat_tbox(Pointer temp, Pointer box) { - var _result = _meos_b.nad_tfloat_tbox(temp, box); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int nad_tint_int(Pointer temp, int i) { - var _result = _meos_b.nad_tint_int(temp, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int nad_tint_tbox(Pointer temp, Pointer box) { - var _result = _meos_b.nad_tint_tbox(temp, box); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int nad_tint_tint(Pointer temp1, Pointer temp2) { - var _result = _meos_b.nad_tint_tint(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tbool_tand_transfn(Pointer state, Pointer temp) { - var _result = _meos_b.tbool_tand_transfn(state, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tbool_tor_transfn(Pointer state, Pointer temp) { - var _result = _meos_b.tbool_tor_transfn(state, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer temporal_extent_transfn(Pointer s, Pointer temp) { - var _result = _meos_b.temporal_extent_transfn(s, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer temporal_merge_transfn(Pointer state, Pointer temp) { - var _result = _meos_b.temporal_merge_transfn(state, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer temporal_merge_combinefn(Pointer state1, Pointer state2) { - var _result = _meos_b.temporal_merge_combinefn(state1, state2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer temporal_tagg_finalfn(Pointer state) { - var _result = _meos_b.temporal_tagg_finalfn(state); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer temporal_tcount_transfn(Pointer state, Pointer temp) { - var _result = _meos_b.temporal_tcount_transfn(state, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tfloat_tmax_transfn(Pointer state, Pointer temp) { - var _result = _meos_b.tfloat_tmax_transfn(state, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tfloat_tmin_transfn(Pointer state, Pointer temp) { - var _result = _meos_b.tfloat_tmin_transfn(state, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tfloat_tsum_transfn(Pointer state, Pointer temp) { - var _result = _meos_b.tfloat_tsum_transfn(state, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tfloat_wmax_transfn(Pointer state, Pointer temp, Pointer interv) { - var _result = _meos_b.tfloat_wmax_transfn(state, temp, interv); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tfloat_wmin_transfn(Pointer state, Pointer temp, Pointer interv) { - var _result = _meos_b.tfloat_wmin_transfn(state, temp, interv); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tfloat_wsum_transfn(Pointer state, Pointer temp, Pointer interv) { - var _result = _meos_b.tfloat_wsum_transfn(state, temp, interv); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer timestamptz_tcount_transfn(Pointer state, OffsetDateTime t) { - var t_new = t.toEpochSecond(); - var _result = _meos_b.timestamptz_tcount_transfn(state, t_new); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tint_tmax_transfn(Pointer state, Pointer temp) { - var _result = _meos_b.tint_tmax_transfn(state, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tint_tmin_transfn(Pointer state, Pointer temp) { - var _result = _meos_b.tint_tmin_transfn(state, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tint_tsum_transfn(Pointer state, Pointer temp) { - var _result = _meos_b.tint_tsum_transfn(state, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tint_wmax_transfn(Pointer state, Pointer temp, Pointer interv) { - var _result = _meos_b.tint_wmax_transfn(state, temp, interv); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tint_wmin_transfn(Pointer state, Pointer temp, Pointer interv) { - var _result = _meos_b.tint_wmin_transfn(state, temp, interv); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tint_wsum_transfn(Pointer state, Pointer temp, Pointer interv) { - var _result = _meos_b.tint_wsum_transfn(state, temp, interv); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tnumber_extent_transfn(Pointer box, Pointer temp) { - var _result = _meos_b.tnumber_extent_transfn(box, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tnumber_tavg_finalfn(Pointer state) { - var _result = _meos_b.tnumber_tavg_finalfn(state); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tnumber_tavg_transfn(Pointer state, Pointer temp) { - var _result = _meos_b.tnumber_tavg_transfn(state, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tnumber_wavg_transfn(Pointer state, Pointer temp, Pointer interv) { - var _result = _meos_b.tnumber_wavg_transfn(state, temp, interv); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tstzset_tcount_transfn(Pointer state, Pointer s) { - var _result = _meos_b.tstzset_tcount_transfn(state, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tstzspan_tcount_transfn(Pointer state, Pointer s) { - var _result = _meos_b.tstzspan_tcount_transfn(state, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tstzspanset_tcount_transfn(Pointer state, Pointer ss) { - var _result = _meos_b.tstzspanset_tcount_transfn(state, ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer ttext_tmax_transfn(Pointer state, Pointer temp) { - var _result = _meos_b.ttext_tmax_transfn(state, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer ttext_tmin_transfn(Pointer state, Pointer temp) { - var _result = _meos_b.ttext_tmin_transfn(state, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer temporal_simplify_dp(Pointer temp, double eps_dist, boolean synchronize) { - var _result = _meos_b.temporal_simplify_dp(temp, eps_dist, synchronize); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer temporal_simplify_max_dist(Pointer temp, double eps_dist, boolean synchronize) { - var _result = _meos_b.temporal_simplify_max_dist(temp, eps_dist, synchronize); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer temporal_simplify_min_dist(Pointer temp, double dist) { - var _result = _meos_b.temporal_simplify_min_dist(temp, dist); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer temporal_simplify_min_tdelta(Pointer temp, Pointer mint) { - var _result = _meos_b.temporal_simplify_min_tdelta(temp, mint); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer temporal_tprecision(Pointer temp, Pointer duration, OffsetDateTime origin) { - var origin_new = origin.toEpochSecond(); - var _result = _meos_b.temporal_tprecision(temp, duration, origin_new); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer temporal_tsample(Pointer temp, Pointer duration, OffsetDateTime origin, int interp) { - var origin_new = origin.toEpochSecond(); - var _result = _meos_b.temporal_tsample(temp, duration, origin_new, interp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double temporal_dyntimewarp_distance(Pointer temp1, Pointer temp2) { - var _result = _meos_b.temporal_dyntimewarp_distance(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer temporal_dyntimewarp_path(Pointer temp1, Pointer temp2, Pointer count) { - var _result = _meos_b.temporal_dyntimewarp_path(temp1, temp2, count); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double temporal_frechet_distance(Pointer temp1, Pointer temp2) { - var _result = _meos_b.temporal_frechet_distance(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer temporal_frechet_path(Pointer temp1, Pointer temp2, Pointer count) { - var _result = _meos_b.temporal_frechet_path(temp1, temp2, count); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double temporal_hausdorff_distance(Pointer temp1, Pointer temp2) { - var _result = _meos_b.temporal_hausdorff_distance(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer temporal_time_bins(Pointer temp, Pointer duration, OffsetDateTime origin, Pointer count) { - var origin_new = origin.toEpochSecond(); - var _result = _meos_b.temporal_time_bins(temp, duration, origin_new, count); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer temporal_time_split(Pointer temp, Pointer duration, OffsetDateTime torigin, Pointer time_bins, Pointer count) { - var torigin_new = torigin.toEpochSecond(); - var _result = _meos_b.temporal_time_split(temp, duration, torigin_new, time_bins, count); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tfloat_time_boxes(Pointer temp, Pointer duration, OffsetDateTime torigin, Pointer count) { - var torigin_new = torigin.toEpochSecond(); - var _result = _meos_b.tfloat_time_boxes(temp, duration, torigin_new, count); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tfloat_value_bins(Pointer temp, double vsize, double vorigin, Pointer count) { - var _result = _meos_b.tfloat_value_bins(temp, vsize, vorigin, count); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tfloat_value_boxes(Pointer temp, double vsize, double vorigin, Pointer count) { - var _result = _meos_b.tfloat_value_boxes(temp, vsize, vorigin, count); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tfloat_value_split(Pointer temp, double size, double origin, Pointer bins, Pointer count) { - var _result = _meos_b.tfloat_value_split(temp, size, origin, bins, count); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tfloat_value_time_boxes(Pointer temp, double vsize, Pointer duration, double vorigin, OffsetDateTime torigin, Pointer count) { - var torigin_new = torigin.toEpochSecond(); - var _result = _meos_b.tfloat_value_time_boxes(temp, vsize, duration, vorigin, torigin_new, count); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tfloat_value_time_split(Pointer temp, double vsize, Pointer duration, double vorigin, OffsetDateTime torigin, Pointer value_bins, Pointer time_bins, Pointer count) { - var torigin_new = torigin.toEpochSecond(); - var _result = _meos_b.tfloat_value_time_split(temp, vsize, duration, vorigin, torigin_new, value_bins, time_bins, count); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tfloatbox_time_tiles(Pointer box, Pointer duration, OffsetDateTime torigin, Pointer count) { - var torigin_new = torigin.toEpochSecond(); - var _result = _meos_b.tfloatbox_time_tiles(box, duration, torigin_new, count); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tfloatbox_value_tiles(Pointer box, double vsize, double vorigin, Pointer count) { - var _result = _meos_b.tfloatbox_value_tiles(box, vsize, vorigin, count); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tfloatbox_value_time_tiles(Pointer box, double vsize, Pointer duration, double vorigin, OffsetDateTime torigin, Pointer count) { - var torigin_new = torigin.toEpochSecond(); - var _result = _meos_b.tfloatbox_value_time_tiles(box, vsize, duration, vorigin, torigin_new, count); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tint_time_boxes(Pointer temp, Pointer duration, OffsetDateTime torigin, Pointer count) { - var torigin_new = torigin.toEpochSecond(); - var _result = _meos_b.tint_time_boxes(temp, duration, torigin_new, count); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tint_value_bins(Pointer temp, int vsize, int vorigin, Pointer count) { - var _result = _meos_b.tint_value_bins(temp, vsize, vorigin, count); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tint_value_boxes(Pointer temp, int vsize, int vorigin, Pointer count) { - var _result = _meos_b.tint_value_boxes(temp, vsize, vorigin, count); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tint_value_split(Pointer temp, int vsize, int vorigin, Pointer bins, Pointer count) { - var _result = _meos_b.tint_value_split(temp, vsize, vorigin, bins, count); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tint_value_time_boxes(Pointer temp, int vsize, Pointer duration, int vorigin, OffsetDateTime torigin, Pointer count) { - var torigin_new = torigin.toEpochSecond(); - var _result = _meos_b.tint_value_time_boxes(temp, vsize, duration, vorigin, torigin_new, count); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tint_value_time_split(Pointer temp, long size, Pointer duration, int vorigin, OffsetDateTime torigin, Pointer value_bins, Pointer time_bins, Pointer count) { - var torigin_new = torigin.toEpochSecond(); - var _result = _meos_b.tint_value_time_split(temp, size, duration, vorigin, torigin_new, value_bins, time_bins, count); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tintbox_time_tiles(Pointer box, Pointer duration, OffsetDateTime torigin, Pointer count) { - var torigin_new = torigin.toEpochSecond(); - var _result = _meos_b.tintbox_time_tiles(box, duration, torigin_new, count); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tintbox_value_tiles(Pointer box, int xsize, int xorigin, Pointer count) { - var _result = _meos_b.tintbox_value_tiles(box, xsize, xorigin, count); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tintbox_value_time_tiles(Pointer box, int xsize, Pointer duration, int xorigin, OffsetDateTime torigin, Pointer count) { - var torigin_new = torigin.toEpochSecond(); - var _result = _meos_b.tintbox_value_time_tiles(box, xsize, duration, xorigin, torigin_new, count); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static void meos_initialize_noexit_error_handler() { - _meos_b.meos_initialize_noexit_error_handler(); - MeosErrorHandler.checkError(); - } - - @SuppressWarnings("unused") - public static boolean h3_are_neighbor_cells_meos(long origin, long destination) { - var _result = _meos_b.h3_are_neighbor_cells_meos(origin, destination); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static long h3_cells_to_directed_edge_meos(long origin, long destination) { - var _result = _meos_b.h3_cells_to_directed_edge_meos(origin, destination); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean h3_is_valid_directed_edge_meos(long edge) { - var _result = _meos_b.h3_is_valid_directed_edge_meos(edge); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static long h3_get_directed_edge_origin_meos(long edge) { - var _result = _meos_b.h3_get_directed_edge_origin_meos(edge); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static long h3_get_directed_edge_destination_meos(long edge) { - var _result = _meos_b.h3_get_directed_edge_destination_meos(edge); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static long h3_cell_to_parent_meos(long origin, int resolution) { - var _result = _meos_b.h3_cell_to_parent_meos(origin, resolution); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static long h3_cell_to_center_child_meos(long origin, int resolution) { - var _result = _meos_b.h3_cell_to_center_child_meos(origin, resolution); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static long h3_cell_to_child_pos_meos(long child, int parentRes) { - var _result = _meos_b.h3_cell_to_child_pos_meos(child, parentRes); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static long h3_child_pos_to_cell_meos(long childPos, long parent, int childRes) { - var _result = _meos_b.h3_child_pos_to_cell_meos(childPos, parent, childRes); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int h3_get_resolution_meos(long hex) { - var _result = _meos_b.h3_get_resolution_meos(hex); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int h3_get_base_cell_number_meos(long hex) { - var _result = _meos_b.h3_get_base_cell_number_meos(hex); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean h3_is_valid_cell_meos(long hex) { - var _result = _meos_b.h3_is_valid_cell_meos(hex); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean h3_is_res_class_iii_meos(long hex) { - var _result = _meos_b.h3_is_res_class_iii_meos(hex); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean h3_is_pentagon_meos(long hex) { - var _result = _meos_b.h3_is_pentagon_meos(hex); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static long h3_get_num_cells_meos(int resolution) { - var _result = _meos_b.h3_get_num_cells_meos(resolution); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static long h3_grid_distance_meos(long originIndex, long h3Index) { - var _result = _meos_b.h3_grid_distance_meos(originIndex, h3Index); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static long h3_cell_to_vertex_meos(long cell, int vertexNum) { - var _result = _meos_b.h3_cell_to_vertex_meos(cell, vertexNum); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean h3_is_valid_vertex_meos(long vertex) { - var _result = _meos_b.h3_is_valid_vertex_meos(vertex); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static long h3index_parse(String str) { - var _result = _meos_b.h3index_parse(str); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static String h3index_to_string(long cell) { - var _result = _meos_b.h3index_to_string(cell); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean h3index_eq(long a, long b) { - var _result = _meos_b.h3index_eq(a, b); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean h3index_ne(long a, long b) { - var _result = _meos_b.h3index_ne(a, b); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean h3index_lt(long a, long b) { - var _result = _meos_b.h3index_lt(a, b); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean h3index_le(long a, long b) { - var _result = _meos_b.h3index_le(a, b); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean h3index_gt(long a, long b) { - var _result = _meos_b.h3index_gt(a, b); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean h3index_ge(long a, long b) { - var _result = _meos_b.h3index_ge(a, b); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int h3index_cmp(long a, long b) { - var _result = _meos_b.h3index_cmp(a, b); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int h3index_hash(long cell) { - var _result = _meos_b.h3index_hash(cell); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer h3_grid_disk(long origin, int k) { - var _result = _meos_b.h3_grid_disk(origin, k); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer h3_grid_ring(long origin, int k) { - var _result = _meos_b.h3_grid_ring(origin, k); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer h3_grid_path_cells(long start, long end) { - var _result = _meos_b.h3_grid_path_cells(start, end); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer h3_cell_to_children(long origin, int childRes) { - var _result = _meos_b.h3_cell_to_children(origin, childRes); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer h3_compact_cells(Pointer cells) { - var _result = _meos_b.h3_compact_cells(cells); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer h3_uncompact_cells(Pointer cells, int res) { - var _result = _meos_b.h3_uncompact_cells(cells, res); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer h3_origin_to_directed_edges(long origin) { - var _result = _meos_b.h3_origin_to_directed_edges(origin); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer h3_cell_to_vertexes(long cell) { - var _result = _meos_b.h3_cell_to_vertexes(cell); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer h3_get_icosahedron_faces(long cell) { - var _result = _meos_b.h3_get_icosahedron_faces(cell); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean ensure_valid_th3index_th3index(Pointer temp1, Pointer temp2) { - var _result = _meos_b.ensure_valid_th3index_th3index(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean ensure_valid_th3index_h3index(Pointer temp, long cell) { - var _result = _meos_b.ensure_valid_th3index_h3index(temp, cell); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean ensure_valid_th3index_tgeogpoint(Pointer temp1, Pointer temp2) { - var _result = _meos_b.ensure_valid_th3index_tgeogpoint(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int datum2_h3index_eq(int d1, int d2, int type) { - var _result = _meos_b.datum2_h3index_eq(d1, d2, type); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int datum2_h3index_ne(int d1, int d2, int type) { - var _result = _meos_b.datum2_h3index_ne(d1, d2, type); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static void th3indexinst_set_stbox(Pointer inst, Pointer box) { - _meos_b.th3indexinst_set_stbox(inst, box); - MeosErrorHandler.checkError(); - } - - @SuppressWarnings("unused") - public static void th3indexinstarr_set_stbox(Pointer instants, int count, Pointer box) { - _meos_b.th3indexinstarr_set_stbox(instants, count, box); - MeosErrorHandler.checkError(); - } - - @SuppressWarnings("unused") - public static void th3indexseq_expand_stbox(Pointer seq, Pointer inst) { - _meos_b.th3indexseq_expand_stbox(seq, inst); - MeosErrorHandler.checkError(); - } - - @SuppressWarnings("unused") - public static long h3_gs_point_to_cell(Pointer point, int resolution) { - var _result = _meos_b.h3_gs_point_to_cell(point, resolution); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer h3_cell_to_gs_point(long cell) { - var _result = _meos_b.h3_cell_to_gs_point(cell); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer h3_cell_to_gs_boundary(long cell) { - var _result = _meos_b.h3_cell_to_gs_boundary(cell); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer cell_boundary_to_gs(Pointer bnd) { - var _result = _meos_b.cell_boundary_to_gs(bnd); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double h3_sample_step_deg(int resolution) { - var _result = _meos_b.h3_sample_step_deg(resolution); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static long h3_latlng_deg_to_cell(double lat_deg, double lng_deg, int resolution) { - var _result = _meos_b.h3_latlng_deg_to_cell(lat_deg, lng_deg, resolution); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static long h3_cell_to_parent_next_meos(long cell) { - var _result = _meos_b.h3_cell_to_parent_next_meos(cell); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static long h3_cell_to_center_child_next_meos(long cell) { - var _result = _meos_b.h3_cell_to_center_child_next_meos(cell); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer h3_directed_edge_to_gs_boundary(long edge) { - var _result = _meos_b.h3_directed_edge_to_gs_boundary(edge); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer h3_vertex_to_gs_point(long vertex) { - var _result = _meos_b.h3_vertex_to_gs_point(vertex); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer h3_cell_to_local_ij_meos(long origin, long cell) { - var _result = _meos_b.h3_cell_to_local_ij_meos(origin, cell); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static long h3_local_ij_to_cell_meos(long origin, Pointer coord) { - var _result = _meos_b.h3_local_ij_to_cell_meos(origin, coord); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int h3_unit_from_cstring(String unit) { - var _result = _meos_b.h3_unit_from_cstring(unit); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double h3_cell_area_meos(long cell, int unit) { - var _result = _meos_b.h3_cell_area_meos(cell, unit); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double h3_edge_length_meos(long edge, int unit) { - var _result = _meos_b.h3_edge_length_meos(edge, unit); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double h3_gs_great_circle_distance_meos(Pointer a, Pointer b, int unit) { - var _result = _meos_b.h3_gs_great_circle_distance_meos(a, b, unit); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int datum_h3_get_resolution(int d) { - var _result = _meos_b.datum_h3_get_resolution(d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int datum_h3_get_base_cell_number(int d) { - var _result = _meos_b.datum_h3_get_base_cell_number(d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int datum_h3_is_valid_cell(int d) { - var _result = _meos_b.datum_h3_is_valid_cell(d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int datum_h3_is_res_class_iii(int d) { - var _result = _meos_b.datum_h3_is_res_class_iii(d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int datum_h3_is_pentagon(int d) { - var _result = _meos_b.datum_h3_is_pentagon(d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int datum_h3_cell_to_parent(int cell_d, int res_d) { - var _result = _meos_b.datum_h3_cell_to_parent(cell_d, res_d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int datum_h3_cell_to_parent_next(int cell_d) { - var _result = _meos_b.datum_h3_cell_to_parent_next(cell_d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int datum_h3_cell_to_center_child(int cell_d, int res_d) { - var _result = _meos_b.datum_h3_cell_to_center_child(cell_d, res_d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int datum_h3_cell_to_center_child_next(int cell_d) { - var _result = _meos_b.datum_h3_cell_to_center_child_next(cell_d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int datum_h3_cell_to_child_pos(int cell_d, int parent_res_d) { - var _result = _meos_b.datum_h3_cell_to_child_pos(cell_d, parent_res_d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int datum_h3_child_pos_to_cell(int pos_d, int parent_d, int child_res_d) { - var _result = _meos_b.datum_h3_child_pos_to_cell(pos_d, parent_d, child_res_d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int datum_h3_are_neighbor_cells(int origin_d, int dest_d) { - var _result = _meos_b.datum_h3_are_neighbor_cells(origin_d, dest_d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int datum_h3_cells_to_directed_edge(int origin_d, int dest_d) { - var _result = _meos_b.datum_h3_cells_to_directed_edge(origin_d, dest_d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int datum_h3_is_valid_directed_edge(int d) { - var _result = _meos_b.datum_h3_is_valid_directed_edge(d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int datum_h3_get_directed_edge_origin(int d) { - var _result = _meos_b.datum_h3_get_directed_edge_origin(d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int datum_h3_get_directed_edge_destination(int d) { - var _result = _meos_b.datum_h3_get_directed_edge_destination(d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int datum_h3_directed_edge_to_boundary(int d) { - var _result = _meos_b.datum_h3_directed_edge_to_boundary(d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int datum_h3_cell_to_vertex(int cell_d, int vnum_d) { - var _result = _meos_b.datum_h3_cell_to_vertex(cell_d, vnum_d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int datum_h3_vertex_to_latlng(int d) { - var _result = _meos_b.datum_h3_vertex_to_latlng(d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int datum_h3_is_valid_vertex(int d) { - var _result = _meos_b.datum_h3_is_valid_vertex(d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int datum_h3_grid_distance(int origin_d, int dest_d) { - var _result = _meos_b.datum_h3_grid_distance(origin_d, dest_d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int datum_h3_cell_to_local_ij(int origin_d, int cell_d) { - var _result = _meos_b.datum_h3_cell_to_local_ij(origin_d, cell_d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int datum_h3_local_ij_to_cell(int origin_d, int coord_d) { - var _result = _meos_b.datum_h3_local_ij_to_cell(origin_d, coord_d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int datum_h3_latlng_to_cell(int point_d, int res_d) { - var _result = _meos_b.datum_h3_latlng_to_cell(point_d, res_d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int datum_h3_cell_to_latlng(int d) { - var _result = _meos_b.datum_h3_cell_to_latlng(d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int datum_h3_cell_to_boundary(int d) { - var _result = _meos_b.datum_h3_cell_to_boundary(d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int datum_h3_cell_area(int cell_d, int unit_d) { - var _result = _meos_b.datum_h3_cell_area(cell_d, unit_d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int datum_h3_edge_length(int edge_d, int unit_d) { - var _result = _meos_b.datum_h3_edge_length(edge_d, unit_d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int datum_h3_great_circle_distance(int a_d, int b_d, int unit_d) { - var _result = _meos_b.datum_h3_great_circle_distance(a_d, b_d, unit_d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer geo_as_ewkb(Pointer gs, String endian, Pointer size) { - var _result = _meos_b.geo_as_ewkb(gs, endian, size); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static String geo_as_ewkt(Pointer gs, int precision) { - var _result = _meos_b.geo_as_ewkt(gs, precision); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static String geo_as_geojson(Pointer gs, int option, int precision, String srs) { - var _result = _meos_b.geo_as_geojson(gs, option, precision, srs); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static String geo_as_hexewkb(Pointer gs, String endian) { - var _result = _meos_b.geo_as_hexewkb(gs, endian); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static String geo_as_text(Pointer gs, int precision) { - var _result = _meos_b.geo_as_text(gs, precision); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer geo_from_ewkb(Pointer wkb, long wkb_size, int srid) { - var _result = _meos_b.geo_from_ewkb(wkb, wkb_size, srid); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer geo_from_geojson(String geojson) { - var _result = _meos_b.geo_from_geojson(geojson); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer geo_from_text(String wkt, int srid) { - var _result = _meos_b.geo_from_text(wkt, srid); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static String geo_out(Pointer gs) { - var _result = _meos_b.geo_out(gs); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer geog_from_binary(String wkb_bytea) { - var _result = _meos_b.geog_from_binary(wkb_bytea); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer geog_from_hexewkb(String wkt) { - var _result = _meos_b.geog_from_hexewkb(wkt); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer geog_in(String str, int typmod) { - var _result = _meos_b.geog_in(str, typmod); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer geom_from_hexewkb(String wkt) { - var _result = _meos_b.geom_from_hexewkb(wkt); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer geom_in(String str, int typmod) { - var _result = _meos_b.geom_in(str, typmod); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer box3d_make(double xmin, double xmax, double ymin, double ymax, double zmin, double zmax, int srid) { - var _result = _meos_b.box3d_make(xmin, xmax, ymin, ymax, zmin, zmax, srid); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static String box3d_out(Pointer box, int maxdd) { - var _result = _meos_b.box3d_out(box, maxdd); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer gbox_make(boolean hasz, double xmin, double xmax, double ymin, double ymax, double zmin, double zmax) { - var _result = _meos_b.gbox_make(hasz, xmin, xmax, ymin, ymax, zmin, zmax); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static String gbox_out(Pointer box, int maxdd) { - var _result = _meos_b.gbox_out(box, maxdd); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer geo_copy(Pointer g) { - var _result = _meos_b.geo_copy(g); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer geogpoint_make2d(int srid, double x, double y) { - var _result = _meos_b.geogpoint_make2d(srid, x, y); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer geogpoint_make3dz(int srid, double x, double y, double z) { - var _result = _meos_b.geogpoint_make3dz(srid, x, y, z); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer geompoint_make2d(int srid, double x, double y) { - var _result = _meos_b.geompoint_make2d(srid, x, y); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer geompoint_make3dz(int srid, double x, double y, double z) { - var _result = _meos_b.geompoint_make3dz(srid, x, y, z); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer geom_to_geog(Pointer geom) { - var _result = _meos_b.geom_to_geog(geom); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer geog_to_geom(Pointer geog) { - var _result = _meos_b.geog_to_geom(geog); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean geo_is_empty(Pointer g) { - var _result = _meos_c.geo_is_empty(g); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean geo_is_unitary(Pointer gs) { - var _result = _meos_c.geo_is_unitary(gs); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static String geo_typename(int type) { - var _result = _meos_c.geo_typename(type); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double geog_area(Pointer g, boolean use_spheroid) { - var _result = _meos_c.geog_area(g, use_spheroid); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer geog_centroid(Pointer g, boolean use_spheroid) { - var _result = _meos_c.geog_centroid(g, use_spheroid); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double geog_length(Pointer g, boolean use_spheroid) { - var _result = _meos_c.geog_length(g, use_spheroid); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double geog_perimeter(Pointer g, boolean use_spheroid) { - var _result = _meos_c.geog_perimeter(g, use_spheroid); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer geom_azimuth(Pointer gs1, Pointer gs2) { - boolean out; - Runtime runtime = Runtime.getSystemRuntime(); - Pointer result = Memory.allocateDirect(runtime, Double.BYTES); - out = _meos_c.geom_azimuth(gs1, gs2, result); - MeosErrorHandler.checkError(); - return out ? result : null; - } - - @SuppressWarnings("unused") - public static double geom_length(Pointer gs) { - var _result = _meos_c.geom_length(gs); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double geom_perimeter(Pointer gs) { - var _result = _meos_c.geom_perimeter(gs); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int line_numpoints(Pointer gs) { - var _result = _meos_c.line_numpoints(gs); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer line_point_n(Pointer geom, int n) { - var _result = _meos_c.line_point_n(geom, n); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer geo_reverse(Pointer gs) { - var _result = _meos_c.geo_reverse(gs); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer geo_round(Pointer gs, int maxdd) { - var _result = _meos_c.geo_round(gs, maxdd); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer geo_set_srid(Pointer gs, int srid) { - var _result = _meos_c.geo_set_srid(gs, srid); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int geo_srid(Pointer gs) { - var _result = _meos_c.geo_srid(gs); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer geo_transform(Pointer geom, int srid_to) { - var _result = _meos_c.geo_transform(geom, srid_to); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer geo_transform_pipeline(Pointer gs, String pipeline, int srid_to, boolean is_forward) { - var _result = _meos_c.geo_transform_pipeline(gs, pipeline, srid_to, is_forward); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer geo_collect_garray(Pointer gsarr, int count) { - var _result = _meos_c.geo_collect_garray(gsarr, count); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer geo_makeline_garray(Pointer gsarr, int count) { - var _result = _meos_c.geo_makeline_garray(gsarr, count); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int geo_num_points(Pointer gs) { - var _result = _meos_c.geo_num_points(gs); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int geo_num_geos(Pointer gs) { - var _result = _meos_c.geo_num_geos(gs); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer geo_geo_n(Pointer geom, int n) { - var _result = _meos_c.geo_geo_n(geom, n); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer geo_pointarr(Pointer gs, Pointer count) { - var _result = _meos_c.geo_pointarr(gs, count); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer geo_points(Pointer gs) { - var _result = _meos_c.geo_points(gs); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer geom_array_union(Pointer gsarr, int count) { - var _result = _meos_c.geom_array_union(gsarr, count); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer geom_boundary(Pointer gs) { - var _result = _meos_c.geom_boundary(gs); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer geom_buffer(Pointer gs, double size, String params) { - var _result = _meos_c.geom_buffer(gs, size, params); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer geom_centroid(Pointer gs) { - var _result = _meos_c.geom_centroid(gs); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer geom_convex_hull(Pointer gs) { - var _result = _meos_c.geom_convex_hull(gs); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer geom_difference2d(Pointer gs1, Pointer gs2) { - var _result = _meos_c.geom_difference2d(gs1, gs2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer geom_intersection2d(Pointer gs1, Pointer gs2) { - var _result = _meos_c.geom_intersection2d(gs1, gs2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer geom_intersection2d_coll(Pointer gs1, Pointer gs2) { - var _result = _meos_c.geom_intersection2d_coll(gs1, gs2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer geom_min_bounding_radius(Pointer geom, Pointer radius) { - var _result = _meos_c.geom_min_bounding_radius(geom, radius); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer geom_shortestline2d(Pointer gs1, Pointer s2) { - var _result = _meos_c.geom_shortestline2d(gs1, s2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer geom_shortestline3d(Pointer gs1, Pointer s2) { - var _result = _meos_c.geom_shortestline3d(gs1, s2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer geom_unary_union(Pointer gs, double prec) { - var _result = _meos_c.geom_unary_union(gs, prec); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer line_interpolate_point(Pointer gs, double distance_fraction, boolean repeat) { - var _result = _meos_c.line_interpolate_point(gs, distance_fraction, repeat); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double line_locate_point(Pointer gs1, Pointer gs2) { - var _result = _meos_c.line_locate_point(gs1, gs2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer line_substring(Pointer gs, double from, double to) { - var _result = _meos_c.line_substring(gs, from, to); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean geog_dwithin(Pointer g1, Pointer g2, double tolerance, boolean use_spheroid) { - var _result = _meos_c.geog_dwithin(g1, g2, tolerance, use_spheroid); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean geog_intersects(Pointer gs1, Pointer gs2, boolean use_spheroid) { - var _result = _meos_c.geog_intersects(gs1, gs2, use_spheroid); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean geom_contains(Pointer gs1, Pointer gs2) { - var _result = _meos_c.geom_contains(gs1, gs2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean geom_covers(Pointer gs1, Pointer gs2) { - var _result = _meos_c.geom_covers(gs1, gs2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean geom_disjoint2d(Pointer gs1, Pointer gs2) { - var _result = _meos_c.geom_disjoint2d(gs1, gs2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean geom_dwithin2d(Pointer gs1, Pointer gs2, double tolerance) { - var _result = _meos_c.geom_dwithin2d(gs1, gs2, tolerance); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean geom_dwithin3d(Pointer gs1, Pointer gs2, double tolerance) { - var _result = _meos_c.geom_dwithin3d(gs1, gs2, tolerance); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean geom_intersects2d(Pointer gs1, Pointer gs2) { - var _result = _meos_c.geom_intersects2d(gs1, gs2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean geom_intersects3d(Pointer gs1, Pointer gs2) { - var _result = _meos_c.geom_intersects3d(gs1, gs2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean geom_relate_pattern(Pointer gs1, Pointer gs2, String patt) { - var _result = _meos_c.geom_relate_pattern(gs1, gs2, patt); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean geom_touches(Pointer gs1, Pointer gs2) { - var _result = _meos_c.geom_touches(gs1, gs2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer geo_stboxes(Pointer gs, Pointer count) { - var _result = _meos_c.geo_stboxes(gs, count); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer geo_split_each_n_stboxes(Pointer gs, int elem_count, Pointer count) { - var _result = _meos_c.geo_split_each_n_stboxes(gs, elem_count, count); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer geo_split_n_stboxes(Pointer gs, int box_count, Pointer count) { - var _result = _meos_c.geo_split_n_stboxes(gs, box_count, count); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double geog_distance(Pointer g1, Pointer g2) { - var _result = _meos_c.geog_distance(g1, g2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double geom_distance2d(Pointer gs1, Pointer gs2) { - var _result = _meos_c.geom_distance2d(gs1, gs2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double geom_distance3d(Pointer gs1, Pointer gs2) { - var _result = _meos_c.geom_distance3d(gs1, gs2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int geo_equals(Pointer gs1, Pointer gs2) { - var _result = _meos_c.geo_equals(gs1, gs2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean geo_same(Pointer gs1, Pointer gs2) { - var _result = _meos_c.geo_same(gs1, gs2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer geogset_in(String str) { - var _result = _meos_c.geogset_in(str); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer geomset_in(String str) { - var _result = _meos_c.geomset_in(str); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static String spatialset_as_text(Pointer set, int maxdd) { - var _result = _meos_c.spatialset_as_text(set, maxdd); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static String spatialset_as_ewkt(Pointer set, int maxdd) { - var _result = _meos_c.spatialset_as_ewkt(set, maxdd); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer geoset_make(Pointer values, int count) { - var _result = _meos_c.geoset_make(values, count); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer geo_to_set(Pointer gs) { - var _result = _meos_c.geo_to_set(gs); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer geoset_end_value(Pointer s) { - var _result = _meos_c.geoset_end_value(s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer geoset_start_value(Pointer s) { - var _result = _meos_c.geoset_start_value(s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer geoset_value_n(Pointer s, int n) { - boolean out; - Runtime runtime = Runtime.getSystemRuntime(); - Pointer result = Memory.allocateDirect(runtime, Long.BYTES); - out = _meos_c.geoset_value_n(s, n, result); - Pointer new_result = result.getPointer(0); - MeosErrorHandler.checkError(); - return out ? new_result : null; - } - - @SuppressWarnings("unused") - public static Pointer geoset_values(Pointer s) { - var _result = _meos_c.geoset_values(s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean contained_geo_set(Pointer gs, Pointer s) { - var _result = _meos_c.contained_geo_set(gs, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean contains_set_geo(Pointer s, Pointer gs) { - var _result = _meos_c.contains_set_geo(s, gs); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer geo_union_transfn(Pointer state, Pointer gs) { - var _result = _meos_c.geo_union_transfn(state, gs); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer intersection_geo_set(Pointer gs, Pointer s) { - var _result = _meos_c.intersection_geo_set(gs, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer intersection_set_geo(Pointer s, Pointer gs) { - var _result = _meos_c.intersection_set_geo(s, gs); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer minus_geo_set(Pointer gs, Pointer s) { - var _result = _meos_c.minus_geo_set(gs, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer minus_set_geo(Pointer s, Pointer gs) { - var _result = _meos_c.minus_set_geo(s, gs); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer union_geo_set(Pointer gs, Pointer s) { - var _result = _meos_c.union_geo_set(gs, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer union_set_geo(Pointer s, Pointer gs) { - var _result = _meos_c.union_set_geo(s, gs); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer spatialset_set_srid(Pointer s, int srid) { - var _result = _meos_c.spatialset_set_srid(s, srid); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int spatialset_srid(Pointer s) { - var _result = _meos_c.spatialset_srid(s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer spatialset_transform(Pointer s, int srid) { - var _result = _meos_c.spatialset_transform(s, srid); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer spatialset_transform_pipeline(Pointer s, String pipelinestr, int srid, boolean is_forward) { - var _result = _meos_c.spatialset_transform_pipeline(s, pipelinestr, srid, is_forward); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static String stbox_as_hexwkb(Pointer box, byte variant, Pointer size) { - var _result = _meos_c.stbox_as_hexwkb(box, variant, size); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer stbox_as_wkb(Pointer box, byte variant) { - Runtime runtime = Runtime.getSystemRuntime(); - Pointer size_out = Memory.allocateDirect(runtime, Long.BYTES); - var _result = _meos_c.stbox_as_wkb(box, variant, size_out); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer stbox_from_hexwkb(String hexwkb) { - var _result = _meos_c.stbox_from_hexwkb(hexwkb); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer stbox_from_wkb(Pointer wkb, long size) { - var _result = _meos_c.stbox_from_wkb(wkb, size); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer stbox_in(String str) { - var _result = _meos_c.stbox_in(str); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static String stbox_out(Pointer box, int maxdd) { - var _result = _meos_c.stbox_out(box, maxdd); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer geo_timestamptz_to_stbox(Pointer gs, OffsetDateTime t) { - var t_new = t.toEpochSecond(); - var _result = _meos_c.geo_timestamptz_to_stbox(gs, t_new); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer geo_tstzspan_to_stbox(Pointer gs, Pointer s) { - var _result = _meos_c.geo_tstzspan_to_stbox(gs, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer stbox_copy(Pointer box) { - var _result = _meos_c.stbox_copy(box); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer stbox_make(boolean hasx, boolean hasz, boolean geodetic, int srid, double xmin, double xmax, double ymin, double ymax, double zmin, double zmax, Pointer s) { - var _result = _meos_c.stbox_make(hasx, hasz, geodetic, srid, xmin, xmax, ymin, ymax, zmin, zmax, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer geo_to_stbox(Pointer gs) { - var _result = _meos_c.geo_to_stbox(gs); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer spatialset_to_stbox(Pointer s) { - var _result = _meos_c.spatialset_to_stbox(s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer stbox_to_box3d(Pointer box) { - var _result = _meos_c.stbox_to_box3d(box); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer stbox_to_gbox(Pointer box) { - var _result = _meos_c.stbox_to_gbox(box); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer stbox_to_geo(Pointer box) { - var _result = _meos_c.stbox_to_geo(box); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer stbox_to_tstzspan(Pointer box) { - var _result = _meos_c.stbox_to_tstzspan(box); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer timestamptz_to_stbox(OffsetDateTime t) { - var t_new = t.toEpochSecond(); - var _result = _meos_c.timestamptz_to_stbox(t_new); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tstzset_to_stbox(Pointer s) { - var _result = _meos_c.tstzset_to_stbox(s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tstzspan_to_stbox(Pointer s) { - var _result = _meos_c.tstzspan_to_stbox(s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tstzspanset_to_stbox(Pointer ss) { - var _result = _meos_c.tstzspanset_to_stbox(ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double stbox_area(Pointer box, boolean spheroid) { - var _result = _meos_c.stbox_area(box, spheroid); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int stbox_hash(Pointer box) { - var _result = _meos_c.stbox_hash(box); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static long stbox_hash_extended(Pointer box, long seed) { - var _result = _meos_c.stbox_hash_extended(box, seed); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean stbox_hast(Pointer box) { - var _result = _meos_c.stbox_hast(box); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean stbox_hasx(Pointer box) { - var _result = _meos_c.stbox_hasx(box); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean stbox_hasz(Pointer box) { - var _result = _meos_c.stbox_hasz(box); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean stbox_isgeodetic(Pointer box) { - var _result = _meos_c.stbox_isgeodetic(box); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double stbox_perimeter(Pointer box, boolean spheroid) { - var _result = _meos_c.stbox_perimeter(box, spheroid); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer stbox_tmax(Pointer box) { - boolean out; - Runtime runtime = Runtime.getSystemRuntime(); - Pointer result = Memory.allocateDirect(runtime, Long.BYTES); - out = _meos_c.stbox_tmax(box, result); - MeosErrorHandler.checkError(); - return out ? result : null; - } - - @SuppressWarnings("unused") - public static Pointer stbox_tmax_inc(Pointer box) { - boolean out; - Runtime runtime = Runtime.getSystemRuntime(); - Pointer result = Memory.allocateDirect(runtime, Byte.BYTES); - out = _meos_c.stbox_tmax_inc(box, result); - MeosErrorHandler.checkError(); - return out ? result : null; - } - - @SuppressWarnings("unused") - public static Pointer stbox_tmin(Pointer box) { - boolean out; - Runtime runtime = Runtime.getSystemRuntime(); - Pointer result = Memory.allocateDirect(runtime, Long.BYTES); - out = _meos_c.stbox_tmin(box, result); - MeosErrorHandler.checkError(); - return out ? result : null; - } - - @SuppressWarnings("unused") - public static Pointer stbox_tmin_inc(Pointer box) { - boolean out; - Runtime runtime = Runtime.getSystemRuntime(); - Pointer result = Memory.allocateDirect(runtime, Byte.BYTES); - out = _meos_c.stbox_tmin_inc(box, result); - MeosErrorHandler.checkError(); - return out ? result : null; - } - - @SuppressWarnings("unused") - public static double stbox_volume(Pointer box) { - var _result = _meos_c.stbox_volume(box); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer stbox_xmax(Pointer box) { - boolean out; - Runtime runtime = Runtime.getSystemRuntime(); - Pointer result = Memory.allocateDirect(runtime, Double.BYTES); - out = _meos_c.stbox_xmax(box, result); - MeosErrorHandler.checkError(); - return out ? result : null; - } - - @SuppressWarnings("unused") - public static Pointer stbox_xmin(Pointer box) { - boolean out; - Runtime runtime = Runtime.getSystemRuntime(); - Pointer result = Memory.allocateDirect(runtime, Double.BYTES); - out = _meos_c.stbox_xmin(box, result); - MeosErrorHandler.checkError(); - return out ? result : null; - } - - @SuppressWarnings("unused") - public static Pointer stbox_ymax(Pointer box) { - boolean out; - Runtime runtime = Runtime.getSystemRuntime(); - Pointer result = Memory.allocateDirect(runtime, Double.BYTES); - out = _meos_c.stbox_ymax(box, result); - MeosErrorHandler.checkError(); - return out ? result : null; - } - - @SuppressWarnings("unused") - public static Pointer stbox_ymin(Pointer box) { - boolean out; - Runtime runtime = Runtime.getSystemRuntime(); - Pointer result = Memory.allocateDirect(runtime, Double.BYTES); - out = _meos_c.stbox_ymin(box, result); - MeosErrorHandler.checkError(); - return out ? result : null; - } - - @SuppressWarnings("unused") - public static Pointer stbox_zmax(Pointer box) { - boolean out; - Runtime runtime = Runtime.getSystemRuntime(); - Pointer result = Memory.allocateDirect(runtime, Double.BYTES); - out = _meos_c.stbox_zmax(box, result); - MeosErrorHandler.checkError(); - return out ? result : null; - } - - @SuppressWarnings("unused") - public static Pointer stbox_zmin(Pointer box) { - boolean out; - Runtime runtime = Runtime.getSystemRuntime(); - Pointer result = Memory.allocateDirect(runtime, Double.BYTES); - out = _meos_c.stbox_zmin(box, result); - MeosErrorHandler.checkError(); - return out ? result : null; - } - - @SuppressWarnings("unused") - public static Pointer stbox_expand_space(Pointer box, double d) { - var _result = _meos_c.stbox_expand_space(box, d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer stbox_expand_time(Pointer box, Pointer interv) { - var _result = _meos_c.stbox_expand_time(box, interv); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer stbox_get_space(Pointer box) { - var _result = _meos_c.stbox_get_space(box); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer stbox_quad_split(Pointer box, Pointer count) { - var _result = _meos_c.stbox_quad_split(box, count); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer stbox_round(Pointer box, int maxdd) { - var _result = _meos_c.stbox_round(box, maxdd); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer stbox_shift_scale_time(Pointer box, Pointer shift, Pointer duration) { - var _result = _meos_c.stbox_shift_scale_time(box, shift, duration); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer stboxarr_round(Pointer boxarr, int count, int maxdd) { - var _result = _meos_c.stboxarr_round(boxarr, count, maxdd); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer stbox_set_srid(Pointer box, int srid) { - var _result = _meos_c.stbox_set_srid(box, srid); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int stbox_srid(Pointer box) { - var _result = _meos_c.stbox_srid(box); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer stbox_transform(Pointer box, int srid) { - var _result = _meos_c.stbox_transform(box, srid); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer stbox_transform_pipeline(Pointer box, String pipelinestr, int srid, boolean is_forward) { - var _result = _meos_c.stbox_transform_pipeline(box, pipelinestr, srid, is_forward); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean adjacent_stbox_stbox(Pointer box1, Pointer box2) { - var _result = _meos_c.adjacent_stbox_stbox(box1, box2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean contained_stbox_stbox(Pointer box1, Pointer box2) { - var _result = _meos_c.contained_stbox_stbox(box1, box2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean contains_stbox_stbox(Pointer box1, Pointer box2) { - var _result = _meos_c.contains_stbox_stbox(box1, box2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overlaps_stbox_stbox(Pointer box1, Pointer box2) { - var _result = _meos_c.overlaps_stbox_stbox(box1, box2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean same_stbox_stbox(Pointer box1, Pointer box2) { - var _result = _meos_c.same_stbox_stbox(box1, box2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean above_stbox_stbox(Pointer box1, Pointer box2) { - var _result = _meos_c.above_stbox_stbox(box1, box2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean after_stbox_stbox(Pointer box1, Pointer box2) { - var _result = _meos_c.after_stbox_stbox(box1, box2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean back_stbox_stbox(Pointer box1, Pointer box2) { - var _result = _meos_c.back_stbox_stbox(box1, box2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean before_stbox_stbox(Pointer box1, Pointer box2) { - var _result = _meos_c.before_stbox_stbox(box1, box2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean below_stbox_stbox(Pointer box1, Pointer box2) { - var _result = _meos_c.below_stbox_stbox(box1, box2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean front_stbox_stbox(Pointer box1, Pointer box2) { - var _result = _meos_c.front_stbox_stbox(box1, box2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean left_stbox_stbox(Pointer box1, Pointer box2) { - var _result = _meos_c.left_stbox_stbox(box1, box2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overabove_stbox_stbox(Pointer box1, Pointer box2) { - var _result = _meos_c.overabove_stbox_stbox(box1, box2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overafter_stbox_stbox(Pointer box1, Pointer box2) { - var _result = _meos_c.overafter_stbox_stbox(box1, box2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overback_stbox_stbox(Pointer box1, Pointer box2) { - var _result = _meos_c.overback_stbox_stbox(box1, box2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overbefore_stbox_stbox(Pointer box1, Pointer box2) { - var _result = _meos_c.overbefore_stbox_stbox(box1, box2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overbelow_stbox_stbox(Pointer box1, Pointer box2) { - var _result = _meos_c.overbelow_stbox_stbox(box1, box2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overfront_stbox_stbox(Pointer box1, Pointer box2) { - var _result = _meos_c.overfront_stbox_stbox(box1, box2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overleft_stbox_stbox(Pointer box1, Pointer box2) { - var _result = _meos_c.overleft_stbox_stbox(box1, box2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overright_stbox_stbox(Pointer box1, Pointer box2) { - var _result = _meos_c.overright_stbox_stbox(box1, box2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean right_stbox_stbox(Pointer box1, Pointer box2) { - var _result = _meos_c.right_stbox_stbox(box1, box2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer union_stbox_stbox(Pointer box1, Pointer box2, boolean strict) { - var _result = _meos_c.union_stbox_stbox(box1, box2, strict); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer intersection_stbox_stbox(Pointer box1, Pointer box2) { - var _result = _meos_c.intersection_stbox_stbox(box1, box2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int stbox_cmp(Pointer box1, Pointer box2) { - var _result = _meos_c.stbox_cmp(box1, box2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean stbox_eq(Pointer box1, Pointer box2) { - var _result = _meos_c.stbox_eq(box1, box2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean stbox_ge(Pointer box1, Pointer box2) { - var _result = _meos_c.stbox_ge(box1, box2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean stbox_gt(Pointer box1, Pointer box2) { - var _result = _meos_c.stbox_gt(box1, box2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean stbox_le(Pointer box1, Pointer box2) { - var _result = _meos_c.stbox_le(box1, box2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean stbox_lt(Pointer box1, Pointer box2) { - var _result = _meos_c.stbox_lt(box1, box2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean stbox_ne(Pointer box1, Pointer box2) { - var _result = _meos_c.stbox_ne(box1, box2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tgeogpoint_from_mfjson(String str) { - var _result = _meos_c.tgeogpoint_from_mfjson(str); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tgeogpoint_in(String str) { - var _result = _meos_c.tgeogpoint_in(str); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tgeography_from_mfjson(String mfjson) { - var _result = _meos_c.tgeography_from_mfjson(mfjson); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tgeography_in(String str) { - var _result = _meos_c.tgeography_in(str); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tgeometry_from_mfjson(String str) { - var _result = _meos_c.tgeometry_from_mfjson(str); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tgeometry_in(String str) { - var _result = _meos_c.tgeometry_in(str); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tgeompoint_from_mfjson(String str) { - var _result = _meos_c.tgeompoint_from_mfjson(str); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tgeompoint_in(String str) { - var _result = _meos_c.tgeompoint_in(str); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static String tspatial_as_ewkt(Pointer temp, int maxdd) { - var _result = _meos_c.tspatial_as_ewkt(temp, maxdd); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static String tspatial_as_text(Pointer temp, int maxdd) { - var _result = _meos_c.tspatial_as_text(temp, maxdd); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static String tspatial_out(Pointer temp, int maxdd) { - var _result = _meos_c.tspatial_out(temp, maxdd); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tgeo_from_base_temp(Pointer gs, Pointer temp) { - var _result = _meos_c.tgeo_from_base_temp(gs, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tgeoinst_make(Pointer gs, OffsetDateTime t) { - var t_new = t.toEpochSecond(); - var _result = _meos_c.tgeoinst_make(gs, t_new); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tgeoseq_from_base_tstzset(Pointer gs, Pointer s) { - var _result = _meos_c.tgeoseq_from_base_tstzset(gs, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tgeoseq_from_base_tstzspan(Pointer gs, Pointer s, int interp) { - var _result = _meos_c.tgeoseq_from_base_tstzspan(gs, s, interp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tgeoseqset_from_base_tstzspanset(Pointer gs, Pointer ss, int interp) { - var _result = _meos_c.tgeoseqset_from_base_tstzspanset(gs, ss, interp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tpoint_from_base_temp(Pointer gs, Pointer temp) { - var _result = _meos_c.tpoint_from_base_temp(gs, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tpointinst_make(Pointer gs, OffsetDateTime t) { - var t_new = t.toEpochSecond(); - var _result = _meos_c.tpointinst_make(gs, t_new); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tpointseq_from_base_tstzset(Pointer gs, Pointer s) { - var _result = _meos_c.tpointseq_from_base_tstzset(gs, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tpointseq_from_base_tstzspan(Pointer gs, Pointer s, int interp) { - var _result = _meos_c.tpointseq_from_base_tstzspan(gs, s, interp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tpointseq_make_coords(Pointer xcoords, Pointer ycoords, Pointer zcoords, Pointer times, int count, int srid, boolean geodetic, boolean lower_inc, boolean upper_inc, int interp, boolean normalize) { - var _result = _meos_c.tpointseq_make_coords(xcoords, ycoords, zcoords, times, count, srid, geodetic, lower_inc, upper_inc, interp, normalize); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tpointseqset_from_base_tstzspanset(Pointer gs, Pointer ss, int interp) { - var _result = _meos_c.tpointseqset_from_base_tstzspanset(gs, ss, interp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer box3d_to_stbox(Pointer box) { - var _result = _meos_c.box3d_to_stbox(box); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer gbox_to_stbox(Pointer box) { - var _result = _meos_c.gbox_to_stbox(box); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer geomeas_to_tpoint(Pointer gs) { - var _result = _meos_c.geomeas_to_tpoint(gs); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tgeogpoint_to_tgeography(Pointer temp) { - var _result = _meos_c.tgeogpoint_to_tgeography(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tgeography_to_tgeogpoint(Pointer temp) { - var _result = _meos_c.tgeography_to_tgeogpoint(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tgeography_to_tgeometry(Pointer temp) { - var _result = _meos_c.tgeography_to_tgeometry(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tgeometry_to_tgeography(Pointer temp) { - var _result = _meos_c.tgeometry_to_tgeography(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tgeometry_to_tgeompoint(Pointer temp) { - var _result = _meos_c.tgeometry_to_tgeompoint(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tgeompoint_to_tgeometry(Pointer temp) { - var _result = _meos_c.tgeompoint_to_tgeometry(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean tpoint_as_mvtgeom(Pointer temp, Pointer bounds, int extent, int buffer, boolean clip_geom, Pointer gsarr, Pointer timesarr, Pointer count) { - var _result = _meos_c.tpoint_as_mvtgeom(temp, bounds, extent, buffer, clip_geom, gsarr, timesarr, count); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tpoint_tfloat_to_geomeas(Pointer tpoint, Pointer measure, boolean segmentize) { - boolean out; - Runtime runtime = Runtime.getSystemRuntime(); - Pointer result = Memory.allocateDirect(runtime, Long.BYTES); - out = _meos_c.tpoint_tfloat_to_geomeas(tpoint, measure, segmentize, result); - Pointer new_result = result.getPointer(0); - MeosErrorHandler.checkError(); - return out ? new_result : null; - } - - @SuppressWarnings("unused") - public static Pointer tspatial_to_stbox(Pointer temp) { - var _result = _meos_c.tspatial_to_stbox(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer bearing_point_point(Pointer gs1, Pointer gs2) { - boolean out; - Runtime runtime = Runtime.getSystemRuntime(); - Pointer result = Memory.allocateDirect(runtime, Double.BYTES); - out = _meos_c.bearing_point_point(gs1, gs2, result); - MeosErrorHandler.checkError(); - return out ? result : null; - } - - @SuppressWarnings("unused") - public static Pointer bearing_tpoint_point(Pointer temp, Pointer gs, boolean invert) { - var _result = _meos_c.bearing_tpoint_point(temp, gs, invert); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer bearing_tpoint_tpoint(Pointer temp1, Pointer temp2) { - var _result = _meos_c.bearing_tpoint_tpoint(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tgeo_centroid(Pointer temp) { - var _result = _meos_c.tgeo_centroid(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tgeo_convex_hull(Pointer temp) { - var _result = _meos_c.tgeo_convex_hull(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tgeo_end_value(Pointer temp) { - var _result = _meos_c.tgeo_end_value(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tgeo_start_value(Pointer temp) { - var _result = _meos_c.tgeo_start_value(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tgeo_traversed_area(Pointer temp, boolean unary_union) { - var _result = _meos_c.tgeo_traversed_area(temp, unary_union); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean tgeo_value_at_timestamptz(Pointer temp, OffsetDateTime t, boolean strict, Pointer value) { - var t_new = t.toEpochSecond(); - var _result = _meos_c.tgeo_value_at_timestamptz(temp, t_new, strict, value); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tgeo_value_n(Pointer temp, int n) { - boolean out; - Runtime runtime = Runtime.getSystemRuntime(); - Pointer result = Memory.allocateDirect(runtime, Long.BYTES); - out = _meos_c.tgeo_value_n(temp, n, result); - Pointer new_result = result.getPointer(0); - MeosErrorHandler.checkError(); - return out ? new_result : null; - } - - @SuppressWarnings("unused") - public static Pointer tgeo_values(Pointer temp, Pointer count) { - var _result = _meos_c.tgeo_values(temp, count); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tpoint_angular_difference(Pointer temp) { - var _result = _meos_c.tpoint_angular_difference(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tpoint_azimuth(Pointer temp) { - var _result = _meos_c.tpoint_azimuth(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tpoint_cumulative_length(Pointer temp) { - var _result = _meos_c.tpoint_cumulative_length(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tpoint_direction(Pointer temp) { - boolean out; - Runtime runtime = Runtime.getSystemRuntime(); - Pointer result = Memory.allocateDirect(runtime, Double.BYTES); - out = _meos_c.tpoint_direction(temp, result); - MeosErrorHandler.checkError(); - return out ? result : null; - } - - @SuppressWarnings("unused") - public static Pointer tpoint_get_x(Pointer temp) { - var _result = _meos_c.tpoint_get_x(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tpoint_get_y(Pointer temp) { - var _result = _meos_c.tpoint_get_y(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tpoint_get_z(Pointer temp) { - var _result = _meos_c.tpoint_get_z(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean tpoint_is_simple(Pointer temp) { - var _result = _meos_c.tpoint_is_simple(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double tpoint_length(Pointer temp) { - var _result = _meos_c.tpoint_length(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tpoint_speed(Pointer temp) { - var _result = _meos_c.tpoint_speed(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tpoint_trajectory(Pointer temp, boolean unary_union) { - var _result = _meos_c.tpoint_trajectory(temp, unary_union); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tpoint_twcentroid(Pointer temp) { - var _result = _meos_c.tpoint_twcentroid(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tgeo_affine(Pointer temp, Pointer a) { - var _result = _meos_c.tgeo_affine(temp, a); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tgeo_scale(Pointer temp, Pointer scale, Pointer sorigin) { - var _result = _meos_c.tgeo_scale(temp, scale, sorigin); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tpoint_make_simple(Pointer temp, Pointer count) { - var _result = _meos_c.tpoint_make_simple(temp, count); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int tspatial_srid(Pointer temp) { - var _result = _meos_c.tspatial_srid(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tspatial_set_srid(Pointer temp, int srid) { - var _result = _meos_c.tspatial_set_srid(temp, srid); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tspatial_transform(Pointer temp, int srid) { - var _result = _meos_c.tspatial_transform(temp, srid); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tspatial_transform_pipeline(Pointer temp, String pipelinestr, int srid, boolean is_forward) { - var _result = _meos_c.tspatial_transform_pipeline(temp, pipelinestr, srid, is_forward); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tgeo_at_geom(Pointer temp, Pointer gs) { - var _result = _meos_c.tgeo_at_geom(temp, gs); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tgeo_at_stbox(Pointer temp, Pointer box, boolean border_inc) { - var _result = _meos_c.tgeo_at_stbox(temp, box, border_inc); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tgeo_at_value(Pointer temp, Pointer gs) { - var _result = _meos_c.tgeo_at_value(temp, gs); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tgeo_minus_geom(Pointer temp, Pointer gs) { - var _result = _meos_c.tgeo_minus_geom(temp, gs); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tgeo_minus_stbox(Pointer temp, Pointer box, boolean border_inc) { - var _result = _meos_c.tgeo_minus_stbox(temp, box, border_inc); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tgeo_minus_value(Pointer temp, Pointer gs) { - var _result = _meos_c.tgeo_minus_value(temp, gs); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tpoint_at_elevation(Pointer temp, Pointer s) { - var _result = _meos_c.tpoint_at_elevation(temp, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tpoint_at_geom(Pointer temp, Pointer gs) { - var _result = _meos_c.tpoint_at_geom(temp, gs); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tpoint_at_value(Pointer temp, Pointer gs) { - var _result = _meos_c.tpoint_at_value(temp, gs); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tpoint_minus_elevation(Pointer temp, Pointer s) { - var _result = _meos_c.tpoint_minus_elevation(temp, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tpoint_minus_geom(Pointer temp, Pointer gs) { - var _result = _meos_c.tpoint_minus_geom(temp, gs); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tpoint_minus_value(Pointer temp, Pointer gs) { - var _result = _meos_c.tpoint_minus_value(temp, gs); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int always_eq_geo_tgeo(Pointer gs, Pointer temp) { - var _result = _meos_c.always_eq_geo_tgeo(gs, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int always_eq_tgeo_geo(Pointer temp, Pointer gs) { - var _result = _meos_c.always_eq_tgeo_geo(temp, gs); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int always_eq_tgeo_tgeo(Pointer temp1, Pointer temp2) { - var _result = _meos_c.always_eq_tgeo_tgeo(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int always_ne_geo_tgeo(Pointer gs, Pointer temp) { - var _result = _meos_c.always_ne_geo_tgeo(gs, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int always_ne_tgeo_geo(Pointer temp, Pointer gs) { - var _result = _meos_c.always_ne_tgeo_geo(temp, gs); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int always_ne_tgeo_tgeo(Pointer temp1, Pointer temp2) { - var _result = _meos_c.always_ne_tgeo_tgeo(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int ever_eq_geo_tgeo(Pointer gs, Pointer temp) { - var _result = _meos_c.ever_eq_geo_tgeo(gs, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int ever_eq_tgeo_geo(Pointer temp, Pointer gs) { - var _result = _meos_c.ever_eq_tgeo_geo(temp, gs); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int ever_eq_tgeo_tgeo(Pointer temp1, Pointer temp2) { - var _result = _meos_c.ever_eq_tgeo_tgeo(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int ever_ne_geo_tgeo(Pointer gs, Pointer temp) { - var _result = _meos_c.ever_ne_geo_tgeo(gs, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int ever_ne_tgeo_geo(Pointer temp, Pointer gs) { - var _result = _meos_c.ever_ne_tgeo_geo(temp, gs); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int ever_ne_tgeo_tgeo(Pointer temp1, Pointer temp2) { - var _result = _meos_c.ever_ne_tgeo_tgeo(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer teq_geo_tgeo(Pointer gs, Pointer temp) { - var _result = _meos_c.teq_geo_tgeo(gs, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer teq_tgeo_geo(Pointer temp, Pointer gs) { - var _result = _meos_c.teq_tgeo_geo(temp, gs); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tne_geo_tgeo(Pointer gs, Pointer temp) { - var _result = _meos_c.tne_geo_tgeo(gs, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tne_tgeo_geo(Pointer temp, Pointer gs) { - var _result = _meos_c.tne_tgeo_geo(temp, gs); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tgeo_stboxes(Pointer temp, Pointer count) { - var _result = _meos_c.tgeo_stboxes(temp, count); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tgeo_space_boxes(Pointer temp, double xsize, double ysize, double zsize, Pointer sorigin, boolean bitmatrix, boolean border_inc, Pointer count) { - var _result = _meos_c.tgeo_space_boxes(temp, xsize, ysize, zsize, sorigin, bitmatrix, border_inc, count); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tgeo_space_time_boxes(Pointer temp, double xsize, double ysize, double zsize, Pointer duration, Pointer sorigin, OffsetDateTime torigin, boolean bitmatrix, boolean border_inc, Pointer count) { - var torigin_new = torigin.toEpochSecond(); - var _result = _meos_c.tgeo_space_time_boxes(temp, xsize, ysize, zsize, duration, sorigin, torigin_new, bitmatrix, border_inc, count); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tgeo_split_each_n_stboxes(Pointer temp, int elem_count, Pointer count) { - var _result = _meos_c.tgeo_split_each_n_stboxes(temp, elem_count, count); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tgeo_split_n_stboxes(Pointer temp, int box_count, Pointer count) { - var _result = _meos_c.tgeo_split_n_stboxes(temp, box_count, count); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean adjacent_stbox_tspatial(Pointer box, Pointer temp) { - var _result = _meos_c.adjacent_stbox_tspatial(box, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean adjacent_tspatial_stbox(Pointer temp, Pointer box) { - var _result = _meos_c.adjacent_tspatial_stbox(temp, box); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean adjacent_tspatial_tspatial(Pointer temp1, Pointer temp2) { - var _result = _meos_c.adjacent_tspatial_tspatial(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean contained_stbox_tspatial(Pointer box, Pointer temp) { - var _result = _meos_c.contained_stbox_tspatial(box, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean contained_tspatial_stbox(Pointer temp, Pointer box) { - var _result = _meos_c.contained_tspatial_stbox(temp, box); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean contained_tspatial_tspatial(Pointer temp1, Pointer temp2) { - var _result = _meos_c.contained_tspatial_tspatial(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean contains_stbox_tspatial(Pointer box, Pointer temp) { - var _result = _meos_c.contains_stbox_tspatial(box, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean contains_tspatial_stbox(Pointer temp, Pointer box) { - var _result = _meos_c.contains_tspatial_stbox(temp, box); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean contains_tspatial_tspatial(Pointer temp1, Pointer temp2) { - var _result = _meos_c.contains_tspatial_tspatial(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overlaps_stbox_tspatial(Pointer box, Pointer temp) { - var _result = _meos_c.overlaps_stbox_tspatial(box, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overlaps_tspatial_stbox(Pointer temp, Pointer box) { - var _result = _meos_c.overlaps_tspatial_stbox(temp, box); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overlaps_tspatial_tspatial(Pointer temp1, Pointer temp2) { - var _result = _meos_c.overlaps_tspatial_tspatial(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean same_stbox_tspatial(Pointer box, Pointer temp) { - var _result = _meos_c.same_stbox_tspatial(box, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean same_tspatial_stbox(Pointer temp, Pointer box) { - var _result = _meos_c.same_tspatial_stbox(temp, box); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean same_tspatial_tspatial(Pointer temp1, Pointer temp2) { - var _result = _meos_c.same_tspatial_tspatial(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean above_stbox_tspatial(Pointer box, Pointer temp) { - var _result = _meos_c.above_stbox_tspatial(box, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean above_tspatial_stbox(Pointer temp, Pointer box) { - var _result = _meos_c.above_tspatial_stbox(temp, box); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean above_tspatial_tspatial(Pointer temp1, Pointer temp2) { - var _result = _meos_c.above_tspatial_tspatial(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean after_stbox_tspatial(Pointer box, Pointer temp) { - var _result = _meos_c.after_stbox_tspatial(box, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean after_tspatial_stbox(Pointer temp, Pointer box) { - var _result = _meos_c.after_tspatial_stbox(temp, box); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean after_tspatial_tspatial(Pointer temp1, Pointer temp2) { - var _result = _meos_c.after_tspatial_tspatial(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean back_stbox_tspatial(Pointer box, Pointer temp) { - var _result = _meos_c.back_stbox_tspatial(box, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean back_tspatial_stbox(Pointer temp, Pointer box) { - var _result = _meos_c.back_tspatial_stbox(temp, box); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean back_tspatial_tspatial(Pointer temp1, Pointer temp2) { - var _result = _meos_c.back_tspatial_tspatial(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean before_stbox_tspatial(Pointer box, Pointer temp) { - var _result = _meos_c.before_stbox_tspatial(box, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean before_tspatial_stbox(Pointer temp, Pointer box) { - var _result = _meos_c.before_tspatial_stbox(temp, box); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean before_tspatial_tspatial(Pointer temp1, Pointer temp2) { - var _result = _meos_c.before_tspatial_tspatial(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean below_stbox_tspatial(Pointer box, Pointer temp) { - var _result = _meos_c.below_stbox_tspatial(box, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean below_tspatial_stbox(Pointer temp, Pointer box) { - var _result = _meos_c.below_tspatial_stbox(temp, box); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean below_tspatial_tspatial(Pointer temp1, Pointer temp2) { - var _result = _meos_c.below_tspatial_tspatial(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean front_stbox_tspatial(Pointer box, Pointer temp) { - var _result = _meos_c.front_stbox_tspatial(box, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean front_tspatial_stbox(Pointer temp, Pointer box) { - var _result = _meos_c.front_tspatial_stbox(temp, box); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean front_tspatial_tspatial(Pointer temp1, Pointer temp2) { - var _result = _meos_c.front_tspatial_tspatial(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean left_stbox_tspatial(Pointer box, Pointer temp) { - var _result = _meos_c.left_stbox_tspatial(box, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean left_tspatial_stbox(Pointer temp, Pointer box) { - var _result = _meos_c.left_tspatial_stbox(temp, box); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean left_tspatial_tspatial(Pointer temp1, Pointer temp2) { - var _result = _meos_c.left_tspatial_tspatial(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overabove_stbox_tspatial(Pointer box, Pointer temp) { - var _result = _meos_c.overabove_stbox_tspatial(box, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overabove_tspatial_stbox(Pointer temp, Pointer box) { - var _result = _meos_c.overabove_tspatial_stbox(temp, box); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overabove_tspatial_tspatial(Pointer temp1, Pointer temp2) { - var _result = _meos_c.overabove_tspatial_tspatial(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overafter_stbox_tspatial(Pointer box, Pointer temp) { - var _result = _meos_c.overafter_stbox_tspatial(box, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overafter_tspatial_stbox(Pointer temp, Pointer box) { - var _result = _meos_c.overafter_tspatial_stbox(temp, box); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overafter_tspatial_tspatial(Pointer temp1, Pointer temp2) { - var _result = _meos_c.overafter_tspatial_tspatial(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overback_stbox_tspatial(Pointer box, Pointer temp) { - var _result = _meos_c.overback_stbox_tspatial(box, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overback_tspatial_stbox(Pointer temp, Pointer box) { - var _result = _meos_c.overback_tspatial_stbox(temp, box); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overback_tspatial_tspatial(Pointer temp1, Pointer temp2) { - var _result = _meos_c.overback_tspatial_tspatial(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overbefore_stbox_tspatial(Pointer box, Pointer temp) { - var _result = _meos_c.overbefore_stbox_tspatial(box, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overbefore_tspatial_stbox(Pointer temp, Pointer box) { - var _result = _meos_c.overbefore_tspatial_stbox(temp, box); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overbefore_tspatial_tspatial(Pointer temp1, Pointer temp2) { - var _result = _meos_c.overbefore_tspatial_tspatial(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overbelow_stbox_tspatial(Pointer box, Pointer temp) { - var _result = _meos_c.overbelow_stbox_tspatial(box, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overbelow_tspatial_stbox(Pointer temp, Pointer box) { - var _result = _meos_c.overbelow_tspatial_stbox(temp, box); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overbelow_tspatial_tspatial(Pointer temp1, Pointer temp2) { - var _result = _meos_c.overbelow_tspatial_tspatial(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overfront_stbox_tspatial(Pointer box, Pointer temp) { - var _result = _meos_c.overfront_stbox_tspatial(box, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overfront_tspatial_stbox(Pointer temp, Pointer box) { - var _result = _meos_c.overfront_tspatial_stbox(temp, box); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overfront_tspatial_tspatial(Pointer temp1, Pointer temp2) { - var _result = _meos_c.overfront_tspatial_tspatial(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overleft_stbox_tspatial(Pointer box, Pointer temp) { - var _result = _meos_c.overleft_stbox_tspatial(box, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overleft_tspatial_stbox(Pointer temp, Pointer box) { - var _result = _meos_c.overleft_tspatial_stbox(temp, box); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overleft_tspatial_tspatial(Pointer temp1, Pointer temp2) { - var _result = _meos_c.overleft_tspatial_tspatial(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overright_stbox_tspatial(Pointer box, Pointer temp) { - var _result = _meos_c.overright_stbox_tspatial(box, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overright_tspatial_stbox(Pointer temp, Pointer box) { - var _result = _meos_c.overright_tspatial_stbox(temp, box); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overright_tspatial_tspatial(Pointer temp1, Pointer temp2) { - var _result = _meos_c.overright_tspatial_tspatial(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean right_stbox_tspatial(Pointer box, Pointer temp) { - var _result = _meos_c.right_stbox_tspatial(box, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean right_tspatial_stbox(Pointer temp, Pointer box) { - var _result = _meos_c.right_tspatial_stbox(temp, box); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean right_tspatial_tspatial(Pointer temp1, Pointer temp2) { - var _result = _meos_c.right_tspatial_tspatial(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int acontains_geo_tgeo(Pointer gs, Pointer temp) { - var _result = _meos_c.acontains_geo_tgeo(gs, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int acontains_tgeo_geo(Pointer temp, Pointer gs) { - var _result = _meos_c.acontains_tgeo_geo(temp, gs); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int acontains_tgeo_tgeo(Pointer temp1, Pointer temp2) { - var _result = _meos_c.acontains_tgeo_tgeo(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int adisjoint_tgeo_geo(Pointer temp, Pointer gs) { - var _result = _meos_c.adisjoint_tgeo_geo(temp, gs); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int adisjoint_tgeo_tgeo(Pointer temp1, Pointer temp2) { - var _result = _meos_c.adisjoint_tgeo_tgeo(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int adwithin_tgeo_geo(Pointer temp, Pointer gs, double dist) { - var _result = _meos_c.adwithin_tgeo_geo(temp, gs, dist); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int adwithin_tgeo_tgeo(Pointer temp1, Pointer temp2, double dist) { - var _result = _meos_c.adwithin_tgeo_tgeo(temp1, temp2, dist); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int aintersects_tgeo_geo(Pointer temp, Pointer gs) { - var _result = _meos_c.aintersects_tgeo_geo(temp, gs); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int aintersects_tgeo_tgeo(Pointer temp1, Pointer temp2) { - var _result = _meos_c.aintersects_tgeo_tgeo(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int atouches_tgeo_geo(Pointer temp, Pointer gs) { - var _result = _meos_c.atouches_tgeo_geo(temp, gs); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int atouches_tgeo_tgeo(Pointer temp1, Pointer temp2) { - var _result = _meos_c.atouches_tgeo_tgeo(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int atouches_tpoint_geo(Pointer temp, Pointer gs) { - var _result = _meos_c.atouches_tpoint_geo(temp, gs); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int econtains_geo_tgeo(Pointer gs, Pointer temp) { - var _result = _meos_c.econtains_geo_tgeo(gs, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int econtains_tgeo_geo(Pointer temp, Pointer gs) { - var _result = _meos_c.econtains_tgeo_geo(temp, gs); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int econtains_tgeo_tgeo(Pointer temp1, Pointer temp2) { - var _result = _meos_c.econtains_tgeo_tgeo(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int ecovers_geo_tgeo(Pointer gs, Pointer temp) { - var _result = _meos_c.ecovers_geo_tgeo(gs, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int ecovers_tgeo_geo(Pointer temp, Pointer gs) { - var _result = _meos_c.ecovers_tgeo_geo(temp, gs); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int ecovers_tgeo_tgeo(Pointer temp1, Pointer temp2) { - var _result = _meos_c.ecovers_tgeo_tgeo(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int edisjoint_tgeo_geo(Pointer temp, Pointer gs) { - var _result = _meos_c.edisjoint_tgeo_geo(temp, gs); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int edisjoint_tgeo_tgeo(Pointer temp1, Pointer temp2) { - var _result = _meos_c.edisjoint_tgeo_tgeo(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int edwithin_tgeo_geo(Pointer temp, Pointer gs, double dist) { - var _result = _meos_c.edwithin_tgeo_geo(temp, gs, dist); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int edwithin_tgeo_tgeo(Pointer temp1, Pointer temp2, double dist) { - var _result = _meos_c.edwithin_tgeo_tgeo(temp1, temp2, dist); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int eintersects_tgeo_geo(Pointer temp, Pointer gs) { - var _result = _meos_c.eintersects_tgeo_geo(temp, gs); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int eintersects_tgeo_tgeo(Pointer temp1, Pointer temp2) { - var _result = _meos_c.eintersects_tgeo_tgeo(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int etouches_tgeo_geo(Pointer temp, Pointer gs) { - var _result = _meos_c.etouches_tgeo_geo(temp, gs); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int etouches_tgeo_tgeo(Pointer temp1, Pointer temp2) { - var _result = _meos_c.etouches_tgeo_tgeo(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int etouches_tpoint_geo(Pointer temp, Pointer gs) { - var _result = _meos_c.etouches_tpoint_geo(temp, gs); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tcontains_geo_tgeo(Pointer gs, Pointer temp) { - var _result = _meos_c.tcontains_geo_tgeo(gs, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tcontains_tgeo_geo(Pointer temp, Pointer gs) { - var _result = _meos_c.tcontains_tgeo_geo(temp, gs); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tcontains_tgeo_tgeo(Pointer temp1, Pointer temp2) { - var _result = _meos_c.tcontains_tgeo_tgeo(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tcovers_geo_tgeo(Pointer gs, Pointer temp) { - var _result = _meos_c.tcovers_geo_tgeo(gs, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tcovers_tgeo_geo(Pointer temp, Pointer gs) { - var _result = _meos_c.tcovers_tgeo_geo(temp, gs); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tcovers_tgeo_tgeo(Pointer temp1, Pointer temp2) { - var _result = _meos_c.tcovers_tgeo_tgeo(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tdisjoint_geo_tgeo(Pointer gs, Pointer temp) { - var _result = _meos_c.tdisjoint_geo_tgeo(gs, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tdisjoint_tgeo_geo(Pointer temp, Pointer gs) { - var _result = _meos_c.tdisjoint_tgeo_geo(temp, gs); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tdisjoint_tgeo_tgeo(Pointer temp1, Pointer temp2) { - var _result = _meos_c.tdisjoint_tgeo_tgeo(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tdwithin_geo_tgeo(Pointer gs, Pointer temp, double dist) { - var _result = _meos_c.tdwithin_geo_tgeo(gs, temp, dist); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tdwithin_tgeo_geo(Pointer temp, Pointer gs, double dist) { - var _result = _meos_c.tdwithin_tgeo_geo(temp, gs, dist); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tdwithin_tgeo_tgeo(Pointer temp1, Pointer temp2, double dist) { - var _result = _meos_c.tdwithin_tgeo_tgeo(temp1, temp2, dist); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tintersects_geo_tgeo(Pointer gs, Pointer temp) { - var _result = _meos_c.tintersects_geo_tgeo(gs, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tintersects_tgeo_geo(Pointer temp, Pointer gs) { - var _result = _meos_c.tintersects_tgeo_geo(temp, gs); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tintersects_tgeo_tgeo(Pointer temp1, Pointer temp2) { - var _result = _meos_c.tintersects_tgeo_tgeo(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer ttouches_geo_tgeo(Pointer gs, Pointer temp) { - var _result = _meos_c.ttouches_geo_tgeo(gs, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer ttouches_tgeo_geo(Pointer temp, Pointer gs) { - var _result = _meos_c.ttouches_tgeo_geo(temp, gs); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer ttouches_tgeo_tgeo(Pointer temp1, Pointer temp2) { - var _result = _meos_c.ttouches_tgeo_tgeo(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tdistance_tgeo_geo(Pointer temp, Pointer gs) { - var _result = _meos_c.tdistance_tgeo_geo(temp, gs); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tdistance_tgeo_tgeo(Pointer temp1, Pointer temp2) { - var _result = _meos_c.tdistance_tgeo_tgeo(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double nad_stbox_geo(Pointer box, Pointer gs) { - var _result = _meos_c.nad_stbox_geo(box, gs); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double nad_stbox_stbox(Pointer box1, Pointer box2) { - var _result = _meos_c.nad_stbox_stbox(box1, box2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double nad_tgeo_geo(Pointer temp, Pointer gs) { - var _result = _meos_c.nad_tgeo_geo(temp, gs); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double nad_tgeo_stbox(Pointer temp, Pointer box) { - var _result = _meos_c.nad_tgeo_stbox(temp, box); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double nad_tgeo_tgeo(Pointer temp1, Pointer temp2) { - var _result = _meos_c.nad_tgeo_tgeo(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer nai_tgeo_geo(Pointer temp, Pointer gs) { - var _result = _meos_c.nai_tgeo_geo(temp, gs); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer nai_tgeo_tgeo(Pointer temp1, Pointer temp2) { - var _result = _meos_c.nai_tgeo_tgeo(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer shortestline_tgeo_geo(Pointer temp, Pointer gs) { - var _result = _meos_c.shortestline_tgeo_geo(temp, gs); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer shortestline_tgeo_tgeo(Pointer temp1, Pointer temp2) { - var _result = _meos_c.shortestline_tgeo_tgeo(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double tgeoarr_tgeoarr_mindist(Pointer arr1, int count1, Pointer arr2, int count2) { - var _result = _meos_c.tgeoarr_tgeoarr_mindist(arr1, count1, arr2, count2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double mindistance_tgeo_tgeo(Pointer temp1, Pointer temp2, double threshold) { - var _result = _meos_c.mindistance_tgeo_tgeo(temp1, temp2, threshold); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tpoint_tcentroid_finalfn(Pointer state) { - var _result = _meos_c.tpoint_tcentroid_finalfn(state); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tpoint_tcentroid_transfn(Pointer state, Pointer temp) { - var _result = _meos_c.tpoint_tcentroid_transfn(state, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tspatial_extent_transfn(Pointer box, Pointer temp) { - var _result = _meos_c.tspatial_extent_transfn(box, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer stbox_get_space_tile(Pointer point, double xsize, double ysize, double zsize, Pointer sorigin) { - var _result = _meos_c.stbox_get_space_tile(point, xsize, ysize, zsize, sorigin); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer stbox_get_space_time_tile(Pointer point, OffsetDateTime t, double xsize, double ysize, double zsize, Pointer duration, Pointer sorigin, OffsetDateTime torigin) { - var t_new = t.toEpochSecond(); - var torigin_new = torigin.toEpochSecond(); - var _result = _meos_c.stbox_get_space_time_tile(point, t_new, xsize, ysize, zsize, duration, sorigin, torigin_new); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer stbox_get_time_tile(OffsetDateTime t, Pointer duration, OffsetDateTime torigin) { - var t_new = t.toEpochSecond(); - var torigin_new = torigin.toEpochSecond(); - var _result = _meos_c.stbox_get_time_tile(t_new, duration, torigin_new); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer stbox_space_tiles(Pointer bounds, double xsize, double ysize, double zsize, Pointer sorigin, boolean border_inc, Pointer count) { - var _result = _meos_c.stbox_space_tiles(bounds, xsize, ysize, zsize, sorigin, border_inc, count); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer stbox_space_time_tiles(Pointer bounds, double xsize, double ysize, double zsize, Pointer duration, Pointer sorigin, OffsetDateTime torigin, boolean border_inc, Pointer count) { - var torigin_new = torigin.toEpochSecond(); - var _result = _meos_c.stbox_space_time_tiles(bounds, xsize, ysize, zsize, duration, sorigin, torigin_new, border_inc, count); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer stbox_time_tiles(Pointer bounds, Pointer duration, OffsetDateTime torigin, boolean border_inc, Pointer count) { - var torigin_new = torigin.toEpochSecond(); - var _result = _meos_c.stbox_time_tiles(bounds, duration, torigin_new, border_inc, count); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tgeo_space_split(Pointer temp, double xsize, double ysize, double zsize, Pointer sorigin, boolean bitmatrix, boolean border_inc, Pointer space_bins, Pointer count) { - var _result = _meos_c.tgeo_space_split(temp, xsize, ysize, zsize, sorigin, bitmatrix, border_inc, space_bins, count); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tgeo_space_time_split(Pointer temp, double xsize, double ysize, double zsize, Pointer duration, Pointer sorigin, OffsetDateTime torigin, boolean bitmatrix, boolean border_inc, Pointer space_bins, Pointer time_bins, Pointer count) { - var torigin_new = torigin.toEpochSecond(); - var _result = _meos_c.tgeo_space_time_split(temp, xsize, ysize, zsize, duration, sorigin, torigin_new, bitmatrix, border_inc, space_bins, time_bins, count); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer geo_cluster_kmeans(Pointer geoms, int ngeoms, int k) { - var _result = _meos_c.geo_cluster_kmeans(geoms, ngeoms, k); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer geo_cluster_dbscan(Pointer geoms, int ngeoms, double tolerance, int minpoints, Pointer count) { - var _result = _meos_c.geo_cluster_dbscan(geoms, ngeoms, tolerance, minpoints, count); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer geo_cluster_intersecting(Pointer geoms, int ngeoms, Pointer count) { - var _result = _meos_c.geo_cluster_intersecting(geoms, ngeoms, count); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer geo_cluster_within(Pointer geoms, int ngeoms, double tolerance, Pointer count) { - var _result = _meos_c.geo_cluster_within(geoms, ngeoms, tolerance, count); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int acovers_geo_tgeo(Pointer gs, Pointer temp) { - var _result = _meos_c.acovers_geo_tgeo(gs, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int acovers_tgeo_geo(Pointer temp, Pointer gs) { - var _result = _meos_c.acovers_tgeo_geo(temp, gs); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static String cbuffer_as_ewkt(Pointer cb, int maxdd) { - var _result = _meos_c.cbuffer_as_ewkt(cb, maxdd); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static String cbuffer_as_hexwkb(Pointer cb, byte variant, Pointer size) { - var _result = _meos_c.cbuffer_as_hexwkb(cb, variant, size); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static String cbuffer_as_text(Pointer cb, int maxdd) { - var _result = _meos_c.cbuffer_as_text(cb, maxdd); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer cbuffer_as_wkb(Pointer cb, byte variant) { - Runtime runtime = Runtime.getSystemRuntime(); - Pointer size_out = Memory.allocateDirect(runtime, Long.BYTES); - var _result = _meos_c.cbuffer_as_wkb(cb, variant, size_out); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer cbuffer_from_hexwkb(String hexwkb) { - var _result = _meos_c.cbuffer_from_hexwkb(hexwkb); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer cbuffer_from_wkb(Pointer wkb, long size) { - var _result = _meos_c.cbuffer_from_wkb(wkb, size); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer cbuffer_in(String str) { - var _result = _meos_c.cbuffer_in(str); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static String cbuffer_out(Pointer cb, int maxdd) { - var _result = _meos_c.cbuffer_out(cb, maxdd); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer cbuffer_copy(Pointer cb) { - var _result = _meos_c.cbuffer_copy(cb); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer cbuffer_make(Pointer point, double radius) { - var _result = _meos_c.cbuffer_make(point, radius); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer cbuffer_to_geom(Pointer cb) { - var _result = _meos_c.cbuffer_to_geom(cb); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer cbuffer_to_stbox(Pointer cb) { - var _result = _meos_c.cbuffer_to_stbox(cb); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer cbufferarr_to_geom(Pointer cbarr, int count) { - var _result = _meos_c.cbufferarr_to_geom(cbarr, count); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer geom_to_cbuffer(Pointer gs) { - var _result = _meos_c.geom_to_cbuffer(gs); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int cbuffer_hash(Pointer cb) { - var _result = _meos_c.cbuffer_hash(cb); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static long cbuffer_hash_extended(Pointer cb, long seed) { - var _result = _meos_c.cbuffer_hash_extended(cb, seed); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer cbuffer_point(Pointer cb) { - var _result = _meos_c.cbuffer_point(cb); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double cbuffer_radius(Pointer cb) { - var _result = _meos_c.cbuffer_radius(cb); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer cbuffer_round(Pointer cb, int maxdd) { - var _result = _meos_c.cbuffer_round(cb, maxdd); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer cbufferarr_round(Pointer cbarr, int count, int maxdd) { - var _result = _meos_c.cbufferarr_round(cbarr, count, maxdd); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static void cbuffer_set_srid(Pointer cb, int srid) { - _meos_c.cbuffer_set_srid(cb, srid); - MeosErrorHandler.checkError(); - } - - @SuppressWarnings("unused") - public static int cbuffer_srid(Pointer cb) { - var _result = _meos_c.cbuffer_srid(cb); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer cbuffer_transform(Pointer cb, int srid) { - var _result = _meos_c.cbuffer_transform(cb, srid); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer cbuffer_transform_pipeline(Pointer cb, String pipelinestr, int srid, boolean is_forward) { - var _result = _meos_c.cbuffer_transform_pipeline(cb, pipelinestr, srid, is_forward); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int contains_cbuffer_cbuffer(Pointer cb1, Pointer cb2) { - var _result = _meos_c.contains_cbuffer_cbuffer(cb1, cb2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int covers_cbuffer_cbuffer(Pointer cb1, Pointer cb2) { - var _result = _meos_c.covers_cbuffer_cbuffer(cb1, cb2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int disjoint_cbuffer_cbuffer(Pointer cb1, Pointer cb2) { - var _result = _meos_c.disjoint_cbuffer_cbuffer(cb1, cb2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int dwithin_cbuffer_cbuffer(Pointer cb1, Pointer cb2, double dist) { - var _result = _meos_c.dwithin_cbuffer_cbuffer(cb1, cb2, dist); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int intersects_cbuffer_cbuffer(Pointer cb1, Pointer cb2) { - var _result = _meos_c.intersects_cbuffer_cbuffer(cb1, cb2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int touches_cbuffer_cbuffer(Pointer cb1, Pointer cb2) { - var _result = _meos_c.touches_cbuffer_cbuffer(cb1, cb2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer cbuffer_tstzspan_to_stbox(Pointer cb, Pointer s) { - var _result = _meos_c.cbuffer_tstzspan_to_stbox(cb, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer cbuffer_timestamptz_to_stbox(Pointer cb, OffsetDateTime t) { - var t_new = t.toEpochSecond(); - var _result = _meos_c.cbuffer_timestamptz_to_stbox(cb, t_new); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double distance_cbuffer_cbuffer(Pointer cb1, Pointer cb2) { - var _result = _meos_c.distance_cbuffer_cbuffer(cb1, cb2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double distance_cbuffer_geo(Pointer cb, Pointer gs) { - var _result = _meos_c.distance_cbuffer_geo(cb, gs); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double distance_cbuffer_stbox(Pointer cb, Pointer box) { - var _result = _meos_c.distance_cbuffer_stbox(cb, box); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double nad_cbuffer_stbox(Pointer cb, Pointer box) { - var _result = _meos_c.nad_cbuffer_stbox(cb, box); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int cbuffer_cmp(Pointer cb1, Pointer cb2) { - var _result = _meos_c.cbuffer_cmp(cb1, cb2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean cbuffer_eq(Pointer cb1, Pointer cb2) { - var _result = _meos_c.cbuffer_eq(cb1, cb2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean cbuffer_ge(Pointer cb1, Pointer cb2) { - var _result = _meos_c.cbuffer_ge(cb1, cb2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean cbuffer_gt(Pointer cb1, Pointer cb2) { - var _result = _meos_c.cbuffer_gt(cb1, cb2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean cbuffer_le(Pointer cb1, Pointer cb2) { - var _result = _meos_c.cbuffer_le(cb1, cb2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean cbuffer_lt(Pointer cb1, Pointer cb2) { - var _result = _meos_c.cbuffer_lt(cb1, cb2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean cbuffer_ne(Pointer cb1, Pointer cb2) { - var _result = _meos_c.cbuffer_ne(cb1, cb2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean cbuffer_nsame(Pointer cb1, Pointer cb2) { - var _result = _meos_c.cbuffer_nsame(cb1, cb2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean cbuffer_same(Pointer cb1, Pointer cb2) { - var _result = _meos_c.cbuffer_same(cb1, cb2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer cbufferset_in(String str) { - var _result = _meos_c.cbufferset_in(str); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static String cbufferset_out(Pointer s, int maxdd) { - var _result = _meos_c.cbufferset_out(s, maxdd); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer cbufferset_make(Pointer values, int count) { - var _result = _meos_c.cbufferset_make(values, count); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer cbuffer_to_set(Pointer cb) { - var _result = _meos_c.cbuffer_to_set(cb); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer cbufferset_end_value(Pointer s) { - var _result = _meos_c.cbufferset_end_value(s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer cbufferset_start_value(Pointer s) { - var _result = _meos_c.cbufferset_start_value(s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer cbufferset_value_n(Pointer s, int n) { - boolean out; - Runtime runtime = Runtime.getSystemRuntime(); - Pointer result = Memory.allocateDirect(runtime, Long.BYTES); - out = _meos_c.cbufferset_value_n(s, n, result); - Pointer new_result = result.getPointer(0); - MeosErrorHandler.checkError(); - return out ? new_result : null; - } - - @SuppressWarnings("unused") - public static Pointer cbufferset_values(Pointer s) { - var _result = _meos_c.cbufferset_values(s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer cbuffer_union_transfn(Pointer state, Pointer cb) { - var _result = _meos_c.cbuffer_union_transfn(state, cb); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean contained_cbuffer_set(Pointer cb, Pointer s) { - var _result = _meos_c.contained_cbuffer_set(cb, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean contains_set_cbuffer(Pointer s, Pointer cb) { - var _result = _meos_c.contains_set_cbuffer(s, cb); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer intersection_cbuffer_set(Pointer cb, Pointer s) { - var _result = _meos_c.intersection_cbuffer_set(cb, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer intersection_set_cbuffer(Pointer s, Pointer cb) { - var _result = _meos_c.intersection_set_cbuffer(s, cb); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer minus_cbuffer_set(Pointer cb, Pointer s) { - var _result = _meos_c.minus_cbuffer_set(cb, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer minus_set_cbuffer(Pointer s, Pointer cb) { - var _result = _meos_c.minus_set_cbuffer(s, cb); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer union_cbuffer_set(Pointer cb, Pointer s) { - var _result = _meos_c.union_cbuffer_set(cb, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer union_set_cbuffer(Pointer s, Pointer cb) { - var _result = _meos_c.union_set_cbuffer(s, cb); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tcbuffer_in(String str) { - var _result = _meos_c.tcbuffer_in(str); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tcbuffer_from_mfjson(String mfjson) { - var _result = _meos_c.tcbuffer_from_mfjson(mfjson); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tcbuffer_make(Pointer tpoint, Pointer tfloat) { - var _result = _meos_c.tcbuffer_make(tpoint, tfloat); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tcbuffer_points(Pointer temp) { - var _result = _meos_c.tcbuffer_points(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tcbuffer_radius(Pointer temp) { - var _result = _meos_c.tcbuffer_radius(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tcbuffer_trav_area(Pointer temp, boolean merge_union) { - var _result = _meos_c.tcbuffer_trav_area(temp, merge_union); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tcbuffer_to_tfloat(Pointer temp) { - var _result = _meos_c.tcbuffer_to_tfloat(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tcbuffer_to_tgeompoint(Pointer temp) { - var _result = _meos_c.tcbuffer_to_tgeompoint(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tgeometry_to_tcbuffer(Pointer temp) { - var _result = _meos_c.tgeometry_to_tcbuffer(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tcbuffer_expand(Pointer temp, double dist) { - var _result = _meos_c.tcbuffer_expand(temp, dist); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tcbuffer_at_cbuffer(Pointer temp, Pointer cb) { - var _result = _meos_c.tcbuffer_at_cbuffer(temp, cb); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tcbuffer_at_geom(Pointer temp, Pointer gs) { - var _result = _meos_c.tcbuffer_at_geom(temp, gs); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tcbuffer_at_stbox(Pointer temp, Pointer box, boolean border_inc) { - var _result = _meos_c.tcbuffer_at_stbox(temp, box, border_inc); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tcbuffer_minus_cbuffer(Pointer temp, Pointer cb) { - var _result = _meos_c.tcbuffer_minus_cbuffer(temp, cb); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tcbuffer_minus_geom(Pointer temp, Pointer gs) { - var _result = _meos_c.tcbuffer_minus_geom(temp, gs); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tcbuffer_minus_stbox(Pointer temp, Pointer box, boolean border_inc) { - var _result = _meos_c.tcbuffer_minus_stbox(temp, box, border_inc); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tdistance_tcbuffer_cbuffer(Pointer temp, Pointer cb) { - var _result = _meos_c.tdistance_tcbuffer_cbuffer(temp, cb); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tdistance_tcbuffer_geo(Pointer temp, Pointer gs) { - var _result = _meos_c.tdistance_tcbuffer_geo(temp, gs); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tdistance_tcbuffer_tcbuffer(Pointer temp1, Pointer temp2) { - var _result = _meos_c.tdistance_tcbuffer_tcbuffer(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double nad_tcbuffer_cbuffer(Pointer temp, Pointer cb) { - var _result = _meos_c.nad_tcbuffer_cbuffer(temp, cb); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double nad_tcbuffer_geo(Pointer temp, Pointer gs) { - var _result = _meos_c.nad_tcbuffer_geo(temp, gs); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double nad_tcbuffer_stbox(Pointer temp, Pointer box) { - var _result = _meos_c.nad_tcbuffer_stbox(temp, box); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double nad_tcbuffer_tcbuffer(Pointer temp1, Pointer temp2) { - var _result = _meos_c.nad_tcbuffer_tcbuffer(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer nai_tcbuffer_cbuffer(Pointer temp, Pointer cb) { - var _result = _meos_c.nai_tcbuffer_cbuffer(temp, cb); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer nai_tcbuffer_geo(Pointer temp, Pointer gs) { - var _result = _meos_c.nai_tcbuffer_geo(temp, gs); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer nai_tcbuffer_tcbuffer(Pointer temp1, Pointer temp2) { - var _result = _meos_c.nai_tcbuffer_tcbuffer(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer shortestline_tcbuffer_cbuffer(Pointer temp, Pointer cb) { - var _result = _meos_c.shortestline_tcbuffer_cbuffer(temp, cb); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer shortestline_tcbuffer_geo(Pointer temp, Pointer gs) { - var _result = _meos_c.shortestline_tcbuffer_geo(temp, gs); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer shortestline_tcbuffer_tcbuffer(Pointer temp1, Pointer temp2) { - var _result = _meos_c.shortestline_tcbuffer_tcbuffer(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int always_eq_cbuffer_tcbuffer(Pointer cb, Pointer temp) { - var _result = _meos_c.always_eq_cbuffer_tcbuffer(cb, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int always_eq_tcbuffer_cbuffer(Pointer temp, Pointer cb) { - var _result = _meos_c.always_eq_tcbuffer_cbuffer(temp, cb); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int always_eq_tcbuffer_tcbuffer(Pointer temp1, Pointer temp2) { - var _result = _meos_c.always_eq_tcbuffer_tcbuffer(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int always_ne_cbuffer_tcbuffer(Pointer cb, Pointer temp) { - var _result = _meos_c.always_ne_cbuffer_tcbuffer(cb, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int always_ne_tcbuffer_cbuffer(Pointer temp, Pointer cb) { - var _result = _meos_c.always_ne_tcbuffer_cbuffer(temp, cb); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int always_ne_tcbuffer_tcbuffer(Pointer temp1, Pointer temp2) { - var _result = _meos_c.always_ne_tcbuffer_tcbuffer(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int ever_eq_cbuffer_tcbuffer(Pointer cb, Pointer temp) { - var _result = _meos_c.ever_eq_cbuffer_tcbuffer(cb, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int ever_eq_tcbuffer_cbuffer(Pointer temp, Pointer cb) { - var _result = _meos_c.ever_eq_tcbuffer_cbuffer(temp, cb); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int ever_eq_tcbuffer_tcbuffer(Pointer temp1, Pointer temp2) { - var _result = _meos_c.ever_eq_tcbuffer_tcbuffer(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int ever_ne_cbuffer_tcbuffer(Pointer cb, Pointer temp) { - var _result = _meos_c.ever_ne_cbuffer_tcbuffer(cb, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int ever_ne_tcbuffer_cbuffer(Pointer temp, Pointer cb) { - var _result = _meos_c.ever_ne_tcbuffer_cbuffer(temp, cb); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int ever_ne_tcbuffer_tcbuffer(Pointer temp1, Pointer temp2) { - var _result = _meos_c.ever_ne_tcbuffer_tcbuffer(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer teq_cbuffer_tcbuffer(Pointer cb, Pointer temp) { - var _result = _meos_c.teq_cbuffer_tcbuffer(cb, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer teq_tcbuffer_cbuffer(Pointer temp, Pointer cb) { - var _result = _meos_c.teq_tcbuffer_cbuffer(temp, cb); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tne_cbuffer_tcbuffer(Pointer cb, Pointer temp) { - var _result = _meos_c.tne_cbuffer_tcbuffer(cb, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tne_tcbuffer_cbuffer(Pointer temp, Pointer cb) { - var _result = _meos_c.tne_tcbuffer_cbuffer(temp, cb); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int acontains_cbuffer_tcbuffer(Pointer cb, Pointer temp) { - var _result = _meos_c.acontains_cbuffer_tcbuffer(cb, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int acontains_geo_tcbuffer(Pointer gs, Pointer temp) { - var _result = _meos_c.acontains_geo_tcbuffer(gs, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int acontains_tcbuffer_cbuffer(Pointer temp, Pointer cb) { - var _result = _meos_c.acontains_tcbuffer_cbuffer(temp, cb); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int acontains_tcbuffer_geo(Pointer temp, Pointer gs) { - var _result = _meos_c.acontains_tcbuffer_geo(temp, gs); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int acovers_cbuffer_tcbuffer(Pointer cb, Pointer temp) { - var _result = _meos_c.acovers_cbuffer_tcbuffer(cb, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int acovers_geo_tcbuffer(Pointer gs, Pointer temp) { - var _result = _meos_c.acovers_geo_tcbuffer(gs, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int acovers_tcbuffer_cbuffer(Pointer temp, Pointer cb) { - var _result = _meos_c.acovers_tcbuffer_cbuffer(temp, cb); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int acovers_tcbuffer_geo(Pointer temp, Pointer gs) { - var _result = _meos_c.acovers_tcbuffer_geo(temp, gs); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int adisjoint_tcbuffer_geo(Pointer temp, Pointer gs) { - var _result = _meos_c.adisjoint_tcbuffer_geo(temp, gs); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int adisjoint_tcbuffer_cbuffer(Pointer temp, Pointer cb) { - var _result = _meos_c.adisjoint_tcbuffer_cbuffer(temp, cb); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int adisjoint_tcbuffer_tcbuffer(Pointer temp1, Pointer temp2) { - var _result = _meos_c.adisjoint_tcbuffer_tcbuffer(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int adwithin_tcbuffer_geo(Pointer temp, Pointer gs, double dist) { - var _result = _meos_c.adwithin_tcbuffer_geo(temp, gs, dist); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int adwithin_tcbuffer_cbuffer(Pointer temp, Pointer cb, double dist) { - var _result = _meos_c.adwithin_tcbuffer_cbuffer(temp, cb, dist); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int adwithin_tcbuffer_tcbuffer(Pointer temp1, Pointer temp2, double dist) { - var _result = _meos_c.adwithin_tcbuffer_tcbuffer(temp1, temp2, dist); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int aintersects_tcbuffer_geo(Pointer temp, Pointer gs) { - var _result = _meos_c.aintersects_tcbuffer_geo(temp, gs); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int aintersects_tcbuffer_cbuffer(Pointer temp, Pointer cb) { - var _result = _meos_c.aintersects_tcbuffer_cbuffer(temp, cb); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int aintersects_tcbuffer_tcbuffer(Pointer temp1, Pointer temp2) { - var _result = _meos_c.aintersects_tcbuffer_tcbuffer(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int atouches_tcbuffer_geo(Pointer temp, Pointer gs) { - var _result = _meos_c.atouches_tcbuffer_geo(temp, gs); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int atouches_tcbuffer_cbuffer(Pointer temp, Pointer cb) { - var _result = _meos_c.atouches_tcbuffer_cbuffer(temp, cb); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int atouches_tcbuffer_tcbuffer(Pointer temp1, Pointer temp2) { - var _result = _meos_c.atouches_tcbuffer_tcbuffer(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int econtains_cbuffer_tcbuffer(Pointer cb, Pointer temp) { - var _result = _meos_c.econtains_cbuffer_tcbuffer(cb, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int econtains_tcbuffer_cbuffer(Pointer temp, Pointer cb) { - var _result = _meos_c.econtains_tcbuffer_cbuffer(temp, cb); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int econtains_tcbuffer_geo(Pointer temp, Pointer gs) { - var _result = _meos_c.econtains_tcbuffer_geo(temp, gs); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int ecovers_cbuffer_tcbuffer(Pointer cb, Pointer temp) { - var _result = _meos_c.ecovers_cbuffer_tcbuffer(cb, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int ecovers_tcbuffer_cbuffer(Pointer temp, Pointer cb) { - var _result = _meos_c.ecovers_tcbuffer_cbuffer(temp, cb); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int ecovers_tcbuffer_geo(Pointer temp, Pointer gs) { - var _result = _meos_c.ecovers_tcbuffer_geo(temp, gs); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int ecovers_tcbuffer_tcbuffer(Pointer temp1, Pointer temp2) { - var _result = _meos_c.ecovers_tcbuffer_tcbuffer(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int edisjoint_tcbuffer_geo(Pointer temp, Pointer gs) { - var _result = _meos_c.edisjoint_tcbuffer_geo(temp, gs); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int edisjoint_tcbuffer_cbuffer(Pointer temp, Pointer cb) { - var _result = _meos_c.edisjoint_tcbuffer_cbuffer(temp, cb); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int edwithin_tcbuffer_geo(Pointer temp, Pointer gs, double dist) { - var _result = _meos_c.edwithin_tcbuffer_geo(temp, gs, dist); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int edwithin_tcbuffer_cbuffer(Pointer temp, Pointer cb, double dist) { - var _result = _meos_c.edwithin_tcbuffer_cbuffer(temp, cb, dist); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int edwithin_tcbuffer_tcbuffer(Pointer temp1, Pointer temp2, double dist) { - var _result = _meos_c.edwithin_tcbuffer_tcbuffer(temp1, temp2, dist); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int eintersects_tcbuffer_geo(Pointer temp, Pointer gs) { - var _result = _meos_c.eintersects_tcbuffer_geo(temp, gs); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int eintersects_tcbuffer_cbuffer(Pointer temp, Pointer cb) { - var _result = _meos_c.eintersects_tcbuffer_cbuffer(temp, cb); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int eintersects_tcbuffer_tcbuffer(Pointer temp1, Pointer temp2) { - var _result = _meos_c.eintersects_tcbuffer_tcbuffer(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int etouches_tcbuffer_geo(Pointer temp, Pointer gs) { - var _result = _meos_c.etouches_tcbuffer_geo(temp, gs); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int etouches_tcbuffer_cbuffer(Pointer temp, Pointer cb) { - var _result = _meos_c.etouches_tcbuffer_cbuffer(temp, cb); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int etouches_tcbuffer_tcbuffer(Pointer temp1, Pointer temp2) { - var _result = _meos_c.etouches_tcbuffer_tcbuffer(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tcontains_cbuffer_tcbuffer(Pointer cb, Pointer temp) { - var _result = _meos_c.tcontains_cbuffer_tcbuffer(cb, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tcontains_geo_tcbuffer(Pointer gs, Pointer temp) { - var _result = _meos_c.tcontains_geo_tcbuffer(gs, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tcontains_tcbuffer_geo(Pointer temp, Pointer gs) { - var _result = _meos_c.tcontains_tcbuffer_geo(temp, gs); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tcontains_tcbuffer_cbuffer(Pointer temp, Pointer cb) { - var _result = _meos_c.tcontains_tcbuffer_cbuffer(temp, cb); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tcontains_tcbuffer_tcbuffer(Pointer temp1, Pointer temp2) { - var _result = _meos_c.tcontains_tcbuffer_tcbuffer(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tcovers_cbuffer_tcbuffer(Pointer cb, Pointer temp) { - var _result = _meos_c.tcovers_cbuffer_tcbuffer(cb, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tcovers_geo_tcbuffer(Pointer gs, Pointer temp) { - var _result = _meos_c.tcovers_geo_tcbuffer(gs, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tcovers_tcbuffer_geo(Pointer temp, Pointer gs) { - var _result = _meos_c.tcovers_tcbuffer_geo(temp, gs); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tcovers_tcbuffer_cbuffer(Pointer temp, Pointer cb) { - var _result = _meos_c.tcovers_tcbuffer_cbuffer(temp, cb); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tcovers_tcbuffer_tcbuffer(Pointer temp1, Pointer temp2) { - var _result = _meos_c.tcovers_tcbuffer_tcbuffer(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tdwithin_geo_tcbuffer(Pointer gs, Pointer temp, double dist) { - var _result = _meos_c.tdwithin_geo_tcbuffer(gs, temp, dist); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tdwithin_tcbuffer_geo(Pointer temp, Pointer gs, double dist) { - var _result = _meos_c.tdwithin_tcbuffer_geo(temp, gs, dist); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tdwithin_tcbuffer_cbuffer(Pointer temp, Pointer cb, double dist) { - var _result = _meos_c.tdwithin_tcbuffer_cbuffer(temp, cb, dist); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tdwithin_tcbuffer_tcbuffer(Pointer temp1, Pointer temp2, double dist) { - var _result = _meos_c.tdwithin_tcbuffer_tcbuffer(temp1, temp2, dist); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tdisjoint_cbuffer_tcbuffer(Pointer cb, Pointer temp) { - var _result = _meos_c.tdisjoint_cbuffer_tcbuffer(cb, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tdisjoint_geo_tcbuffer(Pointer gs, Pointer temp) { - var _result = _meos_c.tdisjoint_geo_tcbuffer(gs, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tdisjoint_tcbuffer_geo(Pointer temp, Pointer gs) { - var _result = _meos_c.tdisjoint_tcbuffer_geo(temp, gs); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tdisjoint_tcbuffer_cbuffer(Pointer temp, Pointer cb) { - var _result = _meos_c.tdisjoint_tcbuffer_cbuffer(temp, cb); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tdisjoint_tcbuffer_tcbuffer(Pointer temp1, Pointer temp2) { - var _result = _meos_c.tdisjoint_tcbuffer_tcbuffer(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tintersects_cbuffer_tcbuffer(Pointer cb, Pointer temp) { - var _result = _meos_c.tintersects_cbuffer_tcbuffer(cb, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tintersects_geo_tcbuffer(Pointer gs, Pointer temp) { - var _result = _meos_c.tintersects_geo_tcbuffer(gs, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tintersects_tcbuffer_geo(Pointer temp, Pointer gs) { - var _result = _meos_c.tintersects_tcbuffer_geo(temp, gs); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tintersects_tcbuffer_cbuffer(Pointer temp, Pointer cb) { - var _result = _meos_c.tintersects_tcbuffer_cbuffer(temp, cb); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tintersects_tcbuffer_tcbuffer(Pointer temp1, Pointer temp2) { - var _result = _meos_c.tintersects_tcbuffer_tcbuffer(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer ttouches_geo_tcbuffer(Pointer gs, Pointer temp) { - var _result = _meos_c.ttouches_geo_tcbuffer(gs, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer ttouches_tcbuffer_geo(Pointer temp, Pointer gs) { - var _result = _meos_c.ttouches_tcbuffer_geo(temp, gs); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer ttouches_cbuffer_tcbuffer(Pointer cb, Pointer temp) { - var _result = _meos_c.ttouches_cbuffer_tcbuffer(cb, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer ttouches_tcbuffer_cbuffer(Pointer temp, Pointer cb) { - var _result = _meos_c.ttouches_tcbuffer_cbuffer(temp, cb); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer ttouches_tcbuffer_tcbuffer(Pointer temp1, Pointer temp2) { - var _result = _meos_c.ttouches_tcbuffer_tcbuffer(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int acovers_tcbuffer_tcbuffer(Pointer temp1, Pointer temp2) { - var _result = _meos_c.acovers_tcbuffer_tcbuffer(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static long h3index_in(String str) { - var _result = _meos_c.h3index_in(str); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static String h3index_out(long cell) { - var _result = _meos_c.h3index_out(cell); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer th3index_in(String str) { - var _result = _meos_c.th3index_in(str); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer th3indexinst_in(String str) { - var _result = _meos_c.th3indexinst_in(str); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer th3indexseq_in(String str, int interp) { - var _result = _meos_c.th3indexseq_in(str, interp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer th3indexseqset_in(String str) { - var _result = _meos_c.th3indexseqset_in(str); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer th3index_make(long value, OffsetDateTime t) { - var t_new = t.toEpochSecond(); - var _result = _meos_c.th3index_make(value, t_new); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer th3indexinst_make(long value, OffsetDateTime t) { - var t_new = t.toEpochSecond(); - var _result = _meos_c.th3indexinst_make(value, t_new); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer th3indexseq_make(Pointer values, Pointer times, int count, boolean lower_inc, boolean upper_inc) { - var _result = _meos_c.th3indexseq_make(values, times, count, lower_inc, upper_inc); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer th3indexseqset_make(Pointer sequences, int count) { - var _result = _meos_c.th3indexseqset_make(sequences, count); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static long th3index_start_value(Pointer temp) { - var _result = _meos_c.th3index_start_value(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static long th3index_end_value(Pointer temp) { - var _result = _meos_c.th3index_end_value(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer th3index_value_n(Pointer temp, int n) { - boolean out; - Runtime runtime = Runtime.getSystemRuntime(); - Pointer result = Memory.allocateDirect(runtime, Long.BYTES); - out = _meos_c.th3index_value_n(temp, n, result); - Pointer new_result = result.getPointer(0); - MeosErrorHandler.checkError(); - return out ? new_result : null; - } - - @SuppressWarnings("unused") - public static Pointer th3index_values(Pointer temp, Pointer count) { - var _result = _meos_c.th3index_values(temp, count); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer th3index_value_at_timestamptz(Pointer temp, OffsetDateTime t, boolean strict) { - boolean out; - Runtime runtime = Runtime.getSystemRuntime(); - Pointer result = Memory.allocateDirect(runtime, Long.BYTES); - var t_new = t.toEpochSecond(); - out = _meos_c.th3index_value_at_timestamptz(temp, t_new, strict, result); - Pointer new_result = result.getPointer(0); - MeosErrorHandler.checkError(); - return out ? new_result : null; - } - - @SuppressWarnings("unused") - public static Pointer tbigint_to_th3index(Pointer temp) { - var _result = _meos_c.tbigint_to_th3index(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer th3index_to_tbigint(Pointer temp) { - var _result = _meos_c.th3index_to_tbigint(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int ever_eq_h3index_th3index(long cell, Pointer temp) { - var _result = _meos_c.ever_eq_h3index_th3index(cell, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int ever_eq_th3index_h3index(Pointer temp, long cell) { - var _result = _meos_c.ever_eq_th3index_h3index(temp, cell); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int ever_ne_h3index_th3index(long cell, Pointer temp) { - var _result = _meos_c.ever_ne_h3index_th3index(cell, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int ever_ne_th3index_h3index(Pointer temp, long cell) { - var _result = _meos_c.ever_ne_th3index_h3index(temp, cell); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int always_eq_h3index_th3index(long cell, Pointer temp) { - var _result = _meos_c.always_eq_h3index_th3index(cell, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int always_eq_th3index_h3index(Pointer temp, long cell) { - var _result = _meos_c.always_eq_th3index_h3index(temp, cell); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int always_ne_h3index_th3index(long cell, Pointer temp) { - var _result = _meos_c.always_ne_h3index_th3index(cell, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int always_ne_th3index_h3index(Pointer temp, long cell) { - var _result = _meos_c.always_ne_th3index_h3index(temp, cell); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int ever_eq_th3index_th3index(Pointer temp1, Pointer temp2) { - var _result = _meos_c.ever_eq_th3index_th3index(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int ever_ne_th3index_th3index(Pointer temp1, Pointer temp2) { - var _result = _meos_c.ever_ne_th3index_th3index(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int always_eq_th3index_th3index(Pointer temp1, Pointer temp2) { - var _result = _meos_c.always_eq_th3index_th3index(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int always_ne_th3index_th3index(Pointer temp1, Pointer temp2) { - var _result = _meos_c.always_ne_th3index_th3index(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer teq_h3index_th3index(long cell, Pointer temp) { - var _result = _meos_c.teq_h3index_th3index(cell, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer teq_th3index_h3index(Pointer temp, long cell) { - var _result = _meos_c.teq_th3index_h3index(temp, cell); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer teq_th3index_th3index(Pointer temp1, Pointer temp2) { - var _result = _meos_c.teq_th3index_th3index(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tne_h3index_th3index(long cell, Pointer temp) { - var _result = _meos_c.tne_h3index_th3index(cell, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tne_th3index_h3index(Pointer temp, long cell) { - var _result = _meos_c.tne_th3index_h3index(temp, cell); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tne_th3index_th3index(Pointer temp1, Pointer temp2) { - var _result = _meos_c.tne_th3index_th3index(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer th3index_get_resolution(Pointer temp) { - var _result = _meos_c.th3index_get_resolution(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer th3index_get_base_cell_number(Pointer temp) { - var _result = _meos_c.th3index_get_base_cell_number(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer th3index_is_valid_cell(Pointer temp) { - var _result = _meos_c.th3index_is_valid_cell(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer th3index_is_res_class_iii(Pointer temp) { - var _result = _meos_c.th3index_is_res_class_iii(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer th3index_is_pentagon(Pointer temp) { - var _result = _meos_c.th3index_is_pentagon(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer th3index_cell_to_parent(Pointer temp, int resolution) { - var _result = _meos_c.th3index_cell_to_parent(temp, resolution); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer th3index_cell_to_parent_next(Pointer temp) { - var _result = _meos_c.th3index_cell_to_parent_next(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer th3index_cell_to_center_child(Pointer temp, int resolution) { - var _result = _meos_c.th3index_cell_to_center_child(temp, resolution); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer th3index_cell_to_center_child_next(Pointer temp) { - var _result = _meos_c.th3index_cell_to_center_child_next(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer th3index_cell_to_child_pos(Pointer temp, int parent_res) { - var _result = _meos_c.th3index_cell_to_child_pos(temp, parent_res); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer th3index_child_pos_to_cell(Pointer child_pos, Pointer parent, int child_res) { - var _result = _meos_c.th3index_child_pos_to_cell(child_pos, parent, child_res); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tgeogpoint_to_th3index(Pointer temp, int resolution) { - var _result = _meos_c.tgeogpoint_to_th3index(temp, resolution); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tgeompoint_to_th3index(Pointer temp, int resolution) { - var _result = _meos_c.tgeompoint_to_th3index(temp, resolution); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer th3index_to_tgeogpoint(Pointer temp) { - var _result = _meos_c.th3index_to_tgeogpoint(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer th3index_to_tgeompoint(Pointer temp) { - var _result = _meos_c.th3index_to_tgeompoint(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer th3index_cell_to_boundary(Pointer temp) { - var _result = _meos_c.th3index_cell_to_boundary(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer geo_to_h3index_set(Pointer gs, int resolution) { - var _result = _meos_c.geo_to_h3index_set(gs, resolution); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int ever_eq_h3indexset_th3index(Pointer cells, Pointer th3idx) { - var _result = _meos_c.ever_eq_h3indexset_th3index(cells, th3idx); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer th3index_are_neighbor_cells(Pointer origin, Pointer dest) { - var _result = _meos_c.th3index_are_neighbor_cells(origin, dest); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer th3index_cells_to_directed_edge(Pointer origin, Pointer dest) { - var _result = _meos_c.th3index_cells_to_directed_edge(origin, dest); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer th3index_is_valid_directed_edge(Pointer edge) { - var _result = _meos_c.th3index_is_valid_directed_edge(edge); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer th3index_get_directed_edge_origin(Pointer edge) { - var _result = _meos_c.th3index_get_directed_edge_origin(edge); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer th3index_get_directed_edge_destination(Pointer edge) { - var _result = _meos_c.th3index_get_directed_edge_destination(edge); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer th3index_directed_edge_to_boundary(Pointer edge) { - var _result = _meos_c.th3index_directed_edge_to_boundary(edge); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer th3index_cell_to_vertex(Pointer temp, int vertex_num) { - var _result = _meos_c.th3index_cell_to_vertex(temp, vertex_num); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer th3index_vertex_to_latlng(Pointer temp) { - var _result = _meos_c.th3index_vertex_to_latlng(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer th3index_is_valid_vertex(Pointer temp) { - var _result = _meos_c.th3index_is_valid_vertex(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer th3index_grid_distance(Pointer origin, Pointer dest) { - var _result = _meos_c.th3index_grid_distance(origin, dest); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer th3index_cell_to_local_ij(Pointer origin, Pointer cell) { - var _result = _meos_c.th3index_cell_to_local_ij(origin, cell); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer th3index_local_ij_to_cell(Pointer origin, Pointer coord) { - var _result = _meos_c.th3index_local_ij_to_cell(origin, coord); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer th3index_cell_area(Pointer temp, String unit) { - var _result = _meos_c.th3index_cell_area(temp, unit); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer th3index_edge_length(Pointer temp, String unit) { - var _result = _meos_c.th3index_edge_length(temp, unit); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tgeogpoint_great_circle_distance(Pointer a, Pointer b, String unit) { - var _result = _meos_c.tgeogpoint_great_circle_distance(a, b, unit); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer gsl_get_generation_rng() { - var _result = _meos_c.gsl_get_generation_rng(); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer gsl_get_aggregation_rng() { - var _result = _meos_c.gsl_get_aggregation_rng(); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int datum_ceil(Pointer d) { - var _result = _meos_c.datum_ceil(d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int datum_degrees(Pointer d, Pointer normalize) { - var _result = _meos_c.datum_degrees(d, normalize); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int datum_float_round(Pointer value, Pointer size) { - var _result = _meos_c.datum_float_round(value, size); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int datum_floor(Pointer d) { - var _result = _meos_c.datum_floor(d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int datum_hash(Pointer d, int basetype) { - var _result = _meos_c.datum_hash(d, basetype); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static long datum_hash_extended(Pointer d, int basetype, long seed) { - var _result = _meos_c.datum_hash_extended(d, basetype, seed); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int datum_radians(Pointer d) { - var _result = _meos_c.datum_radians(d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static void floatspan_round_set(Pointer s, int maxdd, Pointer result) { - _meos_c.floatspan_round_set(s, maxdd, result); - MeosErrorHandler.checkError(); - } - - @SuppressWarnings("unused") - public static Pointer set_in(String str, int basetype) { - var _result = _meos_c.set_in(str, basetype); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static String set_out(Pointer s, int maxdd) { - var _result = _meos_c.set_out(s, maxdd); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer span_in(String str, int spantype) { - var _result = _meos_c.span_in(str, spantype); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static String span_out(Pointer s, int maxdd) { - var _result = _meos_c.span_out(s, maxdd); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer spanset_in(String str, int spantype) { - var _result = _meos_c.spanset_in(str, spantype); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static String spanset_out(Pointer ss, int maxdd) { - var _result = _meos_c.spanset_out(ss, maxdd); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer set_make(Pointer values, int count, int basetype, boolean order) { - var _result = _meos_c.set_make(values, count, basetype, order); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer set_make_exp(Pointer values, int count, int maxcount, int basetype, boolean order) { - var _result = _meos_c.set_make_exp(values, count, maxcount, basetype, order); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer set_make_free(Pointer values, int count, int basetype, boolean order) { - var _result = _meos_c.set_make_free(values, count, basetype, order); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer span_make(Pointer lower, Pointer upper, boolean lower_inc, boolean upper_inc, int basetype) { - var _result = _meos_c.span_make(lower, upper, lower_inc, upper_inc, basetype); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static void span_set(Pointer lower, Pointer upper, boolean lower_inc, boolean upper_inc, int basetype, int spantype, Pointer s) { - _meos_c.span_set(lower, upper, lower_inc, upper_inc, basetype, spantype, s); - MeosErrorHandler.checkError(); - } - - @SuppressWarnings("unused") - public static Pointer spanset_make_exp(Pointer spans, int count, int maxcount, boolean normalize, boolean order) { - var _result = _meos_c.spanset_make_exp(spans, count, maxcount, normalize, order); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer spanset_make_free(Pointer spans, int count, boolean normalize, boolean order) { - var _result = _meos_c.spanset_make_free(spans, count, normalize, order); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer set_span(Pointer s) { - var _result = _meos_c.set_span(s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer set_spanset(Pointer s) { - var _result = _meos_c.set_spanset(s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static void value_set_span(Pointer value, int basetype, Pointer s) { - _meos_c.value_set_span(value, basetype, s); - MeosErrorHandler.checkError(); - } - - @SuppressWarnings("unused") - public static Pointer value_set(Pointer d, int basetype) { - var _result = _meos_c.value_set(d, basetype); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer value_span(Pointer d, int basetype) { - var _result = _meos_c.value_span(d, basetype); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer value_spanset(Pointer d, int basetype) { - var _result = _meos_c.value_spanset(d, basetype); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int numspan_width(Pointer s) { - var _result = _meos_c.numspan_width(s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int numspanset_width(Pointer ss, boolean boundspan) { - var _result = _meos_c.numspanset_width(ss, boundspan); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int set_end_value(Pointer s) { - var _result = _meos_c.set_end_value(s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int set_mem_size(Pointer s) { - var _result = _meos_c.set_mem_size(s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static void set_set_subspan(Pointer s, int minidx, int maxidx, Pointer result) { - _meos_c.set_set_subspan(s, minidx, maxidx, result); - MeosErrorHandler.checkError(); - } - - @SuppressWarnings("unused") - public static void set_set_span(Pointer s, Pointer result) { - _meos_c.set_set_span(s, result); - MeosErrorHandler.checkError(); - } - - @SuppressWarnings("unused") - public static int set_start_value(Pointer s) { - var _result = _meos_c.set_start_value(s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer set_value_n(Pointer s, int n) { - boolean out; - Runtime runtime = Runtime.getSystemRuntime(); - Pointer result = Memory.allocateDirect(runtime, Long.BYTES); - out = _meos_c.set_value_n(s, n, result); - Pointer new_result = result.getPointer(0); - MeosErrorHandler.checkError(); - return out ? new_result : null; - } - - @SuppressWarnings("unused") - public static Pointer set_vals(Pointer s) { - var _result = _meos_c.set_vals(s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer set_values(Pointer s) { - var _result = _meos_c.set_values(s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int spanset_lower(Pointer ss) { - var _result = _meos_c.spanset_lower(ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int spanset_mem_size(Pointer ss) { - var _result = _meos_c.spanset_mem_size(ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer spanset_sps(Pointer ss) { - var _result = _meos_c.spanset_sps(ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int spanset_upper(Pointer ss) { - var _result = _meos_c.spanset_upper(ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static void bigintspan_set_floatspan(Pointer s1, Pointer s2) { - _meos_c.bigintspan_set_floatspan(s1, s2); - MeosErrorHandler.checkError(); - } - - @SuppressWarnings("unused") - public static void bigintspan_set_intspan(Pointer s1, Pointer s2) { - _meos_c.bigintspan_set_intspan(s1, s2); - MeosErrorHandler.checkError(); - } - - @SuppressWarnings("unused") - public static void datespan_set_tstzspan(Pointer s1, Pointer s2) { - _meos_c.datespan_set_tstzspan(s1, s2); - MeosErrorHandler.checkError(); - } - - @SuppressWarnings("unused") - public static void floatspan_set_bigintspan(Pointer s1, Pointer s2) { - _meos_c.floatspan_set_bigintspan(s1, s2); - MeosErrorHandler.checkError(); - } - - @SuppressWarnings("unused") - public static void floatspan_set_intspan(Pointer s1, Pointer s2) { - _meos_c.floatspan_set_intspan(s1, s2); - MeosErrorHandler.checkError(); - } - - @SuppressWarnings("unused") - public static void intspan_set_bigintspan(Pointer s1, Pointer s2) { - _meos_c.intspan_set_bigintspan(s1, s2); - MeosErrorHandler.checkError(); - } - - @SuppressWarnings("unused") - public static void intspan_set_floatspan(Pointer s1, Pointer s2) { - _meos_c.intspan_set_floatspan(s1, s2); - MeosErrorHandler.checkError(); - } - - @SuppressWarnings("unused") - public static Pointer numset_shift_scale(Pointer s, Pointer shift, Pointer width, boolean hasshift, boolean haswidth) { - var _result = _meos_c.numset_shift_scale(s, shift, width, hasshift, haswidth); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer numspan_expand(Pointer s, Pointer value) { - var _result = _meos_c.numspan_expand(s, value); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer numspan_shift_scale(Pointer s, Pointer shift, Pointer width, boolean hasshift, boolean haswidth) { - var _result = _meos_c.numspan_shift_scale(s, shift, width, hasshift, haswidth); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer numspanset_shift_scale(Pointer ss, Pointer shift, Pointer width, boolean hasshift, boolean haswidth) { - var _result = _meos_c.numspanset_shift_scale(ss, shift, width, hasshift, haswidth); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer set_compact(Pointer s) { - var _result = _meos_c.set_compact(s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static void span_expand(Pointer s1, Pointer s2) { - _meos_c.span_expand(s1, s2); - MeosErrorHandler.checkError(); - } - - @SuppressWarnings("unused") - public static Pointer spanset_compact(Pointer ss) { - var _result = _meos_c.spanset_compact(ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tbox_expand_value(Pointer box, Pointer value, int basetyp) { - var _result = _meos_c.tbox_expand_value(box, value, basetyp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer textcat_textset_text_common(Pointer s, Pointer txt, boolean invert) { - var _result = _meos_c.textcat_textset_text_common(s, txt, invert); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static void tstzspan_set_datespan(Pointer s1, Pointer s2) { - _meos_c.tstzspan_set_datespan(s1, s2); - MeosErrorHandler.checkError(); - } - - @SuppressWarnings("unused") - public static boolean adjacent_span_value(Pointer s, Pointer value) { - var _result = _meos_c.adjacent_span_value(s, value); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean adjacent_spanset_value(Pointer ss, Pointer value) { - var _result = _meos_c.adjacent_spanset_value(ss, value); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean adjacent_value_spanset(Pointer value, Pointer ss) { - var _result = _meos_c.adjacent_value_spanset(value, ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean contained_value_set(Pointer value, Pointer s) { - var _result = _meos_c.contained_value_set(value, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean contained_value_span(Pointer value, Pointer s) { - var _result = _meos_c.contained_value_span(value, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean contained_value_spanset(Pointer value, Pointer ss) { - var _result = _meos_c.contained_value_spanset(value, ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean contains_set_value(Pointer s, Pointer value) { - var _result = _meos_c.contains_set_value(s, value); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean contains_span_value(Pointer s, Pointer value) { - var _result = _meos_c.contains_span_value(s, value); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean contains_spanset_value(Pointer ss, Pointer value) { - var _result = _meos_c.contains_spanset_value(ss, value); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean ovadj_span_span(Pointer s1, Pointer s2) { - var _result = _meos_c.ovadj_span_span(s1, s2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean left_set_value(Pointer s, Pointer value) { - var _result = _meos_c.left_set_value(s, value); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean left_span_value(Pointer s, Pointer value) { - var _result = _meos_c.left_span_value(s, value); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean left_spanset_value(Pointer ss, Pointer value) { - var _result = _meos_c.left_spanset_value(ss, value); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean left_value_set(Pointer value, Pointer s) { - var _result = _meos_c.left_value_set(value, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean left_value_span(Pointer value, Pointer s) { - var _result = _meos_c.left_value_span(value, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean left_value_spanset(Pointer value, Pointer ss) { - var _result = _meos_c.left_value_spanset(value, ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean lfnadj_span_span(Pointer s1, Pointer s2) { - var _result = _meos_c.lfnadj_span_span(s1, s2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overleft_set_value(Pointer s, Pointer value) { - var _result = _meos_c.overleft_set_value(s, value); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overleft_span_value(Pointer s, Pointer value) { - var _result = _meos_c.overleft_span_value(s, value); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overleft_spanset_value(Pointer ss, Pointer value) { - var _result = _meos_c.overleft_spanset_value(ss, value); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overleft_value_set(Pointer value, Pointer s) { - var _result = _meos_c.overleft_value_set(value, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overleft_value_span(Pointer value, Pointer s) { - var _result = _meos_c.overleft_value_span(value, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overleft_value_spanset(Pointer value, Pointer ss) { - var _result = _meos_c.overleft_value_spanset(value, ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overright_set_value(Pointer s, Pointer value) { - var _result = _meos_c.overright_set_value(s, value); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overright_span_value(Pointer s, Pointer value) { - var _result = _meos_c.overright_span_value(s, value); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overright_spanset_value(Pointer ss, Pointer value) { - var _result = _meos_c.overright_spanset_value(ss, value); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overright_value_set(Pointer value, Pointer s) { - var _result = _meos_c.overright_value_set(value, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overright_value_span(Pointer value, Pointer s) { - var _result = _meos_c.overright_value_span(value, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overright_value_spanset(Pointer value, Pointer ss) { - var _result = _meos_c.overright_value_spanset(value, ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean right_value_set(Pointer value, Pointer s) { - var _result = _meos_d.right_value_set(value, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean right_set_value(Pointer s, Pointer value) { - var _result = _meos_d.right_set_value(s, value); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean right_value_span(Pointer value, Pointer s) { - var _result = _meos_d.right_value_span(value, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean right_value_spanset(Pointer value, Pointer ss) { - var _result = _meos_d.right_value_spanset(value, ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean right_span_value(Pointer s, Pointer value) { - var _result = _meos_d.right_span_value(s, value); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean right_spanset_value(Pointer ss, Pointer value) { - var _result = _meos_d.right_spanset_value(ss, value); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean bbox_type(int bboxtype) { - var _result = _meos_d.bbox_type(bboxtype); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static long bbox_get_size(int bboxtype) { - var _result = _meos_d.bbox_get_size(bboxtype); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int bbox_max_dims(int bboxtype) { - var _result = _meos_d.bbox_max_dims(bboxtype); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean temporal_bbox_eq(Pointer box1, Pointer box2, int temptype) { - var _result = _meos_d.temporal_bbox_eq(box1, box2, temptype); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int temporal_bbox_cmp(Pointer box1, Pointer box2, int temptype) { - var _result = _meos_d.temporal_bbox_cmp(box1, box2, temptype); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static void bbox_union_span_span(Pointer s1, Pointer s2, Pointer result) { - _meos_d.bbox_union_span_span(s1, s2, result); - MeosErrorHandler.checkError(); - } - - @SuppressWarnings("unused") - public static Pointer inter_span_span(Pointer s1, Pointer s2) { - boolean out; - Runtime runtime = Runtime.getSystemRuntime(); - Pointer result = Memory.allocateDirect(runtime, Long.BYTES); - out = _meos_d.inter_span_span(s1, s2, result); - Pointer new_result = result.getPointer(0); - MeosErrorHandler.checkError(); - return out ? new_result : null; - } - - @SuppressWarnings("unused") - public static Pointer intersection_set_value(Pointer s, Pointer value) { - var _result = _meos_d.intersection_set_value(s, value); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer intersection_span_value(Pointer s, Pointer value) { - var _result = _meos_d.intersection_span_value(s, value); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer intersection_spanset_value(Pointer ss, Pointer value) { - var _result = _meos_d.intersection_spanset_value(ss, value); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer intersection_value_set(Pointer value, Pointer s) { - var _result = _meos_d.intersection_value_set(value, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer intersection_value_span(Pointer value, Pointer s) { - var _result = _meos_d.intersection_value_span(value, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer intersection_value_spanset(Pointer value, Pointer ss) { - var _result = _meos_d.intersection_value_spanset(value, ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int mi_span_span(Pointer s1, Pointer s2, Pointer result) { - var _result = _meos_d.mi_span_span(s1, s2, result); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer minus_set_value(Pointer s, Pointer value) { - var _result = _meos_d.minus_set_value(s, value); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer minus_span_value(Pointer s, Pointer value) { - var _result = _meos_d.minus_span_value(s, value); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer minus_spanset_value(Pointer ss, Pointer value) { - var _result = _meos_d.minus_spanset_value(ss, value); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer minus_value_set(Pointer value, Pointer s) { - var _result = _meos_d.minus_value_set(value, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer minus_value_span(Pointer value, Pointer s) { - var _result = _meos_d.minus_value_span(value, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer minus_value_spanset(Pointer value, Pointer ss) { - var _result = _meos_d.minus_value_spanset(value, ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer super_union_span_span(Pointer s1, Pointer s2) { - var _result = _meos_d.super_union_span_span(s1, s2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer union_set_value(Pointer s, Pointer value) { - var _result = _meos_d.union_set_value(s, value); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer union_span_value(Pointer s, Pointer value) { - var _result = _meos_d.union_span_value(s, value); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer union_spanset_value(Pointer ss, Pointer value) { - var _result = _meos_d.union_spanset_value(ss, value); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer union_value_set(Pointer value, Pointer s) { - var _result = _meos_d.union_value_set(value, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer union_value_span(Pointer value, Pointer s) { - var _result = _meos_d.union_value_span(value, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer union_value_spanset(Pointer value, Pointer ss) { - var _result = _meos_d.union_value_spanset(value, ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int distance_set_set(Pointer s1, Pointer s2) { - var _result = _meos_d.distance_set_set(s1, s2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int distance_set_value(Pointer s, Pointer value) { - var _result = _meos_d.distance_set_value(s, value); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int distance_span_span(Pointer s1, Pointer s2) { - var _result = _meos_d.distance_span_span(s1, s2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int distance_span_value(Pointer s, Pointer value) { - var _result = _meos_d.distance_span_value(s, value); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int distance_spanset_span(Pointer ss, Pointer s) { - var _result = _meos_d.distance_spanset_span(ss, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int distance_spanset_spanset(Pointer ss1, Pointer ss2) { - var _result = _meos_d.distance_spanset_spanset(ss1, ss2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int distance_spanset_value(Pointer ss, Pointer value) { - var _result = _meos_d.distance_spanset_value(ss, value); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int distance_value_value(Pointer l, Pointer r, int basetype) { - var _result = _meos_d.distance_value_value(l, r, basetype); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer spanbase_extent_transfn(Pointer state, Pointer value, int basetype) { - var _result = _meos_d.spanbase_extent_transfn(state, value, basetype); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer value_union_transfn(Pointer state, Pointer value, int basetype) { - var _result = _meos_d.value_union_transfn(state, value, basetype); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer number_tstzspan_to_tbox(Pointer d, int basetype, Pointer s) { - var _result = _meos_d.number_tstzspan_to_tbox(d, basetype, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer number_timestamptz_to_tbox(Pointer d, int basetype, OffsetDateTime t) { - var t_new = t.toEpochSecond(); - var _result = _meos_d.number_timestamptz_to_tbox(d, basetype, t_new); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static void tbox_set(Pointer s, Pointer p, Pointer box) { - _meos_d.tbox_set(s, p, box); - MeosErrorHandler.checkError(); - } - - @SuppressWarnings("unused") - public static void float_set_tbox(double d, Pointer box) { - _meos_d.float_set_tbox(d, box); - MeosErrorHandler.checkError(); - } - - @SuppressWarnings("unused") - public static void int_set_tbox(int i, Pointer box) { - _meos_d.int_set_tbox(i, box); - MeosErrorHandler.checkError(); - } - - @SuppressWarnings("unused") - public static void number_set_tbox(Pointer d, int basetype, Pointer box) { - _meos_d.number_set_tbox(d, basetype, box); - MeosErrorHandler.checkError(); - } - - @SuppressWarnings("unused") - public static Pointer number_tbox(Pointer value, int basetype) { - var _result = _meos_d.number_tbox(value, basetype); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static void numset_set_tbox(Pointer s, Pointer box) { - _meos_d.numset_set_tbox(s, box); - MeosErrorHandler.checkError(); - } - - @SuppressWarnings("unused") - public static void numspan_set_tbox(Pointer span, Pointer box) { - _meos_d.numspan_set_tbox(span, box); - MeosErrorHandler.checkError(); - } - - @SuppressWarnings("unused") - public static void timestamptz_set_tbox(OffsetDateTime t, Pointer box) { - var t_new = t.toEpochSecond(); - _meos_d.timestamptz_set_tbox(t_new, box); - MeosErrorHandler.checkError(); - } - - @SuppressWarnings("unused") - public static void tstzset_set_tbox(Pointer s, Pointer box) { - _meos_d.tstzset_set_tbox(s, box); - MeosErrorHandler.checkError(); - } - - @SuppressWarnings("unused") - public static void tstzspan_set_tbox(Pointer s, Pointer box) { - _meos_d.tstzspan_set_tbox(s, box); - MeosErrorHandler.checkError(); - } - - @SuppressWarnings("unused") - public static Pointer tbox_shift_scale_value(Pointer box, Pointer shift, Pointer width, boolean hasshift, boolean haswidth) { - var _result = _meos_d.tbox_shift_scale_value(box, shift, width, hasshift, haswidth); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static void tbox_expand(Pointer box1, Pointer box2) { - _meos_d.tbox_expand(box1, box2); - MeosErrorHandler.checkError(); - } - - @SuppressWarnings("unused") - public static Pointer inter_tbox_tbox(Pointer box1, Pointer box2) { - boolean out; - Runtime runtime = Runtime.getSystemRuntime(); - Pointer result = Memory.allocateDirect(runtime, Long.BYTES); - out = _meos_d.inter_tbox_tbox(box1, box2, result); - Pointer new_result = result.getPointer(0); - MeosErrorHandler.checkError(); - return out ? new_result : null; - } - - @SuppressWarnings("unused") - public static Pointer tboolinst_from_mfjson(Pointer mfjson) { - var _result = _meos_d.tboolinst_from_mfjson(mfjson); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tboolinst_in(String str) { - var _result = _meos_d.tboolinst_in(str); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tboolseq_from_mfjson(Pointer mfjson) { - var _result = _meos_d.tboolseq_from_mfjson(mfjson); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tboolseq_in(String str, int interp) { - var _result = _meos_d.tboolseq_in(str, interp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tboolseqset_from_mfjson(Pointer mfjson) { - var _result = _meos_d.tboolseqset_from_mfjson(mfjson); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tboolseqset_in(String str) { - var _result = _meos_d.tboolseqset_in(str); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer temporal_in(String str, int temptype) { - var _result = _meos_d.temporal_in(str, temptype); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static String temporal_out(Pointer temp, int maxdd) { - var _result = _meos_d.temporal_out(temp, maxdd); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer temparr_out(Pointer temparr, int count, int maxdd) { - var _result = _meos_d.temparr_out(temparr, count, maxdd); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tfloatinst_from_mfjson(Pointer mfjson) { - var _result = _meos_d.tfloatinst_from_mfjson(mfjson); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tfloatinst_in(String str) { - var _result = _meos_d.tfloatinst_in(str); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tfloatseq_from_mfjson(Pointer mfjson, int interp) { - var _result = _meos_d.tfloatseq_from_mfjson(mfjson, interp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tfloatseq_in(String str, int interp) { - var _result = _meos_d.tfloatseq_in(str, interp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tfloatseqset_from_mfjson(Pointer mfjson, int interp) { - var _result = _meos_d.tfloatseqset_from_mfjson(mfjson, interp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tfloatseqset_in(String str) { - var _result = _meos_d.tfloatseqset_in(str); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tinstant_from_mfjson(Pointer mfjson, boolean spatial, int srid, int temptype) { - var _result = _meos_d.tinstant_from_mfjson(mfjson, spatial, srid, temptype); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tinstant_in(String str, int temptype) { - var _result = _meos_d.tinstant_in(str, temptype); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static String tinstant_out(Pointer inst, int maxdd) { - var _result = _meos_d.tinstant_out(inst, maxdd); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tintinst_from_mfjson(Pointer mfjson) { - var _result = _meos_d.tintinst_from_mfjson(mfjson); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tintinst_in(String str) { - var _result = _meos_d.tintinst_in(str); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tintseq_from_mfjson(Pointer mfjson) { - var _result = _meos_d.tintseq_from_mfjson(mfjson); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tintseq_in(String str, int interp) { - var _result = _meos_d.tintseq_in(str, interp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tintseqset_from_mfjson(Pointer mfjson) { - var _result = _meos_d.tintseqset_from_mfjson(mfjson); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tintseqset_in(String str) { - var _result = _meos_d.tintseqset_in(str); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tsequence_from_mfjson(Pointer mfjson, boolean spatial, int srid, int temptype, int interp) { - var _result = _meos_d.tsequence_from_mfjson(mfjson, spatial, srid, temptype, interp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tsequence_in(String str, int temptype, int interp) { - var _result = _meos_d.tsequence_in(str, temptype, interp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static String tsequence_out(Pointer seq, int maxdd) { - var _result = _meos_d.tsequence_out(seq, maxdd); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tsequenceset_from_mfjson(Pointer mfjson, boolean spatial, int srid, int temptype, int interp) { - var _result = _meos_d.tsequenceset_from_mfjson(mfjson, spatial, srid, temptype, interp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tsequenceset_in(String str, int temptype, int interp) { - var _result = _meos_d.tsequenceset_in(str, temptype, interp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static String tsequenceset_out(Pointer ss, int maxdd) { - var _result = _meos_d.tsequenceset_out(ss, maxdd); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer ttextinst_from_mfjson(Pointer mfjson) { - var _result = _meos_d.ttextinst_from_mfjson(mfjson); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer ttextinst_in(String str) { - var _result = _meos_d.ttextinst_in(str); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer ttextseq_from_mfjson(Pointer mfjson) { - var _result = _meos_d.ttextseq_from_mfjson(mfjson); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer ttextseq_in(String str, int interp) { - var _result = _meos_d.ttextseq_in(str, interp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer ttextseqset_from_mfjson(Pointer mfjson) { - var _result = _meos_d.ttextseqset_from_mfjson(mfjson); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer ttextseqset_in(String str) { - var _result = _meos_d.ttextseqset_in(str); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer temporal_from_mfjson(String mfjson, int temptype) { - var _result = _meos_d.temporal_from_mfjson(mfjson, temptype); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer temporal_from_base_temp(Pointer value, int temptype, Pointer temp) { - var _result = _meos_d.temporal_from_base_temp(value, temptype, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tinstant_copy(Pointer inst) { - var _result = _meos_d.tinstant_copy(inst); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tinstant_make(Pointer value, int temptype, OffsetDateTime t) { - var t_new = t.toEpochSecond(); - var _result = _meos_d.tinstant_make(value, temptype, t_new); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tinstant_make_free(Pointer value, int temptype, OffsetDateTime t) { - var t_new = t.toEpochSecond(); - var _result = _meos_d.tinstant_make_free(value, temptype, t_new); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tsequence_copy(Pointer seq) { - var _result = _meos_d.tsequence_copy(seq); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tsequence_from_base_temp(Pointer value, int temptype, Pointer seq) { - var _result = _meos_d.tsequence_from_base_temp(value, temptype, seq); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tsequence_from_base_tstzset(Pointer value, int temptype, Pointer s) { - var _result = _meos_d.tsequence_from_base_tstzset(value, temptype, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tsequence_from_base_tstzspan(Pointer value, int temptype, Pointer s, int interp) { - var _result = _meos_d.tsequence_from_base_tstzspan(value, temptype, s, interp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tsequence_make_exp(Pointer instants, int count, int maxcount, boolean lower_inc, boolean upper_inc, int interp, boolean normalize) { - var _result = _meos_d.tsequence_make_exp(instants, count, maxcount, lower_inc, upper_inc, interp, normalize); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tsequence_make_free(Pointer instants, int count, boolean lower_inc, boolean upper_inc, int interp, boolean normalize) { - var _result = _meos_d.tsequence_make_free(instants, count, lower_inc, upper_inc, interp, normalize); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tsequenceset_copy(Pointer ss) { - var _result = _meos_d.tsequenceset_copy(ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tseqsetarr_to_tseqset(Pointer seqsets, int count, int totalseqs) { - var _result = _meos_d.tseqsetarr_to_tseqset(seqsets, count, totalseqs); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tsequenceset_from_base_temp(Pointer value, int temptype, Pointer ss) { - var _result = _meos_d.tsequenceset_from_base_temp(value, temptype, ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tsequenceset_from_base_tstzspanset(Pointer value, int temptype, Pointer ss, int interp) { - var _result = _meos_d.tsequenceset_from_base_tstzspanset(value, temptype, ss, interp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tsequenceset_make_exp(Pointer sequences, int count, int maxcount, boolean normalize) { - var _result = _meos_d.tsequenceset_make_exp(sequences, count, maxcount, normalize); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tsequenceset_make_free(Pointer sequences, int count, boolean normalize) { - var _result = _meos_d.tsequenceset_make_free(sequences, count, normalize); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static void temporal_set_tstzspan(Pointer temp, Pointer s) { - _meos_d.temporal_set_tstzspan(temp, s); - MeosErrorHandler.checkError(); - } - - @SuppressWarnings("unused") - public static void tinstant_set_tstzspan(Pointer inst, Pointer s) { - _meos_d.tinstant_set_tstzspan(inst, s); - MeosErrorHandler.checkError(); - } - - @SuppressWarnings("unused") - public static void tnumber_set_tbox(Pointer temp, Pointer box) { - _meos_d.tnumber_set_tbox(temp, box); - MeosErrorHandler.checkError(); - } - - @SuppressWarnings("unused") - public static void tnumberinst_set_tbox(Pointer inst, Pointer box) { - _meos_d.tnumberinst_set_tbox(inst, box); - MeosErrorHandler.checkError(); - } - - @SuppressWarnings("unused") - public static void tnumberseq_set_tbox(Pointer seq, Pointer box) { - _meos_d.tnumberseq_set_tbox(seq, box); - MeosErrorHandler.checkError(); - } - - @SuppressWarnings("unused") - public static void tnumberseqset_set_tbox(Pointer ss, Pointer box) { - _meos_d.tnumberseqset_set_tbox(ss, box); - MeosErrorHandler.checkError(); - } - - @SuppressWarnings("unused") - public static void tsequence_set_tstzspan(Pointer seq, Pointer s) { - _meos_d.tsequence_set_tstzspan(seq, s); - MeosErrorHandler.checkError(); - } - - @SuppressWarnings("unused") - public static void tsequenceset_set_tstzspan(Pointer ss, Pointer s) { - _meos_d.tsequenceset_set_tstzspan(ss, s); - MeosErrorHandler.checkError(); - } - - @SuppressWarnings("unused") - public static Pointer temporal_end_inst(Pointer temp) { - var _result = _meos_d.temporal_end_inst(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int temporal_end_value(Pointer temp) { - var _result = _meos_d.temporal_end_value(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer temporal_inst_n(Pointer temp, int n) { - var _result = _meos_d.temporal_inst_n(temp, n); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer temporal_insts_p(Pointer temp, Pointer count) { - var _result = _meos_d.temporal_insts_p(temp, count); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer temporal_max_inst_p(Pointer temp) { - var _result = _meos_d.temporal_max_inst_p(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int temporal_max_value(Pointer temp) { - var _result = _meos_d.temporal_max_value(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static long temporal_mem_size(Pointer temp) { - var _result = _meos_d.temporal_mem_size(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer temporal_min_inst_p(Pointer temp) { - var _result = _meos_d.temporal_min_inst_p(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int temporal_min_value(Pointer temp) { - var _result = _meos_d.temporal_min_value(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer temporal_sequences_p(Pointer temp, Pointer count) { - var _result = _meos_d.temporal_sequences_p(temp, count); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static void temporal_set_bbox(Pointer temp, Pointer box) { - _meos_d.temporal_set_bbox(temp, box); - MeosErrorHandler.checkError(); - } - - @SuppressWarnings("unused") - public static Pointer temporal_start_inst(Pointer temp) { - var _result = _meos_d.temporal_start_inst(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int temporal_start_value(Pointer temp) { - var _result = _meos_d.temporal_start_value(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer temporal_values_p(Pointer temp, Pointer count) { - var _result = _meos_d.temporal_values_p(temp, count); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer temporal_value_n(Pointer temp, int n) { - boolean out; - Runtime runtime = Runtime.getSystemRuntime(); - Pointer result = Memory.allocateDirect(runtime, Long.BYTES); - out = _meos_d.temporal_value_n(temp, n, result); - Pointer new_result = result.getPointer(0); - MeosErrorHandler.checkError(); - return out ? new_result : null; - } - - @SuppressWarnings("unused") - public static Pointer temporal_values(Pointer temp, Pointer count) { - var _result = _meos_d.temporal_values(temp, count); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int tinstant_hash(Pointer inst) { - var _result = _meos_d.tinstant_hash(inst); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tinstant_insts(Pointer inst, Pointer count) { - var _result = _meos_d.tinstant_insts(inst, count); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static void tinstant_set_bbox(Pointer inst, Pointer box) { - _meos_d.tinstant_set_bbox(inst, box); - MeosErrorHandler.checkError(); - } - - @SuppressWarnings("unused") - public static Pointer tinstant_time(Pointer inst) { - var _result = _meos_d.tinstant_time(inst); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tinstant_timestamps(Pointer inst, Pointer count) { - var _result = _meos_d.tinstant_timestamps(inst, count); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int tinstant_value_p(Pointer inst) { - var _result = _meos_d.tinstant_value_p(inst); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int tinstant_value(Pointer inst) { - var _result = _meos_d.tinstant_value(inst); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tinstant_value_at_timestamptz(Pointer inst, OffsetDateTime t) { - boolean out; - Runtime runtime = Runtime.getSystemRuntime(); - Pointer result = Memory.allocateDirect(runtime, Long.BYTES); - var t_new = t.toEpochSecond(); - out = _meos_d.tinstant_value_at_timestamptz(inst, t_new, result); - Pointer new_result = result.getPointer(0); - MeosErrorHandler.checkError(); - return out ? new_result : null; - } - - @SuppressWarnings("unused") - public static Pointer tinstant_values_p(Pointer inst, Pointer count) { - var _result = _meos_d.tinstant_values_p(inst, count); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static void tnumber_set_span(Pointer temp, Pointer span) { - _meos_d.tnumber_set_span(temp, span); - MeosErrorHandler.checkError(); - } - - @SuppressWarnings("unused") - public static Pointer tnumberinst_valuespans(Pointer inst) { - var _result = _meos_d.tnumberinst_valuespans(inst); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double tnumberseq_avg_val(Pointer seq) { - var _result = _meos_d.tnumberseq_avg_val(seq); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tnumberseq_valuespans(Pointer seq) { - var _result = _meos_d.tnumberseq_valuespans(seq); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double tnumberseqset_avg_val(Pointer ss) { - var _result = _meos_d.tnumberseqset_avg_val(ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tnumberseqset_valuespans(Pointer ss) { - var _result = _meos_d.tnumberseqset_valuespans(ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tsequence_duration(Pointer seq) { - var _result = _meos_d.tsequence_duration(seq); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static OffsetDateTime tsequence_end_timestamptz(Pointer seq) { - var _result = _meos_d.tsequence_end_timestamptz(seq); - MeosErrorHandler.checkError(); - return java.time.Instant.ofEpochSecond(_result).atOffset(java.time.ZoneOffset.UTC); - } - - @SuppressWarnings("unused") - public static int tsequence_hash(Pointer seq) { - var _result = _meos_d.tsequence_hash(seq); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tsequence_insts_p(Pointer seq) { - var _result = _meos_d.tsequence_insts_p(seq); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tsequence_max_inst_p(Pointer seq) { - var _result = _meos_d.tsequence_max_inst_p(seq); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int tsequence_max_val(Pointer seq) { - var _result = _meos_d.tsequence_max_val(seq); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tsequence_min_inst_p(Pointer seq) { - var _result = _meos_d.tsequence_min_inst_p(seq); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int tsequence_min_val(Pointer seq) { - var _result = _meos_d.tsequence_min_val(seq); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tsequence_segments(Pointer seq, Pointer count) { - var _result = _meos_d.tsequence_segments(seq, count); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tsequence_seqs(Pointer seq, Pointer count) { - var _result = _meos_d.tsequence_seqs(seq, count); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static OffsetDateTime tsequence_start_timestamptz(Pointer seq) { - var _result = _meos_d.tsequence_start_timestamptz(seq); - MeosErrorHandler.checkError(); - return java.time.Instant.ofEpochSecond(_result).atOffset(java.time.ZoneOffset.UTC); - } - - @SuppressWarnings("unused") - public static Pointer tsequence_time(Pointer seq) { - var _result = _meos_d.tsequence_time(seq); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tsequence_timestamps(Pointer seq, Pointer count) { - var _result = _meos_d.tsequence_timestamps(seq, count); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tsequence_value_at_timestamptz(Pointer seq, OffsetDateTime t, boolean strict) { - boolean out; - Runtime runtime = Runtime.getSystemRuntime(); - Pointer result = Memory.allocateDirect(runtime, Long.BYTES); - var t_new = t.toEpochSecond(); - out = _meos_d.tsequence_value_at_timestamptz(seq, t_new, strict, result); - Pointer new_result = result.getPointer(0); - MeosErrorHandler.checkError(); - return out ? new_result : null; - } - - @SuppressWarnings("unused") - public static Pointer tsequence_values_p(Pointer seq, Pointer count) { - var _result = _meos_d.tsequence_values_p(seq, count); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tsequenceset_duration(Pointer ss, boolean boundspan) { - var _result = _meos_d.tsequenceset_duration(ss, boundspan); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static OffsetDateTime tsequenceset_end_timestamptz(Pointer ss) { - var _result = _meos_d.tsequenceset_end_timestamptz(ss); - MeosErrorHandler.checkError(); - return java.time.Instant.ofEpochSecond(_result).atOffset(java.time.ZoneOffset.UTC); - } - - @SuppressWarnings("unused") - public static int tsequenceset_hash(Pointer ss) { - var _result = _meos_d.tsequenceset_hash(ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tsequenceset_inst_n(Pointer ss, int n) { - var _result = _meos_d.tsequenceset_inst_n(ss, n); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tsequenceset_insts_p(Pointer ss) { - var _result = _meos_d.tsequenceset_insts_p(ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tsequenceset_max_inst_p(Pointer ss) { - var _result = _meos_d.tsequenceset_max_inst_p(ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int tsequenceset_max_val(Pointer ss) { - var _result = _meos_d.tsequenceset_max_val(ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tsequenceset_min_inst_p(Pointer ss) { - var _result = _meos_d.tsequenceset_min_inst_p(ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int tsequenceset_min_val(Pointer ss) { - var _result = _meos_d.tsequenceset_min_val(ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int tsequenceset_num_instants(Pointer ss) { - var _result = _meos_d.tsequenceset_num_instants(ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int tsequenceset_num_timestamps(Pointer ss) { - var _result = _meos_d.tsequenceset_num_timestamps(ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tsequenceset_segments(Pointer ss, Pointer count) { - var _result = _meos_d.tsequenceset_segments(ss, count); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tsequenceset_sequences_p(Pointer ss) { - var _result = _meos_d.tsequenceset_sequences_p(ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static OffsetDateTime tsequenceset_start_timestamptz(Pointer ss) { - var _result = _meos_d.tsequenceset_start_timestamptz(ss); - MeosErrorHandler.checkError(); - return java.time.Instant.ofEpochSecond(_result).atOffset(java.time.ZoneOffset.UTC); - } - - @SuppressWarnings("unused") - public static Pointer tsequenceset_time(Pointer ss) { - var _result = _meos_d.tsequenceset_time(ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tsequenceset_timestamptz_n(Pointer ss, int n) { - boolean out; - Runtime runtime = Runtime.getSystemRuntime(); - Pointer result = Memory.allocateDirect(runtime, Long.BYTES); - out = _meos_d.tsequenceset_timestamptz_n(ss, n, result); - MeosErrorHandler.checkError(); - return out ? result : null; - } - - @SuppressWarnings("unused") - public static Pointer tsequenceset_timestamps(Pointer ss, Pointer count) { - var _result = _meos_d.tsequenceset_timestamps(ss, count); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tsequenceset_value_at_timestamptz(Pointer ss, OffsetDateTime t, boolean strict) { - boolean out; - Runtime runtime = Runtime.getSystemRuntime(); - Pointer result = Memory.allocateDirect(runtime, Long.BYTES); - var t_new = t.toEpochSecond(); - out = _meos_d.tsequenceset_value_at_timestamptz(ss, t_new, strict, result); - Pointer new_result = result.getPointer(0); - MeosErrorHandler.checkError(); - return out ? new_result : null; - } - - @SuppressWarnings("unused") - public static Pointer tsequenceset_value_n(Pointer ss, int n) { - boolean out; - Runtime runtime = Runtime.getSystemRuntime(); - Pointer result = Memory.allocateDirect(runtime, Long.BYTES); - out = _meos_d.tsequenceset_value_n(ss, n, result); - Pointer new_result = result.getPointer(0); - MeosErrorHandler.checkError(); - return out ? new_result : null; - } - - @SuppressWarnings("unused") - public static Pointer tsequenceset_values_p(Pointer ss, Pointer count) { - var _result = _meos_d.tsequenceset_values_p(ss, count); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static void temporal_restart(Pointer temp, int count) { - _meos_d.temporal_restart(temp, count); - MeosErrorHandler.checkError(); - } - - @SuppressWarnings("unused") - public static Pointer temporal_tsequence(Pointer temp, int interp) { - var _result = _meos_d.temporal_tsequence(temp, interp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer temporal_tsequenceset(Pointer temp, int interp) { - var _result = _meos_d.temporal_tsequenceset(temp, interp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tinstant_shift_time(Pointer inst, Pointer interv) { - var _result = _meos_d.tinstant_shift_time(inst, interv); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tinstant_to_tsequence(Pointer inst, int interp) { - var _result = _meos_d.tinstant_to_tsequence(inst, interp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tinstant_to_tsequence_free(Pointer inst, int interp) { - var _result = _meos_d.tinstant_to_tsequence_free(inst, interp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tinstant_to_tsequenceset(Pointer inst, int interp) { - var _result = _meos_d.tinstant_to_tsequenceset(inst, interp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tnumber_shift_scale_value(Pointer temp, Pointer shift, Pointer width, boolean hasshift, boolean haswidth) { - var _result = _meos_d.tnumber_shift_scale_value(temp, shift, width, hasshift, haswidth); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tnumberinst_shift_value(Pointer inst, Pointer shift) { - var _result = _meos_d.tnumberinst_shift_value(inst, shift); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tnumberseq_shift_scale_value(Pointer seq, Pointer shift, Pointer width, boolean hasshift, boolean haswidth) { - var _result = _meos_d.tnumberseq_shift_scale_value(seq, shift, width, hasshift, haswidth); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tnumberseqset_shift_scale_value(Pointer ss, Pointer start, Pointer width, boolean hasshift, boolean haswidth) { - var _result = _meos_d.tnumberseqset_shift_scale_value(ss, start, width, hasshift, haswidth); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static void tsequence_restart(Pointer seq, int count) { - _meos_d.tsequence_restart(seq, count); - MeosErrorHandler.checkError(); - } - - @SuppressWarnings("unused") - public static Pointer tsequence_set_interp(Pointer seq, int interp) { - var _result = _meos_d.tsequence_set_interp(seq, interp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tsequence_shift_scale_time(Pointer seq, Pointer shift, Pointer duration) { - var _result = _meos_d.tsequence_shift_scale_time(seq, shift, duration); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tsequence_subseq(Pointer seq, int from, int to, boolean lower_inc, boolean upper_inc) { - var _result = _meos_d.tsequence_subseq(seq, from, to, lower_inc, upper_inc); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tsequence_to_tinstant(Pointer seq) { - var _result = _meos_d.tsequence_to_tinstant(seq); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tsequence_to_tsequenceset(Pointer seq) { - var _result = _meos_d.tsequence_to_tsequenceset(seq); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tsequence_to_tsequenceset_free(Pointer seq) { - var _result = _meos_d.tsequence_to_tsequenceset_free(seq); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tsequence_to_tsequenceset_interp(Pointer seq, int interp) { - var _result = _meos_d.tsequence_to_tsequenceset_interp(seq, interp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static void tsequenceset_restart(Pointer ss, int count) { - _meos_d.tsequenceset_restart(ss, count); - MeosErrorHandler.checkError(); - } - - @SuppressWarnings("unused") - public static Pointer tsequenceset_set_interp(Pointer ss, int interp) { - var _result = _meos_d.tsequenceset_set_interp(ss, interp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tsequenceset_shift_scale_time(Pointer ss, Pointer start, Pointer duration) { - var _result = _meos_d.tsequenceset_shift_scale_time(ss, start, duration); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tsequenceset_to_discrete(Pointer ss) { - var _result = _meos_d.tsequenceset_to_discrete(ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tsequenceset_to_linear(Pointer ss) { - var _result = _meos_d.tsequenceset_to_linear(ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tsequenceset_to_step(Pointer ss) { - var _result = _meos_d.tsequenceset_to_step(ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tsequenceset_to_tinstant(Pointer ss) { - var _result = _meos_d.tsequenceset_to_tinstant(ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tsequenceset_to_tsequence(Pointer ss) { - var _result = _meos_d.tsequenceset_to_tsequence(ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tinstant_merge(Pointer inst1, Pointer inst2) { - var _result = _meos_d.tinstant_merge(inst1, inst2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tinstant_merge_array(Pointer instants, int count) { - var _result = _meos_d.tinstant_merge_array(instants, count); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tsequence_append_tinstant(Pointer seq, Pointer inst, double maxdist, Pointer maxt, boolean expand) { - var _result = _meos_d.tsequence_append_tinstant(seq, inst, maxdist, maxt, expand); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tsequence_append_tsequence(Pointer seq1, Pointer seq2, boolean expand) { - var _result = _meos_d.tsequence_append_tsequence(seq1, seq2, expand); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tsequence_delete_timestamptz(Pointer seq, OffsetDateTime t, boolean connect) { - var t_new = t.toEpochSecond(); - var _result = _meos_d.tsequence_delete_timestamptz(seq, t_new, connect); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tsequence_delete_tstzset(Pointer seq, Pointer s, boolean connect) { - var _result = _meos_d.tsequence_delete_tstzset(seq, s, connect); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tsequence_delete_tstzspan(Pointer seq, Pointer s, boolean connect) { - var _result = _meos_d.tsequence_delete_tstzspan(seq, s, connect); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tsequence_delete_tstzspanset(Pointer seq, Pointer ss, boolean connect) { - var _result = _meos_d.tsequence_delete_tstzspanset(seq, ss, connect); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tsequence_insert(Pointer seq1, Pointer seq2, boolean connect) { - var _result = _meos_d.tsequence_insert(seq1, seq2, connect); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tsequence_merge(Pointer seq1, Pointer seq2) { - var _result = _meos_d.tsequence_merge(seq1, seq2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tsequence_merge_array(Pointer sequences, int count) { - var _result = _meos_d.tsequence_merge_array(sequences, count); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tsequenceset_append_tinstant(Pointer ss, Pointer inst, double maxdist, Pointer maxt, boolean expand) { - var _result = _meos_d.tsequenceset_append_tinstant(ss, inst, maxdist, maxt, expand); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tsequenceset_append_tsequence(Pointer ss, Pointer seq, boolean expand) { - var _result = _meos_d.tsequenceset_append_tsequence(ss, seq, expand); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tsequenceset_delete_timestamptz(Pointer ss, OffsetDateTime t) { - var t_new = t.toEpochSecond(); - var _result = _meos_d.tsequenceset_delete_timestamptz(ss, t_new); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tsequenceset_delete_tstzset(Pointer ss, Pointer s) { - var _result = _meos_d.tsequenceset_delete_tstzset(ss, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tsequenceset_delete_tstzspan(Pointer ss, Pointer s) { - var _result = _meos_d.tsequenceset_delete_tstzspan(ss, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tsequenceset_delete_tstzspanset(Pointer ss, Pointer ps) { - var _result = _meos_d.tsequenceset_delete_tstzspanset(ss, ps); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tsequenceset_insert(Pointer ss1, Pointer ss2) { - var _result = _meos_d.tsequenceset_insert(ss1, ss2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tsequenceset_merge(Pointer ss1, Pointer ss2) { - var _result = _meos_d.tsequenceset_merge(ss1, ss2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tsequenceset_merge_array(Pointer seqsets, int count) { - var _result = _meos_d.tsequenceset_merge_array(seqsets, count); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static void tsequence_expand_bbox(Pointer seq, Pointer inst) { - _meos_d.tsequence_expand_bbox(seq, inst); - MeosErrorHandler.checkError(); - } - - @SuppressWarnings("unused") - public static void tsequence_set_bbox(Pointer seq, Pointer box) { - _meos_d.tsequence_set_bbox(seq, box); - MeosErrorHandler.checkError(); - } - - @SuppressWarnings("unused") - public static void tsequenceset_expand_bbox(Pointer ss, Pointer seq) { - _meos_d.tsequenceset_expand_bbox(ss, seq); - MeosErrorHandler.checkError(); - } - - @SuppressWarnings("unused") - public static void tsequenceset_set_bbox(Pointer ss, Pointer box) { - _meos_d.tsequenceset_set_bbox(ss, box); - MeosErrorHandler.checkError(); - } - - @SuppressWarnings("unused") - public static Pointer tcontseq_after_timestamptz(Pointer seq, OffsetDateTime t, boolean strict) { - var t_new = t.toEpochSecond(); - var _result = _meos_d.tcontseq_after_timestamptz(seq, t_new, strict); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tcontseq_before_timestamptz(Pointer seq, OffsetDateTime t, boolean strict) { - var t_new = t.toEpochSecond(); - var _result = _meos_d.tcontseq_before_timestamptz(seq, t_new, strict); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tcontseq_restrict_minmax(Pointer seq, boolean min, boolean atfunc) { - var _result = _meos_d.tcontseq_restrict_minmax(seq, min, atfunc); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tdiscseq_after_timestamptz(Pointer seq, OffsetDateTime t, boolean strict) { - var t_new = t.toEpochSecond(); - var _result = _meos_d.tdiscseq_after_timestamptz(seq, t_new, strict); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tdiscseq_before_timestamptz(Pointer seq, OffsetDateTime t, boolean strict) { - var t_new = t.toEpochSecond(); - var _result = _meos_d.tdiscseq_before_timestamptz(seq, t_new, strict); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tdiscseq_restrict_minmax(Pointer seq, boolean min, boolean atfunc) { - var _result = _meos_d.tdiscseq_restrict_minmax(seq, min, atfunc); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean temporal_bbox_restrict_set(Pointer temp, Pointer set) { - var _result = _meos_d.temporal_bbox_restrict_set(temp, set); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer temporal_restrict_minmax(Pointer temp, boolean min, boolean atfunc) { - var _result = _meos_d.temporal_restrict_minmax(temp, min, atfunc); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer temporal_restrict_timestamptz(Pointer temp, OffsetDateTime t, boolean atfunc) { - var t_new = t.toEpochSecond(); - var _result = _meos_d.temporal_restrict_timestamptz(temp, t_new, atfunc); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer temporal_restrict_tstzset(Pointer temp, Pointer s, boolean atfunc) { - var _result = _meos_d.temporal_restrict_tstzset(temp, s, atfunc); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer temporal_restrict_tstzspan(Pointer temp, Pointer s, boolean atfunc) { - var _result = _meos_d.temporal_restrict_tstzspan(temp, s, atfunc); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer temporal_restrict_tstzspanset(Pointer temp, Pointer ss, boolean atfunc) { - var _result = _meos_d.temporal_restrict_tstzspanset(temp, ss, atfunc); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer temporal_restrict_value(Pointer temp, Pointer value, boolean atfunc) { - var _result = _meos_d.temporal_restrict_value(temp, value, atfunc); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer temporal_restrict_values(Pointer temp, Pointer set, boolean atfunc) { - var _result = _meos_d.temporal_restrict_values(temp, set, atfunc); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer temporal_value_at_timestamptz(Pointer temp, OffsetDateTime t, boolean strict) { - boolean out; - Runtime runtime = Runtime.getSystemRuntime(); - Pointer result = Memory.allocateDirect(runtime, Long.BYTES); - var t_new = t.toEpochSecond(); - out = _meos_d.temporal_value_at_timestamptz(temp, t_new, strict, result); - Pointer new_result = result.getPointer(0); - MeosErrorHandler.checkError(); - return out ? new_result : null; - } - - @SuppressWarnings("unused") - public static Pointer tinstant_after_timestamptz(Pointer inst, OffsetDateTime t, boolean strict) { - var t_new = t.toEpochSecond(); - var _result = _meos_d.tinstant_after_timestamptz(inst, t_new, strict); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tinstant_before_timestamptz(Pointer inst, OffsetDateTime t, boolean strict) { - var t_new = t.toEpochSecond(); - var _result = _meos_d.tinstant_before_timestamptz(inst, t_new, strict); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tinstant_restrict_tstzspan(Pointer inst, Pointer period, boolean atfunc) { - var _result = _meos_d.tinstant_restrict_tstzspan(inst, period, atfunc); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tinstant_restrict_tstzspanset(Pointer inst, Pointer ss, boolean atfunc) { - var _result = _meos_d.tinstant_restrict_tstzspanset(inst, ss, atfunc); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tinstant_restrict_timestamptz(Pointer inst, OffsetDateTime t, boolean atfunc) { - var t_new = t.toEpochSecond(); - var _result = _meos_d.tinstant_restrict_timestamptz(inst, t_new, atfunc); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tinstant_restrict_tstzset(Pointer inst, Pointer s, boolean atfunc) { - var _result = _meos_d.tinstant_restrict_tstzset(inst, s, atfunc); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tinstant_restrict_value(Pointer inst, Pointer value, boolean atfunc) { - var _result = _meos_d.tinstant_restrict_value(inst, value, atfunc); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tinstant_restrict_values(Pointer inst, Pointer set, boolean atfunc) { - var _result = _meos_d.tinstant_restrict_values(inst, set, atfunc); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tnumber_restrict_span(Pointer temp, Pointer span, boolean atfunc) { - var _result = _meos_d.tnumber_restrict_span(temp, span, atfunc); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tnumber_restrict_spanset(Pointer temp, Pointer ss, boolean atfunc) { - var _result = _meos_d.tnumber_restrict_spanset(temp, ss, atfunc); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tnumberinst_restrict_span(Pointer inst, Pointer span, boolean atfunc) { - var _result = _meos_d.tnumberinst_restrict_span(inst, span, atfunc); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tnumberinst_restrict_spanset(Pointer inst, Pointer ss, boolean atfunc) { - var _result = _meos_d.tnumberinst_restrict_spanset(inst, ss, atfunc); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tnumberseqset_restrict_span(Pointer ss, Pointer span, boolean atfunc) { - var _result = _meos_d.tnumberseqset_restrict_span(ss, span, atfunc); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tnumberseqset_restrict_spanset(Pointer ss, Pointer spanset, boolean atfunc) { - var _result = _meos_d.tnumberseqset_restrict_spanset(ss, spanset, atfunc); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tsequence_at_timestamptz(Pointer seq, OffsetDateTime t) { - var t_new = t.toEpochSecond(); - var _result = _meos_d.tsequence_at_timestamptz(seq, t_new); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tsequence_restrict_tstzspan(Pointer seq, Pointer s, boolean atfunc) { - var _result = _meos_d.tsequence_restrict_tstzspan(seq, s, atfunc); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tsequence_restrict_tstzspanset(Pointer seq, Pointer ss, boolean atfunc) { - var _result = _meos_d.tsequence_restrict_tstzspanset(seq, ss, atfunc); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tsequenceset_after_timestamptz(Pointer ss, OffsetDateTime t, boolean strict) { - var t_new = t.toEpochSecond(); - var _result = _meos_d.tsequenceset_after_timestamptz(ss, t_new, strict); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tsequenceset_before_timestamptz(Pointer ss, OffsetDateTime t, boolean strict) { - var t_new = t.toEpochSecond(); - var _result = _meos_d.tsequenceset_before_timestamptz(ss, t_new, strict); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tsequenceset_restrict_minmax(Pointer ss, boolean min, boolean atfunc) { - var _result = _meos_d.tsequenceset_restrict_minmax(ss, min, atfunc); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tsequenceset_restrict_tstzspan(Pointer ss, Pointer s, boolean atfunc) { - var _result = _meos_d.tsequenceset_restrict_tstzspan(ss, s, atfunc); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tsequenceset_restrict_tstzspanset(Pointer ss, Pointer ps, boolean atfunc) { - var _result = _meos_d.tsequenceset_restrict_tstzspanset(ss, ps, atfunc); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tsequenceset_restrict_timestamptz(Pointer ss, OffsetDateTime t, boolean atfunc) { - var t_new = t.toEpochSecond(); - var _result = _meos_d.tsequenceset_restrict_timestamptz(ss, t_new, atfunc); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tsequenceset_restrict_tstzset(Pointer ss, Pointer s, boolean atfunc) { - var _result = _meos_d.tsequenceset_restrict_tstzset(ss, s, atfunc); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tsequenceset_restrict_value(Pointer ss, Pointer value, boolean atfunc) { - var _result = _meos_d.tsequenceset_restrict_value(ss, value, atfunc); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tsequenceset_restrict_values(Pointer ss, Pointer s, boolean atfunc) { - var _result = _meos_d.tsequenceset_restrict_values(ss, s, atfunc); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int tinstant_cmp(Pointer inst1, Pointer inst2) { - var _result = _meos_d.tinstant_cmp(inst1, inst2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean tinstant_eq(Pointer inst1, Pointer inst2) { - var _result = _meos_d.tinstant_eq(inst1, inst2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int tsequence_cmp(Pointer seq1, Pointer seq2) { - var _result = _meos_d.tsequence_cmp(seq1, seq2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean tsequence_eq(Pointer seq1, Pointer seq2) { - var _result = _meos_d.tsequence_eq(seq1, seq2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int tsequenceset_cmp(Pointer ss1, Pointer ss2) { - var _result = _meos_d.tsequenceset_cmp(ss1, ss2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean tsequenceset_eq(Pointer ss1, Pointer ss2) { - var _result = _meos_d.tsequenceset_eq(ss1, ss2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int always_eq_base_temporal(Pointer value, Pointer temp) { - var _result = _meos_d.always_eq_base_temporal(value, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int always_eq_temporal_base(Pointer temp, Pointer value) { - var _result = _meos_d.always_eq_temporal_base(temp, value); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int always_ne_base_temporal(Pointer value, Pointer temp) { - var _result = _meos_d.always_ne_base_temporal(value, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int always_ne_temporal_base(Pointer temp, Pointer value) { - var _result = _meos_d.always_ne_temporal_base(temp, value); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int always_ge_base_temporal(Pointer value, Pointer temp) { - var _result = _meos_d.always_ge_base_temporal(value, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int always_ge_temporal_base(Pointer temp, Pointer value) { - var _result = _meos_d.always_ge_temporal_base(temp, value); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int always_gt_base_temporal(Pointer value, Pointer temp) { - var _result = _meos_d.always_gt_base_temporal(value, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int always_gt_temporal_base(Pointer temp, Pointer value) { - var _result = _meos_d.always_gt_temporal_base(temp, value); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int always_le_base_temporal(Pointer value, Pointer temp) { - var _result = _meos_d.always_le_base_temporal(value, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int always_le_temporal_base(Pointer temp, Pointer value) { - var _result = _meos_d.always_le_temporal_base(temp, value); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int always_lt_base_temporal(Pointer value, Pointer temp) { - var _result = _meos_d.always_lt_base_temporal(value, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int always_lt_temporal_base(Pointer temp, Pointer value) { - var _result = _meos_d.always_lt_temporal_base(temp, value); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int ever_eq_base_temporal(Pointer value, Pointer temp) { - var _result = _meos_d.ever_eq_base_temporal(value, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int ever_eq_temporal_base(Pointer temp, Pointer value) { - var _result = _meos_d.ever_eq_temporal_base(temp, value); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int ever_ne_base_temporal(Pointer value, Pointer temp) { - var _result = _meos_d.ever_ne_base_temporal(value, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int ever_ne_temporal_base(Pointer temp, Pointer value) { - var _result = _meos_d.ever_ne_temporal_base(temp, value); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int ever_ge_base_temporal(Pointer value, Pointer temp) { - var _result = _meos_d.ever_ge_base_temporal(value, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int ever_ge_temporal_base(Pointer temp, Pointer value) { - var _result = _meos_d.ever_ge_temporal_base(temp, value); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int ever_gt_base_temporal(Pointer value, Pointer temp) { - var _result = _meos_d.ever_gt_base_temporal(value, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int ever_gt_temporal_base(Pointer temp, Pointer value) { - var _result = _meos_d.ever_gt_temporal_base(temp, value); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int ever_le_base_temporal(Pointer value, Pointer temp) { - var _result = _meos_d.ever_le_base_temporal(value, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int ever_le_temporal_base(Pointer temp, Pointer value) { - var _result = _meos_d.ever_le_temporal_base(temp, value); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int ever_lt_base_temporal(Pointer value, Pointer temp) { - var _result = _meos_d.ever_lt_base_temporal(value, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int ever_lt_temporal_base(Pointer temp, Pointer value) { - var _result = _meos_d.ever_lt_temporal_base(temp, value); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tnumberinst_abs(Pointer inst) { - var _result = _meos_d.tnumberinst_abs(inst); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tnumberseq_abs(Pointer seq) { - var _result = _meos_d.tnumberseq_abs(seq); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tnumberseq_angular_difference(Pointer seq) { - var _result = _meos_d.tnumberseq_angular_difference(seq); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tnumberseq_delta_value(Pointer seq) { - var _result = _meos_d.tnumberseq_delta_value(seq); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tnumberseqset_abs(Pointer ss) { - var _result = _meos_d.tnumberseqset_abs(ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tnumberseqset_angular_difference(Pointer ss) { - var _result = _meos_d.tnumberseqset_angular_difference(ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tnumberseqset_delta_value(Pointer ss) { - var _result = _meos_d.tnumberseqset_delta_value(ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double distance_span_span_double(Pointer s1, Pointer s2) { - var _result = _meos_d.distance_span_span_double(s1, s2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double nad_tbox_tbox(Pointer box1, Pointer box2) { - var _result = _meos_d.nad_tbox_tbox(box1, box2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double nad_tnumber_number(Pointer temp, Pointer value) { - var _result = _meos_d.nad_tnumber_number(temp, value); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double nad_tnumber_tbox(Pointer temp, Pointer box) { - var _result = _meos_d.nad_tnumber_tbox(temp, box); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double nad_tnumber_tnumber(Pointer temp1, Pointer temp2) { - var _result = _meos_d.nad_tnumber_tnumber(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tdistance_tnumber_number(Pointer temp, Pointer value) { - var _result = _meos_d.tdistance_tnumber_number(temp, value); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double tnumberinst_distance(Pointer inst1, Pointer inst2) { - var _result = _meos_d.tnumberinst_distance(inst1, inst2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double tnumberseq_integral(Pointer seq) { - var _result = _meos_d.tnumberseq_integral(seq); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double tnumberseq_twavg(Pointer seq) { - var _result = _meos_d.tnumberseq_twavg(seq); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double tnumberseqset_integral(Pointer ss) { - var _result = _meos_d.tnumberseqset_integral(ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double tnumberseqset_twavg(Pointer ss) { - var _result = _meos_d.tnumberseqset_twavg(ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer temporal_compact(Pointer temp) { - var _result = _meos_d.temporal_compact(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tsequence_compact(Pointer seq) { - var _result = _meos_d.tsequence_compact(seq); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tsequenceset_compact(Pointer ss) { - var _result = _meos_d.tsequenceset_compact(ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer temporal_skiplist_make() { - var _result = _meos_d.temporal_skiplist_make(); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer skiplist_make(long key_size, long value_size, Pointer comp_fn, Pointer merge_fn) { - var _result = _meos_d.skiplist_make(key_size, value_size, comp_fn, merge_fn); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int skiplist_search(Pointer list, Pointer key, Pointer value) { - var _result = _meos_d.skiplist_search(list, key, value); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static void skiplist_free(Pointer list) { - _meos_d.skiplist_free(list); - MeosErrorHandler.checkError(); - } - - @SuppressWarnings("unused") - public static void skiplist_splice(Pointer list, Pointer keys, Pointer values, int count, Pointer func, boolean crossings, int sktype) { - _meos_d.skiplist_splice(list, keys, values, count, func, crossings, sktype); - MeosErrorHandler.checkError(); - } - - @SuppressWarnings("unused") - public static void temporal_skiplist_splice(Pointer list, Pointer values, int count, Pointer func, boolean crossings) { - _meos_d.temporal_skiplist_splice(list, values, count, func, crossings); - MeosErrorHandler.checkError(); - } - - @SuppressWarnings("unused") - public static Pointer skiplist_values(Pointer list) { - var _result = _meos_d.skiplist_values(list); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer skiplist_keys_values(Pointer list, Pointer values) { - var _result = _meos_d.skiplist_keys_values(list, values); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer temporal_app_tinst_transfn(Pointer state, Pointer inst, int interp, double maxdist, Pointer maxt) { - var _result = _meos_d.temporal_app_tinst_transfn(state, inst, interp, maxdist, maxt); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer temporal_app_tseq_transfn(Pointer state, Pointer seq) { - var _result = _meos_d.temporal_app_tseq_transfn(state, seq); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer span_bins(Pointer s, Pointer size, Pointer origin, Pointer count) { - var _result = _meos_d.span_bins(s, size, origin, count); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer spanset_bins(Pointer ss, Pointer size, Pointer origin, Pointer count) { - var _result = _meos_d.spanset_bins(ss, size, origin, count); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tnumber_value_bins(Pointer temp, Pointer size, Pointer origin, Pointer count) { - var _result = _meos_d.tnumber_value_bins(temp, size, origin, count); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tnumber_value_time_boxes(Pointer temp, Pointer vsize, Pointer duration, Pointer vorigin, OffsetDateTime torigin, Pointer count) { - var torigin_new = torigin.toEpochSecond(); - var _result = _meos_d.tnumber_value_time_boxes(temp, vsize, duration, vorigin, torigin_new, count); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tnumber_value_split(Pointer temp, Pointer vsize, Pointer vorigin, Pointer bins, Pointer count) { - var _result = _meos_d.tnumber_value_split(temp, vsize, vorigin, bins, count); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tbox_get_value_time_tile(Pointer value, OffsetDateTime t, Pointer vsize, Pointer duration, Pointer vorigin, OffsetDateTime torigin, int basetype, int spantype) { - var t_new = t.toEpochSecond(); - var torigin_new = torigin.toEpochSecond(); - var _result = _meos_d.tbox_get_value_time_tile(value, t_new, vsize, duration, vorigin, torigin_new, basetype, spantype); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tnumber_value_time_split(Pointer temp, Pointer size, Pointer duration, Pointer vorigin, OffsetDateTime torigin, Pointer value_bins, Pointer time_bins, Pointer count) { - var torigin_new = torigin.toEpochSecond(); - var _result = _meos_d.tnumber_value_time_split(temp, size, duration, vorigin, torigin_new, value_bins, time_bins, count); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer proj_get_context() { - var _result = _meos_d.proj_get_context(); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int datum_geo_round(Pointer value, Pointer size) { - var _result = _meos_d.datum_geo_round(value, size); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer point_round(Pointer gs, int maxdd) { - var _result = _meos_d.point_round(gs, maxdd); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static void stbox_set(boolean hasx, boolean hasz, boolean geodetic, int srid, double xmin, double xmax, double ymin, double ymax, double zmin, double zmax, Pointer s, Pointer box) { - _meos_d.stbox_set(hasx, hasz, geodetic, srid, xmin, xmax, ymin, ymax, zmin, zmax, s, box); - MeosErrorHandler.checkError(); - } - - @SuppressWarnings("unused") - public static void gbox_set_stbox(Pointer box, int srid, Pointer result) { - _meos_d.gbox_set_stbox(box, srid, result); - MeosErrorHandler.checkError(); - } - - @SuppressWarnings("unused") - public static boolean geo_set_stbox(Pointer gs, Pointer box) { - var _result = _meos_d.geo_set_stbox(gs, box); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static void geoarr_set_stbox(Pointer values, int count, Pointer box) { - _meos_d.geoarr_set_stbox(values, count, box); - MeosErrorHandler.checkError(); - } - - @SuppressWarnings("unused") - public static boolean spatial_set_stbox(Pointer d, int basetype, Pointer box) { - var _result = _meos_d.spatial_set_stbox(d, basetype, box); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static void spatialset_set_stbox(Pointer set, Pointer box) { - _meos_d.spatialset_set_stbox(set, box); - MeosErrorHandler.checkError(); - } - - @SuppressWarnings("unused") - public static void stbox_set_box3d(Pointer box, Pointer box3d) { - _meos_d.stbox_set_box3d(box, box3d); - MeosErrorHandler.checkError(); - } - - @SuppressWarnings("unused") - public static void stbox_set_gbox(Pointer box, Pointer gbox) { - _meos_d.stbox_set_gbox(box, gbox); - MeosErrorHandler.checkError(); - } - - @SuppressWarnings("unused") - public static void tstzset_set_stbox(Pointer s, Pointer box) { - _meos_d.tstzset_set_stbox(s, box); - MeosErrorHandler.checkError(); - } - - @SuppressWarnings("unused") - public static void tstzspan_set_stbox(Pointer s, Pointer box) { - _meos_d.tstzspan_set_stbox(s, box); - MeosErrorHandler.checkError(); - } - - @SuppressWarnings("unused") - public static void tstzspanset_set_stbox(Pointer s, Pointer box) { - _meos_d.tstzspanset_set_stbox(s, box); - MeosErrorHandler.checkError(); - } - - @SuppressWarnings("unused") - public static void stbox_expand(Pointer box1, Pointer box2) { - _meos_d.stbox_expand(box1, box2); - MeosErrorHandler.checkError(); - } - - @SuppressWarnings("unused") - public static Pointer inter_stbox_stbox(Pointer box1, Pointer box2) { - boolean out; - Runtime runtime = Runtime.getSystemRuntime(); - Pointer result = Memory.allocateDirect(runtime, Long.BYTES); - out = _meos_d.inter_stbox_stbox(box1, box2, result); - Pointer new_result = result.getPointer(0); - MeosErrorHandler.checkError(); - return out ? new_result : null; - } - - @SuppressWarnings("unused") - public static Pointer stbox_geo(Pointer box) { - var _result = _meos_d.stbox_geo(box); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tgeogpointinst_from_mfjson(Pointer mfjson, int srid) { - var _result = _meos_d.tgeogpointinst_from_mfjson(mfjson, srid); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tgeogpointinst_in(String str) { - var _result = _meos_d.tgeogpointinst_in(str); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tgeogpointseq_from_mfjson(Pointer mfjson, int srid, int interp) { - var _result = _meos_d.tgeogpointseq_from_mfjson(mfjson, srid, interp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tgeogpointseq_in(String str, int interp) { - var _result = _meos_d.tgeogpointseq_in(str, interp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tgeogpointseqset_from_mfjson(Pointer mfjson, int srid, int interp) { - var _result = _meos_d.tgeogpointseqset_from_mfjson(mfjson, srid, interp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tgeogpointseqset_in(String str) { - var _result = _meos_d.tgeogpointseqset_in(str); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tgeompointinst_from_mfjson(Pointer mfjson, int srid) { - var _result = _meos_d.tgeompointinst_from_mfjson(mfjson, srid); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tgeompointinst_in(String str) { - var _result = _meos_d.tgeompointinst_in(str); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tgeompointseq_from_mfjson(Pointer mfjson, int srid, int interp) { - var _result = _meos_d.tgeompointseq_from_mfjson(mfjson, srid, interp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tgeompointseq_in(String str, int interp) { - var _result = _meos_d.tgeompointseq_in(str, interp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tgeompointseqset_from_mfjson(Pointer mfjson, int srid, int interp) { - var _result = _meos_d.tgeompointseqset_from_mfjson(mfjson, srid, interp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tgeompointseqset_in(String str) { - var _result = _meos_d.tgeompointseqset_in(str); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tgeographyinst_from_mfjson(Pointer mfjson, int srid) { - var _result = _meos_d.tgeographyinst_from_mfjson(mfjson, srid); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tgeographyinst_in(String str) { - var _result = _meos_d.tgeographyinst_in(str); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tgeographyseq_from_mfjson(Pointer mfjson, int srid, int interp) { - var _result = _meos_d.tgeographyseq_from_mfjson(mfjson, srid, interp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tgeographyseq_in(String str, int interp) { - var _result = _meos_d.tgeographyseq_in(str, interp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tgeographyseqset_from_mfjson(Pointer mfjson, int srid, int interp) { - var _result = _meos_d.tgeographyseqset_from_mfjson(mfjson, srid, interp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tgeographyseqset_in(String str) { - var _result = _meos_d.tgeographyseqset_in(str); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tgeometryinst_from_mfjson(Pointer mfjson, int srid) { - var _result = _meos_d.tgeometryinst_from_mfjson(mfjson, srid); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tgeometryinst_in(String str) { - var _result = _meos_d.tgeometryinst_in(str); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tgeometryseq_from_mfjson(Pointer mfjson, int srid, int interp) { - var _result = _meos_d.tgeometryseq_from_mfjson(mfjson, srid, interp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tgeometryseq_in(String str, int interp) { - var _result = _meos_d.tgeometryseq_in(str, interp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tgeometryseqset_from_mfjson(Pointer mfjson, int srid, int interp) { - var _result = _meos_d.tgeometryseqset_from_mfjson(mfjson, srid, interp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tgeometryseqset_in(String str) { - var _result = _meos_d.tgeometryseqset_in(str); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static void tspatial_set_stbox(Pointer temp, Pointer box) { - _meos_d.tspatial_set_stbox(temp, box); - MeosErrorHandler.checkError(); - } - - @SuppressWarnings("unused") - public static void tgeoinst_set_stbox(Pointer inst, Pointer box) { - _meos_d.tgeoinst_set_stbox(inst, box); - MeosErrorHandler.checkError(); - } - - @SuppressWarnings("unused") - public static void tspatialseq_set_stbox(Pointer seq, Pointer box) { - _meos_d.tspatialseq_set_stbox(seq, box); - MeosErrorHandler.checkError(); - } - - @SuppressWarnings("unused") - public static void tspatialseqset_set_stbox(Pointer ss, Pointer box) { - _meos_d.tspatialseqset_set_stbox(ss, box); - MeosErrorHandler.checkError(); - } - - @SuppressWarnings("unused") - public static Pointer tgeo_restrict_elevation(Pointer temp, Pointer s, boolean atfunc) { - var _result = _meos_d.tgeo_restrict_elevation(temp, s, atfunc); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tgeo_restrict_geom(Pointer temp, Pointer gs, boolean atfunc) { - var _result = _meos_d.tgeo_restrict_geom(temp, gs, atfunc); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tgeo_restrict_stbox(Pointer temp, Pointer box, boolean border_inc, boolean atfunc) { - var _result = _meos_d.tgeo_restrict_stbox(temp, box, border_inc, atfunc); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tgeoinst_restrict_geom(Pointer inst, Pointer gs, boolean atfunc) { - var _result = _meos_d.tgeoinst_restrict_geom(inst, gs, atfunc); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tgeoinst_restrict_stbox(Pointer inst, Pointer box, boolean border_inc, boolean atfunc) { - var _result = _meos_d.tgeoinst_restrict_stbox(inst, box, border_inc, atfunc); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tgeoseq_restrict_geom(Pointer seq, Pointer gs, boolean atfunc) { - var _result = _meos_d.tgeoseq_restrict_geom(seq, gs, atfunc); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tgeoseq_restrict_stbox(Pointer seq, Pointer box, boolean border_inc, boolean atfunc) { - var _result = _meos_d.tgeoseq_restrict_stbox(seq, box, border_inc, atfunc); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tgeoseqset_restrict_geom(Pointer ss, Pointer gs, boolean atfunc) { - var _result = _meos_d.tgeoseqset_restrict_geom(ss, gs, atfunc); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tgeoseqset_restrict_stbox(Pointer ss, Pointer box, boolean border_inc, boolean atfunc) { - var _result = _meos_d.tgeoseqset_restrict_stbox(ss, box, border_inc, atfunc); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int spatial_srid(Pointer d, int basetype) { - var _result = _meos_d.spatial_srid(d, basetype); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean spatial_set_srid(Pointer d, int basetype, int srid) { - var _result = _meos_d.spatial_set_srid(d, basetype, srid); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int tspatialinst_srid(Pointer inst) { - var _result = _meos_d.tspatialinst_srid(inst); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tpointseq_azimuth(Pointer seq) { - var _result = _meos_d.tpointseq_azimuth(seq); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tpointseq_cumulative_length(Pointer seq, double prevlength) { - var _result = _meos_d.tpointseq_cumulative_length(seq, prevlength); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean tpointseq_is_simple(Pointer seq) { - var _result = _meos_d.tpointseq_is_simple(seq); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double tpointseq_length(Pointer seq) { - var _result = _meos_d.tpointseq_length(seq); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tpointseq_linear_trajectory(Pointer seq, boolean unary_union) { - var _result = _meos_d.tpointseq_linear_trajectory(seq, unary_union); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tgeoseq_stboxes(Pointer seq, Pointer count) { - var _result = _meos_d.tgeoseq_stboxes(seq, count); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tgeoseq_split_n_stboxes(Pointer seq, int max_count, Pointer count) { - var _result = _meos_d.tgeoseq_split_n_stboxes(seq, max_count, count); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tpointseqset_azimuth(Pointer ss) { - var _result = _meos_d.tpointseqset_azimuth(ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tpointseqset_cumulative_length(Pointer ss) { - var _result = _meos_d.tpointseqset_cumulative_length(ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean tpointseqset_is_simple(Pointer ss) { - var _result = _meos_d.tpointseqset_is_simple(ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double tpointseqset_length(Pointer ss) { - var _result = _meos_d.tpointseqset_length(ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tgeoseqset_stboxes(Pointer ss, Pointer count) { - var _result = _meos_d.tgeoseqset_stboxes(ss, count); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tgeoseqset_split_n_stboxes(Pointer ss, int max_count, Pointer count) { - var _result = _meos_d.tgeoseqset_split_n_stboxes(ss, max_count, count); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tpoint_get_coord(Pointer temp, int coord) { - var _result = _meos_d.tpoint_get_coord(temp, coord); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tgeominst_tgeoginst(Pointer inst, boolean oper) { - var _result = _meos_d.tgeominst_tgeoginst(inst, oper); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tgeomseq_tgeogseq(Pointer seq, boolean oper) { - var _result = _meos_d.tgeomseq_tgeogseq(seq, oper); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tgeomseqset_tgeogseqset(Pointer ss, boolean oper) { - var _result = _meos_d.tgeomseqset_tgeogseqset(ss, oper); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tgeom_tgeog(Pointer temp, boolean oper) { - var _result = _meos_d.tgeom_tgeog(temp, oper); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tgeo_tpoint(Pointer temp, boolean oper) { - var _result = _meos_d.tgeo_tpoint(temp, oper); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static void tspatialinst_set_srid(Pointer inst, int srid) { - _meos_d.tspatialinst_set_srid(inst, srid); - MeosErrorHandler.checkError(); - } - - @SuppressWarnings("unused") - public static Pointer tpointseq_make_simple(Pointer seq, Pointer count) { - var _result = _meos_d.tpointseq_make_simple(seq, count); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static void tspatialseq_set_srid(Pointer seq, int srid) { - _meos_d.tspatialseq_set_srid(seq, srid); - MeosErrorHandler.checkError(); - } - - @SuppressWarnings("unused") - public static Pointer tpointseqset_make_simple(Pointer ss, Pointer count) { - var _result = _meos_d.tpointseqset_make_simple(ss, count); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static void tspatialseqset_set_srid(Pointer ss, int srid) { - _meos_d.tspatialseqset_set_srid(ss, srid); - MeosErrorHandler.checkError(); - } - - @SuppressWarnings("unused") - public static Pointer tpointseq_twcentroid(Pointer seq) { - var _result = _meos_d.tpointseq_twcentroid(seq); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tpointseqset_twcentroid(Pointer ss) { - var _result = _meos_d.tpointseqset_twcentroid(ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static String npoint_as_ewkt(Pointer np, int maxdd) { - var _result = _meos_d.npoint_as_ewkt(np, maxdd); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static String npoint_as_hexwkb(Pointer np, byte variant) { - Runtime runtime = Runtime.getSystemRuntime(); - Pointer size_out = Memory.allocateDirect(runtime, Long.BYTES); - var _result = _meos_d.npoint_as_hexwkb(np, variant, size_out); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static String npoint_as_text(Pointer np, int maxdd) { - var _result = _meos_d.npoint_as_text(np, maxdd); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer npoint_as_wkb(Pointer np, byte variant) { - Runtime runtime = Runtime.getSystemRuntime(); - Pointer size_out = Memory.allocateDirect(runtime, Long.BYTES); - var _result = _meos_d.npoint_as_wkb(np, variant, size_out); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer npoint_from_hexwkb(String hexwkb) { - var _result = _meos_d.npoint_from_hexwkb(hexwkb); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer npoint_from_wkb(Pointer wkb, long size) { - var _result = _meos_d.npoint_from_wkb(wkb, size); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer npoint_in(String str) { - var _result = _meos_d.npoint_in(str); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static String npoint_out(Pointer np, int maxdd) { - var _result = _meos_d.npoint_out(np, maxdd); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer nsegment_in(String str) { - var _result = _meos_d.nsegment_in(str); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static String nsegment_out(Pointer ns, int maxdd) { - var _result = _meos_d.nsegment_out(ns, maxdd); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer npoint_make(long rid, double pos) { - var _result = _meos_d.npoint_make(rid, pos); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer nsegment_make(long rid, double pos1, double pos2) { - var _result = _meos_d.nsegment_make(rid, pos1, pos2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer geompoint_to_npoint(Pointer gs) { - var _result = _meos_d.geompoint_to_npoint(gs); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer geom_to_nsegment(Pointer gs) { - var _result = _meos_d.geom_to_nsegment(gs); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer npoint_to_geompoint(Pointer np) { - var _result = _meos_d.npoint_to_geompoint(np); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer npoint_to_nsegment(Pointer np) { - var _result = _meos_d.npoint_to_nsegment(np); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer npoint_to_stbox(Pointer np) { - var _result = _meos_d.npoint_to_stbox(np); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer nsegment_to_geom(Pointer ns) { - var _result = _meos_d.nsegment_to_geom(ns); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer nsegment_to_stbox(Pointer np) { - var _result = _meos_d.nsegment_to_stbox(np); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int npoint_hash(Pointer np) { - var _result = _meos_d.npoint_hash(np); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static long npoint_hash_extended(Pointer np, long seed) { - var _result = _meos_d.npoint_hash_extended(np, seed); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double npoint_position(Pointer np) { - var _result = _meos_d.npoint_position(np); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static long npoint_route(Pointer np) { - var _result = _meos_d.npoint_route(np); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double nsegment_end_position(Pointer ns) { - var _result = _meos_d.nsegment_end_position(ns); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static long nsegment_route(Pointer ns) { - var _result = _meos_d.nsegment_route(ns); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double nsegment_start_position(Pointer ns) { - var _result = _meos_d.nsegment_start_position(ns); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean route_exists(long rid) { - var _result = _meos_d.route_exists(rid); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer route_geom(long rid) { - var _result = _meos_d.route_geom(rid); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double route_length(long rid) { - var _result = _meos_d.route_length(rid); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer npoint_round(Pointer np, int maxdd) { - var _result = _meos_d.npoint_round(np, maxdd); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer nsegment_round(Pointer ns, int maxdd) { - var _result = _meos_d.nsegment_round(ns, maxdd); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int get_srid_ways() { - var _result = _meos_d.get_srid_ways(); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int npoint_srid(Pointer np) { - var _result = _meos_d.npoint_srid(np); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int nsegment_srid(Pointer ns) { - var _result = _meos_d.nsegment_srid(ns); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer npoint_timestamptz_to_stbox(Pointer np, OffsetDateTime t) { - var t_new = t.toEpochSecond(); - var _result = _meos_d.npoint_timestamptz_to_stbox(np, t_new); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer npoint_tstzspan_to_stbox(Pointer np, Pointer s) { - var _result = _meos_d.npoint_tstzspan_to_stbox(np, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int npoint_cmp(Pointer np1, Pointer np2) { - var _result = _meos_d.npoint_cmp(np1, np2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean npoint_eq(Pointer np1, Pointer np2) { - var _result = _meos_d.npoint_eq(np1, np2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean npoint_ge(Pointer np1, Pointer np2) { - var _result = _meos_d.npoint_ge(np1, np2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean npoint_gt(Pointer np1, Pointer np2) { - var _result = _meos_d.npoint_gt(np1, np2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean npoint_le(Pointer np1, Pointer np2) { - var _result = _meos_d.npoint_le(np1, np2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean npoint_lt(Pointer np1, Pointer np2) { - var _result = _meos_d.npoint_lt(np1, np2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean npoint_ne(Pointer np1, Pointer np2) { - var _result = _meos_d.npoint_ne(np1, np2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean npoint_same(Pointer np1, Pointer np2) { - var _result = _meos_d.npoint_same(np1, np2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int nsegment_cmp(Pointer ns1, Pointer ns2) { - var _result = _meos_d.nsegment_cmp(ns1, ns2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean nsegment_eq(Pointer ns1, Pointer ns2) { - var _result = _meos_d.nsegment_eq(ns1, ns2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean nsegment_ge(Pointer ns1, Pointer ns2) { - var _result = _meos_d.nsegment_ge(ns1, ns2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean nsegment_gt(Pointer ns1, Pointer ns2) { - var _result = _meos_d.nsegment_gt(ns1, ns2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean nsegment_le(Pointer ns1, Pointer ns2) { - var _result = _meos_d.nsegment_le(ns1, ns2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean nsegment_lt(Pointer ns1, Pointer ns2) { - var _result = _meos_d.nsegment_lt(ns1, ns2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean nsegment_ne(Pointer ns1, Pointer ns2) { - var _result = _meos_d.nsegment_ne(ns1, ns2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer npointset_in(String str) { - var _result = _meos_d.npointset_in(str); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static String npointset_out(Pointer s, int maxdd) { - var _result = _meos_d.npointset_out(s, maxdd); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer npointset_make(Pointer values, int count) { - var _result = _meos_d.npointset_make(values, count); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer npoint_to_set(Pointer np) { - var _result = _meos_d.npoint_to_set(np); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer npointset_end_value(Pointer s) { - var _result = _meos_d.npointset_end_value(s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer npointset_routes(Pointer s) { - var _result = _meos_d.npointset_routes(s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer npointset_start_value(Pointer s) { - var _result = _meos_d.npointset_start_value(s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer npointset_value_n(Pointer s, int n) { - boolean out; - Runtime runtime = Runtime.getSystemRuntime(); - Pointer result = Memory.allocateDirect(runtime, Long.BYTES); - out = _meos_d.npointset_value_n(s, n, result); - Pointer new_result = result.getPointer(0); - MeosErrorHandler.checkError(); - return out ? new_result : null; - } - - @SuppressWarnings("unused") - public static Pointer npointset_values(Pointer s) { - var _result = _meos_d.npointset_values(s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean contained_npoint_set(Pointer np, Pointer s) { - var _result = _meos_d.contained_npoint_set(np, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean contains_set_npoint(Pointer s, Pointer np) { - var _result = _meos_d.contains_set_npoint(s, np); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer intersection_npoint_set(Pointer np, Pointer s) { - var _result = _meos_d.intersection_npoint_set(np, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer intersection_set_npoint(Pointer s, Pointer np) { - var _result = _meos_d.intersection_set_npoint(s, np); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer minus_npoint_set(Pointer np, Pointer s) { - var _result = _meos_d.minus_npoint_set(np, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer minus_set_npoint(Pointer s, Pointer np) { - var _result = _meos_d.minus_set_npoint(s, np); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer npoint_union_transfn(Pointer state, Pointer np) { - var _result = _meos_d.npoint_union_transfn(state, np); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer union_npoint_set(Pointer np, Pointer s) { - var _result = _meos_d.union_npoint_set(np, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer union_set_npoint(Pointer s, Pointer np) { - var _result = _meos_d.union_set_npoint(s, np); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tnpoint_in(String str) { - var _result = _meos_d.tnpoint_in(str); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tnpoint_from_mfjson(String mfjson) { - var _result = _meos_d.tnpoint_from_mfjson(mfjson); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static String tnpoint_out(Pointer temp, int maxdd) { - var _result = _meos_d.tnpoint_out(temp, maxdd); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tnpointinst_make(Pointer np, OffsetDateTime t) { - var t_new = t.toEpochSecond(); - var _result = _meos_d.tnpointinst_make(np, t_new); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tgeompoint_to_tnpoint(Pointer temp) { - var _result = _meos_d.tgeompoint_to_tnpoint(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tnpoint_to_tgeompoint(Pointer temp) { - var _result = _meos_d.tnpoint_to_tgeompoint(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tnpoint_cumulative_length(Pointer temp) { - var _result = _meos_d.tnpoint_cumulative_length(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double tnpoint_length(Pointer temp) { - var _result = _meos_d.tnpoint_length(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tnpoint_positions(Pointer temp, Pointer count) { - var _result = _meos_d.tnpoint_positions(temp, count); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static long tnpoint_route(Pointer temp) { - var _result = _meos_d.tnpoint_route(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tnpoint_routes(Pointer temp) { - var _result = _meos_d.tnpoint_routes(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tnpoint_speed(Pointer temp) { - var _result = _meos_d.tnpoint_speed(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tnpoint_trajectory(Pointer temp) { - var _result = _meos_d.tnpoint_trajectory(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tnpoint_twcentroid(Pointer temp) { - var _result = _meos_d.tnpoint_twcentroid(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tnpoint_at_geom(Pointer temp, Pointer gs) { - var _result = _meos_d.tnpoint_at_geom(temp, gs); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tnpoint_at_npoint(Pointer temp, Pointer np) { - var _result = _meos_d.tnpoint_at_npoint(temp, np); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tnpoint_at_npointset(Pointer temp, Pointer s) { - var _result = _meos_d.tnpoint_at_npointset(temp, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tnpoint_at_stbox(Pointer temp, Pointer box, boolean border_inc) { - var _result = _meos_d.tnpoint_at_stbox(temp, box, border_inc); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tnpoint_minus_geom(Pointer temp, Pointer gs) { - var _result = _meos_d.tnpoint_minus_geom(temp, gs); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tnpoint_minus_npoint(Pointer temp, Pointer np) { - var _result = _meos_d.tnpoint_minus_npoint(temp, np); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tnpoint_minus_npointset(Pointer temp, Pointer s) { - var _result = _meos_d.tnpoint_minus_npointset(temp, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tnpoint_minus_stbox(Pointer temp, Pointer box, boolean border_inc) { - var _result = _meos_d.tnpoint_minus_stbox(temp, box, border_inc); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tdistance_tnpoint_npoint(Pointer temp, Pointer np) { - var _result = _meos_d.tdistance_tnpoint_npoint(temp, np); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tdistance_tnpoint_point(Pointer temp, Pointer gs) { - var _result = _meos_d.tdistance_tnpoint_point(temp, gs); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tdistance_tnpoint_tnpoint(Pointer temp1, Pointer temp2) { - var _result = _meos_d.tdistance_tnpoint_tnpoint(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double nad_tnpoint_geo(Pointer temp, Pointer gs) { - var _result = _meos_d.nad_tnpoint_geo(temp, gs); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double nad_tnpoint_npoint(Pointer temp, Pointer np) { - var _result = _meos_d.nad_tnpoint_npoint(temp, np); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double nad_tnpoint_stbox(Pointer temp, Pointer box) { - var _result = _meos_d.nad_tnpoint_stbox(temp, box); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double nad_tnpoint_tnpoint(Pointer temp1, Pointer temp2) { - var _result = _meos_d.nad_tnpoint_tnpoint(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer nai_tnpoint_geo(Pointer temp, Pointer gs) { - var _result = _meos_d.nai_tnpoint_geo(temp, gs); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer nai_tnpoint_npoint(Pointer temp, Pointer np) { - var _result = _meos_d.nai_tnpoint_npoint(temp, np); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer nai_tnpoint_tnpoint(Pointer temp1, Pointer temp2) { - var _result = _meos_d.nai_tnpoint_tnpoint(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer shortestline_tnpoint_geo(Pointer temp, Pointer gs) { - var _result = _meos_d.shortestline_tnpoint_geo(temp, gs); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer shortestline_tnpoint_npoint(Pointer temp, Pointer np) { - var _result = _meos_d.shortestline_tnpoint_npoint(temp, np); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer shortestline_tnpoint_tnpoint(Pointer temp1, Pointer temp2) { - var _result = _meos_d.shortestline_tnpoint_tnpoint(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tnpoint_tcentroid_transfn(Pointer state, Pointer temp) { - var _result = _meos_d.tnpoint_tcentroid_transfn(state, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int always_eq_npoint_tnpoint(Pointer np, Pointer temp) { - var _result = _meos_d.always_eq_npoint_tnpoint(np, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int always_eq_tnpoint_npoint(Pointer temp, Pointer np) { - var _result = _meos_d.always_eq_tnpoint_npoint(temp, np); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int always_eq_tnpoint_tnpoint(Pointer temp1, Pointer temp2) { - var _result = _meos_d.always_eq_tnpoint_tnpoint(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int always_ne_npoint_tnpoint(Pointer np, Pointer temp) { - var _result = _meos_d.always_ne_npoint_tnpoint(np, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int always_ne_tnpoint_npoint(Pointer temp, Pointer np) { - var _result = _meos_d.always_ne_tnpoint_npoint(temp, np); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int always_ne_tnpoint_tnpoint(Pointer temp1, Pointer temp2) { - var _result = _meos_d.always_ne_tnpoint_tnpoint(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int ever_eq_npoint_tnpoint(Pointer np, Pointer temp) { - var _result = _meos_d.ever_eq_npoint_tnpoint(np, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int ever_eq_tnpoint_npoint(Pointer temp, Pointer np) { - var _result = _meos_d.ever_eq_tnpoint_npoint(temp, np); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int ever_eq_tnpoint_tnpoint(Pointer temp1, Pointer temp2) { - var _result = _meos_d.ever_eq_tnpoint_tnpoint(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int ever_ne_npoint_tnpoint(Pointer np, Pointer temp) { - var _result = _meos_d.ever_ne_npoint_tnpoint(np, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int ever_ne_tnpoint_npoint(Pointer temp, Pointer np) { - var _result = _meos_d.ever_ne_tnpoint_npoint(temp, np); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int ever_ne_tnpoint_tnpoint(Pointer temp1, Pointer temp2) { - var _result = _meos_d.ever_ne_tnpoint_tnpoint(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer teq_tnpoint_npoint(Pointer temp, Pointer np) { - var _result = _meos_d.teq_tnpoint_npoint(temp, np); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tne_tnpoint_npoint(Pointer temp, Pointer np) { - var _result = _meos_d.tne_tnpoint_npoint(temp, np); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static String pose_as_ewkt(Pointer pose, int maxdd) { - var _result = _meos_d.pose_as_ewkt(pose, maxdd); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static String pose_as_hexwkb(Pointer pose, byte variant, Pointer size) { - var _result = _meos_d.pose_as_hexwkb(pose, variant, size); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static String pose_as_text(Pointer pose, int maxdd) { - var _result = _meos_d.pose_as_text(pose, maxdd); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer pose_as_wkb(Pointer pose, byte variant) { - Runtime runtime = Runtime.getSystemRuntime(); - Pointer size_out = Memory.allocateDirect(runtime, Long.BYTES); - var _result = _meos_d.pose_as_wkb(pose, variant, size_out); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer pose_from_wkb(Pointer wkb, long size) { - var _result = _meos_d.pose_from_wkb(wkb, size); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer pose_from_hexwkb(String hexwkb) { - var _result = _meos_d.pose_from_hexwkb(hexwkb); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer pose_in(String str) { - var _result = _meos_d.pose_in(str); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static String pose_out(Pointer pose, int maxdd) { - var _result = _meos_d.pose_out(pose, maxdd); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer pose_copy(Pointer pose) { - var _result = _meos_d.pose_copy(pose); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer pose_make_2d(double x, double y, double theta, int srid) { - var _result = _meos_d.pose_make_2d(x, y, theta, srid); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer pose_make_3d(double x, double y, double z, double W, double X, double Y, double Z, int srid) { - var _result = _meos_d.pose_make_3d(x, y, z, W, X, Y, Z, srid); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer pose_make_point2d(Pointer gs, double theta) { - var _result = _meos_d.pose_make_point2d(gs, theta); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer pose_make_point3d(Pointer gs, double W, double X, double Y, double Z) { - var _result = _meos_d.pose_make_point3d(gs, W, X, Y, Z); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer pose_to_point(Pointer pose) { - var _result = _meos_d.pose_to_point(pose); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer pose_to_stbox(Pointer pose) { - var _result = _meos_d.pose_to_stbox(pose); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int pose_hash(Pointer pose) { - var _result = _meos_d.pose_hash(pose); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static long pose_hash_extended(Pointer pose, long seed) { - var _result = _meos_d.pose_hash_extended(pose, seed); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer pose_orientation(Pointer pose) { - var _result = _meos_d.pose_orientation(pose); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double pose_rotation(Pointer pose) { - var _result = _meos_d.pose_rotation(pose); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer pose_round(Pointer pose, int maxdd) { - var _result = _meos_d.pose_round(pose, maxdd); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer posearr_round(Pointer posearr, int count, int maxdd) { - var _result = _meos_d.posearr_round(posearr, count, maxdd); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static void pose_set_srid(Pointer pose, int srid) { - _meos_d.pose_set_srid(pose, srid); - MeosErrorHandler.checkError(); - } - - @SuppressWarnings("unused") - public static int pose_srid(Pointer pose) { - var _result = _meos_d.pose_srid(pose); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer pose_transform(Pointer pose, int srid) { - var _result = _meos_d.pose_transform(pose, srid); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer pose_transform_pipeline(Pointer pose, String pipelinestr, int srid, boolean is_forward) { - var _result = _meos_d.pose_transform_pipeline(pose, pipelinestr, srid, is_forward); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer pose_tstzspan_to_stbox(Pointer pose, Pointer s) { - var _result = _meos_d.pose_tstzspan_to_stbox(pose, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer pose_timestamptz_to_stbox(Pointer pose, OffsetDateTime t) { - var t_new = t.toEpochSecond(); - var _result = _meos_d.pose_timestamptz_to_stbox(pose, t_new); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double distance_pose_geo(Pointer pose, Pointer gs) { - var _result = _meos_d.distance_pose_geo(pose, gs); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double distance_pose_pose(Pointer pose1, Pointer pose2) { - var _result = _meos_d.distance_pose_pose(pose1, pose2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double distance_pose_stbox(Pointer pose, Pointer box) { - var _result = _meos_d.distance_pose_stbox(pose, box); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int pose_cmp(Pointer pose1, Pointer pose2) { - var _result = _meos_d.pose_cmp(pose1, pose2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean pose_eq(Pointer pose1, Pointer pose2) { - var _result = _meos_d.pose_eq(pose1, pose2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean pose_ge(Pointer pose1, Pointer pose2) { - var _result = _meos_d.pose_ge(pose1, pose2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean pose_gt(Pointer pose1, Pointer pose2) { - var _result = _meos_d.pose_gt(pose1, pose2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean pose_le(Pointer pose1, Pointer pose2) { - var _result = _meos_d.pose_le(pose1, pose2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean pose_lt(Pointer pose1, Pointer pose2) { - var _result = _meos_d.pose_lt(pose1, pose2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean pose_ne(Pointer pose1, Pointer pose2) { - var _result = _meos_d.pose_ne(pose1, pose2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean pose_nsame(Pointer pose1, Pointer pose2) { - var _result = _meos_d.pose_nsame(pose1, pose2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean pose_same(Pointer pose1, Pointer pose2) { - var _result = _meos_d.pose_same(pose1, pose2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer poseset_in(String str) { - var _result = _meos_d.poseset_in(str); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static String poseset_out(Pointer s, int maxdd) { - var _result = _meos_d.poseset_out(s, maxdd); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer poseset_make(Pointer values, int count) { - var _result = _meos_d.poseset_make(values, count); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer pose_to_set(Pointer pose) { - var _result = _meos_d.pose_to_set(pose); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer poseset_end_value(Pointer s) { - var _result = _meos_d.poseset_end_value(s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer poseset_start_value(Pointer s) { - var _result = _meos_d.poseset_start_value(s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer poseset_value_n(Pointer s, int n) { - boolean out; - Runtime runtime = Runtime.getSystemRuntime(); - Pointer result = Memory.allocateDirect(runtime, Long.BYTES); - out = _meos_d.poseset_value_n(s, n, result); - Pointer new_result = result.getPointer(0); - MeosErrorHandler.checkError(); - return out ? new_result : null; - } - - @SuppressWarnings("unused") - public static Pointer poseset_values(Pointer s) { - var _result = _meos_d.poseset_values(s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean contained_pose_set(Pointer pose, Pointer s) { - var _result = _meos_d.contained_pose_set(pose, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean contains_set_pose(Pointer s, Pointer pose) { - var _result = _meos_d.contains_set_pose(s, pose); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer intersection_pose_set(Pointer pose, Pointer s) { - var _result = _meos_d.intersection_pose_set(pose, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer intersection_set_pose(Pointer s, Pointer pose) { - var _result = _meos_d.intersection_set_pose(s, pose); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer minus_pose_set(Pointer pose, Pointer s) { - var _result = _meos_d.minus_pose_set(pose, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer minus_set_pose(Pointer s, Pointer pose) { - var _result = _meos_d.minus_set_pose(s, pose); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer pose_union_transfn(Pointer state, Pointer pose) { - var _result = _meos_d.pose_union_transfn(state, pose); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer union_pose_set(Pointer pose, Pointer s) { - var _result = _meos_d.union_pose_set(pose, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer union_set_pose(Pointer s, Pointer pose) { - var _result = _meos_d.union_set_pose(s, pose); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tpose_in(String str) { - var _result = _meos_d.tpose_in(str); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tpose_make(Pointer tpoint, Pointer tradius) { - var _result = _meos_d.tpose_make(tpoint, tradius); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tpose_to_tpoint(Pointer temp) { - var _result = _meos_d.tpose_to_tpoint(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tpose_end_value(Pointer temp) { - var _result = _meos_d.tpose_end_value(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tpose_points(Pointer temp) { - var _result = _meos_d.tpose_points(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tpose_rotation(Pointer temp) { - var _result = _meos_d.tpose_rotation(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tpose_start_value(Pointer temp) { - var _result = _meos_d.tpose_start_value(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tpose_trajectory(Pointer temp) { - var _result = _meos_d.tpose_trajectory(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean tpose_value_at_timestamptz(Pointer temp, OffsetDateTime t, boolean strict, Pointer value) { - var t_new = t.toEpochSecond(); - var _result = _meos_d.tpose_value_at_timestamptz(temp, t_new, strict, value); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tpose_value_n(Pointer temp, int n) { - boolean out; - Runtime runtime = Runtime.getSystemRuntime(); - Pointer result = Memory.allocateDirect(runtime, Long.BYTES); - out = _meos_d.tpose_value_n(temp, n, result); - Pointer new_result = result.getPointer(0); - MeosErrorHandler.checkError(); - return out ? new_result : null; - } - - @SuppressWarnings("unused") - public static Pointer tpose_values(Pointer temp, Pointer count) { - var _result = _meos_d.tpose_values(temp, count); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tpose_at_geom(Pointer temp, Pointer gs) { - var _result = _meos_d.tpose_at_geom(temp, gs); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tpose_at_stbox(Pointer temp, Pointer box, boolean border_inc) { - var _result = _meos_d.tpose_at_stbox(temp, box, border_inc); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tpose_at_pose(Pointer temp, Pointer pose) { - var _result = _meos_d.tpose_at_pose(temp, pose); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tpose_minus_geom(Pointer temp, Pointer gs) { - var _result = _meos_d.tpose_minus_geom(temp, gs); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tpose_minus_pose(Pointer temp, Pointer pose) { - var _result = _meos_d.tpose_minus_pose(temp, pose); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tpose_minus_stbox(Pointer temp, Pointer box, boolean border_inc) { - var _result = _meos_d.tpose_minus_stbox(temp, box, border_inc); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tdistance_tpose_pose(Pointer temp, Pointer pose) { - var _result = _meos_d.tdistance_tpose_pose(temp, pose); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tdistance_tpose_point(Pointer temp, Pointer gs) { - var _result = _meos_d.tdistance_tpose_point(temp, gs); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tdistance_tpose_tpose(Pointer temp1, Pointer temp2) { - var _result = _meos_d.tdistance_tpose_tpose(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double nad_tpose_geo(Pointer temp, Pointer gs) { - var _result = _meos_d.nad_tpose_geo(temp, gs); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double nad_tpose_pose(Pointer temp, Pointer pose) { - var _result = _meos_d.nad_tpose_pose(temp, pose); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double nad_tpose_stbox(Pointer temp, Pointer box) { - var _result = _meos_d.nad_tpose_stbox(temp, box); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double nad_tpose_tpose(Pointer temp1, Pointer temp2) { - var _result = _meos_d.nad_tpose_tpose(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer nai_tpose_geo(Pointer temp, Pointer gs) { - var _result = _meos_d.nai_tpose_geo(temp, gs); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer nai_tpose_pose(Pointer temp, Pointer pose) { - var _result = _meos_d.nai_tpose_pose(temp, pose); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer nai_tpose_tpose(Pointer temp1, Pointer temp2) { - var _result = _meos_d.nai_tpose_tpose(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer shortestline_tpose_geo(Pointer temp, Pointer gs) { - var _result = _meos_d.shortestline_tpose_geo(temp, gs); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer shortestline_tpose_pose(Pointer temp, Pointer pose) { - var _result = _meos_d.shortestline_tpose_pose(temp, pose); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer shortestline_tpose_tpose(Pointer temp1, Pointer temp2) { - var _result = _meos_d.shortestline_tpose_tpose(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int always_eq_pose_tpose(Pointer pose, Pointer temp) { - var _result = _meos_d.always_eq_pose_tpose(pose, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int always_eq_tpose_pose(Pointer temp, Pointer pose) { - var _result = _meos_d.always_eq_tpose_pose(temp, pose); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int always_eq_tpose_tpose(Pointer temp1, Pointer temp2) { - var _result = _meos_d.always_eq_tpose_tpose(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int always_ne_pose_tpose(Pointer pose, Pointer temp) { - var _result = _meos_d.always_ne_pose_tpose(pose, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int always_ne_tpose_pose(Pointer temp, Pointer pose) { - var _result = _meos_d.always_ne_tpose_pose(temp, pose); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int always_ne_tpose_tpose(Pointer temp1, Pointer temp2) { - var _result = _meos_d.always_ne_tpose_tpose(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int ever_eq_pose_tpose(Pointer pose, Pointer temp) { - var _result = _meos_d.ever_eq_pose_tpose(pose, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int ever_eq_tpose_pose(Pointer temp, Pointer pose) { - var _result = _meos_d.ever_eq_tpose_pose(temp, pose); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int ever_eq_tpose_tpose(Pointer temp1, Pointer temp2) { - var _result = _meos_d.ever_eq_tpose_tpose(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int ever_ne_pose_tpose(Pointer pose, Pointer temp) { - var _result = _meos_d.ever_ne_pose_tpose(pose, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int ever_ne_tpose_pose(Pointer temp, Pointer pose) { - var _result = _meos_d.ever_ne_tpose_pose(temp, pose); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int ever_ne_tpose_tpose(Pointer temp1, Pointer temp2) { - var _result = _meos_d.ever_ne_tpose_tpose(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer teq_pose_tpose(Pointer pose, Pointer temp) { - var _result = _meos_d.teq_pose_tpose(pose, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer teq_tpose_pose(Pointer temp, Pointer pose) { - var _result = _meos_d.teq_tpose_pose(temp, pose); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tne_pose_tpose(Pointer pose, Pointer temp) { - var _result = _meos_d.tne_pose_tpose(pose, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tne_tpose_pose(Pointer temp, Pointer pose) { - var _result = _meos_d.tne_tpose_pose(temp, pose); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static String trgeo_out(Pointer temp) { - var _result = _meos_d.trgeo_out(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer trgeoinst_make(Pointer geom, Pointer pose, OffsetDateTime t) { - var t_new = t.toEpochSecond(); - var _result = _meos_d.trgeoinst_make(geom, pose, t_new); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer geo_tpose_to_trgeo(Pointer gs, Pointer temp) { - var _result = _meos_d.geo_tpose_to_trgeo(gs, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer trgeo_to_tpose(Pointer temp) { - var _result = _meos_d.trgeo_to_tpose(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer trgeo_to_tpoint(Pointer temp) { - var _result = _meos_d.trgeo_to_tpoint(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer trgeo_end_instant(Pointer temp) { - var _result = _meos_d.trgeo_end_instant(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer trgeo_end_sequence(Pointer temp) { - var _result = _meos_d.trgeo_end_sequence(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer trgeo_end_value(Pointer temp) { - var _result = _meos_d.trgeo_end_value(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer trgeo_geom(Pointer temp) { - var _result = _meos_d.trgeo_geom(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer trgeo_instant_n(Pointer temp, int n) { - var _result = _meos_d.trgeo_instant_n(temp, n); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer trgeo_instants(Pointer temp, Pointer count) { - var _result = _meos_d.trgeo_instants(temp, count); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer trgeo_points(Pointer temp) { - var _result = _meos_d.trgeo_points(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer trgeo_rotation(Pointer temp) { - var _result = _meos_d.trgeo_rotation(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer trgeo_segments(Pointer temp, Pointer count) { - var _result = _meos_d.trgeo_segments(temp, count); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer trgeo_sequence_n(Pointer temp, int i) { - var _result = _meos_d.trgeo_sequence_n(temp, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer trgeo_sequences(Pointer temp, Pointer count) { - var _result = _meos_d.trgeo_sequences(temp, count); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer trgeo_start_instant(Pointer temp) { - var _result = _meos_d.trgeo_start_instant(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer trgeo_start_sequence(Pointer temp) { - var _result = _meos_d.trgeo_start_sequence(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer trgeo_start_value(Pointer temp) { - var _result = _meos_d.trgeo_start_value(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer trgeo_value_n(Pointer temp, int n) { - boolean out; - Runtime runtime = Runtime.getSystemRuntime(); - Pointer result = Memory.allocateDirect(runtime, Long.BYTES); - out = _meos_d.trgeo_value_n(temp, n, result); - Pointer new_result = result.getPointer(0); - MeosErrorHandler.checkError(); - return out ? new_result : null; - } - - @SuppressWarnings("unused") - public static Pointer trgeo_traversed_area(Pointer temp, boolean unary_union) { - var _result = _meos_d.trgeo_traversed_area(temp, unary_union); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer trgeo_append_tinstant(Pointer temp, Pointer inst, int interp, double maxdist, Pointer maxt, boolean expand) { - var _result = _meos_d.trgeo_append_tinstant(temp, inst, interp, maxdist, maxt, expand); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer trgeo_append_tsequence(Pointer temp, Pointer seq, boolean expand) { - var _result = _meos_d.trgeo_append_tsequence(temp, seq, expand); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer trgeo_delete_timestamptz(Pointer temp, OffsetDateTime t, boolean connect) { - var t_new = t.toEpochSecond(); - var _result = _meos_d.trgeo_delete_timestamptz(temp, t_new, connect); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer trgeo_delete_tstzset(Pointer temp, Pointer s, boolean connect) { - var _result = _meos_d.trgeo_delete_tstzset(temp, s, connect); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer trgeo_delete_tstzspan(Pointer temp, Pointer s, boolean connect) { - var _result = _meos_d.trgeo_delete_tstzspan(temp, s, connect); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer trgeo_delete_tstzspanset(Pointer temp, Pointer ss, boolean connect) { - var _result = _meos_d.trgeo_delete_tstzspanset(temp, ss, connect); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer trgeo_round(Pointer temp, int maxdd) { - var _result = _meos_d.trgeo_round(temp, maxdd); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer trgeo_set_interp(Pointer temp, int interp) { - var _result = _meos_d.trgeo_set_interp(temp, interp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer trgeo_to_tinstant(Pointer temp) { - var _result = _meos_d.trgeo_to_tinstant(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer trgeo_after_timestamptz(Pointer temp, OffsetDateTime t, boolean strict) { - var t_new = t.toEpochSecond(); - var _result = _meos_d.trgeo_after_timestamptz(temp, t_new, strict); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer trgeo_before_timestamptz(Pointer temp, OffsetDateTime t, boolean strict) { - var t_new = t.toEpochSecond(); - var _result = _meos_d.trgeo_before_timestamptz(temp, t_new, strict); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer trgeo_restrict_value(Pointer temp, Pointer value, boolean atfunc) { - var _result = _meos_d.trgeo_restrict_value(temp, value, atfunc); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer trgeo_restrict_values(Pointer temp, Pointer s, boolean atfunc) { - var _result = _meos_d.trgeo_restrict_values(temp, s, atfunc); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer trgeo_restrict_timestamptz(Pointer temp, OffsetDateTime t, boolean atfunc) { - var t_new = t.toEpochSecond(); - var _result = _meos_d.trgeo_restrict_timestamptz(temp, t_new, atfunc); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer trgeo_restrict_tstzset(Pointer temp, Pointer s, boolean atfunc) { - var _result = _meos_d.trgeo_restrict_tstzset(temp, s, atfunc); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer trgeo_restrict_tstzspan(Pointer temp, Pointer s, boolean atfunc) { - var _result = _meos_d.trgeo_restrict_tstzspan(temp, s, atfunc); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer trgeo_restrict_tstzspanset(Pointer temp, Pointer ss, boolean atfunc) { - var _result = _meos_d.trgeo_restrict_tstzspanset(temp, ss, atfunc); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tdistance_trgeo_geo(Pointer temp, Pointer gs) { - var _result = _meos_d.tdistance_trgeo_geo(temp, gs); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tdistance_trgeo_tpoint(Pointer temp1, Pointer temp2) { - var _result = _meos_d.tdistance_trgeo_tpoint(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tdistance_trgeo_trgeo(Pointer temp1, Pointer temp2) { - var _result = _meos_d.tdistance_trgeo_trgeo(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double nad_stbox_trgeo(Pointer box, Pointer temp) { - var _result = _meos_d.nad_stbox_trgeo(box, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double nad_trgeo_geo(Pointer temp, Pointer gs) { - var _result = _meos_d.nad_trgeo_geo(temp, gs); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double nad_trgeo_stbox(Pointer temp, Pointer box) { - var _result = _meos_d.nad_trgeo_stbox(temp, box); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double nad_trgeo_tpoint(Pointer temp1, Pointer temp2) { - var _result = _meos_d.nad_trgeo_tpoint(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double nad_trgeo_trgeo(Pointer temp1, Pointer temp2) { - var _result = _meos_d.nad_trgeo_trgeo(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer nai_trgeo_geo(Pointer temp, Pointer gs) { - var _result = _meos_d.nai_trgeo_geo(temp, gs); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer nai_trgeo_tpoint(Pointer temp1, Pointer temp2) { - var _result = _meos_d.nai_trgeo_tpoint(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer nai_trgeo_trgeo(Pointer temp1, Pointer temp2) { - var _result = _meos_d.nai_trgeo_trgeo(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer shortestline_trgeo_geo(Pointer temp, Pointer gs) { - var _result = _meos_d.shortestline_trgeo_geo(temp, gs); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer shortestline_trgeo_tpoint(Pointer temp1, Pointer temp2) { - var _result = _meos_d.shortestline_trgeo_tpoint(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer shortestline_trgeo_trgeo(Pointer temp1, Pointer temp2) { - var _result = _meos_d.shortestline_trgeo_trgeo(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int always_eq_geo_trgeo(Pointer gs, Pointer temp) { - var _result = _meos_d.always_eq_geo_trgeo(gs, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int always_eq_trgeo_geo(Pointer temp, Pointer gs) { - var _result = _meos_d.always_eq_trgeo_geo(temp, gs); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int always_eq_trgeo_trgeo(Pointer temp1, Pointer temp2) { - var _result = _meos_d.always_eq_trgeo_trgeo(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int always_ne_geo_trgeo(Pointer gs, Pointer temp) { - var _result = _meos_d.always_ne_geo_trgeo(gs, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int always_ne_trgeo_geo(Pointer temp, Pointer gs) { - var _result = _meos_d.always_ne_trgeo_geo(temp, gs); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int always_ne_trgeo_trgeo(Pointer temp1, Pointer temp2) { - var _result = _meos_d.always_ne_trgeo_trgeo(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int ever_eq_geo_trgeo(Pointer gs, Pointer temp) { - var _result = _meos_d.ever_eq_geo_trgeo(gs, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int ever_eq_trgeo_geo(Pointer temp, Pointer gs) { - var _result = _meos_d.ever_eq_trgeo_geo(temp, gs); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int ever_eq_trgeo_trgeo(Pointer temp1, Pointer temp2) { - var _result = _meos_d.ever_eq_trgeo_trgeo(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int ever_ne_geo_trgeo(Pointer gs, Pointer temp) { - var _result = _meos_d.ever_ne_geo_trgeo(gs, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int ever_ne_trgeo_geo(Pointer temp, Pointer gs) { - var _result = _meos_d.ever_ne_trgeo_geo(temp, gs); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int ever_ne_trgeo_trgeo(Pointer temp1, Pointer temp2) { - var _result = _meos_d.ever_ne_trgeo_trgeo(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer teq_geo_trgeo(Pointer gs, Pointer temp) { - var _result = _meos_d.teq_geo_trgeo(gs, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer teq_trgeo_geo(Pointer temp, Pointer gs) { - var _result = _meos_d.teq_trgeo_geo(temp, gs); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tne_geo_trgeo(Pointer gs, Pointer temp) { - var _result = _meos_d.tne_geo_trgeo(gs, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tne_trgeo_geo(Pointer temp, Pointer gs) { - var _result = _meos_d.tne_trgeo_geo(temp, gs); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int geo_get_srid(Pointer g) { - var _result = _meos_d.geo_get_srid(g); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int date_in(String str) { - var _result = _meos_d.date_in(str); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static String date_out(int d) { - var _result = _meos_d.date_out(d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int interval_cmp(Pointer interv1, Pointer interv2) { - var _result = _meos_d.interval_cmp(interv1, interv2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer interval_in(String str, int typmod) { - var _result = _meos_d.interval_in(str, typmod); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static String interval_out(Pointer interv) { - var _result = _meos_d.interval_out(interv); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer time_in(String str, int typmod) { - var _result = _meos_d.time_in(str, typmod); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static String time_out(Pointer t) { - var _result = _meos_d.time_out(t); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static LocalDateTime timestamp_in(String str, int typmod) { - var _result = _meos_d.timestamp_in(str, typmod); - MeosErrorHandler.checkError(); - return java.time.LocalDateTime.ofInstant(java.time.Instant.ofEpochSecond(_result), java.time.ZoneOffset.UTC); - } - - @SuppressWarnings("unused") - public static String timestamp_out(LocalDateTime t) { - var t_new = t.toInstant(java.time.ZoneOffset.UTC).getEpochSecond(); - var _result = _meos_d.timestamp_out(t_new); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static OffsetDateTime timestamptz_in(String str, int typmod) { - var _result = _meos_d.timestamptz_in(str, typmod); - MeosErrorHandler.checkError(); - return java.time.Instant.ofEpochSecond(_result).atOffset(java.time.ZoneOffset.UTC); - } - - @SuppressWarnings("unused") - public static String timestamptz_out(OffsetDateTime t) { - var t_new = t.toEpochSecond(); - var _result = _meos_d.timestamptz_out(t_new); - MeosErrorHandler.checkError(); - return _result; - } - -} From 8a772a11f3ac70f569d3f28d41ddfa48a42d184b Mon Sep 17 00:00:00 2001 From: Esteban Zimanyi Date: Sun, 31 May 2026 10:22:45 +0200 Subject: [PATCH 3/5] feat(meos): bump the rigid-geometry surface to the post-#1137 trgeometry C API MobilityDB #1137 renamed the public rigid-geometry C API from trgeo to trgeometry. The MEOS IDL the facade is generated from adopts the new names (verified 1:1 against the master meos_rgeo.h: 67 trgeo->trgeometry; the trgeoinst_make instant constructor is unchanged, matching master), so the generated functions.GeneratedFunctions and the bundled jar resolve against a post-#1137 libmeos. --- codegen/input/meos-idl.json | 134 ++++++++++++++++++------------------ 1 file changed, 67 insertions(+), 67 deletions(-) diff --git a/codegen/input/meos-idl.json b/codegen/input/meos-idl.json index dbdd46a6..186c3783 100644 --- a/codegen/input/meos-idl.json +++ b/codegen/input/meos-idl.json @@ -56842,7 +56842,7 @@ ] }, { - "name": "trgeo_out", + "name": "trgeometry_out", "file": "meos_rgeo.h", "returnType": { "c": "char *", @@ -56882,7 +56882,7 @@ ] }, { - "name": "geo_tpose_to_trgeo", + "name": "geo_tpose_to_trgeometry", "file": "meos_rgeo.h", "returnType": { "c": "Temporal *", @@ -56902,7 +56902,7 @@ ] }, { - "name": "trgeo_to_tpose", + "name": "trgeometry_to_tpose", "file": "meos_rgeo.h", "returnType": { "c": "Temporal *", @@ -56917,7 +56917,7 @@ ] }, { - "name": "trgeo_to_tpoint", + "name": "trgeometry_to_tpoint", "file": "meos_rgeo.h", "returnType": { "c": "Temporal *", @@ -56932,7 +56932,7 @@ ] }, { - "name": "trgeo_end_instant", + "name": "trgeometry_end_instant", "file": "meos_rgeo.h", "returnType": { "c": "TInstant *", @@ -56947,7 +56947,7 @@ ] }, { - "name": "trgeo_end_sequence", + "name": "trgeometry_end_sequence", "file": "meos_rgeo.h", "returnType": { "c": "TSequence *", @@ -56962,7 +56962,7 @@ ] }, { - "name": "trgeo_end_value", + "name": "trgeometry_end_value", "file": "meos_rgeo.h", "returnType": { "c": "int *", @@ -56977,7 +56977,7 @@ ] }, { - "name": "trgeo_geom", + "name": "trgeometry_geom", "file": "meos_rgeo.h", "returnType": { "c": "int *", @@ -56992,7 +56992,7 @@ ] }, { - "name": "trgeo_instant_n", + "name": "trgeometry_instant_n", "file": "meos_rgeo.h", "returnType": { "c": "TInstant *", @@ -57012,7 +57012,7 @@ ] }, { - "name": "trgeo_instants", + "name": "trgeometry_instants", "file": "meos_rgeo.h", "returnType": { "c": "TInstant **", @@ -57032,7 +57032,7 @@ ] }, { - "name": "trgeo_points", + "name": "trgeometry_points", "file": "meos_rgeo.h", "returnType": { "c": "Set *", @@ -57047,7 +57047,7 @@ ] }, { - "name": "trgeo_rotation", + "name": "trgeometry_rotation", "file": "meos_rgeo.h", "returnType": { "c": "Temporal *", @@ -57062,7 +57062,7 @@ ] }, { - "name": "trgeo_segments", + "name": "trgeometry_segments", "file": "meos_rgeo.h", "returnType": { "c": "TSequence **", @@ -57082,7 +57082,7 @@ ] }, { - "name": "trgeo_sequence_n", + "name": "trgeometry_sequence_n", "file": "meos_rgeo.h", "returnType": { "c": "TSequence *", @@ -57102,7 +57102,7 @@ ] }, { - "name": "trgeo_sequences", + "name": "trgeometry_sequences", "file": "meos_rgeo.h", "returnType": { "c": "TSequence **", @@ -57122,7 +57122,7 @@ ] }, { - "name": "trgeo_start_instant", + "name": "trgeometry_start_instant", "file": "meos_rgeo.h", "returnType": { "c": "TInstant *", @@ -57137,7 +57137,7 @@ ] }, { - "name": "trgeo_start_sequence", + "name": "trgeometry_start_sequence", "file": "meos_rgeo.h", "returnType": { "c": "TSequence *", @@ -57152,7 +57152,7 @@ ] }, { - "name": "trgeo_start_value", + "name": "trgeometry_start_value", "file": "meos_rgeo.h", "returnType": { "c": "int *", @@ -57167,7 +57167,7 @@ ] }, { - "name": "trgeo_value_n", + "name": "trgeometry_value_n", "file": "meos_rgeo.h", "returnType": { "c": "bool", @@ -57192,7 +57192,7 @@ ] }, { - "name": "trgeo_traversed_area", + "name": "trgeometry_traversed_area", "file": "meos_rgeo.h", "returnType": { "c": "int *", @@ -57212,7 +57212,7 @@ ] }, { - "name": "trgeo_append_tinstant", + "name": "trgeometry_append_tinstant", "file": "meos_rgeo.h", "returnType": { "c": "Temporal *", @@ -57252,7 +57252,7 @@ ] }, { - "name": "trgeo_append_tsequence", + "name": "trgeometry_append_tsequence", "file": "meos_rgeo.h", "returnType": { "c": "Temporal *", @@ -57277,7 +57277,7 @@ ] }, { - "name": "trgeo_delete_timestamptz", + "name": "trgeometry_delete_timestamptz", "file": "meos_rgeo.h", "returnType": { "c": "Temporal *", @@ -57302,7 +57302,7 @@ ] }, { - "name": "trgeo_delete_tstzset", + "name": "trgeometry_delete_tstzset", "file": "meos_rgeo.h", "returnType": { "c": "Temporal *", @@ -57327,7 +57327,7 @@ ] }, { - "name": "trgeo_delete_tstzspan", + "name": "trgeometry_delete_tstzspan", "file": "meos_rgeo.h", "returnType": { "c": "Temporal *", @@ -57352,7 +57352,7 @@ ] }, { - "name": "trgeo_delete_tstzspanset", + "name": "trgeometry_delete_tstzspanset", "file": "meos_rgeo.h", "returnType": { "c": "Temporal *", @@ -57377,7 +57377,7 @@ ] }, { - "name": "trgeo_round", + "name": "trgeometry_round", "file": "meos_rgeo.h", "returnType": { "c": "Temporal *", @@ -57397,7 +57397,7 @@ ] }, { - "name": "trgeo_set_interp", + "name": "trgeometry_set_interp", "file": "meos_rgeo.h", "returnType": { "c": "Temporal *", @@ -57417,7 +57417,7 @@ ] }, { - "name": "trgeo_to_tinstant", + "name": "trgeometry_to_tinstant", "file": "meos_rgeo.h", "returnType": { "c": "TInstant *", @@ -57432,7 +57432,7 @@ ] }, { - "name": "trgeo_after_timestamptz", + "name": "trgeometry_after_timestamptz", "file": "meos_rgeo.h", "returnType": { "c": "Temporal *", @@ -57457,7 +57457,7 @@ ] }, { - "name": "trgeo_before_timestamptz", + "name": "trgeometry_before_timestamptz", "file": "meos_rgeo.h", "returnType": { "c": "Temporal *", @@ -57482,7 +57482,7 @@ ] }, { - "name": "trgeo_restrict_value", + "name": "trgeometry_restrict_value", "file": "meos_rgeo.h", "returnType": { "c": "Temporal *", @@ -57507,7 +57507,7 @@ ] }, { - "name": "trgeo_restrict_values", + "name": "trgeometry_restrict_values", "file": "meos_rgeo.h", "returnType": { "c": "Temporal *", @@ -57532,7 +57532,7 @@ ] }, { - "name": "trgeo_restrict_timestamptz", + "name": "trgeometry_restrict_timestamptz", "file": "meos_rgeo.h", "returnType": { "c": "Temporal *", @@ -57557,7 +57557,7 @@ ] }, { - "name": "trgeo_restrict_tstzset", + "name": "trgeometry_restrict_tstzset", "file": "meos_rgeo.h", "returnType": { "c": "Temporal *", @@ -57582,7 +57582,7 @@ ] }, { - "name": "trgeo_restrict_tstzspan", + "name": "trgeometry_restrict_tstzspan", "file": "meos_rgeo.h", "returnType": { "c": "Temporal *", @@ -57607,7 +57607,7 @@ ] }, { - "name": "trgeo_restrict_tstzspanset", + "name": "trgeometry_restrict_tstzspanset", "file": "meos_rgeo.h", "returnType": { "c": "Temporal *", @@ -57632,7 +57632,7 @@ ] }, { - "name": "tdistance_trgeo_geo", + "name": "tdistance_trgeometry_geo", "file": "meos_rgeo.h", "returnType": { "c": "Temporal *", @@ -57652,7 +57652,7 @@ ] }, { - "name": "tdistance_trgeo_tpoint", + "name": "tdistance_trgeometry_tpoint", "file": "meos_rgeo.h", "returnType": { "c": "Temporal *", @@ -57672,7 +57672,7 @@ ] }, { - "name": "tdistance_trgeo_trgeo", + "name": "tdistance_trgeometry_trgeometry", "file": "meos_rgeo.h", "returnType": { "c": "Temporal *", @@ -57692,7 +57692,7 @@ ] }, { - "name": "nad_stbox_trgeo", + "name": "nad_stbox_trgeometry", "file": "meos_rgeo.h", "returnType": { "c": "double", @@ -57712,7 +57712,7 @@ ] }, { - "name": "nad_trgeo_geo", + "name": "nad_trgeometry_geo", "file": "meos_rgeo.h", "returnType": { "c": "double", @@ -57732,7 +57732,7 @@ ] }, { - "name": "nad_trgeo_stbox", + "name": "nad_trgeometry_stbox", "file": "meos_rgeo.h", "returnType": { "c": "double", @@ -57752,7 +57752,7 @@ ] }, { - "name": "nad_trgeo_tpoint", + "name": "nad_trgeometry_tpoint", "file": "meos_rgeo.h", "returnType": { "c": "double", @@ -57772,7 +57772,7 @@ ] }, { - "name": "nad_trgeo_trgeo", + "name": "nad_trgeometry_trgeometry", "file": "meos_rgeo.h", "returnType": { "c": "double", @@ -57792,7 +57792,7 @@ ] }, { - "name": "nai_trgeo_geo", + "name": "nai_trgeometry_geo", "file": "meos_rgeo.h", "returnType": { "c": "TInstant *", @@ -57812,7 +57812,7 @@ ] }, { - "name": "nai_trgeo_tpoint", + "name": "nai_trgeometry_tpoint", "file": "meos_rgeo.h", "returnType": { "c": "TInstant *", @@ -57832,7 +57832,7 @@ ] }, { - "name": "nai_trgeo_trgeo", + "name": "nai_trgeometry_trgeometry", "file": "meos_rgeo.h", "returnType": { "c": "TInstant *", @@ -57852,7 +57852,7 @@ ] }, { - "name": "shortestline_trgeo_geo", + "name": "shortestline_trgeometry_geo", "file": "meos_rgeo.h", "returnType": { "c": "int *", @@ -57872,7 +57872,7 @@ ] }, { - "name": "shortestline_trgeo_tpoint", + "name": "shortestline_trgeometry_tpoint", "file": "meos_rgeo.h", "returnType": { "c": "int *", @@ -57892,7 +57892,7 @@ ] }, { - "name": "shortestline_trgeo_trgeo", + "name": "shortestline_trgeometry_trgeometry", "file": "meos_rgeo.h", "returnType": { "c": "int *", @@ -57912,7 +57912,7 @@ ] }, { - "name": "always_eq_geo_trgeo", + "name": "always_eq_geo_trgeometry", "file": "meos_rgeo.h", "returnType": { "c": "int", @@ -57932,7 +57932,7 @@ ] }, { - "name": "always_eq_trgeo_geo", + "name": "always_eq_trgeometry_geo", "file": "meos_rgeo.h", "returnType": { "c": "int", @@ -57952,7 +57952,7 @@ ] }, { - "name": "always_eq_trgeo_trgeo", + "name": "always_eq_trgeometry_trgeometry", "file": "meos_rgeo.h", "returnType": { "c": "int", @@ -57972,7 +57972,7 @@ ] }, { - "name": "always_ne_geo_trgeo", + "name": "always_ne_geo_trgeometry", "file": "meos_rgeo.h", "returnType": { "c": "int", @@ -57992,7 +57992,7 @@ ] }, { - "name": "always_ne_trgeo_geo", + "name": "always_ne_trgeometry_geo", "file": "meos_rgeo.h", "returnType": { "c": "int", @@ -58012,7 +58012,7 @@ ] }, { - "name": "always_ne_trgeo_trgeo", + "name": "always_ne_trgeometry_trgeometry", "file": "meos_rgeo.h", "returnType": { "c": "int", @@ -58032,7 +58032,7 @@ ] }, { - "name": "ever_eq_geo_trgeo", + "name": "ever_eq_geo_trgeometry", "file": "meos_rgeo.h", "returnType": { "c": "int", @@ -58052,7 +58052,7 @@ ] }, { - "name": "ever_eq_trgeo_geo", + "name": "ever_eq_trgeometry_geo", "file": "meos_rgeo.h", "returnType": { "c": "int", @@ -58072,7 +58072,7 @@ ] }, { - "name": "ever_eq_trgeo_trgeo", + "name": "ever_eq_trgeometry_trgeometry", "file": "meos_rgeo.h", "returnType": { "c": "int", @@ -58092,7 +58092,7 @@ ] }, { - "name": "ever_ne_geo_trgeo", + "name": "ever_ne_geo_trgeometry", "file": "meos_rgeo.h", "returnType": { "c": "int", @@ -58112,7 +58112,7 @@ ] }, { - "name": "ever_ne_trgeo_geo", + "name": "ever_ne_trgeometry_geo", "file": "meos_rgeo.h", "returnType": { "c": "int", @@ -58132,7 +58132,7 @@ ] }, { - "name": "ever_ne_trgeo_trgeo", + "name": "ever_ne_trgeometry_trgeometry", "file": "meos_rgeo.h", "returnType": { "c": "int", @@ -58152,7 +58152,7 @@ ] }, { - "name": "teq_geo_trgeo", + "name": "teq_geo_trgeometry", "file": "meos_rgeo.h", "returnType": { "c": "Temporal *", @@ -58172,7 +58172,7 @@ ] }, { - "name": "teq_trgeo_geo", + "name": "teq_trgeometry_geo", "file": "meos_rgeo.h", "returnType": { "c": "Temporal *", @@ -58192,7 +58192,7 @@ ] }, { - "name": "tne_geo_trgeo", + "name": "tne_geo_trgeometry", "file": "meos_rgeo.h", "returnType": { "c": "Temporal *", @@ -58212,7 +58212,7 @@ ] }, { - "name": "tne_trgeo_geo", + "name": "tne_trgeometry_geo", "file": "meos_rgeo.h", "returnType": { "c": "Temporal *", From 6282b1acb057662cb5093ae1ff99036149519781 Mon Sep 17 00:00:00 2001 From: Esteban Zimanyi Date: Wed, 3 Jun 2026 09:14:00 +0200 Subject: [PATCH 4/5] Regenerate the MEOS IDL against the consolidated pin 588768d7ab Bumps codegen/input/meos-idl.json to the public+bound MEOS surface of the ecosystem pin: the set-set spatial-join family (edwithin/tdwithin/adisjoint _tgeoarr_tgeoarr), the mindistance_tgeoarr_tgeoarr rename, the trgeometry analytics (frechet/hausdorff/dyntimewarp/centroid/length/speed), tpose and tnpoint value accessors, tcbuffer traversed-area, and the aggregate combine functions. 3031 bound functions (was 2916). --- codegen/input/meos-idl.json | 36980 +++++++++++++++++++--------------- 1 file changed, 20569 insertions(+), 16411 deletions(-) diff --git a/codegen/input/meos-idl.json b/codegen/input/meos-idl.json index 186c3783..f4d30632 100644 --- a/codegen/input/meos-idl.json +++ b/codegen/input/meos-idl.json @@ -258,6 +258,36 @@ } ] }, + { + "name": "rtree_insert_temporal_split", + "file": "meos.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "rtree", + "cType": "RTree *", + "canonical": "struct RTree *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "id", + "cType": "int", + "canonical": "int" + }, + { + "name": "maxboxes", + "cType": "int", + "canonical": "int" + } + ] + }, { "name": "rtree_search", "file": "meos.h", @@ -318,6 +348,41 @@ } ] }, + { + "name": "rtree_search_temporal_dedup", + "file": "meos.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "rtree", + "cType": "const RTree *", + "canonical": "const struct RTree *" + }, + { + "name": "op", + "cType": "RTreeSearchOp", + "canonical": "RTreeSearchOp" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "maxboxes", + "cType": "int", + "canonical": "int" + }, + { + "name": "result", + "cType": "MeosArray *", + "canonical": "struct MeosArray *" + } + ] + }, { "name": "meos_error", "file": "meos.h", @@ -421,6 +486,15 @@ } ] }, + { + "name": "meos_initialize_noexit_error_handler", + "file": "meos.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [] + }, { "name": "meos_finalize_timezone", "file": "meos.h", @@ -448,6 +522,15 @@ }, "params": [] }, + { + "name": "meos_initialize_pointcloud", + "file": "meos.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [] + }, { "name": "meos_set_datestyle", "file": "meos.h", @@ -521,6 +604,21 @@ } ] }, + { + "name": "meos_set_ways_csv", + "file": "meos.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "path", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, { "name": "meos_initialize", "file": "meos.h", @@ -3031,6 +3129,11 @@ "name": "s", "cType": "const Set *", "canonical": "const Set *" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" } ] }, @@ -3196,6 +3299,11 @@ "name": "s", "cType": "const Set *", "canonical": "const Set *" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" } ] }, @@ -3416,6 +3524,11 @@ "name": "s", "cType": "const Set *", "canonical": "const Set *" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" } ] }, @@ -3581,6 +3694,11 @@ "name": "s", "cType": "const Set *", "canonical": "const Set *" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" } ] }, @@ -3921,6 +4039,11 @@ "name": "ss", "cType": "const SpanSet *", "canonical": "const struct SpanSet *" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" } ] }, @@ -4021,6 +4144,11 @@ "name": "s", "cType": "const Set *", "canonical": "const Set *" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" } ] }, @@ -4091,6 +4219,11 @@ "name": "s", "cType": "const Set *", "canonical": "const Set *" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" } ] }, @@ -5661,6 +5794,11 @@ "name": "s", "cType": "const Set *", "canonical": "const Set *" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" } ] }, @@ -5726,6 +5864,11 @@ "name": "ss", "cType": "const SpanSet *", "canonical": "const struct SpanSet *" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" } ] }, @@ -11719,6 +11862,31 @@ } ] }, + { + "name": "super_union_span_span", + "file": "meos.h", + "returnType": { + "c": "Span *", + "canonical": "struct Span *" + }, + "params": [ + { + "name": "s1", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "s2", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "strict", + "cType": "bool", + "canonical": "bool" + } + ] + }, { "name": "union_span_spanset", "file": "meos.h", @@ -13683,12 +13851,12 @@ }, "params": [ { - "name": "span", + "name": "s", "cType": "const Span *", "canonical": "const struct Span *" }, { - "name": "s", + "name": "p", "cType": "const Span *", "canonical": "const struct Span *" } @@ -15089,6 +15257,366 @@ } ] }, + { + "name": "meos_temporal_to_arrow", + "file": "meos.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "out_schema", + "cType": "struct ArrowSchema *", + "canonical": "struct ArrowSchema *" + }, + { + "name": "out_array", + "cType": "struct ArrowArray *", + "canonical": "struct ArrowArray *" + } + ] + }, + { + "name": "meos_temporal_from_arrow", + "file": "meos.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "schema", + "cType": "const struct ArrowSchema *", + "canonical": "const struct ArrowSchema *" + }, + { + "name": "array", + "cType": "const struct ArrowArray *", + "canonical": "const struct ArrowArray *" + } + ] + }, + { + "name": "meos_temporal_arrow_roundtrip", + "file": "meos.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "meos_set_to_arrow", + "file": "meos.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + }, + { + "name": "out_schema", + "cType": "struct ArrowSchema *", + "canonical": "struct ArrowSchema *" + }, + { + "name": "out_array", + "cType": "struct ArrowArray *", + "canonical": "struct ArrowArray *" + } + ] + }, + { + "name": "meos_set_from_arrow", + "file": "meos.h", + "returnType": { + "c": "Set *", + "canonical": "Set *" + }, + "params": [ + { + "name": "schema", + "cType": "const struct ArrowSchema *", + "canonical": "const struct ArrowSchema *" + }, + { + "name": "array", + "cType": "const struct ArrowArray *", + "canonical": "const struct ArrowArray *" + } + ] + }, + { + "name": "meos_set_arrow_roundtrip", + "file": "meos.h", + "returnType": { + "c": "Set *", + "canonical": "Set *" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + } + ] + }, + { + "name": "meos_span_to_arrow", + "file": "meos.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "out_schema", + "cType": "struct ArrowSchema *", + "canonical": "struct ArrowSchema *" + }, + { + "name": "out_array", + "cType": "struct ArrowArray *", + "canonical": "struct ArrowArray *" + } + ] + }, + { + "name": "meos_span_from_arrow", + "file": "meos.h", + "returnType": { + "c": "Span *", + "canonical": "struct Span *" + }, + "params": [ + { + "name": "schema", + "cType": "const struct ArrowSchema *", + "canonical": "const struct ArrowSchema *" + }, + { + "name": "array", + "cType": "const struct ArrowArray *", + "canonical": "const struct ArrowArray *" + } + ] + }, + { + "name": "meos_span_arrow_roundtrip", + "file": "meos.h", + "returnType": { + "c": "Span *", + "canonical": "struct Span *" + }, + "params": [ + { + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" + } + ] + }, + { + "name": "meos_spanset_to_arrow", + "file": "meos.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" + }, + { + "name": "out_schema", + "cType": "struct ArrowSchema *", + "canonical": "struct ArrowSchema *" + }, + { + "name": "out_array", + "cType": "struct ArrowArray *", + "canonical": "struct ArrowArray *" + } + ] + }, + { + "name": "meos_spanset_from_arrow", + "file": "meos.h", + "returnType": { + "c": "SpanSet *", + "canonical": "struct SpanSet *" + }, + "params": [ + { + "name": "schema", + "cType": "const struct ArrowSchema *", + "canonical": "const struct ArrowSchema *" + }, + { + "name": "array", + "cType": "const struct ArrowArray *", + "canonical": "const struct ArrowArray *" + } + ] + }, + { + "name": "meos_spanset_arrow_roundtrip", + "file": "meos.h", + "returnType": { + "c": "SpanSet *", + "canonical": "struct SpanSet *" + }, + "params": [ + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" + } + ] + }, + { + "name": "meos_tbox_to_arrow", + "file": "meos.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "box", + "cType": "const TBox *", + "canonical": "const struct TBox *" + }, + { + "name": "out_schema", + "cType": "struct ArrowSchema *", + "canonical": "struct ArrowSchema *" + }, + { + "name": "out_array", + "cType": "struct ArrowArray *", + "canonical": "struct ArrowArray *" + } + ] + }, + { + "name": "meos_tbox_from_arrow", + "file": "meos.h", + "returnType": { + "c": "TBox *", + "canonical": "struct TBox *" + }, + "params": [ + { + "name": "schema", + "cType": "const struct ArrowSchema *", + "canonical": "const struct ArrowSchema *" + }, + { + "name": "array", + "cType": "const struct ArrowArray *", + "canonical": "const struct ArrowArray *" + } + ] + }, + { + "name": "meos_tbox_arrow_roundtrip", + "file": "meos.h", + "returnType": { + "c": "TBox *", + "canonical": "struct TBox *" + }, + "params": [ + { + "name": "box", + "cType": "const TBox *", + "canonical": "const struct TBox *" + } + ] + }, + { + "name": "meos_stbox_to_arrow", + "file": "meos.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" + }, + { + "name": "out_schema", + "cType": "struct ArrowSchema *", + "canonical": "struct ArrowSchema *" + }, + { + "name": "out_array", + "cType": "struct ArrowArray *", + "canonical": "struct ArrowArray *" + } + ] + }, + { + "name": "meos_stbox_from_arrow", + "file": "meos.h", + "returnType": { + "c": "STBox *", + "canonical": "struct STBox *" + }, + "params": [ + { + "name": "schema", + "cType": "const struct ArrowSchema *", + "canonical": "const struct ArrowSchema *" + }, + { + "name": "array", + "cType": "const struct ArrowArray *", + "canonical": "const struct ArrowArray *" + } + ] + }, + { + "name": "meos_stbox_arrow_roundtrip", + "file": "meos.h", + "returnType": { + "c": "STBox *", + "canonical": "struct STBox *" + }, + "params": [ + { + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" + } + ] + }, { "name": "tfloat_from_mfjson", "file": "meos.h", @@ -16064,36 +16592,6 @@ } ] }, - { - "name": "tbigint_value_at_timestamptz", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" - }, - { - "name": "strict", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "value", - "cType": "int64 *", - "canonical": "long *" - } - ] - }, { "name": "tbigint_value_n", "file": "meos.h", @@ -16193,7 +16691,7 @@ "canonical": "bool" }, { - "name": "value", + "name": "result", "cType": "bool *", "canonical": "_Bool *" } @@ -16644,6 +17142,21 @@ } ] }, + { + "name": "temporal_basetype_name", + "file": "meos.h", + "returnType": { + "c": "const char *", + "canonical": "const char *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, { "name": "temporal_time", "file": "meos.h", @@ -16719,21 +17232,6 @@ } ] }, - { - "name": "tfloat_avg_value", - "file": "meos.h", - "returnType": { - "c": "double", - "canonical": "double" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, { "name": "tfloat_end_value", "file": "meos.h", @@ -16818,7 +17316,7 @@ "canonical": "bool" }, { - "name": "value", + "name": "result", "cType": "double *", "canonical": "double *" } @@ -16953,7 +17451,7 @@ "canonical": "bool" }, { - "name": "value", + "name": "result", "cType": "int *", "canonical": "int *" } @@ -17148,7 +17646,7 @@ "canonical": "bool" }, { - "name": "value", + "name": "result", "cType": "int **", "canonical": "int **" } @@ -17919,46 +18417,6 @@ } ] }, - { - "name": "tbigint_at_value", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "i", - "cType": "int64", - "canonical": "long" - } - ] - }, - { - "name": "tbigint_minus_value", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "i", - "cType": "int64", - "canonical": "long" - } - ] - }, { "name": "tbool_at_value", "file": "meos.h", @@ -24953,6 +25411,26 @@ } ] }, + { + "name": "tbool_tand_combinefn", + "file": "meos.h", + "returnType": { + "c": "SkipList *", + "canonical": "struct SkipList *" + }, + "params": [ + { + "name": "state1", + "cType": "SkipList *", + "canonical": "struct SkipList *" + }, + { + "name": "state2", + "cType": "SkipList *", + "canonical": "struct SkipList *" + } + ] + }, { "name": "tbool_tor_transfn", "file": "meos.h", @@ -24973,6 +25451,26 @@ } ] }, + { + "name": "tbool_tor_combinefn", + "file": "meos.h", + "returnType": { + "c": "SkipList *", + "canonical": "struct SkipList *" + }, + "params": [ + { + "name": "state1", + "cType": "SkipList *", + "canonical": "struct SkipList *" + }, + { + "name": "state2", + "cType": "SkipList *", + "canonical": "struct SkipList *" + } + ] + }, { "name": "temporal_extent_transfn", "file": "meos.h", @@ -25068,6 +25566,26 @@ } ] }, + { + "name": "temporal_tcount_combinefn", + "file": "meos.h", + "returnType": { + "c": "SkipList *", + "canonical": "struct SkipList *" + }, + "params": [ + { + "name": "state1", + "cType": "SkipList *", + "canonical": "struct SkipList *" + }, + { + "name": "state2", + "cType": "SkipList *", + "canonical": "struct SkipList *" + } + ] + }, { "name": "tfloat_tmax_transfn", "file": "meos.h", @@ -25088,6 +25606,26 @@ } ] }, + { + "name": "tfloat_tmax_combinefn", + "file": "meos.h", + "returnType": { + "c": "SkipList *", + "canonical": "struct SkipList *" + }, + "params": [ + { + "name": "state1", + "cType": "SkipList *", + "canonical": "struct SkipList *" + }, + { + "name": "state2", + "cType": "SkipList *", + "canonical": "struct SkipList *" + } + ] + }, { "name": "tfloat_tmin_transfn", "file": "meos.h", @@ -25108,6 +25646,26 @@ } ] }, + { + "name": "tfloat_tmin_combinefn", + "file": "meos.h", + "returnType": { + "c": "SkipList *", + "canonical": "struct SkipList *" + }, + "params": [ + { + "name": "state1", + "cType": "SkipList *", + "canonical": "struct SkipList *" + }, + { + "name": "state2", + "cType": "SkipList *", + "canonical": "struct SkipList *" + } + ] + }, { "name": "tfloat_tsum_transfn", "file": "meos.h", @@ -25128,6 +25686,26 @@ } ] }, + { + "name": "tfloat_tsum_combinefn", + "file": "meos.h", + "returnType": { + "c": "SkipList *", + "canonical": "struct SkipList *" + }, + "params": [ + { + "name": "state1", + "cType": "SkipList *", + "canonical": "struct SkipList *" + }, + { + "name": "state2", + "cType": "SkipList *", + "canonical": "struct SkipList *" + } + ] + }, { "name": "tfloat_wmax_transfn", "file": "meos.h", @@ -25244,7 +25822,7 @@ ] }, { - "name": "tint_tmin_transfn", + "name": "tint_tmax_combinefn", "file": "meos.h", "returnType": { "c": "SkipList *", @@ -25252,19 +25830,19 @@ }, "params": [ { - "name": "state", + "name": "state1", "cType": "SkipList *", "canonical": "struct SkipList *" }, { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "state2", + "cType": "SkipList *", + "canonical": "struct SkipList *" } ] }, { - "name": "tint_tsum_transfn", + "name": "tint_tmin_transfn", "file": "meos.h", "returnType": { "c": "SkipList *", @@ -25284,7 +25862,7 @@ ] }, { - "name": "tint_wmax_transfn", + "name": "tint_tmin_combinefn", "file": "meos.h", "returnType": { "c": "SkipList *", @@ -25292,24 +25870,19 @@ }, "params": [ { - "name": "state", + "name": "state1", "cType": "SkipList *", "canonical": "struct SkipList *" }, { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "interv", - "cType": "const int *", - "canonical": "const int *" + "name": "state2", + "cType": "SkipList *", + "canonical": "struct SkipList *" } ] }, { - "name": "tint_wmin_transfn", + "name": "tint_tsum_transfn", "file": "meos.h", "returnType": { "c": "SkipList *", @@ -25325,16 +25898,81 @@ "name": "temp", "cType": "const Temporal *", "canonical": "const Temporal *" + } + ] + }, + { + "name": "tint_tsum_combinefn", + "file": "meos.h", + "returnType": { + "c": "SkipList *", + "canonical": "struct SkipList *" + }, + "params": [ + { + "name": "state1", + "cType": "SkipList *", + "canonical": "struct SkipList *" }, { - "name": "interv", - "cType": "const int *", - "canonical": "const int *" + "name": "state2", + "cType": "SkipList *", + "canonical": "struct SkipList *" } ] }, { - "name": "tint_wsum_transfn", + "name": "tint_wmax_transfn", + "file": "meos.h", + "returnType": { + "c": "SkipList *", + "canonical": "struct SkipList *" + }, + "params": [ + { + "name": "state", + "cType": "SkipList *", + "canonical": "struct SkipList *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "interv", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "tint_wmin_transfn", + "file": "meos.h", + "returnType": { + "c": "SkipList *", + "canonical": "struct SkipList *" + }, + "params": [ + { + "name": "state", + "cType": "SkipList *", + "canonical": "struct SkipList *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "interv", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "tint_wsum_transfn", "file": "meos.h", "returnType": { "c": "SkipList *", @@ -25413,6 +26051,26 @@ } ] }, + { + "name": "tnumber_tavg_combinefn", + "file": "meos.h", + "returnType": { + "c": "SkipList *", + "canonical": "struct SkipList *" + }, + "params": [ + { + "name": "state1", + "cType": "SkipList *", + "canonical": "struct SkipList *" + }, + { + "name": "state2", + "cType": "SkipList *", + "canonical": "struct SkipList *" + } + ] + }, { "name": "tnumber_wavg_transfn", "file": "meos.h", @@ -25518,6 +26176,26 @@ } ] }, + { + "name": "ttext_tmax_combinefn", + "file": "meos.h", + "returnType": { + "c": "SkipList *", + "canonical": "struct SkipList *" + }, + "params": [ + { + "name": "state1", + "cType": "SkipList *", + "canonical": "struct SkipList *" + }, + { + "name": "state2", + "cType": "SkipList *", + "canonical": "struct SkipList *" + } + ] + }, { "name": "ttext_tmin_transfn", "file": "meos.h", @@ -25538,6 +26216,26 @@ } ] }, + { + "name": "ttext_tmin_combinefn", + "file": "meos.h", + "returnType": { + "c": "SkipList *", + "canonical": "struct SkipList *" + }, + "params": [ + { + "name": "state1", + "cType": "SkipList *", + "canonical": "struct SkipList *" + }, + { + "name": "state2", + "cType": "SkipList *", + "canonical": "struct SkipList *" + } + ] + }, { "name": "temporal_simplify_dp", "file": "meos.h", @@ -25827,8 +26525,8 @@ "name": "temporal_time_split", "file": "meos.h", "returnType": { - "c": "Temporal **", - "canonical": "Temporal **" + "c": "TimeSplit", + "canonical": "TimeSplit" }, "params": [ { @@ -25845,16 +26543,6 @@ "name": "torigin", "cType": "TimestampTz", "canonical": "long" - }, - { - "name": "time_bins", - "cType": "TimestampTz **", - "canonical": "long **" - }, - { - "name": "count", - "cType": "int *", - "canonical": "int *" } ] }, @@ -25952,8 +26640,8 @@ "name": "tfloat_value_split", "file": "meos.h", "returnType": { - "c": "Temporal **", - "canonical": "Temporal **" + "c": "FloatSplit", + "canonical": "FloatSplit" }, "params": [ { @@ -25970,16 +26658,6 @@ "name": "origin", "cType": "double", "canonical": "double" - }, - { - "name": "bins", - "cType": "double **", - "canonical": "double **" - }, - { - "name": "count", - "cType": "int *", - "canonical": "int *" } ] }, @@ -26027,8 +26705,8 @@ "name": "tfloat_value_time_split", "file": "meos.h", "returnType": { - "c": "Temporal **", - "canonical": "Temporal **" + "c": "FloatTimeSplit", + "canonical": "FloatTimeSplit" }, "params": [ { @@ -26055,21 +26733,6 @@ "name": "torigin", "cType": "TimestampTz", "canonical": "long" - }, - { - "name": "value_bins", - "cType": "double **", - "canonical": "double **" - }, - { - "name": "time_bins", - "cType": "TimestampTz **", - "canonical": "long **" - }, - { - "name": "count", - "cType": "int *", - "canonical": "int *" } ] }, @@ -26267,8 +26930,8 @@ "name": "tint_value_split", "file": "meos.h", "returnType": { - "c": "Temporal **", - "canonical": "Temporal **" + "c": "IntSplit", + "canonical": "IntSplit" }, "params": [ { @@ -26285,16 +26948,6 @@ "name": "vorigin", "cType": "int", "canonical": "int" - }, - { - "name": "bins", - "cType": "int **", - "canonical": "int **" - }, - { - "name": "count", - "cType": "int *", - "canonical": "int *" } ] }, @@ -26342,8 +26995,8 @@ "name": "tint_value_time_split", "file": "meos.h", "returnType": { - "c": "Temporal **", - "canonical": "Temporal **" + "c": "IntTimeSplit", + "canonical": "IntTimeSplit" }, "params": [ { @@ -26370,21 +27023,6 @@ "name": "torigin", "cType": "TimestampTz", "canonical": "long" - }, - { - "name": "value_bins", - "cType": "int **", - "canonical": "int **" - }, - { - "name": "time_bins", - "cType": "TimestampTz **", - "canonical": "long **" - }, - { - "name": "count", - "cType": "int *", - "canonical": "int *" } ] }, @@ -26489,1680 +27127,1911 @@ ] }, { - "name": "meos_initialize_noexit_error_handler", - "file": "meos.h", - "returnType": { - "c": "void", - "canonical": "void" - }, - "params": [] - }, - { - "name": "h3_are_neighbor_cells_meos", - "file": "h3_generated.h", + "name": "geo_as_ewkb", + "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "uint8_t *", + "canonical": "unsigned char *" }, "params": [ { - "name": "origin", - "cType": "H3Index", - "canonical": "unsigned long" + "name": "gs", + "cType": "const int *", + "canonical": "const int *" }, { - "name": "destination", - "cType": "H3Index", - "canonical": "unsigned long" + "name": "endian", + "cType": "const char *", + "canonical": "const char *" + }, + { + "name": "size", + "cType": "size_t *", + "canonical": "unsigned long *" } ] }, { - "name": "h3_cells_to_directed_edge_meos", - "file": "h3_generated.h", + "name": "geo_as_ewkt", + "file": "meos_geo.h", "returnType": { - "c": "H3Index", - "canonical": "unsigned long" + "c": "char *", + "canonical": "char *" }, "params": [ { - "name": "origin", - "cType": "H3Index", - "canonical": "unsigned long" + "name": "gs", + "cType": "const int *", + "canonical": "const int *" }, { - "name": "destination", - "cType": "H3Index", - "canonical": "unsigned long" + "name": "precision", + "cType": "int", + "canonical": "int" } ] }, { - "name": "h3_is_valid_directed_edge_meos", - "file": "h3_generated.h", + "name": "geo_as_geojson", + "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "char *", + "canonical": "char *" }, "params": [ { - "name": "edge", - "cType": "H3Index", - "canonical": "unsigned long" - } - ] - }, - { - "name": "h3_get_directed_edge_origin_meos", - "file": "h3_generated.h", - "returnType": { - "c": "H3Index", - "canonical": "unsigned long" - }, - "params": [ + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + }, { - "name": "edge", - "cType": "H3Index", - "canonical": "unsigned long" + "name": "option", + "cType": "int", + "canonical": "int" + }, + { + "name": "precision", + "cType": "int", + "canonical": "int" + }, + { + "name": "srs", + "cType": "const char *", + "canonical": "const char *" } ] }, { - "name": "h3_get_directed_edge_destination_meos", - "file": "h3_generated.h", + "name": "geo_as_hexewkb", + "file": "meos_geo.h", "returnType": { - "c": "H3Index", - "canonical": "unsigned long" + "c": "char *", + "canonical": "char *" }, "params": [ { - "name": "edge", - "cType": "H3Index", - "canonical": "unsigned long" + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "endian", + "cType": "const char *", + "canonical": "const char *" } ] }, { - "name": "h3_cell_to_parent_meos", - "file": "h3_generated.h", + "name": "geo_as_text", + "file": "meos_geo.h", "returnType": { - "c": "H3Index", - "canonical": "unsigned long" + "c": "char *", + "canonical": "char *" }, "params": [ { - "name": "origin", - "cType": "H3Index", - "canonical": "unsigned long" + "name": "gs", + "cType": "const int *", + "canonical": "const int *" }, { - "name": "resolution", - "cType": "int32", + "name": "precision", + "cType": "int", "canonical": "int" } ] }, { - "name": "h3_cell_to_center_child_meos", - "file": "h3_generated.h", + "name": "geo_from_ewkb", + "file": "meos_geo.h", "returnType": { - "c": "H3Index", - "canonical": "unsigned long" + "c": "int *", + "canonical": "int *" }, "params": [ { - "name": "origin", - "cType": "H3Index", + "name": "wkb", + "cType": "const uint8_t *", + "canonical": "const unsigned char *" + }, + { + "name": "wkb_size", + "cType": "size_t", "canonical": "unsigned long" }, { - "name": "resolution", + "name": "srid", "cType": "int32", "canonical": "int" } ] }, { - "name": "h3_cell_to_child_pos_meos", - "file": "h3_generated.h", + "name": "geo_from_geojson", + "file": "meos_geo.h", "returnType": { - "c": "int64", - "canonical": "long" + "c": "int *", + "canonical": "int *" }, "params": [ { - "name": "child", - "cType": "H3Index", - "canonical": "unsigned long" - }, - { - "name": "parentRes", - "cType": "int32", - "canonical": "int" + "name": "geojson", + "cType": "const char *", + "canonical": "const char *" } ] }, { - "name": "h3_child_pos_to_cell_meos", - "file": "h3_generated.h", + "name": "geo_from_text", + "file": "meos_geo.h", "returnType": { - "c": "H3Index", - "canonical": "unsigned long" + "c": "int *", + "canonical": "int *" }, "params": [ { - "name": "childPos", - "cType": "int64", - "canonical": "long" - }, - { - "name": "parent", - "cType": "H3Index", - "canonical": "unsigned long" + "name": "wkt", + "cType": "const char *", + "canonical": "const char *" }, { - "name": "childRes", - "cType": "int32", + "name": "srid", + "cType": "int32_t", "canonical": "int" } ] }, { - "name": "h3_get_resolution_meos", - "file": "h3_generated.h", + "name": "geo_out", + "file": "meos_geo.h", "returnType": { - "c": "int32", - "canonical": "int" + "c": "char *", + "canonical": "char *" }, "params": [ { - "name": "hex", - "cType": "H3Index", - "canonical": "unsigned long" + "name": "gs", + "cType": "const int *", + "canonical": "const int *" } ] }, { - "name": "h3_get_base_cell_number_meos", - "file": "h3_generated.h", + "name": "geog_from_hexewkb", + "file": "meos_geo.h", "returnType": { - "c": "int32", - "canonical": "int" + "c": "int *", + "canonical": "int *" }, "params": [ { - "name": "hex", - "cType": "H3Index", - "canonical": "unsigned long" + "name": "wkt", + "cType": "const char *", + "canonical": "const char *" } ] }, { - "name": "h3_is_valid_cell_meos", - "file": "h3_generated.h", + "name": "geog_in", + "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "int *", + "canonical": "int *" }, "params": [ { - "name": "hex", - "cType": "H3Index", - "canonical": "unsigned long" + "name": "str", + "cType": "const char *", + "canonical": "const char *" + }, + { + "name": "typmod", + "cType": "int32", + "canonical": "int" } ] }, { - "name": "h3_is_res_class_iii_meos", - "file": "h3_generated.h", + "name": "geom_from_hexewkb", + "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "int *", + "canonical": "int *" }, "params": [ { - "name": "hex", - "cType": "H3Index", - "canonical": "unsigned long" + "name": "wkt", + "cType": "const char *", + "canonical": "const char *" } ] }, { - "name": "h3_is_pentagon_meos", - "file": "h3_generated.h", + "name": "geom_in", + "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "int *", + "canonical": "int *" }, "params": [ { - "name": "hex", - "cType": "H3Index", - "canonical": "unsigned long" + "name": "str", + "cType": "const char *", + "canonical": "const char *" + }, + { + "name": "typmod", + "cType": "int32", + "canonical": "int" } ] }, { - "name": "h3_get_num_cells_meos", - "file": "h3_generated.h", + "name": "box3d_make", + "file": "meos_geo.h", "returnType": { - "c": "int64", - "canonical": "long" + "c": "int *", + "canonical": "int *" }, "params": [ { - "name": "resolution", - "cType": "int32", + "name": "xmin", + "cType": "double", + "canonical": "double" + }, + { + "name": "xmax", + "cType": "double", + "canonical": "double" + }, + { + "name": "ymin", + "cType": "double", + "canonical": "double" + }, + { + "name": "ymax", + "cType": "double", + "canonical": "double" + }, + { + "name": "zmin", + "cType": "double", + "canonical": "double" + }, + { + "name": "zmax", + "cType": "double", + "canonical": "double" + }, + { + "name": "srid", + "cType": "int32_t", "canonical": "int" } ] }, { - "name": "h3_grid_distance_meos", - "file": "h3_generated.h", + "name": "box3d_out", + "file": "meos_geo.h", "returnType": { - "c": "int64", - "canonical": "long" + "c": "char *", + "canonical": "char *" }, "params": [ { - "name": "originIndex", - "cType": "H3Index", - "canonical": "unsigned long" + "name": "box", + "cType": "const int *", + "canonical": "const int *" }, { - "name": "h3Index", - "cType": "H3Index", - "canonical": "unsigned long" + "name": "maxdd", + "cType": "int", + "canonical": "int" } ] }, { - "name": "h3_cell_to_vertex_meos", - "file": "h3_generated.h", - "returnType": { - "c": "H3Index", - "canonical": "unsigned long" + "name": "gbox_make", + "file": "meos_geo.h", + "returnType": { + "c": "int *", + "canonical": "int *" }, "params": [ { - "name": "cell", - "cType": "H3Index", - "canonical": "unsigned long" + "name": "hasz", + "cType": "bool", + "canonical": "bool" }, { - "name": "vertexNum", - "cType": "int32", - "canonical": "int" + "name": "xmin", + "cType": "double", + "canonical": "double" + }, + { + "name": "xmax", + "cType": "double", + "canonical": "double" + }, + { + "name": "ymin", + "cType": "double", + "canonical": "double" + }, + { + "name": "ymax", + "cType": "double", + "canonical": "double" + }, + { + "name": "zmin", + "cType": "double", + "canonical": "double" + }, + { + "name": "zmax", + "cType": "double", + "canonical": "double" } ] }, { - "name": "h3_is_valid_vertex_meos", - "file": "h3_generated.h", + "name": "gbox_out", + "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "char *", + "canonical": "char *" }, "params": [ { - "name": "vertex", - "cType": "H3Index", - "canonical": "unsigned long" + "name": "box", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "maxdd", + "cType": "int", + "canonical": "int" } ] }, { - "name": "h3index_parse", - "file": "h3index.h", + "name": "geo_copy", + "file": "meos_geo.h", "returnType": { - "c": "H3Index", - "canonical": "unsigned long" + "c": "int *", + "canonical": "int *" }, "params": [ { - "name": "str", - "cType": "const char *", - "canonical": "const char *" + "name": "g", + "cType": "const int *", + "canonical": "const int *" } ] }, { - "name": "h3index_to_string", - "file": "h3index.h", + "name": "geogpoint_make2d", + "file": "meos_geo.h", "returnType": { - "c": "char *", - "canonical": "char *" + "c": "int *", + "canonical": "int *" }, "params": [ { - "name": "cell", - "cType": "H3Index", - "canonical": "unsigned long" + "name": "srid", + "cType": "int32_t", + "canonical": "int" + }, + { + "name": "x", + "cType": "double", + "canonical": "double" + }, + { + "name": "y", + "cType": "double", + "canonical": "double" } ] }, { - "name": "h3index_eq", - "file": "h3index.h", + "name": "geogpoint_make3dz", + "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "int *", + "canonical": "int *" }, "params": [ { - "name": "a", - "cType": "H3Index", - "canonical": "unsigned long" + "name": "srid", + "cType": "int32_t", + "canonical": "int" }, { - "name": "b", - "cType": "H3Index", - "canonical": "unsigned long" + "name": "x", + "cType": "double", + "canonical": "double" + }, + { + "name": "y", + "cType": "double", + "canonical": "double" + }, + { + "name": "z", + "cType": "double", + "canonical": "double" } ] }, { - "name": "h3index_ne", - "file": "h3index.h", + "name": "geompoint_make2d", + "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "int *", + "canonical": "int *" }, "params": [ { - "name": "a", - "cType": "H3Index", - "canonical": "unsigned long" + "name": "srid", + "cType": "int32_t", + "canonical": "int" }, { - "name": "b", - "cType": "H3Index", - "canonical": "unsigned long" + "name": "x", + "cType": "double", + "canonical": "double" + }, + { + "name": "y", + "cType": "double", + "canonical": "double" } ] }, { - "name": "h3index_lt", - "file": "h3index.h", + "name": "geompoint_make3dz", + "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "int *", + "canonical": "int *" }, "params": [ { - "name": "a", - "cType": "H3Index", - "canonical": "unsigned long" + "name": "srid", + "cType": "int32_t", + "canonical": "int" }, { - "name": "b", - "cType": "H3Index", - "canonical": "unsigned long" + "name": "x", + "cType": "double", + "canonical": "double" + }, + { + "name": "y", + "cType": "double", + "canonical": "double" + }, + { + "name": "z", + "cType": "double", + "canonical": "double" } ] }, { - "name": "h3index_le", - "file": "h3index.h", + "name": "geom_to_geog", + "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "int *", + "canonical": "int *" }, "params": [ { - "name": "a", - "cType": "H3Index", - "canonical": "unsigned long" - }, - { - "name": "b", - "cType": "H3Index", - "canonical": "unsigned long" + "name": "geom", + "cType": "const int *", + "canonical": "const int *" } ] }, { - "name": "h3index_gt", - "file": "h3index.h", + "name": "geog_to_geom", + "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "int *", + "canonical": "int *" }, "params": [ { - "name": "a", - "cType": "H3Index", - "canonical": "unsigned long" - }, - { - "name": "b", - "cType": "H3Index", - "canonical": "unsigned long" + "name": "geog", + "cType": "const int *", + "canonical": "const int *" } ] }, { - "name": "h3index_ge", - "file": "h3index.h", + "name": "geo_is_empty", + "file": "meos_geo.h", "returnType": { "c": "bool", "canonical": "bool" }, "params": [ { - "name": "a", - "cType": "H3Index", - "canonical": "unsigned long" - }, - { - "name": "b", - "cType": "H3Index", - "canonical": "unsigned long" + "name": "g", + "cType": "const int *", + "canonical": "const int *" } ] }, { - "name": "h3index_cmp", - "file": "h3index.h", + "name": "geo_is_unitary", + "file": "meos_geo.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "a", - "cType": "H3Index", - "canonical": "unsigned long" - }, - { - "name": "b", - "cType": "H3Index", - "canonical": "unsigned long" + "name": "gs", + "cType": "const int *", + "canonical": "const int *" } ] }, { - "name": "h3index_hash", - "file": "h3index.h", + "name": "geo_typename", + "file": "meos_geo.h", "returnType": { - "c": "uint32", - "canonical": "unsigned int" + "c": "const char *", + "canonical": "const char *" }, "params": [ { - "name": "cell", - "cType": "H3Index", - "canonical": "unsigned long" + "name": "type", + "cType": "int", + "canonical": "int" } ] }, { - "name": "h3_grid_disk", - "file": "h3index_sets.h", + "name": "geog_area", + "file": "meos_geo.h", "returnType": { - "c": "Set *", - "canonical": "Set *" + "c": "double", + "canonical": "double" }, "params": [ { - "name": "origin", - "cType": "H3Index", - "canonical": "unsigned long" + "name": "g", + "cType": "const int *", + "canonical": "const int *" }, { - "name": "k", - "cType": "int", - "canonical": "int" + "name": "use_spheroid", + "cType": "bool", + "canonical": "bool" } ] }, { - "name": "h3_grid_ring", - "file": "h3index_sets.h", + "name": "geog_centroid", + "file": "meos_geo.h", "returnType": { - "c": "Set *", - "canonical": "Set *" + "c": "int *", + "canonical": "int *" }, "params": [ { - "name": "origin", - "cType": "H3Index", - "canonical": "unsigned long" + "name": "g", + "cType": "const int *", + "canonical": "const int *" }, { - "name": "k", - "cType": "int", - "canonical": "int" + "name": "use_spheroid", + "cType": "bool", + "canonical": "bool" } ] }, { - "name": "h3_grid_path_cells", - "file": "h3index_sets.h", + "name": "geog_length", + "file": "meos_geo.h", "returnType": { - "c": "Set *", - "canonical": "Set *" + "c": "double", + "canonical": "double" }, "params": [ { - "name": "start", - "cType": "H3Index", - "canonical": "unsigned long" + "name": "g", + "cType": "const int *", + "canonical": "const int *" }, { - "name": "end", - "cType": "H3Index", - "canonical": "unsigned long" + "name": "use_spheroid", + "cType": "bool", + "canonical": "bool" } ] }, { - "name": "h3_cell_to_children", - "file": "h3index_sets.h", + "name": "geog_perimeter", + "file": "meos_geo.h", "returnType": { - "c": "Set *", - "canonical": "Set *" + "c": "double", + "canonical": "double" }, "params": [ { - "name": "origin", - "cType": "H3Index", - "canonical": "unsigned long" + "name": "g", + "cType": "const int *", + "canonical": "const int *" }, { - "name": "childRes", - "cType": "int", - "canonical": "int" + "name": "use_spheroid", + "cType": "bool", + "canonical": "bool" } ] }, { - "name": "h3_compact_cells", - "file": "h3index_sets.h", + "name": "geom_azimuth", + "file": "meos_geo.h", "returnType": { - "c": "Set *", - "canonical": "Set *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "cells", - "cType": "const Set *", - "canonical": "const Set *" + "name": "gs1", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "gs2", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "result", + "cType": "double *", + "canonical": "double *" } ] }, { - "name": "h3_uncompact_cells", - "file": "h3index_sets.h", + "name": "geom_length", + "file": "meos_geo.h", "returnType": { - "c": "Set *", - "canonical": "Set *" + "c": "double", + "canonical": "double" }, "params": [ { - "name": "cells", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "res", - "cType": "int", - "canonical": "int" + "name": "gs", + "cType": "const int *", + "canonical": "const int *" } ] }, { - "name": "h3_origin_to_directed_edges", - "file": "h3index_sets.h", + "name": "geom_perimeter", + "file": "meos_geo.h", "returnType": { - "c": "Set *", - "canonical": "Set *" + "c": "double", + "canonical": "double" }, "params": [ { - "name": "origin", - "cType": "H3Index", - "canonical": "unsigned long" + "name": "gs", + "cType": "const int *", + "canonical": "const int *" } ] }, { - "name": "h3_cell_to_vertexes", - "file": "h3index_sets.h", + "name": "line_numpoints", + "file": "meos_geo.h", "returnType": { - "c": "Set *", - "canonical": "Set *" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "cell", - "cType": "H3Index", - "canonical": "unsigned long" + "name": "gs", + "cType": "const int *", + "canonical": "const int *" } ] }, { - "name": "h3_get_icosahedron_faces", - "file": "h3index_sets.h", + "name": "line_point_n", + "file": "meos_geo.h", "returnType": { - "c": "Set *", - "canonical": "Set *" + "c": "int *", + "canonical": "int *" }, "params": [ { - "name": "cell", - "cType": "H3Index", - "canonical": "unsigned long" + "name": "geom", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "n", + "cType": "int", + "canonical": "int" } ] }, { - "name": "ensure_valid_th3index_th3index", - "file": "th3index.h", + "name": "geo_reverse", + "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "int *", + "canonical": "int *" }, "params": [ { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "gs", + "cType": "const int *", + "canonical": "const int *" } ] }, { - "name": "ensure_valid_th3index_h3index", - "file": "th3index.h", + "name": "geo_round", + "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "int *", + "canonical": "int *" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "gs", + "cType": "const int *", + "canonical": "const int *" }, { - "name": "cell", - "cType": "H3Index", - "canonical": "unsigned long" + "name": "maxdd", + "cType": "int", + "canonical": "int" } ] }, { - "name": "ensure_valid_th3index_tgeogpoint", - "file": "th3index.h", + "name": "geo_set_srid", + "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "int *", + "canonical": "int *" }, "params": [ { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "gs", + "cType": "const int *", + "canonical": "const int *" }, { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "srid", + "cType": "int32_t", + "canonical": "int" } ] }, { - "name": "datum2_h3index_eq", - "file": "th3index.h", + "name": "geo_srid", + "file": "meos_geo.h", "returnType": { - "c": "int", + "c": "int32_t", "canonical": "int" }, "params": [ { - "name": "d1", - "cType": "int", - "canonical": "int" - }, - { - "name": "d2", - "cType": "int", - "canonical": "int" + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "geo_transform", + "file": "meos_geo.h", + "returnType": { + "c": "int *", + "canonical": "int *" + }, + "params": [ + { + "name": "geom", + "cType": "const int *", + "canonical": "const int *" }, { - "name": "type", - "cType": "int", + "name": "srid_to", + "cType": "int32_t", "canonical": "int" } ] }, { - "name": "datum2_h3index_ne", - "file": "th3index.h", + "name": "geo_transform_pipeline", + "file": "meos_geo.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "int *", + "canonical": "int *" }, "params": [ { - "name": "d1", - "cType": "int", - "canonical": "int" + "name": "gs", + "cType": "const int *", + "canonical": "const int *" }, { - "name": "d2", - "cType": "int", - "canonical": "int" + "name": "pipeline", + "cType": "char *", + "canonical": "char *" }, { - "name": "type", - "cType": "int", + "name": "srid_to", + "cType": "int32_t", "canonical": "int" + }, + { + "name": "is_forward", + "cType": "bool", + "canonical": "bool" } ] }, { - "name": "th3indexinst_set_stbox", - "file": "th3index_boxops.h", + "name": "geo_collect_garray", + "file": "meos_geo.h", "returnType": { - "c": "void", - "canonical": "void" + "c": "int *", + "canonical": "int *" }, "params": [ { - "name": "inst", - "cType": "const TInstant *", - "canonical": "const struct TInstant *" + "name": "gsarr", + "cType": "int **", + "canonical": "int **" }, { - "name": "box", - "cType": "STBox *", - "canonical": "struct STBox *" + "name": "count", + "cType": "int", + "canonical": "int" } ] }, { - "name": "th3indexinstarr_set_stbox", - "file": "th3index_boxops.h", + "name": "geo_makeline_garray", + "file": "meos_geo.h", "returnType": { - "c": "void", - "canonical": "void" + "c": "int *", + "canonical": "int *" }, "params": [ { - "name": "instants", - "cType": "TInstant **", - "canonical": "struct TInstant **" + "name": "gsarr", + "cType": "int **", + "canonical": "int **" }, { "name": "count", "cType": "int", "canonical": "int" - }, - { - "name": "box", - "cType": "STBox *", - "canonical": "struct STBox *" } ] }, { - "name": "th3indexseq_expand_stbox", - "file": "th3index_boxops.h", + "name": "geo_num_points", + "file": "meos_geo.h", "returnType": { - "c": "void", - "canonical": "void" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "seq", - "cType": "const TSequence *", - "canonical": "const struct TSequence *" - }, + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "geo_num_geos", + "file": "meos_geo.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ { - "name": "inst", - "cType": "const TInstant *", - "canonical": "const struct TInstant *" + "name": "gs", + "cType": "const int *", + "canonical": "const int *" } ] }, { - "name": "h3_gs_point_to_cell", - "file": "th3index_internal.h", + "name": "geo_geo_n", + "file": "meos_geo.h", "returnType": { - "c": "H3Index", - "canonical": "unsigned long" + "c": "int *", + "canonical": "int *" }, "params": [ { - "name": "point", + "name": "geom", "cType": "const int *", "canonical": "const int *" }, { - "name": "resolution", - "cType": "int32", + "name": "n", + "cType": "int", "canonical": "int" } ] }, { - "name": "h3_cell_to_gs_point", - "file": "th3index_internal.h", + "name": "geo_pointarr", + "file": "meos_geo.h", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "int **", + "canonical": "int **" }, "params": [ { - "name": "cell", - "cType": "H3Index", - "canonical": "unsigned long" + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" } ] }, { - "name": "h3_cell_to_gs_boundary", - "file": "th3index_internal.h", + "name": "geo_points", + "file": "meos_geo.h", "returnType": { "c": "int *", "canonical": "int *" }, "params": [ { - "name": "cell", - "cType": "H3Index", - "canonical": "unsigned long" + "name": "gs", + "cType": "const int *", + "canonical": "const int *" } ] }, { - "name": "cell_boundary_to_gs", - "file": "th3index_internal.h", + "name": "geom_array_union", + "file": "meos_geo.h", "returnType": { "c": "int *", "canonical": "int *" }, "params": [ { - "name": "bnd", - "cType": "const CellBoundary *", - "canonical": "const CellBoundary *" + "name": "gsarr", + "cType": "int **", + "canonical": "int **" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" } ] }, { - "name": "h3_sample_step_deg", - "file": "th3index_internal.h", + "name": "geom_boundary", + "file": "meos_geo.h", "returnType": { - "c": "double", - "canonical": "double" + "c": "int *", + "canonical": "int *" }, "params": [ { - "name": "resolution", - "cType": "int32", - "canonical": "int" + "name": "gs", + "cType": "const int *", + "canonical": "const int *" } ] }, { - "name": "h3_latlng_deg_to_cell", - "file": "th3index_internal.h", + "name": "geom_buffer", + "file": "meos_geo.h", "returnType": { - "c": "H3Index", - "canonical": "unsigned long" + "c": "int *", + "canonical": "int *" }, "params": [ { - "name": "lat_deg", - "cType": "double", - "canonical": "double" + "name": "gs", + "cType": "const int *", + "canonical": "const int *" }, { - "name": "lng_deg", + "name": "size", "cType": "double", "canonical": "double" }, { - "name": "resolution", - "cType": "int32", - "canonical": "int" + "name": "params", + "cType": "const char *", + "canonical": "const char *" } ] }, { - "name": "h3_cell_to_parent_next_meos", - "file": "th3index_internal.h", + "name": "geom_centroid", + "file": "meos_geo.h", "returnType": { - "c": "H3Index", - "canonical": "unsigned long" + "c": "int *", + "canonical": "int *" }, "params": [ { - "name": "cell", - "cType": "H3Index", - "canonical": "unsigned long" + "name": "gs", + "cType": "const int *", + "canonical": "const int *" } ] }, { - "name": "h3_cell_to_center_child_next_meos", - "file": "th3index_internal.h", + "name": "geom_convex_hull", + "file": "meos_geo.h", "returnType": { - "c": "H3Index", - "canonical": "unsigned long" + "c": "int *", + "canonical": "int *" }, "params": [ { - "name": "cell", - "cType": "H3Index", - "canonical": "unsigned long" + "name": "gs", + "cType": "const int *", + "canonical": "const int *" } ] }, { - "name": "h3_directed_edge_to_gs_boundary", - "file": "th3index_internal.h", + "name": "geom_difference2d", + "file": "meos_geo.h", "returnType": { "c": "int *", "canonical": "int *" }, "params": [ { - "name": "edge", - "cType": "H3Index", - "canonical": "unsigned long" + "name": "gs1", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "gs2", + "cType": "const int *", + "canonical": "const int *" } ] }, { - "name": "h3_vertex_to_gs_point", - "file": "th3index_internal.h", + "name": "geom_intersection2d", + "file": "meos_geo.h", "returnType": { "c": "int *", "canonical": "int *" }, "params": [ { - "name": "vertex", - "cType": "H3Index", - "canonical": "unsigned long" + "name": "gs1", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "gs2", + "cType": "const int *", + "canonical": "const int *" } ] }, { - "name": "h3_cell_to_local_ij_meos", - "file": "th3index_internal.h", + "name": "geom_intersection2d_coll", + "file": "meos_geo.h", "returnType": { "c": "int *", "canonical": "int *" }, "params": [ { - "name": "origin", - "cType": "H3Index", - "canonical": "unsigned long" + "name": "gs1", + "cType": "const int *", + "canonical": "const int *" }, { - "name": "cell", - "cType": "H3Index", - "canonical": "unsigned long" + "name": "gs2", + "cType": "const int *", + "canonical": "const int *" } ] }, { - "name": "h3_local_ij_to_cell_meos", - "file": "th3index_internal.h", + "name": "geom_min_bounding_radius", + "file": "meos_geo.h", "returnType": { - "c": "H3Index", - "canonical": "unsigned long" + "c": "MinBoundingCircle", + "canonical": "struct MinBoundingCircle" }, "params": [ { - "name": "origin", - "cType": "H3Index", - "canonical": "unsigned long" - }, - { - "name": "coord", + "name": "geom", "cType": "const int *", "canonical": "const int *" } ] }, { - "name": "h3_unit_from_cstring", - "file": "th3index_internal.h", + "name": "geom_shortestline2d", + "file": "meos_geo.h", "returnType": { - "c": "H3Unit", - "canonical": "H3Unit" + "c": "int *", + "canonical": "int *" }, "params": [ { - "name": "unit", - "cType": "const char *", - "canonical": "const char *" + "name": "gs1", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "s2", + "cType": "const int *", + "canonical": "const int *" } ] }, { - "name": "h3_cell_area_meos", - "file": "th3index_internal.h", + "name": "geom_shortestline3d", + "file": "meos_geo.h", "returnType": { - "c": "double", - "canonical": "double" + "c": "int *", + "canonical": "int *" }, "params": [ { - "name": "cell", - "cType": "H3Index", - "canonical": "unsigned long" + "name": "gs1", + "cType": "const int *", + "canonical": "const int *" }, { - "name": "unit", - "cType": "H3Unit", - "canonical": "H3Unit" + "name": "s2", + "cType": "const int *", + "canonical": "const int *" } ] }, { - "name": "h3_edge_length_meos", - "file": "th3index_internal.h", + "name": "geom_unary_union", + "file": "meos_geo.h", "returnType": { - "c": "double", - "canonical": "double" + "c": "int *", + "canonical": "int *" }, "params": [ { - "name": "edge", - "cType": "H3Index", - "canonical": "unsigned long" + "name": "gs", + "cType": "const int *", + "canonical": "const int *" }, { - "name": "unit", - "cType": "H3Unit", - "canonical": "H3Unit" + "name": "prec", + "cType": "double", + "canonical": "double" } ] }, { - "name": "h3_gs_great_circle_distance_meos", - "file": "th3index_internal.h", + "name": "line_interpolate_point", + "file": "meos_geo.h", "returnType": { - "c": "double", - "canonical": "double" + "c": "int *", + "canonical": "int *" }, "params": [ { - "name": "a", + "name": "gs", "cType": "const int *", "canonical": "const int *" }, { - "name": "b", - "cType": "const int *", - "canonical": "const int *" + "name": "distance_fraction", + "cType": "double", + "canonical": "double" }, { - "name": "unit", - "cType": "H3Unit", - "canonical": "H3Unit" + "name": "repeat", + "cType": "bool", + "canonical": "bool" } ] }, { - "name": "datum_h3_get_resolution", - "file": "th3index_internal.h", + "name": "line_locate_point", + "file": "meos_geo.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "double", + "canonical": "double" }, "params": [ { - "name": "d", - "cType": "int", - "canonical": "int" + "name": "gs1", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "gs2", + "cType": "const int *", + "canonical": "const int *" } ] }, { - "name": "datum_h3_get_base_cell_number", - "file": "th3index_internal.h", + "name": "line_substring", + "file": "meos_geo.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "int *", + "canonical": "int *" }, "params": [ { - "name": "d", - "cType": "int", - "canonical": "int" + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "from", + "cType": "double", + "canonical": "double" + }, + { + "name": "to", + "cType": "double", + "canonical": "double" } ] }, { - "name": "datum_h3_is_valid_cell", - "file": "th3index_internal.h", + "name": "geog_dwithin", + "file": "meos_geo.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "d", - "cType": "int", - "canonical": "int" + "name": "g1", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "g2", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "tolerance", + "cType": "double", + "canonical": "double" + }, + { + "name": "use_spheroid", + "cType": "bool", + "canonical": "bool" } ] }, { - "name": "datum_h3_is_res_class_iii", - "file": "th3index_internal.h", + "name": "geog_intersects", + "file": "meos_geo.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "d", - "cType": "int", - "canonical": "int" + "name": "gs1", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "gs2", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "use_spheroid", + "cType": "bool", + "canonical": "bool" } ] }, { - "name": "datum_h3_is_pentagon", - "file": "th3index_internal.h", + "name": "geom_contains", + "file": "meos_geo.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "d", - "cType": "int", - "canonical": "int" + "name": "gs1", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "gs2", + "cType": "const int *", + "canonical": "const int *" } ] }, { - "name": "datum_h3_cell_to_parent", - "file": "th3index_internal.h", + "name": "geom_covers", + "file": "meos_geo.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "cell_d", - "cType": "int", - "canonical": "int" + "name": "gs1", + "cType": "const int *", + "canonical": "const int *" }, { - "name": "res_d", - "cType": "int", - "canonical": "int" + "name": "gs2", + "cType": "const int *", + "canonical": "const int *" } ] }, { - "name": "datum_h3_cell_to_parent_next", - "file": "th3index_internal.h", + "name": "geom_disjoint2d", + "file": "meos_geo.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "cell_d", - "cType": "int", - "canonical": "int" + "name": "gs1", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "gs2", + "cType": "const int *", + "canonical": "const int *" } ] }, { - "name": "datum_h3_cell_to_center_child", - "file": "th3index_internal.h", + "name": "geom_dwithin2d", + "file": "meos_geo.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "cell_d", - "cType": "int", - "canonical": "int" + "name": "gs1", + "cType": "const int *", + "canonical": "const int *" }, { - "name": "res_d", - "cType": "int", - "canonical": "int" + "name": "gs2", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "tolerance", + "cType": "double", + "canonical": "double" } ] }, { - "name": "datum_h3_cell_to_center_child_next", - "file": "th3index_internal.h", + "name": "geom_dwithin3d", + "file": "meos_geo.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "cell_d", - "cType": "int", - "canonical": "int" + "name": "gs1", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "gs2", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "tolerance", + "cType": "double", + "canonical": "double" } ] }, { - "name": "datum_h3_cell_to_child_pos", - "file": "th3index_internal.h", + "name": "geom_intersects2d", + "file": "meos_geo.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "cell_d", - "cType": "int", - "canonical": "int" + "name": "gs1", + "cType": "const int *", + "canonical": "const int *" }, { - "name": "parent_res_d", - "cType": "int", - "canonical": "int" + "name": "gs2", + "cType": "const int *", + "canonical": "const int *" } ] }, { - "name": "datum_h3_child_pos_to_cell", - "file": "th3index_internal.h", + "name": "geom_intersects3d", + "file": "meos_geo.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "pos_d", - "cType": "int", - "canonical": "int" - }, - { - "name": "parent_d", - "cType": "int", - "canonical": "int" + "name": "gs1", + "cType": "const int *", + "canonical": "const int *" }, { - "name": "child_res_d", - "cType": "int", - "canonical": "int" + "name": "gs2", + "cType": "const int *", + "canonical": "const int *" } ] }, { - "name": "datum_h3_are_neighbor_cells", - "file": "th3index_internal.h", + "name": "geom_relate_pattern", + "file": "meos_geo.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "origin_d", - "cType": "int", - "canonical": "int" + "name": "gs1", + "cType": "const int *", + "canonical": "const int *" }, { - "name": "dest_d", - "cType": "int", - "canonical": "int" + "name": "gs2", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "patt", + "cType": "char *", + "canonical": "char *" } ] }, { - "name": "datum_h3_cells_to_directed_edge", - "file": "th3index_internal.h", + "name": "geom_touches", + "file": "meos_geo.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "origin_d", - "cType": "int", - "canonical": "int" + "name": "gs1", + "cType": "const int *", + "canonical": "const int *" }, { - "name": "dest_d", - "cType": "int", - "canonical": "int" + "name": "gs2", + "cType": "const int *", + "canonical": "const int *" } ] }, { - "name": "datum_h3_is_valid_directed_edge", - "file": "th3index_internal.h", + "name": "geo_stboxes", + "file": "meos_geo.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "STBox *", + "canonical": "struct STBox *" }, "params": [ { - "name": "d", - "cType": "int", - "canonical": "int" + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" } ] }, { - "name": "datum_h3_get_directed_edge_origin", - "file": "th3index_internal.h", + "name": "geo_split_each_n_stboxes", + "file": "meos_geo.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "STBox *", + "canonical": "struct STBox *" }, "params": [ { - "name": "d", + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "elem_count", "cType": "int", "canonical": "int" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" } ] }, { - "name": "datum_h3_get_directed_edge_destination", - "file": "th3index_internal.h", + "name": "geo_split_n_stboxes", + "file": "meos_geo.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "STBox *", + "canonical": "struct STBox *" }, "params": [ { - "name": "d", + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "box_count", "cType": "int", "canonical": "int" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" } ] }, { - "name": "datum_h3_directed_edge_to_boundary", - "file": "th3index_internal.h", + "name": "geog_distance", + "file": "meos_geo.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "double", + "canonical": "double" }, "params": [ { - "name": "d", - "cType": "int", - "canonical": "int" + "name": "g1", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "g2", + "cType": "const int *", + "canonical": "const int *" } ] }, { - "name": "datum_h3_cell_to_vertex", - "file": "th3index_internal.h", + "name": "geom_distance2d", + "file": "meos_geo.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "double", + "canonical": "double" }, "params": [ { - "name": "cell_d", - "cType": "int", - "canonical": "int" + "name": "gs1", + "cType": "const int *", + "canonical": "const int *" }, { - "name": "vnum_d", - "cType": "int", - "canonical": "int" + "name": "gs2", + "cType": "const int *", + "canonical": "const int *" } ] }, { - "name": "datum_h3_vertex_to_latlng", - "file": "th3index_internal.h", + "name": "geom_distance3d", + "file": "meos_geo.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "double", + "canonical": "double" }, "params": [ { - "name": "d", - "cType": "int", - "canonical": "int" + "name": "gs1", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "gs2", + "cType": "const int *", + "canonical": "const int *" } ] }, { - "name": "datum_h3_is_valid_vertex", - "file": "th3index_internal.h", + "name": "geo_equals", + "file": "meos_geo.h", "returnType": { "c": "int", "canonical": "int" }, "params": [ { - "name": "d", - "cType": "int", - "canonical": "int" + "name": "gs1", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "gs2", + "cType": "const int *", + "canonical": "const int *" } ] }, { - "name": "datum_h3_grid_distance", - "file": "th3index_internal.h", + "name": "geo_same", + "file": "meos_geo.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "origin_d", - "cType": "int", - "canonical": "int" + "name": "gs1", + "cType": "const int *", + "canonical": "const int *" }, { - "name": "dest_d", - "cType": "int", - "canonical": "int" + "name": "gs2", + "cType": "const int *", + "canonical": "const int *" } ] }, { - "name": "datum_h3_cell_to_local_ij", - "file": "th3index_internal.h", + "name": "geogset_in", + "file": "meos_geo.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "Set *", + "canonical": "Set *" }, "params": [ { - "name": "origin_d", - "cType": "int", - "canonical": "int" - }, + "name": "str", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "geomset_in", + "file": "meos_geo.h", + "returnType": { + "c": "Set *", + "canonical": "Set *" + }, + "params": [ { - "name": "cell_d", - "cType": "int", - "canonical": "int" + "name": "str", + "cType": "const char *", + "canonical": "const char *" } ] }, { - "name": "datum_h3_local_ij_to_cell", - "file": "th3index_internal.h", + "name": "spatialset_as_text", + "file": "meos_geo.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "char *", + "canonical": "char *" }, "params": [ { - "name": "origin_d", - "cType": "int", - "canonical": "int" + "name": "set", + "cType": "const Set *", + "canonical": "const Set *" }, { - "name": "coord_d", + "name": "maxdd", "cType": "int", "canonical": "int" } ] }, { - "name": "datum_h3_latlng_to_cell", - "file": "th3index_internal.h", + "name": "spatialset_as_ewkt", + "file": "meos_geo.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "char *", + "canonical": "char *" }, "params": [ { - "name": "point_d", - "cType": "int", - "canonical": "int" + "name": "set", + "cType": "const Set *", + "canonical": "const Set *" }, { - "name": "res_d", + "name": "maxdd", "cType": "int", "canonical": "int" } ] }, { - "name": "datum_h3_cell_to_latlng", - "file": "th3index_internal.h", + "name": "geoset_make", + "file": "meos_geo.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "Set *", + "canonical": "Set *" }, "params": [ { - "name": "d", + "name": "values", + "cType": "int **", + "canonical": "int **" + }, + { + "name": "count", "cType": "int", "canonical": "int" } ] }, { - "name": "datum_h3_cell_to_boundary", - "file": "th3index_internal.h", + "name": "geo_to_set", + "file": "meos_geo.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "Set *", + "canonical": "Set *" }, "params": [ { - "name": "d", - "cType": "int", - "canonical": "int" + "name": "gs", + "cType": "const int *", + "canonical": "const int *" } ] }, { - "name": "datum_h3_cell_area", - "file": "th3index_internal.h", + "name": "geoset_end_value", + "file": "meos_geo.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "int *", + "canonical": "int *" }, "params": [ { - "name": "cell_d", - "cType": "int", - "canonical": "int" - }, - { - "name": "unit_d", - "cType": "int", - "canonical": "int" + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" } ] }, { - "name": "datum_h3_edge_length", - "file": "th3index_internal.h", + "name": "geoset_start_value", + "file": "meos_geo.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "int *", + "canonical": "int *" }, "params": [ { - "name": "edge_d", - "cType": "int", - "canonical": "int" - }, - { - "name": "unit_d", - "cType": "int", - "canonical": "int" + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" } ] }, { - "name": "datum_h3_great_circle_distance", - "file": "th3index_internal.h", + "name": "geoset_value_n", + "file": "meos_geo.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "a_d", - "cType": "int", - "canonical": "int" + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" }, { - "name": "b_d", + "name": "n", "cType": "int", "canonical": "int" }, { - "name": "unit_d", - "cType": "int", - "canonical": "int" + "name": "result", + "cType": "int **", + "canonical": "int **" } ] }, { - "name": "geo_as_ewkb", + "name": "geoset_values", "file": "meos_geo.h", "returnType": { - "c": "uint8_t *", - "canonical": "unsigned char *" + "c": "int **", + "canonical": "int **" }, "params": [ { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" - }, - { - "name": "endian", - "cType": "const char *", - "canonical": "const char *" + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" }, { - "name": "size", - "cType": "size_t *", - "canonical": "unsigned long *" + "name": "count", + "cType": "int *", + "canonical": "int *" } ] }, { - "name": "geo_as_ewkt", + "name": "contained_geo_set", "file": "meos_geo.h", "returnType": { - "c": "char *", - "canonical": "char *" + "c": "bool", + "canonical": "bool" }, "params": [ { @@ -28171,68 +29040,58 @@ "canonical": "const int *" }, { - "name": "precision", - "cType": "int", - "canonical": "int" + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" } ] }, { - "name": "geo_as_geojson", + "name": "contains_set_geo", "file": "meos_geo.h", "returnType": { - "c": "char *", - "canonical": "char *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" - }, - { - "name": "option", - "cType": "int", - "canonical": "int" - }, - { - "name": "precision", - "cType": "int", - "canonical": "int" + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" }, { - "name": "srs", - "cType": "const char *", - "canonical": "const char *" + "name": "gs", + "cType": "int *", + "canonical": "int *" } ] }, { - "name": "geo_as_hexewkb", + "name": "geo_union_transfn", "file": "meos_geo.h", "returnType": { - "c": "char *", - "canonical": "char *" + "c": "Set *", + "canonical": "Set *" }, "params": [ + { + "name": "state", + "cType": "Set *", + "canonical": "Set *" + }, { "name": "gs", "cType": "const int *", "canonical": "const int *" - }, - { - "name": "endian", - "cType": "const char *", - "canonical": "const char *" } ] }, { - "name": "geo_as_text", + "name": "intersection_geo_set", "file": "meos_geo.h", "returnType": { - "c": "char *", - "canonical": "char *" + "c": "Set *", + "canonical": "Set *" }, "params": [ { @@ -28241,219 +29100,199 @@ "canonical": "const int *" }, { - "name": "precision", - "cType": "int", - "canonical": "int" + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" } ] }, { - "name": "geo_from_ewkb", + "name": "intersection_set_geo", "file": "meos_geo.h", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "Set *", + "canonical": "Set *" }, "params": [ { - "name": "wkb", - "cType": "const uint8_t *", - "canonical": "const unsigned char *" - }, - { - "name": "wkb_size", - "cType": "size_t", - "canonical": "unsigned long" + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" }, { - "name": "srid", - "cType": "int32", - "canonical": "int" + "name": "gs", + "cType": "const int *", + "canonical": "const int *" } ] }, { - "name": "geo_from_geojson", + "name": "minus_geo_set", "file": "meos_geo.h", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "Set *", + "canonical": "Set *" }, "params": [ { - "name": "geojson", - "cType": "const char *", - "canonical": "const char *" + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" } ] }, { - "name": "geo_from_text", + "name": "minus_set_geo", "file": "meos_geo.h", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "Set *", + "canonical": "Set *" }, "params": [ { - "name": "wkt", - "cType": "const char *", - "canonical": "const char *" + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" }, { - "name": "srid", - "cType": "int32_t", - "canonical": "int" + "name": "gs", + "cType": "const int *", + "canonical": "const int *" } ] }, { - "name": "geo_out", + "name": "union_geo_set", "file": "meos_geo.h", "returnType": { - "c": "char *", - "canonical": "char *" + "c": "Set *", + "canonical": "Set *" }, "params": [ { "name": "gs", "cType": "const int *", "canonical": "const int *" - } - ] - }, - { - "name": "geog_from_binary", - "file": "meos_geo.h", - "returnType": { - "c": "int *", - "canonical": "int *" - }, - "params": [ + }, { - "name": "wkb_bytea", - "cType": "const char *", - "canonical": "const char *" + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" } ] }, { - "name": "geog_from_hexewkb", + "name": "union_set_geo", "file": "meos_geo.h", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "Set *", + "canonical": "Set *" }, "params": [ { - "name": "wkt", - "cType": "const char *", - "canonical": "const char *" + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + }, + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" } ] }, { - "name": "geog_in", + "name": "spatialset_set_srid", "file": "meos_geo.h", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "Set *", + "canonical": "Set *" }, "params": [ { - "name": "str", - "cType": "const char *", - "canonical": "const char *" + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" }, { - "name": "typmod", - "cType": "int32", + "name": "srid", + "cType": "int32_t", "canonical": "int" } ] }, { - "name": "geom_from_hexewkb", + "name": "spatialset_srid", "file": "meos_geo.h", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "int32_t", + "canonical": "int" }, "params": [ { - "name": "wkt", - "cType": "const char *", - "canonical": "const char *" + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" } ] }, { - "name": "geom_in", + "name": "spatialset_transform", "file": "meos_geo.h", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "Set *", + "canonical": "Set *" }, "params": [ { - "name": "str", - "cType": "const char *", - "canonical": "const char *" + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" }, { - "name": "typmod", - "cType": "int32", + "name": "srid", + "cType": "int32_t", "canonical": "int" } ] }, { - "name": "box3d_make", + "name": "spatialset_transform_pipeline", "file": "meos_geo.h", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "Set *", + "canonical": "Set *" }, "params": [ { - "name": "xmin", - "cType": "double", - "canonical": "double" - }, - { - "name": "xmax", - "cType": "double", - "canonical": "double" - }, - { - "name": "ymin", - "cType": "double", - "canonical": "double" - }, - { - "name": "ymax", - "cType": "double", - "canonical": "double" - }, - { - "name": "zmin", - "cType": "double", - "canonical": "double" + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" }, { - "name": "zmax", - "cType": "double", - "canonical": "double" + "name": "pipelinestr", + "cType": "const char *", + "canonical": "const char *" }, { "name": "srid", "cType": "int32_t", "canonical": "int" + }, + { + "name": "is_forward", + "cType": "bool", + "canonical": "bool" } ] }, { - "name": "box3d_out", + "name": "stbox_as_hexwkb", "file": "meos_geo.h", "returnType": { "c": "char *", @@ -28462,63 +29301,98 @@ "params": [ { "name": "box", - "cType": "const int *", - "canonical": "const int *" + "cType": "const STBox *", + "canonical": "const struct STBox *" }, { - "name": "maxdd", - "cType": "int", - "canonical": "int" + "name": "variant", + "cType": "uint8_t", + "canonical": "unsigned char" + }, + { + "name": "size", + "cType": "size_t *", + "canonical": "unsigned long *" } ] }, { - "name": "gbox_make", + "name": "stbox_as_wkb", "file": "meos_geo.h", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "uint8_t *", + "canonical": "unsigned char *" }, "params": [ { - "name": "hasz", - "cType": "bool", - "canonical": "bool" + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" }, { - "name": "xmin", - "cType": "double", - "canonical": "double" + "name": "variant", + "cType": "uint8_t", + "canonical": "unsigned char" }, { - "name": "xmax", - "cType": "double", - "canonical": "double" - }, + "name": "size_out", + "cType": "size_t *", + "canonical": "unsigned long *" + } + ] + }, + { + "name": "stbox_from_hexwkb", + "file": "meos_geo.h", + "returnType": { + "c": "STBox *", + "canonical": "struct STBox *" + }, + "params": [ { - "name": "ymin", - "cType": "double", - "canonical": "double" - }, + "name": "hexwkb", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "stbox_from_wkb", + "file": "meos_geo.h", + "returnType": { + "c": "STBox *", + "canonical": "struct STBox *" + }, + "params": [ { - "name": "ymax", - "cType": "double", - "canonical": "double" + "name": "wkb", + "cType": "const uint8_t *", + "canonical": "const unsigned char *" }, { - "name": "zmin", - "cType": "double", - "canonical": "double" - }, + "name": "size", + "cType": "size_t", + "canonical": "unsigned long" + } + ] + }, + { + "name": "stbox_in", + "file": "meos_geo.h", + "returnType": { + "c": "STBox *", + "canonical": "struct STBox *" + }, + "params": [ { - "name": "zmax", - "cType": "double", - "canonical": "double" + "name": "str", + "cType": "const char *", + "canonical": "const char *" } ] }, { - "name": "gbox_out", + "name": "stbox_out", "file": "meos_geo.h", "returnType": { "c": "char *", @@ -28527,8 +29401,8 @@ "params": [ { "name": "box", - "cType": "const int *", - "canonical": "const int *" + "cType": "const STBox *", + "canonical": "const struct STBox *" }, { "name": "maxdd", @@ -28538,312 +29412,277 @@ ] }, { - "name": "geo_copy", + "name": "geo_timestamptz_to_stbox", "file": "meos_geo.h", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "STBox *", + "canonical": "struct STBox *" }, "params": [ { - "name": "g", + "name": "gs", "cType": "const int *", "canonical": "const int *" + }, + { + "name": "t", + "cType": "TimestampTz", + "canonical": "long" } ] }, { - "name": "geogpoint_make2d", + "name": "geo_tstzspan_to_stbox", "file": "meos_geo.h", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "STBox *", + "canonical": "struct STBox *" }, "params": [ { - "name": "srid", - "cType": "int32_t", - "canonical": "int" - }, - { - "name": "x", - "cType": "double", - "canonical": "double" + "name": "gs", + "cType": "const int *", + "canonical": "const int *" }, { - "name": "y", - "cType": "double", - "canonical": "double" + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" } ] }, { - "name": "geogpoint_make3dz", + "name": "stbox_copy", "file": "meos_geo.h", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "STBox *", + "canonical": "struct STBox *" }, "params": [ { - "name": "srid", - "cType": "int32_t", - "canonical": "int" - }, - { - "name": "x", - "cType": "double", - "canonical": "double" - }, - { - "name": "y", - "cType": "double", - "canonical": "double" - }, - { - "name": "z", - "cType": "double", - "canonical": "double" + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" } ] }, { - "name": "geompoint_make2d", + "name": "stbox_make", "file": "meos_geo.h", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "STBox *", + "canonical": "struct STBox *" }, "params": [ + { + "name": "hasx", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "hasz", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "geodetic", + "cType": "bool", + "canonical": "bool" + }, { "name": "srid", - "cType": "int32_t", + "cType": "int32", "canonical": "int" }, { - "name": "x", + "name": "xmin", "cType": "double", "canonical": "double" }, { - "name": "y", + "name": "xmax", "cType": "double", "canonical": "double" - } - ] - }, - { - "name": "geompoint_make3dz", - "file": "meos_geo.h", - "returnType": { - "c": "int *", - "canonical": "int *" - }, - "params": [ + }, { - "name": "srid", - "cType": "int32_t", - "canonical": "int" + "name": "ymin", + "cType": "double", + "canonical": "double" }, { - "name": "x", + "name": "ymax", "cType": "double", "canonical": "double" }, { - "name": "y", + "name": "zmin", "cType": "double", "canonical": "double" }, { - "name": "z", + "name": "zmax", "cType": "double", "canonical": "double" + }, + { + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" } ] }, { - "name": "geom_to_geog", + "name": "geo_to_stbox", "file": "meos_geo.h", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "STBox *", + "canonical": "struct STBox *" }, "params": [ { - "name": "geom", + "name": "gs", "cType": "const int *", "canonical": "const int *" } ] }, { - "name": "geog_to_geom", + "name": "spatialset_to_stbox", "file": "meos_geo.h", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "STBox *", + "canonical": "struct STBox *" }, "params": [ { - "name": "geog", - "cType": "const int *", - "canonical": "const int *" + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" } ] }, { - "name": "geo_is_empty", + "name": "stbox_to_box3d", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "int *", + "canonical": "int *" }, "params": [ { - "name": "g", - "cType": "const int *", - "canonical": "const int *" + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" } ] }, { - "name": "geo_is_unitary", + "name": "stbox_to_gbox", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "int *", + "canonical": "int *" }, "params": [ { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" } ] }, { - "name": "geo_typename", + "name": "stbox_to_geo", "file": "meos_geo.h", "returnType": { - "c": "const char *", - "canonical": "const char *" + "c": "int *", + "canonical": "int *" }, "params": [ { - "name": "type", - "cType": "int", - "canonical": "int" + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" } ] }, { - "name": "geog_area", + "name": "stbox_to_tstzspan", "file": "meos_geo.h", "returnType": { - "c": "double", - "canonical": "double" + "c": "Span *", + "canonical": "struct Span *" }, "params": [ { - "name": "g", - "cType": "const int *", - "canonical": "const int *" - }, - { - "name": "use_spheroid", - "cType": "bool", - "canonical": "bool" + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" } ] }, { - "name": "geog_centroid", + "name": "timestamptz_to_stbox", "file": "meos_geo.h", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "STBox *", + "canonical": "struct STBox *" }, "params": [ { - "name": "g", - "cType": "const int *", - "canonical": "const int *" - }, - { - "name": "use_spheroid", - "cType": "bool", - "canonical": "bool" + "name": "t", + "cType": "TimestampTz", + "canonical": "long" } ] }, { - "name": "geog_length", + "name": "tstzset_to_stbox", "file": "meos_geo.h", "returnType": { - "c": "double", - "canonical": "double" + "c": "STBox *", + "canonical": "struct STBox *" }, "params": [ { - "name": "g", - "cType": "const int *", - "canonical": "const int *" - }, - { - "name": "use_spheroid", - "cType": "bool", - "canonical": "bool" + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" } ] }, { - "name": "geog_perimeter", + "name": "tstzspan_to_stbox", "file": "meos_geo.h", "returnType": { - "c": "double", - "canonical": "double" + "c": "STBox *", + "canonical": "struct STBox *" }, "params": [ { - "name": "g", - "cType": "const int *", - "canonical": "const int *" - }, - { - "name": "use_spheroid", - "cType": "bool", - "canonical": "bool" + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" } ] }, { - "name": "geom_azimuth", + "name": "tstzspanset_to_stbox", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "STBox *", + "canonical": "struct STBox *" }, "params": [ { - "name": "gs1", - "cType": "const int *", - "canonical": "const int *" - }, - { - "name": "gs2", - "cType": "const int *", - "canonical": "const int *" - }, - { - "name": "result", - "cType": "double *", - "canonical": "double *" + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" } ] }, { - "name": "geom_length", + "name": "stbox_area", "file": "meos_geo.h", "returnType": { "c": "double", @@ -28851,609 +29690,619 @@ }, "params": [ { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" + }, + { + "name": "spheroid", + "cType": "bool", + "canonical": "bool" } ] }, { - "name": "geom_perimeter", + "name": "stbox_hash", "file": "meos_geo.h", "returnType": { - "c": "double", - "canonical": "double" + "c": "uint32", + "canonical": "unsigned int" }, "params": [ { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" } ] }, { - "name": "line_numpoints", + "name": "stbox_hash_extended", "file": "meos_geo.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "uint64", + "canonical": "unsigned long" }, "params": [ { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" + }, + { + "name": "seed", + "cType": "uint64", + "canonical": "unsigned long" } ] }, { - "name": "line_point_n", + "name": "stbox_hast", "file": "meos_geo.h", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "geom", - "cType": "const int *", - "canonical": "const int *" - }, - { - "name": "n", - "cType": "int", - "canonical": "int" + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" } ] }, { - "name": "geo_reverse", + "name": "stbox_hasx", "file": "meos_geo.h", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" } ] }, { - "name": "geo_round", + "name": "stbox_hasz", "file": "meos_geo.h", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" - }, - { - "name": "maxdd", - "cType": "int", - "canonical": "int" + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" } ] }, { - "name": "geo_set_srid", + "name": "stbox_isgeodetic", "file": "meos_geo.h", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" - }, - { - "name": "srid", - "cType": "int32_t", - "canonical": "int" + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" } ] }, { - "name": "geo_srid", + "name": "stbox_perimeter", "file": "meos_geo.h", "returnType": { - "c": "int32_t", - "canonical": "int" + "c": "double", + "canonical": "double" }, "params": [ { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" + }, + { + "name": "spheroid", + "cType": "bool", + "canonical": "bool" } ] }, { - "name": "geo_transform", + "name": "stbox_tmax", "file": "meos_geo.h", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "geom", - "cType": "const int *", - "canonical": "const int *" + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" }, { - "name": "srid_to", - "cType": "int32_t", - "canonical": "int" + "name": "result", + "cType": "TimestampTz *", + "canonical": "long *" } ] }, { - "name": "geo_transform_pipeline", + "name": "stbox_tmax_inc", "file": "meos_geo.h", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" - }, - { - "name": "pipeline", - "cType": "char *", - "canonical": "char *" - }, - { - "name": "srid_to", - "cType": "int32_t", - "canonical": "int" + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" }, { - "name": "is_forward", - "cType": "bool", - "canonical": "bool" + "name": "result", + "cType": "bool *", + "canonical": "_Bool *" } ] }, { - "name": "geo_collect_garray", + "name": "stbox_tmin", "file": "meos_geo.h", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "gsarr", - "cType": "int **", - "canonical": "int **" + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" }, { - "name": "count", - "cType": "int", - "canonical": "int" + "name": "result", + "cType": "TimestampTz *", + "canonical": "long *" } ] }, { - "name": "geo_makeline_garray", + "name": "stbox_tmin_inc", "file": "meos_geo.h", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "gsarr", - "cType": "int **", - "canonical": "int **" + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" }, { - "name": "count", - "cType": "int", - "canonical": "int" + "name": "result", + "cType": "bool *", + "canonical": "_Bool *" } ] }, { - "name": "geo_num_points", + "name": "stbox_volume", "file": "meos_geo.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "double", + "canonical": "double" }, "params": [ { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" } ] }, { - "name": "geo_num_geos", + "name": "stbox_xmax", "file": "meos_geo.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" + }, + { + "name": "result", + "cType": "double *", + "canonical": "double *" } ] }, { - "name": "geo_geo_n", + "name": "stbox_xmin", "file": "meos_geo.h", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "geom", - "cType": "const int *", - "canonical": "const int *" + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" }, { - "name": "n", - "cType": "int", - "canonical": "int" + "name": "result", + "cType": "double *", + "canonical": "double *" } ] }, { - "name": "geo_pointarr", + "name": "stbox_ymax", "file": "meos_geo.h", "returnType": { - "c": "int **", - "canonical": "int **" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" }, { - "name": "count", - "cType": "int *", - "canonical": "int *" + "name": "result", + "cType": "double *", + "canonical": "double *" } ] }, { - "name": "geo_points", + "name": "stbox_ymin", "file": "meos_geo.h", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" + }, + { + "name": "result", + "cType": "double *", + "canonical": "double *" } ] }, { - "name": "geom_array_union", + "name": "stbox_zmax", "file": "meos_geo.h", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "gsarr", - "cType": "int **", - "canonical": "int **" + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" }, { - "name": "count", - "cType": "int", - "canonical": "int" + "name": "result", + "cType": "double *", + "canonical": "double *" } ] }, { - "name": "geom_boundary", + "name": "stbox_zmin", "file": "meos_geo.h", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" + }, + { + "name": "result", + "cType": "double *", + "canonical": "double *" } ] }, { - "name": "geom_buffer", + "name": "stbox_expand_space", "file": "meos_geo.h", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "STBox *", + "canonical": "struct STBox *" }, "params": [ { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" }, { - "name": "size", + "name": "d", "cType": "double", "canonical": "double" - }, - { - "name": "params", - "cType": "const char *", - "canonical": "const char *" } ] }, { - "name": "geom_centroid", + "name": "stbox_expand_time", "file": "meos_geo.h", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "STBox *", + "canonical": "struct STBox *" }, "params": [ { - "name": "gs", + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" + }, + { + "name": "interv", "cType": "const int *", "canonical": "const int *" } ] }, { - "name": "geom_convex_hull", + "name": "stbox_get_space", "file": "meos_geo.h", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "STBox *", + "canonical": "struct STBox *" }, "params": [ { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" } ] }, { - "name": "geom_difference2d", + "name": "stbox_quad_split", "file": "meos_geo.h", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "STBox *", + "canonical": "struct STBox *" }, "params": [ { - "name": "gs1", - "cType": "const int *", - "canonical": "const int *" + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" }, { - "name": "gs2", - "cType": "const int *", - "canonical": "const int *" + "name": "count", + "cType": "int *", + "canonical": "int *" } ] }, { - "name": "geom_intersection2d", + "name": "stbox_round", "file": "meos_geo.h", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "STBox *", + "canonical": "struct STBox *" }, "params": [ { - "name": "gs1", - "cType": "const int *", - "canonical": "const int *" + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" }, { - "name": "gs2", - "cType": "const int *", - "canonical": "const int *" + "name": "maxdd", + "cType": "int", + "canonical": "int" } ] }, { - "name": "geom_intersection2d_coll", + "name": "stbox_shift_scale_time", "file": "meos_geo.h", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "STBox *", + "canonical": "struct STBox *" }, "params": [ { - "name": "gs1", + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" + }, + { + "name": "shift", "cType": "const int *", "canonical": "const int *" }, { - "name": "gs2", + "name": "duration", "cType": "const int *", "canonical": "const int *" } ] }, { - "name": "geom_min_bounding_radius", + "name": "stboxarr_round", "file": "meos_geo.h", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "STBox *", + "canonical": "struct STBox *" }, "params": [ { - "name": "geom", - "cType": "const int *", - "canonical": "const int *" + "name": "boxarr", + "cType": "const STBox *", + "canonical": "const struct STBox *" }, { - "name": "radius", - "cType": "double *", - "canonical": "double *" + "name": "count", + "cType": "int", + "canonical": "int" + }, + { + "name": "maxdd", + "cType": "int", + "canonical": "int" } ] }, { - "name": "geom_shortestline2d", + "name": "stbox_set_srid", "file": "meos_geo.h", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "STBox *", + "canonical": "struct STBox *" }, "params": [ { - "name": "gs1", - "cType": "const int *", - "canonical": "const int *" + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" }, { - "name": "s2", - "cType": "const int *", - "canonical": "const int *" + "name": "srid", + "cType": "int32_t", + "canonical": "int" } ] }, { - "name": "geom_shortestline3d", + "name": "stbox_srid", "file": "meos_geo.h", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "int32_t", + "canonical": "int" }, "params": [ { - "name": "gs1", - "cType": "const int *", - "canonical": "const int *" - }, - { - "name": "s2", - "cType": "const int *", - "canonical": "const int *" + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" } ] }, { - "name": "geom_unary_union", + "name": "stbox_transform", "file": "meos_geo.h", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "STBox *", + "canonical": "struct STBox *" }, "params": [ { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" }, { - "name": "prec", - "cType": "double", - "canonical": "double" + "name": "srid", + "cType": "int32_t", + "canonical": "int" } ] }, { - "name": "line_interpolate_point", + "name": "stbox_transform_pipeline", "file": "meos_geo.h", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "STBox *", + "canonical": "struct STBox *" }, "params": [ { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" }, { - "name": "distance_fraction", - "cType": "double", - "canonical": "double" + "name": "pipelinestr", + "cType": "const char *", + "canonical": "const char *" }, { - "name": "repeat", + "name": "srid", + "cType": "int32_t", + "canonical": "int" + }, + { + "name": "is_forward", "cType": "bool", "canonical": "bool" } ] }, { - "name": "line_locate_point", + "name": "adjacent_stbox_stbox", "file": "meos_geo.h", "returnType": { - "c": "double", - "canonical": "double" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "gs1", - "cType": "const int *", - "canonical": "const int *" + "name": "box1", + "cType": "const STBox *", + "canonical": "const struct STBox *" }, { - "name": "gs2", - "cType": "const int *", - "canonical": "const int *" + "name": "box2", + "cType": "const STBox *", + "canonical": "const struct STBox *" } ] }, { - "name": "line_substring", + "name": "contained_stbox_stbox", "file": "meos_geo.h", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" - }, - { - "name": "from", - "cType": "double", - "canonical": "double" + "name": "box1", + "cType": "const STBox *", + "canonical": "const struct STBox *" }, { - "name": "to", - "cType": "double", - "canonical": "double" + "name": "box2", + "cType": "const STBox *", + "canonical": "const struct STBox *" } ] }, { - "name": "geog_dwithin", + "name": "contains_stbox_stbox", "file": "meos_geo.h", "returnType": { "c": "bool", @@ -29461,29 +30310,19 @@ }, "params": [ { - "name": "g1", - "cType": "const int *", - "canonical": "const int *" - }, - { - "name": "g2", - "cType": "const int *", - "canonical": "const int *" - }, - { - "name": "tolerance", - "cType": "double", - "canonical": "double" + "name": "box1", + "cType": "const STBox *", + "canonical": "const struct STBox *" }, { - "name": "use_spheroid", - "cType": "bool", - "canonical": "bool" + "name": "box2", + "cType": "const STBox *", + "canonical": "const struct STBox *" } ] }, { - "name": "geog_intersects", + "name": "overlaps_stbox_stbox", "file": "meos_geo.h", "returnType": { "c": "bool", @@ -29491,24 +30330,19 @@ }, "params": [ { - "name": "gs1", - "cType": "const int *", - "canonical": "const int *" - }, - { - "name": "gs2", - "cType": "const int *", - "canonical": "const int *" + "name": "box1", + "cType": "const STBox *", + "canonical": "const struct STBox *" }, { - "name": "use_spheroid", - "cType": "bool", - "canonical": "bool" + "name": "box2", + "cType": "const STBox *", + "canonical": "const struct STBox *" } ] }, { - "name": "geom_contains", + "name": "same_stbox_stbox", "file": "meos_geo.h", "returnType": { "c": "bool", @@ -29516,19 +30350,19 @@ }, "params": [ { - "name": "gs1", - "cType": "const int *", - "canonical": "const int *" + "name": "box1", + "cType": "const STBox *", + "canonical": "const struct STBox *" }, { - "name": "gs2", - "cType": "const int *", - "canonical": "const int *" + "name": "box2", + "cType": "const STBox *", + "canonical": "const struct STBox *" } ] }, { - "name": "geom_covers", + "name": "above_stbox_stbox", "file": "meos_geo.h", "returnType": { "c": "bool", @@ -29536,19 +30370,19 @@ }, "params": [ { - "name": "gs1", - "cType": "const int *", - "canonical": "const int *" + "name": "box1", + "cType": "const STBox *", + "canonical": "const struct STBox *" }, { - "name": "gs2", - "cType": "const int *", - "canonical": "const int *" + "name": "box2", + "cType": "const STBox *", + "canonical": "const struct STBox *" } ] }, { - "name": "geom_disjoint2d", + "name": "after_stbox_stbox", "file": "meos_geo.h", "returnType": { "c": "bool", @@ -29556,19 +30390,19 @@ }, "params": [ { - "name": "gs1", - "cType": "const int *", - "canonical": "const int *" + "name": "box1", + "cType": "const STBox *", + "canonical": "const struct STBox *" }, { - "name": "gs2", - "cType": "const int *", - "canonical": "const int *" + "name": "box2", + "cType": "const STBox *", + "canonical": "const struct STBox *" } ] }, { - "name": "geom_dwithin2d", + "name": "back_stbox_stbox", "file": "meos_geo.h", "returnType": { "c": "bool", @@ -29576,24 +30410,19 @@ }, "params": [ { - "name": "gs1", - "cType": "const int *", - "canonical": "const int *" - }, - { - "name": "gs2", - "cType": "const int *", - "canonical": "const int *" + "name": "box1", + "cType": "const STBox *", + "canonical": "const struct STBox *" }, { - "name": "tolerance", - "cType": "double", - "canonical": "double" + "name": "box2", + "cType": "const STBox *", + "canonical": "const struct STBox *" } ] }, { - "name": "geom_dwithin3d", + "name": "before_stbox_stbox", "file": "meos_geo.h", "returnType": { "c": "bool", @@ -29601,24 +30430,19 @@ }, "params": [ { - "name": "gs1", - "cType": "const int *", - "canonical": "const int *" - }, - { - "name": "gs2", - "cType": "const int *", - "canonical": "const int *" + "name": "box1", + "cType": "const STBox *", + "canonical": "const struct STBox *" }, { - "name": "tolerance", - "cType": "double", - "canonical": "double" + "name": "box2", + "cType": "const STBox *", + "canonical": "const struct STBox *" } ] }, { - "name": "geom_intersects2d", + "name": "below_stbox_stbox", "file": "meos_geo.h", "returnType": { "c": "bool", @@ -29626,19 +30450,19 @@ }, "params": [ { - "name": "gs1", - "cType": "const int *", - "canonical": "const int *" + "name": "box1", + "cType": "const STBox *", + "canonical": "const struct STBox *" }, { - "name": "gs2", - "cType": "const int *", - "canonical": "const int *" + "name": "box2", + "cType": "const STBox *", + "canonical": "const struct STBox *" } ] }, { - "name": "geom_intersects3d", + "name": "front_stbox_stbox", "file": "meos_geo.h", "returnType": { "c": "bool", @@ -29646,19 +30470,19 @@ }, "params": [ { - "name": "gs1", - "cType": "const int *", - "canonical": "const int *" + "name": "box1", + "cType": "const STBox *", + "canonical": "const struct STBox *" }, { - "name": "gs2", - "cType": "const int *", - "canonical": "const int *" + "name": "box2", + "cType": "const STBox *", + "canonical": "const struct STBox *" } ] }, { - "name": "geom_relate_pattern", + "name": "left_stbox_stbox", "file": "meos_geo.h", "returnType": { "c": "bool", @@ -29666,24 +30490,19 @@ }, "params": [ { - "name": "gs1", - "cType": "const int *", - "canonical": "const int *" - }, - { - "name": "gs2", - "cType": "const int *", - "canonical": "const int *" + "name": "box1", + "cType": "const STBox *", + "canonical": "const struct STBox *" }, { - "name": "patt", - "cType": "char *", - "canonical": "char *" + "name": "box2", + "cType": "const STBox *", + "canonical": "const struct STBox *" } ] }, { - "name": "geom_touches", + "name": "overabove_stbox_stbox", "file": "meos_geo.h", "returnType": { "c": "bool", @@ -29691,169 +30510,159 @@ }, "params": [ { - "name": "gs1", - "cType": "const int *", - "canonical": "const int *" + "name": "box1", + "cType": "const STBox *", + "canonical": "const struct STBox *" }, { - "name": "gs2", - "cType": "const int *", - "canonical": "const int *" + "name": "box2", + "cType": "const STBox *", + "canonical": "const struct STBox *" } ] }, { - "name": "geo_stboxes", + "name": "overafter_stbox_stbox", "file": "meos_geo.h", "returnType": { - "c": "STBox *", - "canonical": "struct STBox *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "name": "box1", + "cType": "const STBox *", + "canonical": "const struct STBox *" }, { - "name": "count", - "cType": "int *", - "canonical": "int *" + "name": "box2", + "cType": "const STBox *", + "canonical": "const struct STBox *" } ] }, { - "name": "geo_split_each_n_stboxes", + "name": "overback_stbox_stbox", "file": "meos_geo.h", "returnType": { - "c": "STBox *", - "canonical": "struct STBox *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" - }, - { - "name": "elem_count", - "cType": "int", - "canonical": "int" + "name": "box1", + "cType": "const STBox *", + "canonical": "const struct STBox *" }, { - "name": "count", - "cType": "int *", - "canonical": "int *" + "name": "box2", + "cType": "const STBox *", + "canonical": "const struct STBox *" } ] }, { - "name": "geo_split_n_stboxes", + "name": "overbefore_stbox_stbox", "file": "meos_geo.h", "returnType": { - "c": "STBox *", - "canonical": "struct STBox *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" - }, - { - "name": "box_count", - "cType": "int", - "canonical": "int" + "name": "box1", + "cType": "const STBox *", + "canonical": "const struct STBox *" }, { - "name": "count", - "cType": "int *", - "canonical": "int *" + "name": "box2", + "cType": "const STBox *", + "canonical": "const struct STBox *" } ] }, { - "name": "geog_distance", + "name": "overbelow_stbox_stbox", "file": "meos_geo.h", "returnType": { - "c": "double", - "canonical": "double" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "g1", - "cType": "const int *", - "canonical": "const int *" + "name": "box1", + "cType": "const STBox *", + "canonical": "const struct STBox *" }, { - "name": "g2", - "cType": "const int *", - "canonical": "const int *" + "name": "box2", + "cType": "const STBox *", + "canonical": "const struct STBox *" } ] }, { - "name": "geom_distance2d", + "name": "overfront_stbox_stbox", "file": "meos_geo.h", "returnType": { - "c": "double", - "canonical": "double" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "gs1", - "cType": "const int *", - "canonical": "const int *" + "name": "box1", + "cType": "const STBox *", + "canonical": "const struct STBox *" }, { - "name": "gs2", - "cType": "const int *", - "canonical": "const int *" + "name": "box2", + "cType": "const STBox *", + "canonical": "const struct STBox *" } ] }, { - "name": "geom_distance3d", + "name": "overleft_stbox_stbox", "file": "meos_geo.h", "returnType": { - "c": "double", - "canonical": "double" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "gs1", - "cType": "const int *", - "canonical": "const int *" + "name": "box1", + "cType": "const STBox *", + "canonical": "const struct STBox *" }, { - "name": "gs2", - "cType": "const int *", - "canonical": "const int *" + "name": "box2", + "cType": "const STBox *", + "canonical": "const struct STBox *" } ] }, { - "name": "geo_equals", + "name": "overright_stbox_stbox", "file": "meos_geo.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "gs1", - "cType": "const int *", - "canonical": "const int *" + "name": "box1", + "cType": "const STBox *", + "canonical": "const struct STBox *" }, { - "name": "gs2", - "cType": "const int *", - "canonical": "const int *" + "name": "box2", + "cType": "const STBox *", + "canonical": "const struct STBox *" } ] }, { - "name": "geo_same", + "name": "right_stbox_stbox", "file": "meos_geo.h", "returnType": { "c": "bool", @@ -29861,154 +30670,124 @@ }, "params": [ { - "name": "gs1", - "cType": "const int *", - "canonical": "const int *" + "name": "box1", + "cType": "const STBox *", + "canonical": "const struct STBox *" }, { - "name": "gs2", - "cType": "const int *", - "canonical": "const int *" + "name": "box2", + "cType": "const STBox *", + "canonical": "const struct STBox *" } ] }, { - "name": "geogset_in", + "name": "union_stbox_stbox", "file": "meos_geo.h", "returnType": { - "c": "Set *", - "canonical": "Set *" + "c": "STBox *", + "canonical": "struct STBox *" }, "params": [ { - "name": "str", - "cType": "const char *", - "canonical": "const char *" + "name": "box1", + "cType": "const STBox *", + "canonical": "const struct STBox *" + }, + { + "name": "box2", + "cType": "const STBox *", + "canonical": "const struct STBox *" + }, + { + "name": "strict", + "cType": "bool", + "canonical": "bool" } ] }, { - "name": "geomset_in", + "name": "intersection_stbox_stbox", "file": "meos_geo.h", "returnType": { - "c": "Set *", - "canonical": "Set *" + "c": "STBox *", + "canonical": "struct STBox *" }, "params": [ { - "name": "str", - "cType": "const char *", - "canonical": "const char *" - } - ] - }, - { - "name": "spatialset_as_text", - "file": "meos_geo.h", - "returnType": { - "c": "char *", - "canonical": "char *" - }, - "params": [ - { - "name": "set", - "cType": "const Set *", - "canonical": "const Set *" + "name": "box1", + "cType": "const STBox *", + "canonical": "const struct STBox *" }, { - "name": "maxdd", - "cType": "int", - "canonical": "int" + "name": "box2", + "cType": "const STBox *", + "canonical": "const struct STBox *" } ] }, { - "name": "spatialset_as_ewkt", + "name": "stbox_cmp", "file": "meos_geo.h", "returnType": { - "c": "char *", - "canonical": "char *" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "set", - "cType": "const Set *", - "canonical": "const Set *" + "name": "box1", + "cType": "const STBox *", + "canonical": "const struct STBox *" }, { - "name": "maxdd", - "cType": "int", - "canonical": "int" + "name": "box2", + "cType": "const STBox *", + "canonical": "const struct STBox *" } ] }, { - "name": "geoset_make", + "name": "stbox_eq", "file": "meos_geo.h", "returnType": { - "c": "Set *", - "canonical": "Set *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "values", - "cType": "int **", - "canonical": "int **" + "name": "box1", + "cType": "const STBox *", + "canonical": "const struct STBox *" }, { - "name": "count", - "cType": "int", - "canonical": "int" - } - ] - }, - { - "name": "geo_to_set", - "file": "meos_geo.h", - "returnType": { - "c": "Set *", - "canonical": "Set *" - }, - "params": [ - { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "name": "box2", + "cType": "const STBox *", + "canonical": "const struct STBox *" } ] }, { - "name": "geoset_end_value", + "name": "stbox_ge", "file": "meos_geo.h", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "geoset_start_value", - "file": "meos_geo.h", - "returnType": { - "c": "int *", - "canonical": "int *" - }, - "params": [ + "name": "box1", + "cType": "const STBox *", + "canonical": "const struct STBox *" + }, { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" + "name": "box2", + "cType": "const STBox *", + "canonical": "const struct STBox *" } ] }, { - "name": "geoset_value_n", + "name": "stbox_gt", "file": "meos_geo.h", "returnType": { "c": "bool", @@ -30016,39 +30795,39 @@ }, "params": [ { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "n", - "cType": "int", - "canonical": "int" + "name": "box1", + "cType": "const STBox *", + "canonical": "const struct STBox *" }, { - "name": "result", - "cType": "int **", - "canonical": "int **" + "name": "box2", + "cType": "const STBox *", + "canonical": "const struct STBox *" } ] }, { - "name": "geoset_values", + "name": "stbox_le", "file": "meos_geo.h", "returnType": { - "c": "int **", - "canonical": "int **" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" + "name": "box1", + "cType": "const STBox *", + "canonical": "const struct STBox *" + }, + { + "name": "box2", + "cType": "const STBox *", + "canonical": "const struct STBox *" } ] }, { - "name": "contained_geo_set", + "name": "stbox_lt", "file": "meos_geo.h", "returnType": { "c": "bool", @@ -30056,19 +30835,19 @@ }, "params": [ { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "name": "box1", + "cType": "const STBox *", + "canonical": "const struct STBox *" }, { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" + "name": "box2", + "cType": "const STBox *", + "canonical": "const struct STBox *" } ] }, { - "name": "contains_set_geo", + "name": "stbox_ne", "file": "meos_geo.h", "returnType": { "c": "bool", @@ -30076,368 +30855,333 @@ }, "params": [ { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" + "name": "box1", + "cType": "const STBox *", + "canonical": "const struct STBox *" }, { - "name": "gs", - "cType": "int *", - "canonical": "int *" + "name": "box2", + "cType": "const STBox *", + "canonical": "const struct STBox *" } ] }, { - "name": "geo_union_transfn", + "name": "tgeogpoint_from_mfjson", "file": "meos_geo.h", "returnType": { - "c": "Set *", - "canonical": "Set *" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "state", - "cType": "Set *", - "canonical": "Set *" - }, - { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "name": "str", + "cType": "const char *", + "canonical": "const char *" } ] }, { - "name": "intersection_geo_set", + "name": "tgeogpoint_in", "file": "meos_geo.h", "returnType": { - "c": "Set *", - "canonical": "Set *" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" - }, - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" + "name": "str", + "cType": "const char *", + "canonical": "const char *" } ] }, { - "name": "intersection_set_geo", + "name": "tgeography_from_mfjson", "file": "meos_geo.h", "returnType": { - "c": "Set *", - "canonical": "Set *" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "name": "mfjson", + "cType": "const char *", + "canonical": "const char *" } ] }, { - "name": "minus_geo_set", + "name": "tgeography_in", "file": "meos_geo.h", "returnType": { - "c": "Set *", - "canonical": "Set *" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" - }, - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" + "name": "str", + "cType": "const char *", + "canonical": "const char *" } ] }, { - "name": "minus_set_geo", + "name": "tgeometry_from_mfjson", "file": "meos_geo.h", "returnType": { - "c": "Set *", - "canonical": "Set *" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "name": "str", + "cType": "const char *", + "canonical": "const char *" } ] }, { - "name": "union_geo_set", + "name": "tgeometry_in", "file": "meos_geo.h", "returnType": { - "c": "Set *", - "canonical": "Set *" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" - }, - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" + "name": "str", + "cType": "const char *", + "canonical": "const char *" } ] }, { - "name": "union_set_geo", + "name": "tgeompoint_from_mfjson", "file": "meos_geo.h", "returnType": { - "c": "Set *", - "canonical": "Set *" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "name": "str", + "cType": "const char *", + "canonical": "const char *" } ] }, { - "name": "spatialset_set_srid", + "name": "tgeompoint_in", "file": "meos_geo.h", "returnType": { - "c": "Set *", - "canonical": "Set *" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "srid", - "cType": "int32_t", - "canonical": "int" + "name": "str", + "cType": "const char *", + "canonical": "const char *" } ] }, { - "name": "spatialset_srid", + "name": "tspatial_as_ewkt", "file": "meos_geo.h", "returnType": { - "c": "int32_t", - "canonical": "int" + "c": "char *", + "canonical": "char *" }, "params": [ { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "maxdd", + "cType": "int", + "canonical": "int" } ] }, { - "name": "spatialset_transform", + "name": "tspatial_as_text", "file": "meos_geo.h", "returnType": { - "c": "Set *", - "canonical": "Set *" + "c": "char *", + "canonical": "char *" }, "params": [ { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" }, { - "name": "srid", - "cType": "int32_t", + "name": "maxdd", + "cType": "int", "canonical": "int" } ] }, { - "name": "spatialset_transform_pipeline", + "name": "tspatial_out", "file": "meos_geo.h", "returnType": { - "c": "Set *", - "canonical": "Set *" + "c": "char *", + "canonical": "char *" }, "params": [ { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "pipelinestr", - "cType": "const char *", - "canonical": "const char *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" }, { - "name": "srid", - "cType": "int32_t", + "name": "maxdd", + "cType": "int", "canonical": "int" - }, - { - "name": "is_forward", - "cType": "bool", - "canonical": "bool" } ] }, { - "name": "stbox_as_hexwkb", + "name": "tgeo_from_base_temp", "file": "meos_geo.h", "returnType": { - "c": "char *", - "canonical": "char *" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "box", - "cType": "const STBox *", - "canonical": "const struct STBox *" - }, - { - "name": "variant", - "cType": "uint8_t", - "canonical": "unsigned char" + "name": "gs", + "cType": "const int *", + "canonical": "const int *" }, { - "name": "size", - "cType": "size_t *", - "canonical": "unsigned long *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "stbox_as_wkb", + "name": "tgeoinst_make", "file": "meos_geo.h", "returnType": { - "c": "uint8_t *", - "canonical": "unsigned char *" + "c": "TInstant *", + "canonical": "struct TInstant *" }, "params": [ { - "name": "box", - "cType": "const STBox *", - "canonical": "const struct STBox *" - }, - { - "name": "variant", - "cType": "uint8_t", - "canonical": "unsigned char" + "name": "gs", + "cType": "const int *", + "canonical": "const int *" }, { - "name": "size_out", - "cType": "size_t *", - "canonical": "unsigned long *" + "name": "t", + "cType": "TimestampTz", + "canonical": "long" } ] }, { - "name": "stbox_from_hexwkb", + "name": "tgeoseq_from_base_tstzset", "file": "meos_geo.h", "returnType": { - "c": "STBox *", - "canonical": "struct STBox *" + "c": "TSequence *", + "canonical": "struct TSequence *" }, "params": [ { - "name": "hexwkb", - "cType": "const char *", - "canonical": "const char *" + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" } ] }, { - "name": "stbox_from_wkb", + "name": "tgeoseq_from_base_tstzspan", "file": "meos_geo.h", "returnType": { - "c": "STBox *", - "canonical": "struct STBox *" + "c": "TSequence *", + "canonical": "struct TSequence *" }, "params": [ { - "name": "wkb", - "cType": "const uint8_t *", - "canonical": "const unsigned char *" + "name": "gs", + "cType": "const int *", + "canonical": "const int *" }, { - "name": "size", - "cType": "size_t", - "canonical": "unsigned long" + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "interp", + "cType": "interpType", + "canonical": "interpType" } ] }, { - "name": "stbox_in", + "name": "tgeoseqset_from_base_tstzspanset", "file": "meos_geo.h", "returnType": { - "c": "STBox *", - "canonical": "struct STBox *" + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" }, "params": [ { - "name": "str", - "cType": "const char *", - "canonical": "const char *" + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" + }, + { + "name": "interp", + "cType": "interpType", + "canonical": "interpType" } ] }, { - "name": "stbox_out", + "name": "tpoint_from_base_temp", "file": "meos_geo.h", "returnType": { - "c": "char *", - "canonical": "char *" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "box", - "cType": "const STBox *", - "canonical": "const struct STBox *" + "name": "gs", + "cType": "const int *", + "canonical": "const int *" }, { - "name": "maxdd", - "cType": "int", - "canonical": "int" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "geo_timestamptz_to_stbox", + "name": "tpointinst_make", "file": "meos_geo.h", "returnType": { - "c": "STBox *", - "canonical": "struct STBox *" + "c": "TInstant *", + "canonical": "struct TInstant *" }, "params": [ { @@ -30453,11 +31197,11 @@ ] }, { - "name": "geo_tstzspan_to_stbox", + "name": "tpointseq_from_base_tstzset", "file": "meos_geo.h", "returnType": { - "c": "STBox *", - "canonical": "struct STBox *" + "c": "TSequence *", + "canonical": "struct TSequence *" }, "params": [ { @@ -30467,48 +31211,68 @@ }, { "name": "s", - "cType": "const Span *", - "canonical": "const struct Span *" + "cType": "const Set *", + "canonical": "const Set *" } ] }, { - "name": "stbox_copy", + "name": "tpointseq_from_base_tstzspan", "file": "meos_geo.h", "returnType": { - "c": "STBox *", - "canonical": "struct STBox *" + "c": "TSequence *", + "canonical": "struct TSequence *" }, "params": [ { - "name": "box", - "cType": "const STBox *", - "canonical": "const struct STBox *" - } - ] + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "interp", + "cType": "interpType", + "canonical": "interpType" + } + ] }, { - "name": "stbox_make", + "name": "tpointseq_make_coords", "file": "meos_geo.h", "returnType": { - "c": "STBox *", - "canonical": "struct STBox *" + "c": "TSequence *", + "canonical": "struct TSequence *" }, "params": [ { - "name": "hasx", - "cType": "bool", - "canonical": "bool" + "name": "xcoords", + "cType": "const double *", + "canonical": "const double *" }, { - "name": "hasz", - "cType": "bool", - "canonical": "bool" + "name": "ycoords", + "cType": "const double *", + "canonical": "const double *" }, { - "name": "geodetic", - "cType": "bool", - "canonical": "bool" + "name": "zcoords", + "cType": "const double *", + "canonical": "const double *" + }, + { + "name": "times", + "cType": "const TimestampTz *", + "canonical": "const long *" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" }, { "name": "srid", @@ -30516,44 +31280,59 @@ "canonical": "int" }, { - "name": "xmin", - "cType": "double", - "canonical": "double" + "name": "geodetic", + "cType": "bool", + "canonical": "bool" }, { - "name": "xmax", - "cType": "double", - "canonical": "double" + "name": "lower_inc", + "cType": "bool", + "canonical": "bool" }, { - "name": "ymin", - "cType": "double", - "canonical": "double" + "name": "upper_inc", + "cType": "bool", + "canonical": "bool" }, { - "name": "ymax", - "cType": "double", - "canonical": "double" + "name": "interp", + "cType": "interpType", + "canonical": "interpType" }, { - "name": "zmin", - "cType": "double", - "canonical": "double" + "name": "normalize", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tpointseqset_from_base_tstzspanset", + "file": "meos_geo.h", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + "params": [ + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" }, { - "name": "zmax", - "cType": "double", - "canonical": "double" + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" }, { - "name": "s", - "cType": "const Span *", - "canonical": "const struct Span *" + "name": "interp", + "cType": "interpType", + "canonical": "interpType" } ] }, { - "name": "geo_to_stbox", + "name": "box3d_to_stbox", "file": "meos_geo.h", "returnType": { "c": "STBox *", @@ -30561,14 +31340,14 @@ }, "params": [ { - "name": "gs", + "name": "box", "cType": "const int *", "canonical": "const int *" } ] }, { - "name": "spatialset_to_stbox", + "name": "gbox_to_stbox", "file": "meos_geo.h", "returnType": { "c": "STBox *", @@ -30576,289 +31355,349 @@ }, "params": [ { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" + "name": "box", + "cType": "const int *", + "canonical": "const int *" } ] }, { - "name": "stbox_to_box3d", + "name": "geomeas_to_tpoint", "file": "meos_geo.h", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "box", - "cType": "const STBox *", - "canonical": "const struct STBox *" + "name": "gs", + "cType": "const int *", + "canonical": "const int *" } ] }, { - "name": "stbox_to_gbox", + "name": "tgeogpoint_to_tgeography", "file": "meos_geo.h", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "box", - "cType": "const STBox *", - "canonical": "const struct STBox *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "stbox_to_geo", + "name": "tgeography_to_tgeogpoint", "file": "meos_geo.h", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "box", - "cType": "const STBox *", - "canonical": "const struct STBox *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "stbox_to_tstzspan", + "name": "tgeography_to_tgeometry", "file": "meos_geo.h", "returnType": { - "c": "Span *", - "canonical": "struct Span *" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "box", - "cType": "const STBox *", - "canonical": "const struct STBox *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "timestamptz_to_stbox", + "name": "tgeometry_to_tgeography", "file": "meos_geo.h", "returnType": { - "c": "STBox *", - "canonical": "struct STBox *" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "tstzset_to_stbox", + "name": "tgeometry_to_tgeompoint", "file": "meos_geo.h", "returnType": { - "c": "STBox *", - "canonical": "struct STBox *" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "tstzspan_to_stbox", + "name": "tgeompoint_to_tgeometry", "file": "meos_geo.h", "returnType": { - "c": "STBox *", - "canonical": "struct STBox *" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "s", - "cType": "const Span *", - "canonical": "const struct Span *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "tstzspanset_to_stbox", + "name": "tpoint_as_mvtgeom", "file": "meos_geo.h", "returnType": { - "c": "STBox *", - "canonical": "struct STBox *" + "c": "MvtGeom", + "canonical": "struct MvtGeom" }, "params": [ { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const struct SpanSet *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "bounds", + "cType": "const STBox *", + "canonical": "const struct STBox *" + }, + { + "name": "extent", + "cType": "int32_t", + "canonical": "int" + }, + { + "name": "buffer", + "cType": "int32_t", + "canonical": "int" + }, + { + "name": "clip_geom", + "cType": "bool", + "canonical": "bool" } ] }, { - "name": "stbox_area", + "name": "tpoint_tfloat_to_geomeas", "file": "meos_geo.h", "returnType": { - "c": "double", - "canonical": "double" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "box", - "cType": "const STBox *", - "canonical": "const struct STBox *" + "name": "tpoint", + "cType": "const Temporal *", + "canonical": "const Temporal *" }, { - "name": "spheroid", + "name": "measure", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "segmentize", "cType": "bool", "canonical": "bool" + }, + { + "name": "result", + "cType": "int **", + "canonical": "int **" } ] }, { - "name": "stbox_hash", + "name": "tspatial_to_stbox", "file": "meos_geo.h", "returnType": { - "c": "uint32", - "canonical": "unsigned int" + "c": "STBox *", + "canonical": "struct STBox *" }, "params": [ { - "name": "box", - "cType": "const STBox *", - "canonical": "const struct STBox *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "stbox_hash_extended", + "name": "bearing_point_point", "file": "meos_geo.h", "returnType": { - "c": "uint64", - "canonical": "unsigned long" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "box", - "cType": "const STBox *", - "canonical": "const struct STBox *" + "name": "gs1", + "cType": "const int *", + "canonical": "const int *" }, { - "name": "seed", - "cType": "uint64", - "canonical": "unsigned long" + "name": "gs2", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "result", + "cType": "double *", + "canonical": "double *" } ] }, { - "name": "stbox_hast", + "name": "bearing_tpoint_point", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "box", - "cType": "const STBox *", - "canonical": "const struct STBox *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "invert", + "cType": "bool", + "canonical": "bool" } ] }, { - "name": "stbox_hasx", + "name": "bearing_tpoint_tpoint", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "box", - "cType": "const STBox *", - "canonical": "const struct STBox *" + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "stbox_hasz", + "name": "tgeo_centroid", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "box", - "cType": "const STBox *", - "canonical": "const struct STBox *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "stbox_isgeodetic", + "name": "tgeo_convex_hull", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "int *", + "canonical": "int *" }, "params": [ { - "name": "box", - "cType": "const STBox *", - "canonical": "const struct STBox *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "stbox_perimeter", + "name": "tgeo_end_value", "file": "meos_geo.h", "returnType": { - "c": "double", - "canonical": "double" + "c": "int *", + "canonical": "int *" }, "params": [ { - "name": "box", - "cType": "const STBox *", - "canonical": "const struct STBox *" - }, + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "tgeo_start_value", + "file": "meos_geo.h", + "returnType": { + "c": "int *", + "canonical": "int *" + }, + "params": [ { - "name": "spheroid", - "cType": "bool", - "canonical": "bool" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "stbox_tmax", + "name": "tgeo_traversed_area", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "int *", + "canonical": "int *" }, "params": [ { - "name": "box", - "cType": "const STBox *", - "canonical": "const struct STBox *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" }, { - "name": "result", - "cType": "TimestampTz *", - "canonical": "long *" + "name": "unary_union", + "cType": "bool", + "canonical": "bool" } ] }, { - "name": "stbox_tmax_inc", + "name": "tgeo_value_at_timestamptz", "file": "meos_geo.h", "returnType": { "c": "bool", @@ -30866,19 +31705,29 @@ }, "params": [ { - "name": "box", - "cType": "const STBox *", - "canonical": "const struct STBox *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "t", + "cType": "TimestampTz", + "canonical": "long" + }, + { + "name": "strict", + "cType": "bool", + "canonical": "bool" }, { "name": "result", - "cType": "bool *", - "canonical": "_Bool *" + "cType": "int **", + "canonical": "int **" } ] }, { - "name": "stbox_tmin", + "name": "tgeo_value_n", "file": "meos_geo.h", "returnType": { "c": "bool", @@ -30886,74 +31735,89 @@ }, "params": [ { - "name": "box", - "cType": "const STBox *", - "canonical": "const struct STBox *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "n", + "cType": "int", + "canonical": "int" }, { "name": "result", - "cType": "TimestampTz *", - "canonical": "long *" + "cType": "int **", + "canonical": "int **" } ] }, { - "name": "stbox_tmin_inc", + "name": "tgeo_values", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "int **", + "canonical": "int **" }, "params": [ { - "name": "box", - "cType": "const STBox *", - "canonical": "const struct STBox *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" }, { - "name": "result", - "cType": "bool *", - "canonical": "_Bool *" + "name": "count", + "cType": "int *", + "canonical": "int *" } ] }, { - "name": "stbox_volume", + "name": "tpoint_angular_difference", "file": "meos_geo.h", "returnType": { - "c": "double", - "canonical": "double" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "box", - "cType": "const STBox *", - "canonical": "const struct STBox *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "stbox_xmax", + "name": "tpoint_azimuth", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "box", - "cType": "const STBox *", - "canonical": "const struct STBox *" - }, + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "tpoint_cumulative_length", + "file": "meos_geo.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ { - "name": "result", - "cType": "double *", - "canonical": "double *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "stbox_xmin", + "name": "tpoint_direction", "file": "meos_geo.h", "returnType": { "c": "bool", @@ -30961,9 +31825,9 @@ }, "params": [ { - "name": "box", - "cType": "const STBox *", - "canonical": "const struct STBox *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" }, { "name": "result", @@ -30973,67 +31837,52 @@ ] }, { - "name": "stbox_ymax", + "name": "tpoint_get_x", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "box", - "cType": "const STBox *", - "canonical": "const struct STBox *" - }, - { - "name": "result", - "cType": "double *", - "canonical": "double *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "stbox_ymin", + "name": "tpoint_get_y", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "box", - "cType": "const STBox *", - "canonical": "const struct STBox *" - }, - { - "name": "result", - "cType": "double *", - "canonical": "double *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "stbox_zmax", + "name": "tpoint_get_z", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "box", - "cType": "const STBox *", - "canonical": "const struct STBox *" - }, - { - "name": "result", - "cType": "double *", - "canonical": "double *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "stbox_zmin", + "name": "tpoint_is_simple", "file": "meos_geo.h", "returnType": { "c": "bool", @@ -31041,209 +31890,198 @@ }, "params": [ { - "name": "box", - "cType": "const STBox *", - "canonical": "const struct STBox *" - }, - { - "name": "result", - "cType": "double *", - "canonical": "double *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "stbox_expand_space", + "name": "tpoint_length", "file": "meos_geo.h", "returnType": { - "c": "STBox *", - "canonical": "struct STBox *" + "c": "double", + "canonical": "double" }, "params": [ { - "name": "box", - "cType": "const STBox *", - "canonical": "const struct STBox *" - }, - { - "name": "d", - "cType": "double", - "canonical": "double" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "stbox_expand_time", + "name": "tpoint_speed", "file": "meos_geo.h", "returnType": { - "c": "STBox *", - "canonical": "struct STBox *" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "box", - "cType": "const STBox *", - "canonical": "const struct STBox *" - }, - { - "name": "interv", - "cType": "const int *", - "canonical": "const int *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" } - ] + ], + "ownership": "caller", + "nullable": true, + "doc": "Computes the instantaneous speed of a temporal point.", + "meos": { + "temporalDim": "sequence", + "spatialDim": null, + "interpolation": true, + "subtype": "TPoint" + } }, { - "name": "stbox_get_space", + "name": "tpoint_trajectory", "file": "meos_geo.h", "returnType": { - "c": "STBox *", - "canonical": "struct STBox *" + "c": "int *", + "canonical": "int *" }, "params": [ { - "name": "box", - "cType": "const STBox *", - "canonical": "const struct STBox *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "unary_union", + "cType": "bool", + "canonical": "bool" } ] }, { - "name": "stbox_quad_split", + "name": "tpoint_twcentroid", "file": "meos_geo.h", "returnType": { - "c": "STBox *", - "canonical": "struct STBox *" + "c": "int *", + "canonical": "int *" }, "params": [ { - "name": "box", - "cType": "const STBox *", - "canonical": "const struct STBox *" - }, - { - "name": "count", - "cType": "int *", - "canonical": "int *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "stbox_round", + "name": "tgeo_affine", "file": "meos_geo.h", "returnType": { - "c": "STBox *", - "canonical": "struct STBox *" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "box", - "cType": "const STBox *", - "canonical": "const struct STBox *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" }, { - "name": "maxdd", - "cType": "int", - "canonical": "int" + "name": "a", + "cType": "const int *", + "canonical": "const int *" } ] }, { - "name": "stbox_shift_scale_time", + "name": "tgeo_scale", "file": "meos_geo.h", "returnType": { - "c": "STBox *", - "canonical": "struct STBox *" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "box", - "cType": "const STBox *", - "canonical": "const struct STBox *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" }, { - "name": "shift", + "name": "scale", "cType": "const int *", "canonical": "const int *" }, { - "name": "duration", + "name": "sorigin", "cType": "const int *", "canonical": "const int *" } ] }, { - "name": "stboxarr_round", + "name": "tpoint_make_simple", "file": "meos_geo.h", "returnType": { - "c": "STBox *", - "canonical": "struct STBox *" + "c": "Temporal **", + "canonical": "Temporal **" }, "params": [ { - "name": "boxarr", - "cType": "const STBox *", - "canonical": "const struct STBox *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" }, { "name": "count", - "cType": "int", - "canonical": "int" - }, - { - "name": "maxdd", - "cType": "int", - "canonical": "int" + "cType": "int *", + "canonical": "int *" } ] }, { - "name": "stbox_set_srid", + "name": "tspatial_srid", "file": "meos_geo.h", "returnType": { - "c": "STBox *", - "canonical": "struct STBox *" + "c": "int32_t", + "canonical": "int" }, "params": [ { - "name": "box", - "cType": "const STBox *", - "canonical": "const struct STBox *" - }, - { - "name": "srid", - "cType": "int32_t", - "canonical": "int" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "stbox_srid", + "name": "tspatial_set_srid", "file": "meos_geo.h", "returnType": { - "c": "int32_t", - "canonical": "int" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "box", - "cType": "const STBox *", - "canonical": "const struct STBox *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "srid", + "cType": "int32_t", + "canonical": "int" } ] }, { - "name": "stbox_transform", + "name": "tspatial_transform", "file": "meos_geo.h", "returnType": { - "c": "STBox *", - "canonical": "struct STBox *" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "box", - "cType": "const STBox *", - "canonical": "const struct STBox *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" }, { "name": "srid", @@ -31253,17 +32091,17 @@ ] }, { - "name": "stbox_transform_pipeline", + "name": "tspatial_transform_pipeline", "file": "meos_geo.h", "returnType": { - "c": "STBox *", - "canonical": "struct STBox *" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "box", - "cType": "const STBox *", - "canonical": "const struct STBox *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" }, { "name": "pipelinestr", @@ -31283,472 +32121,477 @@ ] }, { - "name": "adjacent_stbox_stbox", + "name": "tgeo_at_geom", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "box1", - "cType": "const STBox *", - "canonical": "const struct STBox *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" }, { - "name": "box2", - "cType": "const STBox *", - "canonical": "const struct STBox *" + "name": "gs", + "cType": "const int *", + "canonical": "const int *" } ] }, { - "name": "contained_stbox_stbox", + "name": "tgeo_at_stbox", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "box1", - "cType": "const STBox *", - "canonical": "const struct STBox *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" }, { - "name": "box2", + "name": "box", "cType": "const STBox *", "canonical": "const struct STBox *" + }, + { + "name": "border_inc", + "cType": "bool", + "canonical": "bool" } ] }, { - "name": "contains_stbox_stbox", + "name": "tgeo_at_value", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "box1", - "cType": "const STBox *", - "canonical": "const struct STBox *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" }, { - "name": "box2", - "cType": "const STBox *", - "canonical": "const struct STBox *" + "name": "gs", + "cType": "int *", + "canonical": "int *" } ] }, { - "name": "overlaps_stbox_stbox", + "name": "tgeo_minus_geom", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "box1", - "cType": "const STBox *", - "canonical": "const struct STBox *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" }, { - "name": "box2", - "cType": "const STBox *", - "canonical": "const struct STBox *" + "name": "gs", + "cType": "const int *", + "canonical": "const int *" } ] }, { - "name": "same_stbox_stbox", + "name": "tgeo_minus_stbox", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "box1", - "cType": "const STBox *", - "canonical": "const struct STBox *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" }, { - "name": "box2", + "name": "box", "cType": "const STBox *", "canonical": "const struct STBox *" + }, + { + "name": "border_inc", + "cType": "bool", + "canonical": "bool" } ] }, { - "name": "above_stbox_stbox", + "name": "tgeo_minus_value", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "box1", - "cType": "const STBox *", - "canonical": "const struct STBox *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" }, { - "name": "box2", - "cType": "const STBox *", - "canonical": "const struct STBox *" + "name": "gs", + "cType": "int *", + "canonical": "int *" } ] }, { - "name": "after_stbox_stbox", + "name": "tpoint_at_elevation", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "box1", - "cType": "const STBox *", - "canonical": "const struct STBox *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" }, { - "name": "box2", - "cType": "const STBox *", - "canonical": "const struct STBox *" + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" } ] }, { - "name": "back_stbox_stbox", + "name": "tpoint_at_geom", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "box1", - "cType": "const STBox *", - "canonical": "const struct STBox *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" }, { - "name": "box2", - "cType": "const STBox *", - "canonical": "const struct STBox *" + "name": "gs", + "cType": "const int *", + "canonical": "const int *" } ] }, { - "name": "before_stbox_stbox", + "name": "tpoint_at_value", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "box1", - "cType": "const STBox *", - "canonical": "const struct STBox *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" }, { - "name": "box2", - "cType": "const STBox *", - "canonical": "const struct STBox *" + "name": "gs", + "cType": "int *", + "canonical": "int *" } ] }, { - "name": "below_stbox_stbox", + "name": "tpoint_minus_elevation", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "box1", - "cType": "const STBox *", - "canonical": "const struct STBox *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" }, { - "name": "box2", - "cType": "const STBox *", - "canonical": "const struct STBox *" + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" } ] }, { - "name": "front_stbox_stbox", + "name": "tpoint_minus_geom", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "box1", - "cType": "const STBox *", - "canonical": "const struct STBox *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" }, { - "name": "box2", - "cType": "const STBox *", - "canonical": "const struct STBox *" + "name": "gs", + "cType": "const int *", + "canonical": "const int *" } ] }, { - "name": "left_stbox_stbox", + "name": "tpoint_minus_value", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "box1", - "cType": "const STBox *", - "canonical": "const struct STBox *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" }, { - "name": "box2", - "cType": "const STBox *", - "canonical": "const struct STBox *" + "name": "gs", + "cType": "int *", + "canonical": "int *" } ] }, { - "name": "overabove_stbox_stbox", + "name": "always_eq_geo_tgeo", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "box1", - "cType": "const STBox *", - "canonical": "const struct STBox *" + "name": "gs", + "cType": "const int *", + "canonical": "const int *" }, { - "name": "box2", - "cType": "const STBox *", - "canonical": "const struct STBox *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "overafter_stbox_stbox", + "name": "always_eq_tgeo_geo", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "box1", - "cType": "const STBox *", - "canonical": "const struct STBox *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" }, { - "name": "box2", - "cType": "const STBox *", - "canonical": "const struct STBox *" + "name": "gs", + "cType": "const int *", + "canonical": "const int *" } ] }, { - "name": "overback_stbox_stbox", + "name": "always_eq_tgeo_tgeo", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" - }, + "c": "int", + "canonical": "int" + }, "params": [ { - "name": "box1", - "cType": "const STBox *", - "canonical": "const struct STBox *" + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" }, { - "name": "box2", - "cType": "const STBox *", - "canonical": "const struct STBox *" + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "overbefore_stbox_stbox", + "name": "always_ne_geo_tgeo", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "box1", - "cType": "const STBox *", - "canonical": "const struct STBox *" + "name": "gs", + "cType": "const int *", + "canonical": "const int *" }, { - "name": "box2", - "cType": "const STBox *", - "canonical": "const struct STBox *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "overbelow_stbox_stbox", + "name": "always_ne_tgeo_geo", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "box1", - "cType": "const STBox *", - "canonical": "const struct STBox *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" }, { - "name": "box2", - "cType": "const STBox *", - "canonical": "const struct STBox *" + "name": "gs", + "cType": "const int *", + "canonical": "const int *" } ] }, { - "name": "overfront_stbox_stbox", + "name": "always_ne_tgeo_tgeo", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "box1", - "cType": "const STBox *", - "canonical": "const struct STBox *" + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" }, { - "name": "box2", - "cType": "const STBox *", - "canonical": "const struct STBox *" + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "overleft_stbox_stbox", + "name": "ever_eq_geo_tgeo", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "box1", - "cType": "const STBox *", - "canonical": "const struct STBox *" + "name": "gs", + "cType": "const int *", + "canonical": "const int *" }, { - "name": "box2", - "cType": "const STBox *", - "canonical": "const struct STBox *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "overright_stbox_stbox", + "name": "ever_eq_tgeo_geo", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "box1", - "cType": "const STBox *", - "canonical": "const struct STBox *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" }, { - "name": "box2", - "cType": "const STBox *", - "canonical": "const struct STBox *" + "name": "gs", + "cType": "const int *", + "canonical": "const int *" } ] }, { - "name": "right_stbox_stbox", + "name": "ever_eq_tgeo_tgeo", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "box1", - "cType": "const STBox *", - "canonical": "const struct STBox *" + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" }, { - "name": "box2", - "cType": "const STBox *", - "canonical": "const struct STBox *" + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "union_stbox_stbox", + "name": "ever_ne_geo_tgeo", "file": "meos_geo.h", "returnType": { - "c": "STBox *", - "canonical": "struct STBox *" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "box1", - "cType": "const STBox *", - "canonical": "const struct STBox *" - }, - { - "name": "box2", - "cType": "const STBox *", - "canonical": "const struct STBox *" + "name": "gs", + "cType": "const int *", + "canonical": "const int *" }, { - "name": "strict", - "cType": "bool", - "canonical": "bool" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "intersection_stbox_stbox", + "name": "ever_ne_tgeo_geo", "file": "meos_geo.h", "returnType": { - "c": "STBox *", - "canonical": "struct STBox *" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "box1", - "cType": "const STBox *", - "canonical": "const struct STBox *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" }, { - "name": "box2", - "cType": "const STBox *", - "canonical": "const struct STBox *" + "name": "gs", + "cType": "const int *", + "canonical": "const int *" } ] }, { - "name": "stbox_cmp", + "name": "ever_ne_tgeo_tgeo", "file": "meos_geo.h", "returnType": { "c": "int", @@ -31756,303 +32599,423 @@ }, "params": [ { - "name": "box1", - "cType": "const STBox *", - "canonical": "const struct STBox *" + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" }, { - "name": "box2", - "cType": "const STBox *", - "canonical": "const struct STBox *" + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "stbox_eq", + "name": "teq_geo_tgeo", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "box1", - "cType": "const STBox *", - "canonical": "const struct STBox *" + "name": "gs", + "cType": "const int *", + "canonical": "const int *" }, { - "name": "box2", - "cType": "const STBox *", - "canonical": "const struct STBox *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "stbox_ge", + "name": "teq_tgeo_geo", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "box1", - "cType": "const STBox *", - "canonical": "const struct STBox *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" }, { - "name": "box2", - "cType": "const STBox *", - "canonical": "const struct STBox *" + "name": "gs", + "cType": "const int *", + "canonical": "const int *" } ] }, { - "name": "stbox_gt", + "name": "tne_geo_tgeo", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "box1", - "cType": "const STBox *", - "canonical": "const struct STBox *" + "name": "gs", + "cType": "const int *", + "canonical": "const int *" }, { - "name": "box2", - "cType": "const STBox *", - "canonical": "const struct STBox *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "stbox_le", + "name": "tne_tgeo_geo", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "box1", - "cType": "const STBox *", - "canonical": "const struct STBox *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" }, { - "name": "box2", - "cType": "const STBox *", - "canonical": "const struct STBox *" + "name": "gs", + "cType": "const int *", + "canonical": "const int *" } ] }, { - "name": "stbox_lt", + "name": "tgeo_stboxes", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "STBox *", + "canonical": "struct STBox *" }, "params": [ { - "name": "box1", - "cType": "const STBox *", - "canonical": "const struct STBox *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" }, { - "name": "box2", - "cType": "const STBox *", - "canonical": "const struct STBox *" + "name": "count", + "cType": "int *", + "canonical": "int *" } ] }, { - "name": "stbox_ne", + "name": "tgeo_space_boxes", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "STBox *", + "canonical": "struct STBox *" }, "params": [ { - "name": "box1", - "cType": "const STBox *", - "canonical": "const struct STBox *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" }, { - "name": "box2", - "cType": "const STBox *", - "canonical": "const struct STBox *" + "name": "xsize", + "cType": "double", + "canonical": "double" + }, + { + "name": "ysize", + "cType": "double", + "canonical": "double" + }, + { + "name": "zsize", + "cType": "double", + "canonical": "double" + }, + { + "name": "sorigin", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "bitmatrix", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "border_inc", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" } ] }, { - "name": "tgeogpoint_from_mfjson", + "name": "tgeo_space_time_boxes", "file": "meos_geo.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "STBox *", + "canonical": "struct STBox *" }, "params": [ { - "name": "str", - "cType": "const char *", - "canonical": "const char *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "xsize", + "cType": "double", + "canonical": "double" + }, + { + "name": "ysize", + "cType": "double", + "canonical": "double" + }, + { + "name": "zsize", + "cType": "double", + "canonical": "double" + }, + { + "name": "duration", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "sorigin", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "torigin", + "cType": "TimestampTz", + "canonical": "long" + }, + { + "name": "bitmatrix", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "border_inc", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" } ] }, { - "name": "tgeogpoint_in", + "name": "tgeo_split_each_n_stboxes", "file": "meos_geo.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "STBox *", + "canonical": "struct STBox *" }, "params": [ { - "name": "str", - "cType": "const char *", - "canonical": "const char *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "elem_count", + "cType": "int", + "canonical": "int" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" } ] }, { - "name": "tgeography_from_mfjson", + "name": "tgeo_split_n_stboxes", "file": "meos_geo.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "STBox *", + "canonical": "struct STBox *" }, "params": [ { - "name": "mfjson", - "cType": "const char *", - "canonical": "const char *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "box_count", + "cType": "int", + "canonical": "int" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" } ] }, { - "name": "tgeography_in", + "name": "adjacent_stbox_tspatial", "file": "meos_geo.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "str", - "cType": "const char *", - "canonical": "const char *" + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "tgeometry_from_mfjson", + "name": "adjacent_tspatial_stbox", "file": "meos_geo.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "str", - "cType": "const char *", - "canonical": "const char *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" } ] }, { - "name": "tgeometry_in", + "name": "adjacent_tspatial_tspatial", "file": "meos_geo.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "str", - "cType": "const char *", - "canonical": "const char *" + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "tgeompoint_from_mfjson", + "name": "contained_stbox_tspatial", "file": "meos_geo.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "str", - "cType": "const char *", - "canonical": "const char *" + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "tgeompoint_in", + "name": "contained_tspatial_stbox", "file": "meos_geo.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "str", - "cType": "const char *", - "canonical": "const char *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" } ] }, { - "name": "tspatial_as_ewkt", + "name": "contained_tspatial_tspatial", "file": "meos_geo.h", "returnType": { - "c": "char *", - "canonical": "char *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "temp", + "name": "temp1", "cType": "const Temporal *", "canonical": "const Temporal *" }, { - "name": "maxdd", - "cType": "int", - "canonical": "int" + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "tspatial_as_text", + "name": "contains_stbox_tspatial", "file": "meos_geo.h", "returnType": { - "c": "char *", - "canonical": "char *" + "c": "bool", + "canonical": "bool" }, "params": [ + { + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" + }, { "name": "temp", "cType": "const Temporal *", "canonical": "const Temporal *" - }, - { - "name": "maxdd", - "cType": "int", - "canonical": "int" } ] }, { - "name": "tspatial_out", + "name": "contains_tspatial_stbox", "file": "meos_geo.h", "returnType": { - "c": "char *", - "canonical": "char *" + "c": "bool", + "canonical": "bool" }, "params": [ { @@ -32061,380 +33024,345 @@ "canonical": "const Temporal *" }, { - "name": "maxdd", - "cType": "int", - "canonical": "int" + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" } ] }, { - "name": "tgeo_from_base_temp", + "name": "contains_tspatial_tspatial", "file": "meos_geo.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" }, { - "name": "temp", + "name": "temp2", "cType": "const Temporal *", "canonical": "const Temporal *" } ] }, { - "name": "tgeoinst_make", + "name": "overlaps_stbox_tspatial", "file": "meos_geo.h", "returnType": { - "c": "TInstant *", - "canonical": "struct TInstant *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" }, { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "tgeoseq_from_base_tstzset", + "name": "overlaps_tspatial_stbox", "file": "meos_geo.h", "returnType": { - "c": "TSequence *", - "canonical": "struct TSequence *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" }, { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" } ] }, { - "name": "tgeoseq_from_base_tstzspan", + "name": "overlaps_tspatial_tspatial", "file": "meos_geo.h", "returnType": { - "c": "TSequence *", - "canonical": "struct TSequence *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" - }, - { - "name": "s", - "cType": "const Span *", - "canonical": "const struct Span *" + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" }, { - "name": "interp", - "cType": "interpType", - "canonical": "interpType" + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "tgeoseqset_from_base_tstzspanset", + "name": "same_stbox_tspatial", "file": "meos_geo.h", "returnType": { - "c": "TSequenceSet *", - "canonical": "struct TSequenceSet *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" - }, - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const struct SpanSet *" + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" }, { - "name": "interp", - "cType": "interpType", - "canonical": "interpType" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "tpoint_from_base_temp", + "name": "same_tspatial_stbox", "file": "meos_geo.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "bool", + "canonical": "bool" }, "params": [ - { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" - }, { "name": "temp", "cType": "const Temporal *", "canonical": "const Temporal *" + }, + { + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" } ] }, { - "name": "tpointinst_make", + "name": "same_tspatial_tspatial", "file": "meos_geo.h", "returnType": { - "c": "TInstant *", - "canonical": "struct TInstant *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" }, { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "tpointseq_from_base_tstzset", + "name": "above_stbox_tspatial", "file": "meos_geo.h", "returnType": { - "c": "TSequence *", - "canonical": "struct TSequence *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" }, { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "tpointseq_from_base_tstzspan", + "name": "above_tspatial_stbox", "file": "meos_geo.h", "returnType": { - "c": "TSequence *", - "canonical": "struct TSequence *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" - }, - { - "name": "s", - "cType": "const Span *", - "canonical": "const struct Span *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" }, { - "name": "interp", - "cType": "interpType", - "canonical": "interpType" + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" } ] }, { - "name": "tpointseq_make_coords", + "name": "above_tspatial_tspatial", "file": "meos_geo.h", "returnType": { - "c": "TSequence *", - "canonical": "struct TSequence *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "xcoords", - "cType": "const double *", - "canonical": "const double *" - }, - { - "name": "ycoords", - "cType": "const double *", - "canonical": "const double *" - }, - { - "name": "zcoords", - "cType": "const double *", - "canonical": "const double *" - }, - { - "name": "times", - "cType": "const TimestampTz *", - "canonical": "const long *" - }, - { - "name": "count", - "cType": "int", - "canonical": "int" - }, - { - "name": "srid", - "cType": "int32", - "canonical": "int" - }, - { - "name": "geodetic", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "lower_inc", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "upper_inc", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "interp", - "cType": "interpType", - "canonical": "interpType" + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" }, { - "name": "normalize", - "cType": "bool", - "canonical": "bool" + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "tpointseqset_from_base_tstzspanset", + "name": "after_stbox_tspatial", "file": "meos_geo.h", "returnType": { - "c": "TSequenceSet *", - "canonical": "struct TSequenceSet *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" - }, - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const struct SpanSet *" + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" }, { - "name": "interp", - "cType": "interpType", - "canonical": "interpType" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "box3d_to_stbox", + "name": "after_tspatial_stbox", "file": "meos_geo.h", "returnType": { - "c": "STBox *", - "canonical": "struct STBox *" + "c": "bool", + "canonical": "bool" }, "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, { "name": "box", - "cType": "const int *", - "canonical": "const int *" + "cType": "const STBox *", + "canonical": "const struct STBox *" } ] }, { - "name": "gbox_to_stbox", + "name": "after_tspatial_tspatial", "file": "meos_geo.h", "returnType": { - "c": "STBox *", - "canonical": "struct STBox *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "box", - "cType": "const int *", - "canonical": "const int *" + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "geomeas_to_tpoint", + "name": "back_stbox_tspatial", "file": "meos_geo.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "tgeogpoint_to_tgeography", + "name": "back_tspatial_stbox", "file": "meos_geo.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "bool", + "canonical": "bool" }, "params": [ { "name": "temp", "cType": "const Temporal *", "canonical": "const Temporal *" + }, + { + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" } ] }, { - "name": "tgeography_to_tgeogpoint", + "name": "back_tspatial_tspatial", "file": "meos_geo.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "temp", + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", "cType": "const Temporal *", "canonical": "const Temporal *" } ] }, { - "name": "tgeography_to_tgeometry", + "name": "before_stbox_tspatial", "file": "meos_geo.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "bool", + "canonical": "bool" }, "params": [ + { + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" + }, { "name": "temp", "cType": "const Temporal *", @@ -32443,43 +33371,58 @@ ] }, { - "name": "tgeometry_to_tgeography", + "name": "before_tspatial_stbox", "file": "meos_geo.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "bool", + "canonical": "bool" }, "params": [ { "name": "temp", "cType": "const Temporal *", "canonical": "const Temporal *" + }, + { + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" } ] }, { - "name": "tgeometry_to_tgeompoint", + "name": "before_tspatial_tspatial", "file": "meos_geo.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "temp", + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", "cType": "const Temporal *", "canonical": "const Temporal *" } ] }, { - "name": "tgeompoint_to_tgeometry", + "name": "below_stbox_tspatial", "file": "meos_geo.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "bool", + "canonical": "bool" }, "params": [ + { + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" + }, { "name": "temp", "cType": "const Temporal *", @@ -32488,7 +33431,7 @@ ] }, { - "name": "tpoint_as_mvtgeom", + "name": "below_tspatial_stbox", "file": "meos_geo.h", "returnType": { "c": "bool", @@ -32501,44 +33444,14 @@ "canonical": "const Temporal *" }, { - "name": "bounds", + "name": "box", "cType": "const STBox *", "canonical": "const struct STBox *" - }, - { - "name": "extent", - "cType": "int32_t", - "canonical": "int" - }, - { - "name": "buffer", - "cType": "int32_t", - "canonical": "int" - }, - { - "name": "clip_geom", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "gsarr", - "cType": "int **", - "canonical": "int **" - }, - { - "name": "timesarr", - "cType": "int64 **", - "canonical": "long **" - }, - { - "name": "count", - "cType": "int *", - "canonical": "int *" } ] }, { - "name": "tpoint_tfloat_to_geomeas", + "name": "below_tspatial_tspatial", "file": "meos_geo.h", "returnType": { "c": "bool", @@ -32546,35 +33459,30 @@ }, "params": [ { - "name": "tpoint", + "name": "temp1", "cType": "const Temporal *", "canonical": "const Temporal *" }, { - "name": "measure", + "name": "temp2", "cType": "const Temporal *", "canonical": "const Temporal *" - }, - { - "name": "segmentize", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "result", - "cType": "int **", - "canonical": "int **" } ] }, { - "name": "tspatial_to_stbox", + "name": "front_stbox_tspatial", "file": "meos_geo.h", "returnType": { - "c": "STBox *", - "canonical": "struct STBox *" + "c": "bool", + "canonical": "bool" }, "params": [ + { + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" + }, { "name": "temp", "cType": "const Temporal *", @@ -32583,37 +33491,12 @@ ] }, { - "name": "bearing_point_point", + "name": "front_tspatial_stbox", "file": "meos_geo.h", "returnType": { "c": "bool", "canonical": "bool" }, - "params": [ - { - "name": "gs1", - "cType": "const int *", - "canonical": "const int *" - }, - { - "name": "gs2", - "cType": "const int *", - "canonical": "const int *" - }, - { - "name": "result", - "cType": "double *", - "canonical": "double *" - } - ] - }, - { - "name": "bearing_tpoint_point", - "file": "meos_geo.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, "params": [ { "name": "temp", @@ -32621,23 +33504,18 @@ "canonical": "const Temporal *" }, { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" - }, - { - "name": "invert", - "cType": "bool", - "canonical": "bool" + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" } ] }, { - "name": "bearing_tpoint_tpoint", + "name": "front_tspatial_tspatial", "file": "meos_geo.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "bool", + "canonical": "bool" }, "params": [ { @@ -32653,13 +33531,18 @@ ] }, { - "name": "tgeo_centroid", + "name": "left_stbox_tspatial", "file": "meos_geo.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "bool", + "canonical": "bool" }, "params": [ + { + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" + }, { "name": "temp", "cType": "const Temporal *", @@ -32668,43 +33551,58 @@ ] }, { - "name": "tgeo_convex_hull", + "name": "left_tspatial_stbox", "file": "meos_geo.h", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "bool", + "canonical": "bool" }, "params": [ { "name": "temp", "cType": "const Temporal *", "canonical": "const Temporal *" + }, + { + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" } ] }, { - "name": "tgeo_end_value", + "name": "left_tspatial_tspatial", "file": "meos_geo.h", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "temp", + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", "cType": "const Temporal *", "canonical": "const Temporal *" } ] }, { - "name": "tgeo_start_value", + "name": "overabove_stbox_tspatial", "file": "meos_geo.h", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "bool", + "canonical": "bool" }, "params": [ + { + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" + }, { "name": "temp", "cType": "const Temporal *", @@ -32713,11 +33611,11 @@ ] }, { - "name": "tgeo_traversed_area", + "name": "overabove_tspatial_stbox", "file": "meos_geo.h", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "bool", + "canonical": "bool" }, "params": [ { @@ -32726,14 +33624,14 @@ "canonical": "const Temporal *" }, { - "name": "unary_union", - "cType": "bool", - "canonical": "bool" + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" } ] }, { - "name": "tgeo_value_at_timestamptz", + "name": "overabove_tspatial_tspatial", "file": "meos_geo.h", "returnType": { "c": "bool", @@ -32741,58 +33639,43 @@ }, "params": [ { - "name": "temp", + "name": "temp1", "cType": "const Temporal *", "canonical": "const Temporal *" }, { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" - }, - { - "name": "strict", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "value", - "cType": "int **", - "canonical": "int **" + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "tgeo_value_n", + "name": "overafter_stbox_tspatial", "file": "meos_geo.h", "returnType": { "c": "bool", "canonical": "bool" }, "params": [ + { + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" + }, { "name": "temp", "cType": "const Temporal *", "canonical": "const Temporal *" - }, - { - "name": "n", - "cType": "int", - "canonical": "int" - }, - { - "name": "result", - "cType": "int **", - "canonical": "int **" } ] }, { - "name": "tgeo_values", + "name": "overafter_tspatial_stbox", "file": "meos_geo.h", "returnType": { - "c": "int **", - "canonical": "int **" + "c": "bool", + "canonical": "bool" }, "params": [ { @@ -32801,50 +33684,45 @@ "canonical": "const Temporal *" }, { - "name": "count", - "cType": "int *", - "canonical": "int *" + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" } ] }, { - "name": "tpoint_angular_difference", + "name": "overafter_tspatial_tspatial", "file": "meos_geo.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "temp", + "name": "temp1", "cType": "const Temporal *", "canonical": "const Temporal *" - } - ] - }, - { - "name": "tpoint_azimuth", - "file": "meos_geo.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ + }, { - "name": "temp", + "name": "temp2", "cType": "const Temporal *", "canonical": "const Temporal *" } ] }, { - "name": "tpoint_cumulative_length", + "name": "overback_stbox_tspatial", "file": "meos_geo.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "bool", + "canonical": "bool" }, "params": [ + { + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" + }, { "name": "temp", "cType": "const Temporal *", @@ -32853,7 +33731,7 @@ ] }, { - "name": "tpoint_direction", + "name": "overback_tspatial_stbox", "file": "meos_geo.h", "returnType": { "c": "bool", @@ -32866,50 +33744,45 @@ "canonical": "const Temporal *" }, { - "name": "result", - "cType": "double *", - "canonical": "double *" + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" } ] }, { - "name": "tpoint_get_x", + "name": "overback_tspatial_tspatial", "file": "meos_geo.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "temp", + "name": "temp1", "cType": "const Temporal *", "canonical": "const Temporal *" - } - ] - }, - { - "name": "tpoint_get_y", - "file": "meos_geo.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ + }, { - "name": "temp", + "name": "temp2", "cType": "const Temporal *", "canonical": "const Temporal *" } ] }, { - "name": "tpoint_get_z", + "name": "overbefore_stbox_tspatial", "file": "meos_geo.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "bool", + "canonical": "bool" }, "params": [ + { + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" + }, { "name": "temp", "cType": "const Temporal *", @@ -32918,7 +33791,7 @@ ] }, { - "name": "tpoint_is_simple", + "name": "overbefore_tspatial_stbox", "file": "meos_geo.h", "returnType": { "c": "bool", @@ -32929,54 +33802,60 @@ "name": "temp", "cType": "const Temporal *", "canonical": "const Temporal *" + }, + { + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" } ] }, { - "name": "tpoint_length", + "name": "overbefore_tspatial_tspatial", "file": "meos_geo.h", "returnType": { - "c": "double", - "canonical": "double" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "temp", + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", "cType": "const Temporal *", "canonical": "const Temporal *" } ] }, { - "name": "tpoint_speed", + "name": "overbelow_stbox_tspatial", "file": "meos_geo.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "bool", + "canonical": "bool" }, "params": [ + { + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" + }, { "name": "temp", "cType": "const Temporal *", "canonical": "const Temporal *" } - ], - "ownership": "caller", - "nullable": true, - "doc": "Computes the instantaneous speed of a temporal point.", - "meos": { - "temporalDim": "sequence", - "spatialDim": null, - "interpolation": true, - "subtype": "TPoint" - } + ] }, { - "name": "tpoint_trajectory", + "name": "overbelow_tspatial_stbox", "file": "meos_geo.h", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "bool", + "canonical": "bool" }, "params": [ { @@ -32985,53 +33864,58 @@ "canonical": "const Temporal *" }, { - "name": "unary_union", - "cType": "bool", - "canonical": "bool" + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" } ] }, { - "name": "tpoint_twcentroid", + "name": "overbelow_tspatial_tspatial", "file": "meos_geo.h", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "temp", + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", "cType": "const Temporal *", "canonical": "const Temporal *" } ] }, { - "name": "tgeo_affine", + "name": "overfront_stbox_tspatial", "file": "meos_geo.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "bool", + "canonical": "bool" }, "params": [ + { + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" + }, { "name": "temp", "cType": "const Temporal *", "canonical": "const Temporal *" - }, - { - "name": "a", - "cType": "const int *", - "canonical": "const int *" } ] }, { - "name": "tgeo_scale", + "name": "overfront_tspatial_stbox", "file": "meos_geo.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "bool", + "canonical": "bool" }, "params": [ { @@ -33040,78 +33924,58 @@ "canonical": "const Temporal *" }, { - "name": "scale", - "cType": "const int *", - "canonical": "const int *" - }, - { - "name": "sorigin", - "cType": "const int *", - "canonical": "const int *" + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" } ] }, { - "name": "tpoint_make_simple", + "name": "overfront_tspatial_tspatial", "file": "meos_geo.h", "returnType": { - "c": "Temporal **", - "canonical": "Temporal **" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "temp", + "name": "temp1", "cType": "const Temporal *", "canonical": "const Temporal *" }, { - "name": "count", - "cType": "int *", - "canonical": "int *" - } - ] - }, - { - "name": "tspatial_srid", - "file": "meos_geo.h", - "returnType": { - "c": "int32_t", - "canonical": "int" - }, - "params": [ - { - "name": "temp", + "name": "temp2", "cType": "const Temporal *", "canonical": "const Temporal *" } ] }, { - "name": "tspatial_set_srid", + "name": "overleft_stbox_tspatial", "file": "meos_geo.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "bool", + "canonical": "bool" }, "params": [ + { + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" + }, { "name": "temp", "cType": "const Temporal *", "canonical": "const Temporal *" - }, - { - "name": "srid", - "cType": "int32_t", - "canonical": "int" } ] }, { - "name": "tspatial_transform", + "name": "overleft_tspatial_stbox", "file": "meos_geo.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "bool", + "canonical": "bool" }, "params": [ { @@ -33120,68 +33984,58 @@ "canonical": "const Temporal *" }, { - "name": "srid", - "cType": "int32_t", - "canonical": "int" + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" } ] }, { - "name": "tspatial_transform_pipeline", + "name": "overleft_tspatial_tspatial", "file": "meos_geo.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "temp", + "name": "temp1", "cType": "const Temporal *", "canonical": "const Temporal *" }, { - "name": "pipelinestr", - "cType": "const char *", - "canonical": "const char *" - }, - { - "name": "srid", - "cType": "int32_t", - "canonical": "int" - }, - { - "name": "is_forward", - "cType": "bool", - "canonical": "bool" + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "tgeo_at_geom", + "name": "overright_stbox_tspatial", "file": "meos_geo.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "bool", + "canonical": "bool" }, "params": [ + { + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" + }, { "name": "temp", "cType": "const Temporal *", "canonical": "const Temporal *" - }, - { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" } ] }, { - "name": "tgeo_at_stbox", + "name": "overright_tspatial_stbox", "file": "meos_geo.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "bool", + "canonical": "bool" }, "params": [ { @@ -33193,60 +34047,55 @@ "name": "box", "cType": "const STBox *", "canonical": "const struct STBox *" - }, - { - "name": "border_inc", - "cType": "bool", - "canonical": "bool" } ] }, { - "name": "tgeo_at_value", + "name": "overright_tspatial_tspatial", "file": "meos_geo.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "temp", + "name": "temp1", "cType": "const Temporal *", "canonical": "const Temporal *" }, { - "name": "gs", - "cType": "int *", - "canonical": "int *" + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "tgeo_minus_geom", + "name": "right_stbox_tspatial", "file": "meos_geo.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "bool", + "canonical": "bool" }, "params": [ + { + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" + }, { "name": "temp", "cType": "const Temporal *", "canonical": "const Temporal *" - }, - { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" } ] }, { - "name": "tgeo_minus_stbox", + "name": "right_tspatial_stbox", "file": "meos_geo.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "bool", + "canonical": "bool" }, "params": [ { @@ -33258,60 +34107,55 @@ "name": "box", "cType": "const STBox *", "canonical": "const struct STBox *" - }, - { - "name": "border_inc", - "cType": "bool", - "canonical": "bool" } ] }, { - "name": "tgeo_minus_value", + "name": "right_tspatial_tspatial", "file": "meos_geo.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "temp", + "name": "temp1", "cType": "const Temporal *", "canonical": "const Temporal *" }, { - "name": "gs", - "cType": "int *", - "canonical": "int *" + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "tpoint_at_elevation", + "name": "acontains_geo_tgeo", "file": "meos_geo.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "int", + "canonical": "int" }, "params": [ + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + }, { "name": "temp", "cType": "const Temporal *", "canonical": "const Temporal *" - }, - { - "name": "s", - "cType": "const Span *", - "canonical": "const struct Span *" } ] }, { - "name": "tpoint_at_geom", + "name": "acontains_tgeo_geo", "file": "meos_geo.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "int", + "canonical": "int" }, "params": [ { @@ -33327,51 +34171,51 @@ ] }, { - "name": "tpoint_at_value", + "name": "acontains_tgeo_tgeo", "file": "meos_geo.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "temp", + "name": "temp1", "cType": "const Temporal *", "canonical": "const Temporal *" }, { - "name": "gs", - "cType": "int *", - "canonical": "int *" + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "tpoint_minus_elevation", + "name": "acovers_geo_tgeo", "file": "meos_geo.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "int", + "canonical": "int" }, "params": [ + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + }, { "name": "temp", "cType": "const Temporal *", "canonical": "const Temporal *" - }, - { - "name": "s", - "cType": "const Span *", - "canonical": "const struct Span *" } ] }, { - "name": "tpoint_minus_geom", + "name": "acovers_tgeo_geo", "file": "meos_geo.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "int", + "canonical": "int" }, "params": [ { @@ -33387,47 +34231,47 @@ ] }, { - "name": "tpoint_minus_value", + "name": "acovers_tgeo_tgeo", "file": "meos_geo.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "temp", + "name": "temp1", "cType": "const Temporal *", "canonical": "const Temporal *" }, { - "name": "gs", - "cType": "int *", - "canonical": "int *" + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "always_eq_geo_tgeo", + "name": "adisjoint_tgeo_geo", "file": "meos_geo.h", "returnType": { "c": "int", "canonical": "int" }, "params": [ - { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" - }, { "name": "temp", "cType": "const Temporal *", "canonical": "const Temporal *" + }, + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" } ] }, { - "name": "always_eq_tgeo_geo", + "name": "adisjoint_tgeo_tgeo", "file": "meos_geo.h", "returnType": { "c": "int", @@ -33435,19 +34279,19 @@ }, "params": [ { - "name": "temp", + "name": "temp1", "cType": "const Temporal *", "canonical": "const Temporal *" }, { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "always_eq_tgeo_tgeo", + "name": "adwithin_tgeo_geo", "file": "meos_geo.h", "returnType": { "c": "int", @@ -33455,19 +34299,24 @@ }, "params": [ { - "name": "temp1", + "name": "temp", "cType": "const Temporal *", "canonical": "const Temporal *" }, { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "dist", + "cType": "double", + "canonical": "double" } ] }, { - "name": "always_ne_geo_tgeo", + "name": "adwithin_tgeo_tgeo", "file": "meos_geo.h", "returnType": { "c": "int", @@ -33475,19 +34324,24 @@ }, "params": [ { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" }, { - "name": "temp", + "name": "temp2", "cType": "const Temporal *", "canonical": "const Temporal *" + }, + { + "name": "dist", + "cType": "double", + "canonical": "double" } ] }, { - "name": "always_ne_tgeo_geo", + "name": "aintersects_tgeo_geo", "file": "meos_geo.h", "returnType": { "c": "int", @@ -33507,7 +34361,7 @@ ] }, { - "name": "always_ne_tgeo_tgeo", + "name": "aintersects_tgeo_tgeo", "file": "meos_geo.h", "returnType": { "c": "int", @@ -33527,27 +34381,27 @@ ] }, { - "name": "ever_eq_geo_tgeo", + "name": "atouches_tgeo_geo", "file": "meos_geo.h", "returnType": { "c": "int", "canonical": "int" }, "params": [ - { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" - }, { "name": "temp", "cType": "const Temporal *", "canonical": "const Temporal *" + }, + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" } ] }, { - "name": "ever_eq_tgeo_geo", + "name": "atouches_tgeo_tgeo", "file": "meos_geo.h", "returnType": { "c": "int", @@ -33555,19 +34409,19 @@ }, "params": [ { - "name": "temp", + "name": "temp1", "cType": "const Temporal *", "canonical": "const Temporal *" }, { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "ever_eq_tgeo_tgeo", + "name": "atouches_tpoint_geo", "file": "meos_geo.h", "returnType": { "c": "int", @@ -33575,19 +34429,19 @@ }, "params": [ { - "name": "temp1", + "name": "temp", "cType": "const Temporal *", "canonical": "const Temporal *" }, { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "gs", + "cType": "const int *", + "canonical": "const int *" } ] }, { - "name": "ever_ne_geo_tgeo", + "name": "econtains_geo_tgeo", "file": "meos_geo.h", "returnType": { "c": "int", @@ -33607,7 +34461,7 @@ ] }, { - "name": "ever_ne_tgeo_geo", + "name": "econtains_tgeo_geo", "file": "meos_geo.h", "returnType": { "c": "int", @@ -33627,7 +34481,7 @@ ] }, { - "name": "ever_ne_tgeo_tgeo", + "name": "econtains_tgeo_tgeo", "file": "meos_geo.h", "returnType": { "c": "int", @@ -33647,11 +34501,11 @@ ] }, { - "name": "teq_geo_tgeo", + "name": "ecovers_geo_tgeo", "file": "meos_geo.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "int", + "canonical": "int" }, "params": [ { @@ -33667,11 +34521,11 @@ ] }, { - "name": "teq_tgeo_geo", + "name": "ecovers_tgeo_geo", "file": "meos_geo.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "int", + "canonical": "int" }, "params": [ { @@ -33687,31 +34541,31 @@ ] }, { - "name": "tne_geo_tgeo", + "name": "ecovers_tgeo_tgeo", "file": "meos_geo.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" }, { - "name": "temp", + "name": "temp2", "cType": "const Temporal *", "canonical": "const Temporal *" } ] }, { - "name": "tne_tgeo_geo", + "name": "edisjoint_tgeo_geo", "file": "meos_geo.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "int", + "canonical": "int" }, "params": [ { @@ -33727,31 +34581,31 @@ ] }, { - "name": "tgeo_stboxes", + "name": "edisjoint_tgeo_tgeo", "file": "meos_geo.h", "returnType": { - "c": "STBox *", - "canonical": "struct STBox *" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "temp", + "name": "temp1", "cType": "const Temporal *", "canonical": "const Temporal *" }, { - "name": "count", - "cType": "int *", - "canonical": "int *" + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "tgeo_space_boxes", + "name": "edwithin_tgeo_geo", "file": "meos_geo.h", "returnType": { - "c": "STBox *", - "canonical": "struct STBox *" + "c": "int", + "canonical": "int" }, "params": [ { @@ -33760,108 +34614,48 @@ "canonical": "const Temporal *" }, { - "name": "xsize", - "cType": "double", - "canonical": "double" - }, - { - "name": "ysize", - "cType": "double", - "canonical": "double" - }, - { - "name": "zsize", - "cType": "double", - "canonical": "double" - }, - { - "name": "sorigin", + "name": "gs", "cType": "const int *", "canonical": "const int *" }, { - "name": "bitmatrix", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "border_inc", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "count", - "cType": "int *", - "canonical": "int *" + "name": "dist", + "cType": "double", + "canonical": "double" } ] }, { - "name": "tgeo_space_time_boxes", + "name": "edwithin_tgeo_tgeo", "file": "meos_geo.h", "returnType": { - "c": "STBox *", - "canonical": "struct STBox *" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "temp", + "name": "temp1", "cType": "const Temporal *", "canonical": "const Temporal *" }, { - "name": "xsize", - "cType": "double", - "canonical": "double" - }, - { - "name": "ysize", - "cType": "double", - "canonical": "double" + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" }, { - "name": "zsize", + "name": "dist", "cType": "double", "canonical": "double" - }, - { - "name": "duration", - "cType": "const int *", - "canonical": "const int *" - }, - { - "name": "sorigin", - "cType": "const int *", - "canonical": "const int *" - }, - { - "name": "torigin", - "cType": "TimestampTz", - "canonical": "long" - }, - { - "name": "bitmatrix", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "border_inc", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "count", - "cType": "int *", - "canonical": "int *" } ] }, { - "name": "tgeo_split_each_n_stboxes", + "name": "eintersects_tgeo_geo", "file": "meos_geo.h", "returnType": { - "c": "STBox *", - "canonical": "struct STBox *" + "c": "int", + "canonical": "int" }, "params": [ { @@ -33870,114 +34664,104 @@ "canonical": "const Temporal *" }, { - "name": "elem_count", - "cType": "int", - "canonical": "int" - }, - { - "name": "count", - "cType": "int *", - "canonical": "int *" + "name": "gs", + "cType": "const int *", + "canonical": "const int *" } ] }, { - "name": "tgeo_split_n_stboxes", + "name": "eintersects_tgeo_tgeo", "file": "meos_geo.h", "returnType": { - "c": "STBox *", - "canonical": "struct STBox *" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "temp", + "name": "temp1", "cType": "const Temporal *", "canonical": "const Temporal *" }, { - "name": "box_count", - "cType": "int", - "canonical": "int" - }, - { - "name": "count", - "cType": "int *", - "canonical": "int *" + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "adjacent_stbox_tspatial", + "name": "etouches_tgeo_geo", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "int", + "canonical": "int" }, "params": [ - { - "name": "box", - "cType": "const STBox *", - "canonical": "const struct STBox *" - }, { "name": "temp", "cType": "const Temporal *", "canonical": "const Temporal *" + }, + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" } ] }, { - "name": "adjacent_tspatial_stbox", + "name": "etouches_tgeo_tgeo", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "temp", + "name": "temp1", "cType": "const Temporal *", "canonical": "const Temporal *" }, { - "name": "box", - "cType": "const STBox *", - "canonical": "const struct STBox *" + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "adjacent_tspatial_tspatial", + "name": "etouches_tpoint_geo", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "temp1", + "name": "temp", "cType": "const Temporal *", "canonical": "const Temporal *" }, { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "gs", + "cType": "const int *", + "canonical": "const int *" } ] }, { - "name": "contained_stbox_tspatial", + "name": "tcontains_geo_tgeo", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "box", - "cType": "const STBox *", - "canonical": "const struct STBox *" + "name": "gs", + "cType": "const int *", + "canonical": "const int *" }, { "name": "temp", @@ -33987,11 +34771,11 @@ ] }, { - "name": "contained_tspatial_stbox", + "name": "tcontains_tgeo_geo", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { @@ -34000,18 +34784,18 @@ "canonical": "const Temporal *" }, { - "name": "box", - "cType": "const STBox *", - "canonical": "const struct STBox *" + "name": "gs", + "cType": "const int *", + "canonical": "const int *" } ] }, { - "name": "contained_tspatial_tspatial", + "name": "tcontains_tgeo_tgeo", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { @@ -34027,17 +34811,17 @@ ] }, { - "name": "contains_stbox_tspatial", + "name": "tcovers_geo_tgeo", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "box", - "cType": "const STBox *", - "canonical": "const struct STBox *" + "name": "gs", + "cType": "const int *", + "canonical": "const int *" }, { "name": "temp", @@ -34047,11 +34831,11 @@ ] }, { - "name": "contains_tspatial_stbox", + "name": "tcovers_tgeo_geo", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { @@ -34060,18 +34844,18 @@ "canonical": "const Temporal *" }, { - "name": "box", - "cType": "const STBox *", - "canonical": "const struct STBox *" + "name": "gs", + "cType": "const int *", + "canonical": "const int *" } ] }, { - "name": "contains_tspatial_tspatial", + "name": "tcovers_tgeo_tgeo", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { @@ -34087,17 +34871,17 @@ ] }, { - "name": "overlaps_stbox_tspatial", + "name": "tdisjoint_geo_tgeo", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "box", - "cType": "const STBox *", - "canonical": "const struct STBox *" + "name": "gs", + "cType": "const int *", + "canonical": "const int *" }, { "name": "temp", @@ -34107,11 +34891,11 @@ ] }, { - "name": "overlaps_tspatial_stbox", + "name": "tdisjoint_tgeo_geo", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { @@ -34120,18 +34904,18 @@ "canonical": "const Temporal *" }, { - "name": "box", - "cType": "const STBox *", - "canonical": "const struct STBox *" + "name": "gs", + "cType": "const int *", + "canonical": "const int *" } ] }, { - "name": "overlaps_tspatial_tspatial", + "name": "tdisjoint_tgeo_tgeo", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { @@ -34147,31 +34931,36 @@ ] }, { - "name": "same_stbox_tspatial", + "name": "tdwithin_geo_tgeo", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "box", - "cType": "const STBox *", - "canonical": "const struct STBox *" + "name": "gs", + "cType": "const int *", + "canonical": "const int *" }, { "name": "temp", "cType": "const Temporal *", "canonical": "const Temporal *" + }, + { + "name": "dist", + "cType": "double", + "canonical": "double" } ] }, { - "name": "same_tspatial_stbox", + "name": "tdwithin_tgeo_geo", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { @@ -34180,18 +34969,23 @@ "canonical": "const Temporal *" }, { - "name": "box", - "cType": "const STBox *", - "canonical": "const struct STBox *" + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "dist", + "cType": "double", + "canonical": "double" } ] }, { - "name": "same_tspatial_tspatial", + "name": "tdwithin_tgeo_tgeo", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { @@ -34203,21 +34997,26 @@ "name": "temp2", "cType": "const Temporal *", "canonical": "const Temporal *" + }, + { + "name": "dist", + "cType": "double", + "canonical": "double" } ] }, { - "name": "above_stbox_tspatial", + "name": "tintersects_geo_tgeo", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "box", - "cType": "const STBox *", - "canonical": "const struct STBox *" + "name": "gs", + "cType": "const int *", + "canonical": "const int *" }, { "name": "temp", @@ -34227,11 +35026,11 @@ ] }, { - "name": "above_tspatial_stbox", + "name": "tintersects_tgeo_geo", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { @@ -34240,18 +35039,18 @@ "canonical": "const Temporal *" }, { - "name": "box", - "cType": "const STBox *", - "canonical": "const struct STBox *" + "name": "gs", + "cType": "const int *", + "canonical": "const int *" } ] }, { - "name": "above_tspatial_tspatial", + "name": "tintersects_tgeo_tgeo", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { @@ -34267,17 +35066,17 @@ ] }, { - "name": "after_stbox_tspatial", + "name": "ttouches_geo_tgeo", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "box", - "cType": "const STBox *", - "canonical": "const struct STBox *" + "name": "gs", + "cType": "const int *", + "canonical": "const int *" }, { "name": "temp", @@ -34287,11 +35086,11 @@ ] }, { - "name": "after_tspatial_stbox", + "name": "ttouches_tgeo_geo", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { @@ -34300,18 +35099,18 @@ "canonical": "const Temporal *" }, { - "name": "box", - "cType": "const STBox *", - "canonical": "const struct STBox *" + "name": "gs", + "cType": "const int *", + "canonical": "const int *" } ] }, { - "name": "after_tspatial_tspatial", + "name": "ttouches_tgeo_tgeo", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { @@ -34327,31 +35126,11 @@ ] }, { - "name": "back_stbox_tspatial", + "name": "tdistance_tgeo_geo", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "box", - "cType": "const STBox *", - "canonical": "const struct STBox *" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "back_tspatial_stbox", - "file": "meos_geo.h", - "returnType": { - "c": "bool", - "canonical": "bool" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { @@ -34360,18 +35139,18 @@ "canonical": "const Temporal *" }, { - "name": "box", - "cType": "const STBox *", - "canonical": "const struct STBox *" + "name": "gs", + "cType": "const int *", + "canonical": "const int *" } ] }, { - "name": "back_tspatial_tspatial", + "name": "tdistance_tgeo_tgeo", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { @@ -34387,11 +35166,11 @@ ] }, { - "name": "before_stbox_tspatial", + "name": "nad_stbox_geo", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "double", + "canonical": "double" }, "params": [ { @@ -34400,78 +35179,58 @@ "canonical": "const struct STBox *" }, { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "gs", + "cType": "const int *", + "canonical": "const int *" } ] }, { - "name": "before_tspatial_stbox", + "name": "nad_stbox_stbox", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "double", + "canonical": "double" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "box1", + "cType": "const STBox *", + "canonical": "const struct STBox *" }, { - "name": "box", + "name": "box2", "cType": "const STBox *", "canonical": "const struct STBox *" } ] }, { - "name": "before_tspatial_tspatial", + "name": "nad_tgeo_geo", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "double", + "canonical": "double" }, "params": [ { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "temp2", + "name": "temp", "cType": "const Temporal *", "canonical": "const Temporal *" - } - ] - }, - { - "name": "below_stbox_tspatial", - "file": "meos_geo.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "box", - "cType": "const STBox *", - "canonical": "const struct STBox *" }, { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "gs", + "cType": "const int *", + "canonical": "const int *" } ] }, { - "name": "below_tspatial_stbox", + "name": "nad_tgeo_stbox", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "double", + "canonical": "double" }, "params": [ { @@ -34487,11 +35246,11 @@ ] }, { - "name": "below_tspatial_tspatial", + "name": "nad_tgeo_tgeo", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "double", + "canonical": "double" }, "params": [ { @@ -34507,31 +35266,11 @@ ] }, { - "name": "front_stbox_tspatial", - "file": "meos_geo.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "box", - "cType": "const STBox *", - "canonical": "const struct STBox *" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "front_tspatial_stbox", + "name": "nai_tgeo_geo", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "TInstant *", + "canonical": "struct TInstant *" }, "params": [ { @@ -34540,18 +35279,18 @@ "canonical": "const Temporal *" }, { - "name": "box", - "cType": "const STBox *", - "canonical": "const struct STBox *" + "name": "gs", + "cType": "const int *", + "canonical": "const int *" } ] }, { - "name": "front_tspatial_tspatial", + "name": "nai_tgeo_tgeo", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "TInstant *", + "canonical": "struct TInstant *" }, "params": [ { @@ -34567,31 +35306,11 @@ ] }, { - "name": "left_stbox_tspatial", - "file": "meos_geo.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "box", - "cType": "const STBox *", - "canonical": "const struct STBox *" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "left_tspatial_stbox", + "name": "shortestline_tgeo_geo", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "int *", + "canonical": "int *" }, "params": [ { @@ -34600,18 +35319,18 @@ "canonical": "const Temporal *" }, { - "name": "box", - "cType": "const STBox *", - "canonical": "const struct STBox *" + "name": "gs", + "cType": "const int *", + "canonical": "const int *" } ] }, { - "name": "left_tspatial_tspatial", + "name": "shortestline_tgeo_tgeo", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "int *", + "canonical": "int *" }, "params": [ { @@ -34627,51 +35346,41 @@ ] }, { - "name": "overabove_stbox_tspatial", + "name": "mindistance_tgeoarr_tgeoarr", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "double", + "canonical": "double" }, "params": [ { - "name": "box", - "cType": "const STBox *", - "canonical": "const struct STBox *" + "name": "arr1", + "cType": "const Temporal **", + "canonical": "const Temporal **" }, { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "overabove_tspatial_stbox", - "file": "meos_geo.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ + "name": "count1", + "cType": "int", + "canonical": "int" + }, { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "arr2", + "cType": "const Temporal **", + "canonical": "const Temporal **" }, { - "name": "box", - "cType": "const STBox *", - "canonical": "const struct STBox *" + "name": "count2", + "cType": "int", + "canonical": "int" } ] }, { - "name": "overabove_tspatial_tspatial", + "name": "mindistance_tgeo_tgeo", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "double", + "canonical": "double" }, "params": [ { @@ -34683,141 +35392,181 @@ "name": "temp2", "cType": "const Temporal *", "canonical": "const Temporal *" + }, + { + "name": "threshold", + "cType": "double", + "canonical": "double" } ] }, { - "name": "overafter_stbox_tspatial", + "name": "edwithin_tgeoarr_tgeoarr", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "int *", + "canonical": "int *" }, "params": [ { - "name": "box", - "cType": "const STBox *", - "canonical": "const struct STBox *" + "name": "arr1", + "cType": "const Temporal **", + "canonical": "const Temporal **" }, { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "overafter_tspatial_stbox", - "file": "meos_geo.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ + "name": "count1", + "cType": "int", + "canonical": "int" + }, { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "arr2", + "cType": "const Temporal **", + "canonical": "const Temporal **" }, { - "name": "box", - "cType": "const STBox *", - "canonical": "const struct STBox *" + "name": "count2", + "cType": "int", + "canonical": "int" + }, + { + "name": "dist", + "cType": "double", + "canonical": "double" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" } ] }, { - "name": "overafter_tspatial_tspatial", + "name": "tdwithin_tgeoarr_tgeoarr", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "int *", + "canonical": "int *" }, "params": [ { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "arr1", + "cType": "const Temporal **", + "canonical": "const Temporal **" }, { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "count1", + "cType": "int", + "canonical": "int" + }, + { + "name": "arr2", + "cType": "const Temporal **", + "canonical": "const Temporal **" + }, + { + "name": "count2", + "cType": "int", + "canonical": "int" + }, + { + "name": "dist", + "cType": "double", + "canonical": "double" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + }, + { + "name": "periods", + "cType": "SpanSet ***", + "canonical": "struct SpanSet ***" } ] }, { - "name": "overback_stbox_tspatial", + "name": "adisjoint_tgeoarr_tgeoarr", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "int *", + "canonical": "int *" }, "params": [ { - "name": "box", - "cType": "const STBox *", - "canonical": "const struct STBox *" + "name": "arr1", + "cType": "const Temporal **", + "canonical": "const Temporal **" }, { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "count1", + "cType": "int", + "canonical": "int" + }, + { + "name": "arr2", + "cType": "const Temporal **", + "canonical": "const Temporal **" + }, + { + "name": "count2", + "cType": "int", + "canonical": "int" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" } ] }, { - "name": "overback_tspatial_stbox", + "name": "tpoint_tcentroid_finalfn", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "box", - "cType": "const STBox *", - "canonical": "const struct STBox *" + "name": "state", + "cType": "SkipList *", + "canonical": "struct SkipList *" } ] }, { - "name": "overback_tspatial_tspatial", + "name": "tpoint_tcentroid_transfn", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "SkipList *", + "canonical": "struct SkipList *" }, "params": [ { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "state", + "cType": "SkipList *", + "canonical": "struct SkipList *" }, { - "name": "temp2", + "name": "temp", "cType": "const Temporal *", "canonical": "const Temporal *" } ] }, { - "name": "overbefore_stbox_tspatial", + "name": "tspatial_extent_transfn", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "STBox *", + "canonical": "struct STBox *" }, "params": [ { "name": "box", - "cType": "const STBox *", - "canonical": "const struct STBox *" + "cType": "STBox *", + "canonical": "struct STBox *" }, { "name": "temp", @@ -34827,131 +35576,256 @@ ] }, { - "name": "overbefore_tspatial_stbox", + "name": "stbox_get_space_tile", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "STBox *", + "canonical": "struct STBox *" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "point", + "cType": "const int *", + "canonical": "const int *" }, { - "name": "box", - "cType": "const STBox *", - "canonical": "const struct STBox *" + "name": "xsize", + "cType": "double", + "canonical": "double" + }, + { + "name": "ysize", + "cType": "double", + "canonical": "double" + }, + { + "name": "zsize", + "cType": "double", + "canonical": "double" + }, + { + "name": "sorigin", + "cType": "const int *", + "canonical": "const int *" } ] }, { - "name": "overbefore_tspatial_tspatial", + "name": "stbox_get_space_time_tile", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "STBox *", + "canonical": "struct STBox *" }, "params": [ { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "point", + "cType": "const int *", + "canonical": "const int *" }, { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "t", + "cType": "TimestampTz", + "canonical": "long" + }, + { + "name": "xsize", + "cType": "double", + "canonical": "double" + }, + { + "name": "ysize", + "cType": "double", + "canonical": "double" + }, + { + "name": "zsize", + "cType": "double", + "canonical": "double" + }, + { + "name": "duration", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "sorigin", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "torigin", + "cType": "TimestampTz", + "canonical": "long" } ] }, { - "name": "overbelow_stbox_tspatial", + "name": "stbox_get_time_tile", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "STBox *", + "canonical": "struct STBox *" }, "params": [ { - "name": "box", - "cType": "const STBox *", - "canonical": "const struct STBox *" + "name": "t", + "cType": "TimestampTz", + "canonical": "long" }, { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "duration", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "torigin", + "cType": "TimestampTz", + "canonical": "long" } ] }, { - "name": "overbelow_tspatial_stbox", + "name": "stbox_space_tiles", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "STBox *", + "canonical": "struct STBox *" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "box", + "name": "bounds", "cType": "const STBox *", "canonical": "const struct STBox *" - } - ] - }, + }, + { + "name": "xsize", + "cType": "double", + "canonical": "double" + }, + { + "name": "ysize", + "cType": "double", + "canonical": "double" + }, + { + "name": "zsize", + "cType": "double", + "canonical": "double" + }, + { + "name": "sorigin", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "border_inc", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, { - "name": "overbelow_tspatial_tspatial", + "name": "stbox_space_time_tiles", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "STBox *", + "canonical": "struct STBox *" }, "params": [ { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "bounds", + "cType": "const STBox *", + "canonical": "const struct STBox *" }, { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "xsize", + "cType": "double", + "canonical": "double" + }, + { + "name": "ysize", + "cType": "double", + "canonical": "double" + }, + { + "name": "zsize", + "cType": "double", + "canonical": "double" + }, + { + "name": "duration", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "sorigin", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "torigin", + "cType": "TimestampTz", + "canonical": "long" + }, + { + "name": "border_inc", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" } ] }, { - "name": "overfront_stbox_tspatial", + "name": "stbox_time_tiles", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "STBox *", + "canonical": "struct STBox *" }, "params": [ { - "name": "box", + "name": "bounds", "cType": "const STBox *", "canonical": "const struct STBox *" }, { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "duration", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "torigin", + "cType": "TimestampTz", + "canonical": "long" + }, + { + "name": "border_inc", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" } ] }, { - "name": "overfront_tspatial_stbox", + "name": "tgeo_space_split", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "SpaceSplit", + "canonical": "struct SpaceSplit" }, "params": [ { @@ -34960,375 +35834,465 @@ "canonical": "const Temporal *" }, { - "name": "box", - "cType": "const STBox *", - "canonical": "const struct STBox *" + "name": "xsize", + "cType": "double", + "canonical": "double" + }, + { + "name": "ysize", + "cType": "double", + "canonical": "double" + }, + { + "name": "zsize", + "cType": "double", + "canonical": "double" + }, + { + "name": "sorigin", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "bitmatrix", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "border_inc", + "cType": "bool", + "canonical": "bool" } ] }, { - "name": "overfront_tspatial_tspatial", + "name": "tgeo_space_time_split", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "SpaceTimeSplit", + "canonical": "struct SpaceTimeSplit" }, "params": [ { - "name": "temp1", + "name": "temp", "cType": "const Temporal *", "canonical": "const Temporal *" }, { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "xsize", + "cType": "double", + "canonical": "double" + }, + { + "name": "ysize", + "cType": "double", + "canonical": "double" + }, + { + "name": "zsize", + "cType": "double", + "canonical": "double" + }, + { + "name": "duration", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "sorigin", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "torigin", + "cType": "TimestampTz", + "canonical": "long" + }, + { + "name": "bitmatrix", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "border_inc", + "cType": "bool", + "canonical": "bool" } ] }, { - "name": "overleft_stbox_tspatial", + "name": "geo_cluster_kmeans", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "int *", + "canonical": "int *" }, "params": [ { - "name": "box", - "cType": "const STBox *", - "canonical": "const struct STBox *" + "name": "geoms", + "cType": "const int **", + "canonical": "const int **" }, { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "ngeoms", + "cType": "uint32_t", + "canonical": "unsigned int" + }, + { + "name": "k", + "cType": "uint32_t", + "canonical": "unsigned int" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" } ] }, { - "name": "overleft_tspatial_stbox", + "name": "geo_cluster_dbscan", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "uint32_t *", + "canonical": "unsigned int *" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "geoms", + "cType": "const int **", + "canonical": "const int **" }, { - "name": "box", - "cType": "const STBox *", - "canonical": "const struct STBox *" + "name": "ngeoms", + "cType": "uint32_t", + "canonical": "unsigned int" + }, + { + "name": "tolerance", + "cType": "double", + "canonical": "double" + }, + { + "name": "minpoints", + "cType": "int", + "canonical": "int" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" } ] }, { - "name": "overleft_tspatial_tspatial", + "name": "geo_cluster_intersecting", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "int **", + "canonical": "int **" }, "params": [ { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "geoms", + "cType": "const int **", + "canonical": "const int **" }, { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "ngeoms", + "cType": "uint32_t", + "canonical": "unsigned int" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" } ] }, { - "name": "overright_stbox_tspatial", + "name": "geo_cluster_within", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "int **", + "canonical": "int **" }, "params": [ { - "name": "box", - "cType": "const STBox *", - "canonical": "const struct STBox *" + "name": "geoms", + "cType": "const int **", + "canonical": "const int **" }, { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "ngeoms", + "cType": "uint32_t", + "canonical": "unsigned int" + }, + { + "name": "tolerance", + "cType": "double", + "canonical": "double" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" } ] }, { - "name": "overright_tspatial_stbox", - "file": "meos_geo.h", + "name": "cbuffer_as_ewkt", + "file": "meos_cbuffer.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "char *", + "canonical": "char *" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" }, { - "name": "box", - "cType": "const STBox *", - "canonical": "const struct STBox *" + "name": "maxdd", + "cType": "int", + "canonical": "int" } ] }, { - "name": "overright_tspatial_tspatial", - "file": "meos_geo.h", + "name": "cbuffer_as_hexwkb", + "file": "meos_cbuffer.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "char *", + "canonical": "char *" }, "params": [ { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" }, { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "variant", + "cType": "uint8_t", + "canonical": "unsigned char" + }, + { + "name": "size", + "cType": "size_t *", + "canonical": "unsigned long *" } ] }, { - "name": "right_stbox_tspatial", - "file": "meos_geo.h", + "name": "cbuffer_as_text", + "file": "meos_cbuffer.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "char *", + "canonical": "char *" }, "params": [ { - "name": "box", - "cType": "const STBox *", - "canonical": "const struct STBox *" + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" }, { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "maxdd", + "cType": "int", + "canonical": "int" } ] }, { - "name": "right_tspatial_stbox", - "file": "meos_geo.h", + "name": "cbuffer_as_wkb", + "file": "meos_cbuffer.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "uint8_t *", + "canonical": "unsigned char *" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" }, { - "name": "box", - "cType": "const STBox *", - "canonical": "const struct STBox *" + "name": "variant", + "cType": "uint8_t", + "canonical": "unsigned char" + }, + { + "name": "size_out", + "cType": "size_t *", + "canonical": "unsigned long *" } ] }, { - "name": "right_tspatial_tspatial", - "file": "meos_geo.h", + "name": "cbuffer_from_hexwkb", + "file": "meos_cbuffer.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "Cbuffer *", + "canonical": "struct Cbuffer *" }, "params": [ { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "hexwkb", + "cType": "const char *", + "canonical": "const char *" } ] }, { - "name": "acontains_geo_tgeo", - "file": "meos_geo.h", + "name": "cbuffer_from_wkb", + "file": "meos_cbuffer.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "Cbuffer *", + "canonical": "struct Cbuffer *" }, "params": [ { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "name": "wkb", + "cType": "const uint8_t *", + "canonical": "const unsigned char *" }, { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "size", + "cType": "size_t", + "canonical": "unsigned long" } ] }, { - "name": "acontains_tgeo_geo", - "file": "meos_geo.h", + "name": "cbuffer_in", + "file": "meos_cbuffer.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "Cbuffer *", + "canonical": "struct Cbuffer *" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "name": "str", + "cType": "const char *", + "canonical": "const char *" } ] }, { - "name": "acontains_tgeo_tgeo", - "file": "meos_geo.h", + "name": "cbuffer_out", + "file": "meos_cbuffer.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "char *", + "canonical": "char *" }, "params": [ { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" }, { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "maxdd", + "cType": "int", + "canonical": "int" } ] }, { - "name": "adisjoint_tgeo_geo", - "file": "meos_geo.h", + "name": "cbuffer_copy", + "file": "meos_cbuffer.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "Cbuffer *", + "canonical": "struct Cbuffer *" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" } ] }, { - "name": "adisjoint_tgeo_tgeo", - "file": "meos_geo.h", + "name": "cbuffer_make", + "file": "meos_cbuffer.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "Cbuffer *", + "canonical": "struct Cbuffer *" }, "params": [ { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "point", + "cType": "const int *", + "canonical": "const int *" }, { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "radius", + "cType": "double", + "canonical": "double" } ] }, { - "name": "adwithin_tgeo_geo", - "file": "meos_geo.h", + "name": "cbuffer_to_geom", + "file": "meos_cbuffer.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "int *", + "canonical": "int *" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" - }, - { - "name": "dist", - "cType": "double", - "canonical": "double" + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" } ] }, { - "name": "adwithin_tgeo_tgeo", - "file": "meos_geo.h", + "name": "cbuffer_to_stbox", + "file": "meos_cbuffer.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "STBox *", + "canonical": "struct STBox *" }, "params": [ { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + } + ] + }, + { + "name": "cbufferarr_to_geom", + "file": "meos_cbuffer.h", + "returnType": { + "c": "int *", + "canonical": "int *" + }, + "params": [ { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "cbarr", + "cType": "const Cbuffer **", + "canonical": "const struct Cbuffer **" }, { - "name": "dist", - "cType": "double", - "canonical": "double" + "name": "count", + "cType": "int", + "canonical": "int" } ] }, { - "name": "aintersects_tgeo_geo", - "file": "meos_geo.h", + "name": "geom_to_cbuffer", + "file": "meos_cbuffer.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "Cbuffer *", + "canonical": "struct Cbuffer *" }, "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, { "name": "gs", "cType": "const int *", @@ -35337,287 +36301,277 @@ ] }, { - "name": "aintersects_tgeo_tgeo", - "file": "meos_geo.h", + "name": "cbuffer_hash", + "file": "meos_cbuffer.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "uint32", + "canonical": "unsigned int" }, "params": [ { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" } ] }, { - "name": "atouches_tgeo_geo", - "file": "meos_geo.h", + "name": "cbuffer_hash_extended", + "file": "meos_cbuffer.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "uint64", + "canonical": "unsigned long" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" }, { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "name": "seed", + "cType": "uint64", + "canonical": "unsigned long" } ] }, { - "name": "atouches_tgeo_tgeo", - "file": "meos_geo.h", + "name": "cbuffer_point", + "file": "meos_cbuffer.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "int *", + "canonical": "int *" }, "params": [ { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" } ] }, { - "name": "atouches_tpoint_geo", - "file": "meos_geo.h", + "name": "cbuffer_radius", + "file": "meos_cbuffer.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "double", + "canonical": "double" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" } ] }, { - "name": "econtains_geo_tgeo", - "file": "meos_geo.h", + "name": "cbuffer_round", + "file": "meos_cbuffer.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "Cbuffer *", + "canonical": "struct Cbuffer *" }, "params": [ { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" }, { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "maxdd", + "cType": "int", + "canonical": "int" } ] }, { - "name": "econtains_tgeo_geo", - "file": "meos_geo.h", + "name": "cbufferarr_round", + "file": "meos_cbuffer.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "Cbuffer **", + "canonical": "struct Cbuffer **" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "cbarr", + "cType": "const Cbuffer **", + "canonical": "const struct Cbuffer **" }, { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "name": "count", + "cType": "int", + "canonical": "int" + }, + { + "name": "maxdd", + "cType": "int", + "canonical": "int" } ] }, { - "name": "econtains_tgeo_tgeo", - "file": "meos_geo.h", + "name": "cbuffer_set_srid", + "file": "meos_cbuffer.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "void", + "canonical": "void" }, "params": [ { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "cb", + "cType": "Cbuffer *", + "canonical": "struct Cbuffer *" }, { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "srid", + "cType": "int32_t", + "canonical": "int" } ] }, { - "name": "ecovers_geo_tgeo", - "file": "meos_geo.h", + "name": "cbuffer_srid", + "file": "meos_cbuffer.h", "returnType": { - "c": "int", + "c": "int32_t", "canonical": "int" }, "params": [ { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" } ] }, { - "name": "ecovers_tgeo_geo", - "file": "meos_geo.h", + "name": "cbuffer_transform", + "file": "meos_cbuffer.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "Cbuffer *", + "canonical": "struct Cbuffer *" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" }, { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "name": "srid", + "cType": "int32_t", + "canonical": "int" } ] }, { - "name": "ecovers_tgeo_tgeo", - "file": "meos_geo.h", + "name": "cbuffer_transform_pipeline", + "file": "meos_cbuffer.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "Cbuffer *", + "canonical": "struct Cbuffer *" }, "params": [ { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" }, { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "pipelinestr", + "cType": "const char *", + "canonical": "const char *" + }, + { + "name": "srid", + "cType": "int32_t", + "canonical": "int" + }, + { + "name": "is_forward", + "cType": "bool", + "canonical": "bool" } ] }, { - "name": "edisjoint_tgeo_geo", - "file": "meos_geo.h", + "name": "contains_cbuffer_cbuffer", + "file": "meos_cbuffer.h", "returnType": { "c": "int", "canonical": "int" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "cb1", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" }, { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "name": "cb2", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" } ] }, { - "name": "edisjoint_tgeo_tgeo", - "file": "meos_geo.h", + "name": "covers_cbuffer_cbuffer", + "file": "meos_cbuffer.h", "returnType": { "c": "int", "canonical": "int" }, "params": [ { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "cb1", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" }, { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "cb2", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" } ] }, { - "name": "edwithin_tgeo_geo", - "file": "meos_geo.h", + "name": "disjoint_cbuffer_cbuffer", + "file": "meos_cbuffer.h", "returnType": { "c": "int", "canonical": "int" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "name": "cb1", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" }, { - "name": "dist", - "cType": "double", - "canonical": "double" + "name": "cb2", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" } ] }, { - "name": "edwithin_tgeo_tgeo", - "file": "meos_geo.h", + "name": "dwithin_cbuffer_cbuffer", + "file": "meos_cbuffer.h", "returnType": { "c": "int", "canonical": "int" }, "params": [ { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "cb1", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" }, { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "cb2", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" }, { "name": "dist", @@ -35627,1061 +36581,961 @@ ] }, { - "name": "eintersects_tgeo_geo", - "file": "meos_geo.h", + "name": "intersects_cbuffer_cbuffer", + "file": "meos_cbuffer.h", "returnType": { "c": "int", "canonical": "int" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "cb1", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" }, { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "name": "cb2", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" } ] }, { - "name": "eintersects_tgeo_tgeo", - "file": "meos_geo.h", + "name": "touches_cbuffer_cbuffer", + "file": "meos_cbuffer.h", "returnType": { "c": "int", "canonical": "int" }, "params": [ { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "cb1", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" }, { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "cb2", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" } ] }, { - "name": "etouches_tgeo_geo", - "file": "meos_geo.h", + "name": "cbuffer_tstzspan_to_stbox", + "file": "meos_cbuffer.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "STBox *", + "canonical": "struct STBox *" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" }, { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" } ] }, { - "name": "etouches_tgeo_tgeo", - "file": "meos_geo.h", + "name": "cbuffer_timestamptz_to_stbox", + "file": "meos_cbuffer.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "STBox *", + "canonical": "struct STBox *" }, "params": [ { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" }, { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "t", + "cType": "TimestampTz", + "canonical": "long" } ] }, { - "name": "etouches_tpoint_geo", - "file": "meos_geo.h", + "name": "distance_cbuffer_cbuffer", + "file": "meos_cbuffer.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "double", + "canonical": "double" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "cb1", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" }, { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "name": "cb2", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" } ] }, { - "name": "tcontains_geo_tgeo", - "file": "meos_geo.h", + "name": "distance_cbuffer_geo", + "file": "meos_cbuffer.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "double", + "canonical": "double" }, "params": [ + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + }, { "name": "gs", "cType": "const int *", "canonical": "const int *" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" } ] }, { - "name": "tcontains_tgeo_geo", - "file": "meos_geo.h", + "name": "distance_cbuffer_stbox", + "file": "meos_cbuffer.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "double", + "canonical": "double" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" }, { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" } ] }, { - "name": "tcontains_tgeo_tgeo", - "file": "meos_geo.h", + "name": "nad_cbuffer_stbox", + "file": "meos_cbuffer.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "double", + "canonical": "double" }, "params": [ { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" }, { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" } ] }, { - "name": "tcovers_geo_tgeo", - "file": "meos_geo.h", + "name": "cbuffer_cmp", + "file": "meos_cbuffer.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "name": "cb1", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" }, { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "cb2", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" } ] }, { - "name": "tcovers_tgeo_geo", - "file": "meos_geo.h", + "name": "cbuffer_eq", + "file": "meos_cbuffer.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "cb1", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" }, { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "name": "cb2", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" } ] }, { - "name": "tcovers_tgeo_tgeo", - "file": "meos_geo.h", + "name": "cbuffer_ge", + "file": "meos_cbuffer.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "cb1", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" }, { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "cb2", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" } ] }, { - "name": "tdisjoint_geo_tgeo", - "file": "meos_geo.h", + "name": "cbuffer_gt", + "file": "meos_cbuffer.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "name": "cb1", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" }, { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "cb2", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" } ] }, { - "name": "tdisjoint_tgeo_geo", - "file": "meos_geo.h", + "name": "cbuffer_le", + "file": "meos_cbuffer.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "cb1", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" }, { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "name": "cb2", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" } ] }, { - "name": "tdisjoint_tgeo_tgeo", - "file": "meos_geo.h", + "name": "cbuffer_lt", + "file": "meos_cbuffer.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "cb1", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" }, { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "cb2", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" } ] }, { - "name": "tdwithin_geo_tgeo", - "file": "meos_geo.h", + "name": "cbuffer_ne", + "file": "meos_cbuffer.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "cb1", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" }, { - "name": "dist", - "cType": "double", - "canonical": "double" + "name": "cb2", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" } ] }, { - "name": "tdwithin_tgeo_geo", - "file": "meos_geo.h", + "name": "cbuffer_nsame", + "file": "meos_cbuffer.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "name": "cb1", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" }, { - "name": "dist", - "cType": "double", - "canonical": "double" + "name": "cb2", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" } ] }, { - "name": "tdwithin_tgeo_tgeo", - "file": "meos_geo.h", + "name": "cbuffer_same", + "file": "meos_cbuffer.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "cb1", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" }, { - "name": "dist", - "cType": "double", - "canonical": "double" + "name": "cb2", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" } ] }, { - "name": "tintersects_geo_tgeo", - "file": "meos_geo.h", + "name": "cbufferset_in", + "file": "meos_cbuffer.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "Set *", + "canonical": "Set *" }, "params": [ { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "str", + "cType": "const char *", + "canonical": "const char *" } ] }, { - "name": "tintersects_tgeo_geo", - "file": "meos_geo.h", + "name": "cbufferset_out", + "file": "meos_cbuffer.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "char *", + "canonical": "char *" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" }, { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "name": "maxdd", + "cType": "int", + "canonical": "int" } ] }, { - "name": "tintersects_tgeo_tgeo", - "file": "meos_geo.h", + "name": "cbufferset_make", + "file": "meos_cbuffer.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "Set *", + "canonical": "Set *" }, "params": [ { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "values", + "cType": "Cbuffer **", + "canonical": "struct Cbuffer **" }, { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "count", + "cType": "int", + "canonical": "int" } ] }, { - "name": "ttouches_geo_tgeo", - "file": "meos_geo.h", + "name": "cbuffer_to_set", + "file": "meos_cbuffer.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "Set *", + "canonical": "Set *" }, "params": [ { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" } ] }, { - "name": "ttouches_tgeo_geo", - "file": "meos_geo.h", + "name": "cbufferset_end_value", + "file": "meos_cbuffer.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "Cbuffer *", + "canonical": "struct Cbuffer *" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" } ] }, { - "name": "ttouches_tgeo_tgeo", - "file": "meos_geo.h", + "name": "cbufferset_start_value", + "file": "meos_cbuffer.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "Cbuffer *", + "canonical": "struct Cbuffer *" }, "params": [ { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" } ] }, { - "name": "tdistance_tgeo_geo", - "file": "meos_geo.h", + "name": "cbufferset_value_n", + "file": "meos_cbuffer.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" }, { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "name": "n", + "cType": "int", + "canonical": "int" + }, + { + "name": "result", + "cType": "Cbuffer **", + "canonical": "struct Cbuffer **" } ] }, { - "name": "tdistance_tgeo_tgeo", - "file": "meos_geo.h", + "name": "cbufferset_values", + "file": "meos_cbuffer.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "Cbuffer **", + "canonical": "struct Cbuffer **" }, "params": [ { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" }, { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "count", + "cType": "int *", + "canonical": "int *" } ] }, { - "name": "nad_stbox_geo", - "file": "meos_geo.h", + "name": "cbuffer_union_transfn", + "file": "meos_cbuffer.h", "returnType": { - "c": "double", - "canonical": "double" + "c": "Set *", + "canonical": "Set *" }, "params": [ { - "name": "box", - "cType": "const STBox *", - "canonical": "const struct STBox *" + "name": "state", + "cType": "Set *", + "canonical": "Set *" }, { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" } ] }, { - "name": "nad_stbox_stbox", - "file": "meos_geo.h", + "name": "contained_cbuffer_set", + "file": "meos_cbuffer.h", "returnType": { - "c": "double", - "canonical": "double" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "box1", - "cType": "const STBox *", - "canonical": "const struct STBox *" + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" }, { - "name": "box2", - "cType": "const STBox *", - "canonical": "const struct STBox *" + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" } ] }, { - "name": "nad_tgeo_geo", - "file": "meos_geo.h", + "name": "contains_set_cbuffer", + "file": "meos_cbuffer.h", "returnType": { - "c": "double", - "canonical": "double" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" }, { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "name": "cb", + "cType": "Cbuffer *", + "canonical": "struct Cbuffer *" } ] }, { - "name": "nad_tgeo_stbox", - "file": "meos_geo.h", + "name": "intersection_cbuffer_set", + "file": "meos_cbuffer.h", "returnType": { - "c": "double", - "canonical": "double" + "c": "Set *", + "canonical": "Set *" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" }, { - "name": "box", - "cType": "const STBox *", - "canonical": "const struct STBox *" + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" } ] }, { - "name": "nad_tgeo_tgeo", - "file": "meos_geo.h", + "name": "intersection_set_cbuffer", + "file": "meos_cbuffer.h", "returnType": { - "c": "double", - "canonical": "double" + "c": "Set *", + "canonical": "Set *" }, "params": [ { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" }, { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" } ] }, { - "name": "nai_tgeo_geo", - "file": "meos_geo.h", + "name": "minus_cbuffer_set", + "file": "meos_cbuffer.h", "returnType": { - "c": "TInstant *", - "canonical": "struct TInstant *" + "c": "Set *", + "canonical": "Set *" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" }, { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" } ] }, { - "name": "nai_tgeo_tgeo", - "file": "meos_geo.h", + "name": "minus_set_cbuffer", + "file": "meos_cbuffer.h", "returnType": { - "c": "TInstant *", - "canonical": "struct TInstant *" + "c": "Set *", + "canonical": "Set *" }, "params": [ { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" }, { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" } ] }, { - "name": "shortestline_tgeo_geo", - "file": "meos_geo.h", + "name": "union_cbuffer_set", + "file": "meos_cbuffer.h", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "Set *", + "canonical": "Set *" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" }, { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" } ] }, { - "name": "shortestline_tgeo_tgeo", - "file": "meos_geo.h", + "name": "union_set_cbuffer", + "file": "meos_cbuffer.h", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "Set *", + "canonical": "Set *" }, "params": [ { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" }, { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" } ] }, { - "name": "tgeoarr_tgeoarr_mindist", - "file": "meos_geo.h", + "name": "tcbuffer_in", + "file": "meos_cbuffer.h", "returnType": { - "c": "double", - "canonical": "double" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "arr1", - "cType": "const Temporal **", - "canonical": "const Temporal **" - }, + "name": "str", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "tcbuffer_from_mfjson", + "file": "meos_cbuffer.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ { - "name": "count1", - "cType": "int", - "canonical": "int" - }, + "name": "mfjson", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "tcbufferinst_make", + "file": "meos_cbuffer.h", + "returnType": { + "c": "TInstant *", + "canonical": "struct TInstant *" + }, + "params": [ { - "name": "arr2", - "cType": "const Temporal **", - "canonical": "const Temporal **" + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" }, { - "name": "count2", - "cType": "int", - "canonical": "int" + "name": "t", + "cType": "TimestampTz", + "canonical": "long" } ] }, { - "name": "mindistance_tgeo_tgeo", - "file": "meos_geo.h", + "name": "tcbuffer_make", + "file": "meos_cbuffer.h", "returnType": { - "c": "double", - "canonical": "double" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "temp1", + "name": "tpoint", "cType": "const Temporal *", "canonical": "const Temporal *" }, { - "name": "temp2", + "name": "tfloat", "cType": "const Temporal *", "canonical": "const Temporal *" - }, - { - "name": "threshold", - "cType": "double", - "canonical": "double" } ] }, { - "name": "tpoint_tcentroid_finalfn", - "file": "meos_geo.h", + "name": "tcbuffer_from_base_temp", + "file": "meos_cbuffer.h", "returnType": { "c": "Temporal *", "canonical": "Temporal *" }, "params": [ { - "name": "state", - "cType": "SkipList *", - "canonical": "struct SkipList *" + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "tpoint_tcentroid_transfn", - "file": "meos_geo.h", + "name": "tcbufferseq_from_base_tstzset", + "file": "meos_cbuffer.h", "returnType": { - "c": "SkipList *", - "canonical": "struct SkipList *" + "c": "TSequence *", + "canonical": "struct TSequence *" }, "params": [ { - "name": "state", - "cType": "SkipList *", - "canonical": "struct SkipList *" + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" }, { - "name": "temp", - "cType": "Temporal *", - "canonical": "Temporal *" + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" } ] }, { - "name": "tspatial_extent_transfn", - "file": "meos_geo.h", + "name": "tcbufferseq_from_base_tstzspan", + "file": "meos_cbuffer.h", "returnType": { - "c": "STBox *", - "canonical": "struct STBox *" + "c": "TSequence *", + "canonical": "struct TSequence *" }, "params": [ { - "name": "box", - "cType": "STBox *", - "canonical": "struct STBox *" + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" }, { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "interp", + "cType": "interpType", + "canonical": "interpType" } ] }, { - "name": "stbox_get_space_tile", - "file": "meos_geo.h", + "name": "tcbufferseqset_from_base_tstzspanset", + "file": "meos_cbuffer.h", "returnType": { - "c": "STBox *", - "canonical": "struct STBox *" + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" }, "params": [ { - "name": "point", - "cType": "const int *", - "canonical": "const int *" - }, - { - "name": "xsize", - "cType": "double", - "canonical": "double" - }, - { - "name": "ysize", - "cType": "double", - "canonical": "double" + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" }, { - "name": "zsize", - "cType": "double", - "canonical": "double" + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" }, { - "name": "sorigin", - "cType": "const int *", - "canonical": "const int *" + "name": "interp", + "cType": "interpType", + "canonical": "interpType" } ] }, { - "name": "stbox_get_space_time_tile", - "file": "meos_geo.h", + "name": "tcbuffer_end_value", + "file": "meos_cbuffer.h", "returnType": { - "c": "STBox *", - "canonical": "struct STBox *" + "c": "Cbuffer *", + "canonical": "struct Cbuffer *" }, "params": [ { - "name": "point", - "cType": "const int *", - "canonical": "const int *" - }, - { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" - }, - { - "name": "xsize", - "cType": "double", - "canonical": "double" - }, - { - "name": "ysize", - "cType": "double", - "canonical": "double" - }, - { - "name": "zsize", - "cType": "double", - "canonical": "double" - }, - { - "name": "duration", - "cType": "const int *", - "canonical": "const int *" - }, - { - "name": "sorigin", - "cType": "const int *", - "canonical": "const int *" - }, - { - "name": "torigin", - "cType": "TimestampTz", - "canonical": "long" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "stbox_get_time_tile", - "file": "meos_geo.h", + "name": "tcbuffer_points", + "file": "meos_cbuffer.h", "returnType": { - "c": "STBox *", - "canonical": "struct STBox *" + "c": "Set *", + "canonical": "Set *" }, "params": [ { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" - }, - { - "name": "duration", - "cType": "const int *", - "canonical": "const int *" - }, - { - "name": "torigin", - "cType": "TimestampTz", - "canonical": "long" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "stbox_space_tiles", - "file": "meos_geo.h", + "name": "tcbuffer_radius", + "file": "meos_cbuffer.h", "returnType": { - "c": "STBox *", - "canonical": "struct STBox *" + "c": "Set *", + "canonical": "Set *" }, "params": [ { - "name": "bounds", - "cType": "const STBox *", - "canonical": "const struct STBox *" - }, - { - "name": "xsize", - "cType": "double", - "canonical": "double" - }, - { - "name": "ysize", - "cType": "double", - "canonical": "double" - }, - { - "name": "zsize", - "cType": "double", - "canonical": "double" - }, - { - "name": "sorigin", - "cType": "const int *", - "canonical": "const int *" - }, - { - "name": "border_inc", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "count", - "cType": "int *", - "canonical": "int *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "stbox_space_time_tiles", - "file": "meos_geo.h", + "name": "tcbuffer_traversed_area", + "file": "meos_cbuffer.h", "returnType": { - "c": "STBox *", - "canonical": "struct STBox *" + "c": "int *", + "canonical": "int *" }, "params": [ { - "name": "bounds", - "cType": "const STBox *", - "canonical": "const struct STBox *" - }, - { - "name": "xsize", - "cType": "double", - "canonical": "double" - }, - { - "name": "ysize", - "cType": "double", - "canonical": "double" - }, - { - "name": "zsize", - "cType": "double", - "canonical": "double" - }, - { - "name": "duration", - "cType": "const int *", - "canonical": "const int *" - }, - { - "name": "sorigin", - "cType": "const int *", - "canonical": "const int *" - }, - { - "name": "torigin", - "cType": "TimestampTz", - "canonical": "long" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" }, { - "name": "border_inc", + "name": "unary_union", "cType": "bool", "canonical": "bool" - }, + } + ] + }, + { + "name": "tcbuffer_convex_hull", + "file": "meos_cbuffer.h", + "returnType": { + "c": "int *", + "canonical": "int *" + }, + "params": [ { - "name": "count", - "cType": "int *", - "canonical": "int *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "stbox_time_tiles", - "file": "meos_geo.h", + "name": "tcbuffer_start_value", + "file": "meos_cbuffer.h", "returnType": { - "c": "STBox *", - "canonical": "struct STBox *" + "c": "Cbuffer *", + "canonical": "struct Cbuffer *" }, "params": [ { - "name": "bounds", - "cType": "const STBox *", - "canonical": "const struct STBox *" - }, + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "tcbuffer_value_at_timestamptz", + "file": "meos_cbuffer.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ { - "name": "duration", - "cType": "const int *", - "canonical": "const int *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" }, { - "name": "torigin", + "name": "t", "cType": "TimestampTz", "canonical": "long" }, { - "name": "border_inc", + "name": "strict", "cType": "bool", "canonical": "bool" }, { - "name": "count", - "cType": "int *", - "canonical": "int *" + "name": "value", + "cType": "Cbuffer **", + "canonical": "struct Cbuffer **" } ] }, { - "name": "tgeo_space_split", - "file": "meos_geo.h", + "name": "tcbuffer_value_n", + "file": "meos_cbuffer.h", "returnType": { - "c": "Temporal **", - "canonical": "Temporal **" + "c": "bool", + "canonical": "bool" }, "params": [ { @@ -36690,53 +37544,23 @@ "canonical": "const Temporal *" }, { - "name": "xsize", - "cType": "double", - "canonical": "double" - }, - { - "name": "ysize", - "cType": "double", - "canonical": "double" - }, - { - "name": "zsize", - "cType": "double", - "canonical": "double" - }, - { - "name": "sorigin", - "cType": "const int *", - "canonical": "const int *" - }, - { - "name": "bitmatrix", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "border_inc", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "space_bins", - "cType": "int ***", - "canonical": "int ***" + "name": "n", + "cType": "int", + "canonical": "int" }, { - "name": "count", - "cType": "int *", - "canonical": "int *" + "name": "result", + "cType": "Cbuffer **", + "canonical": "struct Cbuffer **" } ] }, { - "name": "tgeo_space_time_split", - "file": "meos_geo.h", + "name": "tcbuffer_values", + "file": "meos_cbuffer.h", "returnType": { - "c": "Temporal **", - "canonical": "Temporal **" + "c": "Cbuffer **", + "canonical": "struct Cbuffer **" }, "params": [ { @@ -36744,56 +37568,6 @@ "cType": "const Temporal *", "canonical": "const Temporal *" }, - { - "name": "xsize", - "cType": "double", - "canonical": "double" - }, - { - "name": "ysize", - "cType": "double", - "canonical": "double" - }, - { - "name": "zsize", - "cType": "double", - "canonical": "double" - }, - { - "name": "duration", - "cType": "const int *", - "canonical": "const int *" - }, - { - "name": "sorigin", - "cType": "const int *", - "canonical": "const int *" - }, - { - "name": "torigin", - "cType": "TimestampTz", - "canonical": "long" - }, - { - "name": "bitmatrix", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "border_inc", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "space_bins", - "cType": "int ***", - "canonical": "int ***" - }, - { - "name": "time_bins", - "cType": "TimestampTz **", - "canonical": "long **" - }, { "name": "count", "cType": "int *", @@ -36802,146 +37576,96 @@ ] }, { - "name": "geo_cluster_kmeans", - "file": "meos_geo.h", + "name": "tcbuffer_to_tfloat", + "file": "meos_cbuffer.h", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "geoms", - "cType": "const int **", - "canonical": "const int **" - }, - { - "name": "ngeoms", - "cType": "uint32_t", - "canonical": "unsigned int" - }, - { - "name": "k", - "cType": "uint32_t", - "canonical": "unsigned int" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "geo_cluster_dbscan", - "file": "meos_geo.h", + "name": "tcbuffer_to_tgeompoint", + "file": "meos_cbuffer.h", "returnType": { - "c": "uint32_t *", - "canonical": "unsigned int *" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "geoms", - "cType": "const int **", - "canonical": "const int **" - }, - { - "name": "ngeoms", - "cType": "uint32_t", - "canonical": "unsigned int" - }, - { - "name": "tolerance", - "cType": "double", - "canonical": "double" - }, - { - "name": "minpoints", - "cType": "int", - "canonical": "int" - }, - { - "name": "count", - "cType": "int *", - "canonical": "int *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "geo_cluster_intersecting", - "file": "meos_geo.h", + "name": "tgeometry_to_tcbuffer", + "file": "meos_cbuffer.h", "returnType": { - "c": "int **", - "canonical": "int **" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "geoms", - "cType": "const int **", - "canonical": "const int **" - }, - { - "name": "ngeoms", - "cType": "uint32_t", - "canonical": "unsigned int" - }, - { - "name": "count", - "cType": "int *", - "canonical": "int *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "geo_cluster_within", - "file": "meos_geo.h", + "name": "tcbuffer_expand", + "file": "meos_cbuffer.h", "returnType": { - "c": "int **", - "canonical": "int **" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "geoms", - "cType": "const int **", - "canonical": "const int **" - }, - { - "name": "ngeoms", - "cType": "uint32_t", - "canonical": "unsigned int" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" }, { - "name": "tolerance", + "name": "dist", "cType": "double", "canonical": "double" - }, - { - "name": "count", - "cType": "int *", - "canonical": "int *" } ] }, { - "name": "acovers_geo_tgeo", - "file": "meos_geo.h", + "name": "tcbuffer_at_cbuffer", + "file": "meos_cbuffer.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ - { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" - }, { "name": "temp", "cType": "const Temporal *", "canonical": "const Temporal *" + }, + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" } ] }, { - "name": "acovers_tgeo_geo", - "file": "meos_geo.h", + "name": "tcbuffer_at_geom", + "file": "meos_cbuffer.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { @@ -36957,258 +37681,293 @@ ] }, { - "name": "cbuffer_as_ewkt", + "name": "tcbuffer_at_stbox", "file": "meos_cbuffer.h", "returnType": { - "c": "char *", - "canonical": "char *" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "cb", - "cType": "const Cbuffer *", - "canonical": "const struct Cbuffer *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" }, { - "name": "maxdd", - "cType": "int", - "canonical": "int" + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" + }, + { + "name": "border_inc", + "cType": "bool", + "canonical": "bool" } ] }, { - "name": "cbuffer_as_hexwkb", + "name": "tcbuffer_minus_cbuffer", "file": "meos_cbuffer.h", "returnType": { - "c": "char *", - "canonical": "char *" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, { "name": "cb", "cType": "const Cbuffer *", "canonical": "const struct Cbuffer *" - }, - { - "name": "variant", - "cType": "uint8_t", - "canonical": "unsigned char" - }, - { - "name": "size", - "cType": "size_t *", - "canonical": "unsigned long *" } ] }, { - "name": "cbuffer_as_text", + "name": "tcbuffer_minus_geom", "file": "meos_cbuffer.h", "returnType": { - "c": "char *", - "canonical": "char *" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "cb", - "cType": "const Cbuffer *", - "canonical": "const struct Cbuffer *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" }, { - "name": "maxdd", - "cType": "int", - "canonical": "int" + "name": "gs", + "cType": "const int *", + "canonical": "const int *" } ] }, { - "name": "cbuffer_as_wkb", + "name": "tcbuffer_minus_stbox", "file": "meos_cbuffer.h", "returnType": { - "c": "uint8_t *", - "canonical": "unsigned char *" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "cb", - "cType": "const Cbuffer *", - "canonical": "const struct Cbuffer *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" }, { - "name": "variant", - "cType": "uint8_t", - "canonical": "unsigned char" + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" }, { - "name": "size_out", - "cType": "size_t *", - "canonical": "unsigned long *" + "name": "border_inc", + "cType": "bool", + "canonical": "bool" } ] }, { - "name": "cbuffer_from_hexwkb", + "name": "tdistance_tcbuffer_cbuffer", "file": "meos_cbuffer.h", "returnType": { - "c": "Cbuffer *", - "canonical": "struct Cbuffer *" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "hexwkb", - "cType": "const char *", - "canonical": "const char *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" } ] }, { - "name": "cbuffer_from_wkb", + "name": "tdistance_tcbuffer_geo", "file": "meos_cbuffer.h", "returnType": { - "c": "Cbuffer *", - "canonical": "struct Cbuffer *" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "wkb", - "cType": "const uint8_t *", - "canonical": "const unsigned char *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" }, { - "name": "size", - "cType": "size_t", - "canonical": "unsigned long" + "name": "gs", + "cType": "const int *", + "canonical": "const int *" } ] }, { - "name": "cbuffer_in", + "name": "tdistance_tcbuffer_tcbuffer", "file": "meos_cbuffer.h", "returnType": { - "c": "Cbuffer *", - "canonical": "struct Cbuffer *" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "str", - "cType": "const char *", - "canonical": "const char *" + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "cbuffer_out", + "name": "nad_tcbuffer_cbuffer", "file": "meos_cbuffer.h", "returnType": { - "c": "char *", - "canonical": "char *" + "c": "double", + "canonical": "double" }, "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, { "name": "cb", "cType": "const Cbuffer *", "canonical": "const struct Cbuffer *" - }, - { - "name": "maxdd", - "cType": "int", - "canonical": "int" } ] }, { - "name": "cbuffer_copy", + "name": "nad_tcbuffer_geo", "file": "meos_cbuffer.h", "returnType": { - "c": "Cbuffer *", - "canonical": "struct Cbuffer *" + "c": "double", + "canonical": "double" }, "params": [ { - "name": "cb", - "cType": "const Cbuffer *", - "canonical": "const struct Cbuffer *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" } ] }, { - "name": "cbuffer_make", + "name": "nad_tcbuffer_stbox", "file": "meos_cbuffer.h", "returnType": { - "c": "Cbuffer *", - "canonical": "struct Cbuffer *" + "c": "double", + "canonical": "double" }, "params": [ { - "name": "point", - "cType": "const int *", - "canonical": "const int *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" }, { - "name": "radius", - "cType": "double", - "canonical": "double" + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" } ] }, { - "name": "cbuffer_to_geom", + "name": "nad_tcbuffer_tcbuffer", "file": "meos_cbuffer.h", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "double", + "canonical": "double" }, "params": [ { - "name": "cb", - "cType": "const Cbuffer *", - "canonical": "const struct Cbuffer *" + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "cbuffer_to_stbox", + "name": "mindistance_tcbuffer_tcbuffer", "file": "meos_cbuffer.h", "returnType": { - "c": "STBox *", - "canonical": "struct STBox *" + "c": "double", + "canonical": "double" }, "params": [ { - "name": "cb", - "cType": "const Cbuffer *", - "canonical": "const struct Cbuffer *" + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "threshold", + "cType": "double", + "canonical": "double" } ] }, { - "name": "cbufferarr_to_geom", + "name": "nai_tcbuffer_cbuffer", "file": "meos_cbuffer.h", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "TInstant *", + "canonical": "struct TInstant *" }, "params": [ { - "name": "cbarr", - "cType": "const Cbuffer **", - "canonical": "const struct Cbuffer **" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" }, { - "name": "count", - "cType": "int", - "canonical": "int" + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" } ] }, { - "name": "geom_to_cbuffer", + "name": "nai_tcbuffer_geo", "file": "meos_cbuffer.h", "returnType": { - "c": "Cbuffer *", - "canonical": "struct Cbuffer *" + "c": "TInstant *", + "canonical": "struct TInstant *" }, "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, { "name": "gs", "cType": "const int *", @@ -37217,42 +37976,47 @@ ] }, { - "name": "cbuffer_hash", + "name": "nai_tcbuffer_tcbuffer", "file": "meos_cbuffer.h", "returnType": { - "c": "uint32", - "canonical": "unsigned int" + "c": "TInstant *", + "canonical": "struct TInstant *" }, "params": [ { - "name": "cb", - "cType": "const Cbuffer *", - "canonical": "const struct Cbuffer *" + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "cbuffer_hash_extended", + "name": "shortestline_tcbuffer_cbuffer", "file": "meos_cbuffer.h", "returnType": { - "c": "uint64", - "canonical": "unsigned long" + "c": "int *", + "canonical": "int *" }, "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, { "name": "cb", "cType": "const Cbuffer *", "canonical": "const struct Cbuffer *" - }, - { - "name": "seed", - "cType": "uint64", - "canonical": "unsigned long" } ] }, { - "name": "cbuffer_point", + "name": "shortestline_tcbuffer_geo", "file": "meos_cbuffer.h", "returnType": { "c": "int *", @@ -37260,33 +38024,43 @@ }, "params": [ { - "name": "cb", - "cType": "const Cbuffer *", - "canonical": "const struct Cbuffer *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" } ] }, { - "name": "cbuffer_radius", + "name": "shortestline_tcbuffer_tcbuffer", "file": "meos_cbuffer.h", "returnType": { - "c": "double", - "canonical": "double" + "c": "int *", + "canonical": "int *" }, "params": [ { - "name": "cb", - "cType": "const Cbuffer *", - "canonical": "const struct Cbuffer *" + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "cbuffer_round", + "name": "always_eq_cbuffer_tcbuffer", "file": "meos_cbuffer.h", "returnType": { - "c": "Cbuffer *", - "canonical": "struct Cbuffer *" + "c": "int", + "canonical": "int" }, "params": [ { @@ -37295,62 +38069,57 @@ "canonical": "const struct Cbuffer *" }, { - "name": "maxdd", - "cType": "int", - "canonical": "int" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "cbufferarr_round", + "name": "always_eq_tcbuffer_cbuffer", "file": "meos_cbuffer.h", "returnType": { - "c": "Cbuffer **", - "canonical": "struct Cbuffer **" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "cbarr", - "cType": "const Cbuffer **", - "canonical": "const struct Cbuffer **" - }, - { - "name": "count", - "cType": "int", - "canonical": "int" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" }, { - "name": "maxdd", - "cType": "int", - "canonical": "int" + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" } ] }, { - "name": "cbuffer_set_srid", + "name": "always_eq_tcbuffer_tcbuffer", "file": "meos_cbuffer.h", "returnType": { - "c": "void", - "canonical": "void" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "cb", - "cType": "Cbuffer *", - "canonical": "struct Cbuffer *" + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" }, { - "name": "srid", - "cType": "int32_t", - "canonical": "int" + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "cbuffer_srid", + "name": "always_ne_cbuffer_tcbuffer", "file": "meos_cbuffer.h", "returnType": { - "c": "int32_t", + "c": "int", "canonical": "int" }, "params": [ @@ -37358,61 +38127,36 @@ "name": "cb", "cType": "const Cbuffer *", "canonical": "const struct Cbuffer *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "cbuffer_transform", + "name": "always_ne_tcbuffer_cbuffer", "file": "meos_cbuffer.h", "returnType": { - "c": "Cbuffer *", - "canonical": "struct Cbuffer *" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "cb", - "cType": "const Cbuffer *", - "canonical": "const struct Cbuffer *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" }, - { - "name": "srid", - "cType": "int32_t", - "canonical": "int" - } - ] - }, - { - "name": "cbuffer_transform_pipeline", - "file": "meos_cbuffer.h", - "returnType": { - "c": "Cbuffer *", - "canonical": "struct Cbuffer *" - }, - "params": [ { "name": "cb", "cType": "const Cbuffer *", "canonical": "const struct Cbuffer *" - }, - { - "name": "pipelinestr", - "cType": "const char *", - "canonical": "const char *" - }, - { - "name": "srid", - "cType": "int32_t", - "canonical": "int" - }, - { - "name": "is_forward", - "cType": "bool", - "canonical": "bool" } ] }, { - "name": "contains_cbuffer_cbuffer", + "name": "always_ne_tcbuffer_tcbuffer", "file": "meos_cbuffer.h", "returnType": { "c": "int", @@ -37420,19 +38164,19 @@ }, "params": [ { - "name": "cb1", - "cType": "const Cbuffer *", - "canonical": "const struct Cbuffer *" + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" }, { - "name": "cb2", - "cType": "const Cbuffer *", - "canonical": "const struct Cbuffer *" + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "covers_cbuffer_cbuffer", + "name": "ever_eq_cbuffer_tcbuffer", "file": "meos_cbuffer.h", "returnType": { "c": "int", @@ -37440,19 +38184,19 @@ }, "params": [ { - "name": "cb1", + "name": "cb", "cType": "const Cbuffer *", "canonical": "const struct Cbuffer *" }, { - "name": "cb2", - "cType": "const Cbuffer *", - "canonical": "const struct Cbuffer *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "disjoint_cbuffer_cbuffer", + "name": "ever_eq_tcbuffer_cbuffer", "file": "meos_cbuffer.h", "returnType": { "c": "int", @@ -37460,19 +38204,19 @@ }, "params": [ { - "name": "cb1", - "cType": "const Cbuffer *", - "canonical": "const struct Cbuffer *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" }, { - "name": "cb2", + "name": "cb", "cType": "const Cbuffer *", "canonical": "const struct Cbuffer *" } ] }, { - "name": "dwithin_cbuffer_cbuffer", + "name": "ever_eq_tcbuffer_tcbuffer", "file": "meos_cbuffer.h", "returnType": { "c": "int", @@ -37480,24 +38224,19 @@ }, "params": [ { - "name": "cb1", - "cType": "const Cbuffer *", - "canonical": "const struct Cbuffer *" - }, - { - "name": "cb2", - "cType": "const Cbuffer *", - "canonical": "const struct Cbuffer *" + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" }, { - "name": "dist", - "cType": "double", - "canonical": "double" + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "intersects_cbuffer_cbuffer", + "name": "ever_ne_cbuffer_tcbuffer", "file": "meos_cbuffer.h", "returnType": { "c": "int", @@ -37505,19 +38244,19 @@ }, "params": [ { - "name": "cb1", + "name": "cb", "cType": "const Cbuffer *", "canonical": "const struct Cbuffer *" }, { - "name": "cb2", - "cType": "const Cbuffer *", - "canonical": "const struct Cbuffer *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "touches_cbuffer_cbuffer", + "name": "ever_ne_tcbuffer_cbuffer", "file": "meos_cbuffer.h", "returnType": { "c": "int", @@ -37525,43 +38264,43 @@ }, "params": [ { - "name": "cb1", - "cType": "const Cbuffer *", - "canonical": "const struct Cbuffer *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" }, { - "name": "cb2", + "name": "cb", "cType": "const Cbuffer *", "canonical": "const struct Cbuffer *" } ] }, { - "name": "cbuffer_tstzspan_to_stbox", + "name": "ever_ne_tcbuffer_tcbuffer", "file": "meos_cbuffer.h", "returnType": { - "c": "STBox *", - "canonical": "struct STBox *" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "cb", - "cType": "const Cbuffer *", - "canonical": "const struct Cbuffer *" + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" }, { - "name": "s", - "cType": "const Span *", - "canonical": "const struct Span *" + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "cbuffer_timestamptz_to_stbox", + "name": "teq_cbuffer_tcbuffer", "file": "meos_cbuffer.h", "returnType": { - "c": "STBox *", - "canonical": "struct STBox *" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { @@ -37570,38 +38309,38 @@ "canonical": "const struct Cbuffer *" }, { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "distance_cbuffer_cbuffer", + "name": "teq_tcbuffer_cbuffer", "file": "meos_cbuffer.h", "returnType": { - "c": "double", - "canonical": "double" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "cb1", - "cType": "const Cbuffer *", - "canonical": "const struct Cbuffer *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" }, { - "name": "cb2", + "name": "cb", "cType": "const Cbuffer *", "canonical": "const struct Cbuffer *" } ] }, { - "name": "distance_cbuffer_geo", + "name": "tne_cbuffer_tcbuffer", "file": "meos_cbuffer.h", "returnType": { - "c": "double", - "canonical": "double" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { @@ -37610,38 +38349,38 @@ "canonical": "const struct Cbuffer *" }, { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "distance_cbuffer_stbox", + "name": "tne_tcbuffer_cbuffer", "file": "meos_cbuffer.h", "returnType": { - "c": "double", - "canonical": "double" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, { "name": "cb", "cType": "const Cbuffer *", "canonical": "const struct Cbuffer *" - }, - { - "name": "box", - "cType": "const STBox *", - "canonical": "const struct STBox *" } ] }, { - "name": "nad_cbuffer_stbox", + "name": "acontains_cbuffer_tcbuffer", "file": "meos_cbuffer.h", "returnType": { - "c": "double", - "canonical": "double" + "c": "int", + "canonical": "int" }, "params": [ { @@ -37650,14 +38389,14 @@ "canonical": "const struct Cbuffer *" }, { - "name": "box", - "cType": "const STBox *", - "canonical": "const struct STBox *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "cbuffer_cmp", + "name": "acontains_geo_tcbuffer", "file": "meos_cbuffer.h", "returnType": { "c": "int", @@ -37665,383 +38404,418 @@ }, "params": [ { - "name": "cb1", - "cType": "const Cbuffer *", - "canonical": "const struct Cbuffer *" + "name": "gs", + "cType": "const int *", + "canonical": "const int *" }, { - "name": "cb2", - "cType": "const Cbuffer *", - "canonical": "const struct Cbuffer *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "cbuffer_eq", + "name": "acontains_tcbuffer_cbuffer", "file": "meos_cbuffer.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "cb1", - "cType": "const Cbuffer *", - "canonical": "const struct Cbuffer *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" }, { - "name": "cb2", + "name": "cb", "cType": "const Cbuffer *", "canonical": "const struct Cbuffer *" } ] }, { - "name": "cbuffer_ge", + "name": "acontains_tcbuffer_geo", "file": "meos_cbuffer.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "cb1", - "cType": "const Cbuffer *", - "canonical": "const struct Cbuffer *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" }, { - "name": "cb2", - "cType": "const Cbuffer *", - "canonical": "const struct Cbuffer *" + "name": "gs", + "cType": "const int *", + "canonical": "const int *" } ] }, { - "name": "cbuffer_gt", + "name": "acovers_cbuffer_tcbuffer", "file": "meos_cbuffer.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "cb1", + "name": "cb", "cType": "const Cbuffer *", "canonical": "const struct Cbuffer *" }, { - "name": "cb2", - "cType": "const Cbuffer *", - "canonical": "const struct Cbuffer *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "cbuffer_le", + "name": "acovers_geo_tcbuffer", "file": "meos_cbuffer.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "cb1", - "cType": "const Cbuffer *", - "canonical": "const struct Cbuffer *" + "name": "gs", + "cType": "const int *", + "canonical": "const int *" }, { - "name": "cb2", - "cType": "const Cbuffer *", - "canonical": "const struct Cbuffer *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "cbuffer_lt", + "name": "acovers_tcbuffer_cbuffer", "file": "meos_cbuffer.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "cb1", - "cType": "const Cbuffer *", - "canonical": "const struct Cbuffer *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" }, { - "name": "cb2", + "name": "cb", "cType": "const Cbuffer *", "canonical": "const struct Cbuffer *" } ] }, { - "name": "cbuffer_ne", + "name": "acovers_tcbuffer_geo", "file": "meos_cbuffer.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "cb1", - "cType": "const Cbuffer *", - "canonical": "const struct Cbuffer *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" }, { - "name": "cb2", - "cType": "const Cbuffer *", - "canonical": "const struct Cbuffer *" + "name": "gs", + "cType": "const int *", + "canonical": "const int *" } ] }, { - "name": "cbuffer_nsame", + "name": "acovers_tcbuffer_tcbuffer", "file": "meos_cbuffer.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "cb1", - "cType": "const Cbuffer *", - "canonical": "const struct Cbuffer *" + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" }, { - "name": "cb2", - "cType": "const Cbuffer *", - "canonical": "const struct Cbuffer *" + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "cbuffer_same", + "name": "adisjoint_tcbuffer_geo", "file": "meos_cbuffer.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "cb1", - "cType": "const Cbuffer *", - "canonical": "const struct Cbuffer *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" }, { - "name": "cb2", - "cType": "const Cbuffer *", - "canonical": "const struct Cbuffer *" + "name": "gs", + "cType": "const int *", + "canonical": "const int *" } ] }, { - "name": "cbufferset_in", + "name": "adisjoint_tcbuffer_cbuffer", "file": "meos_cbuffer.h", "returnType": { - "c": "Set *", - "canonical": "Set *" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "str", - "cType": "const char *", - "canonical": "const char *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" } ] }, { - "name": "cbufferset_out", + "name": "adisjoint_tcbuffer_tcbuffer", "file": "meos_cbuffer.h", "returnType": { - "c": "char *", - "canonical": "char *" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" }, { - "name": "maxdd", - "cType": "int", - "canonical": "int" + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "cbufferset_make", + "name": "adwithin_tcbuffer_geo", "file": "meos_cbuffer.h", "returnType": { - "c": "Set *", - "canonical": "Set *" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "values", - "cType": "Cbuffer **", - "canonical": "struct Cbuffer **" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" }, { - "name": "count", - "cType": "int", - "canonical": "int" + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "dist", + "cType": "double", + "canonical": "double" } ] }, { - "name": "cbuffer_to_set", + "name": "adwithin_tcbuffer_cbuffer", "file": "meos_cbuffer.h", "returnType": { - "c": "Set *", - "canonical": "Set *" + "c": "int", + "canonical": "int" }, "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, { "name": "cb", "cType": "const Cbuffer *", "canonical": "const struct Cbuffer *" + }, + { + "name": "dist", + "cType": "double", + "canonical": "double" } ] }, { - "name": "cbufferset_end_value", + "name": "adwithin_tcbuffer_tcbuffer", "file": "meos_cbuffer.h", "returnType": { - "c": "Cbuffer *", - "canonical": "struct Cbuffer *" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "dist", + "cType": "double", + "canonical": "double" } ] }, { - "name": "cbufferset_start_value", + "name": "aintersects_tcbuffer_geo", "file": "meos_cbuffer.h", "returnType": { - "c": "Cbuffer *", - "canonical": "struct Cbuffer *" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" } ] }, { - "name": "cbufferset_value_n", + "name": "aintersects_tcbuffer_cbuffer", "file": "meos_cbuffer.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "n", - "cType": "int", - "canonical": "int" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" }, { - "name": "result", - "cType": "Cbuffer **", - "canonical": "struct Cbuffer **" + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" } ] }, { - "name": "cbufferset_values", + "name": "aintersects_tcbuffer_tcbuffer", "file": "meos_cbuffer.h", "returnType": { - "c": "Cbuffer **", - "canonical": "struct Cbuffer **" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "cbuffer_union_transfn", + "name": "atouches_tcbuffer_geo", "file": "meos_cbuffer.h", "returnType": { - "c": "Set *", - "canonical": "Set *" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "state", - "cType": "Set *", - "canonical": "Set *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" }, { - "name": "cb", - "cType": "const Cbuffer *", - "canonical": "const struct Cbuffer *" + "name": "gs", + "cType": "const int *", + "canonical": "const int *" } ] }, { - "name": "contained_cbuffer_set", + "name": "atouches_tcbuffer_cbuffer", "file": "meos_cbuffer.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "int", + "canonical": "int" }, "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, { "name": "cb", "cType": "const Cbuffer *", "canonical": "const struct Cbuffer *" - }, - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" } ] }, { - "name": "contains_set_cbuffer", + "name": "atouches_tcbuffer_tcbuffer", "file": "meos_cbuffer.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" }, { - "name": "cb", - "cType": "Cbuffer *", - "canonical": "struct Cbuffer *" + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "intersection_cbuffer_set", + "name": "econtains_cbuffer_tcbuffer", "file": "meos_cbuffer.h", "returnType": { - "c": "Set *", - "canonical": "Set *" + "c": "int", + "canonical": "int" }, "params": [ { @@ -38050,24 +38824,24 @@ "canonical": "const struct Cbuffer *" }, { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "intersection_set_cbuffer", + "name": "econtains_tcbuffer_cbuffer", "file": "meos_cbuffer.h", "returnType": { - "c": "Set *", - "canonical": "Set *" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" }, { "name": "cb", @@ -38077,77 +38851,77 @@ ] }, { - "name": "minus_cbuffer_set", + "name": "econtains_tcbuffer_geo", "file": "meos_cbuffer.h", "returnType": { - "c": "Set *", - "canonical": "Set *" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "cb", - "cType": "const Cbuffer *", - "canonical": "const struct Cbuffer *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" }, { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" + "name": "gs", + "cType": "const int *", + "canonical": "const int *" } ] }, { - "name": "minus_set_cbuffer", + "name": "ecovers_cbuffer_tcbuffer", "file": "meos_cbuffer.h", "returnType": { - "c": "Set *", - "canonical": "Set *" + "c": "int", + "canonical": "int" }, "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - }, { "name": "cb", "cType": "const Cbuffer *", "canonical": "const struct Cbuffer *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "union_cbuffer_set", + "name": "ecovers_geo_tcbuffer", "file": "meos_cbuffer.h", "returnType": { - "c": "Set *", - "canonical": "Set *" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "cb", - "cType": "const Cbuffer *", - "canonical": "const struct Cbuffer *" + "name": "gs", + "cType": "const int *", + "canonical": "const int *" }, { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "union_set_cbuffer", + "name": "ecovers_tcbuffer_cbuffer", "file": "meos_cbuffer.h", "returnType": { - "c": "Set *", - "canonical": "Set *" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" }, { "name": "cb", @@ -38157,91 +38931,91 @@ ] }, { - "name": "tcbuffer_in", + "name": "ecovers_tcbuffer_geo", "file": "meos_cbuffer.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "str", - "cType": "const char *", - "canonical": "const char *" - } - ] - }, - { - "name": "tcbuffer_from_mfjson", - "file": "meos_cbuffer.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, { - "name": "mfjson", - "cType": "const char *", - "canonical": "const char *" + "name": "gs", + "cType": "const int *", + "canonical": "const int *" } ] }, { - "name": "tcbuffer_make", + "name": "ecovers_tcbuffer_tcbuffer", "file": "meos_cbuffer.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "tpoint", + "name": "temp1", "cType": "const Temporal *", "canonical": "const Temporal *" }, { - "name": "tfloat", + "name": "temp2", "cType": "const Temporal *", "canonical": "const Temporal *" } ] }, { - "name": "tcbuffer_points", + "name": "edisjoint_tcbuffer_geo", "file": "meos_cbuffer.h", "returnType": { - "c": "Set *", - "canonical": "Set *" + "c": "int", + "canonical": "int" }, "params": [ { "name": "temp", "cType": "const Temporal *", "canonical": "const Temporal *" + }, + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" } ] }, { - "name": "tcbuffer_radius", + "name": "edisjoint_tcbuffer_cbuffer", "file": "meos_cbuffer.h", "returnType": { - "c": "Set *", - "canonical": "Set *" + "c": "int", + "canonical": "int" }, "params": [ { "name": "temp", "cType": "const Temporal *", "canonical": "const Temporal *" + }, + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" } ] }, { - "name": "tcbuffer_trav_area", + "name": "edwithin_tcbuffer_geo", "file": "meos_cbuffer.h", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "int", + "canonical": "int" }, "params": [ { @@ -38250,63 +39024,93 @@ "canonical": "const Temporal *" }, { - "name": "merge_union", - "cType": "bool", - "canonical": "bool" + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "dist", + "cType": "double", + "canonical": "double" } ] }, { - "name": "tcbuffer_to_tfloat", + "name": "edwithin_tcbuffer_cbuffer", "file": "meos_cbuffer.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "int", + "canonical": "int" }, "params": [ { "name": "temp", "cType": "const Temporal *", "canonical": "const Temporal *" + }, + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + }, + { + "name": "dist", + "cType": "double", + "canonical": "double" } ] }, { - "name": "tcbuffer_to_tgeompoint", + "name": "edwithin_tcbuffer_tcbuffer", "file": "meos_cbuffer.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "temp", + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", "cType": "const Temporal *", "canonical": "const Temporal *" + }, + { + "name": "dist", + "cType": "double", + "canonical": "double" } ] }, { - "name": "tgeometry_to_tcbuffer", + "name": "eintersects_tcbuffer_geo", "file": "meos_cbuffer.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "int", + "canonical": "int" }, "params": [ { "name": "temp", "cType": "const Temporal *", "canonical": "const Temporal *" + }, + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" } ] }, { - "name": "tcbuffer_expand", + "name": "eintersects_tcbuffer_cbuffer", "file": "meos_cbuffer.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "int", + "canonical": "int" }, "params": [ { @@ -38315,38 +39119,38 @@ "canonical": "const Temporal *" }, { - "name": "dist", - "cType": "double", - "canonical": "double" + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" } ] }, { - "name": "tcbuffer_at_cbuffer", + "name": "eintersects_tcbuffer_tcbuffer", "file": "meos_cbuffer.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "temp", + "name": "temp1", "cType": "const Temporal *", "canonical": "const Temporal *" }, { - "name": "cb", - "cType": "const Cbuffer *", - "canonical": "const struct Cbuffer *" + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "tcbuffer_at_geom", + "name": "etouches_tcbuffer_geo", "file": "meos_cbuffer.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "int", + "canonical": "int" }, "params": [ { @@ -38362,11 +39166,11 @@ ] }, { - "name": "tcbuffer_at_stbox", + "name": "etouches_tcbuffer_cbuffer", "file": "meos_cbuffer.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "int", + "canonical": "int" }, "params": [ { @@ -38375,59 +39179,74 @@ "canonical": "const Temporal *" }, { - "name": "box", - "cType": "const STBox *", - "canonical": "const struct STBox *" - }, - { - "name": "border_inc", - "cType": "bool", - "canonical": "bool" + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" } ] }, { - "name": "tcbuffer_minus_cbuffer", + "name": "etouches_tcbuffer_tcbuffer", "file": "meos_cbuffer.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "temp", + "name": "temp1", "cType": "const Temporal *", "canonical": "const Temporal *" }, { - "name": "cb", - "cType": "const Cbuffer *", - "canonical": "const struct Cbuffer *" + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "tcbuffer_minus_geom", + "name": "tcontains_cbuffer_tcbuffer", "file": "meos_cbuffer.h", "returnType": { "c": "Temporal *", "canonical": "Temporal *" }, "params": [ + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + }, { "name": "temp", "cType": "const Temporal *", "canonical": "const Temporal *" - }, + } + ] + }, + { + "name": "tcontains_geo_tcbuffer", + "file": "meos_cbuffer.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ { "name": "gs", "cType": "const int *", "canonical": "const int *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "tcbuffer_minus_stbox", + "name": "tcontains_tcbuffer_geo", "file": "meos_cbuffer.h", "returnType": { "c": "Temporal *", @@ -38440,19 +39259,14 @@ "canonical": "const Temporal *" }, { - "name": "box", - "cType": "const STBox *", - "canonical": "const struct STBox *" - }, - { - "name": "border_inc", - "cType": "bool", - "canonical": "bool" + "name": "gs", + "cType": "const int *", + "canonical": "const int *" } ] }, { - "name": "tdistance_tcbuffer_cbuffer", + "name": "tcontains_tcbuffer_cbuffer", "file": "meos_cbuffer.h", "returnType": { "c": "Temporal *", @@ -38472,7 +39286,7 @@ ] }, { - "name": "tdistance_tcbuffer_geo", + "name": "tcontains_tcbuffer_tcbuffer", "file": "meos_cbuffer.h", "returnType": { "c": "Temporal *", @@ -38480,19 +39294,19 @@ }, "params": [ { - "name": "temp", + "name": "temp1", "cType": "const Temporal *", "canonical": "const Temporal *" }, { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "tdistance_tcbuffer_tcbuffer", + "name": "tcovers_cbuffer_tcbuffer", "file": "meos_cbuffer.h", "returnType": { "c": "Temporal *", @@ -38500,43 +39314,43 @@ }, "params": [ { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" }, { - "name": "temp2", + "name": "temp", "cType": "const Temporal *", "canonical": "const Temporal *" } ] }, { - "name": "nad_tcbuffer_cbuffer", + "name": "tcovers_geo_tcbuffer", "file": "meos_cbuffer.h", "returnType": { - "c": "double", - "canonical": "double" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + }, { "name": "temp", "cType": "const Temporal *", "canonical": "const Temporal *" - }, - { - "name": "cb", - "cType": "const Cbuffer *", - "canonical": "const struct Cbuffer *" } ] }, { - "name": "nad_tcbuffer_geo", + "name": "tcovers_tcbuffer_geo", "file": "meos_cbuffer.h", "returnType": { - "c": "double", - "canonical": "double" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { @@ -38552,11 +39366,11 @@ ] }, { - "name": "nad_tcbuffer_stbox", + "name": "tcovers_tcbuffer_cbuffer", "file": "meos_cbuffer.h", "returnType": { - "c": "double", - "canonical": "double" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { @@ -38565,18 +39379,18 @@ "canonical": "const Temporal *" }, { - "name": "box", - "cType": "const STBox *", - "canonical": "const struct STBox *" + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" } ] }, { - "name": "nad_tcbuffer_tcbuffer", + "name": "tcovers_tcbuffer_tcbuffer", "file": "meos_cbuffer.h", "returnType": { - "c": "double", - "canonical": "double" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { @@ -38592,31 +39406,36 @@ ] }, { - "name": "nai_tcbuffer_cbuffer", + "name": "tdwithin_geo_tcbuffer", "file": "meos_cbuffer.h", "returnType": { - "c": "TInstant *", - "canonical": "struct TInstant *" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + }, { "name": "temp", "cType": "const Temporal *", "canonical": "const Temporal *" }, { - "name": "cb", - "cType": "const Cbuffer *", - "canonical": "const struct Cbuffer *" + "name": "dist", + "cType": "double", + "canonical": "double" } ] }, { - "name": "nai_tcbuffer_geo", + "name": "tdwithin_tcbuffer_geo", "file": "meos_cbuffer.h", "returnType": { - "c": "TInstant *", - "canonical": "struct TInstant *" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { @@ -38628,35 +39447,20 @@ "name": "gs", "cType": "const int *", "canonical": "const int *" - } - ] - }, - { - "name": "nai_tcbuffer_tcbuffer", - "file": "meos_cbuffer.h", - "returnType": { - "c": "TInstant *", - "canonical": "struct TInstant *" - }, - "params": [ - { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" }, { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "dist", + "cType": "double", + "canonical": "double" } ] }, { - "name": "shortestline_tcbuffer_cbuffer", + "name": "tdwithin_tcbuffer_cbuffer", "file": "meos_cbuffer.h", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { @@ -38668,35 +39472,20 @@ "name": "cb", "cType": "const Cbuffer *", "canonical": "const struct Cbuffer *" - } - ] - }, - { - "name": "shortestline_tcbuffer_geo", - "file": "meos_cbuffer.h", - "returnType": { - "c": "int *", - "canonical": "int *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" }, { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "name": "dist", + "cType": "double", + "canonical": "double" } ] }, { - "name": "shortestline_tcbuffer_tcbuffer", + "name": "tdwithin_tcbuffer_tcbuffer", "file": "meos_cbuffer.h", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { @@ -38708,15 +39497,20 @@ "name": "temp2", "cType": "const Temporal *", "canonical": "const Temporal *" + }, + { + "name": "dist", + "cType": "double", + "canonical": "double" } ] }, { - "name": "always_eq_cbuffer_tcbuffer", + "name": "tdisjoint_cbuffer_tcbuffer", "file": "meos_cbuffer.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { @@ -38732,71 +39526,51 @@ ] }, { - "name": "always_eq_tcbuffer_cbuffer", + "name": "tdisjoint_geo_tcbuffer", "file": "meos_cbuffer.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + }, { "name": "temp", "cType": "const Temporal *", "canonical": "const Temporal *" - }, - { - "name": "cb", - "cType": "const Cbuffer *", - "canonical": "const struct Cbuffer *" } ] }, { - "name": "always_eq_tcbuffer_tcbuffer", + "name": "tdisjoint_tcbuffer_geo", "file": "meos_cbuffer.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "temp2", + "name": "temp", "cType": "const Temporal *", "canonical": "const Temporal *" - } - ] - }, - { - "name": "always_ne_cbuffer_tcbuffer", - "file": "meos_cbuffer.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "cb", - "cType": "const Cbuffer *", - "canonical": "const struct Cbuffer *" }, { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "gs", + "cType": "const int *", + "canonical": "const int *" } ] }, { - "name": "always_ne_tcbuffer_cbuffer", + "name": "tdisjoint_tcbuffer_cbuffer", "file": "meos_cbuffer.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { @@ -38812,11 +39586,11 @@ ] }, { - "name": "always_ne_tcbuffer_tcbuffer", + "name": "tdisjoint_tcbuffer_tcbuffer", "file": "meos_cbuffer.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { @@ -38832,11 +39606,11 @@ ] }, { - "name": "ever_eq_cbuffer_tcbuffer", + "name": "tintersects_cbuffer_tcbuffer", "file": "meos_cbuffer.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { @@ -38852,71 +39626,51 @@ ] }, { - "name": "ever_eq_tcbuffer_cbuffer", - "file": "meos_cbuffer.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "cb", - "cType": "const Cbuffer *", - "canonical": "const struct Cbuffer *" - } - ] - }, - { - "name": "ever_eq_tcbuffer_tcbuffer", + "name": "tintersects_geo_tcbuffer", "file": "meos_cbuffer.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "gs", + "cType": "const int *", + "canonical": "const int *" }, { - "name": "temp2", + "name": "temp", "cType": "const Temporal *", "canonical": "const Temporal *" } ] }, { - "name": "ever_ne_cbuffer_tcbuffer", + "name": "tintersects_tcbuffer_geo", "file": "meos_cbuffer.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ - { - "name": "cb", - "cType": "const Cbuffer *", - "canonical": "const struct Cbuffer *" - }, { "name": "temp", "cType": "const Temporal *", "canonical": "const Temporal *" + }, + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" } ] }, { - "name": "ever_ne_tcbuffer_cbuffer", + "name": "tintersects_tcbuffer_cbuffer", "file": "meos_cbuffer.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { @@ -38932,11 +39686,11 @@ ] }, { - "name": "ever_ne_tcbuffer_tcbuffer", + "name": "tintersects_tcbuffer_tcbuffer", "file": "meos_cbuffer.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { @@ -38952,7 +39706,7 @@ ] }, { - "name": "teq_cbuffer_tcbuffer", + "name": "ttouches_geo_tcbuffer", "file": "meos_cbuffer.h", "returnType": { "c": "Temporal *", @@ -38960,9 +39714,9 @@ }, "params": [ { - "name": "cb", - "cType": "const Cbuffer *", - "canonical": "const struct Cbuffer *" + "name": "gs", + "cType": "const int *", + "canonical": "const int *" }, { "name": "temp", @@ -38972,7 +39726,7 @@ ] }, { - "name": "teq_tcbuffer_cbuffer", + "name": "ttouches_tcbuffer_geo", "file": "meos_cbuffer.h", "returnType": { "c": "Temporal *", @@ -38985,14 +39739,14 @@ "canonical": "const Temporal *" }, { - "name": "cb", - "cType": "const Cbuffer *", - "canonical": "const struct Cbuffer *" + "name": "gs", + "cType": "const int *", + "canonical": "const int *" } ] }, { - "name": "tne_cbuffer_tcbuffer", + "name": "ttouches_cbuffer_tcbuffer", "file": "meos_cbuffer.h", "returnType": { "c": "Temporal *", @@ -39012,7 +39766,7 @@ ] }, { - "name": "tne_tcbuffer_cbuffer", + "name": "ttouches_tcbuffer_cbuffer", "file": "meos_cbuffer.h", "returnType": { "c": "Temporal *", @@ -39032,2710 +39786,2670 @@ ] }, { - "name": "acontains_cbuffer_tcbuffer", + "name": "ttouches_tcbuffer_tcbuffer", "file": "meos_cbuffer.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "cb", - "cType": "const Cbuffer *", - "canonical": "const struct Cbuffer *" - }, - { - "name": "temp", + "name": "temp1", "cType": "const Temporal *", "canonical": "const Temporal *" - } - ] - }, - { - "name": "acontains_geo_tcbuffer", - "file": "meos_cbuffer.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" }, { - "name": "temp", + "name": "temp2", "cType": "const Temporal *", "canonical": "const Temporal *" } ] }, { - "name": "acontains_tcbuffer_cbuffer", - "file": "meos_cbuffer.h", + "name": "gsl_get_generation_rng", + "file": "meos_internal.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "gsl_rng *", + "canonical": "gsl_rng *" }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "cb", - "cType": "const Cbuffer *", - "canonical": "const struct Cbuffer *" - } - ] + "params": [] }, { - "name": "acontains_tcbuffer_geo", - "file": "meos_cbuffer.h", + "name": "gsl_get_aggregation_rng", + "file": "meos_internal.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "gsl_rng *", + "canonical": "gsl_rng *" }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" - } - ] + "params": [] }, { - "name": "acovers_cbuffer_tcbuffer", - "file": "meos_cbuffer.h", + "name": "datum_ceil", + "file": "meos_internal.h", "returnType": { "c": "int", "canonical": "int" }, "params": [ { - "name": "cb", - "cType": "const Cbuffer *", - "canonical": "const struct Cbuffer *" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "d", + "cType": "Datum", + "canonical": "int ((int *))()" } ] }, { - "name": "acovers_geo_tcbuffer", - "file": "meos_cbuffer.h", + "name": "datum_degrees", + "file": "meos_internal.h", "returnType": { "c": "int", "canonical": "int" }, "params": [ { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "name": "d", + "cType": "Datum", + "canonical": "int ((int *))()" }, { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "normalize", + "cType": "Datum", + "canonical": "int ((int *))()" } ] }, { - "name": "acovers_tcbuffer_cbuffer", - "file": "meos_cbuffer.h", + "name": "datum_float_round", + "file": "meos_internal.h", "returnType": { "c": "int", "canonical": "int" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" }, { - "name": "cb", - "cType": "const Cbuffer *", - "canonical": "const struct Cbuffer *" + "name": "size", + "cType": "Datum", + "canonical": "int ((int *))()" } ] }, { - "name": "acovers_tcbuffer_geo", - "file": "meos_cbuffer.h", + "name": "datum_floor", + "file": "meos_internal.h", "returnType": { "c": "int", "canonical": "int" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "name": "d", + "cType": "Datum", + "canonical": "int ((int *))()" } ] }, { - "name": "adisjoint_tcbuffer_geo", - "file": "meos_cbuffer.h", + "name": "datum_hash", + "file": "meos_internal.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "uint32", + "canonical": "unsigned int" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "d", + "cType": "Datum", + "canonical": "int ((int *))()" }, { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "name": "basetype", + "cType": "MeosType", + "canonical": "MeosType" } ] }, { - "name": "adisjoint_tcbuffer_cbuffer", - "file": "meos_cbuffer.h", + "name": "datum_hash_extended", + "file": "meos_internal.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "uint64", + "canonical": "unsigned long" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "d", + "cType": "Datum", + "canonical": "int ((int *))()" }, { - "name": "cb", - "cType": "const Cbuffer *", - "canonical": "const struct Cbuffer *" + "name": "basetype", + "cType": "MeosType", + "canonical": "MeosType" + }, + { + "name": "seed", + "cType": "uint64", + "canonical": "unsigned long" } ] }, { - "name": "adisjoint_tcbuffer_tcbuffer", - "file": "meos_cbuffer.h", + "name": "datum_radians", + "file": "meos_internal.h", "returnType": { "c": "int", "canonical": "int" }, "params": [ { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "d", + "cType": "Datum", + "canonical": "int ((int *))()" } ] }, { - "name": "adwithin_tcbuffer_geo", - "file": "meos_cbuffer.h", + "name": "floatspan_round_set", + "file": "meos_internal.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "void", + "canonical": "void" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" }, { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "name": "maxdd", + "cType": "int", + "canonical": "int" }, { - "name": "dist", - "cType": "double", - "canonical": "double" + "name": "result", + "cType": "Span *", + "canonical": "struct Span *" } ] }, { - "name": "adwithin_tcbuffer_cbuffer", - "file": "meos_cbuffer.h", + "name": "set_in", + "file": "meos_internal.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "Set *", + "canonical": "Set *" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "cb", - "cType": "const Cbuffer *", - "canonical": "const struct Cbuffer *" + "name": "str", + "cType": "const char *", + "canonical": "const char *" }, { - "name": "dist", - "cType": "double", - "canonical": "double" + "name": "basetype", + "cType": "MeosType", + "canonical": "MeosType" } ] }, { - "name": "adwithin_tcbuffer_tcbuffer", - "file": "meos_cbuffer.h", + "name": "set_out", + "file": "meos_internal.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "char *", + "canonical": "char *" }, "params": [ { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" }, { - "name": "dist", - "cType": "double", - "canonical": "double" + "name": "maxdd", + "cType": "int", + "canonical": "int" } ] }, { - "name": "aintersects_tcbuffer_geo", - "file": "meos_cbuffer.h", + "name": "span_in", + "file": "meos_internal.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "Span *", + "canonical": "struct Span *" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "str", + "cType": "const char *", + "canonical": "const char *" }, { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "name": "spantype", + "cType": "MeosType", + "canonical": "MeosType" } ] }, { - "name": "aintersects_tcbuffer_cbuffer", - "file": "meos_cbuffer.h", + "name": "span_out", + "file": "meos_internal.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "char *", + "canonical": "char *" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" }, { - "name": "cb", - "cType": "const Cbuffer *", - "canonical": "const struct Cbuffer *" + "name": "maxdd", + "cType": "int", + "canonical": "int" } ] }, { - "name": "aintersects_tcbuffer_tcbuffer", - "file": "meos_cbuffer.h", + "name": "spanset_in", + "file": "meos_internal.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "SpanSet *", + "canonical": "struct SpanSet *" }, "params": [ { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "str", + "cType": "const char *", + "canonical": "const char *" }, { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "spantype", + "cType": "MeosType", + "canonical": "MeosType" } ] }, { - "name": "atouches_tcbuffer_geo", - "file": "meos_cbuffer.h", + "name": "spanset_out", + "file": "meos_internal.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "char *", + "canonical": "char *" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" }, { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "name": "maxdd", + "cType": "int", + "canonical": "int" } ] }, { - "name": "atouches_tcbuffer_cbuffer", - "file": "meos_cbuffer.h", + "name": "set_make", + "file": "meos_internal.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "Set *", + "canonical": "Set *" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "values", + "cType": "Datum *", + "canonical": "int ((*)(int *))()" }, { - "name": "cb", - "cType": "const Cbuffer *", - "canonical": "const struct Cbuffer *" + "name": "count", + "cType": "int", + "canonical": "int" + }, + { + "name": "basetype", + "cType": "MeosType", + "canonical": "MeosType" + }, + { + "name": "order", + "cType": "bool", + "canonical": "bool" } ] }, { - "name": "atouches_tcbuffer_tcbuffer", - "file": "meos_cbuffer.h", + "name": "set_make_exp", + "file": "meos_internal.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "Set *", + "canonical": "Set *" }, "params": [ { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "values", + "cType": "Datum *", + "canonical": "int ((*)(int *))()" }, { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "count", + "cType": "int", + "canonical": "int" + }, + { + "name": "maxcount", + "cType": "int", + "canonical": "int" + }, + { + "name": "basetype", + "cType": "MeosType", + "canonical": "MeosType" + }, + { + "name": "order", + "cType": "bool", + "canonical": "bool" } ] }, { - "name": "econtains_cbuffer_tcbuffer", - "file": "meos_cbuffer.h", + "name": "set_make_free", + "file": "meos_internal.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "Set *", + "canonical": "Set *" }, "params": [ { - "name": "cb", - "cType": "const Cbuffer *", - "canonical": "const struct Cbuffer *" + "name": "values", + "cType": "Datum *", + "canonical": "int ((*)(int *))()" }, { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "count", + "cType": "int", + "canonical": "int" + }, + { + "name": "basetype", + "cType": "MeosType", + "canonical": "MeosType" + }, + { + "name": "order", + "cType": "bool", + "canonical": "bool" } ] }, { - "name": "econtains_tcbuffer_cbuffer", - "file": "meos_cbuffer.h", + "name": "span_make", + "file": "meos_internal.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "Span *", + "canonical": "struct Span *" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "lower", + "cType": "Datum", + "canonical": "int ((int *))()" }, { - "name": "cb", - "cType": "const Cbuffer *", - "canonical": "const struct Cbuffer *" + "name": "upper", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "lower_inc", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "upper_inc", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "basetype", + "cType": "MeosType", + "canonical": "MeosType" } ] }, { - "name": "econtains_tcbuffer_geo", - "file": "meos_cbuffer.h", + "name": "span_set", + "file": "meos_internal.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "void", + "canonical": "void" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "lower", + "cType": "Datum", + "canonical": "int ((int *))()" }, { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "name": "upper", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "lower_inc", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "upper_inc", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "basetype", + "cType": "MeosType", + "canonical": "MeosType" + }, + { + "name": "spantype", + "cType": "MeosType", + "canonical": "MeosType" + }, + { + "name": "result", + "cType": "Span *", + "canonical": "struct Span *" } ] }, { - "name": "ecovers_cbuffer_tcbuffer", - "file": "meos_cbuffer.h", + "name": "spanset_make_exp", + "file": "meos_internal.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "SpanSet *", + "canonical": "struct SpanSet *" }, "params": [ { - "name": "cb", - "cType": "const Cbuffer *", - "canonical": "const struct Cbuffer *" + "name": "spans", + "cType": "Span *", + "canonical": "struct Span *" }, { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "count", + "cType": "int", + "canonical": "int" + }, + { + "name": "maxcount", + "cType": "int", + "canonical": "int" + }, + { + "name": "normalize", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "order", + "cType": "bool", + "canonical": "bool" } ] }, { - "name": "ecovers_tcbuffer_cbuffer", - "file": "meos_cbuffer.h", + "name": "spanset_make_free", + "file": "meos_internal.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "SpanSet *", + "canonical": "struct SpanSet *" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "spans", + "cType": "Span *", + "canonical": "struct Span *" }, { - "name": "cb", - "cType": "const Cbuffer *", - "canonical": "const struct Cbuffer *" + "name": "count", + "cType": "int", + "canonical": "int" + }, + { + "name": "normalize", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "order", + "cType": "bool", + "canonical": "bool" } ] }, { - "name": "ecovers_tcbuffer_geo", - "file": "meos_cbuffer.h", + "name": "set_span", + "file": "meos_internal.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "Span *", + "canonical": "struct Span *" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" } ] }, { - "name": "ecovers_tcbuffer_tcbuffer", - "file": "meos_cbuffer.h", + "name": "set_spanset", + "file": "meos_internal.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "SpanSet *", + "canonical": "struct SpanSet *" }, "params": [ { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" } ] }, { - "name": "edisjoint_tcbuffer_geo", - "file": "meos_cbuffer.h", + "name": "value_set_span", + "file": "meos_internal.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "void", + "canonical": "void" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" }, { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "name": "basetype", + "cType": "MeosType", + "canonical": "MeosType" + }, + { + "name": "result", + "cType": "Span *", + "canonical": "struct Span *" } ] }, { - "name": "edisjoint_tcbuffer_cbuffer", - "file": "meos_cbuffer.h", + "name": "value_set", + "file": "meos_internal.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "Set *", + "canonical": "Set *" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "d", + "cType": "Datum", + "canonical": "int ((int *))()" }, { - "name": "cb", - "cType": "const Cbuffer *", - "canonical": "const struct Cbuffer *" + "name": "basetype", + "cType": "MeosType", + "canonical": "MeosType" } ] }, { - "name": "edwithin_tcbuffer_geo", - "file": "meos_cbuffer.h", + "name": "value_span", + "file": "meos_internal.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "Span *", + "canonical": "struct Span *" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "name": "d", + "cType": "Datum", + "canonical": "int ((int *))()" }, { - "name": "dist", - "cType": "double", - "canonical": "double" + "name": "basetype", + "cType": "MeosType", + "canonical": "MeosType" } ] }, { - "name": "edwithin_tcbuffer_cbuffer", - "file": "meos_cbuffer.h", + "name": "value_spanset", + "file": "meos_internal.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "SpanSet *", + "canonical": "struct SpanSet *" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "cb", - "cType": "const Cbuffer *", - "canonical": "const struct Cbuffer *" + "name": "d", + "cType": "Datum", + "canonical": "int ((int *))()" }, { - "name": "dist", - "cType": "double", - "canonical": "double" + "name": "basetype", + "cType": "MeosType", + "canonical": "MeosType" } ] }, { - "name": "edwithin_tcbuffer_tcbuffer", - "file": "meos_cbuffer.h", + "name": "numspan_width", + "file": "meos_internal.h", "returnType": { "c": "int", "canonical": "int" }, "params": [ { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "dist", - "cType": "double", - "canonical": "double" + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" } ] }, { - "name": "eintersects_tcbuffer_geo", - "file": "meos_cbuffer.h", + "name": "numspanset_width", + "file": "meos_internal.h", "returnType": { "c": "int", "canonical": "int" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" }, { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "name": "boundspan", + "cType": "bool", + "canonical": "bool" } ] }, { - "name": "eintersects_tcbuffer_cbuffer", - "file": "meos_cbuffer.h", + "name": "set_end_value", + "file": "meos_internal.h", "returnType": { "c": "int", "canonical": "int" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "cb", - "cType": "const Cbuffer *", - "canonical": "const struct Cbuffer *" + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" } ] }, { - "name": "eintersects_tcbuffer_tcbuffer", - "file": "meos_cbuffer.h", + "name": "set_mem_size", + "file": "meos_internal.h", "returnType": { "c": "int", "canonical": "int" }, "params": [ { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" } ] }, { - "name": "etouches_tcbuffer_geo", - "file": "meos_cbuffer.h", + "name": "set_set_subspan", + "file": "meos_internal.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "void", + "canonical": "void" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" }, { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "name": "minidx", + "cType": "int", + "canonical": "int" + }, + { + "name": "maxidx", + "cType": "int", + "canonical": "int" + }, + { + "name": "result", + "cType": "Span *", + "canonical": "struct Span *" } ] }, { - "name": "etouches_tcbuffer_cbuffer", - "file": "meos_cbuffer.h", + "name": "set_set_span", + "file": "meos_internal.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "void", + "canonical": "void" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" }, { - "name": "cb", - "cType": "const Cbuffer *", - "canonical": "const struct Cbuffer *" + "name": "result", + "cType": "Span *", + "canonical": "struct Span *" } ] }, { - "name": "etouches_tcbuffer_tcbuffer", - "file": "meos_cbuffer.h", + "name": "set_start_value", + "file": "meos_internal.h", "returnType": { "c": "int", "canonical": "int" }, "params": [ { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" } ] }, { - "name": "tcontains_cbuffer_tcbuffer", - "file": "meos_cbuffer.h", + "name": "set_value_n", + "file": "meos_internal.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "cb", - "cType": "const Cbuffer *", - "canonical": "const struct Cbuffer *" + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" }, { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "n", + "cType": "int", + "canonical": "int" + }, + { + "name": "result", + "cType": "Datum *", + "canonical": "int ((*)(int *))()" } ] }, { - "name": "tcontains_geo_tcbuffer", - "file": "meos_cbuffer.h", + "name": "set_vals", + "file": "meos_internal.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "Datum *", + "canonical": "int ((*)(int *))()" }, "params": [ { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" }, { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "count", + "cType": "int *", + "canonical": "int *" } ] }, { - "name": "tcontains_tcbuffer_geo", - "file": "meos_cbuffer.h", + "name": "set_values", + "file": "meos_internal.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "Datum *", + "canonical": "int ((*)(int *))()" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" }, { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "name": "count", + "cType": "int *", + "canonical": "int *" } ] }, { - "name": "tcontains_tcbuffer_cbuffer", - "file": "meos_cbuffer.h", + "name": "spanset_lower", + "file": "meos_internal.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, + "c": "int", + "canonical": "int" + }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" + } + ] + }, + { + "name": "spanset_mem_size", + "file": "meos_internal.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ { - "name": "cb", - "cType": "const Cbuffer *", - "canonical": "const struct Cbuffer *" + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" } ] }, { - "name": "tcontains_tcbuffer_tcbuffer", - "file": "meos_cbuffer.h", + "name": "spanset_sps", + "file": "meos_internal.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "const Span **", + "canonical": "const struct Span **" }, "params": [ { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" }, { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "count", + "cType": "int *", + "canonical": "int *" } ] }, { - "name": "tcovers_cbuffer_tcbuffer", - "file": "meos_cbuffer.h", + "name": "spanset_upper", + "file": "meos_internal.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "cb", - "cType": "const Cbuffer *", - "canonical": "const struct Cbuffer *" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" } ] }, { - "name": "tcovers_geo_tcbuffer", - "file": "meos_cbuffer.h", + "name": "bigintspan_set_floatspan", + "file": "meos_internal.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "void", + "canonical": "void" }, "params": [ { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "name": "s1", + "cType": "const Span *", + "canonical": "const struct Span *" }, { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "s2", + "cType": "Span *", + "canonical": "struct Span *" } ] }, { - "name": "tcovers_tcbuffer_geo", - "file": "meos_cbuffer.h", + "name": "bigintspan_set_intspan", + "file": "meos_internal.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "void", + "canonical": "void" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "s1", + "cType": "const Span *", + "canonical": "const struct Span *" }, { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "name": "s2", + "cType": "Span *", + "canonical": "struct Span *" } ] }, { - "name": "tcovers_tcbuffer_cbuffer", - "file": "meos_cbuffer.h", + "name": "datespan_set_tstzspan", + "file": "meos_internal.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "void", + "canonical": "void" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "s1", + "cType": "const Span *", + "canonical": "const struct Span *" }, { - "name": "cb", - "cType": "const Cbuffer *", - "canonical": "const struct Cbuffer *" + "name": "s2", + "cType": "Span *", + "canonical": "struct Span *" } ] }, { - "name": "tcovers_tcbuffer_tcbuffer", - "file": "meos_cbuffer.h", + "name": "floatspan_set_bigintspan", + "file": "meos_internal.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "void", + "canonical": "void" }, "params": [ { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "s1", + "cType": "const Span *", + "canonical": "const struct Span *" }, { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "s2", + "cType": "Span *", + "canonical": "struct Span *" } ] }, { - "name": "tdwithin_geo_tcbuffer", - "file": "meos_cbuffer.h", + "name": "floatspan_set_intspan", + "file": "meos_internal.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "void", + "canonical": "void" }, "params": [ { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "s1", + "cType": "const Span *", + "canonical": "const struct Span *" }, { - "name": "dist", - "cType": "double", - "canonical": "double" + "name": "s2", + "cType": "Span *", + "canonical": "struct Span *" } ] }, { - "name": "tdwithin_tcbuffer_geo", - "file": "meos_cbuffer.h", + "name": "intspan_set_bigintspan", + "file": "meos_internal.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "void", + "canonical": "void" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "name": "s1", + "cType": "const Span *", + "canonical": "const struct Span *" }, { - "name": "dist", - "cType": "double", - "canonical": "double" + "name": "s2", + "cType": "Span *", + "canonical": "struct Span *" } ] }, { - "name": "tdwithin_tcbuffer_cbuffer", - "file": "meos_cbuffer.h", + "name": "intspan_set_floatspan", + "file": "meos_internal.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "void", + "canonical": "void" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "cb", - "cType": "const Cbuffer *", - "canonical": "const struct Cbuffer *" + "name": "s1", + "cType": "const Span *", + "canonical": "const struct Span *" }, { - "name": "dist", - "cType": "double", - "canonical": "double" + "name": "s2", + "cType": "Span *", + "canonical": "struct Span *" } ] }, { - "name": "tdwithin_tcbuffer_tcbuffer", - "file": "meos_cbuffer.h", + "name": "numset_shift_scale", + "file": "meos_internal.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "Set *", + "canonical": "Set *" }, "params": [ { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" }, { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "shift", + "cType": "Datum", + "canonical": "int ((int *))()" }, { - "name": "dist", - "cType": "double", - "canonical": "double" + "name": "width", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "hasshift", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "haswidth", + "cType": "bool", + "canonical": "bool" } ] }, { - "name": "tdisjoint_cbuffer_tcbuffer", - "file": "meos_cbuffer.h", + "name": "numspan_expand", + "file": "meos_internal.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "Span *", + "canonical": "struct Span *" }, "params": [ { - "name": "cb", - "cType": "const Cbuffer *", - "canonical": "const struct Cbuffer *" + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" }, { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" } ] }, { - "name": "tdisjoint_geo_tcbuffer", - "file": "meos_cbuffer.h", + "name": "numspan_shift_scale", + "file": "meos_internal.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "Span *", + "canonical": "struct Span *" }, "params": [ { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" }, { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "shift", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "width", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "hasshift", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "haswidth", + "cType": "bool", + "canonical": "bool" } ] }, { - "name": "tdisjoint_tcbuffer_geo", - "file": "meos_cbuffer.h", + "name": "numspanset_shift_scale", + "file": "meos_internal.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "SpanSet *", + "canonical": "struct SpanSet *" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" }, { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "name": "shift", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "width", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "hasshift", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "haswidth", + "cType": "bool", + "canonical": "bool" } ] }, { - "name": "tdisjoint_tcbuffer_cbuffer", - "file": "meos_cbuffer.h", + "name": "set_compact", + "file": "meos_internal.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "Set *", + "canonical": "Set *" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "cb", - "cType": "const Cbuffer *", - "canonical": "const struct Cbuffer *" + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" } ] }, { - "name": "tdisjoint_tcbuffer_tcbuffer", - "file": "meos_cbuffer.h", + "name": "span_expand", + "file": "meos_internal.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "void", + "canonical": "void" }, "params": [ { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "s1", + "cType": "const Span *", + "canonical": "const struct Span *" }, { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "s2", + "cType": "Span *", + "canonical": "struct Span *" } ] }, { - "name": "tintersects_cbuffer_tcbuffer", - "file": "meos_cbuffer.h", + "name": "spanset_compact", + "file": "meos_internal.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "SpanSet *", + "canonical": "struct SpanSet *" }, "params": [ { - "name": "cb", - "cType": "const Cbuffer *", - "canonical": "const struct Cbuffer *" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" } ] }, { - "name": "tintersects_geo_tcbuffer", - "file": "meos_cbuffer.h", + "name": "tbox_expand_value", + "file": "meos_internal.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "TBox *", + "canonical": "struct TBox *" }, "params": [ { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "name": "box", + "cType": "const TBox *", + "canonical": "const struct TBox *" }, { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "basetyp", + "cType": "MeosType", + "canonical": "MeosType" } ] }, { - "name": "tintersects_tcbuffer_geo", - "file": "meos_cbuffer.h", + "name": "textcat_textset_text_common", + "file": "meos_internal.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "Set *", + "canonical": "Set *" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" }, { - "name": "gs", + "name": "txt", "cType": "const int *", "canonical": "const int *" + }, + { + "name": "invert", + "cType": "bool", + "canonical": "bool" } ] }, { - "name": "tintersects_tcbuffer_cbuffer", - "file": "meos_cbuffer.h", + "name": "tstzspan_set_datespan", + "file": "meos_internal.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "void", + "canonical": "void" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "s1", + "cType": "const Span *", + "canonical": "const struct Span *" }, { - "name": "cb", - "cType": "const Cbuffer *", - "canonical": "const struct Cbuffer *" + "name": "s2", + "cType": "Span *", + "canonical": "struct Span *" } ] }, { - "name": "tintersects_tcbuffer_tcbuffer", - "file": "meos_cbuffer.h", + "name": "adjacent_span_value", + "file": "meos_internal.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" }, { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" } ] }, { - "name": "ttouches_geo_tcbuffer", - "file": "meos_cbuffer.h", + "name": "adjacent_spanset_value", + "file": "meos_internal.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" }, { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" } ] }, { - "name": "ttouches_tcbuffer_geo", - "file": "meos_cbuffer.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "name": "adjacent_value_spanset", + "file": "meos_internal.h", + "returnType": { + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" }, { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" } ] }, { - "name": "ttouches_cbuffer_tcbuffer", - "file": "meos_cbuffer.h", + "name": "contained_value_set", + "file": "meos_internal.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "cb", - "cType": "const Cbuffer *", - "canonical": "const struct Cbuffer *" + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" }, { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" } ] }, { - "name": "ttouches_tcbuffer_cbuffer", - "file": "meos_cbuffer.h", + "name": "contained_value_span", + "file": "meos_internal.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" }, { - "name": "cb", - "cType": "const Cbuffer *", - "canonical": "const struct Cbuffer *" + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" } ] }, { - "name": "ttouches_tcbuffer_tcbuffer", - "file": "meos_cbuffer.h", + "name": "contained_value_spanset", + "file": "meos_internal.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" }, { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" } ] }, { - "name": "acovers_tcbuffer_tcbuffer", - "file": "meos_cbuffer.h", + "name": "contains_set_value", + "file": "meos_internal.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" }, { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" } ] }, { - "name": "h3index_in", - "file": "meos_h3.h", + "name": "contains_span_value", + "file": "meos_internal.h", "returnType": { - "c": "H3Index", - "canonical": "unsigned long" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "str", - "cType": "const char *", - "canonical": "const char *" + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" } ] }, { - "name": "h3index_out", - "file": "meos_h3.h", + "name": "contains_spanset_value", + "file": "meos_internal.h", "returnType": { - "c": "char *", - "canonical": "char *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "cell", - "cType": "H3Index", - "canonical": "unsigned long" + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" } ] }, { - "name": "th3index_in", - "file": "meos_h3.h", + "name": "ovadj_span_span", + "file": "meos_internal.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "str", - "cType": "const char *", - "canonical": "const char *" + "name": "s1", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "s2", + "cType": "const Span *", + "canonical": "const struct Span *" } ] }, { - "name": "th3indexinst_in", - "file": "meos_h3.h", + "name": "left_set_value", + "file": "meos_internal.h", "returnType": { - "c": "TInstant *", - "canonical": "struct TInstant *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "str", - "cType": "const char *", - "canonical": "const char *" + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" } ] }, { - "name": "th3indexseq_in", - "file": "meos_h3.h", + "name": "left_span_value", + "file": "meos_internal.h", "returnType": { - "c": "TSequence *", - "canonical": "struct TSequence *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "str", - "cType": "const char *", - "canonical": "const char *" + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" }, { - "name": "interp", - "cType": "interpType", - "canonical": "interpType" + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" } ] }, { - "name": "th3indexseqset_in", - "file": "meos_h3.h", + "name": "left_spanset_value", + "file": "meos_internal.h", "returnType": { - "c": "TSequenceSet *", - "canonical": "struct TSequenceSet *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "str", - "cType": "const char *", - "canonical": "const char *" + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" } ] }, { - "name": "th3index_make", - "file": "meos_h3.h", + "name": "left_value_set", + "file": "meos_internal.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "bool", + "canonical": "bool" }, "params": [ { "name": "value", - "cType": "H3Index", - "canonical": "unsigned long" + "cType": "Datum", + "canonical": "int ((int *))()" }, { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" } ] }, { - "name": "th3indexinst_make", - "file": "meos_h3.h", + "name": "left_value_span", + "file": "meos_internal.h", "returnType": { - "c": "TInstant *", - "canonical": "struct TInstant *" + "c": "bool", + "canonical": "bool" }, "params": [ { "name": "value", - "cType": "H3Index", - "canonical": "unsigned long" + "cType": "Datum", + "canonical": "int ((int *))()" }, { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" } ] }, { - "name": "th3indexseq_make", - "file": "meos_h3.h", + "name": "left_value_spanset", + "file": "meos_internal.h", "returnType": { - "c": "TSequence *", - "canonical": "struct TSequence *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "values", - "cType": "const H3Index *", - "canonical": "const unsigned long *" - }, - { - "name": "times", - "cType": "const TimestampTz *", - "canonical": "const long *" - }, - { - "name": "count", - "cType": "int", - "canonical": "int" - }, - { - "name": "lower_inc", - "cType": "bool", - "canonical": "bool" + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" }, { - "name": "upper_inc", - "cType": "bool", - "canonical": "bool" + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" } ] }, { - "name": "th3indexseqset_make", - "file": "meos_h3.h", + "name": "lfnadj_span_span", + "file": "meos_internal.h", "returnType": { - "c": "TSequenceSet *", - "canonical": "struct TSequenceSet *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "sequences", - "cType": "const TSequence **", - "canonical": "const struct TSequence **" + "name": "s1", + "cType": "const Span *", + "canonical": "const struct Span *" }, { - "name": "count", - "cType": "int", - "canonical": "int" + "name": "s2", + "cType": "const Span *", + "canonical": "const struct Span *" } ] }, { - "name": "th3index_start_value", - "file": "meos_h3.h", + "name": "overleft_set_value", + "file": "meos_internal.h", "returnType": { - "c": "H3Index", - "canonical": "unsigned long" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" } ] }, { - "name": "th3index_end_value", - "file": "meos_h3.h", + "name": "overleft_span_value", + "file": "meos_internal.h", "returnType": { - "c": "H3Index", - "canonical": "unsigned long" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" } ] }, { - "name": "th3index_value_n", - "file": "meos_h3.h", + "name": "overleft_spanset_value", + "file": "meos_internal.h", "returnType": { "c": "bool", "canonical": "bool" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "n", - "cType": "int", - "canonical": "int" + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" }, { - "name": "result", - "cType": "H3Index *", - "canonical": "unsigned long *" + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" } ] }, { - "name": "th3index_values", - "file": "meos_h3.h", + "name": "overleft_value_set", + "file": "meos_internal.h", "returnType": { - "c": "H3Index *", - "canonical": "unsigned long *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" }, { - "name": "count", - "cType": "int *", - "canonical": "int *" + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" } ] }, { - "name": "th3index_value_at_timestamptz", - "file": "meos_h3.h", + "name": "overleft_value_span", + "file": "meos_internal.h", "returnType": { "c": "bool", "canonical": "bool" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" - }, - { - "name": "strict", - "cType": "bool", - "canonical": "bool" + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" }, { - "name": "result", - "cType": "H3Index *", - "canonical": "unsigned long *" + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" } ] }, { - "name": "tbigint_to_th3index", - "file": "meos_h3.h", + "name": "overleft_value_spanset", + "file": "meos_internal.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" } ] }, { - "name": "th3index_to_tbigint", - "file": "meos_h3.h", + "name": "overright_set_value", + "file": "meos_internal.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" } ] }, { - "name": "ever_eq_h3index_th3index", - "file": "meos_h3.h", + "name": "overright_span_value", + "file": "meos_internal.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "cell", - "cType": "H3Index", - "canonical": "unsigned long" + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" }, { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" } ] }, { - "name": "ever_eq_th3index_h3index", - "file": "meos_h3.h", + "name": "overright_spanset_value", + "file": "meos_internal.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" }, { - "name": "cell", - "cType": "H3Index", - "canonical": "unsigned long" + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" } ] }, { - "name": "ever_ne_h3index_th3index", - "file": "meos_h3.h", + "name": "overright_value_set", + "file": "meos_internal.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "cell", - "cType": "H3Index", - "canonical": "unsigned long" + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" }, { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" } ] }, { - "name": "ever_ne_th3index_h3index", - "file": "meos_h3.h", + "name": "overright_value_span", + "file": "meos_internal.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" }, { - "name": "cell", - "cType": "H3Index", - "canonical": "unsigned long" + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" } ] }, { - "name": "always_eq_h3index_th3index", - "file": "meos_h3.h", + "name": "overright_value_spanset", + "file": "meos_internal.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "cell", - "cType": "H3Index", - "canonical": "unsigned long" + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" }, { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" } ] }, { - "name": "always_eq_th3index_h3index", - "file": "meos_h3.h", + "name": "right_value_set", + "file": "meos_internal.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" }, { - "name": "cell", - "cType": "H3Index", - "canonical": "unsigned long" + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" } ] }, { - "name": "always_ne_h3index_th3index", - "file": "meos_h3.h", + "name": "right_set_value", + "file": "meos_internal.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "cell", - "cType": "H3Index", - "canonical": "unsigned long" + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" }, { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" } ] }, { - "name": "always_ne_th3index_h3index", - "file": "meos_h3.h", + "name": "right_value_span", + "file": "meos_internal.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" }, { - "name": "cell", - "cType": "H3Index", - "canonical": "unsigned long" + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" } ] }, { - "name": "ever_eq_th3index_th3index", - "file": "meos_h3.h", + "name": "right_value_spanset", + "file": "meos_internal.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" }, { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" } ] }, { - "name": "ever_ne_th3index_th3index", - "file": "meos_h3.h", + "name": "right_span_value", + "file": "meos_internal.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" }, { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" } ] }, { - "name": "always_eq_th3index_th3index", - "file": "meos_h3.h", + "name": "right_spanset_value", + "file": "meos_internal.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" }, { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" } ] }, { - "name": "always_ne_th3index_th3index", - "file": "meos_h3.h", + "name": "bbox_type", + "file": "meos_internal.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "bboxtype", + "cType": "MeosType", + "canonical": "MeosType" } ] }, { - "name": "teq_h3index_th3index", - "file": "meos_h3.h", + "name": "bbox_get_size", + "file": "meos_internal.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "size_t", + "canonical": "unsigned long" }, "params": [ { - "name": "cell", - "cType": "H3Index", - "canonical": "unsigned long" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "bboxtype", + "cType": "MeosType", + "canonical": "MeosType" } ] }, { - "name": "teq_th3index_h3index", - "file": "meos_h3.h", + "name": "bbox_max_dims", + "file": "meos_internal.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "cell", - "cType": "H3Index", - "canonical": "unsigned long" + "name": "bboxtype", + "cType": "MeosType", + "canonical": "MeosType" } ] }, { - "name": "teq_th3index_th3index", - "file": "meos_h3.h", + "name": "temporal_bbox_eq", + "file": "meos_internal.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "box1", + "cType": "const void *", + "canonical": "const void *" }, { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "box2", + "cType": "const void *", + "canonical": "const void *" + }, + { + "name": "temptype", + "cType": "MeosType", + "canonical": "MeosType" } ] }, { - "name": "tne_h3index_th3index", - "file": "meos_h3.h", + "name": "temporal_bbox_cmp", + "file": "meos_internal.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "cell", - "cType": "H3Index", - "canonical": "unsigned long" + "name": "box1", + "cType": "const void *", + "canonical": "const void *" }, { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "box2", + "cType": "const void *", + "canonical": "const void *" + }, + { + "name": "temptype", + "cType": "MeosType", + "canonical": "MeosType" } ] }, { - "name": "tne_th3index_h3index", - "file": "meos_h3.h", + "name": "bbox_union_span_span", + "file": "meos_internal.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "void", + "canonical": "void" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "s1", + "cType": "const Span *", + "canonical": "const struct Span *" }, { - "name": "cell", - "cType": "H3Index", - "canonical": "unsigned long" + "name": "s2", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "result", + "cType": "Span *", + "canonical": "struct Span *" } ] }, { - "name": "tne_th3index_th3index", - "file": "meos_h3.h", + "name": "inter_span_span", + "file": "meos_internal.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "s1", + "cType": "const Span *", + "canonical": "const struct Span *" }, { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "s2", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "result", + "cType": "Span *", + "canonical": "struct Span *" } ] }, { - "name": "th3index_get_resolution", - "file": "meos_h3.h", + "name": "intersection_set_value", + "file": "meos_internal.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "Set *", + "canonical": "Set *" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" } ] }, { - "name": "th3index_get_base_cell_number", - "file": "meos_h3.h", + "name": "intersection_span_value", + "file": "meos_internal.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "Span *", + "canonical": "struct Span *" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" } ] }, { - "name": "th3index_is_valid_cell", - "file": "meos_h3.h", + "name": "intersection_spanset_value", + "file": "meos_internal.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "SpanSet *", + "canonical": "struct SpanSet *" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" } ] }, { - "name": "th3index_is_res_class_iii", - "file": "meos_h3.h", + "name": "intersection_value_set", + "file": "meos_internal.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "Set *", + "canonical": "Set *" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" } ] }, { - "name": "th3index_is_pentagon", - "file": "meos_h3.h", + "name": "intersection_value_span", + "file": "meos_internal.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "Span *", + "canonical": "struct Span *" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" } ] }, { - "name": "th3index_cell_to_parent", - "file": "meos_h3.h", + "name": "intersection_value_spanset", + "file": "meos_internal.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "SpanSet *", + "canonical": "struct SpanSet *" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" }, { - "name": "resolution", - "cType": "int32", - "canonical": "int" + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" } ] }, { - "name": "th3index_cell_to_parent_next", - "file": "meos_h3.h", + "name": "mi_span_span", + "file": "meos_internal.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "s1", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "s2", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "result", + "cType": "Span *", + "canonical": "struct Span *" } ] }, { - "name": "th3index_cell_to_center_child", - "file": "meos_h3.h", + "name": "minus_set_value", + "file": "meos_internal.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "Set *", + "canonical": "Set *" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" }, { - "name": "resolution", - "cType": "int32", - "canonical": "int" + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" } ] }, { - "name": "th3index_cell_to_center_child_next", - "file": "meos_h3.h", + "name": "minus_span_value", + "file": "meos_internal.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "SpanSet *", + "canonical": "struct SpanSet *" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" } ] }, { - "name": "th3index_cell_to_child_pos", - "file": "meos_h3.h", + "name": "minus_spanset_value", + "file": "meos_internal.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "SpanSet *", + "canonical": "struct SpanSet *" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" }, { - "name": "parent_res", - "cType": "int32", - "canonical": "int" + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" } ] }, { - "name": "th3index_child_pos_to_cell", - "file": "meos_h3.h", + "name": "minus_value_set", + "file": "meos_internal.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "Set *", + "canonical": "Set *" }, "params": [ { - "name": "child_pos", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "parent", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" }, { - "name": "child_res", - "cType": "int32", - "canonical": "int" + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" } ] }, { - "name": "tgeogpoint_to_th3index", - "file": "meos_h3.h", + "name": "minus_value_span", + "file": "meos_internal.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "SpanSet *", + "canonical": "struct SpanSet *" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" }, { - "name": "resolution", - "cType": "int32", - "canonical": "int" + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" } ] }, { - "name": "tgeompoint_to_th3index", - "file": "meos_h3.h", + "name": "minus_value_spanset", + "file": "meos_internal.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "SpanSet *", + "canonical": "struct SpanSet *" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" }, { - "name": "resolution", - "cType": "int32", - "canonical": "int" - } - ] - }, - { - "name": "th3index_to_tgeogpoint", - "file": "meos_h3.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "th3index_to_tgeompoint", - "file": "meos_h3.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "th3index_cell_to_boundary", - "file": "meos_h3.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" } ] }, { - "name": "geo_to_h3index_set", - "file": "meos_h3.h", + "name": "union_set_value", + "file": "meos_internal.h", "returnType": { "c": "Set *", "canonical": "Set *" }, "params": [ { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" - }, - { - "name": "resolution", - "cType": "int32", - "canonical": "int" - } - ] - }, - { - "name": "ever_eq_h3indexset_th3index", - "file": "meos_h3.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "cells", + "name": "s", "cType": "const Set *", "canonical": "const Set *" }, { - "name": "th3idx", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" } ] }, { - "name": "th3index_are_neighbor_cells", - "file": "meos_h3.h", + "name": "union_span_value", + "file": "meos_internal.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "SpanSet *", + "canonical": "struct SpanSet *" }, "params": [ { - "name": "origin", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" }, { - "name": "dest", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" } ] }, { - "name": "th3index_cells_to_directed_edge", - "file": "meos_h3.h", + "name": "union_spanset_value", + "file": "meos_internal.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "SpanSet *", + "canonical": "struct SpanSet *" }, "params": [ { - "name": "origin", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" }, { - "name": "dest", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "th3index_is_valid_directed_edge", - "file": "meos_h3.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "edge", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "th3index_get_directed_edge_origin", - "file": "meos_h3.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "edge", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" } ] }, { - "name": "th3index_get_directed_edge_destination", - "file": "meos_h3.h", + "name": "union_value_set", + "file": "meos_internal.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "Set *", + "canonical": "Set *" }, "params": [ { - "name": "edge", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "th3index_directed_edge_to_boundary", - "file": "meos_h3.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, { - "name": "edge", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" } ] }, { - "name": "th3index_cell_to_vertex", - "file": "meos_h3.h", + "name": "union_value_span", + "file": "meos_internal.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "SpanSet *", + "canonical": "struct SpanSet *" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" }, { - "name": "vertex_num", - "cType": "int32", - "canonical": "int" + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" } ] }, { - "name": "th3index_vertex_to_latlng", - "file": "meos_h3.h", + "name": "union_value_spanset", + "file": "meos_internal.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "SpanSet *", + "canonical": "struct SpanSet *" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "th3index_is_valid_vertex", - "file": "meos_h3.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" } ] }, { - "name": "th3index_grid_distance", - "file": "meos_h3.h", + "name": "distance_set_set", + "file": "meos_internal.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "origin", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "s1", + "cType": "const Set *", + "canonical": "const Set *" }, { - "name": "dest", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "s2", + "cType": "const Set *", + "canonical": "const Set *" } ] }, { - "name": "th3index_cell_to_local_ij", - "file": "meos_h3.h", + "name": "distance_set_value", + "file": "meos_internal.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "origin", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" }, { - "name": "cell", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" } ] }, { - "name": "th3index_local_ij_to_cell", - "file": "meos_h3.h", + "name": "distance_span_span", + "file": "meos_internal.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "origin", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "s1", + "cType": "const Span *", + "canonical": "const struct Span *" }, { - "name": "coord", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "s2", + "cType": "const Span *", + "canonical": "const struct Span *" } ] }, { - "name": "th3index_cell_area", - "file": "meos_h3.h", + "name": "distance_span_value", + "file": "meos_internal.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" }, { - "name": "unit", - "cType": "const char *", - "canonical": "const char *" + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" } ] }, { - "name": "th3index_edge_length", - "file": "meos_h3.h", + "name": "distance_spanset_span", + "file": "meos_internal.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" }, { - "name": "unit", - "cType": "const char *", - "canonical": "const char *" + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" } ] }, { - "name": "tgeogpoint_great_circle_distance", - "file": "meos_h3.h", + "name": "distance_spanset_spanset", + "file": "meos_internal.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "a", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "b", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "ss1", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" }, { - "name": "unit", - "cType": "const char *", - "canonical": "const char *" + "name": "ss2", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" } ] }, { - "name": "gsl_get_generation_rng", - "file": "meos_internal.h", - "returnType": { - "c": "gsl_rng *", - "canonical": "gsl_rng *" - }, - "params": [] - }, - { - "name": "gsl_get_aggregation_rng", - "file": "meos_internal.h", - "returnType": { - "c": "gsl_rng *", - "canonical": "gsl_rng *" - }, - "params": [] - }, - { - "name": "datum_ceil", + "name": "distance_spanset_value", "file": "meos_internal.h", "returnType": { "c": "int", @@ -41743,14 +42457,19 @@ }, "params": [ { - "name": "d", + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" + }, + { + "name": "value", "cType": "Datum", "canonical": "int ((int *))()" } ] }, { - "name": "datum_degrees", + "name": "distance_value_value", "file": "meos_internal.h", "returnType": { "c": "int", @@ -41758,58 +42477,78 @@ }, "params": [ { - "name": "d", + "name": "l", "cType": "Datum", "canonical": "int ((int *))()" }, { - "name": "normalize", + "name": "r", "cType": "Datum", "canonical": "int ((int *))()" + }, + { + "name": "basetype", + "cType": "MeosType", + "canonical": "MeosType" } ] }, { - "name": "datum_float_round", + "name": "spanbase_extent_transfn", "file": "meos_internal.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "Span *", + "canonical": "struct Span *" }, "params": [ + { + "name": "state", + "cType": "Span *", + "canonical": "struct Span *" + }, { "name": "value", "cType": "Datum", "canonical": "int ((int *))()" }, { - "name": "size", - "cType": "Datum", - "canonical": "int ((int *))()" + "name": "basetype", + "cType": "MeosType", + "canonical": "MeosType" } ] }, { - "name": "datum_floor", + "name": "value_union_transfn", "file": "meos_internal.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "Set *", + "canonical": "Set *" }, "params": [ { - "name": "d", + "name": "state", + "cType": "Set *", + "canonical": "Set *" + }, + { + "name": "value", "cType": "Datum", "canonical": "int ((int *))()" + }, + { + "name": "basetype", + "cType": "MeosType", + "canonical": "MeosType" } ] }, { - "name": "datum_hash", + "name": "number_tstzspan_to_tbox", "file": "meos_internal.h", "returnType": { - "c": "uint32", - "canonical": "unsigned int" + "c": "TBox *", + "canonical": "struct TBox *" }, "params": [ { @@ -41819,17 +42558,22 @@ }, { "name": "basetype", - "cType": "int", - "canonical": "int" + "cType": "MeosType", + "canonical": "MeosType" + }, + { + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" } ] }, { - "name": "datum_hash_extended", + "name": "number_timestamptz_to_tbox", "file": "meos_internal.h", "returnType": { - "c": "uint64", - "canonical": "unsigned long" + "c": "TBox *", + "canonical": "struct TBox *" }, "params": [ { @@ -41839,37 +42583,22 @@ }, { "name": "basetype", - "cType": "int", - "canonical": "int" + "cType": "MeosType", + "canonical": "MeosType" }, { - "name": "seed", - "cType": "uint64", - "canonical": "unsigned long" + "name": "t", + "cType": "TimestampTz", + "canonical": "long" } ] }, { - "name": "datum_radians", + "name": "tbox_set", "file": "meos_internal.h", "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "d", - "cType": "Datum", - "canonical": "int ((int *))()" - } - ] - }, - { - "name": "floatspan_round_set", - "file": "meos_internal.h", - "returnType": { - "c": "void", - "canonical": "void" + "c": "void", + "canonical": "void" }, "params": [ { @@ -41878,269 +42607,239 @@ "canonical": "const struct Span *" }, { - "name": "maxdd", - "cType": "int", - "canonical": "int" + "name": "p", + "cType": "const Span *", + "canonical": "const struct Span *" }, { "name": "result", - "cType": "Span *", - "canonical": "struct Span *" + "cType": "TBox *", + "canonical": "struct TBox *" } ] }, { - "name": "set_in", + "name": "float_set_tbox", "file": "meos_internal.h", "returnType": { - "c": "Set *", - "canonical": "Set *" + "c": "void", + "canonical": "void" }, "params": [ { - "name": "str", - "cType": "const char *", - "canonical": "const char *" + "name": "d", + "cType": "double", + "canonical": "double" }, { - "name": "basetype", - "cType": "int", - "canonical": "int" + "name": "result", + "cType": "TBox *", + "canonical": "struct TBox *" } ] }, { - "name": "set_out", + "name": "int_set_tbox", "file": "meos_internal.h", "returnType": { - "c": "char *", - "canonical": "char *" + "c": "void", + "canonical": "void" }, "params": [ { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "maxdd", + "name": "i", "cType": "int", "canonical": "int" + }, + { + "name": "result", + "cType": "TBox *", + "canonical": "struct TBox *" } ] }, { - "name": "span_in", + "name": "number_set_tbox", "file": "meos_internal.h", "returnType": { - "c": "Span *", - "canonical": "struct Span *" + "c": "void", + "canonical": "void" }, "params": [ { - "name": "str", - "cType": "const char *", - "canonical": "const char *" + "name": "d", + "cType": "Datum", + "canonical": "int ((int *))()" }, { - "name": "spantype", - "cType": "int", - "canonical": "int" + "name": "basetype", + "cType": "MeosType", + "canonical": "MeosType" + }, + { + "name": "result", + "cType": "TBox *", + "canonical": "struct TBox *" } ] }, { - "name": "span_out", + "name": "number_tbox", "file": "meos_internal.h", "returnType": { - "c": "char *", - "canonical": "char *" + "c": "TBox *", + "canonical": "struct TBox *" }, "params": [ { - "name": "s", - "cType": "const Span *", - "canonical": "const struct Span *" + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" }, { - "name": "maxdd", - "cType": "int", - "canonical": "int" + "name": "basetype", + "cType": "MeosType", + "canonical": "MeosType" } ] }, { - "name": "spanset_in", + "name": "numset_set_tbox", "file": "meos_internal.h", "returnType": { - "c": "SpanSet *", - "canonical": "struct SpanSet *" + "c": "void", + "canonical": "void" }, "params": [ { - "name": "str", - "cType": "const char *", - "canonical": "const char *" + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" }, { - "name": "spantype", - "cType": "int", - "canonical": "int" + "name": "result", + "cType": "TBox *", + "canonical": "struct TBox *" } ] }, { - "name": "spanset_out", + "name": "numspan_set_tbox", "file": "meos_internal.h", "returnType": { - "c": "char *", - "canonical": "char *" + "c": "void", + "canonical": "void" }, "params": [ { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const struct SpanSet *" + "name": "span", + "cType": "const Span *", + "canonical": "const struct Span *" }, { - "name": "maxdd", - "cType": "int", - "canonical": "int" + "name": "result", + "cType": "TBox *", + "canonical": "struct TBox *" } ] }, { - "name": "set_make", + "name": "timestamptz_set_tbox", "file": "meos_internal.h", "returnType": { - "c": "Set *", - "canonical": "Set *" + "c": "void", + "canonical": "void" }, "params": [ { - "name": "values", - "cType": "Datum *", - "canonical": "int ((*)(int *))()" - }, - { - "name": "count", - "cType": "int", - "canonical": "int" - }, - { - "name": "basetype", - "cType": "int", - "canonical": "int" + "name": "t", + "cType": "TimestampTz", + "canonical": "long" }, { - "name": "order", - "cType": "bool", - "canonical": "bool" + "name": "result", + "cType": "TBox *", + "canonical": "struct TBox *" } ] }, { - "name": "set_make_exp", + "name": "tstzset_set_tbox", "file": "meos_internal.h", "returnType": { - "c": "Set *", - "canonical": "Set *" + "c": "void", + "canonical": "void" }, "params": [ { - "name": "values", - "cType": "Datum *", - "canonical": "int ((*)(int *))()" - }, - { - "name": "count", - "cType": "int", - "canonical": "int" - }, - { - "name": "maxcount", - "cType": "int", - "canonical": "int" - }, - { - "name": "basetype", - "cType": "int", - "canonical": "int" + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" }, { - "name": "order", - "cType": "bool", - "canonical": "bool" + "name": "result", + "cType": "TBox *", + "canonical": "struct TBox *" } ] }, { - "name": "set_make_free", + "name": "tstzspan_set_tbox", "file": "meos_internal.h", "returnType": { - "c": "Set *", - "canonical": "Set *" + "c": "void", + "canonical": "void" }, "params": [ { - "name": "values", - "cType": "Datum *", - "canonical": "int ((*)(int *))()" - }, - { - "name": "count", - "cType": "int", - "canonical": "int" - }, - { - "name": "basetype", - "cType": "int", - "canonical": "int" + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" }, { - "name": "order", - "cType": "bool", - "canonical": "bool" + "name": "result", + "cType": "TBox *", + "canonical": "struct TBox *" } ] }, { - "name": "span_make", + "name": "tbox_shift_scale_value", "file": "meos_internal.h", "returnType": { - "c": "Span *", - "canonical": "struct Span *" + "c": "TBox *", + "canonical": "struct TBox *" }, "params": [ { - "name": "lower", + "name": "box", + "cType": "const TBox *", + "canonical": "const struct TBox *" + }, + { + "name": "shift", "cType": "Datum", "canonical": "int ((int *))()" }, { - "name": "upper", + "name": "width", "cType": "Datum", "canonical": "int ((int *))()" }, { - "name": "lower_inc", + "name": "hasshift", "cType": "bool", "canonical": "bool" }, { - "name": "upper_inc", + "name": "haswidth", "cType": "bool", "canonical": "bool" - }, - { - "name": "basetype", - "cType": "int", - "canonical": "int" } ] }, { - "name": "span_set", + "name": "tbox_expand", "file": "meos_internal.h", "returnType": { "c": "void", @@ -42148,898 +42847,818 @@ }, "params": [ { - "name": "lower", - "cType": "Datum", - "canonical": "int ((int *))()" - }, - { - "name": "upper", - "cType": "Datum", - "canonical": "int ((int *))()" - }, - { - "name": "lower_inc", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "upper_inc", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "basetype", - "cType": "int", - "canonical": "int" - }, - { - "name": "spantype", - "cType": "int", - "canonical": "int" + "name": "box1", + "cType": "const TBox *", + "canonical": "const struct TBox *" }, { - "name": "s", - "cType": "Span *", - "canonical": "struct Span *" + "name": "box2", + "cType": "TBox *", + "canonical": "struct TBox *" } ] }, { - "name": "spanset_make_exp", + "name": "inter_tbox_tbox", "file": "meos_internal.h", "returnType": { - "c": "SpanSet *", - "canonical": "struct SpanSet *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "spans", - "cType": "Span *", - "canonical": "struct Span *" - }, - { - "name": "count", - "cType": "int", - "canonical": "int" - }, - { - "name": "maxcount", - "cType": "int", - "canonical": "int" + "name": "box1", + "cType": "const TBox *", + "canonical": "const struct TBox *" }, { - "name": "normalize", - "cType": "bool", - "canonical": "bool" + "name": "box2", + "cType": "const TBox *", + "canonical": "const struct TBox *" }, { - "name": "order", - "cType": "bool", - "canonical": "bool" + "name": "result", + "cType": "TBox *", + "canonical": "struct TBox *" } ] }, { - "name": "spanset_make_free", + "name": "tboolinst_from_mfjson", "file": "meos_internal.h", "returnType": { - "c": "SpanSet *", - "canonical": "struct SpanSet *" + "c": "TInstant *", + "canonical": "struct TInstant *" }, "params": [ { - "name": "spans", - "cType": "Span *", - "canonical": "struct Span *" - }, - { - "name": "count", - "cType": "int", - "canonical": "int" - }, - { - "name": "normalize", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "order", - "cType": "bool", - "canonical": "bool" + "name": "mfjson", + "cType": "json_object *", + "canonical": "struct json_object *" } ] }, { - "name": "set_span", + "name": "tboolinst_in", "file": "meos_internal.h", "returnType": { - "c": "Span *", - "canonical": "struct Span *" + "c": "TInstant *", + "canonical": "struct TInstant *" }, "params": [ { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" + "name": "str", + "cType": "const char *", + "canonical": "const char *" } ] }, { - "name": "set_spanset", + "name": "tboolseq_from_mfjson", "file": "meos_internal.h", "returnType": { - "c": "SpanSet *", - "canonical": "struct SpanSet *" + "c": "TSequence *", + "canonical": "struct TSequence *" }, "params": [ { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" + "name": "mfjson", + "cType": "json_object *", + "canonical": "struct json_object *" } ] }, { - "name": "value_set_span", + "name": "tboolseq_in", "file": "meos_internal.h", "returnType": { - "c": "void", - "canonical": "void" + "c": "TSequence *", + "canonical": "struct TSequence *" }, "params": [ { - "name": "value", - "cType": "Datum", - "canonical": "int ((int *))()" - }, - { - "name": "basetype", - "cType": "int", - "canonical": "int" + "name": "str", + "cType": "const char *", + "canonical": "const char *" }, { - "name": "s", - "cType": "Span *", - "canonical": "struct Span *" + "name": "interp", + "cType": "interpType", + "canonical": "interpType" } ] }, { - "name": "value_set", + "name": "tboolseqset_from_mfjson", "file": "meos_internal.h", "returnType": { - "c": "Set *", - "canonical": "Set *" + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" }, "params": [ { - "name": "d", - "cType": "Datum", - "canonical": "int ((int *))()" - }, - { - "name": "basetype", - "cType": "int", - "canonical": "int" + "name": "mfjson", + "cType": "json_object *", + "canonical": "struct json_object *" } ] }, { - "name": "value_span", + "name": "tboolseqset_in", "file": "meos_internal.h", "returnType": { - "c": "Span *", - "canonical": "struct Span *" + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" }, "params": [ { - "name": "d", - "cType": "Datum", - "canonical": "int ((int *))()" - }, - { - "name": "basetype", - "cType": "int", - "canonical": "int" + "name": "str", + "cType": "const char *", + "canonical": "const char *" } ] }, { - "name": "value_spanset", + "name": "temporal_in", "file": "meos_internal.h", "returnType": { - "c": "SpanSet *", - "canonical": "struct SpanSet *" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "d", - "cType": "Datum", - "canonical": "int ((int *))()" + "name": "str", + "cType": "const char *", + "canonical": "const char *" }, { - "name": "basetype", - "cType": "int", - "canonical": "int" + "name": "temptype", + "cType": "MeosType", + "canonical": "MeosType" } ] }, { - "name": "numspan_width", + "name": "temporal_out", "file": "meos_internal.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "char *", + "canonical": "char *" }, "params": [ { - "name": "s", - "cType": "const Span *", - "canonical": "const struct Span *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "maxdd", + "cType": "int", + "canonical": "int" } ] }, { - "name": "numspanset_width", + "name": "temparr_out", "file": "meos_internal.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "char **", + "canonical": "char **" }, "params": [ { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const struct SpanSet *" + "name": "temparr", + "cType": "Temporal **", + "canonical": "Temporal **" }, { - "name": "boundspan", - "cType": "bool", - "canonical": "bool" + "name": "count", + "cType": "int", + "canonical": "int" + }, + { + "name": "maxdd", + "cType": "int", + "canonical": "int" } ] }, { - "name": "set_end_value", + "name": "tfloatinst_from_mfjson", "file": "meos_internal.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "TInstant *", + "canonical": "struct TInstant *" }, "params": [ { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" + "name": "mfjson", + "cType": "json_object *", + "canonical": "struct json_object *" } ] }, { - "name": "set_mem_size", + "name": "tfloatinst_in", "file": "meos_internal.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "TInstant *", + "canonical": "struct TInstant *" }, "params": [ { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" + "name": "str", + "cType": "const char *", + "canonical": "const char *" } ] }, { - "name": "set_set_subspan", + "name": "tfloatseq_from_mfjson", "file": "meos_internal.h", "returnType": { - "c": "void", - "canonical": "void" + "c": "TSequence *", + "canonical": "struct TSequence *" }, "params": [ { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "minidx", - "cType": "int", - "canonical": "int" - }, - { - "name": "maxidx", - "cType": "int", - "canonical": "int" + "name": "mfjson", + "cType": "json_object *", + "canonical": "struct json_object *" }, { - "name": "result", - "cType": "Span *", - "canonical": "struct Span *" + "name": "interp", + "cType": "interpType", + "canonical": "interpType" } ] }, { - "name": "set_set_span", + "name": "tfloatseq_in", "file": "meos_internal.h", "returnType": { - "c": "void", - "canonical": "void" + "c": "TSequence *", + "canonical": "struct TSequence *" }, "params": [ { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" + "name": "str", + "cType": "const char *", + "canonical": "const char *" }, { - "name": "result", - "cType": "Span *", - "canonical": "struct Span *" + "name": "interp", + "cType": "interpType", + "canonical": "interpType" } ] }, { - "name": "set_start_value", + "name": "tfloatseqset_from_mfjson", "file": "meos_internal.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" }, "params": [ { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" + "name": "mfjson", + "cType": "json_object *", + "canonical": "struct json_object *" + }, + { + "name": "interp", + "cType": "interpType", + "canonical": "interpType" } ] }, { - "name": "set_value_n", + "name": "tfloatseqset_in", "file": "meos_internal.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" }, "params": [ { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "n", - "cType": "int", - "canonical": "int" - }, - { - "name": "result", - "cType": "Datum *", - "canonical": "int ((*)(int *))()" + "name": "str", + "cType": "const char *", + "canonical": "const char *" } ] }, { - "name": "set_vals", + "name": "tinstant_from_mfjson", "file": "meos_internal.h", "returnType": { - "c": "Datum *", - "canonical": "int ((*)(int *))()" + "c": "TInstant *", + "canonical": "struct TInstant *" }, "params": [ { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" + "name": "mfjson", + "cType": "json_object *", + "canonical": "struct json_object *" + }, + { + "name": "spatial", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "srid", + "cType": "int32_t", + "canonical": "int" + }, + { + "name": "temptype", + "cType": "MeosType", + "canonical": "MeosType" } ] }, { - "name": "set_values", + "name": "tinstant_in", "file": "meos_internal.h", "returnType": { - "c": "Datum *", - "canonical": "int ((*)(int *))()" + "c": "TInstant *", + "canonical": "struct TInstant *" }, "params": [ { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" + "name": "str", + "cType": "const char *", + "canonical": "const char *" + }, + { + "name": "temptype", + "cType": "MeosType", + "canonical": "MeosType" } ] }, { - "name": "spanset_lower", + "name": "tinstant_out", "file": "meos_internal.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "char *", + "canonical": "char *" }, "params": [ { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const struct SpanSet *" + "name": "inst", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" + }, + { + "name": "maxdd", + "cType": "int", + "canonical": "int" } ] }, { - "name": "spanset_mem_size", + "name": "tintinst_from_mfjson", "file": "meos_internal.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "TInstant *", + "canonical": "struct TInstant *" }, "params": [ { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const struct SpanSet *" + "name": "mfjson", + "cType": "json_object *", + "canonical": "struct json_object *" } ] }, { - "name": "spanset_sps", + "name": "tintinst_in", "file": "meos_internal.h", "returnType": { - "c": "const Span **", - "canonical": "const struct Span **" + "c": "TInstant *", + "canonical": "struct TInstant *" }, "params": [ { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const struct SpanSet *" + "name": "str", + "cType": "const char *", + "canonical": "const char *" } ] }, { - "name": "spanset_upper", + "name": "tintseq_from_mfjson", "file": "meos_internal.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "TSequence *", + "canonical": "struct TSequence *" }, "params": [ { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const struct SpanSet *" + "name": "mfjson", + "cType": "json_object *", + "canonical": "struct json_object *" } ] }, { - "name": "bigintspan_set_floatspan", + "name": "tintseq_in", "file": "meos_internal.h", "returnType": { - "c": "void", - "canonical": "void" + "c": "TSequence *", + "canonical": "struct TSequence *" }, "params": [ { - "name": "s1", - "cType": "const Span *", - "canonical": "const struct Span *" + "name": "str", + "cType": "const char *", + "canonical": "const char *" }, { - "name": "s2", - "cType": "Span *", - "canonical": "struct Span *" + "name": "interp", + "cType": "interpType", + "canonical": "interpType" } ] }, { - "name": "bigintspan_set_intspan", + "name": "tintseqset_from_mfjson", "file": "meos_internal.h", "returnType": { - "c": "void", - "canonical": "void" + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" }, "params": [ { - "name": "s1", - "cType": "const Span *", - "canonical": "const struct Span *" - }, - { - "name": "s2", - "cType": "Span *", - "canonical": "struct Span *" + "name": "mfjson", + "cType": "json_object *", + "canonical": "struct json_object *" } ] }, { - "name": "datespan_set_tstzspan", + "name": "tintseqset_in", "file": "meos_internal.h", "returnType": { - "c": "void", - "canonical": "void" + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" }, "params": [ { - "name": "s1", - "cType": "const Span *", - "canonical": "const struct Span *" - }, - { - "name": "s2", - "cType": "Span *", - "canonical": "struct Span *" + "name": "str", + "cType": "const char *", + "canonical": "const char *" } ] }, { - "name": "floatspan_set_bigintspan", + "name": "tsequence_from_mfjson", "file": "meos_internal.h", "returnType": { - "c": "void", - "canonical": "void" + "c": "TSequence *", + "canonical": "struct TSequence *" }, "params": [ { - "name": "s1", - "cType": "const Span *", - "canonical": "const struct Span *" + "name": "mfjson", + "cType": "json_object *", + "canonical": "struct json_object *" }, { - "name": "s2", - "cType": "Span *", - "canonical": "struct Span *" + "name": "spatial", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "srid", + "cType": "int32_t", + "canonical": "int" + }, + { + "name": "temptype", + "cType": "MeosType", + "canonical": "MeosType" + }, + { + "name": "interp", + "cType": "interpType", + "canonical": "interpType" } ] }, { - "name": "floatspan_set_intspan", + "name": "tsequence_in", "file": "meos_internal.h", "returnType": { - "c": "void", - "canonical": "void" + "c": "TSequence *", + "canonical": "struct TSequence *" }, "params": [ { - "name": "s1", - "cType": "const Span *", - "canonical": "const struct Span *" + "name": "str", + "cType": "const char *", + "canonical": "const char *" }, { - "name": "s2", - "cType": "Span *", - "canonical": "struct Span *" + "name": "temptype", + "cType": "MeosType", + "canonical": "MeosType" + }, + { + "name": "interp", + "cType": "interpType", + "canonical": "interpType" } ] }, { - "name": "intspan_set_bigintspan", + "name": "tsequence_out", "file": "meos_internal.h", "returnType": { - "c": "void", - "canonical": "void" + "c": "char *", + "canonical": "char *" }, "params": [ { - "name": "s1", - "cType": "const Span *", - "canonical": "const struct Span *" + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" }, { - "name": "s2", - "cType": "Span *", - "canonical": "struct Span *" + "name": "maxdd", + "cType": "int", + "canonical": "int" } ] }, { - "name": "intspan_set_floatspan", + "name": "tsequenceset_from_mfjson", "file": "meos_internal.h", "returnType": { - "c": "void", - "canonical": "void" + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" }, "params": [ { - "name": "s1", - "cType": "const Span *", - "canonical": "const struct Span *" + "name": "mfjson", + "cType": "json_object *", + "canonical": "struct json_object *" }, { - "name": "s2", - "cType": "Span *", - "canonical": "struct Span *" + "name": "spatial", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "srid", + "cType": "int32_t", + "canonical": "int" + }, + { + "name": "temptype", + "cType": "MeosType", + "canonical": "MeosType" + }, + { + "name": "interp", + "cType": "interpType", + "canonical": "interpType" } ] }, { - "name": "numset_shift_scale", + "name": "tsequenceset_in", "file": "meos_internal.h", "returnType": { - "c": "Set *", - "canonical": "Set *" + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" }, "params": [ { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "shift", - "cType": "Datum", - "canonical": "int ((int *))()" - }, - { - "name": "width", - "cType": "Datum", - "canonical": "int ((int *))()" + "name": "str", + "cType": "const char *", + "canonical": "const char *" }, { - "name": "hasshift", - "cType": "bool", - "canonical": "bool" + "name": "temptype", + "cType": "MeosType", + "canonical": "MeosType" }, { - "name": "haswidth", - "cType": "bool", - "canonical": "bool" + "name": "interp", + "cType": "interpType", + "canonical": "interpType" } ] }, { - "name": "numspan_expand", + "name": "tsequenceset_out", "file": "meos_internal.h", "returnType": { - "c": "Span *", - "canonical": "struct Span *" + "c": "char *", + "canonical": "char *" }, "params": [ { - "name": "s", - "cType": "const Span *", - "canonical": "const struct Span *" + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" }, { - "name": "value", - "cType": "Datum", - "canonical": "int ((int *))()" + "name": "maxdd", + "cType": "int", + "canonical": "int" } ] }, { - "name": "numspan_shift_scale", + "name": "ttextinst_from_mfjson", "file": "meos_internal.h", "returnType": { - "c": "Span *", - "canonical": "struct Span *" + "c": "TInstant *", + "canonical": "struct TInstant *" }, "params": [ { - "name": "s", - "cType": "const Span *", - "canonical": "const struct Span *" - }, - { - "name": "shift", - "cType": "Datum", - "canonical": "int ((int *))()" - }, - { - "name": "width", - "cType": "Datum", - "canonical": "int ((int *))()" - }, - { - "name": "hasshift", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "haswidth", - "cType": "bool", - "canonical": "bool" + "name": "mfjson", + "cType": "json_object *", + "canonical": "struct json_object *" } ] }, { - "name": "numspanset_shift_scale", + "name": "ttextinst_in", "file": "meos_internal.h", "returnType": { - "c": "SpanSet *", - "canonical": "struct SpanSet *" + "c": "TInstant *", + "canonical": "struct TInstant *" }, "params": [ { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const struct SpanSet *" - }, - { - "name": "shift", - "cType": "Datum", - "canonical": "int ((int *))()" - }, - { - "name": "width", - "cType": "Datum", - "canonical": "int ((int *))()" - }, - { - "name": "hasshift", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "haswidth", - "cType": "bool", - "canonical": "bool" + "name": "str", + "cType": "const char *", + "canonical": "const char *" } ] }, { - "name": "set_compact", + "name": "ttextseq_from_mfjson", "file": "meos_internal.h", "returnType": { - "c": "Set *", - "canonical": "Set *" + "c": "TSequence *", + "canonical": "struct TSequence *" }, "params": [ { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" + "name": "mfjson", + "cType": "json_object *", + "canonical": "struct json_object *" } ] }, { - "name": "span_expand", + "name": "ttextseq_in", "file": "meos_internal.h", "returnType": { - "c": "void", - "canonical": "void" + "c": "TSequence *", + "canonical": "struct TSequence *" }, "params": [ { - "name": "s1", - "cType": "const Span *", - "canonical": "const struct Span *" + "name": "str", + "cType": "const char *", + "canonical": "const char *" }, { - "name": "s2", - "cType": "Span *", - "canonical": "struct Span *" + "name": "interp", + "cType": "interpType", + "canonical": "interpType" } ] }, { - "name": "spanset_compact", + "name": "ttextseqset_from_mfjson", "file": "meos_internal.h", "returnType": { - "c": "SpanSet *", - "canonical": "struct SpanSet *" + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" }, "params": [ { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const struct SpanSet *" + "name": "mfjson", + "cType": "json_object *", + "canonical": "struct json_object *" } ] }, { - "name": "tbox_expand_value", + "name": "ttextseqset_in", "file": "meos_internal.h", "returnType": { - "c": "TBox *", - "canonical": "struct TBox *" + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" }, "params": [ { - "name": "box", - "cType": "const TBox *", - "canonical": "const struct TBox *" - }, - { - "name": "value", - "cType": "Datum", - "canonical": "int ((int *))()" - }, - { - "name": "basetyp", - "cType": "int", - "canonical": "int" + "name": "str", + "cType": "const char *", + "canonical": "const char *" } ] }, { - "name": "textcat_textset_text_common", + "name": "temporal_from_mfjson", "file": "meos_internal.h", "returnType": { - "c": "Set *", - "canonical": "Set *" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "txt", - "cType": "const int *", - "canonical": "const int *" + "name": "mfjson", + "cType": "const char *", + "canonical": "const char *" }, { - "name": "invert", - "cType": "bool", - "canonical": "bool" + "name": "temptype", + "cType": "MeosType", + "canonical": "MeosType" } ] }, { - "name": "tstzspan_set_datespan", + "name": "temporal_from_base_temp", "file": "meos_internal.h", "returnType": { - "c": "void", - "canonical": "void" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "s1", - "cType": "const Span *", - "canonical": "const struct Span *" + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" }, { - "name": "s2", - "cType": "Span *", - "canonical": "struct Span *" + "name": "temptype", + "cType": "MeosType", + "canonical": "MeosType" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "adjacent_span_value", + "name": "tinstant_copy", "file": "meos_internal.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "TInstant *", + "canonical": "struct TInstant *" }, "params": [ { - "name": "s", - "cType": "const Span *", - "canonical": "const struct Span *" - }, - { - "name": "value", - "cType": "Datum", - "canonical": "int ((int *))()" + "name": "inst", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" } ] }, { - "name": "adjacent_spanset_value", + "name": "tinstant_make", "file": "meos_internal.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "TInstant *", + "canonical": "struct TInstant *" }, "params": [ - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const struct SpanSet *" - }, { "name": "value", "cType": "Datum", "canonical": "int ((int *))()" + }, + { + "name": "temptype", + "cType": "MeosType", + "canonical": "MeosType" + }, + { + "name": "t", + "cType": "TimestampTz", + "canonical": "long" } ] }, { - "name": "adjacent_value_spanset", + "name": "tinstant_make_free", "file": "meos_internal.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "TInstant *", + "canonical": "struct TInstant *" }, "params": [ { @@ -43048,38 +43667,38 @@ "canonical": "int ((int *))()" }, { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const struct SpanSet *" + "name": "temptype", + "cType": "MeosType", + "canonical": "MeosType" + }, + { + "name": "t", + "cType": "TimestampTz", + "canonical": "long" } ] }, { - "name": "contained_value_set", + "name": "tsequence_copy", "file": "meos_internal.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "TSequence *", + "canonical": "struct TSequence *" }, "params": [ { - "name": "value", - "cType": "Datum", - "canonical": "int ((int *))()" - }, - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" } ] }, { - "name": "contained_value_span", + "name": "tsequence_from_base_temp", "file": "meos_internal.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "TSequence *", + "canonical": "struct TSequence *" }, "params": [ { @@ -43088,18 +43707,23 @@ "canonical": "int ((int *))()" }, { - "name": "s", - "cType": "const Span *", - "canonical": "const struct Span *" + "name": "temptype", + "cType": "MeosType", + "canonical": "MeosType" + }, + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" } ] }, { - "name": "contained_value_spanset", + "name": "tsequence_from_base_tstzset", "file": "meos_internal.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "TSequence *", + "canonical": "struct TSequence *" }, "params": [ { @@ -43108,178 +43732,178 @@ "canonical": "int ((int *))()" }, { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const struct SpanSet *" - } - ] - }, - { - "name": "contains_set_value", - "file": "meos_internal.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ + "name": "temptype", + "cType": "MeosType", + "canonical": "MeosType" + }, { "name": "s", "cType": "const Set *", "canonical": "const Set *" - }, - { - "name": "value", - "cType": "Datum", - "canonical": "int ((int *))()" } ] }, { - "name": "contains_span_value", + "name": "tsequence_from_base_tstzspan", "file": "meos_internal.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "TSequence *", + "canonical": "struct TSequence *" }, "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "temptype", + "cType": "MeosType", + "canonical": "MeosType" + }, { "name": "s", "cType": "const Span *", "canonical": "const struct Span *" }, { - "name": "value", - "cType": "Datum", - "canonical": "int ((int *))()" + "name": "interp", + "cType": "interpType", + "canonical": "interpType" } ] }, { - "name": "contains_spanset_value", + "name": "tsequence_make_exp", "file": "meos_internal.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "TSequence *", + "canonical": "struct TSequence *" }, "params": [ { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const struct SpanSet *" + "name": "instants", + "cType": "TInstant **", + "canonical": "struct TInstant **" }, { - "name": "value", - "cType": "Datum", - "canonical": "int ((int *))()" - } - ] - }, - { - "name": "ovadj_span_span", - "file": "meos_internal.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ + "name": "count", + "cType": "int", + "canonical": "int" + }, { - "name": "s1", - "cType": "const Span *", - "canonical": "const struct Span *" + "name": "maxcount", + "cType": "int", + "canonical": "int" }, { - "name": "s2", - "cType": "const Span *", - "canonical": "const struct Span *" - } - ] - }, - { - "name": "left_set_value", - "file": "meos_internal.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ + "name": "lower_inc", + "cType": "bool", + "canonical": "bool" + }, { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" + "name": "upper_inc", + "cType": "bool", + "canonical": "bool" }, { - "name": "value", - "cType": "Datum", - "canonical": "int ((int *))()" + "name": "interp", + "cType": "interpType", + "canonical": "interpType" + }, + { + "name": "normalize", + "cType": "bool", + "canonical": "bool" } ] }, { - "name": "left_span_value", + "name": "tsequence_make_free", "file": "meos_internal.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "TSequence *", + "canonical": "struct TSequence *" }, "params": [ { - "name": "s", - "cType": "const Span *", - "canonical": "const struct Span *" + "name": "instants", + "cType": "TInstant **", + "canonical": "struct TInstant **" }, { - "name": "value", - "cType": "Datum", - "canonical": "int ((int *))()" + "name": "count", + "cType": "int", + "canonical": "int" + }, + { + "name": "lower_inc", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "upper_inc", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "interp", + "cType": "interpType", + "canonical": "interpType" + }, + { + "name": "normalize", + "cType": "bool", + "canonical": "bool" } ] }, { - "name": "left_spanset_value", + "name": "tsequenceset_copy", "file": "meos_internal.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" }, "params": [ { "name": "ss", - "cType": "const SpanSet *", - "canonical": "const struct SpanSet *" - }, - { - "name": "value", - "cType": "Datum", - "canonical": "int ((int *))()" + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" } ] }, { - "name": "left_value_set", + "name": "tseqsetarr_to_tseqset", "file": "meos_internal.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" }, "params": [ { - "name": "value", - "cType": "Datum", - "canonical": "int ((int *))()" + "name": "seqsets", + "cType": "TSequenceSet **", + "canonical": "struct TSequenceSet **" }, { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" + "name": "count", + "cType": "int", + "canonical": "int" + }, + { + "name": "totalseqs", + "cType": "int", + "canonical": "int" } ] }, { - "name": "left_value_span", + "name": "tsequenceset_from_base_temp", "file": "meos_internal.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" }, "params": [ { @@ -43288,18 +43912,23 @@ "canonical": "int ((int *))()" }, { - "name": "s", - "cType": "const Span *", - "canonical": "const struct Span *" + "name": "temptype", + "cType": "MeosType", + "canonical": "MeosType" + }, + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" } ] }, { - "name": "left_value_spanset", + "name": "tsequenceset_from_base_tstzspanset", "file": "meos_internal.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" }, "params": [ { @@ -43307,425 +43936,440 @@ "cType": "Datum", "canonical": "int ((int *))()" }, + { + "name": "temptype", + "cType": "MeosType", + "canonical": "MeosType" + }, { "name": "ss", "cType": "const SpanSet *", "canonical": "const struct SpanSet *" + }, + { + "name": "interp", + "cType": "interpType", + "canonical": "interpType" } ] }, { - "name": "lfnadj_span_span", + "name": "tsequenceset_make_exp", "file": "meos_internal.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" }, "params": [ { - "name": "s1", - "cType": "const Span *", - "canonical": "const struct Span *" + "name": "sequences", + "cType": "TSequence **", + "canonical": "struct TSequence **" }, { - "name": "s2", - "cType": "const Span *", - "canonical": "const struct Span *" + "name": "count", + "cType": "int", + "canonical": "int" + }, + { + "name": "maxcount", + "cType": "int", + "canonical": "int" + }, + { + "name": "normalize", + "cType": "bool", + "canonical": "bool" } ] }, { - "name": "overleft_set_value", + "name": "tsequenceset_make_free", "file": "meos_internal.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" }, "params": [ { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" + "name": "sequences", + "cType": "TSequence **", + "canonical": "struct TSequence **" }, { - "name": "value", - "cType": "Datum", - "canonical": "int ((int *))()" + "name": "count", + "cType": "int", + "canonical": "int" + }, + { + "name": "normalize", + "cType": "bool", + "canonical": "bool" } ] }, { - "name": "overleft_span_value", + "name": "temporal_set_tstzspan", "file": "meos_internal.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "void", + "canonical": "void" }, "params": [ { - "name": "s", - "cType": "const Span *", - "canonical": "const struct Span *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" }, { - "name": "value", - "cType": "Datum", - "canonical": "int ((int *))()" + "name": "result", + "cType": "Span *", + "canonical": "struct Span *" } ] }, { - "name": "overleft_spanset_value", + "name": "tinstant_set_tstzspan", "file": "meos_internal.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "void", + "canonical": "void" }, "params": [ { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const struct SpanSet *" + "name": "inst", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" }, { - "name": "value", - "cType": "Datum", - "canonical": "int ((int *))()" + "name": "result", + "cType": "Span *", + "canonical": "struct Span *" } ] }, { - "name": "overleft_value_set", + "name": "tnumber_set_tbox", "file": "meos_internal.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "void", + "canonical": "void" }, "params": [ { - "name": "value", - "cType": "Datum", - "canonical": "int ((int *))()" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" }, { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" + "name": "result", + "cType": "TBox *", + "canonical": "struct TBox *" } ] }, { - "name": "overleft_value_span", + "name": "tnumberinst_set_tbox", "file": "meos_internal.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "void", + "canonical": "void" }, "params": [ { - "name": "value", - "cType": "Datum", - "canonical": "int ((int *))()" + "name": "inst", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" }, { - "name": "s", - "cType": "const Span *", - "canonical": "const struct Span *" + "name": "result", + "cType": "TBox *", + "canonical": "struct TBox *" } ] }, { - "name": "overleft_value_spanset", + "name": "tnumberseq_set_tbox", "file": "meos_internal.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "void", + "canonical": "void" }, "params": [ { - "name": "value", - "cType": "Datum", - "canonical": "int ((int *))()" + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" }, { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const struct SpanSet *" + "name": "result", + "cType": "TBox *", + "canonical": "struct TBox *" } ] }, { - "name": "overright_set_value", + "name": "tnumberseqset_set_tbox", "file": "meos_internal.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "void", + "canonical": "void" }, "params": [ { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" }, { - "name": "value", - "cType": "Datum", - "canonical": "int ((int *))()" + "name": "result", + "cType": "TBox *", + "canonical": "struct TBox *" } ] }, { - "name": "overright_span_value", + "name": "tsequence_set_tstzspan", "file": "meos_internal.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "void", + "canonical": "void" }, "params": [ { - "name": "s", - "cType": "const Span *", - "canonical": "const struct Span *" + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" }, { - "name": "value", - "cType": "Datum", - "canonical": "int ((int *))()" - } + "name": "result", + "cType": "Span *", + "canonical": "struct Span *" + } ] }, { - "name": "overright_spanset_value", + "name": "tsequenceset_set_tstzspan", "file": "meos_internal.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "void", + "canonical": "void" }, "params": [ { "name": "ss", - "cType": "const SpanSet *", - "canonical": "const struct SpanSet *" + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" }, { - "name": "value", - "cType": "Datum", - "canonical": "int ((int *))()" + "name": "result", + "cType": "Span *", + "canonical": "struct Span *" } ] }, { - "name": "overright_value_set", + "name": "temporal_end_inst", "file": "meos_internal.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "const TInstant *", + "canonical": "const struct TInstant *" }, "params": [ { - "name": "value", - "cType": "Datum", - "canonical": "int ((int *))()" - }, - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "overright_value_span", + "name": "temporal_end_value", "file": "meos_internal.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "value", - "cType": "Datum", - "canonical": "int ((int *))()" - }, - { - "name": "s", - "cType": "const Span *", - "canonical": "const struct Span *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "overright_value_spanset", + "name": "temporal_inst_n", "file": "meos_internal.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "const TInstant *", + "canonical": "const struct TInstant *" }, "params": [ { - "name": "value", - "cType": "Datum", - "canonical": "int ((int *))()" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" }, { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const struct SpanSet *" + "name": "n", + "cType": "int", + "canonical": "int" } ] }, { - "name": "right_value_set", + "name": "temporal_insts_p", "file": "meos_internal.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "const TInstant **", + "canonical": "const struct TInstant **" }, "params": [ { - "name": "value", - "cType": "Datum", - "canonical": "int ((int *))()" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" }, { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" + "name": "count", + "cType": "int *", + "canonical": "int *" } ] }, { - "name": "right_set_value", + "name": "temporal_max_inst_p", "file": "meos_internal.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "const TInstant *", + "canonical": "const struct TInstant *" }, "params": [ { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "value", - "cType": "Datum", - "canonical": "int ((int *))()" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "right_value_span", + "name": "temporal_max_value", "file": "meos_internal.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "value", - "cType": "Datum", - "canonical": "int ((int *))()" - }, - { - "name": "s", - "cType": "const Span *", - "canonical": "const struct Span *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "right_value_spanset", + "name": "temporal_mem_size", "file": "meos_internal.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "size_t", + "canonical": "unsigned long" }, "params": [ { - "name": "value", - "cType": "Datum", - "canonical": "int ((int *))()" - }, - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const struct SpanSet *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "right_span_value", + "name": "temporal_min_inst_p", "file": "meos_internal.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "const TInstant *", + "canonical": "const struct TInstant *" }, "params": [ { - "name": "s", - "cType": "const Span *", - "canonical": "const struct Span *" - }, + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "temporal_min_value", + "file": "meos_internal.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ { - "name": "value", - "cType": "Datum", - "canonical": "int ((int *))()" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "right_spanset_value", + "name": "temporal_sequences_p", "file": "meos_internal.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "const TSequence **", + "canonical": "const struct TSequence **" }, "params": [ { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const struct SpanSet *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" }, { - "name": "value", - "cType": "Datum", - "canonical": "int ((int *))()" + "name": "count", + "cType": "int *", + "canonical": "int *" } ] }, { - "name": "bbox_type", + "name": "temporal_set_bbox", "file": "meos_internal.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "void", + "canonical": "void" }, "params": [ { - "name": "bboxtype", - "cType": "int", - "canonical": "int" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "result", + "cType": "void *", + "canonical": "void *" } ] }, { - "name": "bbox_get_size", + "name": "temporal_start_inst", "file": "meos_internal.h", "returnType": { - "c": "size_t", - "canonical": "unsigned long" + "c": "const TInstant *", + "canonical": "const struct TInstant *" }, "params": [ { - "name": "bboxtype", - "cType": "int", - "canonical": "int" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "bbox_max_dims", + "name": "temporal_start_value", "file": "meos_internal.h", "returnType": { "c": "int", @@ -43733,154 +44377,134 @@ }, "params": [ { - "name": "bboxtype", - "cType": "int", - "canonical": "int" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "temporal_bbox_eq", + "name": "temporal_values_p", "file": "meos_internal.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "Datum *", + "canonical": "int ((*)(int *))()" }, "params": [ { - "name": "box1", - "cType": "const void *", - "canonical": "const void *" - }, - { - "name": "box2", - "cType": "const void *", - "canonical": "const void *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" }, { - "name": "temptype", - "cType": "int", - "canonical": "int" + "name": "count", + "cType": "int *", + "canonical": "int *" } ] }, { - "name": "temporal_bbox_cmp", + "name": "temporal_value_n", "file": "meos_internal.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "box1", - "cType": "const void *", - "canonical": "const void *" - }, - { - "name": "box2", - "cType": "const void *", - "canonical": "const void *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" }, { - "name": "temptype", + "name": "n", "cType": "int", "canonical": "int" + }, + { + "name": "result", + "cType": "Datum *", + "canonical": "int ((*)(int *))()" } ] }, { - "name": "bbox_union_span_span", + "name": "temporal_values", "file": "meos_internal.h", "returnType": { - "c": "void", - "canonical": "void" + "c": "Datum *", + "canonical": "int ((*)(int *))()" }, "params": [ { - "name": "s1", - "cType": "const Span *", - "canonical": "const struct Span *" - }, - { - "name": "s2", - "cType": "const Span *", - "canonical": "const struct Span *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" }, { - "name": "result", - "cType": "Span *", - "canonical": "struct Span *" + "name": "count", + "cType": "int *", + "canonical": "int *" } ] }, { - "name": "inter_span_span", + "name": "tinstant_hash", "file": "meos_internal.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "uint32", + "canonical": "unsigned int" }, "params": [ { - "name": "s1", - "cType": "const Span *", - "canonical": "const struct Span *" - }, - { - "name": "s2", - "cType": "const Span *", - "canonical": "const struct Span *" - }, - { - "name": "result", - "cType": "Span *", - "canonical": "struct Span *" + "name": "inst", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" } ] }, { - "name": "intersection_set_value", + "name": "tinstant_insts", "file": "meos_internal.h", "returnType": { - "c": "Set *", - "canonical": "Set *" + "c": "const TInstant **", + "canonical": "const struct TInstant **" }, "params": [ { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" + "name": "inst", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" }, { - "name": "value", - "cType": "Datum", - "canonical": "int ((int *))()" + "name": "count", + "cType": "int *", + "canonical": "int *" } ] }, { - "name": "intersection_span_value", + "name": "tinstant_set_bbox", "file": "meos_internal.h", "returnType": { - "c": "Span *", - "canonical": "struct Span *" + "c": "void", + "canonical": "void" }, "params": [ { - "name": "s", - "cType": "const Span *", - "canonical": "const struct Span *" + "name": "inst", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" }, { - "name": "value", - "cType": "Datum", - "canonical": "int ((int *))()" + "name": "result", + "cType": "void *", + "canonical": "void *" } ] }, { - "name": "intersection_spanset_value", + "name": "tinstant_time", "file": "meos_internal.h", "returnType": { "c": "SpanSet *", @@ -43888,144 +44512,129 @@ }, "params": [ { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const struct SpanSet *" - }, - { - "name": "value", - "cType": "Datum", - "canonical": "int ((int *))()" + "name": "inst", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" } ] }, { - "name": "intersection_value_set", + "name": "tinstant_timestamps", "file": "meos_internal.h", "returnType": { - "c": "Set *", - "canonical": "Set *" + "c": "TimestampTz *", + "canonical": "long *" }, "params": [ { - "name": "value", - "cType": "Datum", - "canonical": "int ((int *))()" + "name": "inst", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" }, { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" + "name": "count", + "cType": "int *", + "canonical": "int *" } ] }, { - "name": "intersection_value_span", + "name": "tinstant_value_p", "file": "meos_internal.h", "returnType": { - "c": "Span *", - "canonical": "struct Span *" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "value", - "cType": "Datum", - "canonical": "int ((int *))()" - }, - { - "name": "s", - "cType": "const Span *", - "canonical": "const struct Span *" + "name": "inst", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" } ] }, { - "name": "intersection_value_spanset", + "name": "tinstant_value", "file": "meos_internal.h", "returnType": { - "c": "SpanSet *", - "canonical": "struct SpanSet *" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "value", - "cType": "Datum", - "canonical": "int ((int *))()" - }, - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const struct SpanSet *" + "name": "inst", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" } ] }, { - "name": "mi_span_span", + "name": "tinstant_value_at_timestamptz", "file": "meos_internal.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "s1", - "cType": "const Span *", - "canonical": "const struct Span *" + "name": "inst", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" }, { - "name": "s2", - "cType": "const Span *", - "canonical": "const struct Span *" + "name": "t", + "cType": "TimestampTz", + "canonical": "long" }, { "name": "result", - "cType": "Span *", - "canonical": "struct Span *" + "cType": "Datum *", + "canonical": "int ((*)(int *))()" } ] }, { - "name": "minus_set_value", + "name": "tinstant_values_p", "file": "meos_internal.h", "returnType": { - "c": "Set *", - "canonical": "Set *" + "c": "Datum *", + "canonical": "int ((*)(int *))()" }, "params": [ { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" + "name": "inst", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" }, { - "name": "value", - "cType": "Datum", - "canonical": "int ((int *))()" + "name": "count", + "cType": "int *", + "canonical": "int *" } ] }, { - "name": "minus_span_value", + "name": "tnumber_set_span", "file": "meos_internal.h", "returnType": { - "c": "SpanSet *", - "canonical": "struct SpanSet *" + "c": "void", + "canonical": "void" }, "params": [ { - "name": "s", - "cType": "const Span *", - "canonical": "const struct Span *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" }, { - "name": "value", - "cType": "Datum", - "canonical": "int ((int *))()" + "name": "result", + "cType": "Span *", + "canonical": "struct Span *" } ] }, { - "name": "minus_spanset_value", + "name": "tnumberinst_valuespans", "file": "meos_internal.h", "returnType": { "c": "SpanSet *", @@ -44033,39 +44642,29 @@ }, "params": [ { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const struct SpanSet *" - }, - { - "name": "value", - "cType": "Datum", - "canonical": "int ((int *))()" + "name": "inst", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" } ] }, { - "name": "minus_value_set", + "name": "tnumberseq_avg_val", "file": "meos_internal.h", "returnType": { - "c": "Set *", - "canonical": "Set *" + "c": "double", + "canonical": "double" }, "params": [ { - "name": "value", - "cType": "Datum", - "canonical": "int ((int *))()" - }, - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" } ] }, { - "name": "minus_value_span", + "name": "tnumberseq_valuespans", "file": "meos_internal.h", "returnType": { "c": "SpanSet *", @@ -44073,199 +44672,154 @@ }, "params": [ { - "name": "value", - "cType": "Datum", - "canonical": "int ((int *))()" - }, - { - "name": "s", - "cType": "const Span *", - "canonical": "const struct Span *" + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" } ] }, { - "name": "minus_value_spanset", + "name": "tnumberseqset_avg_val", "file": "meos_internal.h", "returnType": { - "c": "SpanSet *", - "canonical": "struct SpanSet *" + "c": "double", + "canonical": "double" }, "params": [ - { - "name": "value", - "cType": "Datum", - "canonical": "int ((int *))()" - }, { "name": "ss", - "cType": "const SpanSet *", - "canonical": "const struct SpanSet *" + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" } ] }, { - "name": "super_union_span_span", + "name": "tnumberseqset_valuespans", "file": "meos_internal.h", "returnType": { - "c": "Span *", - "canonical": "struct Span *" + "c": "SpanSet *", + "canonical": "struct SpanSet *" }, "params": [ { - "name": "s1", - "cType": "const Span *", - "canonical": "const struct Span *" - }, - { - "name": "s2", - "cType": "const Span *", - "canonical": "const struct Span *" + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" } ] }, { - "name": "union_set_value", + "name": "tsequence_duration", "file": "meos_internal.h", "returnType": { - "c": "Set *", - "canonical": "Set *" + "c": "int *", + "canonical": "int *" }, "params": [ { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "value", - "cType": "Datum", - "canonical": "int ((int *))()" + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" } ] }, { - "name": "union_span_value", + "name": "tsequence_end_timestamptz", "file": "meos_internal.h", "returnType": { - "c": "SpanSet *", - "canonical": "struct SpanSet *" + "c": "TimestampTz", + "canonical": "long" }, "params": [ { - "name": "s", - "cType": "const Span *", - "canonical": "const struct Span *" - }, - { - "name": "value", - "cType": "Datum", - "canonical": "int ((int *))()" + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" } ] }, { - "name": "union_spanset_value", + "name": "tsequence_hash", "file": "meos_internal.h", "returnType": { - "c": "SpanSet *", - "canonical": "struct SpanSet *" + "c": "uint32", + "canonical": "unsigned int" }, "params": [ { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const struct SpanSet *" - }, - { - "name": "value", - "cType": "Datum", - "canonical": "int ((int *))()" + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" } ] }, { - "name": "union_value_set", + "name": "tsequence_insts_p", "file": "meos_internal.h", "returnType": { - "c": "Set *", - "canonical": "Set *" + "c": "const TInstant **", + "canonical": "const struct TInstant **" }, "params": [ { - "name": "value", - "cType": "Datum", - "canonical": "int ((int *))()" + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" }, { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" + "name": "count", + "cType": "int *", + "canonical": "int *" } ] }, { - "name": "union_value_span", + "name": "tsequence_max_inst_p", "file": "meos_internal.h", "returnType": { - "c": "SpanSet *", - "canonical": "struct SpanSet *" + "c": "const TInstant *", + "canonical": "const struct TInstant *" }, "params": [ { - "name": "value", - "cType": "Datum", - "canonical": "int ((int *))()" - }, - { - "name": "s", - "cType": "const Span *", - "canonical": "const struct Span *" + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" } ] }, { - "name": "union_value_spanset", + "name": "tsequence_max_val", "file": "meos_internal.h", "returnType": { - "c": "SpanSet *", - "canonical": "struct SpanSet *" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "value", - "cType": "Datum", - "canonical": "int ((int *))()" - }, - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const struct SpanSet *" + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" } ] }, { - "name": "distance_set_set", + "name": "tsequence_min_inst_p", "file": "meos_internal.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "const TInstant *", + "canonical": "const struct TInstant *" }, "params": [ { - "name": "s1", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "s2", - "cType": "const Set *", - "canonical": "const Set *" + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" } ] }, { - "name": "distance_set_value", + "name": "tsequence_min_val", "file": "meos_internal.h", "returnType": { "c": "int", @@ -44273,509 +44827,404 @@ }, "params": [ { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "value", - "cType": "Datum", - "canonical": "int ((int *))()" + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" } ] }, { - "name": "distance_span_span", + "name": "tsequence_segments", "file": "meos_internal.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "TSequence **", + "canonical": "struct TSequence **" }, "params": [ { - "name": "s1", - "cType": "const Span *", - "canonical": "const struct Span *" + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" }, { - "name": "s2", - "cType": "const Span *", - "canonical": "const struct Span *" + "name": "count", + "cType": "int *", + "canonical": "int *" } ] }, { - "name": "distance_span_value", + "name": "tsequence_seqs", "file": "meos_internal.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "const TSequence **", + "canonical": "const struct TSequence **" }, "params": [ { - "name": "s", - "cType": "const Span *", - "canonical": "const struct Span *" + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" }, { - "name": "value", - "cType": "Datum", - "canonical": "int ((int *))()" + "name": "count", + "cType": "int *", + "canonical": "int *" } ] }, { - "name": "distance_spanset_span", + "name": "tsequence_start_timestamptz", "file": "meos_internal.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "TimestampTz", + "canonical": "long" }, "params": [ { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const struct SpanSet *" - }, - { - "name": "s", - "cType": "const Span *", - "canonical": "const struct Span *" + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" } ] }, { - "name": "distance_spanset_spanset", + "name": "tsequence_time", "file": "meos_internal.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "SpanSet *", + "canonical": "struct SpanSet *" }, "params": [ { - "name": "ss1", - "cType": "const SpanSet *", - "canonical": "const struct SpanSet *" - }, - { - "name": "ss2", - "cType": "const SpanSet *", - "canonical": "const struct SpanSet *" + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" } ] }, { - "name": "distance_spanset_value", + "name": "tsequence_timestamps", "file": "meos_internal.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "TimestampTz *", + "canonical": "long *" }, "params": [ { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const struct SpanSet *" + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" }, { - "name": "value", - "cType": "Datum", - "canonical": "int ((int *))()" + "name": "count", + "cType": "int *", + "canonical": "int *" } ] }, { - "name": "distance_value_value", + "name": "tsequence_value_at_timestamptz", "file": "meos_internal.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "l", - "cType": "Datum", - "canonical": "int ((int *))()" + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" }, { - "name": "r", - "cType": "Datum", - "canonical": "int ((int *))()" + "name": "t", + "cType": "TimestampTz", + "canonical": "long" }, { - "name": "basetype", - "cType": "int", - "canonical": "int" + "name": "strict", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "result", + "cType": "Datum *", + "canonical": "int ((*)(int *))()" } ] }, { - "name": "spanbase_extent_transfn", + "name": "tsequence_values_p", "file": "meos_internal.h", "returnType": { - "c": "Span *", - "canonical": "struct Span *" + "c": "Datum *", + "canonical": "int ((*)(int *))()" }, "params": [ { - "name": "state", - "cType": "Span *", - "canonical": "struct Span *" - }, - { - "name": "value", - "cType": "Datum", - "canonical": "int ((int *))()" + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" }, { - "name": "basetype", - "cType": "int", - "canonical": "int" + "name": "count", + "cType": "int *", + "canonical": "int *" } ] }, { - "name": "value_union_transfn", + "name": "tsequenceset_duration", "file": "meos_internal.h", "returnType": { - "c": "Set *", - "canonical": "Set *" + "c": "int *", + "canonical": "int *" }, "params": [ { - "name": "state", - "cType": "Set *", - "canonical": "Set *" - }, - { - "name": "value", - "cType": "Datum", - "canonical": "int ((int *))()" + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" }, { - "name": "basetype", - "cType": "int", - "canonical": "int" + "name": "boundspan", + "cType": "bool", + "canonical": "bool" } ] }, { - "name": "number_tstzspan_to_tbox", + "name": "tsequenceset_end_timestamptz", "file": "meos_internal.h", "returnType": { - "c": "TBox *", - "canonical": "struct TBox *" + "c": "TimestampTz", + "canonical": "long" }, "params": [ { - "name": "d", - "cType": "Datum", - "canonical": "int ((int *))()" - }, - { - "name": "basetype", - "cType": "int", - "canonical": "int" - }, - { - "name": "s", - "cType": "const Span *", - "canonical": "const struct Span *" + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" } ] }, { - "name": "number_timestamptz_to_tbox", + "name": "tsequenceset_hash", "file": "meos_internal.h", "returnType": { - "c": "TBox *", - "canonical": "struct TBox *" + "c": "uint32", + "canonical": "unsigned int" }, "params": [ { - "name": "d", - "cType": "Datum", - "canonical": "int ((int *))()" - }, - { - "name": "basetype", - "cType": "int", - "canonical": "int" - }, - { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" } ] }, { - "name": "tbox_set", + "name": "tsequenceset_inst_n", "file": "meos_internal.h", "returnType": { - "c": "void", - "canonical": "void" + "c": "const TInstant *", + "canonical": "const struct TInstant *" }, "params": [ { - "name": "s", - "cType": "const Span *", - "canonical": "const struct Span *" - }, - { - "name": "p", - "cType": "const Span *", - "canonical": "const struct Span *" + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" }, { - "name": "box", - "cType": "TBox *", - "canonical": "struct TBox *" + "name": "n", + "cType": "int", + "canonical": "int" } ] }, { - "name": "float_set_tbox", + "name": "tsequenceset_insts_p", "file": "meos_internal.h", "returnType": { - "c": "void", - "canonical": "void" + "c": "const TInstant **", + "canonical": "const struct TInstant **" }, "params": [ { - "name": "d", - "cType": "double", - "canonical": "double" + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" }, { - "name": "box", - "cType": "TBox *", - "canonical": "struct TBox *" + "name": "count", + "cType": "int *", + "canonical": "int *" } ] }, { - "name": "int_set_tbox", + "name": "tsequenceset_max_inst_p", "file": "meos_internal.h", "returnType": { - "c": "void", - "canonical": "void" + "c": "const TInstant *", + "canonical": "const struct TInstant *" }, "params": [ { - "name": "i", - "cType": "int", - "canonical": "int" - }, - { - "name": "box", - "cType": "TBox *", - "canonical": "struct TBox *" + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" } ] }, { - "name": "number_set_tbox", + "name": "tsequenceset_max_val", "file": "meos_internal.h", "returnType": { - "c": "void", - "canonical": "void" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "d", - "cType": "Datum", - "canonical": "int ((int *))()" - }, - { - "name": "basetype", - "cType": "int", - "canonical": "int" - }, - { - "name": "box", - "cType": "TBox *", - "canonical": "struct TBox *" + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" } ] }, { - "name": "number_tbox", + "name": "tsequenceset_min_inst_p", "file": "meos_internal.h", "returnType": { - "c": "TBox *", - "canonical": "struct TBox *" + "c": "const TInstant *", + "canonical": "const struct TInstant *" }, "params": [ { - "name": "value", - "cType": "Datum", - "canonical": "int ((int *))()" - }, - { - "name": "basetype", - "cType": "int", - "canonical": "int" + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" } ] }, { - "name": "numset_set_tbox", + "name": "tsequenceset_min_val", "file": "meos_internal.h", "returnType": { - "c": "void", - "canonical": "void" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "box", - "cType": "TBox *", - "canonical": "struct TBox *" + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" } ] }, { - "name": "numspan_set_tbox", + "name": "tsequenceset_num_instants", "file": "meos_internal.h", "returnType": { - "c": "void", - "canonical": "void" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "span", - "cType": "const Span *", - "canonical": "const struct Span *" - }, - { - "name": "box", - "cType": "TBox *", - "canonical": "struct TBox *" + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" } ] }, { - "name": "timestamptz_set_tbox", + "name": "tsequenceset_num_timestamps", "file": "meos_internal.h", "returnType": { - "c": "void", - "canonical": "void" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" - }, - { - "name": "box", - "cType": "TBox *", - "canonical": "struct TBox *" + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" } ] }, { - "name": "tstzset_set_tbox", + "name": "tsequenceset_segments", "file": "meos_internal.h", "returnType": { - "c": "void", - "canonical": "void" + "c": "TSequence **", + "canonical": "struct TSequence **" }, "params": [ { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" }, { - "name": "box", - "cType": "TBox *", - "canonical": "struct TBox *" + "name": "count", + "cType": "int *", + "canonical": "int *" } ] }, { - "name": "tstzspan_set_tbox", + "name": "tsequenceset_sequences_p", "file": "meos_internal.h", "returnType": { - "c": "void", - "canonical": "void" + "c": "const TSequence **", + "canonical": "const struct TSequence **" }, "params": [ { - "name": "s", - "cType": "const Span *", - "canonical": "const struct Span *" + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" }, { - "name": "box", - "cType": "TBox *", - "canonical": "struct TBox *" + "name": "count", + "cType": "int *", + "canonical": "int *" } ] }, { - "name": "tbox_shift_scale_value", + "name": "tsequenceset_start_timestamptz", "file": "meos_internal.h", "returnType": { - "c": "TBox *", - "canonical": "struct TBox *" + "c": "TimestampTz", + "canonical": "long" }, "params": [ { - "name": "box", - "cType": "const TBox *", - "canonical": "const struct TBox *" - }, - { - "name": "shift", - "cType": "Datum", - "canonical": "int ((int *))()" - }, - { - "name": "width", - "cType": "Datum", - "canonical": "int ((int *))()" - }, - { - "name": "hasshift", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "haswidth", - "cType": "bool", - "canonical": "bool" + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" } ] }, { - "name": "tbox_expand", + "name": "tsequenceset_time", "file": "meos_internal.h", "returnType": { - "c": "void", - "canonical": "void" + "c": "SpanSet *", + "canonical": "struct SpanSet *" }, "params": [ { - "name": "box1", - "cType": "const TBox *", - "canonical": "const struct TBox *" - }, - { - "name": "box2", - "cType": "TBox *", - "canonical": "struct TBox *" + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" } ] }, { - "name": "inter_tbox_tbox", + "name": "tsequenceset_timestamptz_n", "file": "meos_internal.h", "returnType": { "c": "bool", @@ -44783,143 +45232,143 @@ }, "params": [ { - "name": "box1", - "cType": "const TBox *", - "canonical": "const struct TBox *" + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" }, { - "name": "box2", - "cType": "const TBox *", - "canonical": "const struct TBox *" + "name": "n", + "cType": "int", + "canonical": "int" }, { "name": "result", - "cType": "TBox *", - "canonical": "struct TBox *" + "cType": "TimestampTz *", + "canonical": "long *" } ] }, { - "name": "tboolinst_from_mfjson", + "name": "tsequenceset_timestamps", "file": "meos_internal.h", "returnType": { - "c": "TInstant *", - "canonical": "struct TInstant *" + "c": "TimestampTz *", + "canonical": "long *" }, "params": [ { - "name": "mfjson", - "cType": "json_object *", - "canonical": "struct json_object *" - } - ] - }, - { - "name": "tboolinst_in", - "file": "meos_internal.h", - "returnType": { - "c": "TInstant *", - "canonical": "struct TInstant *" - }, - "params": [ + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + }, { - "name": "str", - "cType": "const char *", - "canonical": "const char *" + "name": "count", + "cType": "int *", + "canonical": "int *" } ] }, { - "name": "tboolseq_from_mfjson", + "name": "tsequenceset_value_at_timestamptz", "file": "meos_internal.h", "returnType": { - "c": "TSequence *", - "canonical": "struct TSequence *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "mfjson", - "cType": "json_object *", - "canonical": "struct json_object *" - } - ] - }, - { - "name": "tboolseq_in", - "file": "meos_internal.h", - "returnType": { - "c": "TSequence *", - "canonical": "struct TSequence *" - }, - "params": [ + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + }, { - "name": "str", - "cType": "const char *", - "canonical": "const char *" + "name": "t", + "cType": "TimestampTz", + "canonical": "long" }, { - "name": "interp", - "cType": "interpType", - "canonical": "interpType" + "name": "strict", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "result", + "cType": "Datum *", + "canonical": "int ((*)(int *))()" } ] }, { - "name": "tboolseqset_from_mfjson", + "name": "tsequenceset_value_n", "file": "meos_internal.h", "returnType": { - "c": "TSequenceSet *", - "canonical": "struct TSequenceSet *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "mfjson", - "cType": "json_object *", - "canonical": "struct json_object *" + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + }, + { + "name": "n", + "cType": "int", + "canonical": "int" + }, + { + "name": "result", + "cType": "Datum *", + "canonical": "int ((*)(int *))()" } ] }, { - "name": "tboolseqset_in", + "name": "tsequenceset_values_p", "file": "meos_internal.h", "returnType": { - "c": "TSequenceSet *", - "canonical": "struct TSequenceSet *" + "c": "Datum *", + "canonical": "int ((*)(int *))()" }, "params": [ { - "name": "str", - "cType": "const char *", - "canonical": "const char *" + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" } ] }, { - "name": "temporal_in", + "name": "temporal_restart", "file": "meos_internal.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "void", + "canonical": "void" }, "params": [ { - "name": "str", - "cType": "const char *", - "canonical": "const char *" + "name": "temp", + "cType": "Temporal *", + "canonical": "Temporal *" }, { - "name": "temptype", + "name": "count", "cType": "int", "canonical": "int" } ] }, { - "name": "temporal_out", + "name": "temporal_tsequence", "file": "meos_internal.h", "returnType": { - "c": "char *", - "canonical": "char *" + "c": "TSequence *", + "canonical": "struct TSequence *" }, "params": [ { @@ -44928,39 +45377,34 @@ "canonical": "const Temporal *" }, { - "name": "maxdd", - "cType": "int", - "canonical": "int" + "name": "interp", + "cType": "interpType", + "canonical": "interpType" } ] }, { - "name": "temparr_out", + "name": "temporal_tsequenceset", "file": "meos_internal.h", "returnType": { - "c": "char **", - "canonical": "char **" + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" }, "params": [ { - "name": "temparr", - "cType": "Temporal **", - "canonical": "Temporal **" - }, - { - "name": "count", - "cType": "int", - "canonical": "int" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" }, { - "name": "maxdd", - "cType": "int", - "canonical": "int" + "name": "interp", + "cType": "interpType", + "canonical": "interpType" } ] }, { - "name": "tfloatinst_from_mfjson", + "name": "tinstant_shift_time", "file": "meos_internal.h", "returnType": { "c": "TInstant *", @@ -44968,29 +45412,19 @@ }, "params": [ { - "name": "mfjson", - "cType": "json_object *", - "canonical": "struct json_object *" - } - ] - }, - { - "name": "tfloatinst_in", - "file": "meos_internal.h", - "returnType": { - "c": "TInstant *", - "canonical": "struct TInstant *" - }, - "params": [ + "name": "inst", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" + }, { - "name": "str", - "cType": "const char *", - "canonical": "const char *" + "name": "interv", + "cType": "const int *", + "canonical": "const int *" } ] }, { - "name": "tfloatseq_from_mfjson", + "name": "tinstant_to_tsequence", "file": "meos_internal.h", "returnType": { "c": "TSequence *", @@ -44998,9 +45432,9 @@ }, "params": [ { - "name": "mfjson", - "cType": "json_object *", - "canonical": "struct json_object *" + "name": "inst", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" }, { "name": "interp", @@ -45010,7 +45444,7 @@ ] }, { - "name": "tfloatseq_in", + "name": "tinstant_to_tsequence_free", "file": "meos_internal.h", "returnType": { "c": "TSequence *", @@ -45018,9 +45452,9 @@ }, "params": [ { - "name": "str", - "cType": "const char *", - "canonical": "const char *" + "name": "inst", + "cType": "TInstant *", + "canonical": "struct TInstant *" }, { "name": "interp", @@ -45030,7 +45464,7 @@ ] }, { - "name": "tfloatseqset_from_mfjson", + "name": "tinstant_to_tsequenceset", "file": "meos_internal.h", "returnType": { "c": "TSequenceSet *", @@ -45038,9 +45472,9 @@ }, "params": [ { - "name": "mfjson", - "cType": "json_object *", - "canonical": "struct json_object *" + "name": "inst", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" }, { "name": "interp", @@ -45050,52 +45484,42 @@ ] }, { - "name": "tfloatseqset_in", + "name": "tnumber_shift_scale_value", "file": "meos_internal.h", "returnType": { - "c": "TSequenceSet *", - "canonical": "struct TSequenceSet *" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "str", - "cType": "const char *", - "canonical": "const char *" - } - ] - }, - { - "name": "tinstant_from_mfjson", - "file": "meos_internal.h", - "returnType": { - "c": "TInstant *", - "canonical": "struct TInstant *" - }, - "params": [ + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, { - "name": "mfjson", - "cType": "json_object *", - "canonical": "struct json_object *" + "name": "shift", + "cType": "Datum", + "canonical": "int ((int *))()" }, { - "name": "spatial", - "cType": "bool", - "canonical": "bool" + "name": "width", + "cType": "Datum", + "canonical": "int ((int *))()" }, { - "name": "srid", - "cType": "int32_t", - "canonical": "int" + "name": "hasshift", + "cType": "bool", + "canonical": "bool" }, { - "name": "temptype", - "cType": "int", - "canonical": "int" + "name": "haswidth", + "cType": "bool", + "canonical": "bool" } ] }, { - "name": "tinstant_in", + "name": "tnumberinst_shift_value", "file": "meos_internal.h", "returnType": { "c": "TInstant *", @@ -45103,84 +45527,129 @@ }, "params": [ { - "name": "str", - "cType": "const char *", - "canonical": "const char *" + "name": "inst", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" }, { - "name": "temptype", - "cType": "int", - "canonical": "int" + "name": "shift", + "cType": "Datum", + "canonical": "int ((int *))()" } ] }, { - "name": "tinstant_out", + "name": "tnumberseq_shift_scale_value", "file": "meos_internal.h", "returnType": { - "c": "char *", - "canonical": "char *" + "c": "TSequence *", + "canonical": "struct TSequence *" }, "params": [ { - "name": "inst", - "cType": "const TInstant *", - "canonical": "const struct TInstant *" + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" }, { - "name": "maxdd", - "cType": "int", - "canonical": "int" + "name": "shift", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "width", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "hasshift", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "haswidth", + "cType": "bool", + "canonical": "bool" } ] }, { - "name": "tintinst_from_mfjson", + "name": "tnumberseqset_shift_scale_value", "file": "meos_internal.h", "returnType": { - "c": "TInstant *", - "canonical": "struct TInstant *" + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" }, "params": [ { - "name": "mfjson", - "cType": "json_object *", - "canonical": "struct json_object *" + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + }, + { + "name": "start", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "width", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "hasshift", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "haswidth", + "cType": "bool", + "canonical": "bool" } ] }, { - "name": "tintinst_in", + "name": "tsequence_restart", "file": "meos_internal.h", "returnType": { - "c": "TInstant *", - "canonical": "struct TInstant *" + "c": "void", + "canonical": "void" }, "params": [ { - "name": "str", - "cType": "const char *", - "canonical": "const char *" + "name": "seq", + "cType": "TSequence *", + "canonical": "struct TSequence *" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" } ] }, { - "name": "tintseq_from_mfjson", + "name": "tsequence_set_interp", "file": "meos_internal.h", "returnType": { - "c": "TSequence *", - "canonical": "struct TSequence *" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "mfjson", - "cType": "json_object *", - "canonical": "struct json_object *" + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "interp", + "cType": "interpType", + "canonical": "interpType" } ] }, { - "name": "tintseq_in", + "name": "tsequence_shift_scale_time", "file": "meos_internal.h", "returnType": { "c": "TSequence *", @@ -45188,49 +45657,24 @@ }, "params": [ { - "name": "str", - "cType": "const char *", - "canonical": "const char *" + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" }, { - "name": "interp", - "cType": "interpType", - "canonical": "interpType" + "name": "shift", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "duration", + "cType": "const int *", + "canonical": "const int *" } ] }, { - "name": "tintseqset_from_mfjson", - "file": "meos_internal.h", - "returnType": { - "c": "TSequenceSet *", - "canonical": "struct TSequenceSet *" - }, - "params": [ - { - "name": "mfjson", - "cType": "json_object *", - "canonical": "struct json_object *" - } - ] - }, - { - "name": "tintseqset_in", - "file": "meos_internal.h", - "returnType": { - "c": "TSequenceSet *", - "canonical": "struct TSequenceSet *" - }, - "params": [ - { - "name": "str", - "cType": "const char *", - "canonical": "const char *" - } - ] - }, - { - "name": "tsequence_from_mfjson", + "name": "tsequence_subseq", "file": "meos_internal.h", "returnType": { "c": "TSequence *", @@ -45238,79 +45682,64 @@ }, "params": [ { - "name": "mfjson", - "cType": "json_object *", - "canonical": "struct json_object *" - }, - { - "name": "spatial", - "cType": "bool", - "canonical": "bool" + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" }, { - "name": "srid", - "cType": "int32_t", + "name": "from", + "cType": "int", "canonical": "int" }, { - "name": "temptype", + "name": "to", "cType": "int", "canonical": "int" }, { - "name": "interp", - "cType": "interpType", - "canonical": "interpType" + "name": "lower_inc", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "upper_inc", + "cType": "bool", + "canonical": "bool" } ] }, { - "name": "tsequence_in", + "name": "tsequence_to_tinstant", "file": "meos_internal.h", "returnType": { - "c": "TSequence *", - "canonical": "struct TSequence *" + "c": "TInstant *", + "canonical": "struct TInstant *" }, "params": [ { - "name": "str", - "cType": "const char *", - "canonical": "const char *" - }, - { - "name": "temptype", - "cType": "int", - "canonical": "int" - }, - { - "name": "interp", - "cType": "interpType", - "canonical": "interpType" + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" } ] }, { - "name": "tsequence_out", + "name": "tsequence_to_tsequenceset", "file": "meos_internal.h", "returnType": { - "c": "char *", - "canonical": "char *" + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" }, "params": [ { "name": "seq", "cType": "const TSequence *", "canonical": "const struct TSequence *" - }, - { - "name": "maxdd", - "cType": "int", - "canonical": "int" } ] }, { - "name": "tsequenceset_from_mfjson", + "name": "tsequence_to_tsequenceset_free", "file": "meos_internal.h", "returnType": { "c": "TSequenceSet *", @@ -45318,34 +45747,14 @@ }, "params": [ { - "name": "mfjson", - "cType": "json_object *", - "canonical": "struct json_object *" - }, - { - "name": "spatial", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "srid", - "cType": "int32_t", - "canonical": "int" - }, - { - "name": "temptype", - "cType": "int", - "canonical": "int" - }, - { - "name": "interp", - "cType": "interpType", - "canonical": "interpType" + "name": "seq", + "cType": "TSequence *", + "canonical": "struct TSequence *" } ] }, { - "name": "tsequenceset_in", + "name": "tsequence_to_tsequenceset_interp", "file": "meos_internal.h", "returnType": { "c": "TSequenceSet *", @@ -45353,14 +45762,9 @@ }, "params": [ { - "name": "str", - "cType": "const char *", - "canonical": "const char *" - }, - { - "name": "temptype", - "cType": "int", - "canonical": "int" + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" }, { "name": "interp", @@ -45370,57 +45774,72 @@ ] }, { - "name": "tsequenceset_out", + "name": "tsequenceset_restart", "file": "meos_internal.h", "returnType": { - "c": "char *", - "canonical": "char *" + "c": "void", + "canonical": "void" }, "params": [ { "name": "ss", - "cType": "const TSequenceSet *", - "canonical": "const struct TSequenceSet *" + "cType": "TSequenceSet *", + "canonical": "struct TSequenceSet *" }, { - "name": "maxdd", + "name": "count", "cType": "int", "canonical": "int" } ] }, { - "name": "ttextinst_from_mfjson", + "name": "tsequenceset_set_interp", "file": "meos_internal.h", "returnType": { - "c": "TInstant *", - "canonical": "struct TInstant *" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "mfjson", - "cType": "json_object *", - "canonical": "struct json_object *" + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + }, + { + "name": "interp", + "cType": "interpType", + "canonical": "interpType" } ] }, { - "name": "ttextinst_in", + "name": "tsequenceset_shift_scale_time", "file": "meos_internal.h", "returnType": { - "c": "TInstant *", - "canonical": "struct TInstant *" + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" }, "params": [ { - "name": "str", - "cType": "const char *", - "canonical": "const char *" + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + }, + { + "name": "start", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "duration", + "cType": "const int *", + "canonical": "const int *" } ] }, { - "name": "ttextseq_from_mfjson", + "name": "tsequenceset_to_discrete", "file": "meos_internal.h", "returnType": { "c": "TSequence *", @@ -45428,34 +45847,29 @@ }, "params": [ { - "name": "mfjson", - "cType": "json_object *", - "canonical": "struct json_object *" + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" } ] }, { - "name": "ttextseq_in", + "name": "tsequenceset_to_linear", "file": "meos_internal.h", "returnType": { - "c": "TSequence *", - "canonical": "struct TSequence *" + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" }, "params": [ { - "name": "str", - "cType": "const char *", - "canonical": "const char *" - }, - { - "name": "interp", - "cType": "interpType", - "canonical": "interpType" + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" } ] }, { - "name": "ttextseqset_from_mfjson", + "name": "tsequenceset_to_step", "file": "meos_internal.h", "returnType": { "c": "TSequenceSet *", @@ -45463,29 +45877,44 @@ }, "params": [ { - "name": "mfjson", - "cType": "json_object *", - "canonical": "struct json_object *" + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" } ] }, { - "name": "ttextseqset_in", + "name": "tsequenceset_to_tinstant", "file": "meos_internal.h", "returnType": { - "c": "TSequenceSet *", - "canonical": "struct TSequenceSet *" + "c": "TInstant *", + "canonical": "struct TInstant *" }, "params": [ { - "name": "str", - "cType": "const char *", - "canonical": "const char *" + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" } ] }, { - "name": "temporal_from_mfjson", + "name": "tsequenceset_to_tsequence", + "file": "meos_internal.h", + "returnType": { + "c": "TSequence *", + "canonical": "struct TSequence *" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + } + ] + }, + { + "name": "tinstant_merge", "file": "meos_internal.h", "returnType": { "c": "Temporal *", @@ -45493,19 +45922,19 @@ }, "params": [ { - "name": "mfjson", - "cType": "const char *", - "canonical": "const char *" + "name": "inst1", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" }, { - "name": "temptype", - "cType": "int", - "canonical": "int" + "name": "inst2", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" } ] }, { - "name": "temporal_from_base_temp", + "name": "tinstant_merge_array", "file": "meos_internal.h", "returnType": { "c": "Temporal *", @@ -45513,269 +45942,244 @@ }, "params": [ { - "name": "value", - "cType": "Datum", - "canonical": "int ((int *))()" + "name": "instants", + "cType": "TInstant **", + "canonical": "struct TInstant **" }, { - "name": "temptype", + "name": "count", "cType": "int", "canonical": "int" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" } ] }, { - "name": "tinstant_copy", + "name": "tsequence_append_tinstant", "file": "meos_internal.h", "returnType": { - "c": "TInstant *", - "canonical": "struct TInstant *" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ + { + "name": "seq", + "cType": "TSequence *", + "canonical": "struct TSequence *" + }, { "name": "inst", "cType": "const TInstant *", "canonical": "const struct TInstant *" + }, + { + "name": "maxdist", + "cType": "double", + "canonical": "double" + }, + { + "name": "maxt", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "expand", + "cType": "bool", + "canonical": "bool" } ] }, { - "name": "tinstant_make", + "name": "tsequence_append_tsequence", "file": "meos_internal.h", "returnType": { - "c": "TInstant *", - "canonical": "struct TInstant *" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "value", - "cType": "Datum", - "canonical": "int ((int *))()" + "name": "seq1", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" }, { - "name": "temptype", - "cType": "int", - "canonical": "int" + "name": "seq2", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" }, { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" + "name": "expand", + "cType": "bool", + "canonical": "bool" } ] }, { - "name": "tinstant_make_free", + "name": "tsequence_delete_timestamptz", "file": "meos_internal.h", "returnType": { - "c": "TInstant *", - "canonical": "struct TInstant *" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "value", - "cType": "Datum", - "canonical": "int ((int *))()" - }, - { - "name": "temptype", - "cType": "int", - "canonical": "int" + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" }, { "name": "t", "cType": "TimestampTz", "canonical": "long" + }, + { + "name": "connect", + "cType": "bool", + "canonical": "bool" } ] }, { - "name": "tsequence_copy", + "name": "tsequence_delete_tstzset", "file": "meos_internal.h", "returnType": { - "c": "TSequence *", - "canonical": "struct TSequence *" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { "name": "seq", "cType": "const TSequence *", "canonical": "const struct TSequence *" + }, + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + }, + { + "name": "connect", + "cType": "bool", + "canonical": "bool" } ] }, { - "name": "tsequence_from_base_temp", + "name": "tsequence_delete_tstzspan", "file": "meos_internal.h", "returnType": { - "c": "TSequence *", - "canonical": "struct TSequence *" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "value", - "cType": "Datum", - "canonical": "int ((int *))()" + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" }, { - "name": "temptype", - "cType": "int", - "canonical": "int" + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" }, { - "name": "seq", - "cType": "const TSequence *", - "canonical": "const struct TSequence *" + "name": "connect", + "cType": "bool", + "canonical": "bool" } ] }, { - "name": "tsequence_from_base_tstzset", + "name": "tsequence_delete_tstzspanset", "file": "meos_internal.h", "returnType": { - "c": "TSequence *", - "canonical": "struct TSequence *" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "value", - "cType": "Datum", - "canonical": "int ((int *))()" + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" }, { - "name": "temptype", - "cType": "int", - "canonical": "int" + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" }, { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" + "name": "connect", + "cType": "bool", + "canonical": "bool" } ] }, { - "name": "tsequence_from_base_tstzspan", + "name": "tsequence_insert", "file": "meos_internal.h", "returnType": { - "c": "TSequence *", - "canonical": "struct TSequence *" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "value", - "cType": "Datum", - "canonical": "int ((int *))()" - }, - { - "name": "temptype", - "cType": "int", - "canonical": "int" + "name": "seq1", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" }, { - "name": "s", - "cType": "const Span *", - "canonical": "const struct Span *" + "name": "seq2", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" }, { - "name": "interp", - "cType": "interpType", - "canonical": "interpType" + "name": "connect", + "cType": "bool", + "canonical": "bool" } ] }, { - "name": "tsequence_make_exp", + "name": "tsequence_merge", "file": "meos_internal.h", "returnType": { - "c": "TSequence *", - "canonical": "struct TSequence *" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "instants", - "cType": "TInstant **", - "canonical": "struct TInstant **" - }, - { - "name": "count", - "cType": "int", - "canonical": "int" - }, - { - "name": "maxcount", - "cType": "int", - "canonical": "int" - }, - { - "name": "lower_inc", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "upper_inc", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "interp", - "cType": "interpType", - "canonical": "interpType" + "name": "seq1", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" }, { - "name": "normalize", - "cType": "bool", - "canonical": "bool" + "name": "seq2", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" } ] }, { - "name": "tsequence_make_free", + "name": "tsequence_merge_array", "file": "meos_internal.h", "returnType": { - "c": "TSequence *", - "canonical": "struct TSequence *" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "instants", - "cType": "TInstant **", - "canonical": "struct TInstant **" + "name": "sequences", + "cType": "TSequence **", + "canonical": "struct TSequence **" }, { "name": "count", "cType": "int", "canonical": "int" - }, - { - "name": "lower_inc", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "upper_inc", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "interp", - "cType": "interpType", - "canonical": "interpType" - }, - { - "name": "normalize", - "cType": "bool", - "canonical": "bool" } ] }, { - "name": "tsequenceset_copy", + "name": "tsequenceset_append_tinstant", "file": "meos_internal.h", "returnType": { "c": "TSequenceSet *", @@ -45784,13 +46188,33 @@ "params": [ { "name": "ss", - "cType": "const TSequenceSet *", - "canonical": "const struct TSequenceSet *" + "cType": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" + }, + { + "name": "maxdist", + "cType": "double", + "canonical": "double" + }, + { + "name": "maxt", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "expand", + "cType": "bool", + "canonical": "bool" } ] }, { - "name": "tseqsetarr_to_tseqset", + "name": "tsequenceset_append_tsequence", "file": "meos_internal.h", "returnType": { "c": "TSequenceSet *", @@ -45798,79 +46222,64 @@ }, "params": [ { - "name": "seqsets", - "cType": "TSequenceSet **", - "canonical": "struct TSequenceSet **" + "name": "ss", + "cType": "TSequenceSet *", + "canonical": "struct TSequenceSet *" }, { - "name": "count", - "cType": "int", - "canonical": "int" + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" }, { - "name": "totalseqs", - "cType": "int", - "canonical": "int" + "name": "expand", + "cType": "bool", + "canonical": "bool" } ] }, { - "name": "tsequenceset_from_base_temp", + "name": "tsequenceset_delete_timestamptz", "file": "meos_internal.h", "returnType": { "c": "TSequenceSet *", "canonical": "struct TSequenceSet *" }, "params": [ - { - "name": "value", - "cType": "Datum", - "canonical": "int ((int *))()" - }, - { - "name": "temptype", - "cType": "int", - "canonical": "int" - }, { "name": "ss", "cType": "const TSequenceSet *", "canonical": "const struct TSequenceSet *" + }, + { + "name": "t", + "cType": "TimestampTz", + "canonical": "long" } ] }, { - "name": "tsequenceset_from_base_tstzspanset", + "name": "tsequenceset_delete_tstzset", "file": "meos_internal.h", "returnType": { "c": "TSequenceSet *", "canonical": "struct TSequenceSet *" }, "params": [ - { - "name": "value", - "cType": "Datum", - "canonical": "int ((int *))()" - }, - { - "name": "temptype", - "cType": "int", - "canonical": "int" - }, { "name": "ss", - "cType": "const SpanSet *", - "canonical": "const struct SpanSet *" + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" }, { - "name": "interp", - "cType": "interpType", - "canonical": "interpType" + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" } ] }, { - "name": "tsequenceset_make_exp", + "name": "tsequenceset_delete_tstzspan", "file": "meos_internal.h", "returnType": { "c": "TSequenceSet *", @@ -45878,29 +46287,19 @@ }, "params": [ { - "name": "sequences", - "cType": "TSequence **", - "canonical": "struct TSequence **" - }, - { - "name": "count", - "cType": "int", - "canonical": "int" - }, - { - "name": "maxcount", - "cType": "int", - "canonical": "int" + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" }, { - "name": "normalize", - "cType": "bool", - "canonical": "bool" + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" } ] }, { - "name": "tsequenceset_make_free", + "name": "tsequenceset_delete_tstzspanset", "file": "meos_internal.h", "returnType": { "c": "TSequenceSet *", @@ -45908,104 +46307,99 @@ }, "params": [ { - "name": "sequences", - "cType": "TSequence **", - "canonical": "struct TSequence **" - }, - { - "name": "count", - "cType": "int", - "canonical": "int" + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" }, { - "name": "normalize", - "cType": "bool", - "canonical": "bool" + "name": "ps", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" } ] }, { - "name": "temporal_set_tstzspan", + "name": "tsequenceset_insert", "file": "meos_internal.h", "returnType": { - "c": "void", - "canonical": "void" + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "ss1", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" }, { - "name": "s", - "cType": "Span *", - "canonical": "struct Span *" + "name": "ss2", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" } ] }, { - "name": "tinstant_set_tstzspan", + "name": "tsequenceset_merge", "file": "meos_internal.h", "returnType": { - "c": "void", - "canonical": "void" + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" }, "params": [ { - "name": "inst", - "cType": "const TInstant *", - "canonical": "const struct TInstant *" + "name": "ss1", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" }, { - "name": "s", - "cType": "Span *", - "canonical": "struct Span *" + "name": "ss2", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" } ] }, { - "name": "tnumber_set_tbox", + "name": "tsequenceset_merge_array", "file": "meos_internal.h", "returnType": { - "c": "void", - "canonical": "void" + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "seqsets", + "cType": "TSequenceSet **", + "canonical": "struct TSequenceSet **" }, { - "name": "box", - "cType": "TBox *", - "canonical": "struct TBox *" + "name": "count", + "cType": "int", + "canonical": "int" } ] }, { - "name": "tnumberinst_set_tbox", + "name": "tsequence_expand_bbox", "file": "meos_internal.h", "returnType": { "c": "void", "canonical": "void" }, "params": [ + { + "name": "seq", + "cType": "TSequence *", + "canonical": "struct TSequence *" + }, { "name": "inst", "cType": "const TInstant *", "canonical": "const struct TInstant *" - }, - { - "name": "box", - "cType": "TBox *", - "canonical": "struct TBox *" } ] }, { - "name": "tnumberseq_set_tbox", + "name": "tsequence_set_bbox", "file": "meos_internal.h", "returnType": { "c": "void", @@ -46018,14 +46412,14 @@ "canonical": "const struct TSequence *" }, { - "name": "box", - "cType": "TBox *", - "canonical": "struct TBox *" + "name": "result", + "cType": "void *", + "canonical": "void *" } ] }, { - "name": "tnumberseqset_set_tbox", + "name": "tsequenceset_expand_bbox", "file": "meos_internal.h", "returnType": { "c": "void", @@ -46034,38 +46428,18 @@ "params": [ { "name": "ss", - "cType": "const TSequenceSet *", - "canonical": "const struct TSequenceSet *" + "cType": "TSequenceSet *", + "canonical": "struct TSequenceSet *" }, - { - "name": "box", - "cType": "TBox *", - "canonical": "struct TBox *" - } - ] - }, - { - "name": "tsequence_set_tstzspan", - "file": "meos_internal.h", - "returnType": { - "c": "void", - "canonical": "void" - }, - "params": [ { "name": "seq", "cType": "const TSequence *", "canonical": "const struct TSequence *" - }, - { - "name": "s", - "cType": "Span *", - "canonical": "struct Span *" } ] }, { - "name": "tsequenceset_set_tstzspan", + "name": "tsequenceset_set_bbox", "file": "meos_internal.h", "returnType": { "c": "void", @@ -46078,163 +46452,238 @@ "canonical": "const struct TSequenceSet *" }, { - "name": "s", - "cType": "Span *", - "canonical": "struct Span *" + "name": "result", + "cType": "void *", + "canonical": "void *" } ] }, { - "name": "temporal_end_inst", + "name": "tcontseq_after_timestamptz", "file": "meos_internal.h", "returnType": { - "c": "const TInstant *", - "canonical": "const struct TInstant *" + "c": "TSequence *", + "canonical": "struct TSequence *" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "t", + "cType": "TimestampTz", + "canonical": "long" + }, + { + "name": "strict", + "cType": "bool", + "canonical": "bool" } ] }, { - "name": "temporal_end_value", + "name": "tcontseq_before_timestamptz", "file": "meos_internal.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "TSequence *", + "canonical": "struct TSequence *" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "t", + "cType": "TimestampTz", + "canonical": "long" + }, + { + "name": "strict", + "cType": "bool", + "canonical": "bool" } ] }, { - "name": "temporal_inst_n", + "name": "tcontseq_restrict_minmax", "file": "meos_internal.h", "returnType": { - "c": "const TInstant *", - "canonical": "const struct TInstant *" + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" }, { - "name": "n", - "cType": "int", - "canonical": "int" + "name": "min", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" } ] }, { - "name": "temporal_insts_p", + "name": "tdiscseq_after_timestamptz", "file": "meos_internal.h", "returnType": { - "c": "const TInstant **", - "canonical": "const struct TInstant **" + "c": "TSequence *", + "canonical": "struct TSequence *" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" }, { - "name": "count", - "cType": "int *", - "canonical": "int *" + "name": "t", + "cType": "TimestampTz", + "canonical": "long" + }, + { + "name": "strict", + "cType": "bool", + "canonical": "bool" } ] }, { - "name": "temporal_max_inst_p", + "name": "tdiscseq_before_timestamptz", "file": "meos_internal.h", "returnType": { - "c": "const TInstant *", - "canonical": "const struct TInstant *" + "c": "TSequence *", + "canonical": "struct TSequence *" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "t", + "cType": "TimestampTz", + "canonical": "long" + }, + { + "name": "strict", + "cType": "bool", + "canonical": "bool" } ] }, { - "name": "temporal_max_value", + "name": "tdiscseq_restrict_minmax", "file": "meos_internal.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "TSequence *", + "canonical": "struct TSequence *" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "min", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" } ] }, { - "name": "temporal_mem_size", + "name": "temporal_bbox_restrict_set", "file": "meos_internal.h", "returnType": { - "c": "size_t", - "canonical": "unsigned long" + "c": "bool", + "canonical": "bool" }, "params": [ { "name": "temp", "cType": "const Temporal *", "canonical": "const Temporal *" + }, + { + "name": "set", + "cType": "const Set *", + "canonical": "const Set *" } ] }, { - "name": "temporal_min_inst_p", + "name": "temporal_restrict_minmax", "file": "meos_internal.h", "returnType": { - "c": "const TInstant *", - "canonical": "const struct TInstant *" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { "name": "temp", "cType": "const Temporal *", "canonical": "const Temporal *" + }, + { + "name": "min", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" } ] }, { - "name": "temporal_min_value", + "name": "temporal_restrict_timestamptz", "file": "meos_internal.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { "name": "temp", "cType": "const Temporal *", "canonical": "const Temporal *" + }, + { + "name": "t", + "cType": "TimestampTz", + "canonical": "long" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" } ] }, { - "name": "temporal_sequences_p", + "name": "temporal_restrict_tstzset", "file": "meos_internal.h", "returnType": { - "c": "const TSequence **", - "canonical": "const struct TSequence **" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { @@ -46243,18 +46692,23 @@ "canonical": "const Temporal *" }, { - "name": "count", - "cType": "int *", - "canonical": "int *" + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" } ] }, { - "name": "temporal_set_bbox", + "name": "temporal_restrict_tstzspan", "file": "meos_internal.h", "returnType": { - "c": "void", - "canonical": "void" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { @@ -46263,48 +46717,73 @@ "canonical": "const Temporal *" }, { - "name": "box", - "cType": "void *", - "canonical": "void *" + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" } ] }, { - "name": "temporal_start_inst", + "name": "temporal_restrict_tstzspanset", "file": "meos_internal.h", "returnType": { - "c": "const TInstant *", - "canonical": "const struct TInstant *" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { "name": "temp", "cType": "const Temporal *", "canonical": "const Temporal *" + }, + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" } ] }, { - "name": "temporal_start_value", + "name": "temporal_restrict_value", "file": "meos_internal.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { "name": "temp", "cType": "const Temporal *", "canonical": "const Temporal *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" } ] }, { - "name": "temporal_values_p", + "name": "temporal_restrict_values", "file": "meos_internal.h", "returnType": { - "c": "Datum *", - "canonical": "int ((*)(int *))()" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { @@ -46313,14 +46792,19 @@ "canonical": "const Temporal *" }, { - "name": "count", - "cType": "int *", - "canonical": "int *" + "name": "set", + "cType": "const Set *", + "canonical": "const Set *" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" } ] }, { - "name": "temporal_value_n", + "name": "temporal_value_at_timestamptz", "file": "meos_internal.h", "returnType": { "c": "bool", @@ -46333,9 +46817,14 @@ "canonical": "const Temporal *" }, { - "name": "n", - "cType": "int", - "canonical": "int" + "name": "t", + "cType": "TimestampTz", + "canonical": "long" + }, + { + "name": "strict", + "cType": "bool", + "canonical": "bool" }, { "name": "result", @@ -46345,46 +46834,36 @@ ] }, { - "name": "temporal_values", + "name": "tinstant_after_timestamptz", "file": "meos_internal.h", "returnType": { - "c": "Datum *", - "canonical": "int ((*)(int *))()" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "count", - "cType": "int *", - "canonical": "int *" - } - ] - }, - { - "name": "tinstant_hash", - "file": "meos_internal.h", - "returnType": { - "c": "uint32", - "canonical": "unsigned int" + "c": "TInstant *", + "canonical": "struct TInstant *" }, "params": [ { "name": "inst", "cType": "const TInstant *", "canonical": "const struct TInstant *" + }, + { + "name": "t", + "cType": "TimestampTz", + "canonical": "long" + }, + { + "name": "strict", + "cType": "bool", + "canonical": "bool" } ] }, { - "name": "tinstant_insts", + "name": "tinstant_before_timestamptz", "file": "meos_internal.h", "returnType": { - "c": "const TInstant **", - "canonical": "const struct TInstant **" + "c": "TInstant *", + "canonical": "struct TInstant *" }, "params": [ { @@ -46393,18 +46872,23 @@ "canonical": "const struct TInstant *" }, { - "name": "count", - "cType": "int *", - "canonical": "int *" + "name": "t", + "cType": "TimestampTz", + "canonical": "long" + }, + { + "name": "strict", + "cType": "bool", + "canonical": "bool" } ] }, { - "name": "tinstant_set_bbox", + "name": "tinstant_restrict_tstzspan", "file": "meos_internal.h", "returnType": { - "c": "void", - "canonical": "void" + "c": "TInstant *", + "canonical": "struct TInstant *" }, "params": [ { @@ -46413,33 +46897,48 @@ "canonical": "const struct TInstant *" }, { - "name": "box", - "cType": "void *", - "canonical": "void *" + "name": "period", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" } ] }, { - "name": "tinstant_time", + "name": "tinstant_restrict_tstzspanset", "file": "meos_internal.h", "returnType": { - "c": "SpanSet *", - "canonical": "struct SpanSet *" + "c": "TInstant *", + "canonical": "struct TInstant *" }, "params": [ { "name": "inst", "cType": "const TInstant *", "canonical": "const struct TInstant *" + }, + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" } ] }, { - "name": "tinstant_timestamps", + "name": "tinstant_restrict_timestamptz", "file": "meos_internal.h", "returnType": { - "c": "TimestampTz *", - "canonical": "long *" + "c": "TInstant *", + "canonical": "struct TInstant *" }, "params": [ { @@ -46448,48 +46947,73 @@ "canonical": "const struct TInstant *" }, { - "name": "count", - "cType": "int *", - "canonical": "int *" + "name": "t", + "cType": "TimestampTz", + "canonical": "long" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" } ] }, { - "name": "tinstant_value_p", + "name": "tinstant_restrict_tstzset", "file": "meos_internal.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "TInstant *", + "canonical": "struct TInstant *" }, "params": [ { "name": "inst", "cType": "const TInstant *", "canonical": "const struct TInstant *" + }, + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" } ] }, { - "name": "tinstant_value", + "name": "tinstant_restrict_value", "file": "meos_internal.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "TInstant *", + "canonical": "struct TInstant *" }, "params": [ { "name": "inst", "cType": "const TInstant *", "canonical": "const struct TInstant *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" } ] }, { - "name": "tinstant_value_at_timestamptz", + "name": "tinstant_restrict_values", "file": "meos_internal.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "TInstant *", + "canonical": "struct TInstant *" }, "params": [ { @@ -46498,43 +47022,48 @@ "canonical": "const struct TInstant *" }, { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" + "name": "set", + "cType": "const Set *", + "canonical": "const Set *" }, { - "name": "result", - "cType": "Datum *", - "canonical": "int ((*)(int *))()" + "name": "atfunc", + "cType": "bool", + "canonical": "bool" } ] }, { - "name": "tinstant_values_p", + "name": "tnumber_restrict_span", "file": "meos_internal.h", "returnType": { - "c": "Datum *", - "canonical": "int ((*)(int *))()" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "inst", - "cType": "const TInstant *", - "canonical": "const struct TInstant *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" }, { - "name": "count", - "cType": "int *", - "canonical": "int *" + "name": "span", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" } ] }, { - "name": "tnumber_set_span", + "name": "tnumber_restrict_spanset", "file": "meos_internal.h", "returnType": { - "c": "void", - "canonical": "void" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { @@ -46543,449 +47072,574 @@ "canonical": "const Temporal *" }, { - "name": "span", - "cType": "Span *", - "canonical": "struct Span *" + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" } ] }, { - "name": "tnumberinst_valuespans", + "name": "tnumberinst_restrict_span", "file": "meos_internal.h", "returnType": { - "c": "SpanSet *", - "canonical": "struct SpanSet *" + "c": "TInstant *", + "canonical": "struct TInstant *" }, "params": [ { "name": "inst", "cType": "const TInstant *", "canonical": "const struct TInstant *" - } - ] - }, - { - "name": "tnumberseq_avg_val", - "file": "meos_internal.h", - "returnType": { - "c": "double", - "canonical": "double" - }, - "params": [ + }, { - "name": "seq", - "cType": "const TSequence *", - "canonical": "const struct TSequence *" + "name": "span", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" } ] }, { - "name": "tnumberseq_valuespans", + "name": "tnumberinst_restrict_spanset", "file": "meos_internal.h", "returnType": { - "c": "SpanSet *", - "canonical": "struct SpanSet *" + "c": "TInstant *", + "canonical": "struct TInstant *" }, "params": [ { - "name": "seq", - "cType": "const TSequence *", - "canonical": "const struct TSequence *" + "name": "inst", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" + }, + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" } ] }, { - "name": "tnumberseqset_avg_val", + "name": "tnumberseqset_restrict_span", "file": "meos_internal.h", "returnType": { - "c": "double", - "canonical": "double" + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" }, "params": [ { "name": "ss", "cType": "const TSequenceSet *", "canonical": "const struct TSequenceSet *" + }, + { + "name": "span", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" } ] }, { - "name": "tnumberseqset_valuespans", + "name": "tnumberseqset_restrict_spanset", "file": "meos_internal.h", "returnType": { - "c": "SpanSet *", - "canonical": "struct SpanSet *" + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" }, "params": [ { "name": "ss", "cType": "const TSequenceSet *", "canonical": "const struct TSequenceSet *" - } - ] - }, - { - "name": "tsequence_duration", - "file": "meos_internal.h", - "returnType": { - "c": "int *", - "canonical": "int *" - }, - "params": [ + }, { - "name": "seq", - "cType": "const TSequence *", - "canonical": "const struct TSequence *" + "name": "spanset", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" } ] }, { - "name": "tsequence_end_timestamptz", + "name": "tsequence_at_timestamptz", "file": "meos_internal.h", "returnType": { - "c": "TimestampTz", - "canonical": "long" + "c": "TInstant *", + "canonical": "struct TInstant *" }, "params": [ { "name": "seq", "cType": "const TSequence *", "canonical": "const struct TSequence *" + }, + { + "name": "t", + "cType": "TimestampTz", + "canonical": "long" } ] }, { - "name": "tsequence_hash", + "name": "tsequence_restrict_tstzspan", "file": "meos_internal.h", "returnType": { - "c": "uint32", - "canonical": "unsigned int" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { "name": "seq", "cType": "const TSequence *", "canonical": "const struct TSequence *" + }, + { + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" } ] }, { - "name": "tsequence_insts_p", + "name": "tsequence_restrict_tstzspanset", "file": "meos_internal.h", "returnType": { - "c": "const TInstant **", - "canonical": "const struct TInstant **" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { "name": "seq", "cType": "const TSequence *", "canonical": "const struct TSequence *" + }, + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" } ] }, { - "name": "tsequence_max_inst_p", + "name": "tsequenceset_after_timestamptz", "file": "meos_internal.h", "returnType": { - "c": "const TInstant *", - "canonical": "const struct TInstant *" + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" }, "params": [ { - "name": "seq", - "cType": "const TSequence *", - "canonical": "const struct TSequence *" + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + }, + { + "name": "t", + "cType": "TimestampTz", + "canonical": "long" + }, + { + "name": "strict", + "cType": "bool", + "canonical": "bool" } ] }, { - "name": "tsequence_max_val", + "name": "tsequenceset_before_timestamptz", "file": "meos_internal.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" }, "params": [ { - "name": "seq", - "cType": "const TSequence *", - "canonical": "const struct TSequence *" + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + }, + { + "name": "t", + "cType": "TimestampTz", + "canonical": "long" + }, + { + "name": "strict", + "cType": "bool", + "canonical": "bool" } ] }, { - "name": "tsequence_min_inst_p", + "name": "tsequenceset_restrict_minmax", "file": "meos_internal.h", "returnType": { - "c": "const TInstant *", - "canonical": "const struct TInstant *" + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" }, "params": [ { - "name": "seq", - "cType": "const TSequence *", - "canonical": "const struct TSequence *" + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + }, + { + "name": "min", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" } ] }, { - "name": "tsequence_min_val", + "name": "tsequenceset_restrict_tstzspan", "file": "meos_internal.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" }, "params": [ { - "name": "seq", - "cType": "const TSequence *", - "canonical": "const struct TSequence *" + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + }, + { + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" } ] }, { - "name": "tsequence_segments", + "name": "tsequenceset_restrict_tstzspanset", "file": "meos_internal.h", "returnType": { - "c": "TSequence **", - "canonical": "struct TSequence **" + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" }, "params": [ { - "name": "seq", - "cType": "const TSequence *", - "canonical": "const struct TSequence *" + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" }, { - "name": "count", - "cType": "int *", - "canonical": "int *" + "name": "ps", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" } ] }, { - "name": "tsequence_seqs", + "name": "tsequenceset_restrict_timestamptz", "file": "meos_internal.h", "returnType": { - "c": "const TSequence **", - "canonical": "const struct TSequence **" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "seq", - "cType": "const TSequence *", - "canonical": "const struct TSequence *" + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" }, { - "name": "count", - "cType": "int *", - "canonical": "int *" + "name": "t", + "cType": "TimestampTz", + "canonical": "long" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" } ] }, { - "name": "tsequence_start_timestamptz", + "name": "tsequenceset_restrict_tstzset", "file": "meos_internal.h", "returnType": { - "c": "TimestampTz", - "canonical": "long" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "seq", - "cType": "const TSequence *", - "canonical": "const struct TSequence *" + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + }, + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" } ] }, { - "name": "tsequence_time", + "name": "tsequenceset_restrict_value", "file": "meos_internal.h", "returnType": { - "c": "SpanSet *", - "canonical": "struct SpanSet *" + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" }, "params": [ { - "name": "seq", - "cType": "const TSequence *", - "canonical": "const struct TSequence *" + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" } ] }, { - "name": "tsequence_timestamps", + "name": "tsequenceset_restrict_values", "file": "meos_internal.h", "returnType": { - "c": "TimestampTz *", - "canonical": "long *" + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" }, "params": [ { - "name": "seq", - "cType": "const TSequence *", - "canonical": "const struct TSequence *" + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" }, { - "name": "count", - "cType": "int *", - "canonical": "int *" + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" } ] }, { - "name": "tsequence_value_at_timestamptz", + "name": "tinstant_cmp", "file": "meos_internal.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "seq", - "cType": "const TSequence *", - "canonical": "const struct TSequence *" - }, - { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" - }, - { - "name": "strict", - "cType": "bool", - "canonical": "bool" + "name": "inst1", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" }, { - "name": "result", - "cType": "Datum *", - "canonical": "int ((*)(int *))()" + "name": "inst2", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" } ] }, { - "name": "tsequence_values_p", + "name": "tinstant_eq", "file": "meos_internal.h", "returnType": { - "c": "Datum *", - "canonical": "int ((*)(int *))()" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "seq", - "cType": "const TSequence *", - "canonical": "const struct TSequence *" + "name": "inst1", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" }, { - "name": "count", - "cType": "int *", - "canonical": "int *" + "name": "inst2", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" } ] }, { - "name": "tsequenceset_duration", + "name": "tsequence_cmp", "file": "meos_internal.h", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "ss", - "cType": "const TSequenceSet *", - "canonical": "const struct TSequenceSet *" + "name": "seq1", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" }, { - "name": "boundspan", - "cType": "bool", - "canonical": "bool" + "name": "seq2", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" } ] }, { - "name": "tsequenceset_end_timestamptz", + "name": "tsequence_eq", "file": "meos_internal.h", "returnType": { - "c": "TimestampTz", - "canonical": "long" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "ss", - "cType": "const TSequenceSet *", - "canonical": "const struct TSequenceSet *" + "name": "seq1", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "seq2", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" } ] }, { - "name": "tsequenceset_hash", + "name": "tsequenceset_cmp", "file": "meos_internal.h", "returnType": { - "c": "uint32", - "canonical": "unsigned int" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "ss", + "name": "ss1", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + }, + { + "name": "ss2", "cType": "const TSequenceSet *", "canonical": "const struct TSequenceSet *" } ] }, { - "name": "tsequenceset_inst_n", + "name": "tsequenceset_eq", "file": "meos_internal.h", "returnType": { - "c": "const TInstant *", - "canonical": "const struct TInstant *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "ss", + "name": "ss1", "cType": "const TSequenceSet *", "canonical": "const struct TSequenceSet *" }, { - "name": "n", - "cType": "int", - "canonical": "int" + "name": "ss2", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" } ] }, { - "name": "tsequenceset_insts_p", + "name": "always_eq_base_temporal", "file": "meos_internal.h", "returnType": { - "c": "const TInstant **", - "canonical": "const struct TInstant **" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "ss", - "cType": "const TSequenceSet *", - "canonical": "const struct TSequenceSet *" + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "tsequenceset_max_inst_p", + "name": "always_eq_temporal_base", "file": "meos_internal.h", "returnType": { - "c": "const TInstant *", - "canonical": "const struct TInstant *" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "ss", - "cType": "const TSequenceSet *", - "canonical": "const struct TSequenceSet *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" } ] }, { - "name": "tsequenceset_max_val", + "name": "always_ne_base_temporal", "file": "meos_internal.h", "returnType": { "c": "int", @@ -46993,29 +47647,39 @@ }, "params": [ { - "name": "ss", - "cType": "const TSequenceSet *", - "canonical": "const struct TSequenceSet *" + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "tsequenceset_min_inst_p", + "name": "always_ne_temporal_base", "file": "meos_internal.h", "returnType": { - "c": "const TInstant *", - "canonical": "const struct TInstant *" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "ss", - "cType": "const TSequenceSet *", - "canonical": "const struct TSequenceSet *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" } ] }, { - "name": "tsequenceset_min_val", + "name": "always_ge_base_temporal", "file": "meos_internal.h", "returnType": { "c": "int", @@ -47023,14 +47687,19 @@ }, "params": [ { - "name": "ss", - "cType": "const TSequenceSet *", - "canonical": "const struct TSequenceSet *" + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "tsequenceset_num_instants", + "name": "always_ge_temporal_base", "file": "meos_internal.h", "returnType": { "c": "int", @@ -47038,14 +47707,19 @@ }, "params": [ { - "name": "ss", - "cType": "const TSequenceSet *", - "canonical": "const struct TSequenceSet *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" } ] }, { - "name": "tsequenceset_num_timestamps", + "name": "always_gt_base_temporal", "file": "meos_internal.h", "returnType": { "c": "int", @@ -47053,223 +47727,223 @@ }, "params": [ { - "name": "ss", - "cType": "const TSequenceSet *", - "canonical": "const struct TSequenceSet *" + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "tsequenceset_segments", + "name": "always_gt_temporal_base", "file": "meos_internal.h", "returnType": { - "c": "TSequence **", - "canonical": "struct TSequence **" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "ss", - "cType": "const TSequenceSet *", - "canonical": "const struct TSequenceSet *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" }, { - "name": "count", - "cType": "int *", - "canonical": "int *" + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" } ] }, { - "name": "tsequenceset_sequences_p", + "name": "always_le_base_temporal", "file": "meos_internal.h", "returnType": { - "c": "const TSequence **", - "canonical": "const struct TSequence **" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "ss", - "cType": "const TSequenceSet *", - "canonical": "const struct TSequenceSet *" + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "tsequenceset_start_timestamptz", + "name": "always_le_temporal_base", "file": "meos_internal.h", "returnType": { - "c": "TimestampTz", - "canonical": "long" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "ss", - "cType": "const TSequenceSet *", - "canonical": "const struct TSequenceSet *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" } ] }, { - "name": "tsequenceset_time", + "name": "always_lt_base_temporal", "file": "meos_internal.h", "returnType": { - "c": "SpanSet *", - "canonical": "struct SpanSet *" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "ss", - "cType": "const TSequenceSet *", - "canonical": "const struct TSequenceSet *" + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "tsequenceset_timestamptz_n", + "name": "always_lt_temporal_base", "file": "meos_internal.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "ss", - "cType": "const TSequenceSet *", - "canonical": "const struct TSequenceSet *" - }, - { - "name": "n", - "cType": "int", - "canonical": "int" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" }, { - "name": "result", - "cType": "TimestampTz *", - "canonical": "long *" + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" } ] }, { - "name": "tsequenceset_timestamps", + "name": "ever_eq_base_temporal", "file": "meos_internal.h", "returnType": { - "c": "TimestampTz *", - "canonical": "long *" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "ss", - "cType": "const TSequenceSet *", - "canonical": "const struct TSequenceSet *" + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" }, { - "name": "count", - "cType": "int *", - "canonical": "int *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "tsequenceset_value_at_timestamptz", + "name": "ever_eq_temporal_base", "file": "meos_internal.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "ss", - "cType": "const TSequenceSet *", - "canonical": "const struct TSequenceSet *" - }, - { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" - }, - { - "name": "strict", - "cType": "bool", - "canonical": "bool" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" }, { - "name": "result", - "cType": "Datum *", - "canonical": "int ((*)(int *))()" + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" } ] }, { - "name": "tsequenceset_value_n", + "name": "ever_ne_base_temporal", "file": "meos_internal.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "ss", - "cType": "const TSequenceSet *", - "canonical": "const struct TSequenceSet *" - }, - { - "name": "n", - "cType": "int", - "canonical": "int" + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" }, { - "name": "result", - "cType": "Datum *", - "canonical": "int ((*)(int *))()" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "tsequenceset_values_p", + "name": "ever_ne_temporal_base", "file": "meos_internal.h", "returnType": { - "c": "Datum *", - "canonical": "int ((*)(int *))()" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "ss", - "cType": "const TSequenceSet *", - "canonical": "const struct TSequenceSet *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" }, { - "name": "count", - "cType": "int *", - "canonical": "int *" + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" } ] }, { - "name": "temporal_restart", + "name": "ever_ge_base_temporal", "file": "meos_internal.h", "returnType": { - "c": "void", - "canonical": "void" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "temp", - "cType": "Temporal *", - "canonical": "Temporal *" + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" }, { - "name": "count", - "cType": "int", - "canonical": "int" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "temporal_tsequence", + "name": "ever_ge_temporal_base", "file": "meos_internal.h", "returnType": { - "c": "TSequence *", - "canonical": "struct TSequence *" + "c": "int", + "canonical": "int" }, "params": [ { @@ -47278,118 +47952,118 @@ "canonical": "const Temporal *" }, { - "name": "interp", - "cType": "interpType", - "canonical": "interpType" + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" } ] }, { - "name": "temporal_tsequenceset", + "name": "ever_gt_base_temporal", "file": "meos_internal.h", "returnType": { - "c": "TSequenceSet *", - "canonical": "struct TSequenceSet *" + "c": "int", + "canonical": "int" }, "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, { "name": "temp", "cType": "const Temporal *", "canonical": "const Temporal *" - }, - { - "name": "interp", - "cType": "interpType", - "canonical": "interpType" } ] }, { - "name": "tinstant_shift_time", + "name": "ever_gt_temporal_base", "file": "meos_internal.h", "returnType": { - "c": "TInstant *", - "canonical": "struct TInstant *" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "inst", - "cType": "const TInstant *", - "canonical": "const struct TInstant *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" }, { - "name": "interv", - "cType": "const int *", - "canonical": "const int *" + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" } ] }, { - "name": "tinstant_to_tsequence", + "name": "ever_le_base_temporal", "file": "meos_internal.h", "returnType": { - "c": "TSequence *", - "canonical": "struct TSequence *" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "inst", - "cType": "const TInstant *", - "canonical": "const struct TInstant *" + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" }, { - "name": "interp", - "cType": "interpType", - "canonical": "interpType" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "tinstant_to_tsequence_free", + "name": "ever_le_temporal_base", "file": "meos_internal.h", "returnType": { - "c": "TSequence *", - "canonical": "struct TSequence *" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "inst", - "cType": "TInstant *", - "canonical": "struct TInstant *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" }, { - "name": "interp", - "cType": "interpType", - "canonical": "interpType" + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" } ] }, { - "name": "tinstant_to_tsequenceset", + "name": "ever_lt_base_temporal", "file": "meos_internal.h", "returnType": { - "c": "TSequenceSet *", - "canonical": "struct TSequenceSet *" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "inst", - "cType": "const TInstant *", - "canonical": "const struct TInstant *" + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" }, { - "name": "interp", - "cType": "interpType", - "canonical": "interpType" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "tnumber_shift_scale_value", + "name": "ever_lt_temporal_base", "file": "meos_internal.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "int", + "canonical": "int" }, "params": [ { @@ -47398,29 +48072,14 @@ "canonical": "const Temporal *" }, { - "name": "shift", - "cType": "Datum", - "canonical": "int ((int *))()" - }, - { - "name": "width", + "name": "value", "cType": "Datum", "canonical": "int ((int *))()" - }, - { - "name": "hasshift", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "haswidth", - "cType": "bool", - "canonical": "bool" } ] }, { - "name": "tnumberinst_shift_value", + "name": "tnumberinst_abs", "file": "meos_internal.h", "returnType": { "c": "TInstant *", @@ -47431,16 +48090,11 @@ "name": "inst", "cType": "const TInstant *", "canonical": "const struct TInstant *" - }, - { - "name": "shift", - "cType": "Datum", - "canonical": "int ((int *))()" } ] }, { - "name": "tnumberseq_shift_scale_value", + "name": "tnumberseq_abs", "file": "meos_internal.h", "returnType": { "c": "TSequence *", @@ -47451,106 +48105,56 @@ "name": "seq", "cType": "const TSequence *", "canonical": "const struct TSequence *" - }, - { - "name": "shift", - "cType": "Datum", - "canonical": "int ((int *))()" - }, - { - "name": "width", - "cType": "Datum", - "canonical": "int ((int *))()" - }, - { - "name": "hasshift", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "haswidth", - "cType": "bool", - "canonical": "bool" } ] }, { - "name": "tnumberseqset_shift_scale_value", + "name": "tnumberseq_angular_difference", "file": "meos_internal.h", "returnType": { - "c": "TSequenceSet *", - "canonical": "struct TSequenceSet *" + "c": "TSequence *", + "canonical": "struct TSequence *" }, "params": [ { - "name": "ss", - "cType": "const TSequenceSet *", - "canonical": "const struct TSequenceSet *" - }, - { - "name": "start", - "cType": "Datum", - "canonical": "int ((int *))()" - }, - { - "name": "width", - "cType": "Datum", - "canonical": "int ((int *))()" - }, - { - "name": "hasshift", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "haswidth", - "cType": "bool", - "canonical": "bool" + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" } ] }, { - "name": "tsequence_restart", + "name": "tnumberseq_delta_value", "file": "meos_internal.h", "returnType": { - "c": "void", - "canonical": "void" + "c": "TSequence *", + "canonical": "struct TSequence *" }, "params": [ { "name": "seq", - "cType": "TSequence *", - "canonical": "struct TSequence *" - }, - { - "name": "count", - "cType": "int", - "canonical": "int" + "cType": "const TSequence *", + "canonical": "const struct TSequence *" } ] }, { - "name": "tsequence_set_interp", + "name": "tnumberseqset_abs", "file": "meos_internal.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" }, "params": [ { - "name": "seq", - "cType": "const TSequence *", - "canonical": "const struct TSequence *" - }, - { - "name": "interp", - "cType": "interpType", - "canonical": "interpType" + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" } ] }, { - "name": "tsequence_shift_scale_time", + "name": "tnumberseqset_angular_difference", "file": "meos_internal.h", "returnType": { "c": "TSequence *", @@ -47558,144 +48162,129 @@ }, "params": [ { - "name": "seq", - "cType": "const TSequence *", - "canonical": "const struct TSequence *" - }, - { - "name": "shift", - "cType": "const int *", - "canonical": "const int *" - }, - { - "name": "duration", - "cType": "const int *", - "canonical": "const int *" + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" } ] }, { - "name": "tsequence_subseq", + "name": "tnumberseqset_delta_value", "file": "meos_internal.h", "returnType": { - "c": "TSequence *", - "canonical": "struct TSequence *" + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" }, "params": [ { - "name": "seq", - "cType": "const TSequence *", - "canonical": "const struct TSequence *" - }, - { - "name": "from", - "cType": "int", - "canonical": "int" - }, - { - "name": "to", - "cType": "int", - "canonical": "int" - }, - { - "name": "lower_inc", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "upper_inc", - "cType": "bool", - "canonical": "bool" + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" } ] }, { - "name": "tsequence_to_tinstant", + "name": "distance_span_span_double", "file": "meos_internal.h", "returnType": { - "c": "TInstant *", - "canonical": "struct TInstant *" + "c": "double", + "canonical": "double" }, "params": [ { - "name": "seq", - "cType": "const TSequence *", - "canonical": "const struct TSequence *" + "name": "s1", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "s2", + "cType": "const Span *", + "canonical": "const struct Span *" } ] }, { - "name": "tsequence_to_tsequenceset", + "name": "nad_tbox_tbox", "file": "meos_internal.h", "returnType": { - "c": "TSequenceSet *", - "canonical": "struct TSequenceSet *" + "c": "double", + "canonical": "double" }, "params": [ { - "name": "seq", - "cType": "const TSequence *", - "canonical": "const struct TSequence *" + "name": "box1", + "cType": "const TBox *", + "canonical": "const struct TBox *" + }, + { + "name": "box2", + "cType": "const TBox *", + "canonical": "const struct TBox *" } ] }, { - "name": "tsequence_to_tsequenceset_free", + "name": "nad_tnumber_number", "file": "meos_internal.h", "returnType": { - "c": "TSequenceSet *", - "canonical": "struct TSequenceSet *" + "c": "double", + "canonical": "double" }, "params": [ { - "name": "seq", - "cType": "TSequence *", - "canonical": "struct TSequence *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" } ] }, { - "name": "tsequence_to_tsequenceset_interp", + "name": "nad_tnumber_tbox", "file": "meos_internal.h", "returnType": { - "c": "TSequenceSet *", - "canonical": "struct TSequenceSet *" + "c": "double", + "canonical": "double" }, "params": [ { - "name": "seq", - "cType": "const TSequence *", - "canonical": "const struct TSequence *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" }, { - "name": "interp", - "cType": "interpType", - "canonical": "interpType" + "name": "box", + "cType": "const TBox *", + "canonical": "const struct TBox *" } ] }, { - "name": "tsequenceset_restart", + "name": "nad_tnumber_tnumber", "file": "meos_internal.h", "returnType": { - "c": "void", - "canonical": "void" + "c": "double", + "canonical": "double" }, "params": [ { - "name": "ss", - "cType": "TSequenceSet *", - "canonical": "struct TSequenceSet *" + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" }, { - "name": "count", - "cType": "int", - "canonical": "int" + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "tsequenceset_set_interp", + "name": "tdistance_tnumber_number", "file": "meos_internal.h", "returnType": { "c": "Temporal *", @@ -47703,78 +48292,73 @@ }, "params": [ { - "name": "ss", - "cType": "const TSequenceSet *", - "canonical": "const struct TSequenceSet *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" }, { - "name": "interp", - "cType": "interpType", - "canonical": "interpType" + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" } ] }, { - "name": "tsequenceset_shift_scale_time", + "name": "tnumberinst_distance", "file": "meos_internal.h", "returnType": { - "c": "TSequenceSet *", - "canonical": "struct TSequenceSet *" + "c": "double", + "canonical": "double" }, "params": [ { - "name": "ss", - "cType": "const TSequenceSet *", - "canonical": "const struct TSequenceSet *" - }, - { - "name": "start", - "cType": "const int *", - "canonical": "const int *" + "name": "inst1", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" }, { - "name": "duration", - "cType": "const int *", - "canonical": "const int *" + "name": "inst2", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" } ] }, { - "name": "tsequenceset_to_discrete", + "name": "tnumberseq_integral", "file": "meos_internal.h", "returnType": { - "c": "TSequence *", - "canonical": "struct TSequence *" + "c": "double", + "canonical": "double" }, "params": [ { - "name": "ss", - "cType": "const TSequenceSet *", - "canonical": "const struct TSequenceSet *" + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" } ] }, { - "name": "tsequenceset_to_linear", + "name": "tnumberseq_twavg", "file": "meos_internal.h", "returnType": { - "c": "TSequenceSet *", - "canonical": "struct TSequenceSet *" + "c": "double", + "canonical": "double" }, "params": [ { - "name": "ss", - "cType": "const TSequenceSet *", - "canonical": "const struct TSequenceSet *" + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" } ] }, { - "name": "tsequenceset_to_step", + "name": "tnumberseqset_integral", "file": "meos_internal.h", "returnType": { - "c": "TSequenceSet *", - "canonical": "struct TSequenceSet *" + "c": "double", + "canonical": "double" }, "params": [ { @@ -47785,11 +48369,11 @@ ] }, { - "name": "tsequenceset_to_tinstant", + "name": "tnumberseqset_twavg", "file": "meos_internal.h", "returnType": { - "c": "TInstant *", - "canonical": "struct TInstant *" + "c": "double", + "canonical": "double" }, "params": [ { @@ -47800,303 +48384,267 @@ ] }, { - "name": "tsequenceset_to_tsequence", + "name": "temporal_compact", "file": "meos_internal.h", "returnType": { - "c": "TSequence *", - "canonical": "struct TSequence *" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "ss", - "cType": "const TSequenceSet *", - "canonical": "const struct TSequenceSet *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "tinstant_merge", + "name": "tsequence_compact", "file": "meos_internal.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "TSequence *", + "canonical": "struct TSequence *" }, "params": [ { - "name": "inst1", - "cType": "const TInstant *", - "canonical": "const struct TInstant *" - }, - { - "name": "inst2", - "cType": "const TInstant *", - "canonical": "const struct TInstant *" + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" } ] }, { - "name": "tinstant_merge_array", + "name": "tsequenceset_compact", "file": "meos_internal.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" }, "params": [ { - "name": "instants", - "cType": "TInstant **", - "canonical": "struct TInstant **" - }, - { - "name": "count", - "cType": "int", - "canonical": "int" + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" } ] }, { - "name": "tsequence_append_tinstant", + "name": "temporal_skiplist_make", "file": "meos_internal.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "SkipList *", + "canonical": "struct SkipList *" }, - "params": [ - { - "name": "seq", - "cType": "TSequence *", - "canonical": "struct TSequence *" - }, - { - "name": "inst", - "cType": "const TInstant *", - "canonical": "const struct TInstant *" - }, - { - "name": "maxdist", - "cType": "double", - "canonical": "double" - }, - { - "name": "maxt", - "cType": "const int *", - "canonical": "const int *" - }, - { - "name": "expand", - "cType": "bool", - "canonical": "bool" - } - ] + "params": [] }, { - "name": "tsequence_append_tsequence", + "name": "skiplist_make", "file": "meos_internal.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "SkipList *", + "canonical": "struct SkipList *" }, "params": [ { - "name": "seq1", - "cType": "const TSequence *", - "canonical": "const struct TSequence *" + "name": "key_size", + "cType": "size_t", + "canonical": "unsigned long" }, { - "name": "seq2", - "cType": "const TSequence *", - "canonical": "const struct TSequence *" + "name": "value_size", + "cType": "size_t", + "canonical": "unsigned long" }, { - "name": "expand", - "cType": "bool", - "canonical": "bool" + "name": "comp_fn", + "cType": "int (*)(void *, void *)", + "canonical": "int (*)(void *, void *)" + }, + { + "name": "merge_fn", + "cType": "void *(*)(void *, void *)", + "canonical": "void *(*)(void *, void *)" } ] }, { - "name": "tsequence_delete_timestamptz", + "name": "skiplist_search", "file": "meos_internal.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "seq", - "cType": "const TSequence *", - "canonical": "const struct TSequence *" + "name": "list", + "cType": "SkipList *", + "canonical": "struct SkipList *" }, { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" + "name": "key", + "cType": "void *", + "canonical": "void *" }, { - "name": "connect", - "cType": "bool", - "canonical": "bool" + "name": "value", + "cType": "void *", + "canonical": "void *" } ] }, { - "name": "tsequence_delete_tstzset", + "name": "skiplist_free", "file": "meos_internal.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "void", + "canonical": "void" }, "params": [ { - "name": "seq", - "cType": "const TSequence *", - "canonical": "const struct TSequence *" - }, - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "connect", - "cType": "bool", - "canonical": "bool" + "name": "list", + "cType": "SkipList *", + "canonical": "struct SkipList *" } ] }, { - "name": "tsequence_delete_tstzspan", + "name": "skiplist_splice", "file": "meos_internal.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "void", + "canonical": "void" }, "params": [ { - "name": "seq", - "cType": "const TSequence *", - "canonical": "const struct TSequence *" + "name": "list", + "cType": "SkipList *", + "canonical": "struct SkipList *" }, { - "name": "s", - "cType": "const Span *", - "canonical": "const struct Span *" + "name": "keys", + "cType": "void **", + "canonical": "void **" }, { - "name": "connect", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "tsequence_delete_tstzspanset", - "file": "meos_internal.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ + "name": "values", + "cType": "void **", + "canonical": "void **" + }, { - "name": "seq", - "cType": "const TSequence *", - "canonical": "const struct TSequence *" + "name": "count", + "cType": "int", + "canonical": "int" }, { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const struct SpanSet *" + "name": "func", + "cType": "datum_func2", + "canonical": "int (*)(int ((*)(int *))(), int ((*)(int *))())" }, { - "name": "connect", + "name": "crossings", "cType": "bool", "canonical": "bool" + }, + { + "name": "sktype", + "cType": "SkipListType", + "canonical": "SkipListType" } ] }, { - "name": "tsequence_insert", + "name": "temporal_skiplist_splice", "file": "meos_internal.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "void", + "canonical": "void" }, "params": [ { - "name": "seq1", - "cType": "const TSequence *", - "canonical": "const struct TSequence *" + "name": "list", + "cType": "SkipList *", + "canonical": "struct SkipList *" }, { - "name": "seq2", - "cType": "const TSequence *", - "canonical": "const struct TSequence *" + "name": "values", + "cType": "void **", + "canonical": "void **" }, { - "name": "connect", + "name": "count", + "cType": "int", + "canonical": "int" + }, + { + "name": "func", + "cType": "datum_func2", + "canonical": "int (*)(int ((*)(int *))(), int ((*)(int *))())" + }, + { + "name": "crossings", "cType": "bool", "canonical": "bool" } ] }, { - "name": "tsequence_merge", + "name": "skiplist_values", "file": "meos_internal.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "void **", + "canonical": "void **" }, "params": [ { - "name": "seq1", - "cType": "const TSequence *", - "canonical": "const struct TSequence *" - }, - { - "name": "seq2", - "cType": "const TSequence *", - "canonical": "const struct TSequence *" + "name": "list", + "cType": "SkipList *", + "canonical": "struct SkipList *" } ] }, { - "name": "tsequence_merge_array", + "name": "skiplist_keys_values", "file": "meos_internal.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "void **", + "canonical": "void **" }, "params": [ { - "name": "sequences", - "cType": "TSequence **", - "canonical": "struct TSequence **" + "name": "list", + "cType": "SkipList *", + "canonical": "struct SkipList *" }, { - "name": "count", - "cType": "int", - "canonical": "int" + "name": "values", + "cType": "void **", + "canonical": "void **" } ] }, { - "name": "tsequenceset_append_tinstant", + "name": "temporal_app_tinst_transfn", "file": "meos_internal.h", "returnType": { - "c": "TSequenceSet *", - "canonical": "struct TSequenceSet *" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "ss", - "cType": "TSequenceSet *", - "canonical": "struct TSequenceSet *" + "name": "state", + "cType": "Temporal *", + "canonical": "Temporal *" }, { "name": "inst", "cType": "const TInstant *", "canonical": "const struct TInstant *" }, + { + "name": "interp", + "cType": "interpType", + "canonical": "interpType" + }, { "name": "maxdist", "cType": "double", @@ -48106,2330 +48654,2041 @@ "name": "maxt", "cType": "const int *", "canonical": "const int *" - }, - { - "name": "expand", - "cType": "bool", - "canonical": "bool" } ] }, { - "name": "tsequenceset_append_tsequence", + "name": "temporal_app_tseq_transfn", "file": "meos_internal.h", "returnType": { - "c": "TSequenceSet *", - "canonical": "struct TSequenceSet *" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "ss", - "cType": "TSequenceSet *", - "canonical": "struct TSequenceSet *" + "name": "state", + "cType": "Temporal *", + "canonical": "Temporal *" }, { "name": "seq", "cType": "const TSequence *", "canonical": "const struct TSequence *" - }, - { - "name": "expand", - "cType": "bool", - "canonical": "bool" } ] }, { - "name": "tsequenceset_delete_timestamptz", + "name": "span_bins", "file": "meos_internal.h", "returnType": { - "c": "TSequenceSet *", - "canonical": "struct TSequenceSet *" + "c": "Span *", + "canonical": "struct Span *" }, "params": [ { - "name": "ss", - "cType": "const TSequenceSet *", - "canonical": "const struct TSequenceSet *" + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" }, { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" + "name": "size", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "origin", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" } ] }, { - "name": "tsequenceset_delete_tstzset", + "name": "spanset_bins", "file": "meos_internal.h", "returnType": { - "c": "TSequenceSet *", - "canonical": "struct TSequenceSet *" + "c": "Span *", + "canonical": "struct Span *" }, "params": [ { "name": "ss", - "cType": "const TSequenceSet *", - "canonical": "const struct TSequenceSet *" + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" }, { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" + "name": "size", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "origin", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" } ] }, { - "name": "tsequenceset_delete_tstzspan", + "name": "tnumber_value_bins", "file": "meos_internal.h", "returnType": { - "c": "TSequenceSet *", - "canonical": "struct TSequenceSet *" + "c": "Span *", + "canonical": "struct Span *" }, "params": [ { - "name": "ss", - "cType": "const TSequenceSet *", - "canonical": "const struct TSequenceSet *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" }, { - "name": "s", - "cType": "const Span *", - "canonical": "const struct Span *" + "name": "size", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "origin", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" } ] }, { - "name": "tsequenceset_delete_tstzspanset", + "name": "tnumber_value_time_boxes", "file": "meos_internal.h", "returnType": { - "c": "TSequenceSet *", - "canonical": "struct TSequenceSet *" + "c": "TBox *", + "canonical": "struct TBox *" }, "params": [ { - "name": "ss", - "cType": "const TSequenceSet *", - "canonical": "const struct TSequenceSet *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" }, { - "name": "ps", - "cType": "const SpanSet *", - "canonical": "const struct SpanSet *" + "name": "vsize", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "duration", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "vorigin", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "torigin", + "cType": "TimestampTz", + "canonical": "long" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" } ] }, { - "name": "tsequenceset_insert", + "name": "tnumber_value_split", "file": "meos_internal.h", "returnType": { - "c": "TSequenceSet *", - "canonical": "struct TSequenceSet *" + "c": "DatumSplit", + "canonical": "DatumSplit" }, "params": [ { - "name": "ss1", - "cType": "const TSequenceSet *", - "canonical": "const struct TSequenceSet *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" }, { - "name": "ss2", - "cType": "const TSequenceSet *", - "canonical": "const struct TSequenceSet *" + "name": "vsize", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "vorigin", + "cType": "Datum", + "canonical": "int ((int *))()" } ] }, { - "name": "tsequenceset_merge", + "name": "tbox_get_value_time_tile", "file": "meos_internal.h", "returnType": { - "c": "TSequenceSet *", - "canonical": "struct TSequenceSet *" + "c": "TBox *", + "canonical": "struct TBox *" }, "params": [ { - "name": "ss1", - "cType": "const TSequenceSet *", - "canonical": "const struct TSequenceSet *" + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" }, { - "name": "ss2", - "cType": "const TSequenceSet *", - "canonical": "const struct TSequenceSet *" + "name": "t", + "cType": "TimestampTz", + "canonical": "long" + }, + { + "name": "vsize", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "duration", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "vorigin", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "torigin", + "cType": "TimestampTz", + "canonical": "long" + }, + { + "name": "basetype", + "cType": "MeosType", + "canonical": "MeosType" + }, + { + "name": "spantype", + "cType": "MeosType", + "canonical": "MeosType" } ] }, { - "name": "tsequenceset_merge_array", + "name": "tnumber_value_time_split", "file": "meos_internal.h", "returnType": { - "c": "TSequenceSet *", - "canonical": "struct TSequenceSet *" + "c": "Temporal **", + "canonical": "Temporal **" }, "params": [ { - "name": "seqsets", - "cType": "TSequenceSet **", - "canonical": "struct TSequenceSet **" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "size", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "duration", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "vorigin", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "torigin", + "cType": "TimestampTz", + "canonical": "long" + }, + { + "name": "value_bins", + "cType": "Datum **", + "canonical": "int ((**)(int *))()" + }, + { + "name": "time_bins", + "cType": "TimestampTz **", + "canonical": "long **" }, { "name": "count", - "cType": "int", - "canonical": "int" + "cType": "int *", + "canonical": "int *" } ] }, { - "name": "tsequence_expand_bbox", - "file": "meos_internal.h", + "name": "h3_are_neighbor_cells_meos", + "file": "h3_generated.h", "returnType": { - "c": "void", - "canonical": "void" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "seq", - "cType": "TSequence *", - "canonical": "struct TSequence *" + "name": "origin", + "cType": "H3Index", + "canonical": "unsigned long" }, { - "name": "inst", - "cType": "const TInstant *", - "canonical": "const struct TInstant *" + "name": "destination", + "cType": "H3Index", + "canonical": "unsigned long" } ] }, { - "name": "tsequence_set_bbox", - "file": "meos_internal.h", + "name": "h3_cells_to_directed_edge_meos", + "file": "h3_generated.h", "returnType": { - "c": "void", - "canonical": "void" + "c": "H3Index", + "canonical": "unsigned long" }, "params": [ { - "name": "seq", - "cType": "const TSequence *", - "canonical": "const struct TSequence *" + "name": "origin", + "cType": "H3Index", + "canonical": "unsigned long" }, { - "name": "box", - "cType": "void *", - "canonical": "void *" + "name": "destination", + "cType": "H3Index", + "canonical": "unsigned long" } ] }, { - "name": "tsequenceset_expand_bbox", - "file": "meos_internal.h", + "name": "h3_is_valid_directed_edge_meos", + "file": "h3_generated.h", "returnType": { - "c": "void", - "canonical": "void" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "ss", - "cType": "TSequenceSet *", - "canonical": "struct TSequenceSet *" - }, - { - "name": "seq", - "cType": "const TSequence *", - "canonical": "const struct TSequence *" + "name": "edge", + "cType": "H3Index", + "canonical": "unsigned long" } ] }, { - "name": "tsequenceset_set_bbox", - "file": "meos_internal.h", + "name": "h3_get_directed_edge_origin_meos", + "file": "h3_generated.h", "returnType": { - "c": "void", - "canonical": "void" + "c": "H3Index", + "canonical": "unsigned long" }, "params": [ { - "name": "ss", - "cType": "const TSequenceSet *", - "canonical": "const struct TSequenceSet *" - }, - { - "name": "box", - "cType": "void *", - "canonical": "void *" + "name": "edge", + "cType": "H3Index", + "canonical": "unsigned long" } ] }, { - "name": "tcontseq_after_timestamptz", - "file": "meos_internal.h", + "name": "h3_get_directed_edge_destination_meos", + "file": "h3_generated.h", "returnType": { - "c": "TSequence *", - "canonical": "struct TSequence *" + "c": "H3Index", + "canonical": "unsigned long" }, "params": [ { - "name": "seq", - "cType": "const TSequence *", - "canonical": "const struct TSequence *" - }, - { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" - }, - { - "name": "strict", - "cType": "bool", - "canonical": "bool" + "name": "edge", + "cType": "H3Index", + "canonical": "unsigned long" } ] }, { - "name": "tcontseq_before_timestamptz", - "file": "meos_internal.h", + "name": "h3_cell_to_parent_meos", + "file": "h3_generated.h", "returnType": { - "c": "TSequence *", - "canonical": "struct TSequence *" + "c": "H3Index", + "canonical": "unsigned long" }, "params": [ { - "name": "seq", - "cType": "const TSequence *", - "canonical": "const struct TSequence *" - }, - { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" + "name": "origin", + "cType": "H3Index", + "canonical": "unsigned long" }, { - "name": "strict", - "cType": "bool", - "canonical": "bool" + "name": "resolution", + "cType": "int32", + "canonical": "int" } ] }, { - "name": "tcontseq_restrict_minmax", - "file": "meos_internal.h", + "name": "h3_cell_to_center_child_meos", + "file": "h3_generated.h", "returnType": { - "c": "TSequenceSet *", - "canonical": "struct TSequenceSet *" + "c": "H3Index", + "canonical": "unsigned long" }, "params": [ { - "name": "seq", - "cType": "const TSequence *", - "canonical": "const struct TSequence *" + "name": "origin", + "cType": "H3Index", + "canonical": "unsigned long" }, { - "name": "min", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "atfunc", - "cType": "bool", - "canonical": "bool" + "name": "resolution", + "cType": "int32", + "canonical": "int" } ] }, { - "name": "tdiscseq_after_timestamptz", - "file": "meos_internal.h", + "name": "h3_cell_to_child_pos_meos", + "file": "h3_generated.h", "returnType": { - "c": "TSequence *", - "canonical": "struct TSequence *" + "c": "int64", + "canonical": "long" }, "params": [ { - "name": "seq", - "cType": "const TSequence *", - "canonical": "const struct TSequence *" - }, - { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" + "name": "child", + "cType": "H3Index", + "canonical": "unsigned long" }, { - "name": "strict", - "cType": "bool", - "canonical": "bool" + "name": "parentRes", + "cType": "int32", + "canonical": "int" } ] }, { - "name": "tdiscseq_before_timestamptz", - "file": "meos_internal.h", + "name": "h3_child_pos_to_cell_meos", + "file": "h3_generated.h", "returnType": { - "c": "TSequence *", - "canonical": "struct TSequence *" + "c": "H3Index", + "canonical": "unsigned long" }, "params": [ { - "name": "seq", - "cType": "const TSequence *", - "canonical": "const struct TSequence *" + "name": "childPos", + "cType": "int64", + "canonical": "long" }, { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" + "name": "parent", + "cType": "H3Index", + "canonical": "unsigned long" }, { - "name": "strict", - "cType": "bool", - "canonical": "bool" + "name": "childRes", + "cType": "int32", + "canonical": "int" } ] }, { - "name": "tdiscseq_restrict_minmax", - "file": "meos_internal.h", + "name": "h3_get_resolution_meos", + "file": "h3_generated.h", "returnType": { - "c": "TSequence *", - "canonical": "struct TSequence *" + "c": "int32", + "canonical": "int" }, "params": [ { - "name": "seq", - "cType": "const TSequence *", - "canonical": "const struct TSequence *" - }, - { - "name": "min", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "atfunc", - "cType": "bool", - "canonical": "bool" + "name": "hex", + "cType": "H3Index", + "canonical": "unsigned long" } ] }, { - "name": "temporal_bbox_restrict_set", - "file": "meos_internal.h", + "name": "h3_get_base_cell_number_meos", + "file": "h3_generated.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "int32", + "canonical": "int" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "set", - "cType": "const Set *", - "canonical": "const Set *" + "name": "hex", + "cType": "H3Index", + "canonical": "unsigned long" } ] }, { - "name": "temporal_restrict_minmax", - "file": "meos_internal.h", + "name": "h3_is_valid_cell_meos", + "file": "h3_generated.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "min", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "atfunc", - "cType": "bool", - "canonical": "bool" + "name": "hex", + "cType": "H3Index", + "canonical": "unsigned long" } ] }, { - "name": "temporal_restrict_timestamptz", - "file": "meos_internal.h", + "name": "h3_is_res_class_iii_meos", + "file": "h3_generated.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" - }, - { - "name": "atfunc", - "cType": "bool", - "canonical": "bool" + "name": "hex", + "cType": "H3Index", + "canonical": "unsigned long" } ] }, { - "name": "temporal_restrict_tstzset", - "file": "meos_internal.h", + "name": "h3_is_pentagon_meos", + "file": "h3_generated.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "atfunc", - "cType": "bool", - "canonical": "bool" + "name": "hex", + "cType": "H3Index", + "canonical": "unsigned long" } ] }, { - "name": "temporal_restrict_tstzspan", - "file": "meos_internal.h", + "name": "h3_get_num_cells_meos", + "file": "h3_generated.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "int64", + "canonical": "long" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "s", - "cType": "const Span *", - "canonical": "const struct Span *" - }, - { - "name": "atfunc", - "cType": "bool", - "canonical": "bool" + "name": "resolution", + "cType": "int32", + "canonical": "int" } ] }, { - "name": "temporal_restrict_tstzspanset", - "file": "meos_internal.h", + "name": "h3_grid_distance_meos", + "file": "h3_generated.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "int64", + "canonical": "long" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const struct SpanSet *" + "name": "originIndex", + "cType": "H3Index", + "canonical": "unsigned long" }, { - "name": "atfunc", - "cType": "bool", - "canonical": "bool" + "name": "h3Index", + "cType": "H3Index", + "canonical": "unsigned long" } ] }, { - "name": "temporal_restrict_value", - "file": "meos_internal.h", + "name": "h3_cell_to_vertex_meos", + "file": "h3_generated.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "H3Index", + "canonical": "unsigned long" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "value", - "cType": "Datum", - "canonical": "int ((int *))()" + "name": "cell", + "cType": "H3Index", + "canonical": "unsigned long" }, { - "name": "atfunc", - "cType": "bool", - "canonical": "bool" + "name": "vertexNum", + "cType": "int32", + "canonical": "int" } ] }, { - "name": "temporal_restrict_values", - "file": "meos_internal.h", + "name": "h3_is_valid_vertex_meos", + "file": "h3_generated.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "set", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "atfunc", - "cType": "bool", - "canonical": "bool" + "name": "vertex", + "cType": "H3Index", + "canonical": "unsigned long" } ] }, { - "name": "temporal_value_at_timestamptz", - "file": "meos_internal.h", + "name": "h3index_parse", + "file": "h3index.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "H3Index", + "canonical": "unsigned long" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" - }, - { - "name": "strict", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "result", - "cType": "Datum *", - "canonical": "int ((*)(int *))()" + "name": "str", + "cType": "const char *", + "canonical": "const char *" } ] }, { - "name": "tinstant_after_timestamptz", - "file": "meos_internal.h", + "name": "h3index_to_string", + "file": "h3index.h", "returnType": { - "c": "TInstant *", - "canonical": "struct TInstant *" + "c": "char *", + "canonical": "char *" }, "params": [ { - "name": "inst", - "cType": "const TInstant *", - "canonical": "const struct TInstant *" - }, - { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" - }, - { - "name": "strict", - "cType": "bool", - "canonical": "bool" + "name": "cell", + "cType": "H3Index", + "canonical": "unsigned long" } ] }, { - "name": "tinstant_before_timestamptz", - "file": "meos_internal.h", + "name": "h3index_eq", + "file": "h3index.h", "returnType": { - "c": "TInstant *", - "canonical": "struct TInstant *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "inst", - "cType": "const TInstant *", - "canonical": "const struct TInstant *" - }, - { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" + "name": "a", + "cType": "H3Index", + "canonical": "unsigned long" }, { - "name": "strict", - "cType": "bool", - "canonical": "bool" + "name": "b", + "cType": "H3Index", + "canonical": "unsigned long" } ] }, { - "name": "tinstant_restrict_tstzspan", - "file": "meos_internal.h", + "name": "h3index_ne", + "file": "h3index.h", "returnType": { - "c": "TInstant *", - "canonical": "struct TInstant *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "inst", - "cType": "const TInstant *", - "canonical": "const struct TInstant *" - }, - { - "name": "period", - "cType": "const Span *", - "canonical": "const struct Span *" + "name": "a", + "cType": "H3Index", + "canonical": "unsigned long" }, { - "name": "atfunc", - "cType": "bool", - "canonical": "bool" + "name": "b", + "cType": "H3Index", + "canonical": "unsigned long" } ] }, { - "name": "tinstant_restrict_tstzspanset", - "file": "meos_internal.h", + "name": "h3index_lt", + "file": "h3index.h", "returnType": { - "c": "TInstant *", - "canonical": "struct TInstant *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "inst", - "cType": "const TInstant *", - "canonical": "const struct TInstant *" - }, - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const struct SpanSet *" + "name": "a", + "cType": "H3Index", + "canonical": "unsigned long" }, { - "name": "atfunc", - "cType": "bool", - "canonical": "bool" + "name": "b", + "cType": "H3Index", + "canonical": "unsigned long" } ] }, { - "name": "tinstant_restrict_timestamptz", - "file": "meos_internal.h", + "name": "h3index_le", + "file": "h3index.h", "returnType": { - "c": "TInstant *", - "canonical": "struct TInstant *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "inst", - "cType": "const TInstant *", - "canonical": "const struct TInstant *" - }, - { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" + "name": "a", + "cType": "H3Index", + "canonical": "unsigned long" }, { - "name": "atfunc", - "cType": "bool", - "canonical": "bool" + "name": "b", + "cType": "H3Index", + "canonical": "unsigned long" } ] }, { - "name": "tinstant_restrict_tstzset", - "file": "meos_internal.h", + "name": "h3index_gt", + "file": "h3index.h", "returnType": { - "c": "TInstant *", - "canonical": "struct TInstant *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "inst", - "cType": "const TInstant *", - "canonical": "const struct TInstant *" - }, - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" + "name": "a", + "cType": "H3Index", + "canonical": "unsigned long" }, { - "name": "atfunc", - "cType": "bool", - "canonical": "bool" + "name": "b", + "cType": "H3Index", + "canonical": "unsigned long" } ] }, { - "name": "tinstant_restrict_value", - "file": "meos_internal.h", + "name": "h3index_ge", + "file": "h3index.h", "returnType": { - "c": "TInstant *", - "canonical": "struct TInstant *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "inst", - "cType": "const TInstant *", - "canonical": "const struct TInstant *" - }, - { - "name": "value", - "cType": "Datum", - "canonical": "int ((int *))()" + "name": "a", + "cType": "H3Index", + "canonical": "unsigned long" }, { - "name": "atfunc", - "cType": "bool", - "canonical": "bool" + "name": "b", + "cType": "H3Index", + "canonical": "unsigned long" } ] }, { - "name": "tinstant_restrict_values", - "file": "meos_internal.h", + "name": "h3index_cmp", + "file": "h3index.h", "returnType": { - "c": "TInstant *", - "canonical": "struct TInstant *" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "inst", - "cType": "const TInstant *", - "canonical": "const struct TInstant *" - }, - { - "name": "set", - "cType": "const Set *", - "canonical": "const Set *" + "name": "a", + "cType": "H3Index", + "canonical": "unsigned long" }, { - "name": "atfunc", - "cType": "bool", - "canonical": "bool" + "name": "b", + "cType": "H3Index", + "canonical": "unsigned long" } ] }, { - "name": "tnumber_restrict_span", - "file": "meos_internal.h", + "name": "h3index_hash", + "file": "h3index.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "uint32", + "canonical": "unsigned int" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "span", - "cType": "const Span *", - "canonical": "const struct Span *" - }, - { - "name": "atfunc", - "cType": "bool", - "canonical": "bool" + "name": "cell", + "cType": "H3Index", + "canonical": "unsigned long" } ] }, { - "name": "tnumber_restrict_spanset", - "file": "meos_internal.h", + "name": "h3_grid_disk", + "file": "h3index_sets.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "Set *", + "canonical": "Set *" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const struct SpanSet *" + "name": "origin", + "cType": "H3Index", + "canonical": "unsigned long" }, { - "name": "atfunc", - "cType": "bool", - "canonical": "bool" + "name": "k", + "cType": "int", + "canonical": "int" } ] }, { - "name": "tnumberinst_restrict_span", - "file": "meos_internal.h", + "name": "h3_grid_ring", + "file": "h3index_sets.h", "returnType": { - "c": "TInstant *", - "canonical": "struct TInstant *" + "c": "Set *", + "canonical": "Set *" }, "params": [ { - "name": "inst", - "cType": "const TInstant *", - "canonical": "const struct TInstant *" - }, - { - "name": "span", - "cType": "const Span *", - "canonical": "const struct Span *" + "name": "origin", + "cType": "H3Index", + "canonical": "unsigned long" }, { - "name": "atfunc", - "cType": "bool", - "canonical": "bool" + "name": "k", + "cType": "int", + "canonical": "int" } ] }, { - "name": "tnumberinst_restrict_spanset", - "file": "meos_internal.h", + "name": "h3_grid_path_cells", + "file": "h3index_sets.h", "returnType": { - "c": "TInstant *", - "canonical": "struct TInstant *" + "c": "Set *", + "canonical": "Set *" }, "params": [ { - "name": "inst", - "cType": "const TInstant *", - "canonical": "const struct TInstant *" - }, - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const struct SpanSet *" + "name": "start", + "cType": "H3Index", + "canonical": "unsigned long" }, { - "name": "atfunc", - "cType": "bool", - "canonical": "bool" + "name": "end", + "cType": "H3Index", + "canonical": "unsigned long" } ] }, { - "name": "tnumberseqset_restrict_span", - "file": "meos_internal.h", + "name": "h3_cell_to_children", + "file": "h3index_sets.h", "returnType": { - "c": "TSequenceSet *", - "canonical": "struct TSequenceSet *" + "c": "Set *", + "canonical": "Set *" }, "params": [ { - "name": "ss", - "cType": "const TSequenceSet *", - "canonical": "const struct TSequenceSet *" - }, - { - "name": "span", - "cType": "const Span *", - "canonical": "const struct Span *" + "name": "origin", + "cType": "H3Index", + "canonical": "unsigned long" }, { - "name": "atfunc", - "cType": "bool", - "canonical": "bool" + "name": "childRes", + "cType": "int", + "canonical": "int" } ] }, { - "name": "tnumberseqset_restrict_spanset", - "file": "meos_internal.h", + "name": "h3_compact_cells", + "file": "h3index_sets.h", "returnType": { - "c": "TSequenceSet *", - "canonical": "struct TSequenceSet *" + "c": "Set *", + "canonical": "Set *" }, "params": [ { - "name": "ss", - "cType": "const TSequenceSet *", - "canonical": "const struct TSequenceSet *" - }, - { - "name": "spanset", - "cType": "const SpanSet *", - "canonical": "const struct SpanSet *" - }, - { - "name": "atfunc", - "cType": "bool", - "canonical": "bool" + "name": "cells", + "cType": "const Set *", + "canonical": "const Set *" } ] }, { - "name": "tsequence_at_timestamptz", - "file": "meos_internal.h", + "name": "h3_uncompact_cells", + "file": "h3index_sets.h", "returnType": { - "c": "TInstant *", - "canonical": "struct TInstant *" + "c": "Set *", + "canonical": "Set *" }, "params": [ { - "name": "seq", - "cType": "const TSequence *", - "canonical": "const struct TSequence *" + "name": "cells", + "cType": "const Set *", + "canonical": "const Set *" }, { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" + "name": "res", + "cType": "int", + "canonical": "int" } ] }, { - "name": "tsequence_restrict_tstzspan", - "file": "meos_internal.h", + "name": "h3_origin_to_directed_edges", + "file": "h3index_sets.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "Set *", + "canonical": "Set *" }, "params": [ { - "name": "seq", - "cType": "const TSequence *", - "canonical": "const struct TSequence *" - }, - { - "name": "s", - "cType": "const Span *", - "canonical": "const struct Span *" - }, - { - "name": "atfunc", - "cType": "bool", - "canonical": "bool" + "name": "origin", + "cType": "H3Index", + "canonical": "unsigned long" } ] }, { - "name": "tsequence_restrict_tstzspanset", - "file": "meos_internal.h", + "name": "h3_cell_to_vertexes", + "file": "h3index_sets.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "Set *", + "canonical": "Set *" }, "params": [ { - "name": "seq", - "cType": "const TSequence *", - "canonical": "const struct TSequence *" - }, - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const struct SpanSet *" - }, - { - "name": "atfunc", - "cType": "bool", - "canonical": "bool" + "name": "cell", + "cType": "H3Index", + "canonical": "unsigned long" } ] }, { - "name": "tsequenceset_after_timestamptz", - "file": "meos_internal.h", + "name": "h3_get_icosahedron_faces", + "file": "h3index_sets.h", "returnType": { - "c": "TSequenceSet *", - "canonical": "struct TSequenceSet *" + "c": "Set *", + "canonical": "Set *" }, "params": [ { - "name": "ss", - "cType": "const TSequenceSet *", - "canonical": "const struct TSequenceSet *" - }, - { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" - }, - { - "name": "strict", - "cType": "bool", - "canonical": "bool" + "name": "cell", + "cType": "H3Index", + "canonical": "unsigned long" } ] }, { - "name": "tsequenceset_before_timestamptz", - "file": "meos_internal.h", + "name": "ensure_valid_th3index_th3index", + "file": "th3index.h", "returnType": { - "c": "TSequenceSet *", - "canonical": "struct TSequenceSet *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "ss", - "cType": "const TSequenceSet *", - "canonical": "const struct TSequenceSet *" - }, - { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" }, { - "name": "strict", - "cType": "bool", - "canonical": "bool" + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "tsequenceset_restrict_minmax", - "file": "meos_internal.h", + "name": "ensure_valid_th3index_h3index", + "file": "th3index.h", "returnType": { - "c": "TSequenceSet *", - "canonical": "struct TSequenceSet *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "ss", - "cType": "const TSequenceSet *", - "canonical": "const struct TSequenceSet *" - }, - { - "name": "min", - "cType": "bool", - "canonical": "bool" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" }, { - "name": "atfunc", - "cType": "bool", - "canonical": "bool" + "name": "cell", + "cType": "H3Index", + "canonical": "unsigned long" } ] }, { - "name": "tsequenceset_restrict_tstzspan", - "file": "meos_internal.h", + "name": "ensure_valid_th3index_tgeogpoint", + "file": "th3index.h", "returnType": { - "c": "TSequenceSet *", - "canonical": "struct TSequenceSet *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "ss", - "cType": "const TSequenceSet *", - "canonical": "const struct TSequenceSet *" - }, - { - "name": "s", - "cType": "const Span *", - "canonical": "const struct Span *" + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" }, { - "name": "atfunc", - "cType": "bool", - "canonical": "bool" + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "tsequenceset_restrict_tstzspanset", - "file": "meos_internal.h", + "name": "datum2_h3index_eq", + "file": "th3index.h", "returnType": { - "c": "TSequenceSet *", - "canonical": "struct TSequenceSet *" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "ss", - "cType": "const TSequenceSet *", - "canonical": "const struct TSequenceSet *" + "name": "d1", + "cType": "Datum", + "canonical": "int ((int *))()" }, { - "name": "ps", - "cType": "const SpanSet *", - "canonical": "const struct SpanSet *" + "name": "d2", + "cType": "Datum", + "canonical": "int ((int *))()" }, { - "name": "atfunc", - "cType": "bool", - "canonical": "bool" + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" } ] }, { - "name": "tsequenceset_restrict_timestamptz", - "file": "meos_internal.h", + "name": "datum2_h3index_ne", + "file": "th3index.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "ss", - "cType": "const TSequenceSet *", - "canonical": "const struct TSequenceSet *" + "name": "d1", + "cType": "Datum", + "canonical": "int ((int *))()" }, { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" + "name": "d2", + "cType": "Datum", + "canonical": "int ((int *))()" }, { - "name": "atfunc", - "cType": "bool", - "canonical": "bool" + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" } ] }, { - "name": "tsequenceset_restrict_tstzset", - "file": "meos_internal.h", + "name": "th3indexinst_set_stbox", + "file": "th3index_boxops.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "void", + "canonical": "void" }, "params": [ { - "name": "ss", - "cType": "const TSequenceSet *", - "canonical": "const struct TSequenceSet *" - }, - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" + "name": "inst", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" }, { - "name": "atfunc", - "cType": "bool", - "canonical": "bool" + "name": "box", + "cType": "STBox *", + "canonical": "struct STBox *" } ] }, { - "name": "tsequenceset_restrict_value", - "file": "meos_internal.h", + "name": "th3indexinstarr_set_stbox", + "file": "th3index_boxops.h", "returnType": { - "c": "TSequenceSet *", - "canonical": "struct TSequenceSet *" + "c": "void", + "canonical": "void" }, "params": [ { - "name": "ss", - "cType": "const TSequenceSet *", - "canonical": "const struct TSequenceSet *" + "name": "instants", + "cType": "TInstant **", + "canonical": "struct TInstant **" }, { - "name": "value", - "cType": "Datum", - "canonical": "int ((int *))()" + "name": "count", + "cType": "int", + "canonical": "int" }, { - "name": "atfunc", - "cType": "bool", - "canonical": "bool" + "name": "box", + "cType": "STBox *", + "canonical": "struct STBox *" } ] }, { - "name": "tsequenceset_restrict_values", - "file": "meos_internal.h", + "name": "th3indexseq_expand_stbox", + "file": "th3index_boxops.h", "returnType": { - "c": "TSequenceSet *", - "canonical": "struct TSequenceSet *" + "c": "void", + "canonical": "void" }, "params": [ { - "name": "ss", - "cType": "const TSequenceSet *", - "canonical": "const struct TSequenceSet *" - }, - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" }, { - "name": "atfunc", - "cType": "bool", - "canonical": "bool" + "name": "inst", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" } ] }, { - "name": "tinstant_cmp", - "file": "meos_internal.h", + "name": "h3_gs_point_to_cell", + "file": "th3index_internal.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "H3Index", + "canonical": "unsigned long" }, "params": [ { - "name": "inst1", - "cType": "const TInstant *", - "canonical": "const struct TInstant *" + "name": "point", + "cType": "const int *", + "canonical": "const int *" }, { - "name": "inst2", - "cType": "const TInstant *", - "canonical": "const struct TInstant *" + "name": "resolution", + "cType": "int32", + "canonical": "int" } ] }, { - "name": "tinstant_eq", - "file": "meos_internal.h", + "name": "h3_cell_to_gs_point", + "file": "th3index_internal.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "int *", + "canonical": "int *" }, "params": [ { - "name": "inst1", - "cType": "const TInstant *", - "canonical": "const struct TInstant *" - }, - { - "name": "inst2", - "cType": "const TInstant *", - "canonical": "const struct TInstant *" + "name": "cell", + "cType": "H3Index", + "canonical": "unsigned long" } ] }, { - "name": "tsequence_cmp", - "file": "meos_internal.h", + "name": "h3_cell_to_gs_boundary", + "file": "th3index_internal.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "int *", + "canonical": "int *" }, "params": [ { - "name": "seq1", - "cType": "const TSequence *", - "canonical": "const struct TSequence *" - }, - { - "name": "seq2", - "cType": "const TSequence *", - "canonical": "const struct TSequence *" + "name": "cell", + "cType": "H3Index", + "canonical": "unsigned long" } ] }, { - "name": "tsequence_eq", - "file": "meos_internal.h", + "name": "cell_boundary_to_gs", + "file": "th3index_internal.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "int *", + "canonical": "int *" }, "params": [ { - "name": "seq1", - "cType": "const TSequence *", - "canonical": "const struct TSequence *" - }, - { - "name": "seq2", - "cType": "const TSequence *", - "canonical": "const struct TSequence *" + "name": "bnd", + "cType": "const CellBoundary *", + "canonical": "const CellBoundary *" } ] }, { - "name": "tsequenceset_cmp", - "file": "meos_internal.h", + "name": "h3_sample_step_deg", + "file": "th3index_internal.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "double", + "canonical": "double" }, "params": [ { - "name": "ss1", - "cType": "const TSequenceSet *", - "canonical": "const struct TSequenceSet *" - }, - { - "name": "ss2", - "cType": "const TSequenceSet *", - "canonical": "const struct TSequenceSet *" + "name": "resolution", + "cType": "int32", + "canonical": "int" } ] }, { - "name": "tsequenceset_eq", - "file": "meos_internal.h", + "name": "h3_latlng_deg_to_cell", + "file": "th3index_internal.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "H3Index", + "canonical": "unsigned long" }, "params": [ { - "name": "ss1", - "cType": "const TSequenceSet *", - "canonical": "const struct TSequenceSet *" + "name": "lat_deg", + "cType": "double", + "canonical": "double" }, { - "name": "ss2", - "cType": "const TSequenceSet *", - "canonical": "const struct TSequenceSet *" + "name": "lng_deg", + "cType": "double", + "canonical": "double" + }, + { + "name": "resolution", + "cType": "int32", + "canonical": "int" } ] }, { - "name": "always_eq_base_temporal", - "file": "meos_internal.h", + "name": "h3_cell_to_parent_next_meos", + "file": "th3index_internal.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "H3Index", + "canonical": "unsigned long" }, "params": [ { - "name": "value", - "cType": "Datum", - "canonical": "int ((int *))()" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "cell", + "cType": "H3Index", + "canonical": "unsigned long" } ] }, { - "name": "always_eq_temporal_base", - "file": "meos_internal.h", + "name": "h3_cell_to_center_child_next_meos", + "file": "th3index_internal.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "H3Index", + "canonical": "unsigned long" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "value", - "cType": "Datum", - "canonical": "int ((int *))()" + "name": "cell", + "cType": "H3Index", + "canonical": "unsigned long" } ] }, { - "name": "always_ne_base_temporal", - "file": "meos_internal.h", + "name": "h3_directed_edge_to_gs_boundary", + "file": "th3index_internal.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "int *", + "canonical": "int *" }, "params": [ { - "name": "value", - "cType": "Datum", - "canonical": "int ((int *))()" - }, + "name": "edge", + "cType": "H3Index", + "canonical": "unsigned long" + } + ] + }, + { + "name": "h3_vertex_to_gs_point", + "file": "th3index_internal.h", + "returnType": { + "c": "int *", + "canonical": "int *" + }, + "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "vertex", + "cType": "H3Index", + "canonical": "unsigned long" } ] }, { - "name": "always_ne_temporal_base", - "file": "meos_internal.h", + "name": "h3_cell_to_local_ij_meos", + "file": "th3index_internal.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "int *", + "canonical": "int *" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "origin", + "cType": "H3Index", + "canonical": "unsigned long" }, { - "name": "value", - "cType": "Datum", - "canonical": "int ((int *))()" + "name": "cell", + "cType": "H3Index", + "canonical": "unsigned long" } ] }, { - "name": "always_ge_base_temporal", - "file": "meos_internal.h", + "name": "h3_local_ij_to_cell_meos", + "file": "th3index_internal.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "H3Index", + "canonical": "unsigned long" }, "params": [ { - "name": "value", - "cType": "Datum", - "canonical": "int ((int *))()" + "name": "origin", + "cType": "H3Index", + "canonical": "unsigned long" }, { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "coord", + "cType": "const int *", + "canonical": "const int *" } ] }, { - "name": "always_ge_temporal_base", - "file": "meos_internal.h", + "name": "h3_unit_from_cstring", + "file": "th3index_internal.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "H3Unit", + "canonical": "H3Unit" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "value", - "cType": "Datum", - "canonical": "int ((int *))()" + "name": "unit", + "cType": "const char *", + "canonical": "const char *" } ] }, { - "name": "always_gt_base_temporal", - "file": "meos_internal.h", + "name": "h3_cell_area_meos", + "file": "th3index_internal.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "double", + "canonical": "double" }, "params": [ { - "name": "value", - "cType": "Datum", - "canonical": "int ((int *))()" + "name": "cell", + "cType": "H3Index", + "canonical": "unsigned long" }, { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "unit", + "cType": "H3Unit", + "canonical": "H3Unit" } ] }, { - "name": "always_gt_temporal_base", - "file": "meos_internal.h", + "name": "h3_edge_length_meos", + "file": "th3index_internal.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "double", + "canonical": "double" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "edge", + "cType": "H3Index", + "canonical": "unsigned long" }, { - "name": "value", - "cType": "Datum", - "canonical": "int ((int *))()" + "name": "unit", + "cType": "H3Unit", + "canonical": "H3Unit" } ] }, { - "name": "always_le_base_temporal", - "file": "meos_internal.h", + "name": "h3_gs_great_circle_distance_meos", + "file": "th3index_internal.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "double", + "canonical": "double" }, "params": [ { - "name": "value", - "cType": "Datum", - "canonical": "int ((int *))()" + "name": "a", + "cType": "const int *", + "canonical": "const int *" }, { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "b", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "unit", + "cType": "H3Unit", + "canonical": "H3Unit" } ] }, { - "name": "always_le_temporal_base", - "file": "meos_internal.h", + "name": "datum_h3_get_resolution", + "file": "th3index_internal.h", "returnType": { "c": "int", "canonical": "int" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "value", + "name": "d", "cType": "Datum", "canonical": "int ((int *))()" } ] }, { - "name": "always_lt_base_temporal", - "file": "meos_internal.h", + "name": "datum_h3_get_base_cell_number", + "file": "th3index_internal.h", "returnType": { "c": "int", "canonical": "int" }, "params": [ { - "name": "value", + "name": "d", "cType": "Datum", "canonical": "int ((int *))()" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" } ] }, { - "name": "always_lt_temporal_base", - "file": "meos_internal.h", + "name": "datum_h3_is_valid_cell", + "file": "th3index_internal.h", "returnType": { "c": "int", "canonical": "int" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "value", + "name": "d", "cType": "Datum", "canonical": "int ((int *))()" } ] }, { - "name": "ever_eq_base_temporal", - "file": "meos_internal.h", + "name": "datum_h3_is_res_class_iii", + "file": "th3index_internal.h", "returnType": { "c": "int", "canonical": "int" }, "params": [ { - "name": "value", + "name": "d", "cType": "Datum", "canonical": "int ((int *))()" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" } ] }, { - "name": "ever_eq_temporal_base", - "file": "meos_internal.h", + "name": "datum_h3_is_pentagon", + "file": "th3index_internal.h", "returnType": { "c": "int", "canonical": "int" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "value", + "name": "d", "cType": "Datum", "canonical": "int ((int *))()" } ] }, { - "name": "ever_ne_base_temporal", - "file": "meos_internal.h", + "name": "datum_h3_cell_to_parent", + "file": "th3index_internal.h", "returnType": { "c": "int", "canonical": "int" }, "params": [ { - "name": "value", + "name": "cell_d", "cType": "Datum", "canonical": "int ((int *))()" }, { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "res_d", + "cType": "Datum", + "canonical": "int ((int *))()" } ] }, { - "name": "ever_ne_temporal_base", - "file": "meos_internal.h", + "name": "datum_h3_cell_to_parent_next", + "file": "th3index_internal.h", "returnType": { "c": "int", "canonical": "int" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "value", + "name": "cell_d", "cType": "Datum", "canonical": "int ((int *))()" } ] }, { - "name": "ever_ge_base_temporal", - "file": "meos_internal.h", + "name": "datum_h3_cell_to_center_child", + "file": "th3index_internal.h", "returnType": { "c": "int", "canonical": "int" }, "params": [ { - "name": "value", + "name": "cell_d", "cType": "Datum", "canonical": "int ((int *))()" }, { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "res_d", + "cType": "Datum", + "canonical": "int ((int *))()" } ] }, { - "name": "ever_ge_temporal_base", - "file": "meos_internal.h", + "name": "datum_h3_cell_to_center_child_next", + "file": "th3index_internal.h", "returnType": { "c": "int", "canonical": "int" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "value", + "name": "cell_d", "cType": "Datum", "canonical": "int ((int *))()" } ] }, { - "name": "ever_gt_base_temporal", - "file": "meos_internal.h", + "name": "datum_h3_cell_to_child_pos", + "file": "th3index_internal.h", "returnType": { "c": "int", "canonical": "int" }, "params": [ { - "name": "value", + "name": "cell_d", "cType": "Datum", "canonical": "int ((int *))()" }, { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "parent_res_d", + "cType": "Datum", + "canonical": "int ((int *))()" } ] }, { - "name": "ever_gt_temporal_base", - "file": "meos_internal.h", + "name": "datum_h3_child_pos_to_cell", + "file": "th3index_internal.h", "returnType": { "c": "int", "canonical": "int" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "pos_d", + "cType": "Datum", + "canonical": "int ((int *))()" }, { - "name": "value", + "name": "parent_d", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "child_res_d", "cType": "Datum", "canonical": "int ((int *))()" } ] }, { - "name": "ever_le_base_temporal", - "file": "meos_internal.h", + "name": "datum_h3_are_neighbor_cells", + "file": "th3index_internal.h", "returnType": { "c": "int", "canonical": "int" }, "params": [ { - "name": "value", + "name": "origin_d", "cType": "Datum", "canonical": "int ((int *))()" }, { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "dest_d", + "cType": "Datum", + "canonical": "int ((int *))()" } ] }, { - "name": "ever_le_temporal_base", - "file": "meos_internal.h", + "name": "datum_h3_cells_to_directed_edge", + "file": "th3index_internal.h", "returnType": { "c": "int", "canonical": "int" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "origin_d", + "cType": "Datum", + "canonical": "int ((int *))()" }, { - "name": "value", + "name": "dest_d", "cType": "Datum", "canonical": "int ((int *))()" } ] }, { - "name": "ever_lt_base_temporal", - "file": "meos_internal.h", + "name": "datum_h3_is_valid_directed_edge", + "file": "th3index_internal.h", "returnType": { "c": "int", "canonical": "int" }, "params": [ { - "name": "value", + "name": "d", "cType": "Datum", "canonical": "int ((int *))()" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" } ] }, { - "name": "ever_lt_temporal_base", - "file": "meos_internal.h", + "name": "datum_h3_get_directed_edge_origin", + "file": "th3index_internal.h", "returnType": { "c": "int", "canonical": "int" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "value", + "name": "d", "cType": "Datum", "canonical": "int ((int *))()" } ] }, { - "name": "tnumberinst_abs", - "file": "meos_internal.h", + "name": "datum_h3_get_directed_edge_destination", + "file": "th3index_internal.h", "returnType": { - "c": "TInstant *", - "canonical": "struct TInstant *" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "inst", - "cType": "const TInstant *", - "canonical": "const struct TInstant *" + "name": "d", + "cType": "Datum", + "canonical": "int ((int *))()" } ] }, { - "name": "tnumberseq_abs", - "file": "meos_internal.h", + "name": "datum_h3_directed_edge_to_boundary", + "file": "th3index_internal.h", "returnType": { - "c": "TSequence *", - "canonical": "struct TSequence *" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "seq", - "cType": "const TSequence *", - "canonical": "const struct TSequence *" + "name": "d", + "cType": "Datum", + "canonical": "int ((int *))()" } ] }, { - "name": "tnumberseq_angular_difference", - "file": "meos_internal.h", + "name": "datum_h3_cell_to_vertex", + "file": "th3index_internal.h", "returnType": { - "c": "TSequence *", - "canonical": "struct TSequence *" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "seq", - "cType": "const TSequence *", - "canonical": "const struct TSequence *" + "name": "cell_d", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "vnum_d", + "cType": "Datum", + "canonical": "int ((int *))()" } ] }, { - "name": "tnumberseq_delta_value", - "file": "meos_internal.h", + "name": "datum_h3_vertex_to_latlng", + "file": "th3index_internal.h", "returnType": { - "c": "TSequence *", - "canonical": "struct TSequence *" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "seq", - "cType": "const TSequence *", - "canonical": "const struct TSequence *" + "name": "d", + "cType": "Datum", + "canonical": "int ((int *))()" } ] }, { - "name": "tnumberseqset_abs", - "file": "meos_internal.h", + "name": "datum_h3_is_valid_vertex", + "file": "th3index_internal.h", "returnType": { - "c": "TSequenceSet *", - "canonical": "struct TSequenceSet *" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "ss", - "cType": "const TSequenceSet *", - "canonical": "const struct TSequenceSet *" + "name": "d", + "cType": "Datum", + "canonical": "int ((int *))()" } ] }, { - "name": "tnumberseqset_angular_difference", - "file": "meos_internal.h", + "name": "datum_h3_grid_distance", + "file": "th3index_internal.h", "returnType": { - "c": "TSequence *", - "canonical": "struct TSequence *" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "ss", - "cType": "const TSequenceSet *", - "canonical": "const struct TSequenceSet *" + "name": "origin_d", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "dest_d", + "cType": "Datum", + "canonical": "int ((int *))()" } ] }, { - "name": "tnumberseqset_delta_value", - "file": "meos_internal.h", + "name": "datum_h3_cell_to_local_ij", + "file": "th3index_internal.h", "returnType": { - "c": "TSequenceSet *", - "canonical": "struct TSequenceSet *" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "ss", - "cType": "const TSequenceSet *", - "canonical": "const struct TSequenceSet *" - } - ] - }, - { - "name": "distance_span_span_double", - "file": "meos_internal.h", - "returnType": { - "c": "double", - "canonical": "double" - }, - "params": [ - { - "name": "s1", - "cType": "const Span *", - "canonical": "const struct Span *" + "name": "origin_d", + "cType": "Datum", + "canonical": "int ((int *))()" }, { - "name": "s2", - "cType": "const Span *", - "canonical": "const struct Span *" + "name": "cell_d", + "cType": "Datum", + "canonical": "int ((int *))()" } ] }, { - "name": "nad_tbox_tbox", - "file": "meos_internal.h", + "name": "datum_h3_local_ij_to_cell", + "file": "th3index_internal.h", "returnType": { - "c": "double", - "canonical": "double" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "box1", - "cType": "const TBox *", - "canonical": "const struct TBox *" + "name": "origin_d", + "cType": "Datum", + "canonical": "int ((int *))()" }, { - "name": "box2", - "cType": "const TBox *", - "canonical": "const struct TBox *" + "name": "coord_d", + "cType": "Datum", + "canonical": "int ((int *))()" } ] }, { - "name": "nad_tnumber_number", - "file": "meos_internal.h", + "name": "datum_h3_latlng_to_cell", + "file": "th3index_internal.h", "returnType": { - "c": "double", - "canonical": "double" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "point_d", + "cType": "Datum", + "canonical": "int ((int *))()" }, { - "name": "value", + "name": "res_d", "cType": "Datum", "canonical": "int ((int *))()" } ] }, { - "name": "nad_tnumber_tbox", - "file": "meos_internal.h", + "name": "datum_h3_cell_to_latlng", + "file": "th3index_internal.h", "returnType": { - "c": "double", - "canonical": "double" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "box", - "cType": "const TBox *", - "canonical": "const struct TBox *" + "name": "d", + "cType": "Datum", + "canonical": "int ((int *))()" } ] }, { - "name": "nad_tnumber_tnumber", - "file": "meos_internal.h", + "name": "datum_h3_cell_to_boundary", + "file": "th3index_internal.h", "returnType": { - "c": "double", - "canonical": "double" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "d", + "cType": "Datum", + "canonical": "int ((int *))()" } ] }, { - "name": "tdistance_tnumber_number", - "file": "meos_internal.h", + "name": "datum_h3_cell_area", + "file": "th3index_internal.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "cell_d", + "cType": "Datum", + "canonical": "int ((int *))()" }, { - "name": "value", + "name": "unit_d", "cType": "Datum", "canonical": "int ((int *))()" } ] }, { - "name": "tnumberinst_distance", - "file": "meos_internal.h", + "name": "datum_h3_edge_length", + "file": "th3index_internal.h", "returnType": { - "c": "double", - "canonical": "double" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "inst1", - "cType": "const TInstant *", - "canonical": "const struct TInstant *" + "name": "edge_d", + "cType": "Datum", + "canonical": "int ((int *))()" }, { - "name": "inst2", - "cType": "const TInstant *", - "canonical": "const struct TInstant *" + "name": "unit_d", + "cType": "Datum", + "canonical": "int ((int *))()" } ] }, { - "name": "tnumberseq_integral", - "file": "meos_internal.h", + "name": "datum_h3_great_circle_distance", + "file": "th3index_internal.h", "returnType": { - "c": "double", - "canonical": "double" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "seq", - "cType": "const TSequence *", - "canonical": "const struct TSequence *" - } - ] - }, - { - "name": "tnumberseq_twavg", - "file": "meos_internal.h", - "returnType": { - "c": "double", - "canonical": "double" - }, - "params": [ + "name": "a_d", + "cType": "Datum", + "canonical": "int ((int *))()" + }, { - "name": "seq", - "cType": "const TSequence *", - "canonical": "const struct TSequence *" - } - ] - }, - { - "name": "tnumberseqset_integral", - "file": "meos_internal.h", - "returnType": { - "c": "double", - "canonical": "double" - }, - "params": [ + "name": "b_d", + "cType": "Datum", + "canonical": "int ((int *))()" + }, { - "name": "ss", - "cType": "const TSequenceSet *", - "canonical": "const struct TSequenceSet *" + "name": "unit_d", + "cType": "Datum", + "canonical": "int ((int *))()" } ] }, { - "name": "tnumberseqset_twavg", - "file": "meos_internal.h", + "name": "th3index_in", + "file": "meos_h3.h", "returnType": { - "c": "double", - "canonical": "double" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "ss", - "cType": "const TSequenceSet *", - "canonical": "const struct TSequenceSet *" + "name": "str", + "cType": "const char *", + "canonical": "const char *" } ] }, { - "name": "temporal_compact", - "file": "meos_internal.h", + "name": "th3indexinst_in", + "file": "meos_h3.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "TInstant *", + "canonical": "struct TInstant *" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "str", + "cType": "const char *", + "canonical": "const char *" } ] }, { - "name": "tsequence_compact", - "file": "meos_internal.h", + "name": "th3indexseq_in", + "file": "meos_h3.h", "returnType": { "c": "TSequence *", "canonical": "struct TSequence *" }, "params": [ { - "name": "seq", - "cType": "const TSequence *", - "canonical": "const struct TSequence *" + "name": "str", + "cType": "const char *", + "canonical": "const char *" + }, + { + "name": "interp", + "cType": "interpType", + "canonical": "interpType" } ] }, { - "name": "tsequenceset_compact", - "file": "meos_internal.h", + "name": "th3indexseqset_in", + "file": "meos_h3.h", "returnType": { "c": "TSequenceSet *", "canonical": "struct TSequenceSet *" }, "params": [ { - "name": "ss", - "cType": "const TSequenceSet *", - "canonical": "const struct TSequenceSet *" + "name": "str", + "cType": "const char *", + "canonical": "const char *" } ] }, { - "name": "temporal_skiplist_make", - "file": "meos_internal.h", - "returnType": { - "c": "SkipList *", - "canonical": "struct SkipList *" - }, - "params": [] - }, - { - "name": "skiplist_make", - "file": "meos_internal.h", + "name": "th3index_make", + "file": "meos_h3.h", "returnType": { - "c": "SkipList *", - "canonical": "struct SkipList *" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "key_size", - "cType": "size_t", - "canonical": "unsigned long" - }, - { - "name": "value_size", - "cType": "size_t", + "name": "value", + "cType": "H3Index", "canonical": "unsigned long" }, { - "name": "comp_fn", - "cType": "int (*)(void *, void *)", - "canonical": "int (*)(void *, void *)" - }, - { - "name": "merge_fn", - "cType": "void *(*)(void *, void *)", - "canonical": "void *(*)(void *, void *)" + "name": "t", + "cType": "TimestampTz", + "canonical": "long" } ] }, { - "name": "skiplist_search", - "file": "meos_internal.h", + "name": "th3indexinst_make", + "file": "meos_h3.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "TInstant *", + "canonical": "struct TInstant *" }, "params": [ - { - "name": "list", - "cType": "SkipList *", - "canonical": "struct SkipList *" - }, - { - "name": "key", - "cType": "void *", - "canonical": "void *" - }, { "name": "value", - "cType": "void *", - "canonical": "void *" - } - ] - }, - { - "name": "skiplist_free", - "file": "meos_internal.h", - "returnType": { - "c": "void", - "canonical": "void" - }, - "params": [ + "cType": "H3Index", + "canonical": "unsigned long" + }, { - "name": "list", - "cType": "SkipList *", - "canonical": "struct SkipList *" + "name": "t", + "cType": "TimestampTz", + "canonical": "long" } ] }, { - "name": "skiplist_splice", - "file": "meos_internal.h", + "name": "th3indexseq_make", + "file": "meos_h3.h", "returnType": { - "c": "void", - "canonical": "void" + "c": "TSequence *", + "canonical": "struct TSequence *" }, "params": [ { - "name": "list", - "cType": "SkipList *", - "canonical": "struct SkipList *" - }, - { - "name": "keys", - "cType": "void **", - "canonical": "void **" + "name": "values", + "cType": "const H3Index *", + "canonical": "const unsigned long *" }, { - "name": "values", - "cType": "void **", - "canonical": "void **" + "name": "times", + "cType": "const TimestampTz *", + "canonical": "const long *" }, { "name": "count", @@ -50437,283 +50696,198 @@ "canonical": "int" }, { - "name": "func", - "cType": "datum_func2", - "canonical": "int (*)(int ((*)(int *))(), int ((*)(int *))())" - }, - { - "name": "crossings", + "name": "lower_inc", "cType": "bool", "canonical": "bool" }, { - "name": "sktype", - "cType": "SkipListType", - "canonical": "SkipListType" + "name": "upper_inc", + "cType": "bool", + "canonical": "bool" } ] }, { - "name": "temporal_skiplist_splice", - "file": "meos_internal.h", + "name": "th3indexseqset_make", + "file": "meos_h3.h", "returnType": { - "c": "void", - "canonical": "void" + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" }, "params": [ { - "name": "list", - "cType": "SkipList *", - "canonical": "struct SkipList *" - }, - { - "name": "values", - "cType": "void **", - "canonical": "void **" + "name": "sequences", + "cType": "const TSequence **", + "canonical": "const struct TSequence **" }, { "name": "count", "cType": "int", "canonical": "int" - }, - { - "name": "func", - "cType": "datum_func2", - "canonical": "int (*)(int ((*)(int *))(), int ((*)(int *))())" - }, - { - "name": "crossings", - "cType": "bool", - "canonical": "bool" } ] }, { - "name": "skiplist_values", - "file": "meos_internal.h", + "name": "th3index_start_value", + "file": "meos_h3.h", "returnType": { - "c": "void **", - "canonical": "void **" + "c": "H3Index", + "canonical": "unsigned long" }, "params": [ { - "name": "list", - "cType": "SkipList *", - "canonical": "struct SkipList *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "skiplist_keys_values", - "file": "meos_internal.h", + "name": "th3index_end_value", + "file": "meos_h3.h", "returnType": { - "c": "void **", - "canonical": "void **" + "c": "H3Index", + "canonical": "unsigned long" }, "params": [ { - "name": "list", - "cType": "SkipList *", - "canonical": "struct SkipList *" - }, - { - "name": "values", - "cType": "void **", - "canonical": "void **" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "temporal_app_tinst_transfn", - "file": "meos_internal.h", + "name": "th3index_value_n", + "file": "meos_h3.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "state", - "cType": "Temporal *", - "canonical": "Temporal *" - }, - { - "name": "inst", - "cType": "const TInstant *", - "canonical": "const struct TInstant *" - }, - { - "name": "interp", - "cType": "interpType", - "canonical": "interpType" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" }, { - "name": "maxdist", - "cType": "double", - "canonical": "double" + "name": "n", + "cType": "int", + "canonical": "int" }, { - "name": "maxt", - "cType": "const int *", - "canonical": "const int *" + "name": "result", + "cType": "H3Index *", + "canonical": "unsigned long *" } ] }, { - "name": "temporal_app_tseq_transfn", - "file": "meos_internal.h", + "name": "th3index_values", + "file": "meos_h3.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "H3Index *", + "canonical": "unsigned long *" }, "params": [ { - "name": "state", - "cType": "Temporal *", - "canonical": "Temporal *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" }, { - "name": "seq", - "cType": "const TSequence *", - "canonical": "const struct TSequence *" + "name": "count", + "cType": "int *", + "canonical": "int *" } ] }, { - "name": "span_bins", - "file": "meos_internal.h", + "name": "th3index_value_at_timestamptz", + "file": "meos_h3.h", "returnType": { - "c": "Span *", - "canonical": "struct Span *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "s", - "cType": "const Span *", - "canonical": "const struct Span *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" }, { - "name": "size", - "cType": "Datum", - "canonical": "int ((int *))()" + "name": "t", + "cType": "TimestampTz", + "canonical": "long" }, { - "name": "origin", - "cType": "Datum", - "canonical": "int ((int *))()" + "name": "strict", + "cType": "bool", + "canonical": "bool" }, { - "name": "count", - "cType": "int *", - "canonical": "int *" + "name": "result", + "cType": "H3Index *", + "canonical": "unsigned long *" } ] }, { - "name": "spanset_bins", - "file": "meos_internal.h", + "name": "tbigint_to_th3index", + "file": "meos_h3.h", "returnType": { - "c": "Span *", - "canonical": "struct Span *" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const struct SpanSet *" - }, - { - "name": "size", - "cType": "Datum", - "canonical": "int ((int *))()" - }, - { - "name": "origin", - "cType": "Datum", - "canonical": "int ((int *))()" - }, - { - "name": "count", - "cType": "int *", - "canonical": "int *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "tnumber_value_bins", - "file": "meos_internal.h", + "name": "th3index_to_tbigint", + "file": "meos_h3.h", "returnType": { - "c": "Span *", - "canonical": "struct Span *" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { "name": "temp", "cType": "const Temporal *", "canonical": "const Temporal *" - }, - { - "name": "size", - "cType": "Datum", - "canonical": "int ((int *))()" - }, - { - "name": "origin", - "cType": "Datum", - "canonical": "int ((int *))()" - }, - { - "name": "count", - "cType": "int *", - "canonical": "int *" } ] }, { - "name": "tnumber_value_time_boxes", - "file": "meos_internal.h", + "name": "ever_eq_h3index_th3index", + "file": "meos_h3.h", "returnType": { - "c": "TBox *", - "canonical": "struct TBox *" + "c": "int", + "canonical": "int" }, "params": [ + { + "name": "cell", + "cType": "H3Index", + "canonical": "unsigned long" + }, { "name": "temp", "cType": "const Temporal *", "canonical": "const Temporal *" - }, - { - "name": "vsize", - "cType": "Datum", - "canonical": "int ((int *))()" - }, - { - "name": "duration", - "cType": "const int *", - "canonical": "const int *" - }, - { - "name": "vorigin", - "cType": "Datum", - "canonical": "int ((int *))()" - }, - { - "name": "torigin", - "cType": "TimestampTz", - "canonical": "long" - }, - { - "name": "count", - "cType": "int *", - "canonical": "int *" } ] }, { - "name": "tnumber_value_split", - "file": "meos_internal.h", + "name": "ever_eq_th3index_h3index", + "file": "meos_h3.h", "returnType": { - "c": "Temporal **", - "canonical": "Temporal **" + "c": "int", + "canonical": "int" }, "params": [ { @@ -50722,83 +50896,38 @@ "canonical": "const Temporal *" }, { - "name": "vsize", - "cType": "Datum", - "canonical": "int ((int *))()" - }, - { - "name": "vorigin", - "cType": "Datum", - "canonical": "int ((int *))()" - }, - { - "name": "bins", - "cType": "Datum **", - "canonical": "int ((**)(int *))()" - }, - { - "name": "count", - "cType": "int *", - "canonical": "int *" + "name": "cell", + "cType": "H3Index", + "canonical": "unsigned long" } ] }, { - "name": "tbox_get_value_time_tile", - "file": "meos_internal.h", + "name": "ever_ne_h3index_th3index", + "file": "meos_h3.h", "returnType": { - "c": "TBox *", - "canonical": "struct TBox *" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "value", - "cType": "Datum", - "canonical": "int ((int *))()" - }, - { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" - }, - { - "name": "vsize", - "cType": "Datum", - "canonical": "int ((int *))()" - }, - { - "name": "duration", - "cType": "const int *", - "canonical": "const int *" - }, - { - "name": "vorigin", - "cType": "Datum", - "canonical": "int ((int *))()" - }, - { - "name": "torigin", - "cType": "TimestampTz", - "canonical": "long" - }, - { - "name": "basetype", - "cType": "int", - "canonical": "int" + "name": "cell", + "cType": "H3Index", + "canonical": "unsigned long" }, { - "name": "spantype", - "cType": "int", - "canonical": "int" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "tnumber_value_time_split", - "file": "meos_internal.h", + "name": "ever_ne_th3index_h3index", + "file": "meos_h3.h", "returnType": { - "c": "Temporal **", - "canonical": "Temporal **" + "c": "int", + "canonical": "int" }, "params": [ { @@ -50807,1024 +50936,820 @@ "canonical": "const Temporal *" }, { - "name": "size", - "cType": "Datum", - "canonical": "int ((int *))()" - }, - { - "name": "duration", - "cType": "const int *", - "canonical": "const int *" - }, - { - "name": "vorigin", - "cType": "Datum", - "canonical": "int ((int *))()" - }, - { - "name": "torigin", - "cType": "TimestampTz", - "canonical": "long" - }, - { - "name": "value_bins", - "cType": "Datum **", - "canonical": "int ((**)(int *))()" - }, - { - "name": "time_bins", - "cType": "TimestampTz **", - "canonical": "long **" - }, - { - "name": "count", - "cType": "int *", - "canonical": "int *" + "name": "cell", + "cType": "H3Index", + "canonical": "unsigned long" } ] }, { - "name": "proj_get_context", - "file": "meos_internal_geo.h", - "returnType": { - "c": "PJ_CONTEXT *", - "canonical": "struct pj_ctx *" - }, - "params": [] - }, - { - "name": "datum_geo_round", - "file": "meos_internal_geo.h", + "name": "always_eq_h3index_th3index", + "file": "meos_h3.h", "returnType": { "c": "int", "canonical": "int" }, "params": [ { - "name": "value", - "cType": "Datum", - "canonical": "int ((int *))()" + "name": "cell", + "cType": "H3Index", + "canonical": "unsigned long" }, { - "name": "size", - "cType": "Datum", - "canonical": "int ((int *))()" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "point_round", - "file": "meos_internal_geo.h", + "name": "always_eq_th3index_h3index", + "file": "meos_h3.h", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" }, { - "name": "maxdd", - "cType": "int", - "canonical": "int" + "name": "cell", + "cType": "H3Index", + "canonical": "unsigned long" } ] }, { - "name": "stbox_set", - "file": "meos_internal_geo.h", + "name": "always_ne_h3index_th3index", + "file": "meos_h3.h", "returnType": { - "c": "void", - "canonical": "void" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "hasx", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "hasz", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "geodetic", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "srid", - "cType": "int32", - "canonical": "int" - }, - { - "name": "xmin", - "cType": "double", - "canonical": "double" - }, - { - "name": "xmax", - "cType": "double", - "canonical": "double" - }, - { - "name": "ymin", - "cType": "double", - "canonical": "double" - }, - { - "name": "ymax", - "cType": "double", - "canonical": "double" - }, - { - "name": "zmin", - "cType": "double", - "canonical": "double" - }, - { - "name": "zmax", - "cType": "double", - "canonical": "double" - }, - { - "name": "s", - "cType": "const Span *", - "canonical": "const struct Span *" + "name": "cell", + "cType": "H3Index", + "canonical": "unsigned long" }, { - "name": "box", - "cType": "STBox *", - "canonical": "struct STBox *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "gbox_set_stbox", - "file": "meos_internal_geo.h", + "name": "always_ne_th3index_h3index", + "file": "meos_h3.h", "returnType": { - "c": "void", - "canonical": "void" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "box", - "cType": "const int *", - "canonical": "const int *" - }, - { - "name": "srid", - "cType": "int32_t", - "canonical": "int" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" }, { - "name": "result", - "cType": "STBox *", - "canonical": "struct STBox *" + "name": "cell", + "cType": "H3Index", + "canonical": "unsigned long" } ] }, { - "name": "geo_set_stbox", - "file": "meos_internal_geo.h", + "name": "ever_eq_th3index_th3index", + "file": "meos_h3.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" }, { - "name": "box", - "cType": "STBox *", - "canonical": "struct STBox *" + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "geoarr_set_stbox", - "file": "meos_internal_geo.h", + "name": "ever_ne_th3index_th3index", + "file": "meos_h3.h", "returnType": { - "c": "void", - "canonical": "void" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "values", - "cType": "Datum *", - "canonical": "int ((*)(int *))()" - }, - { - "name": "count", - "cType": "int", - "canonical": "int" + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" }, { - "name": "box", - "cType": "STBox *", - "canonical": "struct STBox *" + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "spatial_set_stbox", - "file": "meos_internal_geo.h", + "name": "always_eq_th3index_th3index", + "file": "meos_h3.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "d", - "cType": "Datum", - "canonical": "int ((int *))()" - }, - { - "name": "basetype", - "cType": "int", - "canonical": "int" + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" }, { - "name": "box", - "cType": "STBox *", - "canonical": "struct STBox *" + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "spatialset_set_stbox", - "file": "meos_internal_geo.h", + "name": "always_ne_th3index_th3index", + "file": "meos_h3.h", "returnType": { - "c": "void", - "canonical": "void" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "set", - "cType": "const Set *", - "canonical": "const Set *" + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" }, { - "name": "box", - "cType": "STBox *", - "canonical": "struct STBox *" + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "stbox_set_box3d", - "file": "meos_internal_geo.h", + "name": "teq_h3index_th3index", + "file": "meos_h3.h", "returnType": { - "c": "void", - "canonical": "void" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "box", - "cType": "const STBox *", - "canonical": "const struct STBox *" + "name": "cell", + "cType": "H3Index", + "canonical": "unsigned long" }, { - "name": "box3d", - "cType": "int *", - "canonical": "int *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "stbox_set_gbox", - "file": "meos_internal_geo.h", + "name": "teq_th3index_h3index", + "file": "meos_h3.h", "returnType": { - "c": "void", - "canonical": "void" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "box", - "cType": "const STBox *", - "canonical": "const struct STBox *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" }, { - "name": "gbox", - "cType": "int *", - "canonical": "int *" + "name": "cell", + "cType": "H3Index", + "canonical": "unsigned long" } ] }, { - "name": "tstzset_set_stbox", - "file": "meos_internal_geo.h", + "name": "teq_th3index_th3index", + "file": "meos_h3.h", "returnType": { - "c": "void", - "canonical": "void" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" }, { - "name": "box", - "cType": "STBox *", - "canonical": "struct STBox *" + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "tstzspan_set_stbox", - "file": "meos_internal_geo.h", + "name": "tne_h3index_th3index", + "file": "meos_h3.h", "returnType": { - "c": "void", - "canonical": "void" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "s", - "cType": "const Span *", - "canonical": "const struct Span *" + "name": "cell", + "cType": "H3Index", + "canonical": "unsigned long" }, { - "name": "box", - "cType": "STBox *", - "canonical": "struct STBox *" - } - ] - }, - { - "name": "tstzspanset_set_stbox", - "file": "meos_internal_geo.h", - "returnType": { - "c": "void", - "canonical": "void" - }, - "params": [ - { - "name": "s", - "cType": "const SpanSet *", - "canonical": "const struct SpanSet *" - }, - { - "name": "box", - "cType": "STBox *", - "canonical": "struct STBox *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "stbox_expand", - "file": "meos_internal_geo.h", + "name": "tne_th3index_h3index", + "file": "meos_h3.h", "returnType": { - "c": "void", - "canonical": "void" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "box1", - "cType": "const STBox *", - "canonical": "const struct STBox *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" }, { - "name": "box2", - "cType": "STBox *", - "canonical": "struct STBox *" + "name": "cell", + "cType": "H3Index", + "canonical": "unsigned long" } ] }, { - "name": "inter_stbox_stbox", - "file": "meos_internal_geo.h", + "name": "tne_th3index_th3index", + "file": "meos_h3.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "box1", - "cType": "const STBox *", - "canonical": "const struct STBox *" - }, - { - "name": "box2", - "cType": "const STBox *", - "canonical": "const struct STBox *" + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" }, { - "name": "result", - "cType": "STBox *", - "canonical": "struct STBox *" + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "stbox_geo", - "file": "meos_internal_geo.h", + "name": "th3index_get_resolution", + "file": "meos_h3.h", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "box", - "cType": "const STBox *", - "canonical": "const struct STBox *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "tgeogpointinst_from_mfjson", - "file": "meos_internal_geo.h", + "name": "th3index_get_base_cell_number", + "file": "meos_h3.h", "returnType": { - "c": "TInstant *", - "canonical": "struct TInstant *" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "mfjson", - "cType": "json_object *", - "canonical": "struct json_object *" - }, - { - "name": "srid", - "cType": "int32_t", - "canonical": "int" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "tgeogpointinst_in", - "file": "meos_internal_geo.h", + "name": "th3index_is_valid_cell", + "file": "meos_h3.h", "returnType": { - "c": "TInstant *", - "canonical": "struct TInstant *" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "str", - "cType": "const char *", - "canonical": "const char *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "tgeogpointseq_from_mfjson", - "file": "meos_internal_geo.h", + "name": "th3index_is_res_class_iii", + "file": "meos_h3.h", "returnType": { - "c": "TSequence *", - "canonical": "struct TSequence *" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "mfjson", - "cType": "json_object *", - "canonical": "struct json_object *" - }, - { - "name": "srid", - "cType": "int32_t", - "canonical": "int" - }, - { - "name": "interp", - "cType": "interpType", - "canonical": "interpType" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "tgeogpointseq_in", - "file": "meos_internal_geo.h", + "name": "th3index_is_pentagon", + "file": "meos_h3.h", "returnType": { - "c": "TSequence *", - "canonical": "struct TSequence *" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "str", - "cType": "const char *", - "canonical": "const char *" - }, - { - "name": "interp", - "cType": "interpType", - "canonical": "interpType" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "tgeogpointseqset_from_mfjson", - "file": "meos_internal_geo.h", + "name": "th3index_cell_to_parent", + "file": "meos_h3.h", "returnType": { - "c": "TSequenceSet *", - "canonical": "struct TSequenceSet *" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "mfjson", - "cType": "json_object *", - "canonical": "struct json_object *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" }, { - "name": "srid", - "cType": "int32_t", + "name": "resolution", + "cType": "int32", "canonical": "int" - }, - { - "name": "interp", - "cType": "interpType", - "canonical": "interpType" } ] }, { - "name": "tgeogpointseqset_in", - "file": "meos_internal_geo.h", + "name": "th3index_cell_to_parent_next", + "file": "meos_h3.h", "returnType": { - "c": "TSequenceSet *", - "canonical": "struct TSequenceSet *" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "str", - "cType": "const char *", - "canonical": "const char *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "tgeompointinst_from_mfjson", - "file": "meos_internal_geo.h", + "name": "th3index_cell_to_center_child", + "file": "meos_h3.h", "returnType": { - "c": "TInstant *", - "canonical": "struct TInstant *" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "mfjson", - "cType": "json_object *", - "canonical": "struct json_object *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" }, { - "name": "srid", - "cType": "int32_t", + "name": "resolution", + "cType": "int32", "canonical": "int" } ] }, { - "name": "tgeompointinst_in", - "file": "meos_internal_geo.h", + "name": "th3index_cell_to_center_child_next", + "file": "meos_h3.h", "returnType": { - "c": "TInstant *", - "canonical": "struct TInstant *" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "str", - "cType": "const char *", - "canonical": "const char *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "tgeompointseq_from_mfjson", - "file": "meos_internal_geo.h", + "name": "th3index_cell_to_child_pos", + "file": "meos_h3.h", "returnType": { - "c": "TSequence *", - "canonical": "struct TSequence *" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "mfjson", - "cType": "json_object *", - "canonical": "struct json_object *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" }, { - "name": "srid", - "cType": "int32_t", + "name": "parent_res", + "cType": "int32", "canonical": "int" - }, - { - "name": "interp", - "cType": "interpType", - "canonical": "interpType" } ] }, { - "name": "tgeompointseq_in", - "file": "meos_internal_geo.h", + "name": "th3index_child_pos_to_cell", + "file": "meos_h3.h", "returnType": { - "c": "TSequence *", - "canonical": "struct TSequence *" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "str", - "cType": "const char *", - "canonical": "const char *" + "name": "child_pos", + "cType": "const Temporal *", + "canonical": "const Temporal *" }, { - "name": "interp", - "cType": "interpType", - "canonical": "interpType" + "name": "parent", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "child_res", + "cType": "int32", + "canonical": "int" } ] }, { - "name": "tgeompointseqset_from_mfjson", - "file": "meos_internal_geo.h", + "name": "tgeogpoint_to_th3index", + "file": "meos_h3.h", "returnType": { - "c": "TSequenceSet *", - "canonical": "struct TSequenceSet *" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "mfjson", - "cType": "json_object *", - "canonical": "struct json_object *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" }, { - "name": "srid", - "cType": "int32_t", + "name": "resolution", + "cType": "int32", "canonical": "int" - }, - { - "name": "interp", - "cType": "interpType", - "canonical": "interpType" } ] }, { - "name": "tgeompointseqset_in", - "file": "meos_internal_geo.h", + "name": "tgeompoint_to_th3index", + "file": "meos_h3.h", "returnType": { - "c": "TSequenceSet *", - "canonical": "struct TSequenceSet *" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "str", - "cType": "const char *", - "canonical": "const char *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "resolution", + "cType": "int32", + "canonical": "int" } ] }, { - "name": "tgeographyinst_from_mfjson", - "file": "meos_internal_geo.h", + "name": "th3index_to_tgeogpoint", + "file": "meos_h3.h", "returnType": { - "c": "TInstant *", - "canonical": "struct TInstant *" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "mfjson", - "cType": "json_object *", - "canonical": "struct json_object *" - }, - { - "name": "srid", - "cType": "int32_t", - "canonical": "int" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "tgeographyinst_in", - "file": "meos_internal_geo.h", + "name": "th3index_to_tgeompoint", + "file": "meos_h3.h", "returnType": { - "c": "TInstant *", - "canonical": "struct TInstant *" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "str", - "cType": "const char *", - "canonical": "const char *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "tgeographyseq_from_mfjson", - "file": "meos_internal_geo.h", + "name": "th3index_cell_to_boundary", + "file": "meos_h3.h", "returnType": { - "c": "TSequence *", - "canonical": "struct TSequence *" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "mfjson", - "cType": "json_object *", - "canonical": "struct json_object *" - }, - { - "name": "srid", - "cType": "int32_t", - "canonical": "int" - }, - { - "name": "interp", - "cType": "interpType", - "canonical": "interpType" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "tgeographyseq_in", - "file": "meos_internal_geo.h", + "name": "geo_to_h3index_set", + "file": "meos_h3.h", "returnType": { - "c": "TSequence *", - "canonical": "struct TSequence *" + "c": "Set *", + "canonical": "Set *" }, "params": [ { - "name": "str", - "cType": "const char *", - "canonical": "const char *" + "name": "gs", + "cType": "const int *", + "canonical": "const int *" }, { - "name": "interp", - "cType": "interpType", - "canonical": "interpType" + "name": "resolution", + "cType": "int32", + "canonical": "int" } ] }, { - "name": "tgeographyseqset_from_mfjson", - "file": "meos_internal_geo.h", + "name": "ever_eq_h3indexset_th3index", + "file": "meos_h3.h", "returnType": { - "c": "TSequenceSet *", - "canonical": "struct TSequenceSet *" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "mfjson", - "cType": "json_object *", - "canonical": "struct json_object *" - }, - { - "name": "srid", - "cType": "int32_t", - "canonical": "int" + "name": "cells", + "cType": "const Set *", + "canonical": "const Set *" }, { - "name": "interp", - "cType": "interpType", - "canonical": "interpType" + "name": "th3idx", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "tgeographyseqset_in", - "file": "meos_internal_geo.h", + "name": "th3index_are_neighbor_cells", + "file": "meos_h3.h", "returnType": { - "c": "TSequenceSet *", - "canonical": "struct TSequenceSet *" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "str", - "cType": "const char *", - "canonical": "const char *" + "name": "origin", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "dest", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "tgeometryinst_from_mfjson", - "file": "meos_internal_geo.h", + "name": "th3index_cells_to_directed_edge", + "file": "meos_h3.h", "returnType": { - "c": "TInstant *", - "canonical": "struct TInstant *" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "mfjson", - "cType": "json_object *", - "canonical": "struct json_object *" + "name": "origin", + "cType": "const Temporal *", + "canonical": "const Temporal *" }, { - "name": "srid", - "cType": "int32_t", - "canonical": "int" + "name": "dest", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "tgeometryinst_in", - "file": "meos_internal_geo.h", + "name": "th3index_is_valid_directed_edge", + "file": "meos_h3.h", "returnType": { - "c": "TInstant *", - "canonical": "struct TInstant *" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "str", - "cType": "const char *", - "canonical": "const char *" + "name": "edge", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "tgeometryseq_from_mfjson", - "file": "meos_internal_geo.h", + "name": "th3index_get_directed_edge_origin", + "file": "meos_h3.h", "returnType": { - "c": "TSequence *", - "canonical": "struct TSequence *" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "mfjson", - "cType": "json_object *", - "canonical": "struct json_object *" - }, - { - "name": "srid", - "cType": "int32_t", - "canonical": "int" - }, - { - "name": "interp", - "cType": "interpType", - "canonical": "interpType" + "name": "edge", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "tgeometryseq_in", - "file": "meos_internal_geo.h", + "name": "th3index_get_directed_edge_destination", + "file": "meos_h3.h", "returnType": { - "c": "TSequence *", - "canonical": "struct TSequence *" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "str", - "cType": "const char *", - "canonical": "const char *" - }, - { - "name": "interp", - "cType": "interpType", - "canonical": "interpType" + "name": "edge", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "tgeometryseqset_from_mfjson", - "file": "meos_internal_geo.h", + "name": "th3index_directed_edge_to_boundary", + "file": "meos_h3.h", "returnType": { - "c": "TSequenceSet *", - "canonical": "struct TSequenceSet *" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "mfjson", - "cType": "json_object *", - "canonical": "struct json_object *" - }, - { - "name": "srid", - "cType": "int32_t", - "canonical": "int" - }, - { - "name": "interp", - "cType": "interpType", - "canonical": "interpType" + "name": "edge", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "tgeometryseqset_in", - "file": "meos_internal_geo.h", + "name": "th3index_cell_to_vertex", + "file": "meos_h3.h", "returnType": { - "c": "TSequenceSet *", - "canonical": "struct TSequenceSet *" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "str", - "cType": "const char *", - "canonical": "const char *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "vertex_num", + "cType": "int32", + "canonical": "int" } ] }, { - "name": "tspatial_set_stbox", - "file": "meos_internal_geo.h", + "name": "th3index_vertex_to_latlng", + "file": "meos_h3.h", "returnType": { - "c": "void", - "canonical": "void" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { "name": "temp", "cType": "const Temporal *", "canonical": "const Temporal *" - }, - { - "name": "box", - "cType": "STBox *", - "canonical": "struct STBox *" } ] }, { - "name": "tgeoinst_set_stbox", - "file": "meos_internal_geo.h", + "name": "th3index_is_valid_vertex", + "file": "meos_h3.h", "returnType": { - "c": "void", - "canonical": "void" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "inst", - "cType": "const TInstant *", - "canonical": "const struct TInstant *" - }, - { - "name": "box", - "cType": "STBox *", - "canonical": "struct STBox *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "tspatialseq_set_stbox", - "file": "meos_internal_geo.h", + "name": "th3index_grid_distance", + "file": "meos_h3.h", "returnType": { - "c": "void", - "canonical": "void" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "seq", - "cType": "const TSequence *", - "canonical": "const struct TSequence *" + "name": "origin", + "cType": "const Temporal *", + "canonical": "const Temporal *" }, { - "name": "box", - "cType": "STBox *", - "canonical": "struct STBox *" + "name": "dest", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "tspatialseqset_set_stbox", - "file": "meos_internal_geo.h", + "name": "th3index_cell_to_local_ij", + "file": "meos_h3.h", "returnType": { - "c": "void", - "canonical": "void" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "ss", - "cType": "const TSequenceSet *", - "canonical": "const struct TSequenceSet *" + "name": "origin", + "cType": "const Temporal *", + "canonical": "const Temporal *" }, { - "name": "box", - "cType": "STBox *", - "canonical": "struct STBox *" + "name": "cell", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "tgeo_restrict_elevation", - "file": "meos_internal_geo.h", + "name": "th3index_local_ij_to_cell", + "file": "meos_h3.h", "returnType": { "c": "Temporal *", "canonical": "Temporal *" }, "params": [ { - "name": "temp", + "name": "origin", "cType": "const Temporal *", "canonical": "const Temporal *" }, { - "name": "s", - "cType": "const Span *", - "canonical": "const struct Span *" - }, - { - "name": "atfunc", - "cType": "bool", - "canonical": "bool" + "name": "coord", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "tgeo_restrict_geom", - "file": "meos_internal_geo.h", + "name": "th3index_cell_area", + "file": "meos_h3.h", "returnType": { "c": "Temporal *", "canonical": "Temporal *" @@ -51836,20 +51761,15 @@ "canonical": "const Temporal *" }, { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" - }, - { - "name": "atfunc", - "cType": "bool", - "canonical": "bool" + "name": "unit", + "cType": "const char *", + "canonical": "const char *" } ] }, { - "name": "tgeo_restrict_stbox", - "file": "meos_internal_geo.h", + "name": "th3index_edge_length", + "file": "meos_h3.h", "returnType": { "c": "Temporal *", "canonical": "Temporal *" @@ -51861,209 +51781,228 @@ "canonical": "const Temporal *" }, { - "name": "box", - "cType": "const STBox *", - "canonical": "const struct STBox *" - }, - { - "name": "border_inc", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "atfunc", - "cType": "bool", - "canonical": "bool" + "name": "unit", + "cType": "const char *", + "canonical": "const char *" } ] }, { - "name": "tgeoinst_restrict_geom", - "file": "meos_internal_geo.h", + "name": "tgeogpoint_great_circle_distance", + "file": "meos_h3.h", "returnType": { - "c": "TInstant *", - "canonical": "struct TInstant *" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "inst", - "cType": "const TInstant *", - "canonical": "const struct TInstant *" + "name": "a", + "cType": "const Temporal *", + "canonical": "const Temporal *" }, { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "name": "b", + "cType": "const Temporal *", + "canonical": "const Temporal *" }, { - "name": "atfunc", - "cType": "bool", - "canonical": "bool" + "name": "unit", + "cType": "const char *", + "canonical": "const char *" } ] }, { - "name": "tgeoinst_restrict_stbox", + "name": "proj_get_context", "file": "meos_internal_geo.h", "returnType": { - "c": "TInstant *", - "canonical": "struct TInstant *" + "c": "PJ_CONTEXT *", + "canonical": "struct pj_ctx *" + }, + "params": [] + }, + { + "name": "datum_geo_round", + "file": "meos_internal_geo.h", + "returnType": { + "c": "int", + "canonical": "int" }, "params": [ { - "name": "inst", - "cType": "const TInstant *", - "canonical": "const struct TInstant *" - }, - { - "name": "box", - "cType": "const STBox *", - "canonical": "const struct STBox *" - }, - { - "name": "border_inc", - "cType": "bool", - "canonical": "bool" + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" }, { - "name": "atfunc", - "cType": "bool", - "canonical": "bool" + "name": "size", + "cType": "Datum", + "canonical": "int ((int *))()" } ] }, { - "name": "tgeoseq_restrict_geom", + "name": "point_round", "file": "meos_internal_geo.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "int *", + "canonical": "int *" }, "params": [ - { - "name": "seq", - "cType": "const TSequence *", - "canonical": "const struct TSequence *" - }, { "name": "gs", "cType": "const int *", "canonical": "const int *" }, { - "name": "atfunc", - "cType": "bool", - "canonical": "bool" + "name": "maxdd", + "cType": "int", + "canonical": "int" } ] }, { - "name": "tgeoseq_restrict_stbox", + "name": "stbox_set", "file": "meos_internal_geo.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "void", + "canonical": "void" }, "params": [ { - "name": "seq", - "cType": "const TSequence *", - "canonical": "const struct TSequence *" - }, - { - "name": "box", - "cType": "const STBox *", - "canonical": "const struct STBox *" + "name": "hasx", + "cType": "bool", + "canonical": "bool" }, { - "name": "border_inc", + "name": "hasz", "cType": "bool", "canonical": "bool" }, { - "name": "atfunc", + "name": "geodetic", "cType": "bool", "canonical": "bool" + }, + { + "name": "srid", + "cType": "int32", + "canonical": "int" + }, + { + "name": "xmin", + "cType": "double", + "canonical": "double" + }, + { + "name": "xmax", + "cType": "double", + "canonical": "double" + }, + { + "name": "ymin", + "cType": "double", + "canonical": "double" + }, + { + "name": "ymax", + "cType": "double", + "canonical": "double" + }, + { + "name": "zmin", + "cType": "double", + "canonical": "double" + }, + { + "name": "zmax", + "cType": "double", + "canonical": "double" + }, + { + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "result", + "cType": "STBox *", + "canonical": "struct STBox *" } ] }, { - "name": "tgeoseqset_restrict_geom", + "name": "gbox_set_stbox", "file": "meos_internal_geo.h", "returnType": { - "c": "TSequenceSet *", - "canonical": "struct TSequenceSet *" + "c": "void", + "canonical": "void" }, "params": [ { - "name": "ss", - "cType": "const TSequenceSet *", - "canonical": "const struct TSequenceSet *" - }, - { - "name": "gs", + "name": "box", "cType": "const int *", "canonical": "const int *" }, { - "name": "atfunc", - "cType": "bool", - "canonical": "bool" + "name": "srid", + "cType": "int32_t", + "canonical": "int" + }, + { + "name": "result", + "cType": "STBox *", + "canonical": "struct STBox *" } ] }, { - "name": "tgeoseqset_restrict_stbox", + "name": "geo_set_stbox", "file": "meos_internal_geo.h", "returnType": { - "c": "TSequenceSet *", - "canonical": "struct TSequenceSet *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "ss", - "cType": "const TSequenceSet *", - "canonical": "const struct TSequenceSet *" - }, - { - "name": "box", - "cType": "const STBox *", - "canonical": "const struct STBox *" - }, - { - "name": "border_inc", - "cType": "bool", - "canonical": "bool" + "name": "gs", + "cType": "const int *", + "canonical": "const int *" }, { - "name": "atfunc", - "cType": "bool", - "canonical": "bool" + "name": "result", + "cType": "STBox *", + "canonical": "struct STBox *" } ] }, { - "name": "spatial_srid", + "name": "geoarr_set_stbox", "file": "meos_internal_geo.h", "returnType": { - "c": "int32_t", - "canonical": "int" + "c": "void", + "canonical": "void" }, "params": [ { - "name": "d", - "cType": "Datum", - "canonical": "int ((int *))()" + "name": "values", + "cType": "Datum *", + "canonical": "int ((*)(int *))()" }, { - "name": "basetype", + "name": "count", "cType": "int", "canonical": "int" + }, + { + "name": "result", + "cType": "STBox *", + "canonical": "struct STBox *" } ] }, { - "name": "spatial_set_srid", + "name": "spatial_set_stbox", "file": "meos_internal_geo.h", "returnType": { "c": "bool", @@ -52077,288 +52016,323 @@ }, { "name": "basetype", - "cType": "int", - "canonical": "int" + "cType": "MeosType", + "canonical": "MeosType" }, { - "name": "srid", - "cType": "int32_t", - "canonical": "int" + "name": "result", + "cType": "STBox *", + "canonical": "struct STBox *" } ] }, { - "name": "tspatialinst_srid", + "name": "spatialset_set_stbox", "file": "meos_internal_geo.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "void", + "canonical": "void" }, "params": [ { - "name": "inst", - "cType": "const TInstant *", - "canonical": "const struct TInstant *" + "name": "set", + "cType": "const Set *", + "canonical": "const Set *" + }, + { + "name": "result", + "cType": "STBox *", + "canonical": "struct STBox *" } ] }, { - "name": "tpointseq_azimuth", + "name": "stbox_set_box3d", "file": "meos_internal_geo.h", "returnType": { - "c": "TSequenceSet *", - "canonical": "struct TSequenceSet *" + "c": "void", + "canonical": "void" }, "params": [ { - "name": "seq", - "cType": "const TSequence *", - "canonical": "const struct TSequence *" + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" + }, + { + "name": "result", + "cType": "int *", + "canonical": "int *" } ] }, { - "name": "tpointseq_cumulative_length", + "name": "stbox_set_gbox", "file": "meos_internal_geo.h", "returnType": { - "c": "TSequence *", - "canonical": "struct TSequence *" + "c": "void", + "canonical": "void" }, "params": [ { - "name": "seq", - "cType": "const TSequence *", - "canonical": "const struct TSequence *" + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" }, { - "name": "prevlength", - "cType": "double", - "canonical": "double" + "name": "result", + "cType": "int *", + "canonical": "int *" } ] }, { - "name": "tpointseq_is_simple", + "name": "tstzset_set_stbox", "file": "meos_internal_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "void", + "canonical": "void" }, "params": [ { - "name": "seq", - "cType": "const TSequence *", - "canonical": "const struct TSequence *" + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + }, + { + "name": "result", + "cType": "STBox *", + "canonical": "struct STBox *" } ] }, { - "name": "tpointseq_length", + "name": "tstzspan_set_stbox", "file": "meos_internal_geo.h", "returnType": { - "c": "double", - "canonical": "double" + "c": "void", + "canonical": "void" }, "params": [ { - "name": "seq", - "cType": "const TSequence *", - "canonical": "const struct TSequence *" + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "result", + "cType": "STBox *", + "canonical": "struct STBox *" } ] }, { - "name": "tpointseq_linear_trajectory", + "name": "tstzspanset_set_stbox", "file": "meos_internal_geo.h", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "void", + "canonical": "void" }, "params": [ { - "name": "seq", - "cType": "const TSequence *", - "canonical": "const struct TSequence *" + "name": "s", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" }, { - "name": "unary_union", - "cType": "bool", - "canonical": "bool" + "name": "result", + "cType": "STBox *", + "canonical": "struct STBox *" } ] }, { - "name": "tgeoseq_stboxes", + "name": "stbox_expand", "file": "meos_internal_geo.h", "returnType": { - "c": "STBox *", - "canonical": "struct STBox *" + "c": "void", + "canonical": "void" }, "params": [ { - "name": "seq", - "cType": "const TSequence *", - "canonical": "const struct TSequence *" + "name": "box1", + "cType": "const STBox *", + "canonical": "const struct STBox *" }, { - "name": "count", - "cType": "int *", - "canonical": "int *" + "name": "box2", + "cType": "STBox *", + "canonical": "struct STBox *" } ] }, { - "name": "tgeoseq_split_n_stboxes", + "name": "inter_stbox_stbox", "file": "meos_internal_geo.h", "returnType": { - "c": "STBox *", - "canonical": "struct STBox *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "seq", - "cType": "const TSequence *", - "canonical": "const struct TSequence *" + "name": "box1", + "cType": "const STBox *", + "canonical": "const struct STBox *" }, { - "name": "max_count", - "cType": "int", - "canonical": "int" + "name": "box2", + "cType": "const STBox *", + "canonical": "const struct STBox *" }, { - "name": "count", - "cType": "int *", - "canonical": "int *" + "name": "result", + "cType": "STBox *", + "canonical": "struct STBox *" } ] }, { - "name": "tpointseqset_azimuth", + "name": "tgeogpointinst_from_mfjson", "file": "meos_internal_geo.h", "returnType": { - "c": "TSequenceSet *", - "canonical": "struct TSequenceSet *" + "c": "TInstant *", + "canonical": "struct TInstant *" }, "params": [ { - "name": "ss", - "cType": "const TSequenceSet *", - "canonical": "const struct TSequenceSet *" + "name": "mfjson", + "cType": "json_object *", + "canonical": "struct json_object *" + }, + { + "name": "srid", + "cType": "int32_t", + "canonical": "int" } ] }, { - "name": "tpointseqset_cumulative_length", + "name": "tgeogpointinst_in", "file": "meos_internal_geo.h", "returnType": { - "c": "TSequenceSet *", - "canonical": "struct TSequenceSet *" + "c": "TInstant *", + "canonical": "struct TInstant *" }, "params": [ { - "name": "ss", - "cType": "const TSequenceSet *", - "canonical": "const struct TSequenceSet *" + "name": "str", + "cType": "const char *", + "canonical": "const char *" } ] }, { - "name": "tpointseqset_is_simple", + "name": "tgeogpointseq_from_mfjson", "file": "meos_internal_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "TSequence *", + "canonical": "struct TSequence *" }, "params": [ { - "name": "ss", - "cType": "const TSequenceSet *", - "canonical": "const struct TSequenceSet *" + "name": "mfjson", + "cType": "json_object *", + "canonical": "struct json_object *" + }, + { + "name": "srid", + "cType": "int32_t", + "canonical": "int" + }, + { + "name": "interp", + "cType": "interpType", + "canonical": "interpType" } ] }, { - "name": "tpointseqset_length", + "name": "tgeogpointseq_in", "file": "meos_internal_geo.h", "returnType": { - "c": "double", - "canonical": "double" + "c": "TSequence *", + "canonical": "struct TSequence *" }, "params": [ { - "name": "ss", - "cType": "const TSequenceSet *", - "canonical": "const struct TSequenceSet *" + "name": "str", + "cType": "const char *", + "canonical": "const char *" + }, + { + "name": "interp", + "cType": "interpType", + "canonical": "interpType" } ] }, { - "name": "tgeoseqset_stboxes", + "name": "tgeogpointseqset_from_mfjson", "file": "meos_internal_geo.h", "returnType": { - "c": "STBox *", - "canonical": "struct STBox *" + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" }, "params": [ { - "name": "ss", - "cType": "const TSequenceSet *", - "canonical": "const struct TSequenceSet *" + "name": "mfjson", + "cType": "json_object *", + "canonical": "struct json_object *" }, { - "name": "count", - "cType": "int *", - "canonical": "int *" + "name": "srid", + "cType": "int32_t", + "canonical": "int" + }, + { + "name": "interp", + "cType": "interpType", + "canonical": "interpType" } ] }, { - "name": "tgeoseqset_split_n_stboxes", + "name": "tgeogpointseqset_in", "file": "meos_internal_geo.h", "returnType": { - "c": "STBox *", - "canonical": "struct STBox *" + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" }, "params": [ { - "name": "ss", - "cType": "const TSequenceSet *", - "canonical": "const struct TSequenceSet *" - }, - { - "name": "max_count", - "cType": "int", - "canonical": "int" - }, - { - "name": "count", - "cType": "int *", - "canonical": "int *" + "name": "str", + "cType": "const char *", + "canonical": "const char *" } ] }, { - "name": "tpoint_get_coord", + "name": "tgeompointinst_from_mfjson", "file": "meos_internal_geo.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "TInstant *", + "canonical": "struct TInstant *" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "mfjson", + "cType": "json_object *", + "canonical": "struct json_object *" }, { - "name": "coord", - "cType": "int", + "name": "srid", + "cType": "int32_t", "canonical": "int" } ] }, { - "name": "tgeominst_tgeoginst", + "name": "tgeompointinst_in", "file": "meos_internal_geo.h", "returnType": { "c": "TInstant *", @@ -52366,19 +52340,14 @@ }, "params": [ { - "name": "inst", - "cType": "const TInstant *", - "canonical": "const struct TInstant *" - }, - { - "name": "oper", - "cType": "bool", - "canonical": "bool" + "name": "str", + "cType": "const char *", + "canonical": "const char *" } ] }, { - "name": "tgeomseq_tgeogseq", + "name": "tgeompointseq_from_mfjson", "file": "meos_internal_geo.h", "returnType": { "c": "TSequence *", @@ -52386,89 +52355,94 @@ }, "params": [ { - "name": "seq", - "cType": "const TSequence *", - "canonical": "const struct TSequence *" + "name": "mfjson", + "cType": "json_object *", + "canonical": "struct json_object *" }, { - "name": "oper", - "cType": "bool", - "canonical": "bool" + "name": "srid", + "cType": "int32_t", + "canonical": "int" + }, + { + "name": "interp", + "cType": "interpType", + "canonical": "interpType" } ] }, { - "name": "tgeomseqset_tgeogseqset", + "name": "tgeompointseq_in", "file": "meos_internal_geo.h", "returnType": { - "c": "TSequenceSet *", - "canonical": "struct TSequenceSet *" + "c": "TSequence *", + "canonical": "struct TSequence *" }, "params": [ { - "name": "ss", - "cType": "const TSequenceSet *", - "canonical": "const struct TSequenceSet *" + "name": "str", + "cType": "const char *", + "canonical": "const char *" }, { - "name": "oper", - "cType": "bool", - "canonical": "bool" + "name": "interp", + "cType": "interpType", + "canonical": "interpType" } ] }, { - "name": "tgeom_tgeog", + "name": "tgeompointseqset_from_mfjson", "file": "meos_internal_geo.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "mfjson", + "cType": "json_object *", + "canonical": "struct json_object *" }, { - "name": "oper", - "cType": "bool", - "canonical": "bool" + "name": "srid", + "cType": "int32_t", + "canonical": "int" + }, + { + "name": "interp", + "cType": "interpType", + "canonical": "interpType" } ] }, { - "name": "tgeo_tpoint", + "name": "tgeompointseqset_in", "file": "meos_internal_geo.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "oper", - "cType": "bool", - "canonical": "bool" + "name": "str", + "cType": "const char *", + "canonical": "const char *" } ] }, { - "name": "tspatialinst_set_srid", + "name": "tgeographyinst_from_mfjson", "file": "meos_internal_geo.h", "returnType": { - "c": "void", - "canonical": "void" + "c": "TInstant *", + "canonical": "struct TInstant *" }, "params": [ { - "name": "inst", - "cType": "TInstant *", - "canonical": "struct TInstant *" + "name": "mfjson", + "cType": "json_object *", + "canonical": "struct json_object *" }, { "name": "srid", @@ -52478,1040 +52452,1221 @@ ] }, { - "name": "tpointseq_make_simple", + "name": "tgeographyinst_in", "file": "meos_internal_geo.h", "returnType": { - "c": "TSequence **", - "canonical": "struct TSequence **" + "c": "TInstant *", + "canonical": "struct TInstant *" }, "params": [ { - "name": "seq", - "cType": "const TSequence *", - "canonical": "const struct TSequence *" - }, - { - "name": "count", - "cType": "int *", - "canonical": "int *" + "name": "str", + "cType": "const char *", + "canonical": "const char *" } ] }, { - "name": "tspatialseq_set_srid", + "name": "tgeographyseq_from_mfjson", "file": "meos_internal_geo.h", "returnType": { - "c": "void", - "canonical": "void" + "c": "TSequence *", + "canonical": "struct TSequence *" }, "params": [ { - "name": "seq", - "cType": "TSequence *", - "canonical": "struct TSequence *" + "name": "mfjson", + "cType": "json_object *", + "canonical": "struct json_object *" }, { "name": "srid", "cType": "int32_t", "canonical": "int" + }, + { + "name": "interp", + "cType": "interpType", + "canonical": "interpType" } ] }, { - "name": "tpointseqset_make_simple", + "name": "tgeographyseq_in", "file": "meos_internal_geo.h", "returnType": { - "c": "TSequence **", - "canonical": "struct TSequence **" + "c": "TSequence *", + "canonical": "struct TSequence *" }, "params": [ { - "name": "ss", - "cType": "const TSequenceSet *", - "canonical": "const struct TSequenceSet *" + "name": "str", + "cType": "const char *", + "canonical": "const char *" }, { - "name": "count", - "cType": "int *", - "canonical": "int *" + "name": "interp", + "cType": "interpType", + "canonical": "interpType" } ] }, { - "name": "tspatialseqset_set_srid", + "name": "tgeographyseqset_from_mfjson", "file": "meos_internal_geo.h", "returnType": { - "c": "void", - "canonical": "void" + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" }, "params": [ { - "name": "ss", - "cType": "TSequenceSet *", - "canonical": "struct TSequenceSet *" + "name": "mfjson", + "cType": "json_object *", + "canonical": "struct json_object *" }, { "name": "srid", "cType": "int32_t", "canonical": "int" + }, + { + "name": "interp", + "cType": "interpType", + "canonical": "interpType" } ] }, { - "name": "tpointseq_twcentroid", + "name": "tgeographyseqset_in", "file": "meos_internal_geo.h", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" }, "params": [ { - "name": "seq", - "cType": "const TSequence *", - "canonical": "const struct TSequence *" + "name": "str", + "cType": "const char *", + "canonical": "const char *" } ] }, { - "name": "tpointseqset_twcentroid", + "name": "tgeometryinst_from_mfjson", "file": "meos_internal_geo.h", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "TInstant *", + "canonical": "struct TInstant *" }, "params": [ { - "name": "ss", - "cType": "const TSequenceSet *", - "canonical": "const struct TSequenceSet *" + "name": "mfjson", + "cType": "json_object *", + "canonical": "struct json_object *" + }, + { + "name": "srid", + "cType": "int32_t", + "canonical": "int" } ] }, { - "name": "npoint_as_ewkt", - "file": "meos_npoint.h", + "name": "tgeometryinst_in", + "file": "meos_internal_geo.h", "returnType": { - "c": "char *", - "canonical": "char *" + "c": "TInstant *", + "canonical": "struct TInstant *" }, "params": [ { - "name": "np", - "cType": "const Npoint *", - "canonical": "const Npoint *" - }, - { - "name": "maxdd", - "cType": "int", - "canonical": "int" + "name": "str", + "cType": "const char *", + "canonical": "const char *" } ] }, { - "name": "npoint_as_hexwkb", - "file": "meos_npoint.h", + "name": "tgeometryseq_from_mfjson", + "file": "meos_internal_geo.h", "returnType": { - "c": "char *", - "canonical": "char *" + "c": "TSequence *", + "canonical": "struct TSequence *" }, "params": [ { - "name": "np", - "cType": "const Npoint *", - "canonical": "const Npoint *" + "name": "mfjson", + "cType": "json_object *", + "canonical": "struct json_object *" }, { - "name": "variant", - "cType": "uint8_t", - "canonical": "unsigned char" + "name": "srid", + "cType": "int32_t", + "canonical": "int" }, { - "name": "size_out", - "cType": "size_t *", - "canonical": "unsigned long *" + "name": "interp", + "cType": "interpType", + "canonical": "interpType" } ] }, { - "name": "npoint_as_text", - "file": "meos_npoint.h", + "name": "tgeometryseq_in", + "file": "meos_internal_geo.h", "returnType": { - "c": "char *", - "canonical": "char *" + "c": "TSequence *", + "canonical": "struct TSequence *" }, "params": [ { - "name": "np", - "cType": "const Npoint *", - "canonical": "const Npoint *" + "name": "str", + "cType": "const char *", + "canonical": "const char *" }, { - "name": "maxdd", - "cType": "int", - "canonical": "int" + "name": "interp", + "cType": "interpType", + "canonical": "interpType" } ] }, { - "name": "npoint_as_wkb", - "file": "meos_npoint.h", + "name": "tgeometryseqset_from_mfjson", + "file": "meos_internal_geo.h", "returnType": { - "c": "uint8_t *", - "canonical": "unsigned char *" + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" }, "params": [ { - "name": "np", - "cType": "const Npoint *", - "canonical": "const Npoint *" + "name": "mfjson", + "cType": "json_object *", + "canonical": "struct json_object *" }, { - "name": "variant", - "cType": "uint8_t", - "canonical": "unsigned char" + "name": "srid", + "cType": "int32_t", + "canonical": "int" }, { - "name": "size_out", - "cType": "size_t *", - "canonical": "unsigned long *" + "name": "interp", + "cType": "interpType", + "canonical": "interpType" } ] }, { - "name": "npoint_from_hexwkb", - "file": "meos_npoint.h", + "name": "tgeometryseqset_in", + "file": "meos_internal_geo.h", "returnType": { - "c": "Npoint *", - "canonical": "Npoint *" + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" }, "params": [ { - "name": "hexwkb", + "name": "str", "cType": "const char *", "canonical": "const char *" } ] }, { - "name": "npoint_from_wkb", - "file": "meos_npoint.h", + "name": "tspatial_set_stbox", + "file": "meos_internal_geo.h", "returnType": { - "c": "Npoint *", - "canonical": "Npoint *" + "c": "void", + "canonical": "void" }, "params": [ { - "name": "wkb", - "cType": "const uint8_t *", - "canonical": "const unsigned char *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" }, { - "name": "size", - "cType": "size_t", - "canonical": "unsigned long" + "name": "result", + "cType": "STBox *", + "canonical": "struct STBox *" } ] }, { - "name": "npoint_in", - "file": "meos_npoint.h", + "name": "tspatialseq_set_stbox", + "file": "meos_internal_geo.h", "returnType": { - "c": "Npoint *", - "canonical": "Npoint *" + "c": "void", + "canonical": "void" }, "params": [ { - "name": "str", - "cType": "const char *", - "canonical": "const char *" + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "box", + "cType": "STBox *", + "canonical": "struct STBox *" } ] }, { - "name": "npoint_out", - "file": "meos_npoint.h", + "name": "tspatialseqset_set_stbox", + "file": "meos_internal_geo.h", "returnType": { - "c": "char *", - "canonical": "char *" + "c": "void", + "canonical": "void" }, "params": [ { - "name": "np", - "cType": "const Npoint *", - "canonical": "const Npoint *" + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" }, { - "name": "maxdd", - "cType": "int", - "canonical": "int" + "name": "box", + "cType": "STBox *", + "canonical": "struct STBox *" } ] }, { - "name": "nsegment_in", - "file": "meos_npoint.h", + "name": "tgeo_restrict_elevation", + "file": "meos_internal_geo.h", "returnType": { - "c": "Nsegment *", - "canonical": "Nsegment *" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "str", - "cType": "const char *", - "canonical": "const char *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" } ] }, { - "name": "nsegment_out", - "file": "meos_npoint.h", + "name": "tgeo_restrict_geom", + "file": "meos_internal_geo.h", "returnType": { - "c": "char *", - "canonical": "char *" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "ns", - "cType": "const Nsegment *", - "canonical": "const Nsegment *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" }, { - "name": "maxdd", - "cType": "int", - "canonical": "int" + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" } ] }, { - "name": "npoint_make", - "file": "meos_npoint.h", + "name": "tgeo_restrict_stbox", + "file": "meos_internal_geo.h", "returnType": { - "c": "Npoint *", - "canonical": "Npoint *" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "rid", - "cType": "int64", - "canonical": "long" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" }, { - "name": "pos", - "cType": "double", - "canonical": "double" + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" + }, + { + "name": "border_inc", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" } ] }, { - "name": "nsegment_make", - "file": "meos_npoint.h", + "name": "tgeoinst_restrict_geom", + "file": "meos_internal_geo.h", "returnType": { - "c": "Nsegment *", - "canonical": "Nsegment *" + "c": "TInstant *", + "canonical": "struct TInstant *" }, "params": [ { - "name": "rid", - "cType": "int64", - "canonical": "long" + "name": "inst", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" }, { - "name": "pos1", - "cType": "double", - "canonical": "double" + "name": "gs", + "cType": "const int *", + "canonical": "const int *" }, { - "name": "pos2", - "cType": "double", - "canonical": "double" + "name": "atfunc", + "cType": "bool", + "canonical": "bool" } ] }, { - "name": "geompoint_to_npoint", - "file": "meos_npoint.h", + "name": "tgeoinst_restrict_stbox", + "file": "meos_internal_geo.h", "returnType": { - "c": "Npoint *", - "canonical": "Npoint *" + "c": "TInstant *", + "canonical": "struct TInstant *" + }, + "params": [ + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" + }, + { + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" + }, + { + "name": "border_inc", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tgeoseq_restrict_geom", + "file": "meos_internal_geo.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, { "name": "gs", "cType": "const int *", "canonical": "const int *" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" } ] }, { - "name": "geom_to_nsegment", - "file": "meos_npoint.h", + "name": "tgeoseq_restrict_stbox", + "file": "meos_internal_geo.h", "returnType": { - "c": "Nsegment *", - "canonical": "Nsegment *" + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" + }, + { + "name": "border_inc", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tgeoseqset_restrict_geom", + "file": "meos_internal_geo.h", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" }, "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + }, { "name": "gs", "cType": "const int *", "canonical": "const int *" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" } ] }, { - "name": "npoint_to_geompoint", - "file": "meos_npoint.h", + "name": "tgeoseqset_restrict_stbox", + "file": "meos_internal_geo.h", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" }, "params": [ { - "name": "np", - "cType": "const Npoint *", - "canonical": "const Npoint *" + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + }, + { + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" + }, + { + "name": "border_inc", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" } ] }, { - "name": "npoint_to_nsegment", - "file": "meos_npoint.h", + "name": "spatial_srid", + "file": "meos_internal_geo.h", "returnType": { - "c": "Nsegment *", - "canonical": "Nsegment *" + "c": "int32_t", + "canonical": "int" }, "params": [ { - "name": "np", - "cType": "const Npoint *", - "canonical": "const Npoint *" + "name": "d", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "basetype", + "cType": "MeosType", + "canonical": "MeosType" } ] }, { - "name": "npoint_to_stbox", - "file": "meos_npoint.h", + "name": "spatial_set_srid", + "file": "meos_internal_geo.h", "returnType": { - "c": "STBox *", - "canonical": "struct STBox *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "np", - "cType": "const Npoint *", - "canonical": "const Npoint *" + "name": "d", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "basetype", + "cType": "MeosType", + "canonical": "MeosType" + }, + { + "name": "srid", + "cType": "int32_t", + "canonical": "int" } ] }, { - "name": "nsegment_to_geom", - "file": "meos_npoint.h", + "name": "tspatialinst_srid", + "file": "meos_internal_geo.h", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "ns", - "cType": "const Nsegment *", - "canonical": "const Nsegment *" + "name": "inst", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" } ] }, { - "name": "nsegment_to_stbox", - "file": "meos_npoint.h", + "name": "tpointseq_azimuth", + "file": "meos_internal_geo.h", "returnType": { - "c": "STBox *", - "canonical": "struct STBox *" + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" }, "params": [ { - "name": "np", - "cType": "const Nsegment *", - "canonical": "const Nsegment *" + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" } ] }, { - "name": "npoint_hash", - "file": "meos_npoint.h", + "name": "tpointseq_cumulative_length", + "file": "meos_internal_geo.h", "returnType": { - "c": "uint32", - "canonical": "unsigned int" + "c": "TSequence *", + "canonical": "struct TSequence *" }, "params": [ { - "name": "np", - "cType": "const Npoint *", - "canonical": "const Npoint *" + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "prevlength", + "cType": "double", + "canonical": "double" } ] }, { - "name": "npoint_hash_extended", - "file": "meos_npoint.h", + "name": "tpointseq_is_simple", + "file": "meos_internal_geo.h", "returnType": { - "c": "uint64", - "canonical": "unsigned long" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "np", - "cType": "const Npoint *", - "canonical": "const Npoint *" - }, - { - "name": "seed", - "cType": "uint64", - "canonical": "unsigned long" + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" } ] }, { - "name": "npoint_position", - "file": "meos_npoint.h", + "name": "tpointseq_length", + "file": "meos_internal_geo.h", "returnType": { "c": "double", "canonical": "double" }, "params": [ { - "name": "np", - "cType": "const Npoint *", - "canonical": "const Npoint *" + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" } ] }, { - "name": "npoint_route", - "file": "meos_npoint.h", + "name": "tpointseq_linear_trajectory", + "file": "meos_internal_geo.h", "returnType": { - "c": "int64", - "canonical": "long" + "c": "int *", + "canonical": "int *" }, "params": [ { - "name": "np", - "cType": "const Npoint *", - "canonical": "const Npoint *" + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "unary_union", + "cType": "bool", + "canonical": "bool" } ] }, { - "name": "nsegment_end_position", - "file": "meos_npoint.h", + "name": "tgeoseq_stboxes", + "file": "meos_internal_geo.h", "returnType": { - "c": "double", - "canonical": "double" + "c": "STBox *", + "canonical": "struct STBox *" }, "params": [ { - "name": "ns", - "cType": "const Nsegment *", - "canonical": "const Nsegment *" + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" } ] }, { - "name": "nsegment_route", - "file": "meos_npoint.h", + "name": "tgeoseq_split_n_stboxes", + "file": "meos_internal_geo.h", "returnType": { - "c": "int64", - "canonical": "long" + "c": "STBox *", + "canonical": "struct STBox *" }, "params": [ { - "name": "ns", - "cType": "const Nsegment *", - "canonical": "const Nsegment *" + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "max_count", + "cType": "int", + "canonical": "int" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" } ] }, { - "name": "nsegment_start_position", - "file": "meos_npoint.h", + "name": "tpointseqset_azimuth", + "file": "meos_internal_geo.h", "returnType": { - "c": "double", - "canonical": "double" + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" }, "params": [ { - "name": "ns", - "cType": "const Nsegment *", - "canonical": "const Nsegment *" + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" } ] }, { - "name": "route_exists", - "file": "meos_npoint.h", + "name": "tpointseqset_cumulative_length", + "file": "meos_internal_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" }, "params": [ { - "name": "rid", - "cType": "int64", - "canonical": "long" + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" } ] }, { - "name": "route_geom", - "file": "meos_npoint.h", + "name": "tpointseqset_is_simple", + "file": "meos_internal_geo.h", "returnType": { - "c": "const int *", - "canonical": "const int *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "rid", - "cType": "int64", - "canonical": "long" + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" } ] }, { - "name": "route_length", - "file": "meos_npoint.h", + "name": "tpointseqset_length", + "file": "meos_internal_geo.h", "returnType": { "c": "double", "canonical": "double" }, "params": [ { - "name": "rid", - "cType": "int64", - "canonical": "long" + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" } ] }, { - "name": "npoint_round", - "file": "meos_npoint.h", + "name": "tgeoseqset_stboxes", + "file": "meos_internal_geo.h", "returnType": { - "c": "Npoint *", - "canonical": "Npoint *" + "c": "STBox *", + "canonical": "struct STBox *" }, "params": [ { - "name": "np", - "cType": "const Npoint *", - "canonical": "const Npoint *" + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" }, { - "name": "maxdd", - "cType": "int", - "canonical": "int" + "name": "count", + "cType": "int *", + "canonical": "int *" } ] }, { - "name": "nsegment_round", - "file": "meos_npoint.h", + "name": "tgeoseqset_split_n_stboxes", + "file": "meos_internal_geo.h", "returnType": { - "c": "Nsegment *", - "canonical": "Nsegment *" + "c": "STBox *", + "canonical": "struct STBox *" }, "params": [ { - "name": "ns", - "cType": "const Nsegment *", - "canonical": "const Nsegment *" + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" }, { - "name": "maxdd", + "name": "max_count", "cType": "int", "canonical": "int" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" } ] }, { - "name": "get_srid_ways", - "file": "meos_npoint.h", + "name": "tgeominst_tgeoginst", + "file": "meos_internal_geo.h", "returnType": { - "c": "int32_t", - "canonical": "int" + "c": "TInstant *", + "canonical": "struct TInstant *" }, - "params": [] + "params": [ + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" + }, + { + "name": "oper", + "cType": "bool", + "canonical": "bool" + } + ] }, { - "name": "npoint_srid", - "file": "meos_npoint.h", + "name": "tgeomseq_tgeogseq", + "file": "meos_internal_geo.h", "returnType": { - "c": "int32_t", - "canonical": "int" + "c": "TSequence *", + "canonical": "struct TSequence *" }, "params": [ { - "name": "np", - "cType": "const Npoint *", - "canonical": "const Npoint *" + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "oper", + "cType": "bool", + "canonical": "bool" } ] }, { - "name": "nsegment_srid", - "file": "meos_npoint.h", + "name": "tgeomseqset_tgeogseqset", + "file": "meos_internal_geo.h", "returnType": { - "c": "int32_t", - "canonical": "int" + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" }, "params": [ { - "name": "ns", - "cType": "const Nsegment *", - "canonical": "const Nsegment *" + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + }, + { + "name": "oper", + "cType": "bool", + "canonical": "bool" } ] }, { - "name": "npoint_timestamptz_to_stbox", - "file": "meos_npoint.h", + "name": "tgeom_tgeog", + "file": "meos_internal_geo.h", "returnType": { - "c": "STBox *", - "canonical": "struct STBox *" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "np", - "cType": "const Npoint *", - "canonical": "const Npoint *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" }, { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" + "name": "oper", + "cType": "bool", + "canonical": "bool" } ] }, { - "name": "npoint_tstzspan_to_stbox", - "file": "meos_npoint.h", + "name": "tgeo_tpoint", + "file": "meos_internal_geo.h", "returnType": { - "c": "STBox *", - "canonical": "struct STBox *" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "np", - "cType": "const Npoint *", - "canonical": "const Npoint *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" }, { - "name": "s", - "cType": "const Span *", - "canonical": "const struct Span *" + "name": "oper", + "cType": "bool", + "canonical": "bool" } ] }, { - "name": "npoint_cmp", - "file": "meos_npoint.h", + "name": "tspatialinst_set_srid", + "file": "meos_internal_geo.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "void", + "canonical": "void" }, "params": [ { - "name": "np1", - "cType": "const Npoint *", - "canonical": "const Npoint *" + "name": "inst", + "cType": "TInstant *", + "canonical": "struct TInstant *" }, { - "name": "np2", - "cType": "const Npoint *", - "canonical": "const Npoint *" + "name": "srid", + "cType": "int32_t", + "canonical": "int" } ] }, { - "name": "npoint_eq", - "file": "meos_npoint.h", + "name": "tpointseq_make_simple", + "file": "meos_internal_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "TSequence **", + "canonical": "struct TSequence **" }, "params": [ { - "name": "np1", - "cType": "const Npoint *", - "canonical": "const Npoint *" + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" }, { - "name": "np2", - "cType": "const Npoint *", - "canonical": "const Npoint *" + "name": "count", + "cType": "int *", + "canonical": "int *" } ] }, { - "name": "npoint_ge", - "file": "meos_npoint.h", + "name": "tspatialseq_set_srid", + "file": "meos_internal_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "void", + "canonical": "void" }, "params": [ { - "name": "np1", - "cType": "const Npoint *", - "canonical": "const Npoint *" + "name": "seq", + "cType": "TSequence *", + "canonical": "struct TSequence *" }, { - "name": "np2", - "cType": "const Npoint *", - "canonical": "const Npoint *" + "name": "srid", + "cType": "int32_t", + "canonical": "int" } ] }, { - "name": "npoint_gt", - "file": "meos_npoint.h", + "name": "tpointseqset_make_simple", + "file": "meos_internal_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "TSequence **", + "canonical": "struct TSequence **" }, "params": [ { - "name": "np1", - "cType": "const Npoint *", - "canonical": "const Npoint *" + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" }, { - "name": "np2", - "cType": "const Npoint *", - "canonical": "const Npoint *" + "name": "count", + "cType": "int *", + "canonical": "int *" } ] }, { - "name": "npoint_le", - "file": "meos_npoint.h", + "name": "tspatialseqset_set_srid", + "file": "meos_internal_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "void", + "canonical": "void" }, "params": [ { - "name": "np1", - "cType": "const Npoint *", - "canonical": "const Npoint *" + "name": "ss", + "cType": "TSequenceSet *", + "canonical": "struct TSequenceSet *" }, { - "name": "np2", - "cType": "const Npoint *", - "canonical": "const Npoint *" + "name": "srid", + "cType": "int32_t", + "canonical": "int" } ] }, { - "name": "npoint_lt", - "file": "meos_npoint.h", + "name": "tpointseq_twcentroid", + "file": "meos_internal_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "int *", + "canonical": "int *" }, "params": [ { - "name": "np1", - "cType": "const Npoint *", - "canonical": "const Npoint *" - }, - { - "name": "np2", - "cType": "const Npoint *", - "canonical": "const Npoint *" + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" } ] }, { - "name": "npoint_ne", - "file": "meos_npoint.h", + "name": "tpointseqset_twcentroid", + "file": "meos_internal_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "int *", + "canonical": "int *" }, "params": [ { - "name": "np1", - "cType": "const Npoint *", - "canonical": "const Npoint *" - }, - { - "name": "np2", - "cType": "const Npoint *", - "canonical": "const Npoint *" + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" } ] }, { - "name": "npoint_same", + "name": "npoint_as_ewkt", "file": "meos_npoint.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "char *", + "canonical": "char *" }, "params": [ { - "name": "np1", + "name": "np", "cType": "const Npoint *", "canonical": "const Npoint *" }, { - "name": "np2", - "cType": "const Npoint *", - "canonical": "const Npoint *" + "name": "maxdd", + "cType": "int", + "canonical": "int" } ] }, { - "name": "nsegment_cmp", + "name": "npoint_as_hexwkb", "file": "meos_npoint.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "char *", + "canonical": "char *" }, "params": [ { - "name": "ns1", - "cType": "const Nsegment *", - "canonical": "const Nsegment *" + "name": "np", + "cType": "const Npoint *", + "canonical": "const Npoint *" }, { - "name": "ns2", - "cType": "const Nsegment *", - "canonical": "const Nsegment *" + "name": "variant", + "cType": "uint8_t", + "canonical": "unsigned char" + }, + { + "name": "size_out", + "cType": "size_t *", + "canonical": "unsigned long *" } ] }, { - "name": "nsegment_eq", + "name": "npoint_as_text", "file": "meos_npoint.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "char *", + "canonical": "char *" }, "params": [ { - "name": "ns1", - "cType": "const Nsegment *", - "canonical": "const Nsegment *" + "name": "np", + "cType": "const Npoint *", + "canonical": "const Npoint *" }, { - "name": "ns2", - "cType": "const Nsegment *", - "canonical": "const Nsegment *" + "name": "maxdd", + "cType": "int", + "canonical": "int" } ] }, { - "name": "nsegment_ge", + "name": "npoint_as_wkb", "file": "meos_npoint.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "uint8_t *", + "canonical": "unsigned char *" }, "params": [ { - "name": "ns1", - "cType": "const Nsegment *", - "canonical": "const Nsegment *" + "name": "np", + "cType": "const Npoint *", + "canonical": "const Npoint *" }, { - "name": "ns2", - "cType": "const Nsegment *", - "canonical": "const Nsegment *" + "name": "variant", + "cType": "uint8_t", + "canonical": "unsigned char" + }, + { + "name": "size_out", + "cType": "size_t *", + "canonical": "unsigned long *" } ] }, { - "name": "nsegment_gt", + "name": "npoint_from_hexwkb", "file": "meos_npoint.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "Npoint *", + "canonical": "Npoint *" }, "params": [ { - "name": "ns1", - "cType": "const Nsegment *", - "canonical": "const Nsegment *" - }, - { - "name": "ns2", - "cType": "const Nsegment *", - "canonical": "const Nsegment *" + "name": "hexwkb", + "cType": "const char *", + "canonical": "const char *" } ] }, { - "name": "nsegment_le", + "name": "npoint_from_wkb", "file": "meos_npoint.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "Npoint *", + "canonical": "Npoint *" }, "params": [ { - "name": "ns1", - "cType": "const Nsegment *", - "canonical": "const Nsegment *" + "name": "wkb", + "cType": "const uint8_t *", + "canonical": "const unsigned char *" }, { - "name": "ns2", - "cType": "const Nsegment *", - "canonical": "const Nsegment *" + "name": "size", + "cType": "size_t", + "canonical": "unsigned long" } ] }, { - "name": "nsegment_lt", + "name": "npoint_in", "file": "meos_npoint.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "Npoint *", + "canonical": "Npoint *" }, "params": [ { - "name": "ns1", - "cType": "const Nsegment *", - "canonical": "const Nsegment *" - }, - { - "name": "ns2", - "cType": "const Nsegment *", - "canonical": "const Nsegment *" + "name": "str", + "cType": "const char *", + "canonical": "const char *" } ] }, { - "name": "nsegment_ne", + "name": "npoint_out", "file": "meos_npoint.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "char *", + "canonical": "char *" }, "params": [ { - "name": "ns1", - "cType": "const Nsegment *", - "canonical": "const Nsegment *" + "name": "np", + "cType": "const Npoint *", + "canonical": "const Npoint *" }, { - "name": "ns2", - "cType": "const Nsegment *", - "canonical": "const Nsegment *" + "name": "maxdd", + "cType": "int", + "canonical": "int" } ] }, { - "name": "npointset_in", + "name": "nsegment_in", "file": "meos_npoint.h", "returnType": { - "c": "Set *", - "canonical": "Set *" + "c": "Nsegment *", + "canonical": "Nsegment *" }, "params": [ { @@ -53522,7 +53677,7 @@ ] }, { - "name": "npointset_out", + "name": "nsegment_out", "file": "meos_npoint.h", "returnType": { "c": "char *", @@ -53530,9 +53685,9 @@ }, "params": [ { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" + "name": "ns", + "cType": "const Nsegment *", + "canonical": "const Nsegment *" }, { "name": "maxdd", @@ -53542,42 +53697,52 @@ ] }, { - "name": "npointset_make", + "name": "npoint_make", "file": "meos_npoint.h", "returnType": { - "c": "Set *", - "canonical": "Set *" + "c": "Npoint *", + "canonical": "Npoint *" }, "params": [ { - "name": "values", - "cType": "Npoint **", - "canonical": "Npoint **" + "name": "rid", + "cType": "int64", + "canonical": "long" }, { - "name": "count", - "cType": "int", - "canonical": "int" + "name": "pos", + "cType": "double", + "canonical": "double" } ] }, { - "name": "npoint_to_set", + "name": "nsegment_make", "file": "meos_npoint.h", "returnType": { - "c": "Set *", - "canonical": "Set *" + "c": "Nsegment *", + "canonical": "Nsegment *" }, "params": [ { - "name": "np", - "cType": "const Npoint *", - "canonical": "const Npoint *" + "name": "rid", + "cType": "int64", + "canonical": "long" + }, + { + "name": "pos1", + "cType": "double", + "canonical": "double" + }, + { + "name": "pos2", + "cType": "double", + "canonical": "double" } ] }, { - "name": "npointset_end_value", + "name": "geompoint_to_npoint", "file": "meos_npoint.h", "returnType": { "c": "Npoint *", @@ -53585,155 +53750,110 @@ }, "params": [ { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "npointset_routes", - "file": "meos_npoint.h", - "returnType": { - "c": "Set *", - "canonical": "Set *" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" + "name": "gs", + "cType": "const int *", + "canonical": "const int *" } ] }, { - "name": "npointset_start_value", + "name": "geom_to_nsegment", "file": "meos_npoint.h", "returnType": { - "c": "Npoint *", - "canonical": "Npoint *" + "c": "Nsegment *", + "canonical": "Nsegment *" }, "params": [ { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" + "name": "gs", + "cType": "const int *", + "canonical": "const int *" } ] }, { - "name": "npointset_value_n", + "name": "npoint_to_geompoint", "file": "meos_npoint.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "int *", + "canonical": "int *" }, "params": [ { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "n", - "cType": "int", - "canonical": "int" - }, - { - "name": "result", - "cType": "Npoint **", - "canonical": "Npoint **" + "name": "np", + "cType": "const Npoint *", + "canonical": "const Npoint *" } ] }, { - "name": "npointset_values", + "name": "npoint_to_nsegment", "file": "meos_npoint.h", "returnType": { - "c": "Npoint **", - "canonical": "Npoint **" + "c": "Nsegment *", + "canonical": "Nsegment *" }, "params": [ { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" + "name": "np", + "cType": "const Npoint *", + "canonical": "const Npoint *" } ] }, { - "name": "contained_npoint_set", + "name": "npoint_to_stbox", "file": "meos_npoint.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "STBox *", + "canonical": "struct STBox *" }, "params": [ { "name": "np", "cType": "const Npoint *", "canonical": "const Npoint *" - }, - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" } ] }, { - "name": "contains_set_npoint", + "name": "nsegment_to_geom", "file": "meos_npoint.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "int *", + "canonical": "int *" }, "params": [ { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "np", - "cType": "const Npoint *", - "canonical": "const Npoint *" + "name": "ns", + "cType": "const Nsegment *", + "canonical": "const Nsegment *" } ] }, { - "name": "intersection_npoint_set", + "name": "nsegment_to_stbox", "file": "meos_npoint.h", "returnType": { - "c": "Set *", - "canonical": "Set *" + "c": "STBox *", + "canonical": "struct STBox *" }, "params": [ { "name": "np", - "cType": "const Npoint *", - "canonical": "const Npoint *" - }, - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" + "cType": "const Nsegment *", + "canonical": "const Nsegment *" } ] }, { - "name": "intersection_set_npoint", + "name": "npoint_hash", "file": "meos_npoint.h", "returnType": { - "c": "Set *", - "canonical": "Set *" + "c": "uint32", + "canonical": "unsigned int" }, "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - }, { "name": "np", "cType": "const Npoint *", @@ -53742,11 +53862,11 @@ ] }, { - "name": "minus_npoint_set", + "name": "npoint_hash_extended", "file": "meos_npoint.h", "returnType": { - "c": "Set *", - "canonical": "Set *" + "c": "uint64", + "canonical": "unsigned long" }, "params": [ { @@ -53755,25 +53875,20 @@ "canonical": "const Npoint *" }, { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" + "name": "seed", + "cType": "uint64", + "canonical": "unsigned long" } ] }, { - "name": "minus_set_npoint", + "name": "npoint_position", "file": "meos_npoint.h", "returnType": { - "c": "Set *", - "canonical": "Set *" + "c": "double", + "canonical": "double" }, "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - }, { "name": "np", "cType": "const Npoint *", @@ -53782,18 +53897,13 @@ ] }, { - "name": "npoint_union_transfn", + "name": "npoint_route", "file": "meos_npoint.h", "returnType": { - "c": "Set *", - "canonical": "Set *" + "c": "int64", + "canonical": "long" }, "params": [ - { - "name": "state", - "cType": "Set *", - "canonical": "Set *" - }, { "name": "np", "cType": "const Npoint *", @@ -53802,101 +53912,101 @@ ] }, { - "name": "union_npoint_set", + "name": "nsegment_end_position", "file": "meos_npoint.h", "returnType": { - "c": "Set *", - "canonical": "Set *" + "c": "double", + "canonical": "double" }, "params": [ { - "name": "np", - "cType": "const Npoint *", - "canonical": "const Npoint *" - }, - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" + "name": "ns", + "cType": "const Nsegment *", + "canonical": "const Nsegment *" } ] }, { - "name": "union_set_npoint", + "name": "nsegment_route", "file": "meos_npoint.h", "returnType": { - "c": "Set *", - "canonical": "Set *" + "c": "int64", + "canonical": "long" }, "params": [ { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "np", - "cType": "const Npoint *", - "canonical": "const Npoint *" + "name": "ns", + "cType": "const Nsegment *", + "canonical": "const Nsegment *" } ] }, { - "name": "tnpoint_in", + "name": "nsegment_start_position", "file": "meos_npoint.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "double", + "canonical": "double" }, "params": [ { - "name": "str", - "cType": "const char *", - "canonical": "const char *" + "name": "ns", + "cType": "const Nsegment *", + "canonical": "const Nsegment *" } ] }, { - "name": "tnpoint_from_mfjson", + "name": "route_exists", "file": "meos_npoint.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "mfjson", - "cType": "const char *", - "canonical": "const char *" + "name": "rid", + "cType": "int64", + "canonical": "long" } ] }, { - "name": "tnpoint_out", + "name": "route_geom", "file": "meos_npoint.h", "returnType": { - "c": "char *", - "canonical": "char *" + "c": "const int *", + "canonical": "const int *" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, + "name": "rid", + "cType": "int64", + "canonical": "long" + } + ] + }, + { + "name": "route_length", + "file": "meos_npoint.h", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ { - "name": "maxdd", - "cType": "int", - "canonical": "int" + "name": "rid", + "cType": "int64", + "canonical": "long" } ] }, { - "name": "tnpointinst_make", + "name": "npoint_round", "file": "meos_npoint.h", "returnType": { - "c": "TInstant *", - "canonical": "struct TInstant *" + "c": "Npoint *", + "canonical": "Npoint *" }, "params": [ { @@ -53905,430 +54015,474 @@ "canonical": "const Npoint *" }, { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" + "name": "maxdd", + "cType": "int", + "canonical": "int" } ] }, { - "name": "tgeompoint_to_tnpoint", + "name": "nsegment_round", "file": "meos_npoint.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "Nsegment *", + "canonical": "Nsegment *" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "ns", + "cType": "const Nsegment *", + "canonical": "const Nsegment *" + }, + { + "name": "maxdd", + "cType": "int", + "canonical": "int" } ] }, { - "name": "tnpoint_to_tgeompoint", + "name": "get_srid_ways", "file": "meos_npoint.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "int32_t", + "canonical": "int" }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] + "params": [] }, { - "name": "tnpoint_cumulative_length", + "name": "npoint_srid", "file": "meos_npoint.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "int32_t", + "canonical": "int" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "np", + "cType": "const Npoint *", + "canonical": "const Npoint *" } ] }, { - "name": "tnpoint_length", + "name": "nsegment_srid", "file": "meos_npoint.h", "returnType": { - "c": "double", - "canonical": "double" + "c": "int32_t", + "canonical": "int" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "ns", + "cType": "const Nsegment *", + "canonical": "const Nsegment *" } ] }, { - "name": "tnpoint_positions", + "name": "npoint_timestamptz_to_stbox", "file": "meos_npoint.h", "returnType": { - "c": "Nsegment **", - "canonical": "Nsegment **" + "c": "STBox *", + "canonical": "struct STBox *" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "np", + "cType": "const Npoint *", + "canonical": "const Npoint *" }, { - "name": "count", - "cType": "int *", - "canonical": "int *" + "name": "t", + "cType": "TimestampTz", + "canonical": "long" } ] }, { - "name": "tnpoint_route", + "name": "npoint_tstzspan_to_stbox", "file": "meos_npoint.h", "returnType": { - "c": "int64", - "canonical": "long" + "c": "STBox *", + "canonical": "struct STBox *" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "np", + "cType": "const Npoint *", + "canonical": "const Npoint *" + }, + { + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" } ] }, { - "name": "tnpoint_routes", + "name": "npoint_cmp", "file": "meos_npoint.h", "returnType": { - "c": "Set *", - "canonical": "Set *" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "np1", + "cType": "const Npoint *", + "canonical": "const Npoint *" + }, + { + "name": "np2", + "cType": "const Npoint *", + "canonical": "const Npoint *" } ] }, { - "name": "tnpoint_speed", + "name": "npoint_eq", "file": "meos_npoint.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "np1", + "cType": "const Npoint *", + "canonical": "const Npoint *" + }, + { + "name": "np2", + "cType": "const Npoint *", + "canonical": "const Npoint *" } ] }, { - "name": "tnpoint_trajectory", + "name": "npoint_ge", "file": "meos_npoint.h", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "np1", + "cType": "const Npoint *", + "canonical": "const Npoint *" + }, + { + "name": "np2", + "cType": "const Npoint *", + "canonical": "const Npoint *" } ] }, { - "name": "tnpoint_twcentroid", + "name": "npoint_gt", "file": "meos_npoint.h", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "np1", + "cType": "const Npoint *", + "canonical": "const Npoint *" + }, + { + "name": "np2", + "cType": "const Npoint *", + "canonical": "const Npoint *" } ] }, { - "name": "tnpoint_at_geom", + "name": "npoint_le", "file": "meos_npoint.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "np1", + "cType": "const Npoint *", + "canonical": "const Npoint *" }, { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "name": "np2", + "cType": "const Npoint *", + "canonical": "const Npoint *" } ] }, { - "name": "tnpoint_at_npoint", + "name": "npoint_lt", "file": "meos_npoint.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "np1", + "cType": "const Npoint *", + "canonical": "const Npoint *" }, { - "name": "np", + "name": "np2", "cType": "const Npoint *", "canonical": "const Npoint *" } ] }, { - "name": "tnpoint_at_npointset", + "name": "npoint_ne", "file": "meos_npoint.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "np1", + "cType": "const Npoint *", + "canonical": "const Npoint *" }, { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" + "name": "np2", + "cType": "const Npoint *", + "canonical": "const Npoint *" } ] }, { - "name": "tnpoint_at_stbox", + "name": "npoint_same", "file": "meos_npoint.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "box", - "cType": "const STBox *", - "canonical": "const struct STBox *" + "name": "np1", + "cType": "const Npoint *", + "canonical": "const Npoint *" }, { - "name": "border_inc", - "cType": "bool", - "canonical": "bool" + "name": "np2", + "cType": "const Npoint *", + "canonical": "const Npoint *" } ] }, { - "name": "tnpoint_minus_geom", + "name": "nsegment_cmp", "file": "meos_npoint.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "ns1", + "cType": "const Nsegment *", + "canonical": "const Nsegment *" }, { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "name": "ns2", + "cType": "const Nsegment *", + "canonical": "const Nsegment *" } ] }, { - "name": "tnpoint_minus_npoint", + "name": "nsegment_eq", "file": "meos_npoint.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "ns1", + "cType": "const Nsegment *", + "canonical": "const Nsegment *" }, { - "name": "np", - "cType": "const Npoint *", - "canonical": "const Npoint *" + "name": "ns2", + "cType": "const Nsegment *", + "canonical": "const Nsegment *" } ] }, { - "name": "tnpoint_minus_npointset", + "name": "nsegment_ge", "file": "meos_npoint.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "ns1", + "cType": "const Nsegment *", + "canonical": "const Nsegment *" }, { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" + "name": "ns2", + "cType": "const Nsegment *", + "canonical": "const Nsegment *" } ] }, { - "name": "tnpoint_minus_stbox", + "name": "nsegment_gt", "file": "meos_npoint.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "box", - "cType": "const STBox *", - "canonical": "const struct STBox *" + "name": "ns1", + "cType": "const Nsegment *", + "canonical": "const Nsegment *" }, { - "name": "border_inc", - "cType": "bool", - "canonical": "bool" + "name": "ns2", + "cType": "const Nsegment *", + "canonical": "const Nsegment *" } ] }, { - "name": "tdistance_tnpoint_npoint", + "name": "nsegment_le", "file": "meos_npoint.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "ns1", + "cType": "const Nsegment *", + "canonical": "const Nsegment *" }, { - "name": "np", - "cType": "const Npoint *", - "canonical": "const Npoint *" + "name": "ns2", + "cType": "const Nsegment *", + "canonical": "const Nsegment *" } ] }, { - "name": "tdistance_tnpoint_point", + "name": "nsegment_lt", "file": "meos_npoint.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "ns1", + "cType": "const Nsegment *", + "canonical": "const Nsegment *" }, { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "name": "ns2", + "cType": "const Nsegment *", + "canonical": "const Nsegment *" } ] }, { - "name": "tdistance_tnpoint_tnpoint", + "name": "nsegment_ne", "file": "meos_npoint.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "ns1", + "cType": "const Nsegment *", + "canonical": "const Nsegment *" }, { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "ns2", + "cType": "const Nsegment *", + "canonical": "const Nsegment *" } ] }, { - "name": "nad_tnpoint_geo", + "name": "npointset_in", "file": "meos_npoint.h", "returnType": { - "c": "double", - "canonical": "double" + "c": "Set *", + "canonical": "Set *" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "str", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "npointset_out", + "file": "meos_npoint.h", + "returnType": { + "c": "char *", + "canonical": "char *" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" }, { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "name": "maxdd", + "cType": "int", + "canonical": "int" } ] }, { - "name": "nad_tnpoint_npoint", + "name": "npointset_make", "file": "meos_npoint.h", "returnType": { - "c": "double", - "canonical": "double" + "c": "Set *", + "canonical": "Set *" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "values", + "cType": "Npoint **", + "canonical": "Npoint **" }, + { + "name": "count", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "npoint_to_set", + "file": "meos_npoint.h", + "returnType": { + "c": "Set *", + "canonical": "Set *" + }, + "params": [ { "name": "np", "cType": "const Npoint *", @@ -54337,137 +54491,127 @@ ] }, { - "name": "nad_tnpoint_stbox", + "name": "npointset_end_value", "file": "meos_npoint.h", "returnType": { - "c": "double", - "canonical": "double" + "c": "Npoint *", + "canonical": "Npoint *" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "box", - "cType": "const STBox *", - "canonical": "const struct STBox *" + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" } ] }, { - "name": "nad_tnpoint_tnpoint", + "name": "npointset_routes", "file": "meos_npoint.h", "returnType": { - "c": "double", - "canonical": "double" + "c": "Set *", + "canonical": "Set *" }, "params": [ { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" } ] }, { - "name": "nai_tnpoint_geo", + "name": "npointset_start_value", "file": "meos_npoint.h", "returnType": { - "c": "TInstant *", - "canonical": "struct TInstant *" + "c": "Npoint *", + "canonical": "Npoint *" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" } ] }, { - "name": "nai_tnpoint_npoint", + "name": "npointset_value_n", "file": "meos_npoint.h", "returnType": { - "c": "TInstant *", - "canonical": "struct TInstant *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" }, { - "name": "np", - "cType": "const Npoint *", - "canonical": "const Npoint *" + "name": "n", + "cType": "int", + "canonical": "int" + }, + { + "name": "result", + "cType": "Npoint **", + "canonical": "Npoint **" } ] }, { - "name": "nai_tnpoint_tnpoint", + "name": "npointset_values", "file": "meos_npoint.h", "returnType": { - "c": "TInstant *", - "canonical": "struct TInstant *" + "c": "Npoint **", + "canonical": "Npoint **" }, "params": [ { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" }, { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "count", + "cType": "int *", + "canonical": "int *" } ] }, { - "name": "shortestline_tnpoint_geo", + "name": "contained_npoint_set", "file": "meos_npoint.h", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "np", + "cType": "const Npoint *", + "canonical": "const Npoint *" }, { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" } ] }, { - "name": "shortestline_tnpoint_npoint", + "name": "contains_set_npoint", "file": "meos_npoint.h", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" }, { "name": "np", @@ -54477,51 +54621,51 @@ ] }, { - "name": "shortestline_tnpoint_tnpoint", + "name": "intersection_npoint_set", "file": "meos_npoint.h", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "Set *", + "canonical": "Set *" }, "params": [ { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "np", + "cType": "const Npoint *", + "canonical": "const Npoint *" }, { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" } ] }, { - "name": "tnpoint_tcentroid_transfn", + "name": "intersection_set_npoint", "file": "meos_npoint.h", "returnType": { - "c": "SkipList *", - "canonical": "struct SkipList *" + "c": "Set *", + "canonical": "Set *" }, "params": [ { - "name": "state", - "cType": "SkipList *", - "canonical": "struct SkipList *" + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" }, { - "name": "temp", - "cType": "Temporal *", - "canonical": "Temporal *" + "name": "np", + "cType": "const Npoint *", + "canonical": "const Npoint *" } ] }, { - "name": "always_eq_npoint_tnpoint", + "name": "minus_npoint_set", "file": "meos_npoint.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "Set *", + "canonical": "Set *" }, "params": [ { @@ -54530,24 +54674,24 @@ "canonical": "const Npoint *" }, { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" } ] }, { - "name": "always_eq_tnpoint_npoint", + "name": "minus_set_npoint", "file": "meos_npoint.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "Set *", + "canonical": "Set *" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" }, { "name": "np", @@ -54557,31 +54701,31 @@ ] }, { - "name": "always_eq_tnpoint_tnpoint", + "name": "npoint_union_transfn", "file": "meos_npoint.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "Set *", + "canonical": "Set *" }, "params": [ { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "state", + "cType": "Set *", + "canonical": "Set *" }, { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "np", + "cType": "const Npoint *", + "canonical": "const Npoint *" } ] }, { - "name": "always_ne_npoint_tnpoint", + "name": "union_npoint_set", "file": "meos_npoint.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "Set *", + "canonical": "Set *" }, "params": [ { @@ -54590,24 +54734,24 @@ "canonical": "const Npoint *" }, { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" } ] }, { - "name": "always_ne_tnpoint_npoint", + "name": "union_set_npoint", "file": "meos_npoint.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "Set *", + "canonical": "Set *" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" }, { "name": "np", @@ -54617,51 +54761,41 @@ ] }, { - "name": "always_ne_tnpoint_tnpoint", + "name": "tnpoint_in", "file": "meos_npoint.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "str", + "cType": "const char *", + "canonical": "const char *" } ] }, { - "name": "ever_eq_npoint_tnpoint", + "name": "tnpoint_from_mfjson", "file": "meos_npoint.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "np", - "cType": "const Npoint *", - "canonical": "const Npoint *" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "mfjson", + "cType": "const char *", + "canonical": "const char *" } ] }, { - "name": "ever_eq_tnpoint_npoint", + "name": "tnpoint_out", "file": "meos_npoint.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "char *", + "canonical": "char *" }, "params": [ { @@ -54670,38 +54804,38 @@ "canonical": "const Temporal *" }, { - "name": "np", - "cType": "const Npoint *", - "canonical": "const Npoint *" + "name": "maxdd", + "cType": "int", + "canonical": "int" } ] }, { - "name": "ever_eq_tnpoint_tnpoint", + "name": "tnpointinst_make", "file": "meos_npoint.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "TInstant *", + "canonical": "struct TInstant *" }, "params": [ { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "np", + "cType": "const Npoint *", + "canonical": "const Npoint *" }, { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "t", + "cType": "TimestampTz", + "canonical": "long" } ] }, { - "name": "ever_ne_npoint_tnpoint", + "name": "tnpoint_from_base_temp", "file": "meos_npoint.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { @@ -54717,67 +54851,77 @@ ] }, { - "name": "ever_ne_tnpoint_npoint", + "name": "tnpointseq_from_base_tstzset", "file": "meos_npoint.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "TSequence *", + "canonical": "struct TSequence *" }, "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, { "name": "np", "cType": "const Npoint *", "canonical": "const Npoint *" + }, + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" } ] }, { - "name": "ever_ne_tnpoint_tnpoint", + "name": "tnpointseq_from_base_tstzspan", "file": "meos_npoint.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "TSequence *", + "canonical": "struct TSequence *" }, "params": [ { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "np", + "cType": "const Npoint *", + "canonical": "const Npoint *" }, { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "interp", + "cType": "interpType", + "canonical": "interpType" } ] }, { - "name": "teq_tnpoint_npoint", + "name": "tnpointseqset_from_base_tstzspanset", "file": "meos_npoint.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" }, "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, { "name": "np", "cType": "const Npoint *", "canonical": "const Npoint *" + }, + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" + }, + { + "name": "interp", + "cType": "interpType", + "canonical": "interpType" } ] }, { - "name": "tne_tnpoint_npoint", + "name": "tgeompoint_to_tnpoint", "file": "meos_npoint.h", "returnType": { "c": "Temporal *", @@ -54788,1055 +54932,1010 @@ "name": "temp", "cType": "const Temporal *", "canonical": "const Temporal *" - }, - { - "name": "np", - "cType": "const Npoint *", - "canonical": "const Npoint *" } ] }, { - "name": "pose_as_ewkt", - "file": "meos_pose.h", + "name": "tnpoint_to_tgeompoint", + "file": "meos_npoint.h", "returnType": { - "c": "char *", - "canonical": "char *" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "pose", - "cType": "const Pose *", - "canonical": "const struct Pose *" - }, - { - "name": "maxdd", - "cType": "int", - "canonical": "int" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "pose_as_hexwkb", - "file": "meos_pose.h", + "name": "tnpoint_cumulative_length", + "file": "meos_npoint.h", "returnType": { - "c": "char *", - "canonical": "char *" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "pose", - "cType": "const Pose *", - "canonical": "const struct Pose *" - }, - { - "name": "variant", - "cType": "uint8_t", - "canonical": "unsigned char" - }, - { - "name": "size", - "cType": "size_t *", - "canonical": "unsigned long *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "pose_as_text", - "file": "meos_pose.h", + "name": "tnpoint_end_value", + "file": "meos_npoint.h", "returnType": { - "c": "char *", - "canonical": "char *" + "c": "Npoint *", + "canonical": "Npoint *" }, "params": [ { - "name": "pose", - "cType": "const Pose *", - "canonical": "const struct Pose *" - }, - { - "name": "maxdd", - "cType": "int", - "canonical": "int" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "pose_as_wkb", - "file": "meos_pose.h", + "name": "tnpoint_length", + "file": "meos_npoint.h", "returnType": { - "c": "uint8_t *", - "canonical": "unsigned char *" + "c": "double", + "canonical": "double" }, "params": [ { - "name": "pose", - "cType": "const Pose *", - "canonical": "const struct Pose *" - }, - { - "name": "variant", - "cType": "uint8_t", - "canonical": "unsigned char" - }, - { - "name": "size_out", - "cType": "size_t *", - "canonical": "unsigned long *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "pose_from_wkb", - "file": "meos_pose.h", + "name": "tnpoint_positions", + "file": "meos_npoint.h", "returnType": { - "c": "Pose *", - "canonical": "struct Pose *" + "c": "Nsegment **", + "canonical": "Nsegment **" }, "params": [ { - "name": "wkb", - "cType": "const uint8_t *", - "canonical": "const unsigned char *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" }, { - "name": "size", - "cType": "size_t", - "canonical": "unsigned long" + "name": "count", + "cType": "int *", + "canonical": "int *" } ] }, { - "name": "pose_from_hexwkb", - "file": "meos_pose.h", + "name": "tnpoint_route", + "file": "meos_npoint.h", "returnType": { - "c": "Pose *", - "canonical": "struct Pose *" + "c": "int64", + "canonical": "long" }, "params": [ { - "name": "hexwkb", - "cType": "const char *", - "canonical": "const char *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "pose_in", - "file": "meos_pose.h", + "name": "tnpoint_routes", + "file": "meos_npoint.h", "returnType": { - "c": "Pose *", - "canonical": "struct Pose *" + "c": "Set *", + "canonical": "Set *" }, "params": [ { - "name": "str", - "cType": "const char *", - "canonical": "const char *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "pose_out", - "file": "meos_pose.h", + "name": "tnpoint_speed", + "file": "meos_npoint.h", "returnType": { - "c": "char *", - "canonical": "char *" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "pose", - "cType": "const Pose *", - "canonical": "const struct Pose *" - }, - { - "name": "maxdd", - "cType": "int", - "canonical": "int" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "pose_copy", - "file": "meos_pose.h", + "name": "tnpoint_start_value", + "file": "meos_npoint.h", "returnType": { - "c": "Pose *", - "canonical": "struct Pose *" + "c": "Npoint *", + "canonical": "Npoint *" }, "params": [ { - "name": "pose", - "cType": "const Pose *", - "canonical": "const struct Pose *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "pose_make_2d", - "file": "meos_pose.h", + "name": "tnpoint_trajectory", + "file": "meos_npoint.h", "returnType": { - "c": "Pose *", - "canonical": "struct Pose *" + "c": "int *", + "canonical": "int *" }, "params": [ { - "name": "x", - "cType": "double", - "canonical": "double" - }, - { - "name": "y", - "cType": "double", - "canonical": "double" - }, - { - "name": "theta", - "cType": "double", - "canonical": "double" - }, - { - "name": "srid", - "cType": "int32_t", - "canonical": "int" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "pose_make_3d", - "file": "meos_pose.h", + "name": "tnpoint_value_at_timestamptz", + "file": "meos_npoint.h", "returnType": { - "c": "Pose *", - "canonical": "struct Pose *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "x", - "cType": "double", - "canonical": "double" - }, - { - "name": "y", - "cType": "double", - "canonical": "double" - }, - { - "name": "z", - "cType": "double", - "canonical": "double" - }, - { - "name": "W", - "cType": "double", - "canonical": "double" - }, - { - "name": "X", - "cType": "double", - "canonical": "double" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" }, { - "name": "Y", - "cType": "double", - "canonical": "double" + "name": "t", + "cType": "TimestampTz", + "canonical": "long" }, { - "name": "Z", - "cType": "double", - "canonical": "double" + "name": "strict", + "cType": "bool", + "canonical": "bool" }, { - "name": "srid", - "cType": "int32_t", - "canonical": "int" + "name": "value", + "cType": "Npoint **", + "canonical": "Npoint **" } ] }, { - "name": "pose_make_point2d", - "file": "meos_pose.h", + "name": "tnpoint_value_n", + "file": "meos_npoint.h", "returnType": { - "c": "Pose *", - "canonical": "struct Pose *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" }, { - "name": "theta", - "cType": "double", - "canonical": "double" + "name": "n", + "cType": "int", + "canonical": "int" + }, + { + "name": "result", + "cType": "Npoint **", + "canonical": "Npoint **" } ] }, { - "name": "pose_make_point3d", - "file": "meos_pose.h", + "name": "tnpoint_values", + "file": "meos_npoint.h", "returnType": { - "c": "Pose *", - "canonical": "struct Pose *" + "c": "Npoint **", + "canonical": "Npoint **" }, "params": [ { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" - }, - { - "name": "W", - "cType": "double", - "canonical": "double" - }, - { - "name": "X", - "cType": "double", - "canonical": "double" - }, - { - "name": "Y", - "cType": "double", - "canonical": "double" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" }, { - "name": "Z", - "cType": "double", - "canonical": "double" + "name": "count", + "cType": "int *", + "canonical": "int *" } ] }, { - "name": "pose_to_point", - "file": "meos_pose.h", + "name": "tnpoint_twcentroid", + "file": "meos_npoint.h", "returnType": { "c": "int *", "canonical": "int *" }, "params": [ { - "name": "pose", - "cType": "const Pose *", - "canonical": "const struct Pose *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "pose_to_stbox", - "file": "meos_pose.h", + "name": "tnpoint_at_geom", + "file": "meos_npoint.h", "returnType": { - "c": "STBox *", - "canonical": "struct STBox *" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "pose", - "cType": "const Pose *", - "canonical": "const struct Pose *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" } ] }, { - "name": "pose_hash", - "file": "meos_pose.h", + "name": "tnpoint_at_npoint", + "file": "meos_npoint.h", "returnType": { - "c": "uint32", - "canonical": "unsigned int" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "pose", - "cType": "const Pose *", - "canonical": "const struct Pose *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "np", + "cType": "const Npoint *", + "canonical": "const Npoint *" } ] }, { - "name": "pose_hash_extended", - "file": "meos_pose.h", + "name": "tnpoint_at_npointset", + "file": "meos_npoint.h", "returnType": { - "c": "uint64", - "canonical": "unsigned long" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "pose", - "cType": "const Pose *", - "canonical": "const struct Pose *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" }, { - "name": "seed", - "cType": "uint64", - "canonical": "unsigned long" + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" } ] }, { - "name": "pose_orientation", - "file": "meos_pose.h", + "name": "tnpoint_at_stbox", + "file": "meos_npoint.h", "returnType": { - "c": "double *", - "canonical": "double *" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "pose", - "cType": "const Pose *", - "canonical": "const struct Pose *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" + }, + { + "name": "border_inc", + "cType": "bool", + "canonical": "bool" } ] }, { - "name": "pose_rotation", - "file": "meos_pose.h", + "name": "tnpoint_minus_geom", + "file": "meos_npoint.h", "returnType": { - "c": "double", - "canonical": "double" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "pose", - "cType": "const Pose *", - "canonical": "const struct Pose *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" } ] }, { - "name": "pose_round", - "file": "meos_pose.h", + "name": "tnpoint_minus_npoint", + "file": "meos_npoint.h", "returnType": { - "c": "Pose *", - "canonical": "struct Pose *" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "pose", - "cType": "const Pose *", - "canonical": "const struct Pose *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" }, { - "name": "maxdd", - "cType": "int", - "canonical": "int" + "name": "np", + "cType": "const Npoint *", + "canonical": "const Npoint *" } ] }, { - "name": "posearr_round", - "file": "meos_pose.h", + "name": "tnpoint_minus_npointset", + "file": "meos_npoint.h", "returnType": { - "c": "Pose **", - "canonical": "struct Pose **" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "posearr", - "cType": "const Pose **", - "canonical": "const struct Pose **" - }, - { - "name": "count", - "cType": "int", - "canonical": "int" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" }, { - "name": "maxdd", - "cType": "int", - "canonical": "int" + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" } ] }, { - "name": "pose_set_srid", - "file": "meos_pose.h", + "name": "tnpoint_minus_stbox", + "file": "meos_npoint.h", "returnType": { - "c": "void", - "canonical": "void" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "pose", - "cType": "Pose *", - "canonical": "struct Pose *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" }, { - "name": "srid", - "cType": "int32_t", - "canonical": "int" + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" + }, + { + "name": "border_inc", + "cType": "bool", + "canonical": "bool" } ] }, { - "name": "pose_srid", - "file": "meos_pose.h", + "name": "tdistance_tnpoint_npoint", + "file": "meos_npoint.h", "returnType": { - "c": "int32_t", - "canonical": "int" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "pose", - "cType": "const Pose *", - "canonical": "const struct Pose *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "np", + "cType": "const Npoint *", + "canonical": "const Npoint *" } ] }, { - "name": "pose_transform", - "file": "meos_pose.h", + "name": "tdistance_tnpoint_geo", + "file": "meos_npoint.h", "returnType": { - "c": "Pose *", - "canonical": "struct Pose *" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "pose", - "cType": "const Pose *", - "canonical": "const struct Pose *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" }, { - "name": "srid", - "cType": "int32_t", - "canonical": "int" + "name": "gs", + "cType": "const int *", + "canonical": "const int *" } ] }, { - "name": "pose_transform_pipeline", - "file": "meos_pose.h", + "name": "tdistance_tnpoint_tnpoint", + "file": "meos_npoint.h", "returnType": { - "c": "Pose *", - "canonical": "struct Pose *" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "pose", - "cType": "const Pose *", - "canonical": "const struct Pose *" - }, - { - "name": "pipelinestr", - "cType": "const char *", - "canonical": "const char *" - }, - { - "name": "srid", - "cType": "int32_t", - "canonical": "int" + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" }, { - "name": "is_forward", - "cType": "bool", - "canonical": "bool" + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "pose_tstzspan_to_stbox", - "file": "meos_pose.h", + "name": "nad_tnpoint_geo", + "file": "meos_npoint.h", "returnType": { - "c": "STBox *", - "canonical": "struct STBox *" + "c": "double", + "canonical": "double" }, "params": [ { - "name": "pose", - "cType": "const Pose *", - "canonical": "const struct Pose *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" }, { - "name": "s", - "cType": "const Span *", - "canonical": "const struct Span *" + "name": "gs", + "cType": "const int *", + "canonical": "const int *" } ] }, { - "name": "pose_timestamptz_to_stbox", - "file": "meos_pose.h", + "name": "nad_tnpoint_npoint", + "file": "meos_npoint.h", "returnType": { - "c": "STBox *", - "canonical": "struct STBox *" + "c": "double", + "canonical": "double" }, "params": [ { - "name": "pose", - "cType": "const Pose *", - "canonical": "const struct Pose *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" }, { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" + "name": "np", + "cType": "const Npoint *", + "canonical": "const Npoint *" } ] }, { - "name": "distance_pose_geo", - "file": "meos_pose.h", + "name": "nad_tnpoint_stbox", + "file": "meos_npoint.h", "returnType": { "c": "double", "canonical": "double" }, "params": [ { - "name": "pose", - "cType": "const Pose *", - "canonical": "const struct Pose *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" }, { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" } ] }, { - "name": "distance_pose_pose", - "file": "meos_pose.h", + "name": "nad_tnpoint_tnpoint", + "file": "meos_npoint.h", "returnType": { "c": "double", "canonical": "double" }, "params": [ { - "name": "pose1", - "cType": "const Pose *", - "canonical": "const struct Pose *" + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" }, { - "name": "pose2", - "cType": "const Pose *", - "canonical": "const struct Pose *" + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "distance_pose_stbox", - "file": "meos_pose.h", + "name": "nai_tnpoint_geo", + "file": "meos_npoint.h", "returnType": { - "c": "double", - "canonical": "double" + "c": "TInstant *", + "canonical": "struct TInstant *" }, "params": [ { - "name": "pose", - "cType": "const Pose *", - "canonical": "const struct Pose *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" }, { - "name": "box", - "cType": "const STBox *", - "canonical": "const struct STBox *" + "name": "gs", + "cType": "const int *", + "canonical": "const int *" } ] }, { - "name": "pose_cmp", - "file": "meos_pose.h", + "name": "nai_tnpoint_npoint", + "file": "meos_npoint.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "TInstant *", + "canonical": "struct TInstant *" }, "params": [ { - "name": "pose1", - "cType": "const Pose *", - "canonical": "const struct Pose *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" }, { - "name": "pose2", - "cType": "const Pose *", - "canonical": "const struct Pose *" + "name": "np", + "cType": "const Npoint *", + "canonical": "const Npoint *" } ] }, { - "name": "pose_eq", - "file": "meos_pose.h", + "name": "nai_tnpoint_tnpoint", + "file": "meos_npoint.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "TInstant *", + "canonical": "struct TInstant *" }, "params": [ { - "name": "pose1", - "cType": "const Pose *", - "canonical": "const struct Pose *" + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" }, { - "name": "pose2", - "cType": "const Pose *", - "canonical": "const struct Pose *" + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "pose_ge", - "file": "meos_pose.h", + "name": "shortestline_tnpoint_geo", + "file": "meos_npoint.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "int *", + "canonical": "int *" }, "params": [ { - "name": "pose1", - "cType": "const Pose *", - "canonical": "const struct Pose *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" }, { - "name": "pose2", - "cType": "const Pose *", - "canonical": "const struct Pose *" + "name": "gs", + "cType": "const int *", + "canonical": "const int *" } ] }, { - "name": "pose_gt", - "file": "meos_pose.h", + "name": "shortestline_tnpoint_npoint", + "file": "meos_npoint.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "int *", + "canonical": "int *" }, "params": [ { - "name": "pose1", - "cType": "const Pose *", - "canonical": "const struct Pose *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" }, { - "name": "pose2", - "cType": "const Pose *", - "canonical": "const struct Pose *" + "name": "np", + "cType": "const Npoint *", + "canonical": "const Npoint *" } ] }, { - "name": "pose_le", - "file": "meos_pose.h", + "name": "shortestline_tnpoint_tnpoint", + "file": "meos_npoint.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "int *", + "canonical": "int *" }, "params": [ { - "name": "pose1", - "cType": "const Pose *", - "canonical": "const struct Pose *" + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" }, { - "name": "pose2", - "cType": "const Pose *", - "canonical": "const struct Pose *" + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "pose_lt", - "file": "meos_pose.h", + "name": "tnpoint_tcentroid_transfn", + "file": "meos_npoint.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "SkipList *", + "canonical": "struct SkipList *" }, "params": [ { - "name": "pose1", - "cType": "const Pose *", - "canonical": "const struct Pose *" + "name": "state", + "cType": "SkipList *", + "canonical": "struct SkipList *" }, { - "name": "pose2", - "cType": "const Pose *", - "canonical": "const struct Pose *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "pose_ne", - "file": "meos_pose.h", + "name": "always_eq_npoint_tnpoint", + "file": "meos_npoint.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "pose1", - "cType": "const Pose *", - "canonical": "const struct Pose *" + "name": "np", + "cType": "const Npoint *", + "canonical": "const Npoint *" }, { - "name": "pose2", - "cType": "const Pose *", - "canonical": "const struct Pose *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "pose_nsame", - "file": "meos_pose.h", + "name": "always_eq_tnpoint_npoint", + "file": "meos_npoint.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "pose1", - "cType": "const Pose *", - "canonical": "const struct Pose *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" }, { - "name": "pose2", - "cType": "const Pose *", - "canonical": "const struct Pose *" + "name": "np", + "cType": "const Npoint *", + "canonical": "const Npoint *" } ] }, { - "name": "pose_same", - "file": "meos_pose.h", + "name": "always_eq_tnpoint_tnpoint", + "file": "meos_npoint.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "pose1", - "cType": "const Pose *", - "canonical": "const struct Pose *" + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" }, { - "name": "pose2", - "cType": "const Pose *", - "canonical": "const struct Pose *" + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "poseset_in", - "file": "meos_pose.h", + "name": "always_ne_npoint_tnpoint", + "file": "meos_npoint.h", "returnType": { - "c": "Set *", - "canonical": "Set *" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "str", - "cType": "const char *", - "canonical": "const char *" + "name": "np", + "cType": "const Npoint *", + "canonical": "const Npoint *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "poseset_out", - "file": "meos_pose.h", + "name": "always_ne_tnpoint_npoint", + "file": "meos_npoint.h", "returnType": { - "c": "char *", - "canonical": "char *" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" }, { - "name": "maxdd", - "cType": "int", - "canonical": "int" + "name": "np", + "cType": "const Npoint *", + "canonical": "const Npoint *" } ] }, { - "name": "poseset_make", - "file": "meos_pose.h", + "name": "always_ne_tnpoint_tnpoint", + "file": "meos_npoint.h", "returnType": { - "c": "Set *", - "canonical": "Set *" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "values", - "cType": "const Pose **", - "canonical": "const struct Pose **" + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" }, { - "name": "count", - "cType": "int", - "canonical": "int" + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "pose_to_set", - "file": "meos_pose.h", + "name": "ever_eq_npoint_tnpoint", + "file": "meos_npoint.h", "returnType": { - "c": "Set *", - "canonical": "Set *" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "pose", - "cType": "const Pose *", - "canonical": "const struct Pose *" + "name": "np", + "cType": "const Npoint *", + "canonical": "const Npoint *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "poseset_end_value", - "file": "meos_pose.h", + "name": "ever_eq_tnpoint_npoint", + "file": "meos_npoint.h", "returnType": { - "c": "Pose *", - "canonical": "struct Pose *" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "np", + "cType": "const Npoint *", + "canonical": "const Npoint *" } ] }, { - "name": "poseset_start_value", - "file": "meos_pose.h", + "name": "ever_eq_tnpoint_tnpoint", + "file": "meos_npoint.h", "returnType": { - "c": "Pose *", - "canonical": "struct Pose *" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "poseset_value_n", - "file": "meos_pose.h", + "name": "ever_ne_npoint_tnpoint", + "file": "meos_npoint.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "n", - "cType": "int", - "canonical": "int" + "name": "np", + "cType": "const Npoint *", + "canonical": "const Npoint *" }, { - "name": "result", - "cType": "Pose **", - "canonical": "struct Pose **" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "poseset_values", - "file": "meos_pose.h", + "name": "ever_ne_tnpoint_npoint", + "file": "meos_npoint.h", "returnType": { - "c": "Pose **", - "canonical": "struct Pose **" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "np", + "cType": "const Npoint *", + "canonical": "const Npoint *" } ] }, { - "name": "contained_pose_set", - "file": "meos_pose.h", + "name": "ever_ne_tnpoint_tnpoint", + "file": "meos_npoint.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "pose", - "cType": "const Pose *", - "canonical": "const struct Pose *" + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" }, { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "contains_set_pose", - "file": "meos_pose.h", + "name": "teq_tnpoint_npoint", + "file": "meos_npoint.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" }, { - "name": "pose", - "cType": "Pose *", - "canonical": "struct Pose *" + "name": "np", + "cType": "const Npoint *", + "canonical": "const Npoint *" } ] }, { - "name": "intersection_pose_set", - "file": "meos_pose.h", + "name": "tne_tnpoint_npoint", + "file": "meos_npoint.h", "returnType": { - "c": "Set *", - "canonical": "Set *" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "pose", - "cType": "const Pose *", - "canonical": "const struct Pose *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" }, { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" + "name": "np", + "cType": "const Npoint *", + "canonical": "const Npoint *" } ] }, { - "name": "intersection_set_pose", + "name": "pose_as_ewkt", "file": "meos_pose.h", "returnType": { - "c": "Set *", - "canonical": "Set *" + "c": "char *", + "canonical": "char *" }, "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - }, { "name": "pose", "cType": "const Pose *", "canonical": "const struct Pose *" + }, + { + "name": "maxdd", + "cType": "int", + "canonical": "int" } ] }, { - "name": "minus_pose_set", + "name": "pose_as_hexwkb", "file": "meos_pose.h", "returnType": { - "c": "Set *", - "canonical": "Set *" + "c": "char *", + "canonical": "char *" }, "params": [ { @@ -55845,144 +55944,134 @@ "canonical": "const struct Pose *" }, { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" + "name": "variant", + "cType": "uint8_t", + "canonical": "unsigned char" + }, + { + "name": "size", + "cType": "size_t *", + "canonical": "unsigned long *" } ] }, { - "name": "minus_set_pose", + "name": "pose_as_text", "file": "meos_pose.h", "returnType": { - "c": "Set *", - "canonical": "Set *" + "c": "char *", + "canonical": "char *" }, "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - }, { "name": "pose", "cType": "const Pose *", "canonical": "const struct Pose *" + }, + { + "name": "maxdd", + "cType": "int", + "canonical": "int" } ] }, { - "name": "pose_union_transfn", + "name": "pose_as_wkb", "file": "meos_pose.h", "returnType": { - "c": "Set *", - "canonical": "Set *" + "c": "uint8_t *", + "canonical": "unsigned char *" }, "params": [ - { - "name": "state", - "cType": "Set *", - "canonical": "Set *" - }, { "name": "pose", "cType": "const Pose *", "canonical": "const struct Pose *" - } - ] - }, - { - "name": "union_pose_set", - "file": "meos_pose.h", - "returnType": { - "c": "Set *", - "canonical": "Set *" - }, - "params": [ + }, { - "name": "pose", - "cType": "const Pose *", - "canonical": "const struct Pose *" + "name": "variant", + "cType": "uint8_t", + "canonical": "unsigned char" }, { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" + "name": "size_out", + "cType": "size_t *", + "canonical": "unsigned long *" } ] }, { - "name": "union_set_pose", + "name": "pose_from_wkb", "file": "meos_pose.h", "returnType": { - "c": "Set *", - "canonical": "Set *" + "c": "Pose *", + "canonical": "struct Pose *" }, "params": [ { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" + "name": "wkb", + "cType": "const uint8_t *", + "canonical": "const unsigned char *" }, { - "name": "pose", - "cType": "const Pose *", - "canonical": "const struct Pose *" + "name": "size", + "cType": "size_t", + "canonical": "unsigned long" } ] }, { - "name": "tpose_in", + "name": "pose_from_hexwkb", "file": "meos_pose.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "Pose *", + "canonical": "struct Pose *" }, "params": [ { - "name": "str", + "name": "hexwkb", "cType": "const char *", "canonical": "const char *" } ] }, { - "name": "tpose_make", + "name": "pose_in", "file": "meos_pose.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "Pose *", + "canonical": "struct Pose *" }, "params": [ { - "name": "tpoint", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "tradius", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "str", + "cType": "const char *", + "canonical": "const char *" } ] }, { - "name": "tpose_to_tpoint", + "name": "pose_out", "file": "meos_pose.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "char *", + "canonical": "char *" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" + }, + { + "name": "maxdd", + "cType": "int", + "canonical": "int" } ] }, { - "name": "tpose_end_value", + "name": "pose_from_geopose", "file": "meos_pose.h", "returnType": { "c": "Pose *", @@ -55990,29 +56079,39 @@ }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "json", + "cType": "const char *", + "canonical": "const char *" } ] }, { - "name": "tpose_points", + "name": "pose_as_geopose", "file": "meos_pose.h", "returnType": { - "c": "Set *", - "canonical": "Set *" + "c": "char *", + "canonical": "char *" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" + }, + { + "name": "conformance", + "cType": "int", + "canonical": "int" + }, + { + "name": "precision", + "cType": "int", + "canonical": "int" } ] }, { - "name": "tpose_rotation", + "name": "tpose_from_geopose", "file": "meos_pose.h", "returnType": { "c": "Temporal *", @@ -56020,29 +56119,39 @@ }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "json", + "cType": "const char *", + "canonical": "const char *" } ] }, { - "name": "tpose_start_value", + "name": "tpose_as_geopose", "file": "meos_pose.h", "returnType": { - "c": "Pose *", - "canonical": "struct Pose *" + "c": "char *", + "canonical": "char *" }, "params": [ { "name": "temp", "cType": "const Temporal *", "canonical": "const Temporal *" + }, + { + "name": "conformance", + "cType": "int", + "canonical": "int" + }, + { + "name": "precision", + "cType": "int", + "canonical": "int" } ] }, { - "name": "tpose_trajectory", + "name": "pose_apply_geo", "file": "meos_pose.h", "returnType": { "c": "int *", @@ -56050,18 +56159,23 @@ }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" + }, + { + "name": "body", + "cType": "const int *", + "canonical": "const int *" } ] }, { - "name": "tpose_value_at_timestamptz", + "name": "tpose_apply_geo", "file": "meos_pose.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { @@ -56070,165 +56184,170 @@ "canonical": "const Temporal *" }, { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" - }, - { - "name": "strict", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "value", - "cType": "Pose **", - "canonical": "struct Pose **" + "name": "body", + "cType": "const int *", + "canonical": "const int *" } ] }, { - "name": "tpose_value_n", + "name": "pose_copy", "file": "meos_pose.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "Pose *", + "canonical": "struct Pose *" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "n", - "cType": "int", - "canonical": "int" - }, - { - "name": "result", - "cType": "Pose **", - "canonical": "struct Pose **" + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" } ] }, { - "name": "tpose_values", + "name": "pose_make_2d", "file": "meos_pose.h", "returnType": { - "c": "Pose **", - "canonical": "struct Pose **" + "c": "Pose *", + "canonical": "struct Pose *" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "x", + "cType": "double", + "canonical": "double" }, { - "name": "count", - "cType": "int *", - "canonical": "int *" - } - ] - }, - { - "name": "tpose_at_geom", - "file": "meos_pose.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ + "name": "y", + "cType": "double", + "canonical": "double" + }, { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "theta", + "cType": "double", + "canonical": "double" }, { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "name": "srid", + "cType": "int32_t", + "canonical": "int" } ] }, { - "name": "tpose_at_stbox", + "name": "pose_make_3d", "file": "meos_pose.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "Pose *", + "canonical": "struct Pose *" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "x", + "cType": "double", + "canonical": "double" }, { - "name": "box", - "cType": "const STBox *", - "canonical": "const struct STBox *" + "name": "y", + "cType": "double", + "canonical": "double" }, { - "name": "border_inc", - "cType": "bool", - "canonical": "bool" + "name": "z", + "cType": "double", + "canonical": "double" + }, + { + "name": "W", + "cType": "double", + "canonical": "double" + }, + { + "name": "X", + "cType": "double", + "canonical": "double" + }, + { + "name": "Y", + "cType": "double", + "canonical": "double" + }, + { + "name": "Z", + "cType": "double", + "canonical": "double" + }, + { + "name": "srid", + "cType": "int32_t", + "canonical": "int" } ] }, { - "name": "tpose_at_pose", + "name": "pose_make_point2d", "file": "meos_pose.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "Pose *", + "canonical": "struct Pose *" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "gs", + "cType": "const int *", + "canonical": "const int *" }, { - "name": "pose", - "cType": "const Pose *", - "canonical": "const struct Pose *" + "name": "theta", + "cType": "double", + "canonical": "double" } ] }, { - "name": "tpose_minus_geom", + "name": "pose_make_point3d", "file": "meos_pose.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "Pose *", + "canonical": "struct Pose *" }, "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, { "name": "gs", "cType": "const int *", "canonical": "const int *" + }, + { + "name": "W", + "cType": "double", + "canonical": "double" + }, + { + "name": "X", + "cType": "double", + "canonical": "double" + }, + { + "name": "Y", + "cType": "double", + "canonical": "double" + }, + { + "name": "Z", + "cType": "double", + "canonical": "double" } ] }, { - "name": "tpose_minus_pose", + "name": "pose_to_point", "file": "meos_pose.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "int *", + "canonical": "int *" }, "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, { "name": "pose", "cType": "const Pose *", @@ -56237,43 +56356,28 @@ ] }, { - "name": "tpose_minus_stbox", + "name": "pose_to_stbox", "file": "meos_pose.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "STBox *", + "canonical": "struct STBox *" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "box", - "cType": "const STBox *", - "canonical": "const struct STBox *" - }, - { - "name": "border_inc", - "cType": "bool", - "canonical": "bool" + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" } ] }, { - "name": "tdistance_tpose_pose", + "name": "pose_hash", "file": "meos_pose.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "uint32", + "canonical": "unsigned int" }, "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, { "name": "pose", "cType": "const Pose *", @@ -56282,47 +56386,47 @@ ] }, { - "name": "tdistance_tpose_point", + "name": "pose_hash_extended", "file": "meos_pose.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "uint64", + "canonical": "unsigned long" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" }, { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "name": "seed", + "cType": "uint64", + "canonical": "unsigned long" } ] }, { - "name": "tdistance_tpose_tpose", + "name": "pose_orientation", "file": "meos_pose.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "double *", + "canonical": "double *" }, "params": [ { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" }, { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "count", + "cType": "int *", + "canonical": "int *" } ] }, { - "name": "nad_tpose_geo", + "name": "pose_rotation", "file": "meos_pose.h", "returnType": { "c": "double", @@ -56330,30 +56434,20 @@ }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" } ] }, { - "name": "nad_tpose_pose", + "name": "pose_yaw", "file": "meos_pose.h", "returnType": { "c": "double", "canonical": "double" }, "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, { "name": "pose", "cType": "const Pose *", @@ -56362,7 +56456,7 @@ ] }, { - "name": "nad_tpose_stbox", + "name": "pose_pitch", "file": "meos_pose.h", "returnType": { "c": "double", @@ -56370,19 +56464,14 @@ }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "box", - "cType": "const STBox *", - "canonical": "const struct STBox *" + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" } ] }, { - "name": "nad_tpose_tpose", + "name": "pose_roll", "file": "meos_pose.h", "returnType": { "c": "double", @@ -56390,50 +56479,40 @@ }, "params": [ { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" } ] }, { - "name": "nai_tpose_geo", + "name": "pose_angular_distance", "file": "meos_pose.h", "returnType": { - "c": "TInstant *", - "canonical": "struct TInstant *" + "c": "double", + "canonical": "double" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "pose1", + "cType": "const Pose *", + "canonical": "const struct Pose *" }, { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "name": "pose2", + "cType": "const Pose *", + "canonical": "const struct Pose *" } ] }, { - "name": "nai_tpose_pose", + "name": "pose_normalise", "file": "meos_pose.h", "returnType": { - "c": "TInstant *", - "canonical": "struct TInstant *" + "c": "Pose *", + "canonical": "struct Pose *" }, "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, { "name": "pose", "cType": "const Pose *", @@ -56442,91 +56521,91 @@ ] }, { - "name": "nai_tpose_tpose", + "name": "pose_round", "file": "meos_pose.h", "returnType": { - "c": "TInstant *", - "canonical": "struct TInstant *" + "c": "Pose *", + "canonical": "struct Pose *" }, "params": [ { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" }, { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "maxdd", + "cType": "int", + "canonical": "int" } ] }, { - "name": "shortestline_tpose_geo", + "name": "posearr_round", "file": "meos_pose.h", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "Pose **", + "canonical": "struct Pose **" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "posearr", + "cType": "const Pose **", + "canonical": "const struct Pose **" }, { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "name": "count", + "cType": "int", + "canonical": "int" + }, + { + "name": "maxdd", + "cType": "int", + "canonical": "int" } ] }, { - "name": "shortestline_tpose_pose", + "name": "pose_set_srid", "file": "meos_pose.h", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "void", + "canonical": "void" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "pose", + "cType": "Pose *", + "canonical": "struct Pose *" }, { - "name": "pose", - "cType": "const Pose *", - "canonical": "const struct Pose *" + "name": "srid", + "cType": "int32_t", + "canonical": "int" } ] }, { - "name": "shortestline_tpose_tpose", + "name": "pose_srid", "file": "meos_pose.h", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "int32_t", + "canonical": "int" }, "params": [ { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" } ] }, { - "name": "always_eq_pose_tpose", + "name": "pose_transform", "file": "meos_pose.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "Pose *", + "canonical": "struct Pose *" }, "params": [ { @@ -56535,58 +56614,68 @@ "canonical": "const struct Pose *" }, { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "srid", + "cType": "int32_t", + "canonical": "int" } ] }, { - "name": "always_eq_tpose_pose", + "name": "pose_transform_pipeline", "file": "meos_pose.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "Pose *", + "canonical": "struct Pose *" }, "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, { "name": "pose", "cType": "const Pose *", "canonical": "const struct Pose *" + }, + { + "name": "pipelinestr", + "cType": "const char *", + "canonical": "const char *" + }, + { + "name": "srid", + "cType": "int32_t", + "canonical": "int" + }, + { + "name": "is_forward", + "cType": "bool", + "canonical": "bool" } ] }, { - "name": "always_eq_tpose_tpose", + "name": "pose_tstzspan_to_stbox", "file": "meos_pose.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "STBox *", + "canonical": "struct STBox *" }, "params": [ { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" }, { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" } ] }, { - "name": "always_ne_pose_tpose", + "name": "pose_timestamptz_to_stbox", "file": "meos_pose.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "STBox *", + "canonical": "struct STBox *" }, "params": [ { @@ -56595,58 +56684,58 @@ "canonical": "const struct Pose *" }, { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "t", + "cType": "TimestampTz", + "canonical": "long" } ] }, { - "name": "always_ne_tpose_pose", + "name": "distance_pose_geo", "file": "meos_pose.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "double", + "canonical": "double" }, "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, { "name": "pose", "cType": "const Pose *", "canonical": "const struct Pose *" + }, + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" } ] }, { - "name": "always_ne_tpose_tpose", + "name": "distance_pose_pose", "file": "meos_pose.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "double", + "canonical": "double" }, "params": [ { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "pose1", + "cType": "const Pose *", + "canonical": "const struct Pose *" }, { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "pose2", + "cType": "const Pose *", + "canonical": "const struct Pose *" } ] }, { - "name": "ever_eq_pose_tpose", + "name": "distance_pose_stbox", "file": "meos_pose.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "double", + "canonical": "double" }, "params": [ { @@ -56655,14 +56744,14 @@ "canonical": "const struct Pose *" }, { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" } ] }, { - "name": "ever_eq_tpose_pose", + "name": "pose_cmp", "file": "meos_pose.h", "returnType": { "c": "int", @@ -56670,615 +56759,665 @@ }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "pose1", + "cType": "const Pose *", + "canonical": "const struct Pose *" }, { - "name": "pose", + "name": "pose2", "cType": "const Pose *", "canonical": "const struct Pose *" } ] }, { - "name": "ever_eq_tpose_tpose", + "name": "pose_eq", "file": "meos_pose.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "pose1", + "cType": "const Pose *", + "canonical": "const struct Pose *" }, { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "pose2", + "cType": "const Pose *", + "canonical": "const struct Pose *" } ] }, { - "name": "ever_ne_pose_tpose", + "name": "pose_ge", "file": "meos_pose.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "pose", + "name": "pose1", "cType": "const Pose *", "canonical": "const struct Pose *" }, { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "pose2", + "cType": "const Pose *", + "canonical": "const struct Pose *" } ] }, { - "name": "ever_ne_tpose_pose", + "name": "pose_gt", "file": "meos_pose.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "pose1", + "cType": "const Pose *", + "canonical": "const struct Pose *" }, { - "name": "pose", + "name": "pose2", "cType": "const Pose *", "canonical": "const struct Pose *" } ] }, { - "name": "ever_ne_tpose_tpose", + "name": "pose_le", "file": "meos_pose.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "pose1", + "cType": "const Pose *", + "canonical": "const struct Pose *" }, { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "pose2", + "cType": "const Pose *", + "canonical": "const struct Pose *" } ] }, { - "name": "teq_pose_tpose", + "name": "pose_lt", "file": "meos_pose.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "pose", + "name": "pose1", "cType": "const Pose *", "canonical": "const struct Pose *" }, { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "pose2", + "cType": "const Pose *", + "canonical": "const struct Pose *" } ] }, { - "name": "teq_tpose_pose", + "name": "pose_ne", "file": "meos_pose.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "pose1", + "cType": "const Pose *", + "canonical": "const struct Pose *" }, { - "name": "pose", + "name": "pose2", "cType": "const Pose *", "canonical": "const struct Pose *" } ] }, { - "name": "tne_pose_tpose", + "name": "pose_nsame", "file": "meos_pose.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "pose", + "name": "pose1", "cType": "const Pose *", "canonical": "const struct Pose *" }, { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "pose2", + "cType": "const Pose *", + "canonical": "const struct Pose *" } ] }, { - "name": "tne_tpose_pose", + "name": "pose_same", "file": "meos_pose.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "pose1", + "cType": "const Pose *", + "canonical": "const struct Pose *" }, { - "name": "pose", + "name": "pose2", "cType": "const Pose *", "canonical": "const struct Pose *" } ] }, { - "name": "trgeometry_out", - "file": "meos_rgeo.h", + "name": "poseset_in", + "file": "meos_pose.h", "returnType": { - "c": "char *", - "canonical": "char *" + "c": "Set *", + "canonical": "Set *" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "str", + "cType": "const char *", + "canonical": "const char *" } ] }, { - "name": "trgeoinst_make", - "file": "meos_rgeo.h", + "name": "poseset_out", + "file": "meos_pose.h", "returnType": { - "c": "TInstant *", - "canonical": "struct TInstant *" + "c": "char *", + "canonical": "char *" }, "params": [ { - "name": "geom", - "cType": "const int *", - "canonical": "const int *" - }, - { - "name": "pose", - "cType": "const Pose *", - "canonical": "const struct Pose *" + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" }, { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" + "name": "maxdd", + "cType": "int", + "canonical": "int" } ] }, { - "name": "geo_tpose_to_trgeometry", - "file": "meos_rgeo.h", + "name": "poseset_make", + "file": "meos_pose.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "Set *", + "canonical": "Set *" }, "params": [ { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "name": "values", + "cType": "const Pose **", + "canonical": "const struct Pose **" }, { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "count", + "cType": "int", + "canonical": "int" } ] }, { - "name": "trgeometry_to_tpose", - "file": "meos_rgeo.h", + "name": "pose_to_set", + "file": "meos_pose.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "Set *", + "canonical": "Set *" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" } ] }, { - "name": "trgeometry_to_tpoint", - "file": "meos_rgeo.h", + "name": "poseset_end_value", + "file": "meos_pose.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "Pose *", + "canonical": "struct Pose *" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" } ] }, { - "name": "trgeometry_end_instant", - "file": "meos_rgeo.h", + "name": "poseset_start_value", + "file": "meos_pose.h", "returnType": { - "c": "TInstant *", - "canonical": "struct TInstant *" + "c": "Pose *", + "canonical": "struct Pose *" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" } ] }, { - "name": "trgeometry_end_sequence", - "file": "meos_rgeo.h", + "name": "poseset_value_n", + "file": "meos_pose.h", "returnType": { - "c": "TSequence *", - "canonical": "struct TSequence *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + }, + { + "name": "n", + "cType": "int", + "canonical": "int" + }, + { + "name": "result", + "cType": "Pose **", + "canonical": "struct Pose **" } ] }, { - "name": "trgeometry_end_value", - "file": "meos_rgeo.h", + "name": "poseset_values", + "file": "meos_pose.h", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "Pose **", + "canonical": "struct Pose **" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" } ] }, { - "name": "trgeometry_geom", - "file": "meos_rgeo.h", + "name": "contained_pose_set", + "file": "meos_pose.h", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" + }, + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" } ] }, { - "name": "trgeometry_instant_n", - "file": "meos_rgeo.h", + "name": "contains_set_pose", + "file": "meos_pose.h", "returnType": { - "c": "TInstant *", - "canonical": "struct TInstant *" + "c": "bool", + "canonical": "bool" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" }, { - "name": "n", - "cType": "int", - "canonical": "int" + "name": "pose", + "cType": "Pose *", + "canonical": "struct Pose *" } ] }, { - "name": "trgeometry_instants", - "file": "meos_rgeo.h", + "name": "intersection_pose_set", + "file": "meos_pose.h", "returnType": { - "c": "TInstant **", - "canonical": "struct TInstant **" + "c": "Set *", + "canonical": "Set *" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" }, { - "name": "count", - "cType": "int *", - "canonical": "int *" + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" } ] }, { - "name": "trgeometry_points", - "file": "meos_rgeo.h", + "name": "intersection_set_pose", + "file": "meos_pose.h", "returnType": { "c": "Set *", "canonical": "Set *" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + }, + { + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" } ] }, { - "name": "trgeometry_rotation", - "file": "meos_rgeo.h", + "name": "minus_pose_set", + "file": "meos_pose.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "Set *", + "canonical": "Set *" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" + }, + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" } ] }, { - "name": "trgeometry_segments", - "file": "meos_rgeo.h", + "name": "minus_set_pose", + "file": "meos_pose.h", "returnType": { - "c": "TSequence **", - "canonical": "struct TSequence **" + "c": "Set *", + "canonical": "Set *" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" }, { - "name": "count", - "cType": "int *", - "canonical": "int *" + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" } ] }, { - "name": "trgeometry_sequence_n", - "file": "meos_rgeo.h", + "name": "pose_union_transfn", + "file": "meos_pose.h", "returnType": { - "c": "TSequence *", - "canonical": "struct TSequence *" + "c": "Set *", + "canonical": "Set *" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "state", + "cType": "Set *", + "canonical": "Set *" }, { - "name": "i", - "cType": "int", - "canonical": "int" + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" } ] }, { - "name": "trgeometry_sequences", - "file": "meos_rgeo.h", + "name": "union_pose_set", + "file": "meos_pose.h", "returnType": { - "c": "TSequence **", - "canonical": "struct TSequence **" + "c": "Set *", + "canonical": "Set *" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" }, { - "name": "count", - "cType": "int *", - "canonical": "int *" + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" } ] }, { - "name": "trgeometry_start_instant", - "file": "meos_rgeo.h", + "name": "union_set_pose", + "file": "meos_pose.h", "returnType": { - "c": "TInstant *", - "canonical": "struct TInstant *" + "c": "Set *", + "canonical": "Set *" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + }, + { + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" } ] }, { - "name": "trgeometry_start_sequence", - "file": "meos_rgeo.h", + "name": "tpose_from_mfjson", + "file": "meos_pose.h", "returnType": { - "c": "TSequence *", - "canonical": "struct TSequence *" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "str", + "cType": "const char *", + "canonical": "const char *" } ] }, { - "name": "trgeometry_start_value", - "file": "meos_rgeo.h", + "name": "tpose_in", + "file": "meos_pose.h", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "str", + "cType": "const char *", + "canonical": "const char *" } ] }, { - "name": "trgeometry_value_n", - "file": "meos_rgeo.h", + "name": "tposeinst_make", + "file": "meos_pose.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "TInstant *", + "canonical": "struct TInstant *" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "n", - "cType": "int", - "canonical": "int" + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" }, { - "name": "result", - "cType": "int **", - "canonical": "int **" + "name": "t", + "cType": "TimestampTz", + "canonical": "long" } ] }, { - "name": "trgeometry_traversed_area", - "file": "meos_rgeo.h", + "name": "tpose_from_base_temp", + "file": "meos_pose.h", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ + { + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" + }, { "name": "temp", "cType": "const Temporal *", "canonical": "const Temporal *" + } + ] + }, + { + "name": "tposeseq_from_base_tstzset", + "file": "meos_pose.h", + "returnType": { + "c": "TSequence *", + "canonical": "struct TSequence *" + }, + "params": [ + { + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" }, { - "name": "unary_union", - "cType": "bool", - "canonical": "bool" + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" } ] }, { - "name": "trgeometry_append_tinstant", - "file": "meos_rgeo.h", + "name": "tposeseq_from_base_tstzspan", + "file": "meos_pose.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "TSequence *", + "canonical": "struct TSequence *" }, "params": [ { - "name": "temp", - "cType": "Temporal *", - "canonical": "Temporal *" + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" }, { - "name": "inst", - "cType": "const TInstant *", - "canonical": "const struct TInstant *" + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" }, { "name": "interp", "cType": "interpType", "canonical": "interpType" - }, + } + ] + }, + { + "name": "tposeseqset_from_base_tstzspanset", + "file": "meos_pose.h", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + "params": [ { - "name": "maxdist", - "cType": "double", - "canonical": "double" + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" }, { - "name": "maxt", - "cType": "const int *", - "canonical": "const int *" + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" }, { - "name": "expand", - "cType": "bool", - "canonical": "bool" + "name": "interp", + "cType": "interpType", + "canonical": "interpType" } ] }, { - "name": "trgeometry_append_tsequence", - "file": "meos_rgeo.h", + "name": "tpose_make", + "file": "meos_pose.h", "returnType": { "c": "Temporal *", "canonical": "Temporal *" }, "params": [ { - "name": "temp", - "cType": "Temporal *", - "canonical": "Temporal *" - }, - { - "name": "seq", - "cType": "const TSequence *", - "canonical": "const struct TSequence *" + "name": "tpoint", + "cType": "const Temporal *", + "canonical": "const Temporal *" }, { - "name": "expand", - "cType": "bool", - "canonical": "bool" + "name": "tradius", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "trgeometry_delete_timestamptz", - "file": "meos_rgeo.h", + "name": "tpose_to_tpoint", + "file": "meos_pose.h", "returnType": { "c": "Temporal *", "canonical": "Temporal *" @@ -57288,72 +57427,42 @@ "name": "temp", "cType": "const Temporal *", "canonical": "const Temporal *" - }, - { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" - }, - { - "name": "connect", - "cType": "bool", - "canonical": "bool" } ] }, { - "name": "trgeometry_delete_tstzset", - "file": "meos_rgeo.h", + "name": "tpose_end_value", + "file": "meos_pose.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "Pose *", + "canonical": "struct Pose *" }, "params": [ { "name": "temp", "cType": "const Temporal *", "canonical": "const Temporal *" - }, - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "connect", - "cType": "bool", - "canonical": "bool" } ] }, { - "name": "trgeometry_delete_tstzspan", - "file": "meos_rgeo.h", + "name": "tpose_points", + "file": "meos_pose.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "Set *", + "canonical": "Set *" }, "params": [ { "name": "temp", "cType": "const Temporal *", "canonical": "const Temporal *" - }, - { - "name": "s", - "cType": "const Span *", - "canonical": "const struct Span *" - }, - { - "name": "connect", - "cType": "bool", - "canonical": "bool" } ] }, { - "name": "trgeometry_delete_tstzspanset", - "file": "meos_rgeo.h", + "name": "tpose_rotation", + "file": "meos_pose.h", "returnType": { "c": "Temporal *", "canonical": "Temporal *" @@ -57363,22 +57472,12 @@ "name": "temp", "cType": "const Temporal *", "canonical": "const Temporal *" - }, - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const struct SpanSet *" - }, - { - "name": "connect", - "cType": "bool", - "canonical": "bool" } ] }, { - "name": "trgeometry_round", - "file": "meos_rgeo.h", + "name": "tpose_yaw", + "file": "meos_pose.h", "returnType": { "c": "Temporal *", "canonical": "Temporal *" @@ -57388,17 +57487,12 @@ "name": "temp", "cType": "const Temporal *", "canonical": "const Temporal *" - }, - { - "name": "maxdd", - "cType": "int", - "canonical": "int" } ] }, { - "name": "trgeometry_set_interp", - "file": "meos_rgeo.h", + "name": "tpose_pitch", + "file": "meos_pose.h", "returnType": { "c": "Temporal *", "canonical": "Temporal *" @@ -57408,20 +57502,15 @@ "name": "temp", "cType": "const Temporal *", "canonical": "const Temporal *" - }, - { - "name": "interp", - "cType": "interpType", - "canonical": "interpType" } ] }, { - "name": "trgeometry_to_tinstant", - "file": "meos_rgeo.h", + "name": "tpose_roll", + "file": "meos_pose.h", "returnType": { - "c": "TInstant *", - "canonical": "struct TInstant *" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { @@ -57432,8 +57521,8 @@ ] }, { - "name": "trgeometry_after_timestamptz", - "file": "meos_rgeo.h", + "name": "tpose_speed", + "file": "meos_pose.h", "returnType": { "c": "Temporal *", "canonical": "Temporal *" @@ -57443,22 +57532,12 @@ "name": "temp", "cType": "const Temporal *", "canonical": "const Temporal *" - }, - { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" - }, - { - "name": "strict", - "cType": "bool", - "canonical": "bool" } ] }, { - "name": "trgeometry_before_timestamptz", - "file": "meos_rgeo.h", + "name": "tpose_angular_speed", + "file": "meos_pose.h", "returnType": { "c": "Temporal *", "canonical": "Temporal *" @@ -57468,25 +57547,45 @@ "name": "temp", "cType": "const Temporal *", "canonical": "const Temporal *" - }, + } + ] + }, + { + "name": "tpose_start_value", + "file": "meos_pose.h", + "returnType": { + "c": "Pose *", + "canonical": "struct Pose *" + }, + "params": [ { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" - }, + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "tpose_trajectory", + "file": "meos_pose.h", + "returnType": { + "c": "int *", + "canonical": "int *" + }, + "params": [ { - "name": "strict", - "cType": "bool", - "canonical": "bool" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "trgeometry_restrict_value", - "file": "meos_rgeo.h", + "name": "tpose_value_at_timestamptz", + "file": "meos_pose.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "bool", + "canonical": "bool" }, "params": [ { @@ -57495,23 +57594,28 @@ "canonical": "const Temporal *" }, { - "name": "value", - "cType": "Datum", - "canonical": "int ((int *))()" + "name": "t", + "cType": "TimestampTz", + "canonical": "long" }, { - "name": "atfunc", + "name": "strict", "cType": "bool", "canonical": "bool" + }, + { + "name": "result", + "cType": "Pose **", + "canonical": "struct Pose **" } ] }, { - "name": "trgeometry_restrict_values", - "file": "meos_rgeo.h", + "name": "tpose_value_n", + "file": "meos_pose.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "bool", + "canonical": "bool" }, "params": [ { @@ -57520,23 +57624,23 @@ "canonical": "const Temporal *" }, { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" + "name": "n", + "cType": "int", + "canonical": "int" }, { - "name": "atfunc", - "cType": "bool", - "canonical": "bool" + "name": "result", + "cType": "Pose **", + "canonical": "struct Pose **" } ] }, { - "name": "trgeometry_restrict_timestamptz", - "file": "meos_rgeo.h", + "name": "tpose_values", + "file": "meos_pose.h", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "Pose **", + "canonical": "struct Pose **" }, "params": [ { @@ -57545,20 +57649,15 @@ "canonical": "const Temporal *" }, { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" - }, - { - "name": "atfunc", - "cType": "bool", - "canonical": "bool" + "name": "count", + "cType": "int *", + "canonical": "int *" } ] }, { - "name": "trgeometry_restrict_tstzset", - "file": "meos_rgeo.h", + "name": "tpose_at_geom", + "file": "meos_pose.h", "returnType": { "c": "Temporal *", "canonical": "Temporal *" @@ -57570,20 +57669,15 @@ "canonical": "const Temporal *" }, { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "atfunc", - "cType": "bool", - "canonical": "bool" + "name": "gs", + "cType": "const int *", + "canonical": "const int *" } ] }, { - "name": "trgeometry_restrict_tstzspan", - "file": "meos_rgeo.h", + "name": "tpose_at_stbox", + "file": "meos_pose.h", "returnType": { "c": "Temporal *", "canonical": "Temporal *" @@ -57595,20 +57689,20 @@ "canonical": "const Temporal *" }, { - "name": "s", - "cType": "const Span *", - "canonical": "const struct Span *" + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" }, { - "name": "atfunc", + "name": "border_inc", "cType": "bool", "canonical": "bool" } ] }, { - "name": "trgeometry_restrict_tstzspanset", - "file": "meos_rgeo.h", + "name": "tpose_at_pose", + "file": "meos_pose.h", "returnType": { "c": "Temporal *", "canonical": "Temporal *" @@ -57620,20 +57714,15 @@ "canonical": "const Temporal *" }, { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const struct SpanSet *" - }, - { - "name": "atfunc", - "cType": "bool", - "canonical": "bool" + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" } ] }, { - "name": "tdistance_trgeometry_geo", - "file": "meos_rgeo.h", + "name": "tpose_minus_geom", + "file": "meos_pose.h", "returnType": { "c": "Temporal *", "canonical": "Temporal *" @@ -57652,68 +57741,113 @@ ] }, { - "name": "tdistance_trgeometry_tpoint", - "file": "meos_rgeo.h", + "name": "tpose_minus_pose", + "file": "meos_pose.h", "returnType": { "c": "Temporal *", "canonical": "Temporal *" }, "params": [ { - "name": "temp1", + "name": "temp", "cType": "const Temporal *", "canonical": "const Temporal *" }, { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" } ] }, { - "name": "tdistance_trgeometry_trgeometry", - "file": "meos_rgeo.h", + "name": "tpose_minus_stbox", + "file": "meos_pose.h", "returnType": { "c": "Temporal *", "canonical": "Temporal *" }, "params": [ { - "name": "temp1", + "name": "temp", "cType": "const Temporal *", "canonical": "const Temporal *" }, { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" + }, + { + "name": "border_inc", + "cType": "bool", + "canonical": "bool" + } ] }, { - "name": "nad_stbox_trgeometry", - "file": "meos_rgeo.h", + "name": "tdistance_tpose_pose", + "file": "meos_pose.h", "returnType": { - "c": "double", - "canonical": "double" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "box", - "cType": "const STBox *", - "canonical": "const struct STBox *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" }, + { + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" + } + ] + }, + { + "name": "tdistance_tpose_geo", + "file": "meos_pose.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ { "name": "temp", "cType": "const Temporal *", "canonical": "const Temporal *" + }, + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" } ] }, { - "name": "nad_trgeometry_geo", - "file": "meos_rgeo.h", + "name": "tdistance_tpose_tpose", + "file": "meos_pose.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "nad_tpose_geo", + "file": "meos_pose.h", "returnType": { "c": "double", "canonical": "double" @@ -57732,8 +57866,8 @@ ] }, { - "name": "nad_trgeometry_stbox", - "file": "meos_rgeo.h", + "name": "nad_tpose_pose", + "file": "meos_pose.h", "returnType": { "c": "double", "canonical": "double" @@ -57745,35 +57879,35 @@ "canonical": "const Temporal *" }, { - "name": "box", - "cType": "const STBox *", - "canonical": "const struct STBox *" + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" } ] }, { - "name": "nad_trgeometry_tpoint", - "file": "meos_rgeo.h", + "name": "nad_tpose_stbox", + "file": "meos_pose.h", "returnType": { "c": "double", "canonical": "double" }, "params": [ { - "name": "temp1", + "name": "temp", "cType": "const Temporal *", "canonical": "const Temporal *" }, { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" } ] }, { - "name": "nad_trgeometry_trgeometry", - "file": "meos_rgeo.h", + "name": "nad_tpose_tpose", + "file": "meos_pose.h", "returnType": { "c": "double", "canonical": "double" @@ -57792,8 +57926,8 @@ ] }, { - "name": "nai_trgeometry_geo", - "file": "meos_rgeo.h", + "name": "nai_tpose_geo", + "file": "meos_pose.h", "returnType": { "c": "TInstant *", "canonical": "struct TInstant *" @@ -57812,28 +57946,28 @@ ] }, { - "name": "nai_trgeometry_tpoint", - "file": "meos_rgeo.h", + "name": "nai_tpose_pose", + "file": "meos_pose.h", "returnType": { "c": "TInstant *", "canonical": "struct TInstant *" }, "params": [ { - "name": "temp1", + "name": "temp", "cType": "const Temporal *", "canonical": "const Temporal *" }, { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" } ] }, { - "name": "nai_trgeometry_trgeometry", - "file": "meos_rgeo.h", + "name": "nai_tpose_tpose", + "file": "meos_pose.h", "returnType": { "c": "TInstant *", "canonical": "struct TInstant *" @@ -57852,8 +57986,8 @@ ] }, { - "name": "shortestline_trgeometry_geo", - "file": "meos_rgeo.h", + "name": "shortestline_tpose_geo", + "file": "meos_pose.h", "returnType": { "c": "int *", "canonical": "int *" @@ -57872,28 +58006,28 @@ ] }, { - "name": "shortestline_trgeometry_tpoint", - "file": "meos_rgeo.h", + "name": "shortestline_tpose_pose", + "file": "meos_pose.h", "returnType": { "c": "int *", "canonical": "int *" }, "params": [ { - "name": "temp1", + "name": "temp", "cType": "const Temporal *", "canonical": "const Temporal *" }, { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" } ] }, { - "name": "shortestline_trgeometry_trgeometry", - "file": "meos_rgeo.h", + "name": "shortestline_tpose_tpose", + "file": "meos_pose.h", "returnType": { "c": "int *", "canonical": "int *" @@ -57912,17 +58046,17 @@ ] }, { - "name": "always_eq_geo_trgeometry", - "file": "meos_rgeo.h", + "name": "always_eq_pose_tpose", + "file": "meos_pose.h", "returnType": { "c": "int", "canonical": "int" }, "params": [ { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" }, { "name": "temp", @@ -57932,8 +58066,8 @@ ] }, { - "name": "always_eq_trgeometry_geo", - "file": "meos_rgeo.h", + "name": "always_eq_tpose_pose", + "file": "meos_pose.h", "returnType": { "c": "int", "canonical": "int" @@ -57945,15 +58079,15 @@ "canonical": "const Temporal *" }, { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" } ] }, { - "name": "always_eq_trgeometry_trgeometry", - "file": "meos_rgeo.h", + "name": "always_eq_tpose_tpose", + "file": "meos_pose.h", "returnType": { "c": "int", "canonical": "int" @@ -57972,17 +58106,17 @@ ] }, { - "name": "always_ne_geo_trgeometry", - "file": "meos_rgeo.h", + "name": "always_ne_pose_tpose", + "file": "meos_pose.h", "returnType": { "c": "int", "canonical": "int" }, "params": [ { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" }, { "name": "temp", @@ -57992,8 +58126,8 @@ ] }, { - "name": "always_ne_trgeometry_geo", - "file": "meos_rgeo.h", + "name": "always_ne_tpose_pose", + "file": "meos_pose.h", "returnType": { "c": "int", "canonical": "int" @@ -58005,15 +58139,15 @@ "canonical": "const Temporal *" }, { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" } ] }, { - "name": "always_ne_trgeometry_trgeometry", - "file": "meos_rgeo.h", + "name": "always_ne_tpose_tpose", + "file": "meos_pose.h", "returnType": { "c": "int", "canonical": "int" @@ -58032,17 +58166,17 @@ ] }, { - "name": "ever_eq_geo_trgeometry", - "file": "meos_rgeo.h", + "name": "ever_eq_pose_tpose", + "file": "meos_pose.h", "returnType": { "c": "int", "canonical": "int" }, "params": [ { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" }, { "name": "temp", @@ -58052,8 +58186,8 @@ ] }, { - "name": "ever_eq_trgeometry_geo", - "file": "meos_rgeo.h", + "name": "ever_eq_tpose_pose", + "file": "meos_pose.h", "returnType": { "c": "int", "canonical": "int" @@ -58065,15 +58199,15 @@ "canonical": "const Temporal *" }, { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" } ] }, { - "name": "ever_eq_trgeometry_trgeometry", - "file": "meos_rgeo.h", + "name": "ever_eq_tpose_tpose", + "file": "meos_pose.h", "returnType": { "c": "int", "canonical": "int" @@ -58092,17 +58226,17 @@ ] }, { - "name": "ever_ne_geo_trgeometry", - "file": "meos_rgeo.h", + "name": "ever_ne_pose_tpose", + "file": "meos_pose.h", "returnType": { "c": "int", "canonical": "int" }, "params": [ { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" }, { "name": "temp", @@ -58112,8 +58246,8 @@ ] }, { - "name": "ever_ne_trgeometry_geo", - "file": "meos_rgeo.h", + "name": "ever_ne_tpose_pose", + "file": "meos_pose.h", "returnType": { "c": "int", "canonical": "int" @@ -58125,15 +58259,15 @@ "canonical": "const Temporal *" }, { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" } ] }, { - "name": "ever_ne_trgeometry_trgeometry", - "file": "meos_rgeo.h", + "name": "ever_ne_tpose_tpose", + "file": "meos_pose.h", "returnType": { "c": "int", "canonical": "int" @@ -58152,17 +58286,17 @@ ] }, { - "name": "teq_geo_trgeometry", - "file": "meos_rgeo.h", + "name": "teq_pose_tpose", + "file": "meos_pose.h", "returnType": { "c": "Temporal *", "canonical": "Temporal *" }, "params": [ { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" }, { "name": "temp", @@ -58172,8 +58306,8 @@ ] }, { - "name": "teq_trgeometry_geo", - "file": "meos_rgeo.h", + "name": "teq_tpose_pose", + "file": "meos_pose.h", "returnType": { "c": "Temporal *", "canonical": "Temporal *" @@ -58185,24 +58319,24 @@ "canonical": "const Temporal *" }, { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" } ] }, { - "name": "tne_geo_trgeometry", - "file": "meos_rgeo.h", + "name": "tne_pose_tpose", + "file": "meos_pose.h", "returnType": { "c": "Temporal *", "canonical": "Temporal *" }, "params": [ { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" }, { "name": "temp", @@ -58212,8 +58346,8 @@ ] }, { - "name": "tne_trgeometry_geo", - "file": "meos_rgeo.h", + "name": "tne_tpose_pose", + "file": "meos_pose.h", "returnType": { "c": "Temporal *", "canonical": "Temporal *" @@ -58225,1965 +58359,5953 @@ "canonical": "const Temporal *" }, { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" } ] }, { - "name": "geo_get_srid", - "file": "postgis_ext_defs.in.h", + "name": "trgeometry_out", + "file": "meos_rgeo.h", "returnType": { - "c": "int32", - "canonical": "int" + "c": "char *", + "canonical": "char *" }, "params": [ { - "name": "g", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "date_in", - "file": "postgres_ext_defs.in.h", + "name": "trgeoinst_make", + "file": "meos_rgeo.h", "returnType": { - "c": "DateADT", - "canonical": "int" + "c": "TInstant *", + "canonical": "struct TInstant *" }, "params": [ { - "name": "str", - "cType": "const char *", - "canonical": "const char *" + "name": "geom", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" + }, + { + "name": "t", + "cType": "TimestampTz", + "canonical": "long" } ] }, { - "name": "date_out", - "file": "postgres_ext_defs.in.h", + "name": "geo_tpose_to_trgeometry", + "file": "meos_rgeo.h", "returnType": { - "c": "char *", - "canonical": "char *" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "d", - "cType": "DateADT", - "canonical": "int" + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "interval_cmp", - "file": "postgres_ext_defs.in.h", + "name": "trgeometry_to_tpose", + "file": "meos_rgeo.h", "returnType": { - "c": "int", - "canonical": "int" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "interv1", - "cType": "const Interval *", - "canonical": "const Interval *" - }, - { - "name": "interv2", - "cType": "const Interval *", - "canonical": "const Interval *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "interval_in", - "file": "postgres_ext_defs.in.h", + "name": "trgeometry_to_tpoint", + "file": "meos_rgeo.h", "returnType": { - "c": "Interval *", - "canonical": "Interval *" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "str", - "cType": "const char *", - "canonical": "const char *" - }, - { - "name": "typmod", - "cType": "int32", - "canonical": "int" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "interval_out", - "file": "postgres_ext_defs.in.h", + "name": "trgeometry_to_tgeometry", + "file": "meos_rgeo.h", "returnType": { - "c": "char *", - "canonical": "char *" + "c": "Temporal *", + "canonical": "Temporal *" }, "params": [ { - "name": "interv", - "cType": "const Interval *", - "canonical": "const Interval *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "time_in", - "file": "postgres_ext_defs.in.h", + "name": "trgeometry_end_instant", + "file": "meos_rgeo.h", "returnType": { - "c": "TimeADT", - "canonical": "long" + "c": "TInstant *", + "canonical": "struct TInstant *" }, "params": [ { - "name": "str", - "cType": "const char *", - "canonical": "const char *" - }, - { - "name": "typmod", - "cType": "int32", - "canonical": "int" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "time_out", - "file": "postgres_ext_defs.in.h", + "name": "trgeometry_end_sequence", + "file": "meos_rgeo.h", "returnType": { - "c": "char *", - "canonical": "char *" + "c": "TSequence *", + "canonical": "struct TSequence *" }, "params": [ { - "name": "t", - "cType": "TimeADT", - "canonical": "long" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "timestamp_in", - "file": "postgres_ext_defs.in.h", + "name": "trgeometry_end_value", + "file": "meos_rgeo.h", "returnType": { - "c": "Timestamp", - "canonical": "long" + "c": "int *", + "canonical": "int *" }, "params": [ { - "name": "str", - "cType": "const char *", - "canonical": "const char *" - }, - { - "name": "typmod", - "cType": "int32", - "canonical": "int" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "timestamp_out", - "file": "postgres_ext_defs.in.h", + "name": "trgeometry_geom", + "file": "meos_rgeo.h", "returnType": { - "c": "char *", - "canonical": "char *" + "c": "int *", + "canonical": "int *" }, "params": [ { - "name": "t", - "cType": "Timestamp", - "canonical": "long" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, { - "name": "timestamptz_in", - "file": "postgres_ext_defs.in.h", + "name": "trgeometry_instant_n", + "file": "meos_rgeo.h", "returnType": { - "c": "TimestampTz", - "canonical": "long" + "c": "TInstant *", + "canonical": "struct TInstant *" }, "params": [ { - "name": "str", - "cType": "const char *", - "canonical": "const char *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" }, { - "name": "typmod", - "cType": "int32", + "name": "n", + "cType": "int", "canonical": "int" } ] }, { - "name": "timestamptz_out", - "file": "postgres_ext_defs.in.h", + "name": "trgeometry_instants", + "file": "meos_rgeo.h", "returnType": { - "c": "char *", - "canonical": "char *" + "c": "TInstant **", + "canonical": "struct TInstant **" }, "params": [ { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" } ] - } - ], - "structs": [ + }, { - "name": "Set", - "file": "meos.h", - "fields": [ + "name": "trgeometry_points", + "file": "meos_rgeo.h", + "returnType": { + "c": "Set *", + "canonical": "Set *" + }, + "params": [ { - "name": "vl_len_", - "cType": "int32", - "offset_bits": 0 - }, + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "trgeometry_rotation", + "file": "meos_rgeo.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ { - "name": "settype", + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "trgeometry_segments", + "file": "meos_rgeo.h", + "returnType": { + "c": "TSequence **", + "canonical": "struct TSequence **" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "trgeometry_sequence_n", + "file": "meos_rgeo.h", + "returnType": { + "c": "TSequence *", + "canonical": "struct TSequence *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "i", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "trgeometry_sequences", + "file": "meos_rgeo.h", + "returnType": { + "c": "TSequence **", + "canonical": "struct TSequence **" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "trgeometry_start_instant", + "file": "meos_rgeo.h", + "returnType": { + "c": "TInstant *", + "canonical": "struct TInstant *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "trgeometry_start_sequence", + "file": "meos_rgeo.h", + "returnType": { + "c": "TSequence *", + "canonical": "struct TSequence *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "trgeometry_start_value", + "file": "meos_rgeo.h", + "returnType": { + "c": "int *", + "canonical": "int *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "trgeometry_value_n", + "file": "meos_rgeo.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "n", + "cType": "int", + "canonical": "int" + }, + { + "name": "result", + "cType": "int **", + "canonical": "int **" + } + ] + }, + { + "name": "trgeometry_traversed_area", + "file": "meos_rgeo.h", + "returnType": { + "c": "int *", + "canonical": "int *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "unary_union", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "trgeometry_centroid", + "file": "meos_rgeo.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "trgeometry_convex_hull", + "file": "meos_rgeo.h", + "returnType": { + "c": "int *", + "canonical": "int *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "trgeometry_body_point_trajectory", + "file": "meos_rgeo.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "trgeometry_space_boxes", + "file": "meos_rgeo.h", + "returnType": { + "c": "STBox *", + "canonical": "struct STBox *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "xsize", + "cType": "double", + "canonical": "double" + }, + { + "name": "ysize", + "cType": "double", + "canonical": "double" + }, + { + "name": "zsize", + "cType": "double", + "canonical": "double" + }, + { + "name": "sorigin", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "bitmatrix", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "border_inc", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "trgeometry_space_time_boxes", + "file": "meos_rgeo.h", + "returnType": { + "c": "STBox *", + "canonical": "struct STBox *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "xsize", + "cType": "double", + "canonical": "double" + }, + { + "name": "ysize", + "cType": "double", + "canonical": "double" + }, + { + "name": "zsize", + "cType": "double", + "canonical": "double" + }, + { + "name": "duration", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "sorigin", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "torigin", + "cType": "TimestampTz", + "canonical": "long" + }, + { + "name": "bitmatrix", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "border_inc", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "trgeometry_stboxes", + "file": "meos_rgeo.h", + "returnType": { + "c": "STBox *", + "canonical": "struct STBox *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "trgeometry_split_n_stboxes", + "file": "meos_rgeo.h", + "returnType": { + "c": "STBox *", + "canonical": "struct STBox *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "box_count", + "cType": "int", + "canonical": "int" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "trgeometry_split_each_n_stboxes", + "file": "meos_rgeo.h", + "returnType": { + "c": "STBox *", + "canonical": "struct STBox *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "elem_count", + "cType": "int", + "canonical": "int" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "trgeometry_hausdorff_distance", + "file": "meos_rgeo.h", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "trgeometry_frechet_distance", + "file": "meos_rgeo.h", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "trgeometry_dyntimewarp_distance", + "file": "meos_rgeo.h", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "trgeometry_frechet_path", + "file": "meos_rgeo.h", + "returnType": { + "c": "Match *", + "canonical": "Match *" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "trgeometry_dyntimewarp_path", + "file": "meos_rgeo.h", + "returnType": { + "c": "Match *", + "canonical": "Match *" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "trgeometry_length", + "file": "meos_rgeo.h", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "trgeometry_cumulative_length", + "file": "meos_rgeo.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "trgeometry_speed", + "file": "meos_rgeo.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "trgeometry_twcentroid", + "file": "meos_rgeo.h", + "returnType": { + "c": "int *", + "canonical": "int *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "trgeometry_append_tinstant", + "file": "meos_rgeo.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "Temporal *", + "canonical": "Temporal *" + }, + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" + }, + { + "name": "interp", + "cType": "interpType", + "canonical": "interpType" + }, + { + "name": "maxdist", + "cType": "double", + "canonical": "double" + }, + { + "name": "maxt", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "expand", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "trgeometry_append_tsequence", + "file": "meos_rgeo.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "Temporal *", + "canonical": "Temporal *" + }, + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "expand", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "trgeometry_delete_timestamptz", + "file": "meos_rgeo.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "t", + "cType": "TimestampTz", + "canonical": "long" + }, + { + "name": "connect", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "trgeometry_delete_tstzset", + "file": "meos_rgeo.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + }, + { + "name": "connect", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "trgeometry_delete_tstzspan", + "file": "meos_rgeo.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "connect", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "trgeometry_delete_tstzspanset", + "file": "meos_rgeo.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" + }, + { + "name": "connect", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "trgeometry_round", + "file": "meos_rgeo.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "maxdd", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "trgeometry_set_interp", + "file": "meos_rgeo.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "interp", + "cType": "interpType", + "canonical": "interpType" + } + ] + }, + { + "name": "trgeometry_to_tinstant", + "file": "meos_rgeo.h", + "returnType": { + "c": "TInstant *", + "canonical": "struct TInstant *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "trgeometry_after_timestamptz", + "file": "meos_rgeo.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "t", + "cType": "TimestampTz", + "canonical": "long" + }, + { + "name": "strict", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "trgeometry_before_timestamptz", + "file": "meos_rgeo.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "t", + "cType": "TimestampTz", + "canonical": "long" + }, + { + "name": "strict", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "trgeometry_restrict_value", + "file": "meos_rgeo.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "trgeometry_restrict_values", + "file": "meos_rgeo.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "trgeometry_restrict_timestamptz", + "file": "meos_rgeo.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "t", + "cType": "TimestampTz", + "canonical": "long" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "trgeometry_restrict_tstzset", + "file": "meos_rgeo.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "trgeometry_restrict_tstzspan", + "file": "meos_rgeo.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "trgeometry_restrict_tstzspanset", + "file": "meos_rgeo.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "trgeometry_at_geom", + "file": "meos_rgeo.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "trgeometry_minus_geom", + "file": "meos_rgeo.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "trgeometry_at_stbox", + "file": "meos_rgeo.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" + }, + { + "name": "border_inc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "trgeometry_minus_stbox", + "file": "meos_rgeo.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" + }, + { + "name": "border_inc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tdistance_trgeometry_geo", + "file": "meos_rgeo.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "tdistance_trgeometry_tpoint", + "file": "meos_rgeo.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "tdistance_trgeometry_trgeometry", + "file": "meos_rgeo.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "nad_stbox_trgeometry", + "file": "meos_rgeo.h", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "nad_trgeometry_geo", + "file": "meos_rgeo.h", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "nad_trgeometry_stbox", + "file": "meos_rgeo.h", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" + } + ] + }, + { + "name": "nad_trgeometry_tpoint", + "file": "meos_rgeo.h", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "nad_trgeometry_trgeometry", + "file": "meos_rgeo.h", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "nai_trgeometry_geo", + "file": "meos_rgeo.h", + "returnType": { + "c": "TInstant *", + "canonical": "struct TInstant *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "nai_trgeometry_tpoint", + "file": "meos_rgeo.h", + "returnType": { + "c": "TInstant *", + "canonical": "struct TInstant *" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "nai_trgeometry_trgeometry", + "file": "meos_rgeo.h", + "returnType": { + "c": "TInstant *", + "canonical": "struct TInstant *" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "shortestline_trgeometry_geo", + "file": "meos_rgeo.h", + "returnType": { + "c": "int *", + "canonical": "int *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "shortestline_trgeometry_tpoint", + "file": "meos_rgeo.h", + "returnType": { + "c": "int *", + "canonical": "int *" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "shortestline_trgeometry_trgeometry", + "file": "meos_rgeo.h", + "returnType": { + "c": "int *", + "canonical": "int *" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "always_eq_geo_trgeometry", + "file": "meos_rgeo.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "always_eq_trgeometry_geo", + "file": "meos_rgeo.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "always_eq_trgeometry_trgeometry", + "file": "meos_rgeo.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "always_ne_geo_trgeometry", + "file": "meos_rgeo.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "always_ne_trgeometry_geo", + "file": "meos_rgeo.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "always_ne_trgeometry_trgeometry", + "file": "meos_rgeo.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "ever_eq_geo_trgeometry", + "file": "meos_rgeo.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "ever_eq_trgeometry_geo", + "file": "meos_rgeo.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "ever_eq_trgeometry_trgeometry", + "file": "meos_rgeo.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "ever_ne_geo_trgeometry", + "file": "meos_rgeo.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "ever_ne_trgeometry_geo", + "file": "meos_rgeo.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "ever_ne_trgeometry_trgeometry", + "file": "meos_rgeo.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "teq_geo_trgeometry", + "file": "meos_rgeo.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "teq_trgeometry_geo", + "file": "meos_rgeo.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "tne_geo_trgeometry", + "file": "meos_rgeo.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "tne_trgeometry_geo", + "file": "meos_rgeo.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "econtains_geo_trgeo", + "file": "meos_rgeo.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "acontains_geo_trgeo", + "file": "meos_rgeo.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "ecovers_geo_trgeo", + "file": "meos_rgeo.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "acovers_geo_trgeo", + "file": "meos_rgeo.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "ecovers_trgeo_geo", + "file": "meos_rgeo.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "acovers_trgeo_geo", + "file": "meos_rgeo.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "edisjoint_trgeo_geo", + "file": "meos_rgeo.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "adisjoint_trgeo_geo", + "file": "meos_rgeo.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "eintersects_trgeo_geo", + "file": "meos_rgeo.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "aintersects_trgeo_geo", + "file": "meos_rgeo.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "etouches_trgeo_geo", + "file": "meos_rgeo.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "atouches_trgeo_geo", + "file": "meos_rgeo.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "edwithin_trgeo_geo", + "file": "meos_rgeo.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "dist", + "cType": "double", + "canonical": "double" + } + ] + }, + { + "name": "adwithin_trgeo_geo", + "file": "meos_rgeo.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "dist", + "cType": "double", + "canonical": "double" + } + ] + }, + { + "name": "edisjoint_trgeo_trgeo", + "file": "meos_rgeo.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "adisjoint_trgeo_trgeo", + "file": "meos_rgeo.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "eintersects_trgeo_trgeo", + "file": "meos_rgeo.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "aintersects_trgeo_trgeo", + "file": "meos_rgeo.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "edwithin_trgeo_trgeo", + "file": "meos_rgeo.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "dist", + "cType": "double", + "canonical": "double" + } + ] + }, + { + "name": "adwithin_trgeo_trgeo", + "file": "meos_rgeo.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "dist", + "cType": "double", + "canonical": "double" + } + ] + }, + { + "name": "geo_get_srid", + "file": "postgis_ext_defs.in.h", + "returnType": { + "c": "int32", + "canonical": "int" + }, + "params": [ + { + "name": "g", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + } + ] + }, + { + "name": "date_in", + "file": "postgres_ext_defs.in.h", + "returnType": { + "c": "DateADT", + "canonical": "int" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "date_out", + "file": "postgres_ext_defs.in.h", + "returnType": { + "c": "char *", + "canonical": "char *" + }, + "params": [ + { + "name": "d", + "cType": "DateADT", + "canonical": "int" + } + ] + }, + { + "name": "interval_cmp", + "file": "postgres_ext_defs.in.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "interv1", + "cType": "const Interval *", + "canonical": "const Interval *" + }, + { + "name": "interv2", + "cType": "const Interval *", + "canonical": "const Interval *" + } + ] + }, + { + "name": "interval_in", + "file": "postgres_ext_defs.in.h", + "returnType": { + "c": "Interval *", + "canonical": "Interval *" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + }, + { + "name": "typmod", + "cType": "int32", + "canonical": "int" + } + ] + }, + { + "name": "interval_out", + "file": "postgres_ext_defs.in.h", + "returnType": { + "c": "char *", + "canonical": "char *" + }, + "params": [ + { + "name": "interv", + "cType": "const Interval *", + "canonical": "const Interval *" + } + ] + }, + { + "name": "time_in", + "file": "postgres_ext_defs.in.h", + "returnType": { + "c": "TimeADT", + "canonical": "long" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + }, + { + "name": "typmod", + "cType": "int32", + "canonical": "int" + } + ] + }, + { + "name": "time_out", + "file": "postgres_ext_defs.in.h", + "returnType": { + "c": "char *", + "canonical": "char *" + }, + "params": [ + { + "name": "t", + "cType": "TimeADT", + "canonical": "long" + } + ] + }, + { + "name": "timestamp_in", + "file": "postgres_ext_defs.in.h", + "returnType": { + "c": "Timestamp", + "canonical": "long" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + }, + { + "name": "typmod", + "cType": "int32", + "canonical": "int" + } + ] + }, + { + "name": "timestamp_out", + "file": "postgres_ext_defs.in.h", + "returnType": { + "c": "char *", + "canonical": "char *" + }, + "params": [ + { + "name": "t", + "cType": "Timestamp", + "canonical": "long" + } + ] + }, + { + "name": "timestamptz_in", + "file": "postgres_ext_defs.in.h", + "returnType": { + "c": "TimestampTz", + "canonical": "long" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + }, + { + "name": "typmod", + "cType": "int32", + "canonical": "int" + } + ] + }, + { + "name": "timestamptz_out", + "file": "postgres_ext_defs.in.h", + "returnType": { + "c": "char *", + "canonical": "char *" + }, + "params": [ + { + "name": "t", + "cType": "TimestampTz", + "canonical": "long" + } + ] + } + ], + "structs": [ + { + "name": "Set", + "file": "meos.h", + "fields": [ + { + "name": "vl_len_", + "cType": "int32", + "offset_bits": 0 + }, + { + "name": "settype", + "cType": "uint8", + "offset_bits": 32 + }, + { + "name": "basetype", + "cType": "uint8", + "offset_bits": 40 + }, + { + "name": "flags", + "cType": "int16", + "offset_bits": 48 + }, + { + "name": "count", + "cType": "int32", + "offset_bits": 64 + }, + { + "name": "maxcount", + "cType": "int32", + "offset_bits": 96 + }, + { + "name": "bboxsize", + "cType": "int16", + "offset_bits": 128 + } + ] + }, + { + "name": "Span", + "file": "meos.h", + "fields": [ + { + "name": "spantype", + "cType": "uint8", + "offset_bits": -1 + }, + { + "name": "basetype", + "cType": "uint8", + "offset_bits": -1 + }, + { + "name": "lower_inc", + "cType": "_Bool", + "offset_bits": -1 + }, + { + "name": "upper_inc", + "cType": "_Bool", + "offset_bits": -1 + }, + { + "name": "padding", + "cType": "char[4]", + "offset_bits": -1 + }, + { + "name": "lower", + "cType": "int", + "offset_bits": -1 + }, + { + "name": "upper", + "cType": "int", + "offset_bits": -1 + } + ] + }, + { + "name": "SpanSet", + "file": "meos.h", + "fields": [ + { + "name": "vl_len_", + "cType": "int32", + "offset_bits": -1 + }, + { + "name": "spansettype", + "cType": "uint8", + "offset_bits": -1 + }, + { + "name": "spantype", + "cType": "uint8", + "offset_bits": -1 + }, + { + "name": "basetype", + "cType": "uint8", + "offset_bits": -1 + }, + { + "name": "padding", + "cType": "char", + "offset_bits": -1 + }, + { + "name": "count", + "cType": "int32", + "offset_bits": -1 + }, + { + "name": "maxcount", + "cType": "int32", + "offset_bits": -1 + }, + { + "name": "span", + "cType": "Span", + "offset_bits": -1 + }, + { + "name": "elems", + "cType": "Span[1]", + "offset_bits": -1 + } + ] + }, + { + "name": "TBox", + "file": "meos.h", + "fields": [ + { + "name": "period", + "cType": "Span", + "offset_bits": -1 + }, + { + "name": "span", + "cType": "Span", + "offset_bits": -1 + }, + { + "name": "flags", + "cType": "int16", + "offset_bits": -1 + } + ] + }, + { + "name": "STBox", + "file": "meos.h", + "fields": [ + { + "name": "period", + "cType": "Span", + "offset_bits": -1 + }, + { + "name": "xmin", + "cType": "double", + "offset_bits": -1 + }, + { + "name": "ymin", + "cType": "double", + "offset_bits": -1 + }, + { + "name": "zmin", + "cType": "double", + "offset_bits": -1 + }, + { + "name": "xmax", + "cType": "double", + "offset_bits": -1 + }, + { + "name": "ymax", + "cType": "double", + "offset_bits": -1 + }, + { + "name": "zmax", + "cType": "double", + "offset_bits": -1 + }, + { + "name": "srid", + "cType": "int32_t", + "offset_bits": -1 + }, + { + "name": "flags", + "cType": "int16", + "offset_bits": -1 + } + ] + }, + { + "name": "Temporal", + "file": "meos.h", + "fields": [ + { + "name": "vl_len_", + "cType": "int32", + "offset_bits": 0 + }, + { + "name": "temptype", + "cType": "uint8", + "offset_bits": 32 + }, + { + "name": "subtype", + "cType": "uint8", + "offset_bits": 40 + }, + { + "name": "flags", + "cType": "int16", + "offset_bits": 48 + } + ] + }, + { + "name": "TInstant", + "file": "meos.h", + "fields": [ + { + "name": "vl_len_", + "cType": "int32", + "offset_bits": -1 + }, + { + "name": "temptype", + "cType": "uint8", + "offset_bits": -1 + }, + { + "name": "subtype", + "cType": "uint8", + "offset_bits": -1 + }, + { + "name": "flags", + "cType": "int16", + "offset_bits": -1 + }, + { + "name": "t", + "cType": "TimestampTz", + "offset_bits": -1 + }, + { + "name": "value", + "cType": "int", + "offset_bits": -1 + } + ], + "meosType": "TPointInst" + }, + { + "name": "TSequence", + "file": "meos.h", + "fields": [ + { + "name": "vl_len_", + "cType": "int32", + "offset_bits": -1 + }, + { + "name": "temptype", + "cType": "uint8", + "offset_bits": -1 + }, + { + "name": "subtype", + "cType": "uint8", + "offset_bits": -1 + }, + { + "name": "flags", + "cType": "int16", + "offset_bits": -1 + }, + { + "name": "count", + "cType": "int32", + "offset_bits": -1 + }, + { + "name": "maxcount", + "cType": "int32", + "offset_bits": -1 + }, + { + "name": "bboxsize", + "cType": "int16", + "offset_bits": -1 + }, + { + "name": "padding", + "cType": "char[6]", + "offset_bits": -1 + }, + { + "name": "period", + "cType": "Span", + "offset_bits": -1 + } + ], + "meosType": "TPointSeq" + }, + { + "name": "TSequenceSet", + "file": "meos.h", + "fields": [ + { + "name": "vl_len_", + "cType": "int32", + "offset_bits": -1 + }, + { + "name": "temptype", + "cType": "uint8", + "offset_bits": -1 + }, + { + "name": "subtype", "cType": "uint8", + "offset_bits": -1 + }, + { + "name": "flags", + "cType": "int16", + "offset_bits": -1 + }, + { + "name": "count", + "cType": "int32", + "offset_bits": -1 + }, + { + "name": "totalcount", + "cType": "int32", + "offset_bits": -1 + }, + { + "name": "maxcount", + "cType": "int32", + "offset_bits": -1 + }, + { + "name": "bboxsize", + "cType": "int16", + "offset_bits": -1 + }, + { + "name": "padding", + "cType": "int16", + "offset_bits": -1 + }, + { + "name": "period", + "cType": "Span", + "offset_bits": -1 + } + ] + }, + { + "name": "Match", + "file": "meos.h", + "fields": [ + { + "name": "i", + "cType": "int", + "offset_bits": 0 + }, + { + "name": "j", + "cType": "int", + "offset_bits": 32 + } + ] + }, + { + "name": "SkipList", + "file": "meos.h", + "fields": [] + }, + { + "name": "MeosArray", + "file": "meos.h", + "fields": [] + }, + { + "name": "RTree", + "file": "meos.h", + "fields": [] + }, + { + "name": "ArrowSchema", + "file": "meos.h", + "fields": [] + }, + { + "name": "ArrowArray", + "file": "meos.h", + "fields": [] + }, + { + "name": "IntSplit", + "file": "meos.h", + "fields": [ + { + "name": "fragments", + "cType": "Temporal **", + "offset_bits": 0 + }, + { + "name": "bins", + "cType": "int *", + "offset_bits": 64 + }, + { + "name": "count", + "cType": "int", + "offset_bits": 128 + } + ] + }, + { + "name": "FloatSplit", + "file": "meos.h", + "fields": [ + { + "name": "fragments", + "cType": "Temporal **", + "offset_bits": 0 + }, + { + "name": "bins", + "cType": "double *", + "offset_bits": 64 + }, + { + "name": "count", + "cType": "int", + "offset_bits": 128 + } + ] + }, + { + "name": "TimeSplit", + "file": "meos.h", + "fields": [ + { + "name": "fragments", + "cType": "Temporal **", + "offset_bits": 0 + }, + { + "name": "bins", + "cType": "TimestampTz *", + "offset_bits": 64 + }, + { + "name": "count", + "cType": "int", + "offset_bits": 128 + } + ] + }, + { + "name": "IntTimeSplit", + "file": "meos.h", + "fields": [ + { + "name": "fragments", + "cType": "Temporal **", + "offset_bits": 0 + }, + { + "name": "value_bins", + "cType": "int *", + "offset_bits": 64 + }, + { + "name": "time_bins", + "cType": "TimestampTz *", + "offset_bits": 128 + }, + { + "name": "count", + "cType": "int", + "offset_bits": 192 + } + ] + }, + { + "name": "FloatTimeSplit", + "file": "meos.h", + "fields": [ + { + "name": "fragments", + "cType": "Temporal **", + "offset_bits": 0 + }, + { + "name": "value_bins", + "cType": "double *", + "offset_bits": 64 + }, + { + "name": "time_bins", + "cType": "TimestampTz *", + "offset_bits": 128 + }, + { + "name": "count", + "cType": "int", + "offset_bits": 192 + } + ] + }, + { + "name": "MinBoundingCircle", + "file": "meos_geo.h", + "fields": [ + { + "name": "center", + "cType": "int *", + "offset_bits": -1 + }, + { + "name": "radius", + "cType": "double", + "offset_bits": -1 + } + ] + }, + { + "name": "MvtGeom", + "file": "meos_geo.h", + "fields": [ + { + "name": "geom", + "cType": "int *", + "offset_bits": -1 + }, + { + "name": "times", + "cType": "int64 *", + "offset_bits": -1 + }, + { + "name": "count", + "cType": "int", + "offset_bits": -1 + } + ] + }, + { + "name": "SpaceSplit", + "file": "meos_geo.h", + "fields": [ + { + "name": "fragments", + "cType": "Temporal **", + "offset_bits": -1 + }, + { + "name": "bins", + "cType": "int **", + "offset_bits": -1 + }, + { + "name": "count", + "cType": "int", + "offset_bits": -1 + } + ] + }, + { + "name": "SpaceTimeSplit", + "file": "meos_geo.h", + "fields": [ + { + "name": "fragments", + "cType": "Temporal **", + "offset_bits": -1 + }, + { + "name": "space_bins", + "cType": "int **", + "offset_bits": -1 + }, + { + "name": "time_bins", + "cType": "TimestampTz *", + "offset_bits": -1 + }, + { + "name": "count", + "cType": "int", + "offset_bits": -1 + } + ] + }, + { + "name": "Cbuffer", + "file": "meos_cbuffer.h", + "fields": [] + }, + { + "name": "temptype_catalog_struct", + "file": "meos_catalog.h", + "fields": [ + { + "name": "temptype", + "cType": "MeosType", + "offset_bits": 0 + }, + { + "name": "basetype", + "cType": "MeosType", + "offset_bits": 32 + } + ] + }, + { + "name": "settype_catalog_struct", + "file": "meos_catalog.h", + "fields": [ + { + "name": "settype", + "cType": "MeosType", + "offset_bits": 0 + }, + { + "name": "basetype", + "cType": "MeosType", + "offset_bits": 32 + } + ] + }, + { + "name": "spantype_catalog_struct", + "file": "meos_catalog.h", + "fields": [ + { + "name": "spantype", + "cType": "MeosType", + "offset_bits": 0 + }, + { + "name": "basetype", + "cType": "MeosType", + "offset_bits": 32 + } + ] + }, + { + "name": "spansettype_catalog_struct", + "file": "meos_catalog.h", + "fields": [ + { + "name": "spansettype", + "cType": "MeosType", + "offset_bits": 0 + }, + { + "name": "spantype", + "cType": "MeosType", + "offset_bits": 32 + } + ] + }, + { + "name": "SkipListElem", + "file": "meos_internal.h", + "fields": [ + { + "name": "key", + "cType": "void *", + "offset_bits": 0 + }, + { + "name": "value", + "cType": "void *", + "offset_bits": 64 + }, + { + "name": "height", + "cType": "int", + "offset_bits": 128 + }, + { + "name": "next", + "cType": "int[32]", + "offset_bits": 160 + } + ] + }, + { + "name": "DatumSplit", + "file": "meos_internal.h", + "fields": [ + { + "name": "fragments", + "cType": "Temporal **", + "offset_bits": 0 + }, + { + "name": "bins", + "cType": "Datum *", + "offset_bits": 64 + }, + { + "name": "count", + "cType": "int", + "offset_bits": 128 + } + ] + }, + { + "name": "double2", + "file": "doublen.h", + "fields": [ + { + "name": "a", + "cType": "double", + "offset_bits": 0 + }, + { + "name": "b", + "cType": "double", + "offset_bits": 64 + } + ] + }, + { + "name": "double3", + "file": "doublen.h", + "fields": [ + { + "name": "a", + "cType": "double", + "offset_bits": 0 + }, + { + "name": "b", + "cType": "double", + "offset_bits": 64 + }, + { + "name": "c", + "cType": "double", + "offset_bits": 128 + } + ] + }, + { + "name": "double4", + "file": "doublen.h", + "fields": [ + { + "name": "a", + "cType": "double", + "offset_bits": 0 + }, + { + "name": "b", + "cType": "double", + "offset_bits": 64 + }, + { + "name": "c", + "cType": "double", + "offset_bits": 128 + }, + { + "name": "d", + "cType": "double", + "offset_bits": 192 + } + ] + }, + { + "name": "GeoAggregateState", + "file": "tgeo_aggfuncs.h", + "fields": [ + { + "name": "srid", + "cType": "int32_t", + "offset_bits": 0 + }, + { + "name": "hasz", + "cType": "_Bool", + "offset_bits": 32 + } + ] + }, + { + "name": "BitMatrix", + "file": "tgeo_tile.h", + "fields": [ + { + "name": "ndims", + "cType": "int", + "offset_bits": 0 + }, + { + "name": "count", + "cType": "int[4]", + "offset_bits": 32 + }, + { + "name": "byte", + "cType": "uint8_t[1]", + "offset_bits": 160 + } + ] + }, + { + "name": "STboxGridState", + "file": "tgeo_tile.h", + "fields": [ + { + "name": "done", + "cType": "_Bool", + "offset_bits": -1 + }, + { + "name": "hasx", + "cType": "_Bool", + "offset_bits": -1 + }, + { + "name": "hasz", + "cType": "_Bool", + "offset_bits": -1 + }, + { + "name": "hast", + "cType": "_Bool", + "offset_bits": -1 + }, + { + "name": "i", + "cType": "int", + "offset_bits": -1 + }, + { + "name": "xsize", + "cType": "double", + "offset_bits": -1 + }, + { + "name": "ysize", + "cType": "double", + "offset_bits": -1 + }, + { + "name": "zsize", + "cType": "double", + "offset_bits": -1 + }, + { + "name": "tunits", + "cType": "int64", + "offset_bits": -1 + }, + { + "name": "box", + "cType": "STBox", + "offset_bits": -1 + }, + { + "name": "temp", + "cType": "const Temporal *", + "offset_bits": -1 + }, + { + "name": "bm", + "cType": "BitMatrix *", + "offset_bits": -1 + }, + { + "name": "x", + "cType": "double", + "offset_bits": -1 + }, + { + "name": "y", + "cType": "double", + "offset_bits": -1 + }, + { + "name": "z", + "cType": "double", + "offset_bits": -1 + }, + { + "name": "t", + "cType": "TimestampTz", + "offset_bits": -1 + }, + { + "name": "ntiles", + "cType": "int", + "offset_bits": -1 + }, + { + "name": "max_coords", + "cType": "int[4]", + "offset_bits": -1 + }, + { + "name": "coords", + "cType": "int[4]", + "offset_bits": -1 + } + ] + }, + { + "name": "Npoint", + "file": "meos_npoint.h", + "fields": [ + { + "name": "rid", + "cType": "int64", + "offset_bits": 0 + }, + { + "name": "pos", + "cType": "double", + "offset_bits": 64 + } + ] + }, + { + "name": "Nsegment", + "file": "meos_npoint.h", + "fields": [ + { + "name": "rid", + "cType": "int64", + "offset_bits": 0 + }, + { + "name": "pos1", + "cType": "double", + "offset_bits": 64 + }, + { + "name": "pos2", + "cType": "double", + "offset_bits": 128 + } + ] + }, + { + "name": "Pcpoint", + "file": "meos_pointcloud.h", + "fields": [] + }, + { + "name": "Pcpatch", + "file": "meos_pointcloud.h", + "fields": [] + }, + { + "name": "PCSCHEMA", + "file": "meos_pointcloud.h", + "fields": [] + }, + { + "name": "TPCBox", + "file": "meos_pointcloud.h", + "fields": [ + { + "name": "period", + "cType": "Span", + "offset_bits": -1 + }, + { + "name": "xmin", + "cType": "double", + "offset_bits": -1 + }, + { + "name": "ymin", + "cType": "double", + "offset_bits": -1 + }, + { + "name": "zmin", + "cType": "double", + "offset_bits": -1 + }, + { + "name": "xmax", + "cType": "double", + "offset_bits": -1 + }, + { + "name": "ymax", + "cType": "double", + "offset_bits": -1 + }, + { + "name": "zmax", + "cType": "double", + "offset_bits": -1 + }, + { + "name": "srid", + "cType": "int32_t", + "offset_bits": -1 + }, + { + "name": "pcid", + "cType": "uint32_t", + "offset_bits": -1 + }, + { + "name": "flags", + "cType": "int16", + "offset_bits": -1 + }, + { + "name": "padding", + "cType": "char[6]", + "offset_bits": -1 + } + ] + }, + { + "name": "Pose", + "file": "meos_pose.h", + "fields": [] + }, + { + "name": "PcpointInTpcboxArgs", + "file": "pcpatch_decompose.h", + "fields": [ + { + "name": "box", + "cType": "const TPCBox *", + "offset_bits": 0 + }, + { + "name": "border_inc", + "cType": "_Bool", + "offset_bits": 64 + } + ] + }, + { + "name": "SERIALIZED_POINT", + "file": "pgsql_compat.h", + "fields": [ + { + "name": "size", + "cType": "uint32_t", + "offset_bits": 0 + }, + { + "name": "pcid", + "cType": "uint32_t", + "offset_bits": 32 + }, + { + "name": "data", + "cType": "uint8_t[1]", + "offset_bits": 64 + } + ] + }, + { + "name": "SERIALIZED_PATCH", + "file": "pgsql_compat.h", + "fields": [ + { + "name": "size", + "cType": "uint32_t", + "offset_bits": -1 + }, + { + "name": "pcid", + "cType": "uint32_t", + "offset_bits": -1 + }, + { + "name": "compression", + "cType": "uint32_t", + "offset_bits": -1 + }, + { + "name": "npoints", + "cType": "uint32_t", + "offset_bits": -1 + }, + { + "name": "bounds", + "cType": "int", + "offset_bits": -1 + }, + { + "name": "data", + "cType": "uint8_t[1]", + "offset_bits": -1 + } + ] + }, + { + "name": "AFFINE", + "file": "postgis_ext_defs.in.h", + "fields": [ + { + "name": "afac", + "cType": "double", + "offset_bits": 0 + }, + { + "name": "bfac", + "cType": "double", + "offset_bits": 64 + }, + { + "name": "cfac", + "cType": "double", + "offset_bits": 128 + }, + { + "name": "dfac", + "cType": "double", + "offset_bits": 192 + }, + { + "name": "efac", + "cType": "double", + "offset_bits": 256 + }, + { + "name": "ffac", + "cType": "double", + "offset_bits": 320 + }, + { + "name": "gfac", + "cType": "double", + "offset_bits": 384 + }, + { + "name": "hfac", + "cType": "double", + "offset_bits": 448 + }, + { + "name": "ifac", + "cType": "double", + "offset_bits": 512 + }, + { + "name": "xoff", + "cType": "double", + "offset_bits": 576 + }, + { + "name": "yoff", + "cType": "double", + "offset_bits": 640 + }, + { + "name": "zoff", + "cType": "double", + "offset_bits": 704 + } + ] + }, + { + "name": "BOX3D", + "file": "postgis_ext_defs.in.h", + "fields": [ + { + "name": "xmin", + "cType": "double", + "offset_bits": 0 + }, + { + "name": "ymin", + "cType": "double", + "offset_bits": 64 + }, + { + "name": "zmin", + "cType": "double", + "offset_bits": 128 + }, + { + "name": "xmax", + "cType": "double", + "offset_bits": 192 + }, + { + "name": "ymax", + "cType": "double", + "offset_bits": 256 + }, + { + "name": "zmax", + "cType": "double", + "offset_bits": 320 + }, + { + "name": "srid", + "cType": "int32_t", + "offset_bits": 384 + } + ] + }, + { + "name": "GBOX", + "file": "postgis_ext_defs.in.h", + "fields": [ + { + "name": "flags", + "cType": "lwflags_t", + "offset_bits": 0 + }, + { + "name": "xmin", + "cType": "double", + "offset_bits": 64 + }, + { + "name": "xmax", + "cType": "double", + "offset_bits": 128 + }, + { + "name": "ymin", + "cType": "double", + "offset_bits": 192 + }, + { + "name": "ymax", + "cType": "double", + "offset_bits": 256 + }, + { + "name": "zmin", + "cType": "double", + "offset_bits": 320 + }, + { + "name": "zmax", + "cType": "double", + "offset_bits": 384 + }, + { + "name": "mmin", + "cType": "double", + "offset_bits": 448 + }, + { + "name": "mmax", + "cType": "double", + "offset_bits": 512 + } + ] + }, + { + "name": "SPHEROID", + "file": "postgis_ext_defs.in.h", + "fields": [ + { + "name": "a", + "cType": "double", + "offset_bits": 0 + }, + { + "name": "b", + "cType": "double", + "offset_bits": 64 + }, + { + "name": "f", + "cType": "double", + "offset_bits": 128 + }, + { + "name": "e", + "cType": "double", + "offset_bits": 192 + }, + { + "name": "e_sq", + "cType": "double", + "offset_bits": 256 + }, + { + "name": "radius", + "cType": "double", + "offset_bits": 320 + }, + { + "name": "name", + "cType": "char[20]", + "offset_bits": 384 + } + ] + }, + { + "name": "POINT2D", + "file": "postgis_ext_defs.in.h", + "fields": [ + { + "name": "x", + "cType": "double", + "offset_bits": 0 + }, + { + "name": "y", + "cType": "double", + "offset_bits": 64 + } + ] + }, + { + "name": "POINT3DZ", + "file": "postgis_ext_defs.in.h", + "fields": [ + { + "name": "x", + "cType": "double", + "offset_bits": 0 + }, + { + "name": "y", + "cType": "double", + "offset_bits": 64 + }, + { + "name": "z", + "cType": "double", + "offset_bits": 128 + } + ] + }, + { + "name": "POINT3D", + "file": "postgis_ext_defs.in.h", + "fields": [ + { + "name": "x", + "cType": "double", + "offset_bits": 0 + }, + { + "name": "y", + "cType": "double", + "offset_bits": 64 + }, + { + "name": "z", + "cType": "double", + "offset_bits": 128 + } + ] + }, + { + "name": "POINT3DM", + "file": "postgis_ext_defs.in.h", + "fields": [ + { + "name": "x", + "cType": "double", + "offset_bits": 0 + }, + { + "name": "y", + "cType": "double", + "offset_bits": 64 + }, + { + "name": "m", + "cType": "double", + "offset_bits": 128 + } + ] + }, + { + "name": "POINT4D", + "file": "postgis_ext_defs.in.h", + "fields": [ + { + "name": "x", + "cType": "double", + "offset_bits": 0 + }, + { + "name": "y", + "cType": "double", + "offset_bits": 64 + }, + { + "name": "z", + "cType": "double", + "offset_bits": 128 + }, + { + "name": "m", + "cType": "double", + "offset_bits": 192 + } + ] + }, + { + "name": "POINTARRAY", + "file": "postgis_ext_defs.in.h", + "fields": [ + { + "name": "npoints", + "cType": "uint32_t", + "offset_bits": 0 + }, + { + "name": "maxpoints", + "cType": "uint32_t", + "offset_bits": 32 + }, + { + "name": "flags", + "cType": "lwflags_t", + "offset_bits": 64 + }, + { + "name": "serialized_pointlist", + "cType": "uint8_t *", + "offset_bits": 128 + } + ] + }, + { + "name": "GSERIALIZED", + "file": "postgis_ext_defs.in.h", + "fields": [ + { + "name": "size", + "cType": "uint32_t", + "offset_bits": 0 + }, + { + "name": "srid", + "cType": "uint8_t[3]", "offset_bits": 32 }, { - "name": "basetype", - "cType": "uint8", - "offset_bits": 40 + "name": "gflags", + "cType": "uint8_t", + "offset_bits": 56 + }, + { + "name": "data", + "cType": "uint8_t[1]", + "offset_bits": 64 + } + ] + }, + { + "name": "LWGEOM", + "file": "postgis_ext_defs.in.h", + "fields": [ + { + "name": "bbox", + "cType": "GBOX *", + "offset_bits": 0 + }, + { + "name": "data", + "cType": "void *", + "offset_bits": 64 + }, + { + "name": "srid", + "cType": "int32_t", + "offset_bits": 128 + }, + { + "name": "flags", + "cType": "lwflags_t", + "offset_bits": 160 + }, + { + "name": "type", + "cType": "uint8_t", + "offset_bits": 176 + }, + { + "name": "pad", + "cType": "char[1]", + "offset_bits": 184 + } + ] + }, + { + "name": "LWPOINT", + "file": "postgis_ext_defs.in.h", + "fields": [ + { + "name": "bbox", + "cType": "GBOX *", + "offset_bits": 0 + }, + { + "name": "point", + "cType": "POINTARRAY *", + "offset_bits": 64 + }, + { + "name": "srid", + "cType": "int32_t", + "offset_bits": 128 + }, + { + "name": "flags", + "cType": "lwflags_t", + "offset_bits": 160 + }, + { + "name": "type", + "cType": "uint8_t", + "offset_bits": 176 + }, + { + "name": "pad", + "cType": "char[1]", + "offset_bits": 184 + } + ] + }, + { + "name": "LWLINE", + "file": "postgis_ext_defs.in.h", + "fields": [ + { + "name": "bbox", + "cType": "GBOX *", + "offset_bits": 0 + }, + { + "name": "points", + "cType": "POINTARRAY *", + "offset_bits": 64 + }, + { + "name": "srid", + "cType": "int32_t", + "offset_bits": 128 + }, + { + "name": "flags", + "cType": "lwflags_t", + "offset_bits": 160 + }, + { + "name": "type", + "cType": "uint8_t", + "offset_bits": 176 + }, + { + "name": "pad", + "cType": "char[1]", + "offset_bits": 184 + } + ] + }, + { + "name": "LWTRIANGLE", + "file": "postgis_ext_defs.in.h", + "fields": [ + { + "name": "bbox", + "cType": "GBOX *", + "offset_bits": 0 + }, + { + "name": "points", + "cType": "POINTARRAY *", + "offset_bits": 64 + }, + { + "name": "srid", + "cType": "int32_t", + "offset_bits": 128 }, { "name": "flags", - "cType": "int16", - "offset_bits": 48 + "cType": "lwflags_t", + "offset_bits": 160 }, { - "name": "count", - "cType": "int32", + "name": "type", + "cType": "uint8_t", + "offset_bits": 176 + }, + { + "name": "pad", + "cType": "char[1]", + "offset_bits": 184 + } + ] + }, + { + "name": "LWCIRCSTRING", + "file": "postgis_ext_defs.in.h", + "fields": [ + { + "name": "bbox", + "cType": "GBOX *", + "offset_bits": 0 + }, + { + "name": "points", + "cType": "POINTARRAY *", "offset_bits": 64 }, { - "name": "maxcount", - "cType": "int32", - "offset_bits": 96 + "name": "srid", + "cType": "int32_t", + "offset_bits": 128 + }, + { + "name": "flags", + "cType": "lwflags_t", + "offset_bits": 160 + }, + { + "name": "type", + "cType": "uint8_t", + "offset_bits": 176 + }, + { + "name": "pad", + "cType": "char[1]", + "offset_bits": 184 + } + ] + }, + { + "name": "LWPOLY", + "file": "postgis_ext_defs.in.h", + "fields": [ + { + "name": "bbox", + "cType": "GBOX *", + "offset_bits": 0 + }, + { + "name": "rings", + "cType": "POINTARRAY **", + "offset_bits": 64 + }, + { + "name": "srid", + "cType": "int32_t", + "offset_bits": 128 + }, + { + "name": "flags", + "cType": "lwflags_t", + "offset_bits": 160 + }, + { + "name": "type", + "cType": "uint8_t", + "offset_bits": 176 + }, + { + "name": "pad", + "cType": "char[1]", + "offset_bits": 184 + }, + { + "name": "nrings", + "cType": "uint32_t", + "offset_bits": 192 + }, + { + "name": "maxrings", + "cType": "uint32_t", + "offset_bits": 224 + } + ] + }, + { + "name": "LWMPOINT", + "file": "postgis_ext_defs.in.h", + "fields": [ + { + "name": "bbox", + "cType": "GBOX *", + "offset_bits": 0 + }, + { + "name": "geoms", + "cType": "LWPOINT **", + "offset_bits": 64 + }, + { + "name": "srid", + "cType": "int32_t", + "offset_bits": 128 + }, + { + "name": "flags", + "cType": "lwflags_t", + "offset_bits": 160 + }, + { + "name": "type", + "cType": "uint8_t", + "offset_bits": 176 + }, + { + "name": "pad", + "cType": "char[1]", + "offset_bits": 184 + }, + { + "name": "ngeoms", + "cType": "uint32_t", + "offset_bits": 192 + }, + { + "name": "maxgeoms", + "cType": "uint32_t", + "offset_bits": 224 + } + ] + }, + { + "name": "LWMLINE", + "file": "postgis_ext_defs.in.h", + "fields": [ + { + "name": "bbox", + "cType": "GBOX *", + "offset_bits": 0 + }, + { + "name": "geoms", + "cType": "LWLINE **", + "offset_bits": 64 + }, + { + "name": "srid", + "cType": "int32_t", + "offset_bits": 128 + }, + { + "name": "flags", + "cType": "lwflags_t", + "offset_bits": 160 + }, + { + "name": "type", + "cType": "uint8_t", + "offset_bits": 176 + }, + { + "name": "pad", + "cType": "char[1]", + "offset_bits": 184 + }, + { + "name": "ngeoms", + "cType": "uint32_t", + "offset_bits": 192 + }, + { + "name": "maxgeoms", + "cType": "uint32_t", + "offset_bits": 224 + } + ] + }, + { + "name": "LWMPOLY", + "file": "postgis_ext_defs.in.h", + "fields": [ + { + "name": "bbox", + "cType": "GBOX *", + "offset_bits": 0 + }, + { + "name": "geoms", + "cType": "LWPOLY **", + "offset_bits": 64 + }, + { + "name": "srid", + "cType": "int32_t", + "offset_bits": 128 + }, + { + "name": "flags", + "cType": "lwflags_t", + "offset_bits": 160 + }, + { + "name": "type", + "cType": "uint8_t", + "offset_bits": 176 + }, + { + "name": "pad", + "cType": "char[1]", + "offset_bits": 184 + }, + { + "name": "ngeoms", + "cType": "uint32_t", + "offset_bits": 192 + }, + { + "name": "maxgeoms", + "cType": "uint32_t", + "offset_bits": 224 + } + ] + }, + { + "name": "LWCOLLECTION", + "file": "postgis_ext_defs.in.h", + "fields": [ + { + "name": "bbox", + "cType": "GBOX *", + "offset_bits": 0 + }, + { + "name": "geoms", + "cType": "LWGEOM **", + "offset_bits": 64 + }, + { + "name": "srid", + "cType": "int32_t", + "offset_bits": 128 + }, + { + "name": "flags", + "cType": "lwflags_t", + "offset_bits": 160 + }, + { + "name": "type", + "cType": "uint8_t", + "offset_bits": 176 + }, + { + "name": "pad", + "cType": "char[1]", + "offset_bits": 184 + }, + { + "name": "ngeoms", + "cType": "uint32_t", + "offset_bits": 192 + }, + { + "name": "maxgeoms", + "cType": "uint32_t", + "offset_bits": 224 + } + ] + }, + { + "name": "LWCOMPOUND", + "file": "postgis_ext_defs.in.h", + "fields": [ + { + "name": "bbox", + "cType": "GBOX *", + "offset_bits": 0 + }, + { + "name": "geoms", + "cType": "LWGEOM **", + "offset_bits": 64 + }, + { + "name": "srid", + "cType": "int32_t", + "offset_bits": 128 + }, + { + "name": "flags", + "cType": "lwflags_t", + "offset_bits": 160 + }, + { + "name": "type", + "cType": "uint8_t", + "offset_bits": 176 + }, + { + "name": "pad", + "cType": "char[1]", + "offset_bits": 184 + }, + { + "name": "ngeoms", + "cType": "uint32_t", + "offset_bits": 192 + }, + { + "name": "maxgeoms", + "cType": "uint32_t", + "offset_bits": 224 + } + ] + }, + { + "name": "LWCURVEPOLY", + "file": "postgis_ext_defs.in.h", + "fields": [ + { + "name": "bbox", + "cType": "GBOX *", + "offset_bits": 0 + }, + { + "name": "rings", + "cType": "LWGEOM **", + "offset_bits": 64 + }, + { + "name": "srid", + "cType": "int32_t", + "offset_bits": 128 + }, + { + "name": "flags", + "cType": "lwflags_t", + "offset_bits": 160 + }, + { + "name": "type", + "cType": "uint8_t", + "offset_bits": 176 + }, + { + "name": "pad", + "cType": "char[1]", + "offset_bits": 184 + }, + { + "name": "nrings", + "cType": "uint32_t", + "offset_bits": 192 + }, + { + "name": "maxrings", + "cType": "uint32_t", + "offset_bits": 224 + } + ] + }, + { + "name": "LWMCURVE", + "file": "postgis_ext_defs.in.h", + "fields": [ + { + "name": "bbox", + "cType": "GBOX *", + "offset_bits": 0 + }, + { + "name": "geoms", + "cType": "LWGEOM **", + "offset_bits": 64 + }, + { + "name": "srid", + "cType": "int32_t", + "offset_bits": 128 + }, + { + "name": "flags", + "cType": "lwflags_t", + "offset_bits": 160 + }, + { + "name": "type", + "cType": "uint8_t", + "offset_bits": 176 + }, + { + "name": "pad", + "cType": "char[1]", + "offset_bits": 184 + }, + { + "name": "ngeoms", + "cType": "uint32_t", + "offset_bits": 192 + }, + { + "name": "maxgeoms", + "cType": "uint32_t", + "offset_bits": 224 + } + ] + }, + { + "name": "LWMSURFACE", + "file": "postgis_ext_defs.in.h", + "fields": [ + { + "name": "bbox", + "cType": "GBOX *", + "offset_bits": 0 + }, + { + "name": "geoms", + "cType": "LWGEOM **", + "offset_bits": 64 + }, + { + "name": "srid", + "cType": "int32_t", + "offset_bits": 128 + }, + { + "name": "flags", + "cType": "lwflags_t", + "offset_bits": 160 + }, + { + "name": "type", + "cType": "uint8_t", + "offset_bits": 176 + }, + { + "name": "pad", + "cType": "char[1]", + "offset_bits": 184 + }, + { + "name": "ngeoms", + "cType": "uint32_t", + "offset_bits": 192 + }, + { + "name": "maxgeoms", + "cType": "uint32_t", + "offset_bits": 224 + } + ] + }, + { + "name": "LWPSURFACE", + "file": "postgis_ext_defs.in.h", + "fields": [ + { + "name": "bbox", + "cType": "GBOX *", + "offset_bits": 0 + }, + { + "name": "geoms", + "cType": "LWPOLY **", + "offset_bits": 64 + }, + { + "name": "srid", + "cType": "int32_t", + "offset_bits": 128 + }, + { + "name": "flags", + "cType": "lwflags_t", + "offset_bits": 160 + }, + { + "name": "type", + "cType": "uint8_t", + "offset_bits": 176 + }, + { + "name": "pad", + "cType": "char[1]", + "offset_bits": 184 + }, + { + "name": "ngeoms", + "cType": "uint32_t", + "offset_bits": 192 }, { - "name": "bboxsize", - "cType": "int16", - "offset_bits": 128 + "name": "maxgeoms", + "cType": "uint32_t", + "offset_bits": 224 } ] }, { - "name": "Span", - "file": "meos.h", + "name": "LWTIN", + "file": "postgis_ext_defs.in.h", "fields": [ { - "name": "spantype", - "cType": "uint8", - "offset_bits": -1 + "name": "bbox", + "cType": "GBOX *", + "offset_bits": 0 }, { - "name": "basetype", - "cType": "uint8", - "offset_bits": -1 + "name": "geoms", + "cType": "LWTRIANGLE **", + "offset_bits": 64 }, { - "name": "lower_inc", - "cType": "_Bool", - "offset_bits": -1 + "name": "srid", + "cType": "int32_t", + "offset_bits": 128 }, { - "name": "upper_inc", - "cType": "_Bool", - "offset_bits": -1 + "name": "flags", + "cType": "lwflags_t", + "offset_bits": 160 }, { - "name": "padding", - "cType": "char[4]", - "offset_bits": -1 + "name": "type", + "cType": "uint8_t", + "offset_bits": 176 }, { - "name": "lower", - "cType": "int", - "offset_bits": -1 + "name": "pad", + "cType": "char[1]", + "offset_bits": 184 }, { - "name": "upper", - "cType": "int", - "offset_bits": -1 + "name": "ngeoms", + "cType": "uint32_t", + "offset_bits": 192 + }, + { + "name": "maxgeoms", + "cType": "uint32_t", + "offset_bits": 224 } ] }, { - "name": "SpanSet", - "file": "meos.h", + "name": "PJconsts", + "file": "postgis_ext_defs.in.h", + "fields": [] + }, + { + "name": "LWPROJ", + "file": "postgis_ext_defs.in.h", "fields": [ { - "name": "vl_len_", - "cType": "int32", - "offset_bits": -1 + "name": "pj", + "cType": "PJ *", + "offset_bits": 0 }, { - "name": "spansettype", - "cType": "uint8", - "offset_bits": -1 + "name": "pipeline_is_forward", + "cType": "_Bool", + "offset_bits": 64 }, { - "name": "spantype", - "cType": "uint8", - "offset_bits": -1 + "name": "source_is_latlong", + "cType": "uint8_t", + "offset_bits": 72 }, { - "name": "basetype", - "cType": "uint8", - "offset_bits": -1 + "name": "source_semi_major_metre", + "cType": "double", + "offset_bits": 128 }, { - "name": "padding", - "cType": "char", - "offset_bits": -1 - }, + "name": "source_semi_minor_metre", + "cType": "double", + "offset_bits": 192 + } + ] + }, + { + "name": "Interval", + "file": "postgres_ext_defs.in.h", + "fields": [ { - "name": "count", - "cType": "int32", - "offset_bits": -1 + "name": "time", + "cType": "TimeOffset", + "offset_bits": 0 }, { - "name": "maxcount", + "name": "day", "cType": "int32", - "offset_bits": -1 - }, - { - "name": "span", - "cType": "Span", - "offset_bits": -1 + "offset_bits": 64 }, { - "name": "elems", - "cType": "Span[1]", - "offset_bits": -1 + "name": "month", + "cType": "int32", + "offset_bits": 96 } ] }, { - "name": "TBox", - "file": "meos.h", + "name": "varlena", + "file": "postgres_ext_defs.in.h", "fields": [ { - "name": "period", - "cType": "Span", - "offset_bits": -1 - }, - { - "name": "span", - "cType": "Span", - "offset_bits": -1 + "name": "vl_len_", + "cType": "char[4]", + "offset_bits": 0 }, { - "name": "flags", - "cType": "int16", - "offset_bits": -1 + "name": "vl_dat", + "cType": "char[]", + "offset_bits": 32 } ] }, { - "name": "STBox", - "file": "meos.h", + "name": "cfp_elem", + "file": "trgeo_distance.h", "fields": [ { - "name": "period", - "cType": "Span", - "offset_bits": -1 + "name": "geom_1", + "cType": "LWGEOM *", + "offset_bits": 0 }, { - "name": "xmin", - "cType": "double", - "offset_bits": -1 + "name": "geom_2", + "cType": "LWGEOM *", + "offset_bits": 64 }, { - "name": "ymin", - "cType": "double", - "offset_bits": -1 + "name": "pose_1", + "cType": "Pose *", + "offset_bits": 128 }, { - "name": "zmin", - "cType": "double", - "offset_bits": -1 + "name": "pose_2", + "cType": "Pose *", + "offset_bits": 192 }, { - "name": "xmax", - "cType": "double", - "offset_bits": -1 + "name": "free_pose_1", + "cType": "_Bool", + "offset_bits": 256 }, { - "name": "ymax", - "cType": "double", - "offset_bits": -1 + "name": "free_pose_2", + "cType": "_Bool", + "offset_bits": 264 }, { - "name": "zmax", - "cType": "double", - "offset_bits": -1 + "name": "cf_1", + "cType": "uint32_t", + "offset_bits": 288 }, { - "name": "srid", - "cType": "int32_t", - "offset_bits": -1 + "name": "cf_2", + "cType": "uint32_t", + "offset_bits": 320 }, { - "name": "flags", - "cType": "int16", - "offset_bits": -1 + "name": "t", + "cType": "TimestampTz", + "offset_bits": 384 + }, + { + "name": "store", + "cType": "_Bool", + "offset_bits": 448 } ] }, { - "name": "Temporal", - "file": "meos.h", + "name": "cfp_array", + "file": "trgeo_distance.h", "fields": [ { - "name": "vl_len_", - "cType": "int32", + "name": "count", + "cType": "size_t", "offset_bits": 0 }, { - "name": "temptype", - "cType": "uint8", - "offset_bits": 32 - }, - { - "name": "subtype", - "cType": "uint8", - "offset_bits": 40 + "name": "size", + "cType": "size_t", + "offset_bits": 64 }, { - "name": "flags", - "cType": "int16", - "offset_bits": 48 + "name": "arr", + "cType": "cfp_elem *", + "offset_bits": 128 } ] }, { - "name": "TInstant", - "file": "meos.h", + "name": "tdist_elem", + "file": "trgeo_distance.h", "fields": [ { - "name": "vl_len_", - "cType": "int32", - "offset_bits": -1 - }, - { - "name": "temptype", - "cType": "uint8", - "offset_bits": -1 + "name": "dist", + "cType": "double", + "offset_bits": 0 }, { - "name": "subtype", - "cType": "uint8", - "offset_bits": -1 - }, + "name": "t", + "cType": "TimestampTz", + "offset_bits": 64 + } + ] + }, + { + "name": "tdist_array", + "file": "trgeo_distance.h", + "fields": [ { - "name": "flags", - "cType": "int16", - "offset_bits": -1 + "name": "count", + "cType": "size_t", + "offset_bits": 0 }, { - "name": "t", - "cType": "TimestampTz", - "offset_bits": -1 + "name": "size", + "cType": "size_t", + "offset_bits": 64 }, { - "name": "value", - "cType": "int", - "offset_bits": -1 + "name": "arr", + "cType": "tdist_elem *", + "offset_bits": 128 } - ], - "meosType": "TPointInst" + ] }, { - "name": "TSequence", - "file": "meos.h", + "name": "SpanBound", + "file": "span.h", "fields": [ { - "name": "vl_len_", - "cType": "int32", + "name": "val", + "cType": "Datum", "offset_bits": -1 }, { - "name": "temptype", - "cType": "uint8", + "name": "inclusive", + "cType": "_Bool", "offset_bits": -1 }, { - "name": "subtype", - "cType": "uint8", + "name": "lower", + "cType": "_Bool", "offset_bits": -1 }, { - "name": "flags", - "cType": "int16", + "name": "spantype", + "cType": "uint8", "offset_bits": -1 }, { - "name": "count", - "cType": "int32", + "name": "basetype", + "cType": "uint8", "offset_bits": -1 - }, + } + ] + }, + { + "name": "LiftedFunctionInfo", + "file": "lifting.h", + "fields": [ { - "name": "maxcount", - "cType": "int32", + "name": "func", + "cType": "varfunc", "offset_bits": -1 }, { - "name": "bboxsize", - "cType": "int16", + "name": "numparam", + "cType": "int", "offset_bits": -1 }, { - "name": "padding", - "cType": "char[6]", + "name": "param", + "cType": "int", "offset_bits": -1 }, { - "name": "period", - "cType": "Span", - "offset_bits": -1 - } - ], - "meosType": "TPointSeq" - }, - { - "name": "TSequenceSet", - "file": "meos.h", - "fields": [ - { - "name": "vl_len_", - "cType": "int32", + "name": "argtype", + "cType": "MeosType[2]", "offset_bits": -1 }, { - "name": "temptype", - "cType": "uint8", + "name": "restype", + "cType": "MeosType", "offset_bits": -1 }, { - "name": "subtype", - "cType": "uint8", + "name": "reslinear", + "cType": "_Bool", "offset_bits": -1 }, { - "name": "flags", - "cType": "int16", + "name": "invert", + "cType": "_Bool", "offset_bits": -1 }, { - "name": "count", - "cType": "int32", + "name": "discont", + "cType": "_Bool", "offset_bits": -1 }, { - "name": "totalcount", - "cType": "int32", + "name": "ever", + "cType": "_Bool", "offset_bits": -1 }, { - "name": "maxcount", - "cType": "int32", + "name": "tpfn_unary", + "cType": "tpfunc_unary", "offset_bits": -1 }, { - "name": "bboxsize", - "cType": "int16", + "name": "cross_type", + "cType": "_Bool", "offset_bits": -1 }, { - "name": "padding", - "cType": "int16", + "name": "tpfn_base", + "cType": "tpfunc_base", "offset_bits": -1 }, { - "name": "period", - "cType": "Span", + "name": "tpfn_temp", + "cType": "tpfunc_temp", "offset_bits": -1 } ] }, { - "name": "Match", - "file": "meos.h", + "name": "SetUnnestState", + "file": "set.h", "fields": [ { - "name": "i", - "cType": "int", + "name": "done", + "cType": "_Bool", "offset_bits": 0 }, { - "name": "j", + "name": "i", "cType": "int", "offset_bits": 32 - } - ] - }, - { - "name": "SkipList", - "file": "meos.h", - "fields": [] - }, - { - "name": "MeosArray", - "file": "meos.h", - "fields": [] - }, - { - "name": "RTree", - "file": "meos.h", - "fields": [] - }, - { - "name": "Cbuffer", - "file": "meos_cbuffer.h", - "fields": [] - }, - { - "name": "SkipListElem", - "file": "meos_internal.h", - "fields": [ - { - "name": "key", - "cType": "void *", - "offset_bits": 0 }, { - "name": "value", - "cType": "void *", + "name": "count", + "cType": "int", "offset_bits": 64 }, { - "name": "height", - "cType": "int", + "name": "set", + "cType": "Set *", "offset_bits": 128 }, { - "name": "next", - "cType": "int[32]", - "offset_bits": 160 + "name": "values", + "cType": "Datum *", + "offset_bits": 192 } ] }, { - "name": "Npoint", - "file": "meos_npoint.h", + "name": "SimilarityPathState", + "file": "temporal_analytics.h", "fields": [ { - "name": "rid", - "cType": "int64", + "name": "done", + "cType": "_Bool", "offset_bits": 0 }, { - "name": "pos", - "cType": "double", - "offset_bits": 64 - } - ] - }, - { - "name": "Nsegment", - "file": "meos_npoint.h", - "fields": [ - { - "name": "rid", - "cType": "int64", - "offset_bits": 0 + "name": "i", + "cType": "int", + "offset_bits": 32 }, { - "name": "pos1", - "cType": "double", + "name": "size", + "cType": "int", "offset_bits": 64 }, { - "name": "pos2", - "cType": "double", + "name": "path", + "cType": "Match *", "offset_bits": 128 } ] }, { - "name": "Pose", - "file": "meos_pose.h", - "fields": [] - }, - { - "name": "AFFINE", - "file": "postgis_ext_defs.in.h", + "name": "RTreeNode", + "file": "temporal_rtree.h", "fields": [ { - "name": "afac", - "cType": "double", + "name": "bboxsize", + "cType": "size_t", "offset_bits": 0 }, { - "name": "bfac", - "cType": "double", + "name": "count", + "cType": "int", "offset_bits": 64 }, { - "name": "cfac", - "cType": "double", - "offset_bits": 128 - }, - { - "name": "dfac", - "cType": "double", - "offset_bits": 192 - }, - { - "name": "efac", - "cType": "double", - "offset_bits": 256 - }, - { - "name": "ffac", - "cType": "double", - "offset_bits": 320 - }, - { - "name": "gfac", - "cType": "double", - "offset_bits": 384 - }, - { - "name": "hfac", - "cType": "double", - "offset_bits": 448 - }, - { - "name": "ifac", - "cType": "double", - "offset_bits": 512 - }, - { - "name": "xoff", - "cType": "double", - "offset_bits": 576 - }, - { - "name": "yoff", - "cType": "double", - "offset_bits": 640 + "name": "node_type", + "cType": "RTreeNodeType", + "offset_bits": 96 }, { - "name": "zoff", - "cType": "double", - "offset_bits": 704 + "name": "boxes", + "cType": "char[]", + "offset_bits": 4224 } ] }, { - "name": "BOX3D", - "file": "postgis_ext_defs.in.h", + "name": "SpanBinState", + "file": "temporal_tile.h", "fields": [ { - "name": "xmin", - "cType": "double", - "offset_bits": 0 + "name": "done", + "cType": "_Bool", + "offset_bits": -1 }, { - "name": "ymin", - "cType": "double", - "offset_bits": 64 + "name": "basetype", + "cType": "uint8", + "offset_bits": -1 }, { - "name": "zmin", - "cType": "double", - "offset_bits": 128 + "name": "i", + "cType": "int", + "offset_bits": -1 }, { - "name": "xmax", - "cType": "double", - "offset_bits": 192 + "name": "size", + "cType": "Datum", + "offset_bits": -1 + }, + { + "name": "origin", + "cType": "Datum", + "offset_bits": -1 + }, + { + "name": "span", + "cType": "Span", + "offset_bits": -1 }, { - "name": "ymax", - "cType": "double", - "offset_bits": 256 + "name": "to_split", + "cType": "const void *", + "offset_bits": -1 }, { - "name": "zmax", - "cType": "double", - "offset_bits": 320 + "name": "value", + "cType": "Datum", + "offset_bits": -1 }, { - "name": "srid", - "cType": "int32_t", - "offset_bits": 384 + "name": "nbins", + "cType": "int", + "offset_bits": -1 } ] }, { - "name": "GBOX", - "file": "postgis_ext_defs.in.h", + "name": "TboxGridState", + "file": "temporal_tile.h", "fields": [ { - "name": "flags", - "cType": "lwflags_t", - "offset_bits": 0 + "name": "done", + "cType": "_Bool", + "offset_bits": -1 }, { - "name": "xmin", - "cType": "double", - "offset_bits": 64 + "name": "i", + "cType": "int", + "offset_bits": -1 }, { - "name": "xmax", - "cType": "double", - "offset_bits": 128 + "name": "vsize", + "cType": "Datum", + "offset_bits": -1 }, { - "name": "ymin", - "cType": "double", - "offset_bits": 192 + "name": "tunits", + "cType": "int64", + "offset_bits": -1 }, { - "name": "ymax", - "cType": "double", - "offset_bits": 256 + "name": "box", + "cType": "TBox", + "offset_bits": -1 }, { - "name": "zmin", - "cType": "double", - "offset_bits": 320 + "name": "temp", + "cType": "const Temporal *", + "offset_bits": -1 }, { - "name": "zmax", - "cType": "double", - "offset_bits": 384 + "name": "value", + "cType": "Datum", + "offset_bits": -1 }, { - "name": "mmin", - "cType": "double", - "offset_bits": 448 + "name": "t", + "cType": "TimestampTz", + "offset_bits": -1 }, { - "name": "mmax", - "cType": "double", - "offset_bits": 512 - } - ] - }, - { - "name": "SPHEROID", - "file": "postgis_ext_defs.in.h", - "fields": [ - { - "name": "a", - "cType": "double", - "offset_bits": 0 + "name": "ntiles", + "cType": "int", + "offset_bits": -1 }, { - "name": "b", - "cType": "double", - "offset_bits": 64 + "name": "max_coords", + "cType": "int[2]", + "offset_bits": -1 }, { - "name": "f", - "cType": "double", - "offset_bits": 128 - }, + "name": "coords", + "cType": "int[2]", + "offset_bits": -1 + } + ] + } + ], + "enums": [ + { + "name": "tempSubtype", + "file": "meos.h", + "values": [ { - "name": "e", - "cType": "double", - "offset_bits": 192 + "name": "ANYTEMPSUBTYPE", + "value": 0 }, { - "name": "e_sq", - "cType": "double", - "offset_bits": 256 + "name": "TINSTANT", + "value": 1 }, { - "name": "radius", - "cType": "double", - "offset_bits": 320 + "name": "TSEQUENCE", + "value": 2 }, { - "name": "name", - "cType": "char[20]", - "offset_bits": 384 + "name": "TSEQUENCESET", + "value": 3 } ] }, { - "name": "POINT2D", - "file": "postgis_ext_defs.in.h", - "fields": [ + "name": "interpType", + "file": "meos.h", + "values": [ { - "name": "x", - "cType": "double", - "offset_bits": 0 + "name": "INTERP_NONE", + "value": 0 }, { - "name": "y", - "cType": "double", - "offset_bits": 64 - } - ] - }, - { - "name": "POINT3DZ", - "file": "postgis_ext_defs.in.h", - "fields": [ - { - "name": "x", - "cType": "double", - "offset_bits": 0 + "name": "DISCRETE", + "value": 1 }, { - "name": "y", - "cType": "double", - "offset_bits": 64 + "name": "STEP", + "value": 2 }, { - "name": "z", - "cType": "double", - "offset_bits": 128 + "name": "LINEAR", + "value": 3 } ] }, { - "name": "POINT3D", - "file": "postgis_ext_defs.in.h", - "fields": [ + "name": "RTreeSearchOp", + "file": "meos.h", + "values": [ { - "name": "x", - "cType": "double", - "offset_bits": 0 + "name": "RTREE_OVERLAPS", + "value": 0 }, { - "name": "y", - "cType": "double", - "offset_bits": 64 + "name": "RTREE_CONTAINS", + "value": 1 }, { - "name": "z", - "cType": "double", - "offset_bits": 128 + "name": "RTREE_CONTAINED_BY", + "value": 2 } ] }, { - "name": "POINT3DM", - "file": "postgis_ext_defs.in.h", - "fields": [ + "name": "errorCode", + "file": "meos.h", + "values": [ { - "name": "x", - "cType": "double", - "offset_bits": 0 + "name": "MEOS_SUCCESS", + "value": 0 }, { - "name": "y", - "cType": "double", - "offset_bits": 64 + "name": "MEOS_ERR_INTERNAL_ERROR", + "value": 1 }, { - "name": "m", - "cType": "double", - "offset_bits": 128 - } - ] - }, - { - "name": "POINT4D", - "file": "postgis_ext_defs.in.h", - "fields": [ + "name": "MEOS_ERR_INTERNAL_TYPE_ERROR", + "value": 2 + }, { - "name": "x", - "cType": "double", - "offset_bits": 0 + "name": "MEOS_ERR_VALUE_OUT_OF_RANGE", + "value": 3 }, { - "name": "y", - "cType": "double", - "offset_bits": 64 + "name": "MEOS_ERR_DIVISION_BY_ZERO", + "value": 4 }, { - "name": "z", - "cType": "double", - "offset_bits": 128 + "name": "MEOS_ERR_MEMORY_ALLOC_ERROR", + "value": 5 }, { - "name": "m", - "cType": "double", - "offset_bits": 192 - } - ] - }, - { - "name": "POINTARRAY", - "file": "postgis_ext_defs.in.h", - "fields": [ + "name": "MEOS_ERR_AGGREGATION_ERROR", + "value": 6 + }, { - "name": "npoints", - "cType": "uint32_t", - "offset_bits": 0 + "name": "MEOS_ERR_DIRECTORY_ERROR", + "value": 7 }, { - "name": "maxpoints", - "cType": "uint32_t", - "offset_bits": 32 + "name": "MEOS_ERR_FILE_ERROR", + "value": 8 }, { - "name": "flags", - "cType": "lwflags_t", - "offset_bits": 64 + "name": "MEOS_ERR_INVALID_ARG", + "value": 10 }, { - "name": "serialized_pointlist", - "cType": "uint8_t *", - "offset_bits": 128 - } - ] - }, - { - "name": "GSERIALIZED", - "file": "postgis_ext_defs.in.h", - "fields": [ + "name": "MEOS_ERR_INVALID_ARG_TYPE", + "value": 11 + }, { - "name": "size", - "cType": "uint32_t", - "offset_bits": 0 + "name": "MEOS_ERR_INVALID_ARG_VALUE", + "value": 12 }, { - "name": "srid", - "cType": "uint8_t[3]", - "offset_bits": 32 + "name": "MEOS_ERR_FEATURE_NOT_SUPPORTED", + "value": 13 }, { - "name": "gflags", - "cType": "uint8_t", - "offset_bits": 56 + "name": "MEOS_ERR_MFJSON_INPUT", + "value": 20 }, { - "name": "data", - "cType": "uint8_t[1]", - "offset_bits": 64 - } - ] - }, - { - "name": "LWGEOM", - "file": "postgis_ext_defs.in.h", - "fields": [ + "name": "MEOS_ERR_MFJSON_OUTPUT", + "value": 21 + }, { - "name": "bbox", - "cType": "GBOX *", - "offset_bits": 0 + "name": "MEOS_ERR_TEXT_INPUT", + "value": 22 }, { - "name": "data", - "cType": "void *", - "offset_bits": 64 + "name": "MEOS_ERR_TEXT_OUTPUT", + "value": 23 }, { - "name": "srid", - "cType": "int32_t", - "offset_bits": 128 + "name": "MEOS_ERR_WKB_INPUT", + "value": 24 }, { - "name": "flags", - "cType": "lwflags_t", - "offset_bits": 160 + "name": "MEOS_ERR_WKB_OUTPUT", + "value": 25 }, { - "name": "type", - "cType": "uint8_t", - "offset_bits": 176 + "name": "MEOS_ERR_GEOJSON_INPUT", + "value": 26 }, { - "name": "pad", - "cType": "char[1]", - "offset_bits": 184 + "name": "MEOS_ERR_GEOJSON_OUTPUT", + "value": 27 } ] }, { - "name": "LWPOINT", - "file": "postgis_ext_defs.in.h", - "fields": [ - { - "name": "bbox", - "cType": "GBOX *", - "offset_bits": 0 - }, - { - "name": "point", - "cType": "POINTARRAY *", - "offset_bits": 64 - }, + "name": "spatialRel", + "file": "meos_geo.h", + "values": [ { - "name": "srid", - "cType": "int32_t", - "offset_bits": 128 + "name": "INTERSECTS", + "value": 0 }, { - "name": "flags", - "cType": "lwflags_t", - "offset_bits": 160 + "name": "CONTAINS", + "value": 1 }, { - "name": "type", - "cType": "uint8_t", - "offset_bits": 176 + "name": "TOUCHES", + "value": 2 }, { - "name": "pad", - "cType": "char[1]", - "offset_bits": 184 + "name": "COVERS", + "value": 3 } ] }, { - "name": "LWLINE", - "file": "postgis_ext_defs.in.h", - "fields": [ + "name": "MeosType", + "file": "meos_catalog.h", + "values": [ { - "name": "bbox", - "cType": "GBOX *", - "offset_bits": 0 + "name": "T_UNKNOWN", + "value": 0 }, { - "name": "points", - "cType": "POINTARRAY *", - "offset_bits": 64 + "name": "T_BOOL", + "value": 1 }, { - "name": "srid", - "cType": "int32_t", - "offset_bits": 128 + "name": "T_DATE", + "value": 2 }, { - "name": "flags", - "cType": "lwflags_t", - "offset_bits": 160 + "name": "T_DATEMULTIRANGE", + "value": 3 }, { - "name": "type", - "cType": "uint8_t", - "offset_bits": 176 + "name": "T_DATERANGE", + "value": 4 }, { - "name": "pad", - "cType": "char[1]", - "offset_bits": 184 - } - ] - }, - { - "name": "LWTRIANGLE", - "file": "postgis_ext_defs.in.h", - "fields": [ + "name": "T_DATESET", + "value": 5 + }, { - "name": "bbox", - "cType": "GBOX *", - "offset_bits": 0 + "name": "T_DATESPAN", + "value": 6 }, { - "name": "points", - "cType": "POINTARRAY *", - "offset_bits": 64 + "name": "T_DATESPANSET", + "value": 7 }, { - "name": "srid", - "cType": "int32_t", - "offset_bits": 128 + "name": "T_DOUBLE2", + "value": 8 }, { - "name": "flags", - "cType": "lwflags_t", - "offset_bits": 160 + "name": "T_DOUBLE3", + "value": 9 }, { - "name": "type", - "cType": "uint8_t", - "offset_bits": 176 + "name": "T_DOUBLE4", + "value": 10 }, { - "name": "pad", - "cType": "char[1]", - "offset_bits": 184 - } - ] - }, - { - "name": "LWCIRCSTRING", - "file": "postgis_ext_defs.in.h", - "fields": [ + "name": "T_FLOAT8", + "value": 11 + }, { - "name": "bbox", - "cType": "GBOX *", - "offset_bits": 0 + "name": "T_FLOATSET", + "value": 12 }, { - "name": "points", - "cType": "POINTARRAY *", - "offset_bits": 64 + "name": "T_FLOATSPAN", + "value": 13 }, { - "name": "srid", - "cType": "int32_t", - "offset_bits": 128 + "name": "T_FLOATSPANSET", + "value": 14 }, { - "name": "flags", - "cType": "lwflags_t", - "offset_bits": 160 + "name": "T_INT4", + "value": 15 }, { - "name": "type", - "cType": "uint8_t", - "offset_bits": 176 + "name": "T_INT4MULTIRANGE", + "value": 16 }, { - "name": "pad", - "cType": "char[1]", - "offset_bits": 184 - } - ] - }, - { - "name": "LWPOLY", - "file": "postgis_ext_defs.in.h", - "fields": [ + "name": "T_INT4RANGE", + "value": 17 + }, { - "name": "bbox", - "cType": "GBOX *", - "offset_bits": 0 + "name": "T_INTSET", + "value": 18 }, { - "name": "rings", - "cType": "POINTARRAY **", - "offset_bits": 64 + "name": "T_INTSPAN", + "value": 19 }, { - "name": "srid", - "cType": "int32_t", - "offset_bits": 128 + "name": "T_INTSPANSET", + "value": 20 }, { - "name": "flags", - "cType": "lwflags_t", - "offset_bits": 160 + "name": "T_INT8", + "value": 21 }, { - "name": "type", - "cType": "uint8_t", - "offset_bits": 176 + "name": "T_INT8MULTIRANGE", + "value": 52 }, { - "name": "pad", - "cType": "char[1]", - "offset_bits": 184 + "name": "T_INT8RANGE", + "value": 53 }, { - "name": "nrings", - "cType": "uint32_t", - "offset_bits": 192 + "name": "T_BIGINTSET", + "value": 22 }, { - "name": "maxrings", - "cType": "uint32_t", - "offset_bits": 224 - } - ] - }, - { - "name": "LWMPOINT", - "file": "postgis_ext_defs.in.h", - "fields": [ + "name": "T_BIGINTSPAN", + "value": 23 + }, { - "name": "bbox", - "cType": "GBOX *", - "offset_bits": 0 + "name": "T_BIGINTSPANSET", + "value": 24 }, { - "name": "geoms", - "cType": "LWPOINT **", - "offset_bits": 64 + "name": "T_STBOX", + "value": 25 }, { - "name": "srid", - "cType": "int32_t", - "offset_bits": 128 + "name": "T_TBOOL", + "value": 26 }, { - "name": "flags", - "cType": "lwflags_t", - "offset_bits": 160 + "name": "T_TBOX", + "value": 27 }, { - "name": "type", - "cType": "uint8_t", - "offset_bits": 176 + "name": "T_TDOUBLE2", + "value": 28 }, { - "name": "pad", - "cType": "char[1]", - "offset_bits": 184 + "name": "T_TDOUBLE3", + "value": 29 }, { - "name": "ngeoms", - "cType": "uint32_t", - "offset_bits": 192 + "name": "T_TDOUBLE4", + "value": 30 }, { - "name": "maxgeoms", - "cType": "uint32_t", - "offset_bits": 224 - } - ] - }, - { - "name": "LWMLINE", - "file": "postgis_ext_defs.in.h", - "fields": [ + "name": "T_TEXT", + "value": 31 + }, { - "name": "bbox", - "cType": "GBOX *", - "offset_bits": 0 + "name": "T_TEXTSET", + "value": 32 }, { - "name": "geoms", - "cType": "LWLINE **", - "offset_bits": 64 + "name": "T_TFLOAT", + "value": 33 }, { - "name": "srid", - "cType": "int32_t", - "offset_bits": 128 + "name": "T_TIMESTAMPTZ", + "value": 34 }, { - "name": "flags", - "cType": "lwflags_t", - "offset_bits": 160 + "name": "T_TINT", + "value": 35 }, { - "name": "type", - "cType": "uint8_t", - "offset_bits": 176 + "name": "T_TSTZMULTIRANGE", + "value": 36 }, { - "name": "pad", - "cType": "char[1]", - "offset_bits": 184 + "name": "T_TSTZRANGE", + "value": 37 }, { - "name": "ngeoms", - "cType": "uint32_t", - "offset_bits": 192 + "name": "T_TSTZSET", + "value": 38 }, { - "name": "maxgeoms", - "cType": "uint32_t", - "offset_bits": 224 - } - ] - }, - { - "name": "LWMPOLY", - "file": "postgis_ext_defs.in.h", - "fields": [ + "name": "T_TSTZSPAN", + "value": 39 + }, { - "name": "bbox", - "cType": "GBOX *", - "offset_bits": 0 + "name": "T_TSTZSPANSET", + "value": 40 }, { - "name": "geoms", - "cType": "LWPOLY **", - "offset_bits": 64 + "name": "T_TTEXT", + "value": 41 }, { - "name": "srid", - "cType": "int32_t", - "offset_bits": 128 + "name": "T_GEOMETRY", + "value": 42 }, { - "name": "flags", - "cType": "lwflags_t", - "offset_bits": 160 + "name": "T_GEOMSET", + "value": 43 }, { - "name": "type", - "cType": "uint8_t", - "offset_bits": 176 + "name": "T_GEOGRAPHY", + "value": 44 }, { - "name": "pad", - "cType": "char[1]", - "offset_bits": 184 + "name": "T_GEOGSET", + "value": 45 }, { - "name": "ngeoms", - "cType": "uint32_t", - "offset_bits": 192 + "name": "T_TGEOMPOINT", + "value": 46 }, { - "name": "maxgeoms", - "cType": "uint32_t", - "offset_bits": 224 - } - ] - }, - { - "name": "LWCOLLECTION", - "file": "postgis_ext_defs.in.h", - "fields": [ + "name": "T_TGEOGPOINT", + "value": 47 + }, { - "name": "bbox", - "cType": "GBOX *", - "offset_bits": 0 + "name": "T_NPOINT", + "value": 48 }, { - "name": "geoms", - "cType": "LWGEOM **", - "offset_bits": 64 + "name": "T_NPOINTSET", + "value": 49 }, { - "name": "srid", - "cType": "int32_t", - "offset_bits": 128 + "name": "T_NSEGMENT", + "value": 50 }, { - "name": "flags", - "cType": "lwflags_t", - "offset_bits": 160 + "name": "T_TNPOINT", + "value": 51 }, { - "name": "type", - "cType": "uint8_t", - "offset_bits": 176 + "name": "T_POSE", + "value": 54 }, { - "name": "pad", - "cType": "char[1]", - "offset_bits": 184 + "name": "T_POSESET", + "value": 55 }, { - "name": "ngeoms", - "cType": "uint32_t", - "offset_bits": 192 + "name": "T_TPOSE", + "value": 56 }, { - "name": "maxgeoms", - "cType": "uint32_t", - "offset_bits": 224 - } - ] - }, - { - "name": "LWCOMPOUND", - "file": "postgis_ext_defs.in.h", - "fields": [ + "name": "T_CBUFFER", + "value": 57 + }, { - "name": "bbox", - "cType": "GBOX *", - "offset_bits": 0 + "name": "T_CBUFFERSET", + "value": 58 }, { - "name": "geoms", - "cType": "LWGEOM **", - "offset_bits": 64 + "name": "T_TCBUFFER", + "value": 59 }, { - "name": "srid", - "cType": "int32_t", - "offset_bits": 128 + "name": "T_TGEOMETRY", + "value": 60 }, { - "name": "flags", - "cType": "lwflags_t", - "offset_bits": 160 + "name": "T_TGEOGRAPHY", + "value": 61 }, { - "name": "type", - "cType": "uint8_t", - "offset_bits": 176 + "name": "T_TRGEOMETRY", + "value": 62 }, { - "name": "pad", - "cType": "char[1]", - "offset_bits": 184 + "name": "T_PCPOINT", + "value": 63 }, { - "name": "ngeoms", - "cType": "uint32_t", - "offset_bits": 192 + "name": "T_PCPOINTSET", + "value": 64 }, { - "name": "maxgeoms", - "cType": "uint32_t", - "offset_bits": 224 - } - ] - }, - { - "name": "LWCURVEPOLY", - "file": "postgis_ext_defs.in.h", - "fields": [ + "name": "T_TPCPOINT", + "value": 65 + }, { - "name": "bbox", - "cType": "GBOX *", - "offset_bits": 0 + "name": "T_PCPATCH", + "value": 66 }, { - "name": "rings", - "cType": "LWGEOM **", - "offset_bits": 64 + "name": "T_PCPATCHSET", + "value": 67 }, { - "name": "srid", - "cType": "int32_t", - "offset_bits": 128 + "name": "T_TPCPATCH", + "value": 68 }, { - "name": "flags", - "cType": "lwflags_t", - "offset_bits": 160 + "name": "T_TPCBOX", + "value": 69 }, { - "name": "type", - "cType": "uint8_t", - "offset_bits": 176 + "name": "T_TBIGINT", + "value": 70 }, { - "name": "pad", - "cType": "char[1]", - "offset_bits": 184 + "name": "T_H3INDEX", + "value": 71 }, { - "name": "nrings", - "cType": "uint32_t", - "offset_bits": 192 + "name": "T_H3INDEXSET", + "value": 72 }, { - "name": "maxrings", - "cType": "uint32_t", - "offset_bits": 224 + "name": "T_TH3INDEX", + "value": 73 + }, + { + "name": "NUM_MEOS_TYPES", + "value": 74 } ] }, { - "name": "LWMCURVE", - "file": "postgis_ext_defs.in.h", - "fields": [ + "name": "meosOper", + "file": "meos_catalog.h", + "values": [ { - "name": "bbox", - "cType": "GBOX *", - "offset_bits": 0 + "name": "UNKNOWN_OP", + "value": 0 }, { - "name": "geoms", - "cType": "LWGEOM **", - "offset_bits": 64 + "name": "EQ_OP", + "value": 1 }, { - "name": "srid", - "cType": "int32_t", - "offset_bits": 128 + "name": "NE_OP", + "value": 2 }, { - "name": "flags", - "cType": "lwflags_t", - "offset_bits": 160 + "name": "LT_OP", + "value": 3 }, { - "name": "type", - "cType": "uint8_t", - "offset_bits": 176 + "name": "LE_OP", + "value": 4 }, { - "name": "pad", - "cType": "char[1]", - "offset_bits": 184 + "name": "GT_OP", + "value": 5 }, { - "name": "ngeoms", - "cType": "uint32_t", - "offset_bits": 192 + "name": "GE_OP", + "value": 6 }, { - "name": "maxgeoms", - "cType": "uint32_t", - "offset_bits": 224 - } - ] - }, - { - "name": "LWMSURFACE", - "file": "postgis_ext_defs.in.h", - "fields": [ + "name": "ADJACENT_OP", + "value": 7 + }, { - "name": "bbox", - "cType": "GBOX *", - "offset_bits": 0 + "name": "UNION_OP", + "value": 8 }, { - "name": "geoms", - "cType": "LWGEOM **", - "offset_bits": 64 + "name": "MINUS_OP", + "value": 9 }, { - "name": "srid", - "cType": "int32_t", - "offset_bits": 128 + "name": "INTERSECT_OP", + "value": 10 }, { - "name": "flags", - "cType": "lwflags_t", - "offset_bits": 160 + "name": "OVERLAPS_OP", + "value": 11 }, { - "name": "type", - "cType": "uint8_t", - "offset_bits": 176 + "name": "CONTAINS_OP", + "value": 12 }, { - "name": "pad", - "cType": "char[1]", - "offset_bits": 184 + "name": "CONTAINED_OP", + "value": 13 }, { - "name": "ngeoms", - "cType": "uint32_t", - "offset_bits": 192 + "name": "SAME_OP", + "value": 14 }, { - "name": "maxgeoms", - "cType": "uint32_t", - "offset_bits": 224 - } - ] - }, - { - "name": "LWPSURFACE", - "file": "postgis_ext_defs.in.h", - "fields": [ + "name": "LEFT_OP", + "value": 15 + }, { - "name": "bbox", - "cType": "GBOX *", - "offset_bits": 0 + "name": "OVERLEFT_OP", + "value": 16 }, { - "name": "geoms", - "cType": "LWPOLY **", - "offset_bits": 64 + "name": "RIGHT_OP", + "value": 17 }, { - "name": "srid", - "cType": "int32_t", - "offset_bits": 128 + "name": "OVERRIGHT_OP", + "value": 18 }, { - "name": "flags", - "cType": "lwflags_t", - "offset_bits": 160 + "name": "BELOW_OP", + "value": 19 }, { - "name": "type", - "cType": "uint8_t", - "offset_bits": 176 + "name": "OVERBELOW_OP", + "value": 20 }, { - "name": "pad", - "cType": "char[1]", - "offset_bits": 184 + "name": "ABOVE_OP", + "value": 21 }, { - "name": "ngeoms", - "cType": "uint32_t", - "offset_bits": 192 + "name": "OVERABOVE_OP", + "value": 22 }, { - "name": "maxgeoms", - "cType": "uint32_t", - "offset_bits": 224 - } - ] - }, - { - "name": "LWTIN", - "file": "postgis_ext_defs.in.h", - "fields": [ + "name": "FRONT_OP", + "value": 23 + }, { - "name": "bbox", - "cType": "GBOX *", - "offset_bits": 0 + "name": "OVERFRONT_OP", + "value": 24 }, { - "name": "geoms", - "cType": "LWTRIANGLE **", - "offset_bits": 64 + "name": "BACK_OP", + "value": 25 }, { - "name": "srid", - "cType": "int32_t", - "offset_bits": 128 + "name": "OVERBACK_OP", + "value": 26 }, { - "name": "flags", - "cType": "lwflags_t", - "offset_bits": 160 + "name": "BEFORE_OP", + "value": 27 }, { - "name": "type", - "cType": "uint8_t", - "offset_bits": 176 + "name": "OVERBEFORE_OP", + "value": 28 }, { - "name": "pad", - "cType": "char[1]", - "offset_bits": 184 + "name": "AFTER_OP", + "value": 29 }, { - "name": "ngeoms", - "cType": "uint32_t", - "offset_bits": 192 + "name": "OVERAFTER_OP", + "value": 30 }, { - "name": "maxgeoms", - "cType": "uint32_t", - "offset_bits": 224 - } - ] - }, - { - "name": "PJconsts", - "file": "postgis_ext_defs.in.h", - "fields": [] - }, - { - "name": "LWPROJ", - "file": "postgis_ext_defs.in.h", - "fields": [ + "name": "EVEREQ_OP", + "value": 31 + }, { - "name": "pj", - "cType": "PJ *", - "offset_bits": 0 + "name": "EVERNE_OP", + "value": 32 }, { - "name": "pipeline_is_forward", - "cType": "_Bool", - "offset_bits": 64 + "name": "EVERLT_OP", + "value": 33 }, { - "name": "source_is_latlong", - "cType": "uint8_t", - "offset_bits": 72 + "name": "EVERLE_OP", + "value": 34 }, { - "name": "source_semi_major_metre", - "cType": "double", - "offset_bits": 128 + "name": "EVERGT_OP", + "value": 35 }, { - "name": "source_semi_minor_metre", - "cType": "double", - "offset_bits": 192 - } - ] - }, - { - "name": "Interval", - "file": "postgres_ext_defs.in.h", - "fields": [ + "name": "EVERGE_OP", + "value": 36 + }, { - "name": "time", - "cType": "TimeOffset", - "offset_bits": 0 + "name": "ALWAYSEQ_OP", + "value": 37 }, { - "name": "day", - "cType": "int32", - "offset_bits": 64 + "name": "ALWAYSNE_OP", + "value": 38 }, { - "name": "month", - "cType": "int32", - "offset_bits": 96 + "name": "ALWAYSLT_OP", + "value": 39 + }, + { + "name": "ALWAYSLE_OP", + "value": 40 + }, + { + "name": "ALWAYSGT_OP", + "value": 41 + }, + { + "name": "ALWAYSGE_OP", + "value": 42 } ] }, { - "name": "varlena", - "file": "postgres_ext_defs.in.h", - "fields": [ + "name": "SkipListType", + "file": "meos_internal.h", + "values": [ { - "name": "vl_len_", - "cType": "char[4]", - "offset_bits": 0 + "name": "SKIPLIST_TEMPORAL", + "value": 0 }, { - "name": "vl_dat", - "cType": "char[]", - "offset_bits": 32 + "name": "SKIPLIST_KEYVALUE", + "value": 1 } ] - } - ], - "enums": [ + }, { - "name": "tempSubtype", - "file": "meos.h", + "name": "SyncMode", + "file": "temporal.h", "values": [ { - "name": "ANYTEMPSUBTYPE", + "name": "SYNCHRONIZE_NOCROSS", "value": 0 }, { - "name": "TINSTANT", + "name": "SYNCHRONIZE_CROSS", "value": 1 - }, - { - "name": "TSEQUENCE", - "value": 2 - }, - { - "name": "TSEQUENCESET", - "value": 3 } ] }, { - "name": "interpType", - "file": "meos.h", + "name": "TemporalFamily", + "file": "temporal.h", "values": [ { - "name": "INTERP_NONE", + "name": "TEMPORALTYPE", "value": 0 }, { - "name": "DISCRETE", + "name": "TNUMBERTYPE", "value": 1 }, { - "name": "STEP", + "name": "TSPATIALTYPE", "value": 2 - }, - { - "name": "LINEAR", - "value": 3 } ] }, { - "name": "RTreeSearchOp", - "file": "meos.h", + "name": "SetOper", + "file": "temporal.h", "values": [ { - "name": "RTREE_OVERLAPS", + "name": "UNION", "value": 0 }, { - "name": "RTREE_CONTAINS", + "name": "INTER", "value": 1 }, { - "name": "RTREE_CONTAINED_BY", + "name": "MINUS", "value": 2 } ] }, { - "name": "errorCode", - "file": "meos.h", + "name": "CompOper", + "file": "temporal.h", "values": [ { - "name": "MEOS_SUCCESS", + "name": "EQ", "value": 0 }, { - "name": "MEOS_ERR_INTERNAL_ERROR", + "name": "NE", "value": 1 }, { - "name": "MEOS_ERR_INTERNAL_TYPE_ERROR", + "name": "LT", "value": 2 }, { - "name": "MEOS_ERR_VALUE_OUT_OF_RANGE", + "name": "LE", "value": 3 }, { - "name": "MEOS_ERR_DIVISION_BY_ZERO", + "name": "GT", "value": 4 }, { - "name": "MEOS_ERR_MEMORY_ALLOC_ERROR", + "name": "GE", "value": 5 - }, - { - "name": "MEOS_ERR_AGGREGATION_ERROR", - "value": 6 - }, - { - "name": "MEOS_ERR_DIRECTORY_ERROR", - "value": 7 - }, - { - "name": "MEOS_ERR_FILE_ERROR", - "value": 8 - }, - { - "name": "MEOS_ERR_INVALID_ARG", - "value": 10 - }, - { - "name": "MEOS_ERR_INVALID_ARG_TYPE", - "value": 11 - }, - { - "name": "MEOS_ERR_INVALID_ARG_VALUE", - "value": 12 - }, - { - "name": "MEOS_ERR_FEATURE_NOT_SUPPORTED", - "value": 13 - }, - { - "name": "MEOS_ERR_MFJSON_INPUT", - "value": 20 - }, - { - "name": "MEOS_ERR_MFJSON_OUTPUT", - "value": 21 - }, - { - "name": "MEOS_ERR_TEXT_INPUT", - "value": 22 - }, - { - "name": "MEOS_ERR_TEXT_OUTPUT", - "value": 23 - }, - { - "name": "MEOS_ERR_WKB_INPUT", - "value": 24 - }, + } + ] + }, + { + "name": "MEOS_WKB_TSUBTYPE", + "file": "temporal.h", + "values": [ { - "name": "MEOS_ERR_WKB_OUTPUT", - "value": 25 + "name": "MEOS_WKB_TINSTANT", + "value": 1 }, { - "name": "MEOS_ERR_GEOJSON_INPUT", - "value": 26 + "name": "MEOS_WKB_TSEQUENCE", + "value": 2 }, { - "name": "MEOS_ERR_GEOJSON_OUTPUT", - "value": 27 + "name": "MEOS_WKB_TSEQUENCESET", + "value": 3 } ] }, @@ -60218,38 +64340,74 @@ ] }, { - "name": "spatialRel", - "file": "meos_geo.h", + "name": "GeoPoseClass", + "file": "pose_geopose.h", "values": [ { - "name": "INTERSECTS", + "name": "GEOPOSE_BASIC_QUATERNION", "value": 0 }, { - "name": "CONTAINS", + "name": "GEOPOSE_BASIC_YPR", "value": 1 + } + ] + }, + { + "name": "SimFunc", + "file": "temporal_analytics.h", + "values": [ + { + "name": "FRECHET", + "value": 0 }, { - "name": "TOUCHES", + "name": "DYNTIMEWARP", + "value": 1 + }, + { + "name": "HAUSDORFF", "value": 2 + } + ] + }, + { + "name": "RTreeNodeType", + "file": "temporal_rtree.h", + "values": [ + { + "name": "RTREE_LEAF", + "value": 0 }, { - "name": "COVERS", - "value": 3 + "name": "RTREE_INNER", + "value": 1 } ] }, { - "name": "SkipListType", - "file": "meos_internal.h", + "name": "TArithmetic", + "file": "tnumber_mathfuncs.h", "values": [ { - "name": "TEMPORAL", + "name": "ADD", "value": 0 }, { - "name": "KEYVALUE", + "name": "SUB", "value": 1 + }, + { + "name": "MUL", + "value": 2 + }, + { + "name": "DIV", + "value": 3 + }, + { + "name": "DIST", + "value": 4 } ] } From a639ea78389edf68707e238712b00e29a9ef727d Mon Sep 17 00:00:00 2001 From: Esteban Zimanyi Date: Wed, 3 Jun 2026 09:23:49 +0200 Subject: [PATCH 5/5] Add the shared org.mobilitydb.meos MEOS facade and its generator Hoists the tier-aware MeosOps* facade (62 classes) into JMEOS so every JVM binding inherits the one canonical Java idiom from the shared jar instead of duplicating it per engine. The facade forwards to functions.GeneratedFunctions under a package-private MeosOpsRuntime probe gated by the canonical -Dmeos.enabled property; javadoc is engine-neutral. Relocates the maintained generator (regen_facade_from_jar + the gap / sql / tbigint / h3 emitters + parity_audit + meos-ref) under jmeos-core/tools so the facade stays regenerated, not hand-edited; regeneration is idempotent against the pin jar. --- .../org/mobilitydb/meos/MeosOpsBigintSet.java | 155 + .../mobilitydb/meos/MeosOpsBigintSpan.java | 169 + .../mobilitydb/meos/MeosOpsBigintSpanSet.java | 141 + .../mobilitydb/meos/MeosOpsCbufferSet.java | 141 + .../org/mobilitydb/meos/MeosOpsDateSet.java | 169 + .../org/mobilitydb/meos/MeosOpsDateSpan.java | 169 + .../mobilitydb/meos/MeosOpsDateSpanSet.java | 197 + .../org/mobilitydb/meos/MeosOpsFloatSet.java | 225 + .../org/mobilitydb/meos/MeosOpsFloatSpan.java | 253 + .../mobilitydb/meos/MeosOpsFloatSpanSet.java | 225 + .../mobilitydb/meos/MeosOpsFreeCbuffer.java | 1982 ++++ .../org/mobilitydb/meos/MeosOpsFreeCore.java | 9744 +++++++++++++++++ .../org/mobilitydb/meos/MeosOpsFreeGeo.java | 3438 ++++++ .../org/mobilitydb/meos/MeosOpsFreeH3.java | 265 + .../mobilitydb/meos/MeosOpsFreeNpoint.java | 1098 ++ .../org/mobilitydb/meos/MeosOpsFreePose.java | 1020 ++ .../org/mobilitydb/meos/MeosOpsFreeRgeo.java | 448 + .../org/mobilitydb/meos/MeosOpsGeogSet.java | 57 + .../org/mobilitydb/meos/MeosOpsGeomSet.java | 127 + .../org/mobilitydb/meos/MeosOpsIntSet.java | 169 + .../org/mobilitydb/meos/MeosOpsIntSpan.java | 183 + .../mobilitydb/meos/MeosOpsIntSpanSet.java | 155 + .../org/mobilitydb/meos/MeosOpsNpointSet.java | 155 + .../mobilitydb/meos/MeosOpsParityGaps.java | 1459 +++ .../org/mobilitydb/meos/MeosOpsPoseSet.java | 141 + .../org/mobilitydb/meos/MeosOpsRuntime.java | 54 + .../org/mobilitydb/meos/MeosOpsSTBox.java | 799 ++ .../java/org/mobilitydb/meos/MeosOpsSet.java | 393 + .../java/org/mobilitydb/meos/MeosOpsSpan.java | 323 + .../org/mobilitydb/meos/MeosOpsSpanSet.java | 463 + .../mobilitydb/meos/MeosOpsSqlSurface.java | 40 + .../org/mobilitydb/meos/MeosOpsTBigint.java | 535 + .../org/mobilitydb/meos/MeosOpsTBool.java | 253 + .../org/mobilitydb/meos/MeosOpsTBoolInst.java | 57 + .../java/org/mobilitydb/meos/MeosOpsTBox.java | 505 + .../org/mobilitydb/meos/MeosOpsTCbuffer.java | 239 + .../org/mobilitydb/meos/MeosOpsTFloat.java | 547 + .../mobilitydb/meos/MeosOpsTFloatInst.java | 57 + .../java/org/mobilitydb/meos/MeosOpsTGeo.java | 379 + .../mobilitydb/meos/MeosOpsTGeogPoint.java | 85 + .../mobilitydb/meos/MeosOpsTGeography.java | 99 + .../mobilitydb/meos/MeosOpsTGeomPoint.java | 99 + .../org/mobilitydb/meos/MeosOpsTGeometry.java | 113 + .../java/org/mobilitydb/meos/MeosOpsTInt.java | 449 + .../org/mobilitydb/meos/MeosOpsTIntInst.java | 57 + .../org/mobilitydb/meos/MeosOpsTNpoint.java | 337 + .../mobilitydb/meos/MeosOpsTNpointInst.java | 57 + .../org/mobilitydb/meos/MeosOpsTNumber.java | 365 + .../org/mobilitydb/meos/MeosOpsTPoint.java | 379 + .../org/mobilitydb/meos/MeosOpsTPose.java | 281 + .../mobilitydb/meos/MeosOpsTRGeometry.java | 547 + .../meos/MeosOpsTRGeometryInst.java | 57 + .../mobilitydb/meos/MeosOpsTSequenceSet.java | 57 + .../org/mobilitydb/meos/MeosOpsTSpatial.java | 169 + .../org/mobilitydb/meos/MeosOpsTText.java | 295 + .../org/mobilitydb/meos/MeosOpsTTextInst.java | 57 + .../org/mobilitydb/meos/MeosOpsTemporal.java | 1401 +++ .../org/mobilitydb/meos/MeosOpsTextSet.java | 183 + .../org/mobilitydb/meos/MeosOpsTh3index.java | 418 + .../org/mobilitydb/meos/MeosOpsTstzSet.java | 211 + .../org/mobilitydb/meos/MeosOpsTstzSpan.java | 225 + .../mobilitydb/meos/MeosOpsTstzSpanSet.java | 267 + jmeos-core/tools/codegen/README.md | 106 + jmeos-core/tools/codegen/emit_h3_facade.py | 107 + .../tools/codegen/emit_tbigint_facade.py | 97 + .../tools/codegen/regen_facade_from_jar.py | 78 + jmeos-core/tools/parity/emit_gap_methods.py | 122 + jmeos-core/tools/parity/emit_sql_surface.py | 143 + jmeos-core/tools/parity/meos-ref/PIN.txt | 1 + .../meos-ref/meos/include/cbuffer/cbuffer.h | 136 + .../include/cbuffer/doxygen_meos_cbuffer.h | 156 + .../cbuffer/doxygen_meos_internal_cbuffer.h | 132 + .../meos-ref/meos/include/cbuffer/tcbuffer.h | 74 + .../meos/include/cbuffer/tcbuffer_boxops.h | 59 + .../include/cbuffer/tcbuffer_spatialfuncs.h | 64 + .../include/cbuffer/tcbuffer_spatialrels.h | 107 + .../cbuffer/tcbuffer_tempspatialrels.h | 54 + .../meos/include/geo/doxygen_meos_geo.h | 252 + .../include/geo/doxygen_meos_internal_geo.h | 236 + .../meos/include/geo/meos_transform.h | 66 + .../meos-ref/meos/include/geo/postgis_funcs.h | 85 + .../parity/meos-ref/meos/include/geo/stbox.h | 64 + .../meos-ref/meos/include/geo/stbox_index.h | 54 + .../parity/meos-ref/meos/include/geo/tgeo.h | 65 + .../meos-ref/meos/include/geo/tgeo_aggfuncs.h | 71 + .../meos-ref/meos/include/geo/tgeo_distance.h | 64 + .../meos-ref/meos/include/geo/tgeo_restrict.h | 55 + .../meos/include/geo/tgeo_spatialfuncs.h | 208 + .../meos/include/geo/tgeo_spatialrels.h | 127 + .../meos/include/geo/tgeo_tempspatialrels.h | 79 + .../meos-ref/meos/include/geo/tgeo_tile.h | 112 + .../meos/include/geo/tpoint_datagen.h | 49 + .../meos-ref/meos/include/geo/tspatial.h | 58 + .../meos/include/geo/tspatial_boxops.h | 73 + .../meos/include/geo/tspatial_parser.h | 66 + .../tools/parity/meos-ref/meos/include/meos.h | 1963 ++++ .../meos-ref/meos/include/meos_cbuffer.h | 392 + .../parity/meos-ref/meos/include/meos_geo.h | 900 ++ .../parity/meos-ref/meos/include/meos_h3.h | 197 + .../meos-ref/meos/include/meos_internal.h | 1405 +++ .../meos-ref/meos/include/meos_internal_geo.h | 303 + .../meos-ref/meos/include/meos_npoint.h | 330 + .../parity/meos-ref/meos/include/meos_pose.h | 305 + .../parity/meos-ref/meos/include/meos_rgeo.h | 206 + .../parity/meos-ref/meos/include/meos_tls.h | 60 + .../npoint/doxygen_meos_internal_npoint.h | 116 + .../meos/include/npoint/doxygen_meos_npoint.h | 136 + .../meos-ref/meos/include/npoint/tnpoint.h | 153 + .../meos/include/npoint/tnpoint_boxops.h | 60 + .../meos/include/npoint/tnpoint_distance.h | 48 + .../meos/include/npoint/tnpoint_parser.h | 47 + .../meos/include/npoint/tnpoint_routeops.h | 79 + .../include/npoint/tnpoint_spatialfuncs.h | 61 + .../include/pose/doxygen_meos_internal_pose.h | 124 + .../meos/include/pose/doxygen_meos_pose.h | 136 + .../parity/meos-ref/meos/include/pose/pose.h | 118 + .../parity/meos-ref/meos/include/pose/tpose.h | 61 + .../meos-ref/meos/include/pose/tpose_boxops.h | 54 + .../meos/include/pose/tpose_spatialfuncs.h | 57 + .../meos/include/postgis_ext_defs.in.h | 420 + .../meos-ref/meos/include/postgres_int_defs.h | 3 + .../include/rgeo/doxygen_meos_internal_rgeo.h | 60 + .../meos/include/rgeo/doxygen_meos_rgeo.h | 64 + .../parity/meos-ref/meos/include/rgeo/trgeo.h | 88 + .../meos-ref/meos/include/rgeo/trgeo_all.h | 46 + .../meos-ref/meos/include/rgeo/trgeo_boxops.h | 60 + .../meos/include/rgeo/trgeo_distance.h | 106 + .../meos-ref/meos/include/rgeo/trgeo_inst.h | 64 + .../meos-ref/meos/include/rgeo/trgeo_parser.h | 49 + .../meos-ref/meos/include/rgeo/trgeo_seq.h | 77 + .../meos-ref/meos/include/rgeo/trgeo_seqset.h | 74 + .../meos/include/rgeo/trgeo_spatialrels.h | 59 + .../meos-ref/meos/include/rgeo/trgeo_utils.h | 52 + .../meos-ref/meos/include/rgeo/trgeo_vclip.h | 74 + .../meos-ref/meos/include/temporal/doublen.h | 109 + .../meos/include/temporal/doxygen_meos.h | 341 + .../include/temporal/doxygen_meos_internal.h | 217 + .../meos-ref/meos/include/temporal/lifting.h | 112 + .../meos/include/temporal/meos_catalog.h | 311 + .../meos/include/temporal/postgres_types.h | 114 + .../meos-ref/meos/include/temporal/set.h | 95 + .../meos-ref/meos/include/temporal/skiplist.h | 62 + .../meos-ref/meos/include/temporal/span.h | 117 + .../meos/include/temporal/span_index.h | 56 + .../meos-ref/meos/include/temporal/spanset.h | 58 + .../meos-ref/meos/include/temporal/stratnum.h | 105 + .../meos/include/temporal/tbool_ops.h | 55 + .../meos-ref/meos/include/temporal/tbox.h | 67 + .../meos/include/temporal/tbox_index.h | 54 + .../meos-ref/meos/include/temporal/temporal.h | 444 + .../meos/include/temporal/temporal_aggfuncs.h | 102 + .../include/temporal/temporal_analytics.h | 67 + .../meos/include/temporal/temporal_boxops.h | 82 + .../meos/include/temporal/temporal_compops.h | 64 + .../meos/include/temporal/temporal_restrict.h | 121 + .../meos/include/temporal/temporal_rtree.h | 106 + .../meos/include/temporal/temporal_tile.h | 110 + .../include/temporal/temporal_waggfuncs.h | 57 + .../meos-ref/meos/include/temporal/tinstant.h | 75 + .../meos/include/temporal/tnumber_mathfuncs.h | 72 + .../meos/include/temporal/tsequence.h | 152 + .../meos/include/temporal/tsequenceset.h | 87 + .../meos/include/temporal/ttext_funcs.h | 59 + .../meos/include/temporal/type_inout.h | 75 + .../meos/include/temporal/type_parser.h | 77 + .../meos/include/temporal/type_util.h | 120 + .../meos-ref/mobilitydb/sql/CMakeLists.txt | 101 + .../mobilitydb/sql/cbuffer/150_cbuffer.in.sql | 313 + .../sql/cbuffer/151_cbufferset.in.sql | 514 + .../sql/cbuffer/152_tcbuffer.in.sql | 715 ++ .../sql/cbuffer/154_tcbuffer_compops.in.sql | 248 + .../cbuffer/155_tcbuffer_spatialfuncs.in.sql | 104 + .../sql/cbuffer/158_tcbuffer_topops.in.sql | 379 + .../sql/cbuffer/159_tcbuffer_posops.in.sql | 487 + .../sql/cbuffer/160_tcbuffer_distance.in.sql | 279 + .../sql/cbuffer/161_tcbuffer_aggfuncs.in.sql | 155 + .../cbuffer/162_tcbuffer_spatialrels.in.sql | 364 + .../164_tcbuffer_tempspatialrels.in.sql | 186 + .../sql/cbuffer/166_tcbuffer_indexes.in.sql | 266 + .../mobilitydb/sql/cbuffer/CMakeLists.txt | 23 + .../mobilitydb/sql/geo/050_geoset.in.sql | 944 ++ .../mobilitydb/sql/geo/051_stbox.in.sql | 763 ++ .../mobilitydb/sql/geo/052_tgeo.in.sql | 1081 ++ .../mobilitydb/sql/geo/052_tpoint.in.sql | 1082 ++ .../mobilitydb/sql/geo/053_tgeo_inout.in.sql | 172 + .../sql/geo/053_tpoint_inout.in.sql | 190 + .../sql/geo/054_tgeo_compops.in.sql | 457 + .../sql/geo/054_tpoint_compops.in.sql | 448 + .../sql/geo/056_tgeo_spatialfuncs.in.sql | 182 + .../sql/geo/056_tpoint_spatialfuncs.in.sql | 354 + .../mobilitydb/sql/geo/058_tgeo_tile.in.sql | 141 + .../mobilitydb/sql/geo/058_tpoint_tile.in.sql | 280 + .../mobilitydb/sql/geo/060_tgeo_boxops.in.sql | 710 ++ .../sql/geo/060_tpoint_boxops.in.sql | 746 ++ .../mobilitydb/sql/geo/062_tgeo_posops.in.sql | 821 ++ .../sql/geo/062_tpoint_posops.in.sql | 821 ++ .../sql/geo/064_tgeo_distance.in.sql | 330 + .../sql/geo/064_tpoint_distance.in.sql | 294 + .../sql/geo/066_tpoint_similarity.in.sql | 88 + .../sql/geo/068_tgeo_aggfuncs.in.sql | 273 + .../sql/geo/068_tpoint_aggfuncs.in.sql | 297 + .../sql/geo/070_tgeo_spatialrels.in.sql | 411 + .../sql/geo/070_tpoint_spatialrels.in.sql | 341 + .../sql/geo/072_tgeo_tempspatialrels.in.sql | 148 + .../sql/geo/072_tpoint_tempspatialrels.in.sql | 118 + .../mobilitydb/sql/geo/073_tgeo_gist.in.sql | 211 + .../mobilitydb/sql/geo/073_tpoint_gist.in.sql | 276 + .../mobilitydb/sql/geo/074_tgeo_spgist.in.sql | 352 + .../sql/geo/074_tpoint_spgist.in.sql | 476 + .../sql/geo/076_tgeo_analytics.in.sql | 149 + .../sql/geo/076_tpoint_analytics.in.sql | 208 + .../sql/geo/078_tpoint_datagen.in.sql | 40 + .../mobilitydb/sql/geo/CMakeLists.txt | 47 + .../mobilitydb/sql/mobilitydb.in.control | 5 + .../mobilitydb/sql/npoint/081_npoint.in.sql | 424 + .../sql/npoint/082_npointset.in.sql | 507 + .../mobilitydb/sql/npoint/083_tnpoint.in.sql | 664 ++ .../sql/npoint/085_tnpoint_compops.in.sql | 233 + .../npoint/087_tnpoint_spatialfuncs.in.sql | 148 + .../sql/npoint/089_tnpoint_topops.in.sql | 385 + .../sql/npoint/090_tnpoint_posops.in.sql | 487 + .../sql/npoint/091_tnpoint_routeops.in.sql | 267 + .../sql/npoint/092_tnpoint_gin.in.sql | 80 + .../sql/npoint/093_tnpoint_distance.in.sql | 187 + .../sql/npoint/095_tnpoint_aggfuncs.in.sql | 171 + .../sql/npoint/098_tnpoint_indexes.in.sql | 267 + .../mobilitydb/sql/npoint/CMakeLists.txt | 24 + .../mobilitydb/sql/pose/100_pose.in.sql | 346 + .../mobilitydb/sql/pose/101_poseset.in.sql | 529 + .../mobilitydb/sql/pose/102_tpose.in.sql | 703 ++ .../sql/pose/104_tpose_compops.in.sql | 248 + .../sql/pose/105_tpose_spatialfuncs.in.sql | 84 + .../sql/pose/108_tpose_topops.in.sql | 379 + .../sql/pose/109_tpose_posops.in.sql | 601 + .../sql/pose/111_tpose_aggfuncs.in.sql | 155 + .../sql/pose/113_tpose_distance.in.sql | 218 + .../sql/pose/114_tpose_indexes.in.sql | 266 + .../mobilitydb/sql/pose/CMakeLists.txt | 20 + .../mobilitydb/sql/rgeo/122_trgeo.in.sql | 704 ++ .../sql/rgeo/124_trgeo_compops.in.sql | 247 + .../sql/rgeo/125_trgeo_spatialfuncs.in.sql | 84 + .../sql/rgeo/128_trgeo_topops.in.sql | 345 + .../sql/rgeo/129_trgeo_posops.in.sql | 487 + .../sql/rgeo/131_trgeo_aggfuncs.in.sql | 155 + .../sql/rgeo/133_trgeo_distance.in.sql | 200 + .../sql/rgeo/133_trgeo_vclip.in.sql | 69 + .../sql/rgeo/134_trgeo_indexes.in.sql | 266 + .../mobilitydb/sql/rgeo/CMakeLists.txt | 20 + .../mobilitydb/sql/temporal/001_set.in.sql | 1446 +++ .../sql/temporal/002_set_ops.in.sql | 1720 +++ .../mobilitydb/sql/temporal/003_span.in.sql | 1233 +++ .../sql/temporal/005_span_ops.in.sql | 1694 +++ .../sql/temporal/007_spanset.in.sql | 1364 +++ .../sql/temporal/009_spanset_ops.in.sql | 2829 +++++ .../sql/temporal/011_span_indexes.in.sql | 889 ++ .../sql/temporal/012_spanset_indexes.in.sql | 789 ++ .../sql/temporal/013_set_indexes.in.sql | 774 ++ .../sql/temporal/015_span_aggfuncs.in.sql | 438 + .../sql/temporal/019_geo_constructors.in.sql | 70 + .../mobilitydb/sql/temporal/021_tbox.in.sql | 625 ++ .../sql/temporal/022_temporal.in.sql | 2188 ++++ .../sql/temporal/023_temporal_inout.in.sql | 190 + .../sql/temporal/025_temporal_tile.in.sql | 316 + .../sql/temporal/026_tnumber_mathfuncs.in.sql | 424 + .../sql/temporal/028_tbool_boolops.in.sql | 124 + .../sql/temporal/029_ttext_textfuncs.in.sql | 84 + .../sql/temporal/030_temporal_compops.in.sql | 2026 ++++ .../sql/temporal/032_temporal_boxops.in.sql | 1246 +++ .../sql/temporal/034_temporal_posops.in.sql | 1248 +++ .../sql/temporal/036_tnumber_distance.in.sql | 242 + .../temporal/038_temporal_similarity.in.sql | 89 + .../sql/temporal/040_temporal_aggfuncs.in.sql | 730 ++ .../temporal/042_temporal_waggfuncs.in.sql | 173 + .../sql/temporal/043_temporal_gist.in.sql | 392 + .../sql/temporal/044_temporal_spgist.in.sql | 654 ++ .../temporal/046_temporal_analytics.in.sql | 57 + .../sql/temporal/999_oid_cache.in.sql | 50 + .../mobilitydb/sql/temporal/CMakeLists.txt | 39 + jmeos-core/tools/parity/parity_audit.py | 234 + 279 files changed, 100444 insertions(+) create mode 100644 jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsBigintSet.java create mode 100644 jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsBigintSpan.java create mode 100644 jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsBigintSpanSet.java create mode 100644 jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsCbufferSet.java create mode 100644 jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsDateSet.java create mode 100644 jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsDateSpan.java create mode 100644 jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsDateSpanSet.java create mode 100644 jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsFloatSet.java create mode 100644 jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsFloatSpan.java create mode 100644 jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsFloatSpanSet.java create mode 100644 jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsFreeCbuffer.java create mode 100644 jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsFreeCore.java create mode 100644 jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsFreeGeo.java create mode 100644 jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsFreeH3.java create mode 100644 jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsFreeNpoint.java create mode 100644 jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsFreePose.java create mode 100644 jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsFreeRgeo.java create mode 100644 jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsGeogSet.java create mode 100644 jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsGeomSet.java create mode 100644 jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsIntSet.java create mode 100644 jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsIntSpan.java create mode 100644 jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsIntSpanSet.java create mode 100644 jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsNpointSet.java create mode 100644 jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsParityGaps.java create mode 100644 jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsPoseSet.java create mode 100644 jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsRuntime.java create mode 100644 jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsSTBox.java create mode 100644 jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsSet.java create mode 100644 jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsSpan.java create mode 100644 jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsSpanSet.java create mode 100644 jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsSqlSurface.java create mode 100644 jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsTBigint.java create mode 100644 jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsTBool.java create mode 100644 jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsTBoolInst.java create mode 100644 jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsTBox.java create mode 100644 jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsTCbuffer.java create mode 100644 jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsTFloat.java create mode 100644 jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsTFloatInst.java create mode 100644 jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsTGeo.java create mode 100644 jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsTGeogPoint.java create mode 100644 jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsTGeography.java create mode 100644 jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsTGeomPoint.java create mode 100644 jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsTGeometry.java create mode 100644 jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsTInt.java create mode 100644 jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsTIntInst.java create mode 100644 jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsTNpoint.java create mode 100644 jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsTNpointInst.java create mode 100644 jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsTNumber.java create mode 100644 jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsTPoint.java create mode 100644 jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsTPose.java create mode 100644 jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsTRGeometry.java create mode 100644 jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsTRGeometryInst.java create mode 100644 jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsTSequenceSet.java create mode 100644 jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsTSpatial.java create mode 100644 jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsTText.java create mode 100644 jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsTTextInst.java create mode 100644 jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsTemporal.java create mode 100644 jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsTextSet.java create mode 100644 jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsTh3index.java create mode 100644 jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsTstzSet.java create mode 100644 jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsTstzSpan.java create mode 100644 jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsTstzSpanSet.java create mode 100644 jmeos-core/tools/codegen/README.md create mode 100644 jmeos-core/tools/codegen/emit_h3_facade.py create mode 100644 jmeos-core/tools/codegen/emit_tbigint_facade.py create mode 100644 jmeos-core/tools/codegen/regen_facade_from_jar.py create mode 100644 jmeos-core/tools/parity/emit_gap_methods.py create mode 100644 jmeos-core/tools/parity/emit_sql_surface.py create mode 100644 jmeos-core/tools/parity/meos-ref/PIN.txt create mode 100644 jmeos-core/tools/parity/meos-ref/meos/include/cbuffer/cbuffer.h create mode 100644 jmeos-core/tools/parity/meos-ref/meos/include/cbuffer/doxygen_meos_cbuffer.h create mode 100644 jmeos-core/tools/parity/meos-ref/meos/include/cbuffer/doxygen_meos_internal_cbuffer.h create mode 100644 jmeos-core/tools/parity/meos-ref/meos/include/cbuffer/tcbuffer.h create mode 100644 jmeos-core/tools/parity/meos-ref/meos/include/cbuffer/tcbuffer_boxops.h create mode 100644 jmeos-core/tools/parity/meos-ref/meos/include/cbuffer/tcbuffer_spatialfuncs.h create mode 100644 jmeos-core/tools/parity/meos-ref/meos/include/cbuffer/tcbuffer_spatialrels.h create mode 100644 jmeos-core/tools/parity/meos-ref/meos/include/cbuffer/tcbuffer_tempspatialrels.h create mode 100644 jmeos-core/tools/parity/meos-ref/meos/include/geo/doxygen_meos_geo.h create mode 100644 jmeos-core/tools/parity/meos-ref/meos/include/geo/doxygen_meos_internal_geo.h create mode 100644 jmeos-core/tools/parity/meos-ref/meos/include/geo/meos_transform.h create mode 100644 jmeos-core/tools/parity/meos-ref/meos/include/geo/postgis_funcs.h create mode 100644 jmeos-core/tools/parity/meos-ref/meos/include/geo/stbox.h create mode 100644 jmeos-core/tools/parity/meos-ref/meos/include/geo/stbox_index.h create mode 100644 jmeos-core/tools/parity/meos-ref/meos/include/geo/tgeo.h create mode 100644 jmeos-core/tools/parity/meos-ref/meos/include/geo/tgeo_aggfuncs.h create mode 100644 jmeos-core/tools/parity/meos-ref/meos/include/geo/tgeo_distance.h create mode 100644 jmeos-core/tools/parity/meos-ref/meos/include/geo/tgeo_restrict.h create mode 100644 jmeos-core/tools/parity/meos-ref/meos/include/geo/tgeo_spatialfuncs.h create mode 100644 jmeos-core/tools/parity/meos-ref/meos/include/geo/tgeo_spatialrels.h create mode 100644 jmeos-core/tools/parity/meos-ref/meos/include/geo/tgeo_tempspatialrels.h create mode 100644 jmeos-core/tools/parity/meos-ref/meos/include/geo/tgeo_tile.h create mode 100644 jmeos-core/tools/parity/meos-ref/meos/include/geo/tpoint_datagen.h create mode 100644 jmeos-core/tools/parity/meos-ref/meos/include/geo/tspatial.h create mode 100644 jmeos-core/tools/parity/meos-ref/meos/include/geo/tspatial_boxops.h create mode 100644 jmeos-core/tools/parity/meos-ref/meos/include/geo/tspatial_parser.h create mode 100644 jmeos-core/tools/parity/meos-ref/meos/include/meos.h create mode 100644 jmeos-core/tools/parity/meos-ref/meos/include/meos_cbuffer.h create mode 100644 jmeos-core/tools/parity/meos-ref/meos/include/meos_geo.h create mode 100644 jmeos-core/tools/parity/meos-ref/meos/include/meos_h3.h create mode 100644 jmeos-core/tools/parity/meos-ref/meos/include/meos_internal.h create mode 100644 jmeos-core/tools/parity/meos-ref/meos/include/meos_internal_geo.h create mode 100644 jmeos-core/tools/parity/meos-ref/meos/include/meos_npoint.h create mode 100644 jmeos-core/tools/parity/meos-ref/meos/include/meos_pose.h create mode 100644 jmeos-core/tools/parity/meos-ref/meos/include/meos_rgeo.h create mode 100644 jmeos-core/tools/parity/meos-ref/meos/include/meos_tls.h create mode 100644 jmeos-core/tools/parity/meos-ref/meos/include/npoint/doxygen_meos_internal_npoint.h create mode 100644 jmeos-core/tools/parity/meos-ref/meos/include/npoint/doxygen_meos_npoint.h create mode 100644 jmeos-core/tools/parity/meos-ref/meos/include/npoint/tnpoint.h create mode 100644 jmeos-core/tools/parity/meos-ref/meos/include/npoint/tnpoint_boxops.h create mode 100644 jmeos-core/tools/parity/meos-ref/meos/include/npoint/tnpoint_distance.h create mode 100644 jmeos-core/tools/parity/meos-ref/meos/include/npoint/tnpoint_parser.h create mode 100644 jmeos-core/tools/parity/meos-ref/meos/include/npoint/tnpoint_routeops.h create mode 100644 jmeos-core/tools/parity/meos-ref/meos/include/npoint/tnpoint_spatialfuncs.h create mode 100644 jmeos-core/tools/parity/meos-ref/meos/include/pose/doxygen_meos_internal_pose.h create mode 100644 jmeos-core/tools/parity/meos-ref/meos/include/pose/doxygen_meos_pose.h create mode 100644 jmeos-core/tools/parity/meos-ref/meos/include/pose/pose.h create mode 100644 jmeos-core/tools/parity/meos-ref/meos/include/pose/tpose.h create mode 100644 jmeos-core/tools/parity/meos-ref/meos/include/pose/tpose_boxops.h create mode 100644 jmeos-core/tools/parity/meos-ref/meos/include/pose/tpose_spatialfuncs.h create mode 100644 jmeos-core/tools/parity/meos-ref/meos/include/postgis_ext_defs.in.h create mode 100644 jmeos-core/tools/parity/meos-ref/meos/include/postgres_int_defs.h create mode 100644 jmeos-core/tools/parity/meos-ref/meos/include/rgeo/doxygen_meos_internal_rgeo.h create mode 100644 jmeos-core/tools/parity/meos-ref/meos/include/rgeo/doxygen_meos_rgeo.h create mode 100644 jmeos-core/tools/parity/meos-ref/meos/include/rgeo/trgeo.h create mode 100644 jmeos-core/tools/parity/meos-ref/meos/include/rgeo/trgeo_all.h create mode 100644 jmeos-core/tools/parity/meos-ref/meos/include/rgeo/trgeo_boxops.h create mode 100644 jmeos-core/tools/parity/meos-ref/meos/include/rgeo/trgeo_distance.h create mode 100644 jmeos-core/tools/parity/meos-ref/meos/include/rgeo/trgeo_inst.h create mode 100644 jmeos-core/tools/parity/meos-ref/meos/include/rgeo/trgeo_parser.h create mode 100644 jmeos-core/tools/parity/meos-ref/meos/include/rgeo/trgeo_seq.h create mode 100644 jmeos-core/tools/parity/meos-ref/meos/include/rgeo/trgeo_seqset.h create mode 100644 jmeos-core/tools/parity/meos-ref/meos/include/rgeo/trgeo_spatialrels.h create mode 100644 jmeos-core/tools/parity/meos-ref/meos/include/rgeo/trgeo_utils.h create mode 100644 jmeos-core/tools/parity/meos-ref/meos/include/rgeo/trgeo_vclip.h create mode 100644 jmeos-core/tools/parity/meos-ref/meos/include/temporal/doublen.h create mode 100644 jmeos-core/tools/parity/meos-ref/meos/include/temporal/doxygen_meos.h create mode 100644 jmeos-core/tools/parity/meos-ref/meos/include/temporal/doxygen_meos_internal.h create mode 100644 jmeos-core/tools/parity/meos-ref/meos/include/temporal/lifting.h create mode 100644 jmeos-core/tools/parity/meos-ref/meos/include/temporal/meos_catalog.h create mode 100644 jmeos-core/tools/parity/meos-ref/meos/include/temporal/postgres_types.h create mode 100644 jmeos-core/tools/parity/meos-ref/meos/include/temporal/set.h create mode 100644 jmeos-core/tools/parity/meos-ref/meos/include/temporal/skiplist.h create mode 100644 jmeos-core/tools/parity/meos-ref/meos/include/temporal/span.h create mode 100644 jmeos-core/tools/parity/meos-ref/meos/include/temporal/span_index.h create mode 100644 jmeos-core/tools/parity/meos-ref/meos/include/temporal/spanset.h create mode 100644 jmeos-core/tools/parity/meos-ref/meos/include/temporal/stratnum.h create mode 100644 jmeos-core/tools/parity/meos-ref/meos/include/temporal/tbool_ops.h create mode 100644 jmeos-core/tools/parity/meos-ref/meos/include/temporal/tbox.h create mode 100644 jmeos-core/tools/parity/meos-ref/meos/include/temporal/tbox_index.h create mode 100644 jmeos-core/tools/parity/meos-ref/meos/include/temporal/temporal.h create mode 100644 jmeos-core/tools/parity/meos-ref/meos/include/temporal/temporal_aggfuncs.h create mode 100644 jmeos-core/tools/parity/meos-ref/meos/include/temporal/temporal_analytics.h create mode 100644 jmeos-core/tools/parity/meos-ref/meos/include/temporal/temporal_boxops.h create mode 100644 jmeos-core/tools/parity/meos-ref/meos/include/temporal/temporal_compops.h create mode 100644 jmeos-core/tools/parity/meos-ref/meos/include/temporal/temporal_restrict.h create mode 100644 jmeos-core/tools/parity/meos-ref/meos/include/temporal/temporal_rtree.h create mode 100644 jmeos-core/tools/parity/meos-ref/meos/include/temporal/temporal_tile.h create mode 100644 jmeos-core/tools/parity/meos-ref/meos/include/temporal/temporal_waggfuncs.h create mode 100644 jmeos-core/tools/parity/meos-ref/meos/include/temporal/tinstant.h create mode 100644 jmeos-core/tools/parity/meos-ref/meos/include/temporal/tnumber_mathfuncs.h create mode 100644 jmeos-core/tools/parity/meos-ref/meos/include/temporal/tsequence.h create mode 100644 jmeos-core/tools/parity/meos-ref/meos/include/temporal/tsequenceset.h create mode 100644 jmeos-core/tools/parity/meos-ref/meos/include/temporal/ttext_funcs.h create mode 100644 jmeos-core/tools/parity/meos-ref/meos/include/temporal/type_inout.h create mode 100644 jmeos-core/tools/parity/meos-ref/meos/include/temporal/type_parser.h create mode 100644 jmeos-core/tools/parity/meos-ref/meos/include/temporal/type_util.h create mode 100644 jmeos-core/tools/parity/meos-ref/mobilitydb/sql/CMakeLists.txt create mode 100644 jmeos-core/tools/parity/meos-ref/mobilitydb/sql/cbuffer/150_cbuffer.in.sql create mode 100644 jmeos-core/tools/parity/meos-ref/mobilitydb/sql/cbuffer/151_cbufferset.in.sql create mode 100644 jmeos-core/tools/parity/meos-ref/mobilitydb/sql/cbuffer/152_tcbuffer.in.sql create mode 100644 jmeos-core/tools/parity/meos-ref/mobilitydb/sql/cbuffer/154_tcbuffer_compops.in.sql create mode 100644 jmeos-core/tools/parity/meos-ref/mobilitydb/sql/cbuffer/155_tcbuffer_spatialfuncs.in.sql create mode 100644 jmeos-core/tools/parity/meos-ref/mobilitydb/sql/cbuffer/158_tcbuffer_topops.in.sql create mode 100644 jmeos-core/tools/parity/meos-ref/mobilitydb/sql/cbuffer/159_tcbuffer_posops.in.sql create mode 100644 jmeos-core/tools/parity/meos-ref/mobilitydb/sql/cbuffer/160_tcbuffer_distance.in.sql create mode 100644 jmeos-core/tools/parity/meos-ref/mobilitydb/sql/cbuffer/161_tcbuffer_aggfuncs.in.sql create mode 100644 jmeos-core/tools/parity/meos-ref/mobilitydb/sql/cbuffer/162_tcbuffer_spatialrels.in.sql create mode 100644 jmeos-core/tools/parity/meos-ref/mobilitydb/sql/cbuffer/164_tcbuffer_tempspatialrels.in.sql create mode 100644 jmeos-core/tools/parity/meos-ref/mobilitydb/sql/cbuffer/166_tcbuffer_indexes.in.sql create mode 100644 jmeos-core/tools/parity/meos-ref/mobilitydb/sql/cbuffer/CMakeLists.txt create mode 100644 jmeos-core/tools/parity/meos-ref/mobilitydb/sql/geo/050_geoset.in.sql create mode 100644 jmeos-core/tools/parity/meos-ref/mobilitydb/sql/geo/051_stbox.in.sql create mode 100644 jmeos-core/tools/parity/meos-ref/mobilitydb/sql/geo/052_tgeo.in.sql create mode 100644 jmeos-core/tools/parity/meos-ref/mobilitydb/sql/geo/052_tpoint.in.sql create mode 100644 jmeos-core/tools/parity/meos-ref/mobilitydb/sql/geo/053_tgeo_inout.in.sql create mode 100644 jmeos-core/tools/parity/meos-ref/mobilitydb/sql/geo/053_tpoint_inout.in.sql create mode 100644 jmeos-core/tools/parity/meos-ref/mobilitydb/sql/geo/054_tgeo_compops.in.sql create mode 100644 jmeos-core/tools/parity/meos-ref/mobilitydb/sql/geo/054_tpoint_compops.in.sql create mode 100644 jmeos-core/tools/parity/meos-ref/mobilitydb/sql/geo/056_tgeo_spatialfuncs.in.sql create mode 100644 jmeos-core/tools/parity/meos-ref/mobilitydb/sql/geo/056_tpoint_spatialfuncs.in.sql create mode 100644 jmeos-core/tools/parity/meos-ref/mobilitydb/sql/geo/058_tgeo_tile.in.sql create mode 100644 jmeos-core/tools/parity/meos-ref/mobilitydb/sql/geo/058_tpoint_tile.in.sql create mode 100644 jmeos-core/tools/parity/meos-ref/mobilitydb/sql/geo/060_tgeo_boxops.in.sql create mode 100644 jmeos-core/tools/parity/meos-ref/mobilitydb/sql/geo/060_tpoint_boxops.in.sql create mode 100644 jmeos-core/tools/parity/meos-ref/mobilitydb/sql/geo/062_tgeo_posops.in.sql create mode 100644 jmeos-core/tools/parity/meos-ref/mobilitydb/sql/geo/062_tpoint_posops.in.sql create mode 100644 jmeos-core/tools/parity/meos-ref/mobilitydb/sql/geo/064_tgeo_distance.in.sql create mode 100644 jmeos-core/tools/parity/meos-ref/mobilitydb/sql/geo/064_tpoint_distance.in.sql create mode 100644 jmeos-core/tools/parity/meos-ref/mobilitydb/sql/geo/066_tpoint_similarity.in.sql create mode 100644 jmeos-core/tools/parity/meos-ref/mobilitydb/sql/geo/068_tgeo_aggfuncs.in.sql create mode 100644 jmeos-core/tools/parity/meos-ref/mobilitydb/sql/geo/068_tpoint_aggfuncs.in.sql create mode 100644 jmeos-core/tools/parity/meos-ref/mobilitydb/sql/geo/070_tgeo_spatialrels.in.sql create mode 100644 jmeos-core/tools/parity/meos-ref/mobilitydb/sql/geo/070_tpoint_spatialrels.in.sql create mode 100644 jmeos-core/tools/parity/meos-ref/mobilitydb/sql/geo/072_tgeo_tempspatialrels.in.sql create mode 100644 jmeos-core/tools/parity/meos-ref/mobilitydb/sql/geo/072_tpoint_tempspatialrels.in.sql create mode 100644 jmeos-core/tools/parity/meos-ref/mobilitydb/sql/geo/073_tgeo_gist.in.sql create mode 100644 jmeos-core/tools/parity/meos-ref/mobilitydb/sql/geo/073_tpoint_gist.in.sql create mode 100644 jmeos-core/tools/parity/meos-ref/mobilitydb/sql/geo/074_tgeo_spgist.in.sql create mode 100644 jmeos-core/tools/parity/meos-ref/mobilitydb/sql/geo/074_tpoint_spgist.in.sql create mode 100644 jmeos-core/tools/parity/meos-ref/mobilitydb/sql/geo/076_tgeo_analytics.in.sql create mode 100644 jmeos-core/tools/parity/meos-ref/mobilitydb/sql/geo/076_tpoint_analytics.in.sql create mode 100644 jmeos-core/tools/parity/meos-ref/mobilitydb/sql/geo/078_tpoint_datagen.in.sql create mode 100644 jmeos-core/tools/parity/meos-ref/mobilitydb/sql/geo/CMakeLists.txt create mode 100644 jmeos-core/tools/parity/meos-ref/mobilitydb/sql/mobilitydb.in.control create mode 100644 jmeos-core/tools/parity/meos-ref/mobilitydb/sql/npoint/081_npoint.in.sql create mode 100644 jmeos-core/tools/parity/meos-ref/mobilitydb/sql/npoint/082_npointset.in.sql create mode 100644 jmeos-core/tools/parity/meos-ref/mobilitydb/sql/npoint/083_tnpoint.in.sql create mode 100644 jmeos-core/tools/parity/meos-ref/mobilitydb/sql/npoint/085_tnpoint_compops.in.sql create mode 100644 jmeos-core/tools/parity/meos-ref/mobilitydb/sql/npoint/087_tnpoint_spatialfuncs.in.sql create mode 100644 jmeos-core/tools/parity/meos-ref/mobilitydb/sql/npoint/089_tnpoint_topops.in.sql create mode 100644 jmeos-core/tools/parity/meos-ref/mobilitydb/sql/npoint/090_tnpoint_posops.in.sql create mode 100644 jmeos-core/tools/parity/meos-ref/mobilitydb/sql/npoint/091_tnpoint_routeops.in.sql create mode 100644 jmeos-core/tools/parity/meos-ref/mobilitydb/sql/npoint/092_tnpoint_gin.in.sql create mode 100644 jmeos-core/tools/parity/meos-ref/mobilitydb/sql/npoint/093_tnpoint_distance.in.sql create mode 100644 jmeos-core/tools/parity/meos-ref/mobilitydb/sql/npoint/095_tnpoint_aggfuncs.in.sql create mode 100644 jmeos-core/tools/parity/meos-ref/mobilitydb/sql/npoint/098_tnpoint_indexes.in.sql create mode 100644 jmeos-core/tools/parity/meos-ref/mobilitydb/sql/npoint/CMakeLists.txt create mode 100644 jmeos-core/tools/parity/meos-ref/mobilitydb/sql/pose/100_pose.in.sql create mode 100644 jmeos-core/tools/parity/meos-ref/mobilitydb/sql/pose/101_poseset.in.sql create mode 100644 jmeos-core/tools/parity/meos-ref/mobilitydb/sql/pose/102_tpose.in.sql create mode 100644 jmeos-core/tools/parity/meos-ref/mobilitydb/sql/pose/104_tpose_compops.in.sql create mode 100644 jmeos-core/tools/parity/meos-ref/mobilitydb/sql/pose/105_tpose_spatialfuncs.in.sql create mode 100644 jmeos-core/tools/parity/meos-ref/mobilitydb/sql/pose/108_tpose_topops.in.sql create mode 100644 jmeos-core/tools/parity/meos-ref/mobilitydb/sql/pose/109_tpose_posops.in.sql create mode 100644 jmeos-core/tools/parity/meos-ref/mobilitydb/sql/pose/111_tpose_aggfuncs.in.sql create mode 100644 jmeos-core/tools/parity/meos-ref/mobilitydb/sql/pose/113_tpose_distance.in.sql create mode 100644 jmeos-core/tools/parity/meos-ref/mobilitydb/sql/pose/114_tpose_indexes.in.sql create mode 100644 jmeos-core/tools/parity/meos-ref/mobilitydb/sql/pose/CMakeLists.txt create mode 100644 jmeos-core/tools/parity/meos-ref/mobilitydb/sql/rgeo/122_trgeo.in.sql create mode 100644 jmeos-core/tools/parity/meos-ref/mobilitydb/sql/rgeo/124_trgeo_compops.in.sql create mode 100644 jmeos-core/tools/parity/meos-ref/mobilitydb/sql/rgeo/125_trgeo_spatialfuncs.in.sql create mode 100644 jmeos-core/tools/parity/meos-ref/mobilitydb/sql/rgeo/128_trgeo_topops.in.sql create mode 100644 jmeos-core/tools/parity/meos-ref/mobilitydb/sql/rgeo/129_trgeo_posops.in.sql create mode 100644 jmeos-core/tools/parity/meos-ref/mobilitydb/sql/rgeo/131_trgeo_aggfuncs.in.sql create mode 100644 jmeos-core/tools/parity/meos-ref/mobilitydb/sql/rgeo/133_trgeo_distance.in.sql create mode 100644 jmeos-core/tools/parity/meos-ref/mobilitydb/sql/rgeo/133_trgeo_vclip.in.sql create mode 100644 jmeos-core/tools/parity/meos-ref/mobilitydb/sql/rgeo/134_trgeo_indexes.in.sql create mode 100644 jmeos-core/tools/parity/meos-ref/mobilitydb/sql/rgeo/CMakeLists.txt create mode 100644 jmeos-core/tools/parity/meos-ref/mobilitydb/sql/temporal/001_set.in.sql create mode 100644 jmeos-core/tools/parity/meos-ref/mobilitydb/sql/temporal/002_set_ops.in.sql create mode 100644 jmeos-core/tools/parity/meos-ref/mobilitydb/sql/temporal/003_span.in.sql create mode 100644 jmeos-core/tools/parity/meos-ref/mobilitydb/sql/temporal/005_span_ops.in.sql create mode 100644 jmeos-core/tools/parity/meos-ref/mobilitydb/sql/temporal/007_spanset.in.sql create mode 100644 jmeos-core/tools/parity/meos-ref/mobilitydb/sql/temporal/009_spanset_ops.in.sql create mode 100644 jmeos-core/tools/parity/meos-ref/mobilitydb/sql/temporal/011_span_indexes.in.sql create mode 100644 jmeos-core/tools/parity/meos-ref/mobilitydb/sql/temporal/012_spanset_indexes.in.sql create mode 100644 jmeos-core/tools/parity/meos-ref/mobilitydb/sql/temporal/013_set_indexes.in.sql create mode 100644 jmeos-core/tools/parity/meos-ref/mobilitydb/sql/temporal/015_span_aggfuncs.in.sql create mode 100644 jmeos-core/tools/parity/meos-ref/mobilitydb/sql/temporal/019_geo_constructors.in.sql create mode 100644 jmeos-core/tools/parity/meos-ref/mobilitydb/sql/temporal/021_tbox.in.sql create mode 100644 jmeos-core/tools/parity/meos-ref/mobilitydb/sql/temporal/022_temporal.in.sql create mode 100644 jmeos-core/tools/parity/meos-ref/mobilitydb/sql/temporal/023_temporal_inout.in.sql create mode 100644 jmeos-core/tools/parity/meos-ref/mobilitydb/sql/temporal/025_temporal_tile.in.sql create mode 100644 jmeos-core/tools/parity/meos-ref/mobilitydb/sql/temporal/026_tnumber_mathfuncs.in.sql create mode 100644 jmeos-core/tools/parity/meos-ref/mobilitydb/sql/temporal/028_tbool_boolops.in.sql create mode 100644 jmeos-core/tools/parity/meos-ref/mobilitydb/sql/temporal/029_ttext_textfuncs.in.sql create mode 100644 jmeos-core/tools/parity/meos-ref/mobilitydb/sql/temporal/030_temporal_compops.in.sql create mode 100644 jmeos-core/tools/parity/meos-ref/mobilitydb/sql/temporal/032_temporal_boxops.in.sql create mode 100644 jmeos-core/tools/parity/meos-ref/mobilitydb/sql/temporal/034_temporal_posops.in.sql create mode 100644 jmeos-core/tools/parity/meos-ref/mobilitydb/sql/temporal/036_tnumber_distance.in.sql create mode 100644 jmeos-core/tools/parity/meos-ref/mobilitydb/sql/temporal/038_temporal_similarity.in.sql create mode 100644 jmeos-core/tools/parity/meos-ref/mobilitydb/sql/temporal/040_temporal_aggfuncs.in.sql create mode 100644 jmeos-core/tools/parity/meos-ref/mobilitydb/sql/temporal/042_temporal_waggfuncs.in.sql create mode 100644 jmeos-core/tools/parity/meos-ref/mobilitydb/sql/temporal/043_temporal_gist.in.sql create mode 100644 jmeos-core/tools/parity/meos-ref/mobilitydb/sql/temporal/044_temporal_spgist.in.sql create mode 100644 jmeos-core/tools/parity/meos-ref/mobilitydb/sql/temporal/046_temporal_analytics.in.sql create mode 100644 jmeos-core/tools/parity/meos-ref/mobilitydb/sql/temporal/999_oid_cache.in.sql create mode 100644 jmeos-core/tools/parity/meos-ref/mobilitydb/sql/temporal/CMakeLists.txt create mode 100644 jmeos-core/tools/parity/parity_audit.py diff --git a/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsBigintSet.java b/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsBigintSet.java new file mode 100644 index 00000000..8bdb193d --- /dev/null +++ b/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsBigintSet.java @@ -0,0 +1,155 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2020-2026, Université libre de Bruxelles and MobilityDB + * contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +package org.mobilitydb.meos; + +/* AUTO-GENERATED by codegen_flink_v3.py — do not edit by hand. + * MEOS object-model class: BigintSet + * Methods emitted: 8 (bounded-state=5 · io-meta=2 · stateless=1) + * Source: JMEOS jar (PR #15 / regen-against-meos-1.4) ∩ streaming-relevance baseline v4. + */ + +import functions.GeneratedFunctions; +import jnr.ffi.Pointer; + +public final class MeosOpsBigintSet { + + public static final boolean MEOS_AVAILABLE = MeosOpsRuntime.MEOS_AVAILABLE; + + private MeosOpsBigintSet() { /* utility */ } + + /** + * MEOS {@code bigintset_make} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Object-model role: {@code constructor}.

+ *

Classification: constructor of instant/scalar

+ */ + public static jnr.ffi.Pointer bigintset_make(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "bigintset_make requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.bigintset_make(arg0, arg1); + } + + /** + * MEOS {@code bigintset_end_value} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static long bigintset_end_value(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "bigintset_end_value requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.bigintset_end_value(arg0); + } + + /** + * MEOS {@code bigintset_shift_scale} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer bigintset_shift_scale(jnr.ffi.Pointer arg0, long arg1, long arg2, boolean arg3, boolean arg4) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "bigintset_shift_scale requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.bigintset_shift_scale(arg0, arg1, arg2, arg3, arg4); + } + + /** + * MEOS {@code bigintset_start_value} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static long bigintset_start_value(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "bigintset_start_value requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.bigintset_start_value(arg0); + } + + /** + * MEOS {@code bigintset_value_n} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer bigintset_value_n(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "bigintset_value_n requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.bigintset_value_n(arg0, arg1); + } + + /** + * MEOS {@code bigintset_values} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer bigintset_values(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "bigintset_values requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.bigintset_values(arg0, arg1); + } + + /** + * MEOS {@code bigintset_in} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Object-model role: {@code constructor}.

+ *

Classification: IO/serialization

+ */ + public static jnr.ffi.Pointer bigintset_in(java.lang.String arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "bigintset_in requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.bigintset_in(arg0); + } + + /** + * MEOS {@code bigintset_out} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Object-model role: {@code output}.

+ *

Classification: IO/serialization

+ */ + public static java.lang.String bigintset_out(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "bigintset_out requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.bigintset_out(arg0); + } + +} diff --git a/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsBigintSpan.java b/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsBigintSpan.java new file mode 100644 index 00000000..3f60c1d0 --- /dev/null +++ b/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsBigintSpan.java @@ -0,0 +1,169 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2020-2026, Université libre de Bruxelles and MobilityDB + * contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +package org.mobilitydb.meos; + +/* AUTO-GENERATED by codegen_flink_v3.py — do not edit by hand. + * MEOS object-model class: BigintSpan + * Methods emitted: 9 (bounded-state=6 · io-meta=2 · stateless=1) + * Source: JMEOS jar (PR #15 / regen-against-meos-1.4) ∩ streaming-relevance baseline v4. + */ + +import functions.GeneratedFunctions; +import jnr.ffi.Pointer; + +public final class MeosOpsBigintSpan { + + public static final boolean MEOS_AVAILABLE = MeosOpsRuntime.MEOS_AVAILABLE; + + private MeosOpsBigintSpan() { /* utility */ } + + /** + * MEOS {@code bigintspan_make} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Object-model role: {@code constructor}.

+ *

Classification: constructor of instant/scalar

+ */ + public static jnr.ffi.Pointer bigintspan_make(long arg0, long arg1, boolean arg2, boolean arg3) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "bigintspan_make requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.bigintspan_make(arg0, arg1, arg2, arg3); + } + + /** + * MEOS {@code bigintspan_bins} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer bigintspan_bins(jnr.ffi.Pointer arg0, long arg1, long arg2, jnr.ffi.Pointer arg3) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "bigintspan_bins requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.bigintspan_bins(arg0, arg1, arg2, arg3); + } + + /** + * MEOS {@code bigintspan_expand} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer bigintspan_expand(jnr.ffi.Pointer arg0, long arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "bigintspan_expand requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.bigintspan_expand(arg0, arg1); + } + + /** + * MEOS {@code bigintspan_lower} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static long bigintspan_lower(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "bigintspan_lower requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.bigintspan_lower(arg0); + } + + /** + * MEOS {@code bigintspan_shift_scale} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer bigintspan_shift_scale(jnr.ffi.Pointer arg0, long arg1, long arg2, boolean arg3, boolean arg4) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "bigintspan_shift_scale requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.bigintspan_shift_scale(arg0, arg1, arg2, arg3, arg4); + } + + /** + * MEOS {@code bigintspan_upper} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static long bigintspan_upper(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "bigintspan_upper requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.bigintspan_upper(arg0); + } + + /** + * MEOS {@code bigintspan_width} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static long bigintspan_width(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "bigintspan_width requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.bigintspan_width(arg0); + } + + /** + * MEOS {@code bigintspan_in} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Object-model role: {@code constructor}.

+ *

Classification: IO/serialization

+ */ + public static jnr.ffi.Pointer bigintspan_in(java.lang.String arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "bigintspan_in requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.bigintspan_in(arg0); + } + + /** + * MEOS {@code bigintspan_out} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Object-model role: {@code output}.

+ *

Classification: IO/serialization

+ */ + public static java.lang.String bigintspan_out(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "bigintspan_out requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.bigintspan_out(arg0); + } + +} diff --git a/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsBigintSpanSet.java b/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsBigintSpanSet.java new file mode 100644 index 00000000..828632a4 --- /dev/null +++ b/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsBigintSpanSet.java @@ -0,0 +1,141 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2020-2026, Université libre de Bruxelles and MobilityDB + * contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +package org.mobilitydb.meos; + +/* AUTO-GENERATED by codegen_flink_v3.py — do not edit by hand. + * MEOS object-model class: BigintSpanSet + * Methods emitted: 7 (bounded-state=5 · io-meta=2) + * Source: JMEOS jar (PR #15 / regen-against-meos-1.4) ∩ streaming-relevance baseline v4. + */ + +import functions.GeneratedFunctions; +import jnr.ffi.Pointer; + +public final class MeosOpsBigintSpanSet { + + public static final boolean MEOS_AVAILABLE = MeosOpsRuntime.MEOS_AVAILABLE; + + private MeosOpsBigintSpanSet() { /* utility */ } + + /** + * MEOS {@code bigintspanset_bins} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer bigintspanset_bins(jnr.ffi.Pointer arg0, long arg1, long arg2, jnr.ffi.Pointer arg3) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "bigintspanset_bins requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.bigintspanset_bins(arg0, arg1, arg2, arg3); + } + + /** + * MEOS {@code bigintspanset_lower} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static long bigintspanset_lower(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "bigintspanset_lower requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.bigintspanset_lower(arg0); + } + + /** + * MEOS {@code bigintspanset_shift_scale} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer bigintspanset_shift_scale(jnr.ffi.Pointer arg0, long arg1, long arg2, boolean arg3, boolean arg4) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "bigintspanset_shift_scale requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.bigintspanset_shift_scale(arg0, arg1, arg2, arg3, arg4); + } + + /** + * MEOS {@code bigintspanset_upper} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static long bigintspanset_upper(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "bigintspanset_upper requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.bigintspanset_upper(arg0); + } + + /** + * MEOS {@code bigintspanset_width} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static long bigintspanset_width(jnr.ffi.Pointer arg0, boolean arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "bigintspanset_width requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.bigintspanset_width(arg0, arg1); + } + + /** + * MEOS {@code bigintspanset_in} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Object-model role: {@code constructor}.

+ *

Classification: IO/serialization

+ */ + public static jnr.ffi.Pointer bigintspanset_in(java.lang.String arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "bigintspanset_in requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.bigintspanset_in(arg0); + } + + /** + * MEOS {@code bigintspanset_out} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Object-model role: {@code output}.

+ *

Classification: IO/serialization

+ */ + public static java.lang.String bigintspanset_out(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "bigintspanset_out requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.bigintspanset_out(arg0); + } + +} diff --git a/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsCbufferSet.java b/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsCbufferSet.java new file mode 100644 index 00000000..32175615 --- /dev/null +++ b/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsCbufferSet.java @@ -0,0 +1,141 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2020-2026, Université libre de Bruxelles and MobilityDB + * contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +package org.mobilitydb.meos; + +/* AUTO-GENERATED by codegen_flink_v3.py — do not edit by hand. + * MEOS object-model class: CbufferSet + * Methods emitted: 7 (bounded-state=4 · io-meta=2 · stateless=1) + * Source: JMEOS jar (PR #15 / regen-against-meos-1.4) ∩ streaming-relevance baseline v4. + */ + +import functions.GeneratedFunctions; +import jnr.ffi.Pointer; + +public final class MeosOpsCbufferSet { + + public static final boolean MEOS_AVAILABLE = MeosOpsRuntime.MEOS_AVAILABLE; + + private MeosOpsCbufferSet() { /* utility */ } + + /** + * MEOS {@code cbufferset_make} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Object-model role: {@code constructor}.

+ *

Classification: constructor of instant/scalar

+ */ + public static jnr.ffi.Pointer cbufferset_make(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "cbufferset_make requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.cbufferset_make(arg0, arg1); + } + + /** + * MEOS {@code cbufferset_end_value} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer cbufferset_end_value(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "cbufferset_end_value requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.cbufferset_end_value(arg0); + } + + /** + * MEOS {@code cbufferset_start_value} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer cbufferset_start_value(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "cbufferset_start_value requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.cbufferset_start_value(arg0); + } + + /** + * MEOS {@code cbufferset_value_n} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer cbufferset_value_n(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "cbufferset_value_n requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.cbufferset_value_n(arg0, arg1); + } + + /** + * MEOS {@code cbufferset_values} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer cbufferset_values(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "cbufferset_values requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.cbufferset_values(arg0, arg1); + } + + /** + * MEOS {@code cbufferset_in} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Object-model role: {@code constructor}.

+ *

Classification: IO/serialization

+ */ + public static jnr.ffi.Pointer cbufferset_in(java.lang.String arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "cbufferset_in requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.cbufferset_in(arg0); + } + + /** + * MEOS {@code cbufferset_out} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Object-model role: {@code output}.

+ *

Classification: IO/serialization

+ */ + public static java.lang.String cbufferset_out(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "cbufferset_out requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.cbufferset_out(arg0, arg1); + } + +} diff --git a/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsDateSet.java b/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsDateSet.java new file mode 100644 index 00000000..1a6cf3af --- /dev/null +++ b/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsDateSet.java @@ -0,0 +1,169 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2020-2026, Université libre de Bruxelles and MobilityDB + * contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +package org.mobilitydb.meos; + +/* AUTO-GENERATED by codegen_flink_v3.py — do not edit by hand. + * MEOS object-model class: DateSet + * Methods emitted: 9 (bounded-state=5 · io-meta=2 · stateless=2) + * Source: JMEOS jar (PR #15 / regen-against-meos-1.4) ∩ streaming-relevance baseline v4. + */ + +import functions.GeneratedFunctions; +import jnr.ffi.Pointer; + +public final class MeosOpsDateSet { + + public static final boolean MEOS_AVAILABLE = MeosOpsRuntime.MEOS_AVAILABLE; + + private MeosOpsDateSet() { /* utility */ } + + /** + * MEOS {@code dateset_make} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Object-model role: {@code constructor}.

+ *

Classification: constructor of instant/scalar

+ */ + public static jnr.ffi.Pointer dateset_make(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "dateset_make requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.dateset_make(arg0, arg1); + } + + /** + * MEOS {@code dateset_to_tstzset} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Object-model role: {@code conversion}.

+ *

Classification: role=conversion

+ */ + public static jnr.ffi.Pointer dateset_to_tstzset(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "dateset_to_tstzset requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.dateset_to_tstzset(arg0); + } + + /** + * MEOS {@code dateset_end_value} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static int dateset_end_value(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "dateset_end_value requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.dateset_end_value(arg0); + } + + /** + * MEOS {@code dateset_shift_scale} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer dateset_shift_scale(jnr.ffi.Pointer arg0, int arg1, int arg2, boolean arg3, boolean arg4) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "dateset_shift_scale requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.dateset_shift_scale(arg0, arg1, arg2, arg3, arg4); + } + + /** + * MEOS {@code dateset_start_value} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static int dateset_start_value(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "dateset_start_value requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.dateset_start_value(arg0); + } + + /** + * MEOS {@code dateset_value_n} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer dateset_value_n(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "dateset_value_n requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.dateset_value_n(arg0, arg1); + } + + /** + * MEOS {@code dateset_values} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer dateset_values(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "dateset_values requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.dateset_values(arg0, arg1); + } + + /** + * MEOS {@code dateset_in} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Object-model role: {@code constructor}.

+ *

Classification: IO/serialization

+ */ + public static jnr.ffi.Pointer dateset_in(java.lang.String arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "dateset_in requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.dateset_in(arg0); + } + + /** + * MEOS {@code dateset_out} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Object-model role: {@code output}.

+ *

Classification: IO/serialization

+ */ + public static java.lang.String dateset_out(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "dateset_out requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.dateset_out(arg0); + } + +} diff --git a/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsDateSpan.java b/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsDateSpan.java new file mode 100644 index 00000000..8cd9e402 --- /dev/null +++ b/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsDateSpan.java @@ -0,0 +1,169 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2020-2026, Université libre de Bruxelles and MobilityDB + * contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +package org.mobilitydb.meos; + +/* AUTO-GENERATED by codegen_flink_v3.py — do not edit by hand. + * MEOS object-model class: DateSpan + * Methods emitted: 9 (bounded-state=5 · io-meta=2 · stateless=2) + * Source: JMEOS jar (PR #15 / regen-against-meos-1.4) ∩ streaming-relevance baseline v4. + */ + +import functions.GeneratedFunctions; +import jnr.ffi.Pointer; + +public final class MeosOpsDateSpan { + + public static final boolean MEOS_AVAILABLE = MeosOpsRuntime.MEOS_AVAILABLE; + + private MeosOpsDateSpan() { /* utility */ } + + /** + * MEOS {@code datespan_make} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Object-model role: {@code constructor}.

+ *

Classification: constructor of instant/scalar

+ */ + public static jnr.ffi.Pointer datespan_make(int arg0, int arg1, boolean arg2, boolean arg3) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "datespan_make requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.datespan_make(arg0, arg1, arg2, arg3); + } + + /** + * MEOS {@code datespan_to_tstzspan} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Object-model role: {@code conversion}.

+ *

Classification: role=conversion

+ */ + public static jnr.ffi.Pointer datespan_to_tstzspan(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "datespan_to_tstzspan requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.datespan_to_tstzspan(arg0); + } + + /** + * MEOS {@code datespan_bins} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer datespan_bins(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1, int arg2, jnr.ffi.Pointer arg3) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "datespan_bins requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.datespan_bins(arg0, arg1, arg2, arg3); + } + + /** + * MEOS {@code datespan_duration} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer datespan_duration(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "datespan_duration requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.datespan_duration(arg0); + } + + /** + * MEOS {@code datespan_lower} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static int datespan_lower(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "datespan_lower requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.datespan_lower(arg0); + } + + /** + * MEOS {@code datespan_shift_scale} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer datespan_shift_scale(jnr.ffi.Pointer arg0, int arg1, int arg2, boolean arg3, boolean arg4) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "datespan_shift_scale requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.datespan_shift_scale(arg0, arg1, arg2, arg3, arg4); + } + + /** + * MEOS {@code datespan_upper} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static int datespan_upper(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "datespan_upper requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.datespan_upper(arg0); + } + + /** + * MEOS {@code datespan_in} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Object-model role: {@code constructor}.

+ *

Classification: IO/serialization

+ */ + public static jnr.ffi.Pointer datespan_in(java.lang.String arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "datespan_in requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.datespan_in(arg0); + } + + /** + * MEOS {@code datespan_out} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Object-model role: {@code output}.

+ *

Classification: IO/serialization

+ */ + public static java.lang.String datespan_out(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "datespan_out requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.datespan_out(arg0); + } + +} diff --git a/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsDateSpanSet.java b/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsDateSpanSet.java new file mode 100644 index 00000000..d8196a9b --- /dev/null +++ b/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsDateSpanSet.java @@ -0,0 +1,197 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2020-2026, Université libre de Bruxelles and MobilityDB + * contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +package org.mobilitydb.meos; + +/* AUTO-GENERATED by codegen_flink_v3.py — do not edit by hand. + * MEOS object-model class: DateSpanSet + * Methods emitted: 11 (bounded-state=8 · io-meta=2 · stateless=1) + * Source: JMEOS jar (PR #15 / regen-against-meos-1.4) ∩ streaming-relevance baseline v4. + */ + +import functions.GeneratedFunctions; +import jnr.ffi.Pointer; + +public final class MeosOpsDateSpanSet { + + public static final boolean MEOS_AVAILABLE = MeosOpsRuntime.MEOS_AVAILABLE; + + private MeosOpsDateSpanSet() { /* utility */ } + + /** + * MEOS {@code datespanset_to_tstzspanset} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Object-model role: {@code conversion}.

+ *

Classification: role=conversion

+ */ + public static jnr.ffi.Pointer datespanset_to_tstzspanset(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "datespanset_to_tstzspanset requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.datespanset_to_tstzspanset(arg0); + } + + /** + * MEOS {@code datespanset_bins} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer datespanset_bins(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1, int arg2, jnr.ffi.Pointer arg3) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "datespanset_bins requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.datespanset_bins(arg0, arg1, arg2, arg3); + } + + /** + * MEOS {@code datespanset_date_n} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer datespanset_date_n(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "datespanset_date_n requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.datespanset_date_n(arg0, arg1); + } + + /** + * MEOS {@code datespanset_dates} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer datespanset_dates(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "datespanset_dates requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.datespanset_dates(arg0); + } + + /** + * MEOS {@code datespanset_duration} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer datespanset_duration(jnr.ffi.Pointer arg0, boolean arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "datespanset_duration requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.datespanset_duration(arg0, arg1); + } + + /** + * MEOS {@code datespanset_end_date} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static int datespanset_end_date(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "datespanset_end_date requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.datespanset_end_date(arg0); + } + + /** + * MEOS {@code datespanset_num_dates} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static int datespanset_num_dates(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "datespanset_num_dates requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.datespanset_num_dates(arg0); + } + + /** + * MEOS {@code datespanset_shift_scale} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer datespanset_shift_scale(jnr.ffi.Pointer arg0, int arg1, int arg2, boolean arg3, boolean arg4) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "datespanset_shift_scale requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.datespanset_shift_scale(arg0, arg1, arg2, arg3, arg4); + } + + /** + * MEOS {@code datespanset_start_date} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static int datespanset_start_date(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "datespanset_start_date requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.datespanset_start_date(arg0); + } + + /** + * MEOS {@code datespanset_in} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Object-model role: {@code constructor}.

+ *

Classification: IO/serialization

+ */ + public static jnr.ffi.Pointer datespanset_in(java.lang.String arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "datespanset_in requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.datespanset_in(arg0); + } + + /** + * MEOS {@code datespanset_out} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Object-model role: {@code output}.

+ *

Classification: IO/serialization

+ */ + public static java.lang.String datespanset_out(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "datespanset_out requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.datespanset_out(arg0); + } + +} diff --git a/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsFloatSet.java b/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsFloatSet.java new file mode 100644 index 00000000..242269b0 --- /dev/null +++ b/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsFloatSet.java @@ -0,0 +1,225 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2020-2026, Université libre de Bruxelles and MobilityDB + * contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +package org.mobilitydb.meos; + +/* AUTO-GENERATED by codegen_flink_v3.py — do not edit by hand. + * MEOS object-model class: FloatSet + * Methods emitted: 13 (bounded-state=9 · io-meta=2 · stateless=2) + * Source: JMEOS jar (PR #15 / regen-against-meos-1.4) ∩ streaming-relevance baseline v4. + */ + +import functions.GeneratedFunctions; +import jnr.ffi.Pointer; + +public final class MeosOpsFloatSet { + + public static final boolean MEOS_AVAILABLE = MeosOpsRuntime.MEOS_AVAILABLE; + + private MeosOpsFloatSet() { /* utility */ } + + /** + * MEOS {@code floatset_make} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Object-model role: {@code constructor}.

+ *

Classification: constructor of instant/scalar

+ */ + public static jnr.ffi.Pointer floatset_make(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "floatset_make requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.floatset_make(arg0, arg1); + } + + /** + * MEOS {@code floatset_to_intset} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Object-model role: {@code conversion}.

+ *

Classification: role=conversion

+ */ + public static jnr.ffi.Pointer floatset_to_intset(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "floatset_to_intset requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.floatset_to_intset(arg0); + } + + /** + * MEOS {@code floatset_ceil} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer floatset_ceil(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "floatset_ceil requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.floatset_ceil(arg0); + } + + /** + * MEOS {@code floatset_degrees} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer floatset_degrees(jnr.ffi.Pointer arg0, boolean arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "floatset_degrees requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.floatset_degrees(arg0, arg1); + } + + /** + * MEOS {@code floatset_end_value} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static double floatset_end_value(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "floatset_end_value requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.floatset_end_value(arg0); + } + + /** + * MEOS {@code floatset_floor} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer floatset_floor(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "floatset_floor requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.floatset_floor(arg0); + } + + /** + * MEOS {@code floatset_radians} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer floatset_radians(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "floatset_radians requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.floatset_radians(arg0); + } + + /** + * MEOS {@code floatset_shift_scale} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer floatset_shift_scale(jnr.ffi.Pointer arg0, double arg1, double arg2, boolean arg3, boolean arg4) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "floatset_shift_scale requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.floatset_shift_scale(arg0, arg1, arg2, arg3, arg4); + } + + /** + * MEOS {@code floatset_start_value} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static double floatset_start_value(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "floatset_start_value requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.floatset_start_value(arg0); + } + + /** + * MEOS {@code floatset_value_n} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer floatset_value_n(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "floatset_value_n requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.floatset_value_n(arg0, arg1); + } + + /** + * MEOS {@code floatset_values} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer floatset_values(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "floatset_values requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.floatset_values(arg0, arg1); + } + + /** + * MEOS {@code floatset_in} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Object-model role: {@code constructor}.

+ *

Classification: IO/serialization

+ */ + public static jnr.ffi.Pointer floatset_in(java.lang.String arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "floatset_in requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.floatset_in(arg0); + } + + /** + * MEOS {@code floatset_out} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Object-model role: {@code output}.

+ *

Classification: IO/serialization

+ */ + public static java.lang.String floatset_out(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "floatset_out requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.floatset_out(arg0, arg1); + } + +} diff --git a/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsFloatSpan.java b/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsFloatSpan.java new file mode 100644 index 00000000..2e761842 --- /dev/null +++ b/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsFloatSpan.java @@ -0,0 +1,253 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2020-2026, Université libre de Bruxelles and MobilityDB + * contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +package org.mobilitydb.meos; + +/* AUTO-GENERATED by codegen_flink_v3.py — do not edit by hand. + * MEOS object-model class: FloatSpan + * Methods emitted: 15 (bounded-state=11 · io-meta=2 · stateless=2) + * Source: JMEOS jar (PR #15 / regen-against-meos-1.4) ∩ streaming-relevance baseline v4. + */ + +import functions.GeneratedFunctions; +import jnr.ffi.Pointer; + +public final class MeosOpsFloatSpan { + + public static final boolean MEOS_AVAILABLE = MeosOpsRuntime.MEOS_AVAILABLE; + + private MeosOpsFloatSpan() { /* utility */ } + + /** + * MEOS {@code floatspan_make} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Object-model role: {@code constructor}.

+ *

Classification: constructor of instant/scalar

+ */ + public static jnr.ffi.Pointer floatspan_make(double arg0, double arg1, boolean arg2, boolean arg3) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "floatspan_make requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.floatspan_make(arg0, arg1, arg2, arg3); + } + + /** + * MEOS {@code floatspan_to_intspan} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Object-model role: {@code conversion}.

+ *

Classification: role=conversion

+ */ + public static jnr.ffi.Pointer floatspan_to_intspan(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "floatspan_to_intspan requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.floatspan_to_intspan(arg0); + } + + /** + * MEOS {@code floatspan_bins} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer floatspan_bins(jnr.ffi.Pointer arg0, double arg1, double arg2, jnr.ffi.Pointer arg3) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "floatspan_bins requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.floatspan_bins(arg0, arg1, arg2, arg3); + } + + /** + * MEOS {@code floatspan_ceil} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer floatspan_ceil(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "floatspan_ceil requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.floatspan_ceil(arg0); + } + + /** + * MEOS {@code floatspan_degrees} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer floatspan_degrees(jnr.ffi.Pointer arg0, boolean arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "floatspan_degrees requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.floatspan_degrees(arg0, arg1); + } + + /** + * MEOS {@code floatspan_expand} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer floatspan_expand(jnr.ffi.Pointer arg0, double arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "floatspan_expand requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.floatspan_expand(arg0, arg1); + } + + /** + * MEOS {@code floatspan_floor} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer floatspan_floor(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "floatspan_floor requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.floatspan_floor(arg0); + } + + /** + * MEOS {@code floatspan_lower} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static double floatspan_lower(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "floatspan_lower requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.floatspan_lower(arg0); + } + + /** + * MEOS {@code floatspan_radians} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer floatspan_radians(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "floatspan_radians requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.floatspan_radians(arg0); + } + + /** + * MEOS {@code floatspan_round} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer floatspan_round(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "floatspan_round requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.floatspan_round(arg0, arg1); + } + + /** + * MEOS {@code floatspan_shift_scale} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer floatspan_shift_scale(jnr.ffi.Pointer arg0, double arg1, double arg2, boolean arg3, boolean arg4) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "floatspan_shift_scale requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.floatspan_shift_scale(arg0, arg1, arg2, arg3, arg4); + } + + /** + * MEOS {@code floatspan_upper} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static double floatspan_upper(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "floatspan_upper requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.floatspan_upper(arg0); + } + + /** + * MEOS {@code floatspan_width} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static double floatspan_width(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "floatspan_width requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.floatspan_width(arg0); + } + + /** + * MEOS {@code floatspan_in} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Object-model role: {@code constructor}.

+ *

Classification: IO/serialization

+ */ + public static jnr.ffi.Pointer floatspan_in(java.lang.String arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "floatspan_in requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.floatspan_in(arg0); + } + + /** + * MEOS {@code floatspan_out} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Object-model role: {@code output}.

+ *

Classification: IO/serialization

+ */ + public static java.lang.String floatspan_out(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "floatspan_out requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.floatspan_out(arg0, arg1); + } + +} diff --git a/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsFloatSpanSet.java b/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsFloatSpanSet.java new file mode 100644 index 00000000..29091cf7 --- /dev/null +++ b/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsFloatSpanSet.java @@ -0,0 +1,225 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2020-2026, Université libre de Bruxelles and MobilityDB + * contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +package org.mobilitydb.meos; + +/* AUTO-GENERATED by codegen_flink_v3.py — do not edit by hand. + * MEOS object-model class: FloatSpanSet + * Methods emitted: 13 (bounded-state=10 · io-meta=2 · stateless=1) + * Source: JMEOS jar (PR #15 / regen-against-meos-1.4) ∩ streaming-relevance baseline v4. + */ + +import functions.GeneratedFunctions; +import jnr.ffi.Pointer; + +public final class MeosOpsFloatSpanSet { + + public static final boolean MEOS_AVAILABLE = MeosOpsRuntime.MEOS_AVAILABLE; + + private MeosOpsFloatSpanSet() { /* utility */ } + + /** + * MEOS {@code floatspanset_to_intspanset} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Object-model role: {@code conversion}.

+ *

Classification: role=conversion

+ */ + public static jnr.ffi.Pointer floatspanset_to_intspanset(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "floatspanset_to_intspanset requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.floatspanset_to_intspanset(arg0); + } + + /** + * MEOS {@code floatspanset_bins} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer floatspanset_bins(jnr.ffi.Pointer arg0, double arg1, double arg2, jnr.ffi.Pointer arg3) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "floatspanset_bins requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.floatspanset_bins(arg0, arg1, arg2, arg3); + } + + /** + * MEOS {@code floatspanset_ceil} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer floatspanset_ceil(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "floatspanset_ceil requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.floatspanset_ceil(arg0); + } + + /** + * MEOS {@code floatspanset_degrees} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer floatspanset_degrees(jnr.ffi.Pointer arg0, boolean arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "floatspanset_degrees requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.floatspanset_degrees(arg0, arg1); + } + + /** + * MEOS {@code floatspanset_floor} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer floatspanset_floor(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "floatspanset_floor requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.floatspanset_floor(arg0); + } + + /** + * MEOS {@code floatspanset_lower} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static double floatspanset_lower(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "floatspanset_lower requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.floatspanset_lower(arg0); + } + + /** + * MEOS {@code floatspanset_radians} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer floatspanset_radians(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "floatspanset_radians requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.floatspanset_radians(arg0); + } + + /** + * MEOS {@code floatspanset_round} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer floatspanset_round(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "floatspanset_round requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.floatspanset_round(arg0, arg1); + } + + /** + * MEOS {@code floatspanset_shift_scale} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer floatspanset_shift_scale(jnr.ffi.Pointer arg0, double arg1, double arg2, boolean arg3, boolean arg4) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "floatspanset_shift_scale requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.floatspanset_shift_scale(arg0, arg1, arg2, arg3, arg4); + } + + /** + * MEOS {@code floatspanset_upper} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static double floatspanset_upper(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "floatspanset_upper requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.floatspanset_upper(arg0); + } + + /** + * MEOS {@code floatspanset_width} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static double floatspanset_width(jnr.ffi.Pointer arg0, boolean arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "floatspanset_width requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.floatspanset_width(arg0, arg1); + } + + /** + * MEOS {@code floatspanset_in} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Object-model role: {@code constructor}.

+ *

Classification: IO/serialization

+ */ + public static jnr.ffi.Pointer floatspanset_in(java.lang.String arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "floatspanset_in requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.floatspanset_in(arg0); + } + + /** + * MEOS {@code floatspanset_out} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Object-model role: {@code output}.

+ *

Classification: IO/serialization

+ */ + public static java.lang.String floatspanset_out(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "floatspanset_out requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.floatspanset_out(arg0, arg1); + } + +} diff --git a/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsFreeCbuffer.java b/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsFreeCbuffer.java new file mode 100644 index 00000000..f967f7e2 --- /dev/null +++ b/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsFreeCbuffer.java @@ -0,0 +1,1982 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2020-2026, Université libre de Bruxelles and MobilityDB + * contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +package org.mobilitydb.meos; + +/* AUTO-GENERATED by codegen_flink_free.py — do not edit by hand. + * Source header: meos_cbuffer.h + * Methods emitted: 149 (bounded-state=68 · stateless=43 · cross-stream=22 · io-meta=8 · windowed=8) + * Scope: MEOS public functions NOT classified into any object-model class + * (free functions, not methods on a class). + * Source: JMEOS PR #19 (functions.GeneratedFunctions) ∩ streaming-relevance baseline v4. + */ + +import functions.GeneratedFunctions; +import jnr.ffi.Pointer; + +public final class MeosOpsFreeCbuffer { + + public static final boolean MEOS_AVAILABLE = MeosOpsRuntime.MEOS_AVAILABLE; + + private MeosOpsFreeCbuffer() { /* utility */ } + + /** + * MEOS {@code cbuffer_cmp} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: scalar comparison/hash

+ */ + public static int cbuffer_cmp(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "cbuffer_cmp requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.cbuffer_cmp(arg0, arg1); + } + + /** + * MEOS {@code cbuffer_copy} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: base-type fn, default pure

+ */ + public static jnr.ffi.Pointer cbuffer_copy(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "cbuffer_copy requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.cbuffer_copy(arg0); + } + + /** + * MEOS {@code cbuffer_eq} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: scalar comparison/hash

+ */ + public static boolean cbuffer_eq(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "cbuffer_eq requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.cbuffer_eq(arg0, arg1); + } + + /** + * MEOS {@code cbuffer_ge} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: scalar comparison/hash

+ */ + public static boolean cbuffer_ge(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "cbuffer_ge requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.cbuffer_ge(arg0, arg1); + } + + /** + * MEOS {@code cbuffer_gt} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: scalar comparison/hash

+ */ + public static boolean cbuffer_gt(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "cbuffer_gt requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.cbuffer_gt(arg0, arg1); + } + + /** + * MEOS {@code cbuffer_hash} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: scalar comparison/hash

+ */ + public static int cbuffer_hash(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "cbuffer_hash requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.cbuffer_hash(arg0); + } + + /** + * MEOS {@code cbuffer_hash_extended} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: scalar comparison/hash

+ */ + public static long cbuffer_hash_extended(jnr.ffi.Pointer arg0, long arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "cbuffer_hash_extended requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.cbuffer_hash_extended(arg0, arg1); + } + + /** + * MEOS {@code cbuffer_le} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: scalar comparison/hash

+ */ + public static boolean cbuffer_le(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "cbuffer_le requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.cbuffer_le(arg0, arg1); + } + + /** + * MEOS {@code cbuffer_lt} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: scalar comparison/hash

+ */ + public static boolean cbuffer_lt(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "cbuffer_lt requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.cbuffer_lt(arg0, arg1); + } + + /** + * MEOS {@code cbuffer_make} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: make/from_base of instant/scalar

+ */ + public static jnr.ffi.Pointer cbuffer_make(jnr.ffi.Pointer arg0, double arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "cbuffer_make requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.cbuffer_make(arg0, arg1); + } + + /** + * MEOS {@code cbuffer_ne} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: scalar comparison/hash

+ */ + public static boolean cbuffer_ne(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "cbuffer_ne requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.cbuffer_ne(arg0, arg1); + } + + /** + * MEOS {@code cbuffer_nsame} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: base-type fn, default pure

+ */ + public static boolean cbuffer_nsame(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "cbuffer_nsame requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.cbuffer_nsame(arg0, arg1); + } + + /** + * MEOS {@code cbuffer_point} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: base-type fn, default pure

+ */ + public static jnr.ffi.Pointer cbuffer_point(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "cbuffer_point requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.cbuffer_point(arg0); + } + + /** + * MEOS {@code cbuffer_radius} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: base-type fn, default pure

+ */ + public static double cbuffer_radius(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "cbuffer_radius requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.cbuffer_radius(arg0); + } + + /** + * MEOS {@code cbuffer_round} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: transform/normalize (pure)

+ */ + public static jnr.ffi.Pointer cbuffer_round(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "cbuffer_round requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.cbuffer_round(arg0, arg1); + } + + /** + * MEOS {@code cbuffer_same} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: base-type fn, default pure

+ */ + public static boolean cbuffer_same(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "cbuffer_same requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.cbuffer_same(arg0, arg1); + } + + /** + * MEOS {@code cbuffer_set_srid} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: base-type fn, default pure

+ */ + public static void cbuffer_set_srid(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "cbuffer_set_srid requires libmeos — set -Dmeos.enabled=true"); + } + GeneratedFunctions.cbuffer_set_srid(arg0, arg1); + } + + /** + * MEOS {@code cbuffer_srid} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: base-type fn, default pure

+ */ + public static int cbuffer_srid(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "cbuffer_srid requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.cbuffer_srid(arg0); + } + + /** + * MEOS {@code cbuffer_timestamptz_to_stbox} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: name pattern is _to_

+ */ + public static jnr.ffi.Pointer cbuffer_timestamptz_to_stbox(jnr.ffi.Pointer arg0, java.time.OffsetDateTime arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "cbuffer_timestamptz_to_stbox requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.cbuffer_timestamptz_to_stbox(arg0, arg1); + } + + /** + * MEOS {@code cbuffer_to_geom} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: name pattern is _to_

+ */ + public static jnr.ffi.Pointer cbuffer_to_geom(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "cbuffer_to_geom requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.cbuffer_to_geom(arg0); + } + + /** + * MEOS {@code cbuffer_to_set} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: name pattern is _to_

+ */ + public static jnr.ffi.Pointer cbuffer_to_set(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "cbuffer_to_set requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.cbuffer_to_set(arg0); + } + + /** + * MEOS {@code cbuffer_to_stbox} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: name pattern is _to_

+ */ + public static jnr.ffi.Pointer cbuffer_to_stbox(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "cbuffer_to_stbox requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.cbuffer_to_stbox(arg0); + } + + /** + * MEOS {@code cbuffer_transform} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: base-type fn, default pure

+ */ + public static jnr.ffi.Pointer cbuffer_transform(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "cbuffer_transform requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.cbuffer_transform(arg0, arg1); + } + + /** + * MEOS {@code cbuffer_transform_pipeline} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: base-type fn, default pure

+ */ + public static jnr.ffi.Pointer cbuffer_transform_pipeline(jnr.ffi.Pointer arg0, java.lang.String arg1, int arg2, boolean arg3) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "cbuffer_transform_pipeline requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.cbuffer_transform_pipeline(arg0, arg1, arg2, arg3); + } + + /** + * MEOS {@code cbuffer_tstzspan_to_stbox} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: name pattern is _to_

+ */ + public static jnr.ffi.Pointer cbuffer_tstzspan_to_stbox(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "cbuffer_tstzspan_to_stbox requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.cbuffer_tstzspan_to_stbox(arg0, arg1); + } + + /** + * MEOS {@code cbuffer_union_transfn} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: base-type fn, default pure

+ */ + public static jnr.ffi.Pointer cbuffer_union_transfn(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "cbuffer_union_transfn requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.cbuffer_union_transfn(arg0, arg1); + } + + /** + * MEOS {@code cbufferarr_round} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: transform/normalize (pure)

+ */ + public static jnr.ffi.Pointer cbufferarr_round(jnr.ffi.Pointer arg0, int arg1, int arg2) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "cbufferarr_round requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.cbufferarr_round(arg0, arg1, arg2); + } + + /** + * MEOS {@code cbufferarr_to_geom} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: name pattern is _to_

+ */ + public static jnr.ffi.Pointer cbufferarr_to_geom(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "cbufferarr_to_geom requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.cbufferarr_to_geom(arg0, arg1); + } + + /** + * MEOS {@code contained_cbuffer_set} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: topology/position rel on 2 scalars (box/span algebra)

+ */ + public static boolean contained_cbuffer_set(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "contained_cbuffer_set requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.contained_cbuffer_set(arg0, arg1); + } + + /** + * MEOS {@code contains_cbuffer_cbuffer} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: topology/position rel on 2 scalars (box/span algebra)

+ */ + public static int contains_cbuffer_cbuffer(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "contains_cbuffer_cbuffer requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.contains_cbuffer_cbuffer(arg0, arg1); + } + + /** + * MEOS {@code contains_set_cbuffer} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean contains_set_cbuffer(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "contains_set_cbuffer requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.contains_set_cbuffer(arg0, arg1); + } + + /** + * MEOS {@code covers_cbuffer_cbuffer} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: scalar in/out (default-stateless catch-all)

+ */ + public static int covers_cbuffer_cbuffer(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "covers_cbuffer_cbuffer requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.covers_cbuffer_cbuffer(arg0, arg1); + } + + /** + * MEOS {@code disjoint_cbuffer_cbuffer} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: scalar in/out (default-stateless catch-all)

+ */ + public static int disjoint_cbuffer_cbuffer(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "disjoint_cbuffer_cbuffer requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.disjoint_cbuffer_cbuffer(arg0, arg1); + } + + /** + * MEOS {@code dwithin_cbuffer_cbuffer} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: scalar in/out (default-stateless catch-all)

+ */ + public static int dwithin_cbuffer_cbuffer(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1, double arg2) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "dwithin_cbuffer_cbuffer requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.dwithin_cbuffer_cbuffer(arg0, arg1, arg2); + } + + /** + * MEOS {@code geom_to_cbuffer} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: base-type fn, default pure

+ */ + public static jnr.ffi.Pointer geom_to_cbuffer(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "geom_to_cbuffer requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.geom_to_cbuffer(arg0); + } + + /** + * MEOS {@code intersection_set_cbuffer} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static jnr.ffi.Pointer intersection_set_cbuffer(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "intersection_set_cbuffer requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.intersection_set_cbuffer(arg0, arg1); + } + + /** + * MEOS {@code intersects_cbuffer_cbuffer} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: scalar in/out (default-stateless catch-all)

+ */ + public static int intersects_cbuffer_cbuffer(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "intersects_cbuffer_cbuffer requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.intersects_cbuffer_cbuffer(arg0, arg1); + } + + /** + * MEOS {@code teq_cbuffer_tcbuffer} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: temporal comparison (per-instant)

+ */ + public static jnr.ffi.Pointer teq_cbuffer_tcbuffer(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "teq_cbuffer_tcbuffer requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.teq_cbuffer_tcbuffer(arg0, arg1); + } + + /** + * MEOS {@code teq_tcbuffer_cbuffer} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: temporal comparison (per-instant)

+ */ + public static jnr.ffi.Pointer teq_tcbuffer_cbuffer(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "teq_tcbuffer_cbuffer requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.teq_tcbuffer_cbuffer(arg0, arg1); + } + + /** + * MEOS {@code tne_cbuffer_tcbuffer} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: temporal comparison (per-instant)

+ */ + public static jnr.ffi.Pointer tne_cbuffer_tcbuffer(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tne_cbuffer_tcbuffer requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tne_cbuffer_tcbuffer(arg0, arg1); + } + + /** + * MEOS {@code tne_tcbuffer_cbuffer} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: temporal comparison (per-instant)

+ */ + public static jnr.ffi.Pointer tne_tcbuffer_cbuffer(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tne_tcbuffer_cbuffer requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tne_tcbuffer_cbuffer(arg0, arg1); + } + + /** + * MEOS {@code touches_cbuffer_cbuffer} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: scalar in/out (default-stateless catch-all)

+ */ + public static int touches_cbuffer_cbuffer(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "touches_cbuffer_cbuffer requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.touches_cbuffer_cbuffer(arg0, arg1); + } + + /** + * MEOS {@code union_set_cbuffer} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static jnr.ffi.Pointer union_set_cbuffer(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "union_set_cbuffer requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.union_set_cbuffer(arg0, arg1); + } + + /** + * MEOS {@code acontains_cbuffer_tcbuffer} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: ever/always spatial-rel on 1 temporal

+ */ + public static int acontains_cbuffer_tcbuffer(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "acontains_cbuffer_tcbuffer requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.acontains_cbuffer_tcbuffer(arg0, arg1); + } + + /** + * MEOS {@code acontains_geo_tcbuffer} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: ever/always spatial-rel on 1 temporal

+ */ + public static int acontains_geo_tcbuffer(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "acontains_geo_tcbuffer requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.acontains_geo_tcbuffer(arg0, arg1); + } + + /** + * MEOS {@code acontains_tcbuffer_cbuffer} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: ever/always spatial-rel on 1 temporal

+ */ + public static int acontains_tcbuffer_cbuffer(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "acontains_tcbuffer_cbuffer requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.acontains_tcbuffer_cbuffer(arg0, arg1); + } + + /** + * MEOS {@code acontains_tcbuffer_geo} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: ever/always spatial-rel on 1 temporal

+ */ + public static int acontains_tcbuffer_geo(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "acontains_tcbuffer_geo requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.acontains_tcbuffer_geo(arg0, arg1); + } + + /** + * MEOS {@code acovers_cbuffer_tcbuffer} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: ever/always spatial-rel on 1 temporal

+ */ + public static int acovers_cbuffer_tcbuffer(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "acovers_cbuffer_tcbuffer requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.acovers_cbuffer_tcbuffer(arg0, arg1); + } + + /** + * MEOS {@code acovers_geo_tcbuffer} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: ever/always spatial-rel on 1 temporal

+ */ + public static int acovers_geo_tcbuffer(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "acovers_geo_tcbuffer requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.acovers_geo_tcbuffer(arg0, arg1); + } + + /** + * MEOS {@code acovers_tcbuffer_cbuffer} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: ever/always spatial-rel on 1 temporal

+ */ + public static int acovers_tcbuffer_cbuffer(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "acovers_tcbuffer_cbuffer requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.acovers_tcbuffer_cbuffer(arg0, arg1); + } + + /** + * MEOS {@code acovers_tcbuffer_geo} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: ever/always spatial-rel on 1 temporal

+ */ + public static int acovers_tcbuffer_geo(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "acovers_tcbuffer_geo requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.acovers_tcbuffer_geo(arg0, arg1); + } + + /** + * MEOS {@code adisjoint_tcbuffer_cbuffer} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: ever/always spatial-rel on 1 temporal

+ */ + public static int adisjoint_tcbuffer_cbuffer(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "adisjoint_tcbuffer_cbuffer requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.adisjoint_tcbuffer_cbuffer(arg0, arg1); + } + + /** + * MEOS {@code adisjoint_tcbuffer_geo} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: ever/always spatial-rel on 1 temporal

+ */ + public static int adisjoint_tcbuffer_geo(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "adisjoint_tcbuffer_geo requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.adisjoint_tcbuffer_geo(arg0, arg1); + } + + /** + * MEOS {@code adwithin_tcbuffer_cbuffer} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: ever/always spatial-rel on 1 temporal

+ */ + public static int adwithin_tcbuffer_cbuffer(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1, double arg2) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "adwithin_tcbuffer_cbuffer requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.adwithin_tcbuffer_cbuffer(arg0, arg1, arg2); + } + + /** + * MEOS {@code adwithin_tcbuffer_geo} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: ever/always spatial-rel on 1 temporal

+ */ + public static int adwithin_tcbuffer_geo(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1, double arg2) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "adwithin_tcbuffer_geo requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.adwithin_tcbuffer_geo(arg0, arg1, arg2); + } + + /** + * MEOS {@code aintersects_tcbuffer_cbuffer} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: ever/always spatial-rel on 1 temporal

+ */ + public static int aintersects_tcbuffer_cbuffer(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "aintersects_tcbuffer_cbuffer requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.aintersects_tcbuffer_cbuffer(arg0, arg1); + } + + /** + * MEOS {@code aintersects_tcbuffer_geo} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: ever/always spatial-rel on 1 temporal

+ */ + public static int aintersects_tcbuffer_geo(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "aintersects_tcbuffer_geo requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.aintersects_tcbuffer_geo(arg0, arg1); + } + + /** + * MEOS {@code atouches_tcbuffer_cbuffer} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: ever/always spatial-rel on 1 temporal

+ */ + public static int atouches_tcbuffer_cbuffer(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "atouches_tcbuffer_cbuffer requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.atouches_tcbuffer_cbuffer(arg0, arg1); + } + + /** + * MEOS {@code atouches_tcbuffer_geo} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: ever/always spatial-rel on 1 temporal

+ */ + public static int atouches_tcbuffer_geo(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "atouches_tcbuffer_geo requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.atouches_tcbuffer_geo(arg0, arg1); + } + + /** + * MEOS {@code distance_cbuffer_cbuffer} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: distance op

+ */ + public static double distance_cbuffer_cbuffer(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "distance_cbuffer_cbuffer requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.distance_cbuffer_cbuffer(arg0, arg1); + } + + /** + * MEOS {@code distance_cbuffer_geo} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: distance op

+ */ + public static double distance_cbuffer_geo(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "distance_cbuffer_geo requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.distance_cbuffer_geo(arg0, arg1); + } + + /** + * MEOS {@code distance_cbuffer_stbox} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: distance op

+ */ + public static double distance_cbuffer_stbox(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "distance_cbuffer_stbox requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.distance_cbuffer_stbox(arg0, arg1); + } + + /** + * MEOS {@code econtains_cbuffer_tcbuffer} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: ever/always spatial-rel on 1 temporal

+ */ + public static int econtains_cbuffer_tcbuffer(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "econtains_cbuffer_tcbuffer requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.econtains_cbuffer_tcbuffer(arg0, arg1); + } + + /** + * MEOS {@code econtains_tcbuffer_cbuffer} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: ever/always spatial-rel on 1 temporal

+ */ + public static int econtains_tcbuffer_cbuffer(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "econtains_tcbuffer_cbuffer requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.econtains_tcbuffer_cbuffer(arg0, arg1); + } + + /** + * MEOS {@code econtains_tcbuffer_geo} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: ever/always spatial-rel on 1 temporal

+ */ + public static int econtains_tcbuffer_geo(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "econtains_tcbuffer_geo requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.econtains_tcbuffer_geo(arg0, arg1); + } + + /** + * MEOS {@code ecovers_cbuffer_tcbuffer} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: ever/always spatial-rel on 1 temporal

+ */ + public static int ecovers_cbuffer_tcbuffer(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "ecovers_cbuffer_tcbuffer requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.ecovers_cbuffer_tcbuffer(arg0, arg1); + } + + /** + * MEOS {@code ecovers_tcbuffer_cbuffer} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: ever/always spatial-rel on 1 temporal

+ */ + public static int ecovers_tcbuffer_cbuffer(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "ecovers_tcbuffer_cbuffer requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.ecovers_tcbuffer_cbuffer(arg0, arg1); + } + + /** + * MEOS {@code ecovers_tcbuffer_geo} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: ever/always spatial-rel on 1 temporal

+ */ + public static int ecovers_tcbuffer_geo(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "ecovers_tcbuffer_geo requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.ecovers_tcbuffer_geo(arg0, arg1); + } + + /** + * MEOS {@code edisjoint_tcbuffer_cbuffer} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: ever/always spatial-rel on 1 temporal

+ */ + public static int edisjoint_tcbuffer_cbuffer(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "edisjoint_tcbuffer_cbuffer requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.edisjoint_tcbuffer_cbuffer(arg0, arg1); + } + + /** + * MEOS {@code edisjoint_tcbuffer_geo} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: ever/always spatial-rel on 1 temporal

+ */ + public static int edisjoint_tcbuffer_geo(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "edisjoint_tcbuffer_geo requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.edisjoint_tcbuffer_geo(arg0, arg1); + } + + /** + * MEOS {@code edwithin_tcbuffer_cbuffer} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: ever/always spatial-rel on 1 temporal

+ */ + public static int edwithin_tcbuffer_cbuffer(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1, double arg2) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "edwithin_tcbuffer_cbuffer requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.edwithin_tcbuffer_cbuffer(arg0, arg1, arg2); + } + + /** + * MEOS {@code edwithin_tcbuffer_geo} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: ever/always spatial-rel on 1 temporal

+ */ + public static int edwithin_tcbuffer_geo(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1, double arg2) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "edwithin_tcbuffer_geo requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.edwithin_tcbuffer_geo(arg0, arg1, arg2); + } + + /** + * MEOS {@code eintersects_tcbuffer_cbuffer} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: ever/always spatial-rel on 1 temporal

+ */ + public static int eintersects_tcbuffer_cbuffer(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "eintersects_tcbuffer_cbuffer requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.eintersects_tcbuffer_cbuffer(arg0, arg1); + } + + /** + * MEOS {@code eintersects_tcbuffer_geo} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: ever/always spatial-rel on 1 temporal

+ */ + public static int eintersects_tcbuffer_geo(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "eintersects_tcbuffer_geo requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.eintersects_tcbuffer_geo(arg0, arg1); + } + + /** + * MEOS {@code etouches_tcbuffer_cbuffer} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: ever/always spatial-rel on 1 temporal

+ */ + public static int etouches_tcbuffer_cbuffer(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "etouches_tcbuffer_cbuffer requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.etouches_tcbuffer_cbuffer(arg0, arg1); + } + + /** + * MEOS {@code etouches_tcbuffer_geo} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: ever/always spatial-rel on 1 temporal

+ */ + public static int etouches_tcbuffer_geo(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "etouches_tcbuffer_geo requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.etouches_tcbuffer_geo(arg0, arg1); + } + + /** + * MEOS {@code minus_cbuffer_set} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: restriction name pattern

+ */ + public static jnr.ffi.Pointer minus_cbuffer_set(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "minus_cbuffer_set requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.minus_cbuffer_set(arg0, arg1); + } + + /** + * MEOS {@code minus_set_cbuffer} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: restriction name pattern

+ */ + public static jnr.ffi.Pointer minus_set_cbuffer(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "minus_set_cbuffer requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.minus_set_cbuffer(arg0, arg1); + } + + /** + * MEOS {@code nad_cbuffer_stbox} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: distance op

+ */ + public static double nad_cbuffer_stbox(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "nad_cbuffer_stbox requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.nad_cbuffer_stbox(arg0, arg1); + } + + /** + * MEOS {@code nad_tcbuffer_cbuffer} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: distance op

+ */ + public static double nad_tcbuffer_cbuffer(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "nad_tcbuffer_cbuffer requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.nad_tcbuffer_cbuffer(arg0, arg1); + } + + /** + * MEOS {@code nad_tcbuffer_geo} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: distance op

+ */ + public static double nad_tcbuffer_geo(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "nad_tcbuffer_geo requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.nad_tcbuffer_geo(arg0, arg1); + } + + /** + * MEOS {@code nad_tcbuffer_stbox} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: distance op

+ */ + public static double nad_tcbuffer_stbox(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "nad_tcbuffer_stbox requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.nad_tcbuffer_stbox(arg0, arg1); + } + + /** + * MEOS {@code nai_tcbuffer_cbuffer} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: distance op

+ */ + public static jnr.ffi.Pointer nai_tcbuffer_cbuffer(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "nai_tcbuffer_cbuffer requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.nai_tcbuffer_cbuffer(arg0, arg1); + } + + /** + * MEOS {@code nai_tcbuffer_geo} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: distance op

+ */ + public static jnr.ffi.Pointer nai_tcbuffer_geo(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "nai_tcbuffer_geo requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.nai_tcbuffer_geo(arg0, arg1); + } + + /** + * MEOS {@code shortestline_tcbuffer_cbuffer} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: distance op

+ */ + public static jnr.ffi.Pointer shortestline_tcbuffer_cbuffer(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "shortestline_tcbuffer_cbuffer requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.shortestline_tcbuffer_cbuffer(arg0, arg1); + } + + /** + * MEOS {@code shortestline_tcbuffer_geo} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: distance op

+ */ + public static jnr.ffi.Pointer shortestline_tcbuffer_geo(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "shortestline_tcbuffer_geo requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.shortestline_tcbuffer_geo(arg0, arg1); + } + + /** + * MEOS {@code tcontains_cbuffer_tcbuffer} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: temporal spatial-rel lift on 1 temporal

+ */ + public static jnr.ffi.Pointer tcontains_cbuffer_tcbuffer(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tcontains_cbuffer_tcbuffer requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tcontains_cbuffer_tcbuffer(arg0, arg1); + } + + /** + * MEOS {@code tcontains_geo_tcbuffer} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: temporal spatial-rel lift on 1 temporal

+ */ + public static jnr.ffi.Pointer tcontains_geo_tcbuffer(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tcontains_geo_tcbuffer requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tcontains_geo_tcbuffer(arg0, arg1); + } + + /** + * MEOS {@code tcontains_tcbuffer_cbuffer} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: temporal spatial-rel lift on 1 temporal

+ */ + public static jnr.ffi.Pointer tcontains_tcbuffer_cbuffer(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tcontains_tcbuffer_cbuffer requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tcontains_tcbuffer_cbuffer(arg0, arg1); + } + + /** + * MEOS {@code tcontains_tcbuffer_geo} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: temporal spatial-rel lift on 1 temporal

+ */ + public static jnr.ffi.Pointer tcontains_tcbuffer_geo(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tcontains_tcbuffer_geo requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tcontains_tcbuffer_geo(arg0, arg1); + } + + /** + * MEOS {@code tcovers_cbuffer_tcbuffer} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: temporal spatial-rel lift on 1 temporal

+ */ + public static jnr.ffi.Pointer tcovers_cbuffer_tcbuffer(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tcovers_cbuffer_tcbuffer requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tcovers_cbuffer_tcbuffer(arg0, arg1); + } + + /** + * MEOS {@code tcovers_geo_tcbuffer} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: temporal spatial-rel lift on 1 temporal

+ */ + public static jnr.ffi.Pointer tcovers_geo_tcbuffer(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tcovers_geo_tcbuffer requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tcovers_geo_tcbuffer(arg0, arg1); + } + + /** + * MEOS {@code tcovers_tcbuffer_cbuffer} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: temporal spatial-rel lift on 1 temporal

+ */ + public static jnr.ffi.Pointer tcovers_tcbuffer_cbuffer(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tcovers_tcbuffer_cbuffer requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tcovers_tcbuffer_cbuffer(arg0, arg1); + } + + /** + * MEOS {@code tcovers_tcbuffer_geo} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: temporal spatial-rel lift on 1 temporal

+ */ + public static jnr.ffi.Pointer tcovers_tcbuffer_geo(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tcovers_tcbuffer_geo requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tcovers_tcbuffer_geo(arg0, arg1); + } + + /** + * MEOS {@code tdisjoint_cbuffer_tcbuffer} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: temporal spatial-rel lift on 1 temporal

+ */ + public static jnr.ffi.Pointer tdisjoint_cbuffer_tcbuffer(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tdisjoint_cbuffer_tcbuffer requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tdisjoint_cbuffer_tcbuffer(arg0, arg1); + } + + /** + * MEOS {@code tdisjoint_geo_tcbuffer} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: temporal spatial-rel lift on 1 temporal

+ */ + public static jnr.ffi.Pointer tdisjoint_geo_tcbuffer(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tdisjoint_geo_tcbuffer requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tdisjoint_geo_tcbuffer(arg0, arg1); + } + + /** + * MEOS {@code tdisjoint_tcbuffer_cbuffer} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: temporal spatial-rel lift on 1 temporal

+ */ + public static jnr.ffi.Pointer tdisjoint_tcbuffer_cbuffer(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tdisjoint_tcbuffer_cbuffer requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tdisjoint_tcbuffer_cbuffer(arg0, arg1); + } + + /** + * MEOS {@code tdisjoint_tcbuffer_geo} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: temporal spatial-rel lift on 1 temporal

+ */ + public static jnr.ffi.Pointer tdisjoint_tcbuffer_geo(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tdisjoint_tcbuffer_geo requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tdisjoint_tcbuffer_geo(arg0, arg1); + } + + /** + * MEOS {@code tdistance_tcbuffer_cbuffer} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: distance op

+ */ + public static jnr.ffi.Pointer tdistance_tcbuffer_cbuffer(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tdistance_tcbuffer_cbuffer requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tdistance_tcbuffer_cbuffer(arg0, arg1); + } + + /** + * MEOS {@code tdistance_tcbuffer_geo} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: distance op

+ */ + public static jnr.ffi.Pointer tdistance_tcbuffer_geo(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tdistance_tcbuffer_geo requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tdistance_tcbuffer_geo(arg0, arg1); + } + + /** + * MEOS {@code tdwithin_geo_tcbuffer} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: temporal spatial-rel lift on 1 temporal

+ */ + public static jnr.ffi.Pointer tdwithin_geo_tcbuffer(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1, double arg2) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tdwithin_geo_tcbuffer requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tdwithin_geo_tcbuffer(arg0, arg1, arg2); + } + + /** + * MEOS {@code tdwithin_tcbuffer_cbuffer} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: temporal spatial-rel lift on 1 temporal

+ */ + public static jnr.ffi.Pointer tdwithin_tcbuffer_cbuffer(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1, double arg2) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tdwithin_tcbuffer_cbuffer requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tdwithin_tcbuffer_cbuffer(arg0, arg1, arg2); + } + + /** + * MEOS {@code tdwithin_tcbuffer_geo} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: temporal spatial-rel lift on 1 temporal

+ */ + public static jnr.ffi.Pointer tdwithin_tcbuffer_geo(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1, double arg2) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tdwithin_tcbuffer_geo requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tdwithin_tcbuffer_geo(arg0, arg1, arg2); + } + + /** + * MEOS {@code tintersects_cbuffer_tcbuffer} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: temporal spatial-rel lift on 1 temporal

+ */ + public static jnr.ffi.Pointer tintersects_cbuffer_tcbuffer(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tintersects_cbuffer_tcbuffer requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tintersects_cbuffer_tcbuffer(arg0, arg1); + } + + /** + * MEOS {@code tintersects_geo_tcbuffer} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: temporal spatial-rel lift on 1 temporal

+ */ + public static jnr.ffi.Pointer tintersects_geo_tcbuffer(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tintersects_geo_tcbuffer requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tintersects_geo_tcbuffer(arg0, arg1); + } + + /** + * MEOS {@code tintersects_tcbuffer_cbuffer} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: temporal spatial-rel lift on 1 temporal

+ */ + public static jnr.ffi.Pointer tintersects_tcbuffer_cbuffer(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tintersects_tcbuffer_cbuffer requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tintersects_tcbuffer_cbuffer(arg0, arg1); + } + + /** + * MEOS {@code tintersects_tcbuffer_geo} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: temporal spatial-rel lift on 1 temporal

+ */ + public static jnr.ffi.Pointer tintersects_tcbuffer_geo(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tintersects_tcbuffer_geo requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tintersects_tcbuffer_geo(arg0, arg1); + } + + /** + * MEOS {@code ttouches_cbuffer_tcbuffer} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: temporal spatial-rel lift on 1 temporal

+ */ + public static jnr.ffi.Pointer ttouches_cbuffer_tcbuffer(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "ttouches_cbuffer_tcbuffer requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.ttouches_cbuffer_tcbuffer(arg0, arg1); + } + + /** + * MEOS {@code ttouches_geo_tcbuffer} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: temporal spatial-rel lift on 1 temporal

+ */ + public static jnr.ffi.Pointer ttouches_geo_tcbuffer(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "ttouches_geo_tcbuffer requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.ttouches_geo_tcbuffer(arg0, arg1); + } + + /** + * MEOS {@code ttouches_tcbuffer_cbuffer} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: temporal spatial-rel lift on 1 temporal

+ */ + public static jnr.ffi.Pointer ttouches_tcbuffer_cbuffer(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "ttouches_tcbuffer_cbuffer requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.ttouches_tcbuffer_cbuffer(arg0, arg1); + } + + /** + * MEOS {@code ttouches_tcbuffer_geo} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: temporal spatial-rel lift on 1 temporal

+ */ + public static jnr.ffi.Pointer ttouches_tcbuffer_geo(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "ttouches_tcbuffer_geo requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.ttouches_tcbuffer_geo(arg0, arg1); + } + + /** + * MEOS {@code always_eq_cbuffer_tcbuffer} — tier windowed. + *

Requires window operator — caller wraps in AggregateFunction.

+ *

Free function (not class-classified). Classification rule: ever/always over 1 temporal

+ */ + public static int always_eq_cbuffer_tcbuffer(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "always_eq_cbuffer_tcbuffer requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.always_eq_cbuffer_tcbuffer(arg0, arg1); + } + + /** + * MEOS {@code always_eq_tcbuffer_cbuffer} — tier windowed. + *

Requires window operator — caller wraps in AggregateFunction.

+ *

Free function (not class-classified). Classification rule: ever/always over 1 temporal

+ */ + public static int always_eq_tcbuffer_cbuffer(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "always_eq_tcbuffer_cbuffer requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.always_eq_tcbuffer_cbuffer(arg0, arg1); + } + + /** + * MEOS {@code always_ne_cbuffer_tcbuffer} — tier windowed. + *

Requires window operator — caller wraps in AggregateFunction.

+ *

Free function (not class-classified). Classification rule: ever/always over 1 temporal

+ */ + public static int always_ne_cbuffer_tcbuffer(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "always_ne_cbuffer_tcbuffer requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.always_ne_cbuffer_tcbuffer(arg0, arg1); + } + + /** + * MEOS {@code always_ne_tcbuffer_cbuffer} — tier windowed. + *

Requires window operator — caller wraps in AggregateFunction.

+ *

Free function (not class-classified). Classification rule: ever/always over 1 temporal

+ */ + public static int always_ne_tcbuffer_cbuffer(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "always_ne_tcbuffer_cbuffer requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.always_ne_tcbuffer_cbuffer(arg0, arg1); + } + + /** + * MEOS {@code ever_eq_cbuffer_tcbuffer} — tier windowed. + *

Requires window operator — caller wraps in AggregateFunction.

+ *

Free function (not class-classified). Classification rule: ever/always over 1 temporal

+ */ + public static int ever_eq_cbuffer_tcbuffer(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "ever_eq_cbuffer_tcbuffer requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.ever_eq_cbuffer_tcbuffer(arg0, arg1); + } + + /** + * MEOS {@code ever_eq_tcbuffer_cbuffer} — tier windowed. + *

Requires window operator — caller wraps in AggregateFunction.

+ *

Free function (not class-classified). Classification rule: ever/always over 1 temporal

+ */ + public static int ever_eq_tcbuffer_cbuffer(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "ever_eq_tcbuffer_cbuffer requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.ever_eq_tcbuffer_cbuffer(arg0, arg1); + } + + /** + * MEOS {@code ever_ne_cbuffer_tcbuffer} — tier windowed. + *

Requires window operator — caller wraps in AggregateFunction.

+ *

Free function (not class-classified). Classification rule: ever/always over 1 temporal

+ */ + public static int ever_ne_cbuffer_tcbuffer(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "ever_ne_cbuffer_tcbuffer requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.ever_ne_cbuffer_tcbuffer(arg0, arg1); + } + + /** + * MEOS {@code ever_ne_tcbuffer_cbuffer} — tier windowed. + *

Requires window operator — caller wraps in AggregateFunction.

+ *

Free function (not class-classified). Classification rule: ever/always over 1 temporal

+ */ + public static int ever_ne_tcbuffer_cbuffer(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "ever_ne_tcbuffer_cbuffer requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.ever_ne_tcbuffer_cbuffer(arg0, arg1); + } + + /** + * MEOS {@code adisjoint_tcbuffer_tcbuffer} — tier cross-stream. + *

Pairwise across streams — caller wraps in a join.

+ *

Free function (not class-classified). Classification rule: ever/always spatial-rel on 2 temporals

+ */ + public static int adisjoint_tcbuffer_tcbuffer(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "adisjoint_tcbuffer_tcbuffer requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.adisjoint_tcbuffer_tcbuffer(arg0, arg1); + } + + /** + * MEOS {@code adwithin_tcbuffer_tcbuffer} — tier cross-stream. + *

Pairwise across streams — caller wraps in a join.

+ *

Free function (not class-classified). Classification rule: ever/always spatial-rel on 2 temporals

+ */ + public static int adwithin_tcbuffer_tcbuffer(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1, double arg2) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "adwithin_tcbuffer_tcbuffer requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.adwithin_tcbuffer_tcbuffer(arg0, arg1, arg2); + } + + /** + * MEOS {@code aintersects_tcbuffer_tcbuffer} — tier cross-stream. + *

Pairwise across streams — caller wraps in a join.

+ *

Free function (not class-classified). Classification rule: ever/always spatial-rel on 2 temporals

+ */ + public static int aintersects_tcbuffer_tcbuffer(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "aintersects_tcbuffer_tcbuffer requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.aintersects_tcbuffer_tcbuffer(arg0, arg1); + } + + /** + * MEOS {@code always_eq_tcbuffer_tcbuffer} — tier cross-stream. + *

Pairwise across streams — caller wraps in a join.

+ *

Free function (not class-classified). Classification rule: ever/always over 2 temporals

+ */ + public static int always_eq_tcbuffer_tcbuffer(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "always_eq_tcbuffer_tcbuffer requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.always_eq_tcbuffer_tcbuffer(arg0, arg1); + } + + /** + * MEOS {@code always_ne_tcbuffer_tcbuffer} — tier cross-stream. + *

Pairwise across streams — caller wraps in a join.

+ *

Free function (not class-classified). Classification rule: ever/always over 2 temporals

+ */ + public static int always_ne_tcbuffer_tcbuffer(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "always_ne_tcbuffer_tcbuffer requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.always_ne_tcbuffer_tcbuffer(arg0, arg1); + } + + /** + * MEOS {@code atouches_tcbuffer_tcbuffer} — tier cross-stream. + *

Pairwise across streams — caller wraps in a join.

+ *

Free function (not class-classified). Classification rule: ever/always spatial-rel on 2 temporals

+ */ + public static int atouches_tcbuffer_tcbuffer(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "atouches_tcbuffer_tcbuffer requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.atouches_tcbuffer_tcbuffer(arg0, arg1); + } + + /** + * MEOS {@code ecovers_tcbuffer_tcbuffer} — tier cross-stream. + *

Pairwise across streams — caller wraps in a join.

+ *

Free function (not class-classified). Classification rule: ever/always spatial-rel on 2 temporals

+ */ + public static int ecovers_tcbuffer_tcbuffer(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "ecovers_tcbuffer_tcbuffer requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.ecovers_tcbuffer_tcbuffer(arg0, arg1); + } + + /** + * MEOS {@code edwithin_tcbuffer_tcbuffer} — tier cross-stream. + *

Pairwise across streams — caller wraps in a join.

+ *

Free function (not class-classified). Classification rule: ever/always spatial-rel on 2 temporals

+ */ + public static int edwithin_tcbuffer_tcbuffer(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1, double arg2) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "edwithin_tcbuffer_tcbuffer requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.edwithin_tcbuffer_tcbuffer(arg0, arg1, arg2); + } + + /** + * MEOS {@code eintersects_tcbuffer_tcbuffer} — tier cross-stream. + *

Pairwise across streams — caller wraps in a join.

+ *

Free function (not class-classified). Classification rule: ever/always spatial-rel on 2 temporals

+ */ + public static int eintersects_tcbuffer_tcbuffer(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "eintersects_tcbuffer_tcbuffer requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.eintersects_tcbuffer_tcbuffer(arg0, arg1); + } + + /** + * MEOS {@code etouches_tcbuffer_tcbuffer} — tier cross-stream. + *

Pairwise across streams — caller wraps in a join.

+ *

Free function (not class-classified). Classification rule: ever/always spatial-rel on 2 temporals

+ */ + public static int etouches_tcbuffer_tcbuffer(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "etouches_tcbuffer_tcbuffer requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.etouches_tcbuffer_tcbuffer(arg0, arg1); + } + + /** + * MEOS {@code ever_eq_tcbuffer_tcbuffer} — tier cross-stream. + *

Pairwise across streams — caller wraps in a join.

+ *

Free function (not class-classified). Classification rule: ever/always over 2 temporals

+ */ + public static int ever_eq_tcbuffer_tcbuffer(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "ever_eq_tcbuffer_tcbuffer requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.ever_eq_tcbuffer_tcbuffer(arg0, arg1); + } + + /** + * MEOS {@code ever_ne_tcbuffer_tcbuffer} — tier cross-stream. + *

Pairwise across streams — caller wraps in a join.

+ *

Free function (not class-classified). Classification rule: ever/always over 2 temporals

+ */ + public static int ever_ne_tcbuffer_tcbuffer(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "ever_ne_tcbuffer_tcbuffer requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.ever_ne_tcbuffer_tcbuffer(arg0, arg1); + } + + /** + * MEOS {@code nad_tcbuffer_tcbuffer} — tier cross-stream. + *

Pairwise across streams — caller wraps in a join.

+ *

Free function (not class-classified). Classification rule: distance on 2 temporals

+ */ + public static double nad_tcbuffer_tcbuffer(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "nad_tcbuffer_tcbuffer requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.nad_tcbuffer_tcbuffer(arg0, arg1); + } + + /** + * MEOS {@code nai_tcbuffer_tcbuffer} — tier cross-stream. + *

Pairwise across streams — caller wraps in a join.

+ *

Free function (not class-classified). Classification rule: distance on 2 temporals

+ */ + public static jnr.ffi.Pointer nai_tcbuffer_tcbuffer(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "nai_tcbuffer_tcbuffer requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.nai_tcbuffer_tcbuffer(arg0, arg1); + } + + /** + * MEOS {@code shortestline_tcbuffer_tcbuffer} — tier cross-stream. + *

Pairwise across streams — caller wraps in a join.

+ *

Free function (not class-classified). Classification rule: distance on 2 temporals

+ */ + public static jnr.ffi.Pointer shortestline_tcbuffer_tcbuffer(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "shortestline_tcbuffer_tcbuffer requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.shortestline_tcbuffer_tcbuffer(arg0, arg1); + } + + /** + * MEOS {@code tcontains_tcbuffer_tcbuffer} — tier cross-stream. + *

Pairwise across streams — caller wraps in a join.

+ *

Free function (not class-classified). Classification rule: temporal spatial-rel lift on 2 temporals

+ */ + public static jnr.ffi.Pointer tcontains_tcbuffer_tcbuffer(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tcontains_tcbuffer_tcbuffer requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tcontains_tcbuffer_tcbuffer(arg0, arg1); + } + + /** + * MEOS {@code tcovers_tcbuffer_tcbuffer} — tier cross-stream. + *

Pairwise across streams — caller wraps in a join.

+ *

Free function (not class-classified). Classification rule: temporal spatial-rel lift on 2 temporals

+ */ + public static jnr.ffi.Pointer tcovers_tcbuffer_tcbuffer(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tcovers_tcbuffer_tcbuffer requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tcovers_tcbuffer_tcbuffer(arg0, arg1); + } + + /** + * MEOS {@code tdisjoint_tcbuffer_tcbuffer} — tier cross-stream. + *

Pairwise across streams — caller wraps in a join.

+ *

Free function (not class-classified). Classification rule: temporal spatial-rel lift on 2 temporals

+ */ + public static jnr.ffi.Pointer tdisjoint_tcbuffer_tcbuffer(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tdisjoint_tcbuffer_tcbuffer requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tdisjoint_tcbuffer_tcbuffer(arg0, arg1); + } + + /** + * MEOS {@code tdistance_tcbuffer_tcbuffer} — tier cross-stream. + *

Pairwise across streams — caller wraps in a join.

+ *

Free function (not class-classified). Classification rule: distance on 2 temporals

+ */ + public static jnr.ffi.Pointer tdistance_tcbuffer_tcbuffer(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tdistance_tcbuffer_tcbuffer requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tdistance_tcbuffer_tcbuffer(arg0, arg1); + } + + /** + * MEOS {@code tdwithin_tcbuffer_tcbuffer} — tier cross-stream. + *

Pairwise across streams — caller wraps in a join.

+ *

Free function (not class-classified). Classification rule: temporal spatial-rel lift on 2 temporals

+ */ + public static jnr.ffi.Pointer tdwithin_tcbuffer_tcbuffer(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1, double arg2) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tdwithin_tcbuffer_tcbuffer requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tdwithin_tcbuffer_tcbuffer(arg0, arg1, arg2); + } + + /** + * MEOS {@code tintersects_tcbuffer_tcbuffer} — tier cross-stream. + *

Pairwise across streams — caller wraps in a join.

+ *

Free function (not class-classified). Classification rule: temporal spatial-rel lift on 2 temporals

+ */ + public static jnr.ffi.Pointer tintersects_tcbuffer_tcbuffer(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tintersects_tcbuffer_tcbuffer requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tintersects_tcbuffer_tcbuffer(arg0, arg1); + } + + /** + * MEOS {@code ttouches_tcbuffer_tcbuffer} — tier cross-stream. + *

Pairwise across streams — caller wraps in a join.

+ *

Free function (not class-classified). Classification rule: temporal spatial-rel lift on 2 temporals

+ */ + public static jnr.ffi.Pointer ttouches_tcbuffer_tcbuffer(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "ttouches_tcbuffer_tcbuffer requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.ttouches_tcbuffer_tcbuffer(arg0, arg1); + } + + /** + * MEOS {@code cbuffer_as_ewkt} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Free function (not class-classified). Classification rule: IO/serialization

+ */ + public static java.lang.String cbuffer_as_ewkt(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "cbuffer_as_ewkt requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.cbuffer_as_ewkt(arg0, arg1); + } + + /** + * MEOS {@code cbuffer_as_hexwkb} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Free function (not class-classified). Classification rule: IO/serialization

+ */ + public static java.lang.String cbuffer_as_hexwkb(jnr.ffi.Pointer arg0, byte arg1, jnr.ffi.Pointer arg2) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "cbuffer_as_hexwkb requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.cbuffer_as_hexwkb(arg0, arg1, arg2); + } + + /** + * MEOS {@code cbuffer_as_text} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Free function (not class-classified). Classification rule: IO/serialization

+ */ + public static java.lang.String cbuffer_as_text(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "cbuffer_as_text requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.cbuffer_as_text(arg0, arg1); + } + + /** + * MEOS {@code cbuffer_as_wkb} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Free function (not class-classified). Classification rule: IO/serialization

+ */ + public static jnr.ffi.Pointer cbuffer_as_wkb(jnr.ffi.Pointer arg0, byte arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "cbuffer_as_wkb requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.cbuffer_as_wkb(arg0, arg1); + } + + /** + * MEOS {@code cbuffer_from_hexwkb} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Free function (not class-classified). Classification rule: IO/serialization

+ */ + public static jnr.ffi.Pointer cbuffer_from_hexwkb(java.lang.String arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "cbuffer_from_hexwkb requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.cbuffer_from_hexwkb(arg0); + } + + /** + * MEOS {@code cbuffer_from_wkb} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Free function (not class-classified). Classification rule: IO/serialization

+ */ + public static jnr.ffi.Pointer cbuffer_from_wkb(jnr.ffi.Pointer arg0, long arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "cbuffer_from_wkb requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.cbuffer_from_wkb(arg0, arg1); + } + + /** + * MEOS {@code cbuffer_in} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Free function (not class-classified). Classification rule: IO/serialization

+ */ + public static jnr.ffi.Pointer cbuffer_in(java.lang.String arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "cbuffer_in requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.cbuffer_in(arg0); + } + + /** + * MEOS {@code cbuffer_out} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Free function (not class-classified). Classification rule: IO/serialization

+ */ + public static java.lang.String cbuffer_out(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "cbuffer_out requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.cbuffer_out(arg0, arg1); + } + +} diff --git a/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsFreeCore.java b/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsFreeCore.java new file mode 100644 index 00000000..37df9a02 --- /dev/null +++ b/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsFreeCore.java @@ -0,0 +1,9744 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2020-2026, Université libre de Bruxelles and MobilityDB + * contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +package org.mobilitydb.meos; + +/* AUTO-GENERATED by codegen_flink_free.py — do not edit by hand. + * Source header: meos.h + * Methods emitted: 746 (stateless=448 · bounded-state=128 · windowed=80 · io-meta=53 · cross-stream=37) + * Scope: MEOS public functions NOT classified into any object-model class + * (free functions, not methods on a class). + * Source: JMEOS PR #19 (functions.GeneratedFunctions) ∩ streaming-relevance baseline v4. + */ + +import functions.GeneratedFunctions; +import functions.error_handler_fn; +import jnr.ffi.Pointer; + +public final class MeosOpsFreeCore { + + public static final boolean MEOS_AVAILABLE = MeosOpsRuntime.MEOS_AVAILABLE; + + private MeosOpsFreeCore() { /* utility */ } + + /** + * MEOS {@code add_date_int} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: scalar arithmetic

+ */ + public static int add_date_int(int arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "add_date_int requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.add_date_int(arg0, arg1); + } + + /** + * MEOS {@code add_float_tfloat} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: arithmetic op on temporal number (per-instant)

+ */ + public static jnr.ffi.Pointer add_float_tfloat(double arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "add_float_tfloat requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.add_float_tfloat(arg0, arg1); + } + + /** + * MEOS {@code add_int_tint} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: arithmetic op on temporal number (per-instant)

+ */ + public static jnr.ffi.Pointer add_int_tint(int arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "add_int_tint requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.add_int_tint(arg0, arg1); + } + + /** + * MEOS {@code add_interval_interval} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: arithmetic op on temporal number (per-instant)

+ */ + public static jnr.ffi.Pointer add_interval_interval(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "add_interval_interval requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.add_interval_interval(arg0, arg1); + } + + /** + * MEOS {@code add_tfloat_float} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: arithmetic op on temporal number (per-instant)

+ */ + public static jnr.ffi.Pointer add_tfloat_float(jnr.ffi.Pointer arg0, double arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "add_tfloat_float requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.add_tfloat_float(arg0, arg1); + } + + /** + * MEOS {@code add_timestamptz_interval} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: scalar arithmetic

+ */ + public static java.time.OffsetDateTime add_timestamptz_interval(java.time.OffsetDateTime arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "add_timestamptz_interval requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.add_timestamptz_interval(arg0, arg1); + } + + /** + * MEOS {@code add_tint_int} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: arithmetic op on temporal number (per-instant)

+ */ + public static jnr.ffi.Pointer add_tint_int(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "add_tint_int requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.add_tint_int(arg0, arg1); + } + + /** + * MEOS {@code add_tnumber_tnumber} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: arithmetic op on temporal number (per-instant)

+ */ + public static jnr.ffi.Pointer add_tnumber_tnumber(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "add_tnumber_tnumber requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.add_tnumber_tnumber(arg0, arg1); + } + + /** + * MEOS {@code adjacent_span_bigint} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean adjacent_span_bigint(jnr.ffi.Pointer arg0, long arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "adjacent_span_bigint requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.adjacent_span_bigint(arg0, arg1); + } + + /** + * MEOS {@code adjacent_span_date} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean adjacent_span_date(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "adjacent_span_date requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.adjacent_span_date(arg0, arg1); + } + + /** + * MEOS {@code adjacent_span_float} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean adjacent_span_float(jnr.ffi.Pointer arg0, double arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "adjacent_span_float requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.adjacent_span_float(arg0, arg1); + } + + /** + * MEOS {@code adjacent_span_int} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean adjacent_span_int(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "adjacent_span_int requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.adjacent_span_int(arg0, arg1); + } + + /** + * MEOS {@code adjacent_span_span} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean adjacent_span_span(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "adjacent_span_span requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.adjacent_span_span(arg0, arg1); + } + + /** + * MEOS {@code adjacent_span_spanset} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean adjacent_span_spanset(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "adjacent_span_spanset requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.adjacent_span_spanset(arg0, arg1); + } + + /** + * MEOS {@code adjacent_span_timestamptz} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean adjacent_span_timestamptz(jnr.ffi.Pointer arg0, java.time.OffsetDateTime arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "adjacent_span_timestamptz requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.adjacent_span_timestamptz(arg0, arg1); + } + + /** + * MEOS {@code adjacent_spanset_bigint} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean adjacent_spanset_bigint(jnr.ffi.Pointer arg0, long arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "adjacent_spanset_bigint requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.adjacent_spanset_bigint(arg0, arg1); + } + + /** + * MEOS {@code adjacent_spanset_date} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean adjacent_spanset_date(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "adjacent_spanset_date requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.adjacent_spanset_date(arg0, arg1); + } + + /** + * MEOS {@code adjacent_spanset_float} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean adjacent_spanset_float(jnr.ffi.Pointer arg0, double arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "adjacent_spanset_float requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.adjacent_spanset_float(arg0, arg1); + } + + /** + * MEOS {@code adjacent_spanset_int} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean adjacent_spanset_int(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "adjacent_spanset_int requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.adjacent_spanset_int(arg0, arg1); + } + + /** + * MEOS {@code adjacent_spanset_span} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean adjacent_spanset_span(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "adjacent_spanset_span requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.adjacent_spanset_span(arg0, arg1); + } + + /** + * MEOS {@code adjacent_spanset_spanset} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean adjacent_spanset_spanset(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "adjacent_spanset_spanset requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.adjacent_spanset_spanset(arg0, arg1); + } + + /** + * MEOS {@code adjacent_spanset_timestamptz} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean adjacent_spanset_timestamptz(jnr.ffi.Pointer arg0, java.time.OffsetDateTime arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "adjacent_spanset_timestamptz requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.adjacent_spanset_timestamptz(arg0, arg1); + } + + /** + * MEOS {@code adjacent_tbox_tbox} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean adjacent_tbox_tbox(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "adjacent_tbox_tbox requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.adjacent_tbox_tbox(arg0, arg1); + } + + /** + * MEOS {@code adjacent_tbox_tnumber} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean adjacent_tbox_tnumber(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "adjacent_tbox_tnumber requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.adjacent_tbox_tnumber(arg0, arg1); + } + + /** + * MEOS {@code after_date_set} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean after_date_set(int arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "after_date_set requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.after_date_set(arg0, arg1); + } + + /** + * MEOS {@code after_date_span} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean after_date_span(int arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "after_date_span requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.after_date_span(arg0, arg1); + } + + /** + * MEOS {@code after_date_spanset} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean after_date_spanset(int arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "after_date_spanset requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.after_date_spanset(arg0, arg1); + } + + /** + * MEOS {@code after_set_date} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean after_set_date(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "after_set_date requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.after_set_date(arg0, arg1); + } + + /** + * MEOS {@code after_set_timestamptz} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean after_set_timestamptz(jnr.ffi.Pointer arg0, java.time.OffsetDateTime arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "after_set_timestamptz requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.after_set_timestamptz(arg0, arg1); + } + + /** + * MEOS {@code after_span_date} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean after_span_date(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "after_span_date requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.after_span_date(arg0, arg1); + } + + /** + * MEOS {@code after_span_timestamptz} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean after_span_timestamptz(jnr.ffi.Pointer arg0, java.time.OffsetDateTime arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "after_span_timestamptz requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.after_span_timestamptz(arg0, arg1); + } + + /** + * MEOS {@code after_spanset_date} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean after_spanset_date(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "after_spanset_date requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.after_spanset_date(arg0, arg1); + } + + /** + * MEOS {@code after_spanset_timestamptz} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean after_spanset_timestamptz(jnr.ffi.Pointer arg0, java.time.OffsetDateTime arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "after_spanset_timestamptz requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.after_spanset_timestamptz(arg0, arg1); + } + + /** + * MEOS {@code after_tbox_tbox} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean after_tbox_tbox(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "after_tbox_tbox requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.after_tbox_tbox(arg0, arg1); + } + + /** + * MEOS {@code after_tbox_tnumber} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean after_tbox_tnumber(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "after_tbox_tnumber requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.after_tbox_tnumber(arg0, arg1); + } + + /** + * MEOS {@code after_timestamptz_set} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean after_timestamptz_set(java.time.OffsetDateTime arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "after_timestamptz_set requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.after_timestamptz_set(arg0, arg1); + } + + /** + * MEOS {@code after_timestamptz_span} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean after_timestamptz_span(java.time.OffsetDateTime arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "after_timestamptz_span requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.after_timestamptz_span(arg0, arg1); + } + + /** + * MEOS {@code after_timestamptz_spanset} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean after_timestamptz_spanset(java.time.OffsetDateTime arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "after_timestamptz_spanset requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.after_timestamptz_spanset(arg0, arg1); + } + + /** + * MEOS {@code before_date_set} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean before_date_set(int arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "before_date_set requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.before_date_set(arg0, arg1); + } + + /** + * MEOS {@code before_date_span} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean before_date_span(int arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "before_date_span requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.before_date_span(arg0, arg1); + } + + /** + * MEOS {@code before_date_spanset} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean before_date_spanset(int arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "before_date_spanset requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.before_date_spanset(arg0, arg1); + } + + /** + * MEOS {@code before_set_date} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean before_set_date(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "before_set_date requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.before_set_date(arg0, arg1); + } + + /** + * MEOS {@code before_set_timestamptz} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean before_set_timestamptz(jnr.ffi.Pointer arg0, java.time.OffsetDateTime arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "before_set_timestamptz requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.before_set_timestamptz(arg0, arg1); + } + + /** + * MEOS {@code before_span_date} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean before_span_date(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "before_span_date requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.before_span_date(arg0, arg1); + } + + /** + * MEOS {@code before_span_timestamptz} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean before_span_timestamptz(jnr.ffi.Pointer arg0, java.time.OffsetDateTime arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "before_span_timestamptz requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.before_span_timestamptz(arg0, arg1); + } + + /** + * MEOS {@code before_spanset_date} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean before_spanset_date(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "before_spanset_date requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.before_spanset_date(arg0, arg1); + } + + /** + * MEOS {@code before_spanset_timestamptz} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean before_spanset_timestamptz(jnr.ffi.Pointer arg0, java.time.OffsetDateTime arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "before_spanset_timestamptz requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.before_spanset_timestamptz(arg0, arg1); + } + + /** + * MEOS {@code before_tbox_tbox} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean before_tbox_tbox(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "before_tbox_tbox requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.before_tbox_tbox(arg0, arg1); + } + + /** + * MEOS {@code before_tbox_tnumber} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean before_tbox_tnumber(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "before_tbox_tnumber requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.before_tbox_tnumber(arg0, arg1); + } + + /** + * MEOS {@code before_timestamptz_set} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean before_timestamptz_set(java.time.OffsetDateTime arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "before_timestamptz_set requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.before_timestamptz_set(arg0, arg1); + } + + /** + * MEOS {@code before_timestamptz_span} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean before_timestamptz_span(java.time.OffsetDateTime arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "before_timestamptz_span requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.before_timestamptz_span(arg0, arg1); + } + + /** + * MEOS {@code before_timestamptz_spanset} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean before_timestamptz_spanset(java.time.OffsetDateTime arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "before_timestamptz_spanset requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.before_timestamptz_spanset(arg0, arg1); + } + + /** + * MEOS {@code bigint_extent_transfn} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: base-type fn, default pure

+ */ + public static jnr.ffi.Pointer bigint_extent_transfn(jnr.ffi.Pointer arg0, long arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "bigint_extent_transfn requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.bigint_extent_transfn(arg0, arg1); + } + + /** + * MEOS {@code bigint_get_bin} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: scalar comparison/hash

+ */ + public static long bigint_get_bin(long arg0, long arg1, long arg2) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "bigint_get_bin requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.bigint_get_bin(arg0, arg1, arg2); + } + + /** + * MEOS {@code bigint_to_set} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: name pattern is _to_

+ */ + public static jnr.ffi.Pointer bigint_to_set(long arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "bigint_to_set requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.bigint_to_set(arg0); + } + + /** + * MEOS {@code bigint_to_span} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: name pattern is _to_

+ */ + public static jnr.ffi.Pointer bigint_to_span(long arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "bigint_to_span requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.bigint_to_span(arg0); + } + + /** + * MEOS {@code bigint_to_spanset} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: base-type fn, default pure

+ */ + public static jnr.ffi.Pointer bigint_to_spanset(long arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "bigint_to_spanset requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.bigint_to_spanset(arg0); + } + + /** + * MEOS {@code bigint_union_transfn} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: base-type fn, default pure

+ */ + public static jnr.ffi.Pointer bigint_union_transfn(jnr.ffi.Pointer arg0, long arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "bigint_union_transfn requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.bigint_union_transfn(arg0, arg1); + } + + /** + * MEOS {@code contained_bigint_set} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean contained_bigint_set(long arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "contained_bigint_set requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.contained_bigint_set(arg0, arg1); + } + + /** + * MEOS {@code contained_bigint_span} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean contained_bigint_span(long arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "contained_bigint_span requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.contained_bigint_span(arg0, arg1); + } + + /** + * MEOS {@code contained_bigint_spanset} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean contained_bigint_spanset(long arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "contained_bigint_spanset requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.contained_bigint_spanset(arg0, arg1); + } + + /** + * MEOS {@code contained_date_set} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean contained_date_set(int arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "contained_date_set requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.contained_date_set(arg0, arg1); + } + + /** + * MEOS {@code contained_date_span} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean contained_date_span(int arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "contained_date_span requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.contained_date_span(arg0, arg1); + } + + /** + * MEOS {@code contained_date_spanset} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean contained_date_spanset(int arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "contained_date_spanset requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.contained_date_spanset(arg0, arg1); + } + + /** + * MEOS {@code contained_float_set} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean contained_float_set(double arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "contained_float_set requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.contained_float_set(arg0, arg1); + } + + /** + * MEOS {@code contained_float_span} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean contained_float_span(double arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "contained_float_span requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.contained_float_span(arg0, arg1); + } + + /** + * MEOS {@code contained_float_spanset} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean contained_float_spanset(double arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "contained_float_spanset requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.contained_float_spanset(arg0, arg1); + } + + /** + * MEOS {@code contained_int_set} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean contained_int_set(int arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "contained_int_set requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.contained_int_set(arg0, arg1); + } + + /** + * MEOS {@code contained_int_span} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean contained_int_span(int arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "contained_int_span requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.contained_int_span(arg0, arg1); + } + + /** + * MEOS {@code contained_int_spanset} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean contained_int_spanset(int arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "contained_int_spanset requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.contained_int_spanset(arg0, arg1); + } + + /** + * MEOS {@code contained_set_set} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean contained_set_set(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "contained_set_set requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.contained_set_set(arg0, arg1); + } + + /** + * MEOS {@code contained_span_span} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean contained_span_span(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "contained_span_span requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.contained_span_span(arg0, arg1); + } + + /** + * MEOS {@code contained_span_spanset} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean contained_span_spanset(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "contained_span_spanset requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.contained_span_spanset(arg0, arg1); + } + + /** + * MEOS {@code contained_spanset_span} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean contained_spanset_span(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "contained_spanset_span requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.contained_spanset_span(arg0, arg1); + } + + /** + * MEOS {@code contained_spanset_spanset} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean contained_spanset_spanset(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "contained_spanset_spanset requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.contained_spanset_spanset(arg0, arg1); + } + + /** + * MEOS {@code contained_tbox_tbox} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean contained_tbox_tbox(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "contained_tbox_tbox requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.contained_tbox_tbox(arg0, arg1); + } + + /** + * MEOS {@code contained_tbox_tnumber} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean contained_tbox_tnumber(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "contained_tbox_tnumber requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.contained_tbox_tnumber(arg0, arg1); + } + + /** + * MEOS {@code contained_text_set} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean contained_text_set(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "contained_text_set requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.contained_text_set(arg0, arg1); + } + + /** + * MEOS {@code contained_timestamptz_set} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean contained_timestamptz_set(java.time.OffsetDateTime arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "contained_timestamptz_set requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.contained_timestamptz_set(arg0, arg1); + } + + /** + * MEOS {@code contained_timestamptz_span} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean contained_timestamptz_span(java.time.OffsetDateTime arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "contained_timestamptz_span requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.contained_timestamptz_span(arg0, arg1); + } + + /** + * MEOS {@code contained_timestamptz_spanset} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean contained_timestamptz_spanset(java.time.OffsetDateTime arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "contained_timestamptz_spanset requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.contained_timestamptz_spanset(arg0, arg1); + } + + /** + * MEOS {@code contains_set_bigint} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean contains_set_bigint(jnr.ffi.Pointer arg0, long arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "contains_set_bigint requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.contains_set_bigint(arg0, arg1); + } + + /** + * MEOS {@code contains_set_date} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean contains_set_date(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "contains_set_date requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.contains_set_date(arg0, arg1); + } + + /** + * MEOS {@code contains_set_float} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean contains_set_float(jnr.ffi.Pointer arg0, double arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "contains_set_float requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.contains_set_float(arg0, arg1); + } + + /** + * MEOS {@code contains_set_int} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean contains_set_int(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "contains_set_int requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.contains_set_int(arg0, arg1); + } + + /** + * MEOS {@code contains_set_set} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean contains_set_set(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "contains_set_set requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.contains_set_set(arg0, arg1); + } + + /** + * MEOS {@code contains_set_text} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean contains_set_text(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "contains_set_text requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.contains_set_text(arg0, arg1); + } + + /** + * MEOS {@code contains_set_timestamptz} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean contains_set_timestamptz(jnr.ffi.Pointer arg0, java.time.OffsetDateTime arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "contains_set_timestamptz requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.contains_set_timestamptz(arg0, arg1); + } + + /** + * MEOS {@code contains_span_bigint} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean contains_span_bigint(jnr.ffi.Pointer arg0, long arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "contains_span_bigint requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.contains_span_bigint(arg0, arg1); + } + + /** + * MEOS {@code contains_span_date} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean contains_span_date(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "contains_span_date requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.contains_span_date(arg0, arg1); + } + + /** + * MEOS {@code contains_span_float} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean contains_span_float(jnr.ffi.Pointer arg0, double arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "contains_span_float requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.contains_span_float(arg0, arg1); + } + + /** + * MEOS {@code contains_span_int} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean contains_span_int(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "contains_span_int requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.contains_span_int(arg0, arg1); + } + + /** + * MEOS {@code contains_span_span} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean contains_span_span(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "contains_span_span requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.contains_span_span(arg0, arg1); + } + + /** + * MEOS {@code contains_span_spanset} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean contains_span_spanset(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "contains_span_spanset requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.contains_span_spanset(arg0, arg1); + } + + /** + * MEOS {@code contains_span_timestamptz} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean contains_span_timestamptz(jnr.ffi.Pointer arg0, java.time.OffsetDateTime arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "contains_span_timestamptz requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.contains_span_timestamptz(arg0, arg1); + } + + /** + * MEOS {@code contains_spanset_bigint} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean contains_spanset_bigint(jnr.ffi.Pointer arg0, long arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "contains_spanset_bigint requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.contains_spanset_bigint(arg0, arg1); + } + + /** + * MEOS {@code contains_spanset_date} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean contains_spanset_date(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "contains_spanset_date requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.contains_spanset_date(arg0, arg1); + } + + /** + * MEOS {@code contains_spanset_float} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean contains_spanset_float(jnr.ffi.Pointer arg0, double arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "contains_spanset_float requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.contains_spanset_float(arg0, arg1); + } + + /** + * MEOS {@code contains_spanset_int} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean contains_spanset_int(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "contains_spanset_int requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.contains_spanset_int(arg0, arg1); + } + + /** + * MEOS {@code contains_spanset_span} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean contains_spanset_span(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "contains_spanset_span requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.contains_spanset_span(arg0, arg1); + } + + /** + * MEOS {@code contains_spanset_spanset} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean contains_spanset_spanset(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "contains_spanset_spanset requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.contains_spanset_spanset(arg0, arg1); + } + + /** + * MEOS {@code contains_spanset_timestamptz} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean contains_spanset_timestamptz(jnr.ffi.Pointer arg0, java.time.OffsetDateTime arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "contains_spanset_timestamptz requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.contains_spanset_timestamptz(arg0, arg1); + } + + /** + * MEOS {@code contains_tbox_tbox} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean contains_tbox_tbox(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "contains_tbox_tbox requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.contains_tbox_tbox(arg0, arg1); + } + + /** + * MEOS {@code contains_tbox_tnumber} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean contains_tbox_tnumber(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "contains_tbox_tnumber requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.contains_tbox_tnumber(arg0, arg1); + } + + /** + * MEOS {@code date_extent_transfn} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: base-type fn, default pure

+ */ + public static jnr.ffi.Pointer date_extent_transfn(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "date_extent_transfn requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.date_extent_transfn(arg0, arg1); + } + + /** + * MEOS {@code date_get_bin} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: scalar comparison/hash

+ */ + public static int date_get_bin(int arg0, jnr.ffi.Pointer arg1, int arg2) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "date_get_bin requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.date_get_bin(arg0, arg1, arg2); + } + + /** + * MEOS {@code date_to_set} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: name pattern is _to_

+ */ + public static jnr.ffi.Pointer date_to_set(int arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "date_to_set requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.date_to_set(arg0); + } + + /** + * MEOS {@code date_to_span} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: name pattern is _to_

+ */ + public static jnr.ffi.Pointer date_to_span(int arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "date_to_span requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.date_to_span(arg0); + } + + /** + * MEOS {@code date_to_spanset} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: base-type fn, default pure

+ */ + public static jnr.ffi.Pointer date_to_spanset(int arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "date_to_spanset requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.date_to_spanset(arg0); + } + + /** + * MEOS {@code date_to_timestamp} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: base-type fn, default pure

+ */ + public static java.time.LocalDateTime date_to_timestamp(int arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "date_to_timestamp requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.date_to_timestamp(arg0); + } + + /** + * MEOS {@code date_to_timestamptz} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: name pattern is _to_

+ */ + public static java.time.OffsetDateTime date_to_timestamptz(int arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "date_to_timestamptz requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.date_to_timestamptz(arg0); + } + + /** + * MEOS {@code date_union_transfn} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: base-type fn, default pure

+ */ + public static jnr.ffi.Pointer date_union_transfn(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "date_union_transfn requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.date_union_transfn(arg0, arg1); + } + + /** + * MEOS {@code div_float_tfloat} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: arithmetic op on temporal number (per-instant)

+ */ + public static jnr.ffi.Pointer div_float_tfloat(double arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "div_float_tfloat requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.div_float_tfloat(arg0, arg1); + } + + /** + * MEOS {@code div_int_tint} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: arithmetic op on temporal number (per-instant)

+ */ + public static jnr.ffi.Pointer div_int_tint(int arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "div_int_tint requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.div_int_tint(arg0, arg1); + } + + /** + * MEOS {@code div_tfloat_float} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: arithmetic op on temporal number (per-instant)

+ */ + public static jnr.ffi.Pointer div_tfloat_float(jnr.ffi.Pointer arg0, double arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "div_tfloat_float requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.div_tfloat_float(arg0, arg1); + } + + /** + * MEOS {@code div_tint_int} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: arithmetic op on temporal number (per-instant)

+ */ + public static jnr.ffi.Pointer div_tint_int(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "div_tint_int requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.div_tint_int(arg0, arg1); + } + + /** + * MEOS {@code div_tnumber_tnumber} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: arithmetic op on temporal number (per-instant)

+ */ + public static jnr.ffi.Pointer div_tnumber_tnumber(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "div_tnumber_tnumber requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.div_tnumber_tnumber(arg0, arg1); + } + + /** + * MEOS {@code float_angular_difference} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: base-type fn, default pure

+ */ + public static double float_angular_difference(double arg0, double arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "float_angular_difference requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.float_angular_difference(arg0, arg1); + } + + /** + * MEOS {@code float_degrees} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: base-type fn, default pure

+ */ + public static double float_degrees(double arg0, boolean arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "float_degrees requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.float_degrees(arg0, arg1); + } + + /** + * MEOS {@code float_exp} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: base-type fn, default pure

+ */ + public static double float_exp(double arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "float_exp requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.float_exp(arg0); + } + + /** + * MEOS {@code float_extent_transfn} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: base-type fn, default pure

+ */ + public static jnr.ffi.Pointer float_extent_transfn(jnr.ffi.Pointer arg0, double arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "float_extent_transfn requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.float_extent_transfn(arg0, arg1); + } + + /** + * MEOS {@code float_get_bin} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: scalar comparison/hash

+ */ + public static double float_get_bin(double arg0, double arg1, double arg2) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "float_get_bin requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.float_get_bin(arg0, arg1, arg2); + } + + /** + * MEOS {@code float_ln} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: base-type fn, default pure

+ */ + public static double float_ln(double arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "float_ln requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.float_ln(arg0); + } + + /** + * MEOS {@code float_log10} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: base-type fn, default pure

+ */ + public static double float_log10(double arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "float_log10 requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.float_log10(arg0); + } + + /** + * MEOS {@code float_round} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: transform/normalize (pure)

+ */ + public static double float_round(double arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "float_round requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.float_round(arg0, arg1); + } + + /** + * MEOS {@code float_timestamptz_to_tbox} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: name pattern is _to_

+ */ + public static jnr.ffi.Pointer float_timestamptz_to_tbox(double arg0, java.time.OffsetDateTime arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "float_timestamptz_to_tbox requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.float_timestamptz_to_tbox(arg0, arg1); + } + + /** + * MEOS {@code float_to_set} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: name pattern is _to_

+ */ + public static jnr.ffi.Pointer float_to_set(double arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "float_to_set requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.float_to_set(arg0); + } + + /** + * MEOS {@code float_to_span} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: name pattern is _to_

+ */ + public static jnr.ffi.Pointer float_to_span(double arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "float_to_span requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.float_to_span(arg0); + } + + /** + * MEOS {@code float_to_spanset} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: base-type fn, default pure

+ */ + public static jnr.ffi.Pointer float_to_spanset(double arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "float_to_spanset requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.float_to_spanset(arg0); + } + + /** + * MEOS {@code float_to_tbox} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: name pattern is _to_

+ */ + public static jnr.ffi.Pointer float_to_tbox(double arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "float_to_tbox requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.float_to_tbox(arg0); + } + + /** + * MEOS {@code float_tstzspan_to_tbox} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: name pattern is _to_

+ */ + public static jnr.ffi.Pointer float_tstzspan_to_tbox(double arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "float_tstzspan_to_tbox requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.float_tstzspan_to_tbox(arg0, arg1); + } + + /** + * MEOS {@code float_union_transfn} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: base-type fn, default pure

+ */ + public static jnr.ffi.Pointer float_union_transfn(jnr.ffi.Pointer arg0, double arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "float_union_transfn requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.float_union_transfn(arg0, arg1); + } + + /** + * MEOS {@code int32_cmp} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: scalar comparison with width suffix

+ */ + public static int int32_cmp(int arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "int32_cmp requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.int32_cmp(arg0, arg1); + } + + /** + * MEOS {@code int64_cmp} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: scalar comparison with width suffix

+ */ + public static int int64_cmp(long arg0, long arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "int64_cmp requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.int64_cmp(arg0, arg1); + } + + /** + * MEOS {@code int_extent_transfn} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: base-type fn, default pure

+ */ + public static jnr.ffi.Pointer int_extent_transfn(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "int_extent_transfn requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.int_extent_transfn(arg0, arg1); + } + + /** + * MEOS {@code int_get_bin} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: scalar comparison/hash

+ */ + public static int int_get_bin(int arg0, int arg1, int arg2) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "int_get_bin requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.int_get_bin(arg0, arg1, arg2); + } + + /** + * MEOS {@code int_timestamptz_to_tbox} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: name pattern is _to_

+ */ + public static jnr.ffi.Pointer int_timestamptz_to_tbox(int arg0, java.time.OffsetDateTime arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "int_timestamptz_to_tbox requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.int_timestamptz_to_tbox(arg0, arg1); + } + + /** + * MEOS {@code int_to_set} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: name pattern is _to_

+ */ + public static jnr.ffi.Pointer int_to_set(int arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "int_to_set requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.int_to_set(arg0); + } + + /** + * MEOS {@code int_to_span} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: name pattern is _to_

+ */ + public static jnr.ffi.Pointer int_to_span(int arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "int_to_span requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.int_to_span(arg0); + } + + /** + * MEOS {@code int_to_spanset} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: base-type fn, default pure

+ */ + public static jnr.ffi.Pointer int_to_spanset(int arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "int_to_spanset requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.int_to_spanset(arg0); + } + + /** + * MEOS {@code int_to_tbox} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: name pattern is _to_

+ */ + public static jnr.ffi.Pointer int_to_tbox(int arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "int_to_tbox requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.int_to_tbox(arg0); + } + + /** + * MEOS {@code int_tstzspan_to_tbox} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: name pattern is _to_

+ */ + public static jnr.ffi.Pointer int_tstzspan_to_tbox(int arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "int_tstzspan_to_tbox requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.int_tstzspan_to_tbox(arg0, arg1); + } + + /** + * MEOS {@code int_union_transfn} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: base-type fn, default pure

+ */ + public static jnr.ffi.Pointer int_union_transfn(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "int_union_transfn requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.int_union_transfn(arg0, arg1); + } + + /** + * MEOS {@code intersection_bigint_set} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static jnr.ffi.Pointer intersection_bigint_set(long arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "intersection_bigint_set requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.intersection_bigint_set(arg0, arg1); + } + + /** + * MEOS {@code intersection_date_set} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static jnr.ffi.Pointer intersection_date_set(int arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "intersection_date_set requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.intersection_date_set(arg0, arg1); + } + + /** + * MEOS {@code intersection_float_set} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static jnr.ffi.Pointer intersection_float_set(double arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "intersection_float_set requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.intersection_float_set(arg0, arg1); + } + + /** + * MEOS {@code intersection_int_set} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static jnr.ffi.Pointer intersection_int_set(int arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "intersection_int_set requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.intersection_int_set(arg0, arg1); + } + + /** + * MEOS {@code intersection_set_bigint} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static jnr.ffi.Pointer intersection_set_bigint(jnr.ffi.Pointer arg0, long arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "intersection_set_bigint requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.intersection_set_bigint(arg0, arg1); + } + + /** + * MEOS {@code intersection_set_date} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static jnr.ffi.Pointer intersection_set_date(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "intersection_set_date requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.intersection_set_date(arg0, arg1); + } + + /** + * MEOS {@code intersection_set_float} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static jnr.ffi.Pointer intersection_set_float(jnr.ffi.Pointer arg0, double arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "intersection_set_float requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.intersection_set_float(arg0, arg1); + } + + /** + * MEOS {@code intersection_set_int} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static jnr.ffi.Pointer intersection_set_int(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "intersection_set_int requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.intersection_set_int(arg0, arg1); + } + + /** + * MEOS {@code intersection_set_set} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static jnr.ffi.Pointer intersection_set_set(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "intersection_set_set requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.intersection_set_set(arg0, arg1); + } + + /** + * MEOS {@code intersection_set_text} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static jnr.ffi.Pointer intersection_set_text(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "intersection_set_text requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.intersection_set_text(arg0, arg1); + } + + /** + * MEOS {@code intersection_set_timestamptz} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static jnr.ffi.Pointer intersection_set_timestamptz(jnr.ffi.Pointer arg0, java.time.OffsetDateTime arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "intersection_set_timestamptz requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.intersection_set_timestamptz(arg0, arg1); + } + + /** + * MEOS {@code intersection_span_bigint} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static jnr.ffi.Pointer intersection_span_bigint(jnr.ffi.Pointer arg0, long arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "intersection_span_bigint requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.intersection_span_bigint(arg0, arg1); + } + + /** + * MEOS {@code intersection_span_date} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static jnr.ffi.Pointer intersection_span_date(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "intersection_span_date requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.intersection_span_date(arg0, arg1); + } + + /** + * MEOS {@code intersection_span_float} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static jnr.ffi.Pointer intersection_span_float(jnr.ffi.Pointer arg0, double arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "intersection_span_float requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.intersection_span_float(arg0, arg1); + } + + /** + * MEOS {@code intersection_span_int} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static jnr.ffi.Pointer intersection_span_int(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "intersection_span_int requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.intersection_span_int(arg0, arg1); + } + + /** + * MEOS {@code intersection_span_span} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static jnr.ffi.Pointer intersection_span_span(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "intersection_span_span requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.intersection_span_span(arg0, arg1); + } + + /** + * MEOS {@code intersection_span_spanset} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static jnr.ffi.Pointer intersection_span_spanset(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "intersection_span_spanset requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.intersection_span_spanset(arg0, arg1); + } + + /** + * MEOS {@code intersection_span_timestamptz} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static jnr.ffi.Pointer intersection_span_timestamptz(jnr.ffi.Pointer arg0, java.time.OffsetDateTime arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "intersection_span_timestamptz requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.intersection_span_timestamptz(arg0, arg1); + } + + /** + * MEOS {@code intersection_spanset_bigint} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static jnr.ffi.Pointer intersection_spanset_bigint(jnr.ffi.Pointer arg0, long arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "intersection_spanset_bigint requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.intersection_spanset_bigint(arg0, arg1); + } + + /** + * MEOS {@code intersection_spanset_date} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static jnr.ffi.Pointer intersection_spanset_date(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "intersection_spanset_date requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.intersection_spanset_date(arg0, arg1); + } + + /** + * MEOS {@code intersection_spanset_float} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static jnr.ffi.Pointer intersection_spanset_float(jnr.ffi.Pointer arg0, double arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "intersection_spanset_float requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.intersection_spanset_float(arg0, arg1); + } + + /** + * MEOS {@code intersection_spanset_int} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static jnr.ffi.Pointer intersection_spanset_int(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "intersection_spanset_int requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.intersection_spanset_int(arg0, arg1); + } + + /** + * MEOS {@code intersection_spanset_span} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static jnr.ffi.Pointer intersection_spanset_span(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "intersection_spanset_span requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.intersection_spanset_span(arg0, arg1); + } + + /** + * MEOS {@code intersection_spanset_spanset} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static jnr.ffi.Pointer intersection_spanset_spanset(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "intersection_spanset_spanset requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.intersection_spanset_spanset(arg0, arg1); + } + + /** + * MEOS {@code intersection_spanset_timestamptz} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static jnr.ffi.Pointer intersection_spanset_timestamptz(jnr.ffi.Pointer arg0, java.time.OffsetDateTime arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "intersection_spanset_timestamptz requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.intersection_spanset_timestamptz(arg0, arg1); + } + + /** + * MEOS {@code intersection_tbox_tbox} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static jnr.ffi.Pointer intersection_tbox_tbox(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "intersection_tbox_tbox requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.intersection_tbox_tbox(arg0, arg1); + } + + /** + * MEOS {@code intersection_text_set} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static jnr.ffi.Pointer intersection_text_set(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "intersection_text_set requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.intersection_text_set(arg0, arg1); + } + + /** + * MEOS {@code intersection_timestamptz_set} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static jnr.ffi.Pointer intersection_timestamptz_set(java.time.OffsetDateTime arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "intersection_timestamptz_set requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.intersection_timestamptz_set(arg0, arg1); + } + + /** + * MEOS {@code interval_make} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: make/from_base of instant/scalar

+ */ + public static jnr.ffi.Pointer interval_make(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5, double arg6) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "interval_make requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.interval_make(arg0, arg1, arg2, arg3, arg4, arg5, arg6); + } + + /** + * MEOS {@code left_bigint_set} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean left_bigint_set(long arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "left_bigint_set requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.left_bigint_set(arg0, arg1); + } + + /** + * MEOS {@code left_bigint_span} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean left_bigint_span(long arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "left_bigint_span requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.left_bigint_span(arg0, arg1); + } + + /** + * MEOS {@code left_bigint_spanset} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean left_bigint_spanset(long arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "left_bigint_spanset requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.left_bigint_spanset(arg0, arg1); + } + + /** + * MEOS {@code left_float_set} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean left_float_set(double arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "left_float_set requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.left_float_set(arg0, arg1); + } + + /** + * MEOS {@code left_float_span} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean left_float_span(double arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "left_float_span requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.left_float_span(arg0, arg1); + } + + /** + * MEOS {@code left_float_spanset} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean left_float_spanset(double arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "left_float_spanset requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.left_float_spanset(arg0, arg1); + } + + /** + * MEOS {@code left_int_set} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean left_int_set(int arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "left_int_set requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.left_int_set(arg0, arg1); + } + + /** + * MEOS {@code left_int_span} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean left_int_span(int arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "left_int_span requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.left_int_span(arg0, arg1); + } + + /** + * MEOS {@code left_int_spanset} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean left_int_spanset(int arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "left_int_spanset requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.left_int_spanset(arg0, arg1); + } + + /** + * MEOS {@code left_set_bigint} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean left_set_bigint(jnr.ffi.Pointer arg0, long arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "left_set_bigint requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.left_set_bigint(arg0, arg1); + } + + /** + * MEOS {@code left_set_float} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean left_set_float(jnr.ffi.Pointer arg0, double arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "left_set_float requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.left_set_float(arg0, arg1); + } + + /** + * MEOS {@code left_set_int} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean left_set_int(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "left_set_int requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.left_set_int(arg0, arg1); + } + + /** + * MEOS {@code left_set_set} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean left_set_set(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "left_set_set requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.left_set_set(arg0, arg1); + } + + /** + * MEOS {@code left_set_text} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean left_set_text(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "left_set_text requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.left_set_text(arg0, arg1); + } + + /** + * MEOS {@code left_span_bigint} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean left_span_bigint(jnr.ffi.Pointer arg0, long arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "left_span_bigint requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.left_span_bigint(arg0, arg1); + } + + /** + * MEOS {@code left_span_float} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean left_span_float(jnr.ffi.Pointer arg0, double arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "left_span_float requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.left_span_float(arg0, arg1); + } + + /** + * MEOS {@code left_span_int} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean left_span_int(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "left_span_int requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.left_span_int(arg0, arg1); + } + + /** + * MEOS {@code left_span_span} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean left_span_span(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "left_span_span requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.left_span_span(arg0, arg1); + } + + /** + * MEOS {@code left_span_spanset} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean left_span_spanset(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "left_span_spanset requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.left_span_spanset(arg0, arg1); + } + + /** + * MEOS {@code left_spanset_bigint} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean left_spanset_bigint(jnr.ffi.Pointer arg0, long arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "left_spanset_bigint requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.left_spanset_bigint(arg0, arg1); + } + + /** + * MEOS {@code left_spanset_float} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean left_spanset_float(jnr.ffi.Pointer arg0, double arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "left_spanset_float requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.left_spanset_float(arg0, arg1); + } + + /** + * MEOS {@code left_spanset_int} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean left_spanset_int(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "left_spanset_int requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.left_spanset_int(arg0, arg1); + } + + /** + * MEOS {@code left_spanset_span} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean left_spanset_span(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "left_spanset_span requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.left_spanset_span(arg0, arg1); + } + + /** + * MEOS {@code left_spanset_spanset} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean left_spanset_spanset(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "left_spanset_spanset requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.left_spanset_spanset(arg0, arg1); + } + + /** + * MEOS {@code left_tbox_tbox} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean left_tbox_tbox(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "left_tbox_tbox requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.left_tbox_tbox(arg0, arg1); + } + + /** + * MEOS {@code left_tbox_tnumber} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean left_tbox_tnumber(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "left_tbox_tnumber requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.left_tbox_tnumber(arg0, arg1); + } + + /** + * MEOS {@code left_text_set} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean left_text_set(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "left_text_set requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.left_text_set(arg0, arg1); + } + + /** + * MEOS {@code mul_interval_double} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: arithmetic op on temporal number (per-instant)

+ */ + public static jnr.ffi.Pointer mul_interval_double(jnr.ffi.Pointer arg0, double arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "mul_interval_double requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.mul_interval_double(arg0, arg1); + } + + /** + * MEOS {@code numspan_timestamptz_to_tbox} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: name pattern is _to_

+ */ + public static jnr.ffi.Pointer numspan_timestamptz_to_tbox(jnr.ffi.Pointer arg0, java.time.OffsetDateTime arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "numspan_timestamptz_to_tbox requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.numspan_timestamptz_to_tbox(arg0, arg1); + } + + /** + * MEOS {@code numspan_tstzspan_to_tbox} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: name pattern is _to_

+ */ + public static jnr.ffi.Pointer numspan_tstzspan_to_tbox(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "numspan_tstzspan_to_tbox requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.numspan_tstzspan_to_tbox(arg0, arg1); + } + + /** + * MEOS {@code overafter_date_set} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean overafter_date_set(int arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "overafter_date_set requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.overafter_date_set(arg0, arg1); + } + + /** + * MEOS {@code overafter_date_span} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean overafter_date_span(int arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "overafter_date_span requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.overafter_date_span(arg0, arg1); + } + + /** + * MEOS {@code overafter_date_spanset} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean overafter_date_spanset(int arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "overafter_date_spanset requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.overafter_date_spanset(arg0, arg1); + } + + /** + * MEOS {@code overafter_set_date} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean overafter_set_date(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "overafter_set_date requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.overafter_set_date(arg0, arg1); + } + + /** + * MEOS {@code overafter_set_timestamptz} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean overafter_set_timestamptz(jnr.ffi.Pointer arg0, java.time.OffsetDateTime arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "overafter_set_timestamptz requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.overafter_set_timestamptz(arg0, arg1); + } + + /** + * MEOS {@code overafter_span_date} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean overafter_span_date(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "overafter_span_date requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.overafter_span_date(arg0, arg1); + } + + /** + * MEOS {@code overafter_span_timestamptz} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean overafter_span_timestamptz(jnr.ffi.Pointer arg0, java.time.OffsetDateTime arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "overafter_span_timestamptz requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.overafter_span_timestamptz(arg0, arg1); + } + + /** + * MEOS {@code overafter_spanset_date} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean overafter_spanset_date(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "overafter_spanset_date requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.overafter_spanset_date(arg0, arg1); + } + + /** + * MEOS {@code overafter_spanset_timestamptz} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean overafter_spanset_timestamptz(jnr.ffi.Pointer arg0, java.time.OffsetDateTime arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "overafter_spanset_timestamptz requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.overafter_spanset_timestamptz(arg0, arg1); + } + + /** + * MEOS {@code overafter_tbox_tbox} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean overafter_tbox_tbox(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "overafter_tbox_tbox requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.overafter_tbox_tbox(arg0, arg1); + } + + /** + * MEOS {@code overafter_tbox_tnumber} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean overafter_tbox_tnumber(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "overafter_tbox_tnumber requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.overafter_tbox_tnumber(arg0, arg1); + } + + /** + * MEOS {@code overafter_timestamptz_set} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean overafter_timestamptz_set(java.time.OffsetDateTime arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "overafter_timestamptz_set requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.overafter_timestamptz_set(arg0, arg1); + } + + /** + * MEOS {@code overafter_timestamptz_span} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean overafter_timestamptz_span(java.time.OffsetDateTime arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "overafter_timestamptz_span requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.overafter_timestamptz_span(arg0, arg1); + } + + /** + * MEOS {@code overafter_timestamptz_spanset} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean overafter_timestamptz_spanset(java.time.OffsetDateTime arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "overafter_timestamptz_spanset requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.overafter_timestamptz_spanset(arg0, arg1); + } + + /** + * MEOS {@code overbefore_date_set} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean overbefore_date_set(int arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "overbefore_date_set requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.overbefore_date_set(arg0, arg1); + } + + /** + * MEOS {@code overbefore_date_span} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean overbefore_date_span(int arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "overbefore_date_span requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.overbefore_date_span(arg0, arg1); + } + + /** + * MEOS {@code overbefore_date_spanset} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean overbefore_date_spanset(int arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "overbefore_date_spanset requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.overbefore_date_spanset(arg0, arg1); + } + + /** + * MEOS {@code overbefore_set_date} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean overbefore_set_date(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "overbefore_set_date requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.overbefore_set_date(arg0, arg1); + } + + /** + * MEOS {@code overbefore_set_timestamptz} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean overbefore_set_timestamptz(jnr.ffi.Pointer arg0, java.time.OffsetDateTime arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "overbefore_set_timestamptz requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.overbefore_set_timestamptz(arg0, arg1); + } + + /** + * MEOS {@code overbefore_span_date} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean overbefore_span_date(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "overbefore_span_date requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.overbefore_span_date(arg0, arg1); + } + + /** + * MEOS {@code overbefore_span_timestamptz} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean overbefore_span_timestamptz(jnr.ffi.Pointer arg0, java.time.OffsetDateTime arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "overbefore_span_timestamptz requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.overbefore_span_timestamptz(arg0, arg1); + } + + /** + * MEOS {@code overbefore_spanset_date} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean overbefore_spanset_date(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "overbefore_spanset_date requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.overbefore_spanset_date(arg0, arg1); + } + + /** + * MEOS {@code overbefore_spanset_timestamptz} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean overbefore_spanset_timestamptz(jnr.ffi.Pointer arg0, java.time.OffsetDateTime arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "overbefore_spanset_timestamptz requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.overbefore_spanset_timestamptz(arg0, arg1); + } + + /** + * MEOS {@code overbefore_tbox_tbox} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean overbefore_tbox_tbox(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "overbefore_tbox_tbox requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.overbefore_tbox_tbox(arg0, arg1); + } + + /** + * MEOS {@code overbefore_tbox_tnumber} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean overbefore_tbox_tnumber(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "overbefore_tbox_tnumber requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.overbefore_tbox_tnumber(arg0, arg1); + } + + /** + * MEOS {@code overbefore_timestamptz_set} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean overbefore_timestamptz_set(java.time.OffsetDateTime arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "overbefore_timestamptz_set requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.overbefore_timestamptz_set(arg0, arg1); + } + + /** + * MEOS {@code overbefore_timestamptz_span} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean overbefore_timestamptz_span(java.time.OffsetDateTime arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "overbefore_timestamptz_span requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.overbefore_timestamptz_span(arg0, arg1); + } + + /** + * MEOS {@code overbefore_timestamptz_spanset} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean overbefore_timestamptz_spanset(java.time.OffsetDateTime arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "overbefore_timestamptz_spanset requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.overbefore_timestamptz_spanset(arg0, arg1); + } + + /** + * MEOS {@code overlaps_set_set} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean overlaps_set_set(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "overlaps_set_set requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.overlaps_set_set(arg0, arg1); + } + + /** + * MEOS {@code overlaps_span_span} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean overlaps_span_span(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "overlaps_span_span requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.overlaps_span_span(arg0, arg1); + } + + /** + * MEOS {@code overlaps_span_spanset} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean overlaps_span_spanset(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "overlaps_span_spanset requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.overlaps_span_spanset(arg0, arg1); + } + + /** + * MEOS {@code overlaps_spanset_span} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean overlaps_spanset_span(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "overlaps_spanset_span requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.overlaps_spanset_span(arg0, arg1); + } + + /** + * MEOS {@code overlaps_spanset_spanset} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean overlaps_spanset_spanset(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "overlaps_spanset_spanset requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.overlaps_spanset_spanset(arg0, arg1); + } + + /** + * MEOS {@code overlaps_tbox_tbox} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean overlaps_tbox_tbox(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "overlaps_tbox_tbox requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.overlaps_tbox_tbox(arg0, arg1); + } + + /** + * MEOS {@code overlaps_tbox_tnumber} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean overlaps_tbox_tnumber(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "overlaps_tbox_tnumber requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.overlaps_tbox_tnumber(arg0, arg1); + } + + /** + * MEOS {@code overleft_bigint_set} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean overleft_bigint_set(long arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "overleft_bigint_set requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.overleft_bigint_set(arg0, arg1); + } + + /** + * MEOS {@code overleft_bigint_span} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean overleft_bigint_span(long arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "overleft_bigint_span requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.overleft_bigint_span(arg0, arg1); + } + + /** + * MEOS {@code overleft_bigint_spanset} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean overleft_bigint_spanset(long arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "overleft_bigint_spanset requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.overleft_bigint_spanset(arg0, arg1); + } + + /** + * MEOS {@code overleft_float_set} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean overleft_float_set(double arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "overleft_float_set requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.overleft_float_set(arg0, arg1); + } + + /** + * MEOS {@code overleft_float_span} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean overleft_float_span(double arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "overleft_float_span requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.overleft_float_span(arg0, arg1); + } + + /** + * MEOS {@code overleft_float_spanset} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean overleft_float_spanset(double arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "overleft_float_spanset requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.overleft_float_spanset(arg0, arg1); + } + + /** + * MEOS {@code overleft_int_set} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean overleft_int_set(int arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "overleft_int_set requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.overleft_int_set(arg0, arg1); + } + + /** + * MEOS {@code overleft_int_span} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean overleft_int_span(int arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "overleft_int_span requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.overleft_int_span(arg0, arg1); + } + + /** + * MEOS {@code overleft_int_spanset} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean overleft_int_spanset(int arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "overleft_int_spanset requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.overleft_int_spanset(arg0, arg1); + } + + /** + * MEOS {@code overleft_set_bigint} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean overleft_set_bigint(jnr.ffi.Pointer arg0, long arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "overleft_set_bigint requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.overleft_set_bigint(arg0, arg1); + } + + /** + * MEOS {@code overleft_set_float} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean overleft_set_float(jnr.ffi.Pointer arg0, double arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "overleft_set_float requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.overleft_set_float(arg0, arg1); + } + + /** + * MEOS {@code overleft_set_int} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean overleft_set_int(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "overleft_set_int requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.overleft_set_int(arg0, arg1); + } + + /** + * MEOS {@code overleft_set_set} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean overleft_set_set(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "overleft_set_set requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.overleft_set_set(arg0, arg1); + } + + /** + * MEOS {@code overleft_set_text} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean overleft_set_text(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "overleft_set_text requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.overleft_set_text(arg0, arg1); + } + + /** + * MEOS {@code overleft_span_bigint} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean overleft_span_bigint(jnr.ffi.Pointer arg0, long arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "overleft_span_bigint requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.overleft_span_bigint(arg0, arg1); + } + + /** + * MEOS {@code overleft_span_float} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean overleft_span_float(jnr.ffi.Pointer arg0, double arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "overleft_span_float requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.overleft_span_float(arg0, arg1); + } + + /** + * MEOS {@code overleft_span_int} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean overleft_span_int(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "overleft_span_int requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.overleft_span_int(arg0, arg1); + } + + /** + * MEOS {@code overleft_span_span} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean overleft_span_span(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "overleft_span_span requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.overleft_span_span(arg0, arg1); + } + + /** + * MEOS {@code overleft_span_spanset} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean overleft_span_spanset(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "overleft_span_spanset requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.overleft_span_spanset(arg0, arg1); + } + + /** + * MEOS {@code overleft_spanset_bigint} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean overleft_spanset_bigint(jnr.ffi.Pointer arg0, long arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "overleft_spanset_bigint requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.overleft_spanset_bigint(arg0, arg1); + } + + /** + * MEOS {@code overleft_spanset_float} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean overleft_spanset_float(jnr.ffi.Pointer arg0, double arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "overleft_spanset_float requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.overleft_spanset_float(arg0, arg1); + } + + /** + * MEOS {@code overleft_spanset_int} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean overleft_spanset_int(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "overleft_spanset_int requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.overleft_spanset_int(arg0, arg1); + } + + /** + * MEOS {@code overleft_spanset_span} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean overleft_spanset_span(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "overleft_spanset_span requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.overleft_spanset_span(arg0, arg1); + } + + /** + * MEOS {@code overleft_spanset_spanset} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean overleft_spanset_spanset(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "overleft_spanset_spanset requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.overleft_spanset_spanset(arg0, arg1); + } + + /** + * MEOS {@code overleft_tbox_tbox} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean overleft_tbox_tbox(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "overleft_tbox_tbox requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.overleft_tbox_tbox(arg0, arg1); + } + + /** + * MEOS {@code overleft_tbox_tnumber} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean overleft_tbox_tnumber(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "overleft_tbox_tnumber requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.overleft_tbox_tnumber(arg0, arg1); + } + + /** + * MEOS {@code overleft_text_set} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean overleft_text_set(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "overleft_text_set requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.overleft_text_set(arg0, arg1); + } + + /** + * MEOS {@code overright_bigint_set} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean overright_bigint_set(long arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "overright_bigint_set requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.overright_bigint_set(arg0, arg1); + } + + /** + * MEOS {@code overright_bigint_span} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean overright_bigint_span(long arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "overright_bigint_span requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.overright_bigint_span(arg0, arg1); + } + + /** + * MEOS {@code overright_bigint_spanset} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean overright_bigint_spanset(long arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "overright_bigint_spanset requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.overright_bigint_spanset(arg0, arg1); + } + + /** + * MEOS {@code overright_float_set} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean overright_float_set(double arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "overright_float_set requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.overright_float_set(arg0, arg1); + } + + /** + * MEOS {@code overright_float_span} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean overright_float_span(double arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "overright_float_span requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.overright_float_span(arg0, arg1); + } + + /** + * MEOS {@code overright_float_spanset} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean overright_float_spanset(double arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "overright_float_spanset requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.overright_float_spanset(arg0, arg1); + } + + /** + * MEOS {@code overright_int_set} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean overright_int_set(int arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "overright_int_set requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.overright_int_set(arg0, arg1); + } + + /** + * MEOS {@code overright_int_span} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean overright_int_span(int arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "overright_int_span requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.overright_int_span(arg0, arg1); + } + + /** + * MEOS {@code overright_int_spanset} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean overright_int_spanset(int arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "overright_int_spanset requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.overright_int_spanset(arg0, arg1); + } + + /** + * MEOS {@code overright_set_bigint} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean overright_set_bigint(jnr.ffi.Pointer arg0, long arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "overright_set_bigint requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.overright_set_bigint(arg0, arg1); + } + + /** + * MEOS {@code overright_set_float} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean overright_set_float(jnr.ffi.Pointer arg0, double arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "overright_set_float requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.overright_set_float(arg0, arg1); + } + + /** + * MEOS {@code overright_set_int} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean overright_set_int(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "overright_set_int requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.overright_set_int(arg0, arg1); + } + + /** + * MEOS {@code overright_set_set} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean overright_set_set(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "overright_set_set requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.overright_set_set(arg0, arg1); + } + + /** + * MEOS {@code overright_set_text} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean overright_set_text(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "overright_set_text requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.overright_set_text(arg0, arg1); + } + + /** + * MEOS {@code overright_span_bigint} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean overright_span_bigint(jnr.ffi.Pointer arg0, long arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "overright_span_bigint requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.overright_span_bigint(arg0, arg1); + } + + /** + * MEOS {@code overright_span_float} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean overright_span_float(jnr.ffi.Pointer arg0, double arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "overright_span_float requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.overright_span_float(arg0, arg1); + } + + /** + * MEOS {@code overright_span_int} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean overright_span_int(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "overright_span_int requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.overright_span_int(arg0, arg1); + } + + /** + * MEOS {@code overright_span_span} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean overright_span_span(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "overright_span_span requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.overright_span_span(arg0, arg1); + } + + /** + * MEOS {@code overright_span_spanset} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean overright_span_spanset(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "overright_span_spanset requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.overright_span_spanset(arg0, arg1); + } + + /** + * MEOS {@code overright_spanset_bigint} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean overright_spanset_bigint(jnr.ffi.Pointer arg0, long arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "overright_spanset_bigint requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.overright_spanset_bigint(arg0, arg1); + } + + /** + * MEOS {@code overright_spanset_float} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean overright_spanset_float(jnr.ffi.Pointer arg0, double arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "overright_spanset_float requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.overright_spanset_float(arg0, arg1); + } + + /** + * MEOS {@code overright_spanset_int} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean overright_spanset_int(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "overright_spanset_int requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.overright_spanset_int(arg0, arg1); + } + + /** + * MEOS {@code overright_spanset_span} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean overright_spanset_span(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "overright_spanset_span requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.overright_spanset_span(arg0, arg1); + } + + /** + * MEOS {@code overright_spanset_spanset} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean overright_spanset_spanset(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "overright_spanset_spanset requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.overright_spanset_spanset(arg0, arg1); + } + + /** + * MEOS {@code overright_tbox_tbox} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean overright_tbox_tbox(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "overright_tbox_tbox requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.overright_tbox_tbox(arg0, arg1); + } + + /** + * MEOS {@code overright_tbox_tnumber} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean overright_tbox_tnumber(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "overright_tbox_tnumber requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.overright_tbox_tnumber(arg0, arg1); + } + + /** + * MEOS {@code overright_text_set} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean overright_text_set(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "overright_text_set requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.overright_text_set(arg0, arg1); + } + + /** + * MEOS {@code right_bigint_set} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean right_bigint_set(long arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "right_bigint_set requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.right_bigint_set(arg0, arg1); + } + + /** + * MEOS {@code right_bigint_span} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean right_bigint_span(long arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "right_bigint_span requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.right_bigint_span(arg0, arg1); + } + + /** + * MEOS {@code right_bigint_spanset} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean right_bigint_spanset(long arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "right_bigint_spanset requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.right_bigint_spanset(arg0, arg1); + } + + /** + * MEOS {@code right_float_set} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean right_float_set(double arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "right_float_set requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.right_float_set(arg0, arg1); + } + + /** + * MEOS {@code right_float_span} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean right_float_span(double arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "right_float_span requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.right_float_span(arg0, arg1); + } + + /** + * MEOS {@code right_float_spanset} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean right_float_spanset(double arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "right_float_spanset requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.right_float_spanset(arg0, arg1); + } + + /** + * MEOS {@code right_int_set} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean right_int_set(int arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "right_int_set requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.right_int_set(arg0, arg1); + } + + /** + * MEOS {@code right_int_span} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean right_int_span(int arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "right_int_span requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.right_int_span(arg0, arg1); + } + + /** + * MEOS {@code right_int_spanset} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean right_int_spanset(int arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "right_int_spanset requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.right_int_spanset(arg0, arg1); + } + + /** + * MEOS {@code right_set_bigint} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean right_set_bigint(jnr.ffi.Pointer arg0, long arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "right_set_bigint requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.right_set_bigint(arg0, arg1); + } + + /** + * MEOS {@code right_set_float} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean right_set_float(jnr.ffi.Pointer arg0, double arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "right_set_float requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.right_set_float(arg0, arg1); + } + + /** + * MEOS {@code right_set_int} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean right_set_int(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "right_set_int requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.right_set_int(arg0, arg1); + } + + /** + * MEOS {@code right_set_set} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean right_set_set(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "right_set_set requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.right_set_set(arg0, arg1); + } + + /** + * MEOS {@code right_set_text} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean right_set_text(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "right_set_text requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.right_set_text(arg0, arg1); + } + + /** + * MEOS {@code right_span_bigint} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean right_span_bigint(jnr.ffi.Pointer arg0, long arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "right_span_bigint requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.right_span_bigint(arg0, arg1); + } + + /** + * MEOS {@code right_span_float} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean right_span_float(jnr.ffi.Pointer arg0, double arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "right_span_float requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.right_span_float(arg0, arg1); + } + + /** + * MEOS {@code right_span_int} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean right_span_int(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "right_span_int requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.right_span_int(arg0, arg1); + } + + /** + * MEOS {@code right_span_span} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean right_span_span(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "right_span_span requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.right_span_span(arg0, arg1); + } + + /** + * MEOS {@code right_span_spanset} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean right_span_spanset(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "right_span_spanset requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.right_span_spanset(arg0, arg1); + } + + /** + * MEOS {@code right_spanset_bigint} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean right_spanset_bigint(jnr.ffi.Pointer arg0, long arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "right_spanset_bigint requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.right_spanset_bigint(arg0, arg1); + } + + /** + * MEOS {@code right_spanset_float} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean right_spanset_float(jnr.ffi.Pointer arg0, double arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "right_spanset_float requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.right_spanset_float(arg0, arg1); + } + + /** + * MEOS {@code right_spanset_int} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean right_spanset_int(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "right_spanset_int requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.right_spanset_int(arg0, arg1); + } + + /** + * MEOS {@code right_spanset_span} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean right_spanset_span(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "right_spanset_span requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.right_spanset_span(arg0, arg1); + } + + /** + * MEOS {@code right_spanset_spanset} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean right_spanset_spanset(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "right_spanset_spanset requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.right_spanset_spanset(arg0, arg1); + } + + /** + * MEOS {@code right_tbox_tbox} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean right_tbox_tbox(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "right_tbox_tbox requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.right_tbox_tbox(arg0, arg1); + } + + /** + * MEOS {@code right_tbox_tnumber} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean right_tbox_tnumber(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "right_tbox_tnumber requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.right_tbox_tnumber(arg0, arg1); + } + + /** + * MEOS {@code right_text_set} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean right_text_set(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "right_text_set requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.right_text_set(arg0, arg1); + } + + /** + * MEOS {@code same_numspan_tnumber} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: same predicate (pure box equality)

+ */ + public static boolean same_numspan_tnumber(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "same_numspan_tnumber requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.same_numspan_tnumber(arg0, arg1); + } + + /** + * MEOS {@code same_tbox_tbox} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: same predicate (pure box equality)

+ */ + public static boolean same_tbox_tbox(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "same_tbox_tbox requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.same_tbox_tbox(arg0, arg1); + } + + /** + * MEOS {@code same_tbox_tnumber} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: same predicate (pure box equality)

+ */ + public static boolean same_tbox_tnumber(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "same_tbox_tnumber requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.same_tbox_tnumber(arg0, arg1); + } + + /** + * MEOS {@code same_temporal_tstzspan} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: same predicate (pure box equality)

+ */ + public static boolean same_temporal_tstzspan(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "same_temporal_tstzspan requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.same_temporal_tstzspan(arg0, arg1); + } + + /** + * MEOS {@code same_tnumber_numspan} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: same predicate (pure box equality)

+ */ + public static boolean same_tnumber_numspan(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "same_tnumber_numspan requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.same_tnumber_numspan(arg0, arg1); + } + + /** + * MEOS {@code same_tnumber_tbox} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: same predicate (pure box equality)

+ */ + public static boolean same_tnumber_tbox(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "same_tnumber_tbox requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.same_tnumber_tbox(arg0, arg1); + } + + /** + * MEOS {@code same_tstzspan_temporal} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: same predicate (pure box equality)

+ */ + public static boolean same_tstzspan_temporal(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "same_tstzspan_temporal requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.same_tstzspan_temporal(arg0, arg1); + } + + /** + * MEOS {@code sub_float_tfloat} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: arithmetic op on temporal number (per-instant)

+ */ + public static jnr.ffi.Pointer sub_float_tfloat(double arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "sub_float_tfloat requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.sub_float_tfloat(arg0, arg1); + } + + /** + * MEOS {@code sub_int_tint} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: arithmetic op on temporal number (per-instant)

+ */ + public static jnr.ffi.Pointer sub_int_tint(int arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "sub_int_tint requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.sub_int_tint(arg0, arg1); + } + + /** + * MEOS {@code sub_tfloat_float} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: arithmetic op on temporal number (per-instant)

+ */ + public static jnr.ffi.Pointer sub_tfloat_float(jnr.ffi.Pointer arg0, double arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "sub_tfloat_float requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.sub_tfloat_float(arg0, arg1); + } + + /** + * MEOS {@code sub_tint_int} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: arithmetic op on temporal number (per-instant)

+ */ + public static jnr.ffi.Pointer sub_tint_int(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "sub_tint_int requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.sub_tint_int(arg0, arg1); + } + + /** + * MEOS {@code sub_tnumber_tnumber} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: arithmetic op on temporal number (per-instant)

+ */ + public static jnr.ffi.Pointer sub_tnumber_tnumber(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "sub_tnumber_tnumber requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.sub_tnumber_tnumber(arg0, arg1); + } + + /** + * MEOS {@code tboxfloat_xmax} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: scalar in/out (default-stateless catch-all)

+ */ + public static jnr.ffi.Pointer tboxfloat_xmax(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tboxfloat_xmax requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tboxfloat_xmax(arg0); + } + + /** + * MEOS {@code tboxfloat_xmin} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: scalar in/out (default-stateless catch-all)

+ */ + public static jnr.ffi.Pointer tboxfloat_xmin(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tboxfloat_xmin requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tboxfloat_xmin(arg0); + } + + /** + * MEOS {@code tboxint_xmax} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: scalar in/out (default-stateless catch-all)

+ */ + public static jnr.ffi.Pointer tboxint_xmax(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tboxint_xmax requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tboxint_xmax(arg0); + } + + /** + * MEOS {@code tboxint_xmin} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: scalar in/out (default-stateless catch-all)

+ */ + public static jnr.ffi.Pointer tboxint_xmin(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tboxint_xmin requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tboxint_xmin(arg0); + } + + /** + * MEOS {@code temparr_round} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: transform/normalize (pure)

+ */ + public static jnr.ffi.Pointer temparr_round(jnr.ffi.Pointer arg0, int arg1, int arg2) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "temparr_round requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.temparr_round(arg0, arg1, arg2); + } + + /** + * MEOS {@code teq_bool_tbool} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: temporal comparison (per-instant)

+ */ + public static jnr.ffi.Pointer teq_bool_tbool(boolean arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "teq_bool_tbool requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.teq_bool_tbool(arg0, arg1); + } + + /** + * MEOS {@code teq_float_tfloat} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: temporal comparison (per-instant)

+ */ + public static jnr.ffi.Pointer teq_float_tfloat(double arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "teq_float_tfloat requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.teq_float_tfloat(arg0, arg1); + } + + /** + * MEOS {@code teq_int_tint} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: temporal comparison (per-instant)

+ */ + public static jnr.ffi.Pointer teq_int_tint(int arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "teq_int_tint requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.teq_int_tint(arg0, arg1); + } + + /** + * MEOS {@code teq_tbool_bool} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: temporal comparison (per-instant)

+ */ + public static jnr.ffi.Pointer teq_tbool_bool(jnr.ffi.Pointer arg0, boolean arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "teq_tbool_bool requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.teq_tbool_bool(arg0, arg1); + } + + /** + * MEOS {@code teq_temporal_temporal} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: temporal comparison (per-instant)

+ */ + public static jnr.ffi.Pointer teq_temporal_temporal(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "teq_temporal_temporal requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.teq_temporal_temporal(arg0, arg1); + } + + /** + * MEOS {@code teq_text_ttext} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: temporal comparison (per-instant)

+ */ + public static jnr.ffi.Pointer teq_text_ttext(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "teq_text_ttext requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.teq_text_ttext(arg0, arg1); + } + + /** + * MEOS {@code teq_tfloat_float} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: temporal comparison (per-instant)

+ */ + public static jnr.ffi.Pointer teq_tfloat_float(jnr.ffi.Pointer arg0, double arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "teq_tfloat_float requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.teq_tfloat_float(arg0, arg1); + } + + /** + * MEOS {@code teq_tint_int} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: temporal comparison (per-instant)

+ */ + public static jnr.ffi.Pointer teq_tint_int(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "teq_tint_int requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.teq_tint_int(arg0, arg1); + } + + /** + * MEOS {@code teq_ttext_text} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: temporal comparison (per-instant)

+ */ + public static jnr.ffi.Pointer teq_ttext_text(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "teq_ttext_text requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.teq_ttext_text(arg0, arg1); + } + + /** + * MEOS {@code text_cmp} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: scalar comparison/hash

+ */ + public static int text_cmp(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "text_cmp requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.text_cmp(arg0, arg1); + } + + /** + * MEOS {@code text_copy} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: base-type fn, default pure

+ */ + public static jnr.ffi.Pointer text_copy(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "text_copy requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.text_copy(arg0); + } + + /** + * MEOS {@code text_initcap} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: base-type fn, default pure

+ */ + public static jnr.ffi.Pointer text_initcap(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "text_initcap requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.text_initcap(arg0); + } + + /** + * MEOS {@code text_lower} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: base-type fn, default pure

+ */ + public static jnr.ffi.Pointer text_lower(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "text_lower requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.text_lower(arg0); + } + + /** + * MEOS {@code text_to_set} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: name pattern is _to_

+ */ + public static jnr.ffi.Pointer text_to_set(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "text_to_set requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.text_to_set(arg0); + } + + /** + * MEOS {@code text_union_transfn} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: base-type fn, default pure

+ */ + public static jnr.ffi.Pointer text_union_transfn(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "text_union_transfn requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.text_union_transfn(arg0, arg1); + } + + /** + * MEOS {@code text_upper} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: base-type fn, default pure

+ */ + public static jnr.ffi.Pointer text_upper(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "text_upper requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.text_upper(arg0); + } + + /** + * MEOS {@code textcat_text_text} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: text concatenation (per-instant)

+ */ + public static jnr.ffi.Pointer textcat_text_text(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "textcat_text_text requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.textcat_text_text(arg0, arg1); + } + + /** + * MEOS {@code textcat_text_textset} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: text concatenation (per-instant)

+ */ + public static jnr.ffi.Pointer textcat_text_textset(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "textcat_text_textset requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.textcat_text_textset(arg0, arg1); + } + + /** + * MEOS {@code textcat_text_ttext} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: text concatenation (per-instant)

+ */ + public static jnr.ffi.Pointer textcat_text_ttext(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "textcat_text_ttext requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.textcat_text_ttext(arg0, arg1); + } + + /** + * MEOS {@code textcat_textset_text} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: text concatenation (per-instant)

+ */ + public static jnr.ffi.Pointer textcat_textset_text(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "textcat_textset_text requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.textcat_textset_text(arg0, arg1); + } + + /** + * MEOS {@code textcat_ttext_text} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: text concatenation (per-instant)

+ */ + public static jnr.ffi.Pointer textcat_ttext_text(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "textcat_ttext_text requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.textcat_ttext_text(arg0, arg1); + } + + /** + * MEOS {@code textcat_ttext_ttext} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: text concatenation (per-instant)

+ */ + public static jnr.ffi.Pointer textcat_ttext_ttext(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "textcat_ttext_ttext requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.textcat_ttext_ttext(arg0, arg1); + } + + /** + * MEOS {@code tfloatbox_expand} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: transform/normalize (pure)

+ */ + public static jnr.ffi.Pointer tfloatbox_expand(jnr.ffi.Pointer arg0, double arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tfloatbox_expand requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tfloatbox_expand(arg0, arg1); + } + + /** + * MEOS {@code tfloatbox_shift_scale} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: transform/normalize (pure)

+ */ + public static jnr.ffi.Pointer tfloatbox_shift_scale(jnr.ffi.Pointer arg0, double arg1, double arg2, boolean arg3, boolean arg4) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tfloatbox_shift_scale requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tfloatbox_shift_scale(arg0, arg1, arg2, arg3, arg4); + } + + /** + * MEOS {@code tge_float_tfloat} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: temporal comparison (per-instant)

+ */ + public static jnr.ffi.Pointer tge_float_tfloat(double arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tge_float_tfloat requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tge_float_tfloat(arg0, arg1); + } + + /** + * MEOS {@code tge_int_tint} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: temporal comparison (per-instant)

+ */ + public static jnr.ffi.Pointer tge_int_tint(int arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tge_int_tint requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tge_int_tint(arg0, arg1); + } + + /** + * MEOS {@code tge_temporal_temporal} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: temporal comparison (per-instant)

+ */ + public static jnr.ffi.Pointer tge_temporal_temporal(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tge_temporal_temporal requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tge_temporal_temporal(arg0, arg1); + } + + /** + * MEOS {@code tge_text_ttext} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: temporal comparison (per-instant)

+ */ + public static jnr.ffi.Pointer tge_text_ttext(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tge_text_ttext requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tge_text_ttext(arg0, arg1); + } + + /** + * MEOS {@code tge_tfloat_float} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: temporal comparison (per-instant)

+ */ + public static jnr.ffi.Pointer tge_tfloat_float(jnr.ffi.Pointer arg0, double arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tge_tfloat_float requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tge_tfloat_float(arg0, arg1); + } + + /** + * MEOS {@code tge_tint_int} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: temporal comparison (per-instant)

+ */ + public static jnr.ffi.Pointer tge_tint_int(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tge_tint_int requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tge_tint_int(arg0, arg1); + } + + /** + * MEOS {@code tge_ttext_text} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: temporal comparison (per-instant)

+ */ + public static jnr.ffi.Pointer tge_ttext_text(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tge_ttext_text requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tge_ttext_text(arg0, arg1); + } + + /** + * MEOS {@code tgt_float_tfloat} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: temporal comparison (per-instant)

+ */ + public static jnr.ffi.Pointer tgt_float_tfloat(double arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tgt_float_tfloat requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tgt_float_tfloat(arg0, arg1); + } + + /** + * MEOS {@code tgt_int_tint} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: temporal comparison (per-instant)

+ */ + public static jnr.ffi.Pointer tgt_int_tint(int arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tgt_int_tint requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tgt_int_tint(arg0, arg1); + } + + /** + * MEOS {@code tgt_temporal_temporal} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: temporal comparison (per-instant)

+ */ + public static jnr.ffi.Pointer tgt_temporal_temporal(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tgt_temporal_temporal requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tgt_temporal_temporal(arg0, arg1); + } + + /** + * MEOS {@code tgt_text_ttext} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: temporal comparison (per-instant)

+ */ + public static jnr.ffi.Pointer tgt_text_ttext(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tgt_text_ttext requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tgt_text_ttext(arg0, arg1); + } + + /** + * MEOS {@code tgt_tfloat_float} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: temporal comparison (per-instant)

+ */ + public static jnr.ffi.Pointer tgt_tfloat_float(jnr.ffi.Pointer arg0, double arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tgt_tfloat_float requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tgt_tfloat_float(arg0, arg1); + } + + /** + * MEOS {@code tgt_tint_int} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: temporal comparison (per-instant)

+ */ + public static jnr.ffi.Pointer tgt_tint_int(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tgt_tint_int requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tgt_tint_int(arg0, arg1); + } + + /** + * MEOS {@code tgt_ttext_text} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: temporal comparison (per-instant)

+ */ + public static jnr.ffi.Pointer tgt_ttext_text(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tgt_ttext_text requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tgt_ttext_text(arg0, arg1); + } + + /** + * MEOS {@code timestamp_to_date} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: name pattern is _to_

+ */ + public static int timestamp_to_date(java.time.LocalDateTime arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "timestamp_to_date requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.timestamp_to_date(arg0); + } + + /** + * MEOS {@code timestamptz_extent_transfn} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: base-type fn, default pure

+ */ + public static jnr.ffi.Pointer timestamptz_extent_transfn(jnr.ffi.Pointer arg0, java.time.OffsetDateTime arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "timestamptz_extent_transfn requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.timestamptz_extent_transfn(arg0, arg1); + } + + /** + * MEOS {@code timestamptz_get_bin} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: scalar comparison/hash

+ */ + public static java.time.OffsetDateTime timestamptz_get_bin(java.time.OffsetDateTime arg0, jnr.ffi.Pointer arg1, java.time.OffsetDateTime arg2) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "timestamptz_get_bin requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.timestamptz_get_bin(arg0, arg1, arg2); + } + + /** + * MEOS {@code timestamptz_shift} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: transform/normalize (pure)

+ */ + public static java.time.OffsetDateTime timestamptz_shift(java.time.OffsetDateTime arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "timestamptz_shift requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.timestamptz_shift(arg0, arg1); + } + + /** + * MEOS {@code timestamptz_tcount_transfn} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: base-type fn, default pure

+ */ + public static jnr.ffi.Pointer timestamptz_tcount_transfn(jnr.ffi.Pointer arg0, java.time.OffsetDateTime arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "timestamptz_tcount_transfn requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.timestamptz_tcount_transfn(arg0, arg1); + } + + /** + * MEOS {@code timestamptz_to_date} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: name pattern is _to_

+ */ + public static int timestamptz_to_date(java.time.OffsetDateTime arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "timestamptz_to_date requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.timestamptz_to_date(arg0); + } + + /** + * MEOS {@code timestamptz_to_set} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: name pattern is _to_

+ */ + public static jnr.ffi.Pointer timestamptz_to_set(java.time.OffsetDateTime arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "timestamptz_to_set requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.timestamptz_to_set(arg0); + } + + /** + * MEOS {@code timestamptz_to_span} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: name pattern is _to_

+ */ + public static jnr.ffi.Pointer timestamptz_to_span(java.time.OffsetDateTime arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "timestamptz_to_span requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.timestamptz_to_span(arg0); + } + + /** + * MEOS {@code timestamptz_to_spanset} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: base-type fn, default pure

+ */ + public static jnr.ffi.Pointer timestamptz_to_spanset(java.time.OffsetDateTime arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "timestamptz_to_spanset requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.timestamptz_to_spanset(arg0); + } + + /** + * MEOS {@code timestamptz_to_tbox} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: name pattern is _to_

+ */ + public static jnr.ffi.Pointer timestamptz_to_tbox(java.time.OffsetDateTime arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "timestamptz_to_tbox requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.timestamptz_to_tbox(arg0); + } + + /** + * MEOS {@code timestamptz_tprecision} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: base-type fn, default pure

+ */ + public static java.time.OffsetDateTime timestamptz_tprecision(java.time.OffsetDateTime arg0, jnr.ffi.Pointer arg1, java.time.OffsetDateTime arg2) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "timestamptz_tprecision requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.timestamptz_tprecision(arg0, arg1, arg2); + } + + /** + * MEOS {@code timestamptz_union_transfn} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: base-type fn, default pure

+ */ + public static jnr.ffi.Pointer timestamptz_union_transfn(jnr.ffi.Pointer arg0, java.time.OffsetDateTime arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "timestamptz_union_transfn requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.timestamptz_union_transfn(arg0, arg1); + } + + /** + * MEOS {@code tintbox_expand} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: transform/normalize (pure)

+ */ + public static jnr.ffi.Pointer tintbox_expand(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tintbox_expand requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tintbox_expand(arg0, arg1); + } + + /** + * MEOS {@code tintbox_shift_scale} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: transform/normalize (pure)

+ */ + public static jnr.ffi.Pointer tintbox_shift_scale(jnr.ffi.Pointer arg0, int arg1, int arg2, boolean arg3, boolean arg4) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tintbox_shift_scale requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tintbox_shift_scale(arg0, arg1, arg2, arg3, arg4); + } + + /** + * MEOS {@code tle_float_tfloat} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: temporal comparison (per-instant)

+ */ + public static jnr.ffi.Pointer tle_float_tfloat(double arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tle_float_tfloat requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tle_float_tfloat(arg0, arg1); + } + + /** + * MEOS {@code tle_int_tint} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: temporal comparison (per-instant)

+ */ + public static jnr.ffi.Pointer tle_int_tint(int arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tle_int_tint requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tle_int_tint(arg0, arg1); + } + + /** + * MEOS {@code tle_temporal_temporal} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: temporal comparison (per-instant)

+ */ + public static jnr.ffi.Pointer tle_temporal_temporal(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tle_temporal_temporal requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tle_temporal_temporal(arg0, arg1); + } + + /** + * MEOS {@code tle_text_ttext} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: temporal comparison (per-instant)

+ */ + public static jnr.ffi.Pointer tle_text_ttext(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tle_text_ttext requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tle_text_ttext(arg0, arg1); + } + + /** + * MEOS {@code tle_tfloat_float} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: temporal comparison (per-instant)

+ */ + public static jnr.ffi.Pointer tle_tfloat_float(jnr.ffi.Pointer arg0, double arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tle_tfloat_float requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tle_tfloat_float(arg0, arg1); + } + + /** + * MEOS {@code tle_tint_int} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: temporal comparison (per-instant)

+ */ + public static jnr.ffi.Pointer tle_tint_int(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tle_tint_int requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tle_tint_int(arg0, arg1); + } + + /** + * MEOS {@code tle_ttext_text} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: temporal comparison (per-instant)

+ */ + public static jnr.ffi.Pointer tle_ttext_text(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tle_ttext_text requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tle_ttext_text(arg0, arg1); + } + + /** + * MEOS {@code tlt_float_tfloat} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: temporal comparison (per-instant)

+ */ + public static jnr.ffi.Pointer tlt_float_tfloat(double arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tlt_float_tfloat requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tlt_float_tfloat(arg0, arg1); + } + + /** + * MEOS {@code tlt_int_tint} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: temporal comparison (per-instant)

+ */ + public static jnr.ffi.Pointer tlt_int_tint(int arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tlt_int_tint requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tlt_int_tint(arg0, arg1); + } + + /** + * MEOS {@code tlt_temporal_temporal} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: temporal comparison (per-instant)

+ */ + public static jnr.ffi.Pointer tlt_temporal_temporal(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tlt_temporal_temporal requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tlt_temporal_temporal(arg0, arg1); + } + + /** + * MEOS {@code tlt_text_ttext} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: temporal comparison (per-instant)

+ */ + public static jnr.ffi.Pointer tlt_text_ttext(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tlt_text_ttext requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tlt_text_ttext(arg0, arg1); + } + + /** + * MEOS {@code tlt_tfloat_float} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: temporal comparison (per-instant)

+ */ + public static jnr.ffi.Pointer tlt_tfloat_float(jnr.ffi.Pointer arg0, double arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tlt_tfloat_float requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tlt_tfloat_float(arg0, arg1); + } + + /** + * MEOS {@code tlt_tint_int} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: temporal comparison (per-instant)

+ */ + public static jnr.ffi.Pointer tlt_tint_int(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tlt_tint_int requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tlt_tint_int(arg0, arg1); + } + + /** + * MEOS {@code tlt_ttext_text} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: temporal comparison (per-instant)

+ */ + public static jnr.ffi.Pointer tlt_ttext_text(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tlt_ttext_text requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tlt_ttext_text(arg0, arg1); + } + + /** + * MEOS {@code tne_bool_tbool} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: temporal comparison (per-instant)

+ */ + public static jnr.ffi.Pointer tne_bool_tbool(boolean arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tne_bool_tbool requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tne_bool_tbool(arg0, arg1); + } + + /** + * MEOS {@code tne_float_tfloat} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: temporal comparison (per-instant)

+ */ + public static jnr.ffi.Pointer tne_float_tfloat(double arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tne_float_tfloat requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tne_float_tfloat(arg0, arg1); + } + + /** + * MEOS {@code tne_int_tint} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: temporal comparison (per-instant)

+ */ + public static jnr.ffi.Pointer tne_int_tint(int arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tne_int_tint requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tne_int_tint(arg0, arg1); + } + + /** + * MEOS {@code tne_tbool_bool} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: temporal comparison (per-instant)

+ */ + public static jnr.ffi.Pointer tne_tbool_bool(jnr.ffi.Pointer arg0, boolean arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tne_tbool_bool requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tne_tbool_bool(arg0, arg1); + } + + /** + * MEOS {@code tne_temporal_temporal} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: temporal comparison (per-instant)

+ */ + public static jnr.ffi.Pointer tne_temporal_temporal(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tne_temporal_temporal requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tne_temporal_temporal(arg0, arg1); + } + + /** + * MEOS {@code tne_text_ttext} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: temporal comparison (per-instant)

+ */ + public static jnr.ffi.Pointer tne_text_ttext(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tne_text_ttext requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tne_text_ttext(arg0, arg1); + } + + /** + * MEOS {@code tne_tfloat_float} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: temporal comparison (per-instant)

+ */ + public static jnr.ffi.Pointer tne_tfloat_float(jnr.ffi.Pointer arg0, double arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tne_tfloat_float requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tne_tfloat_float(arg0, arg1); + } + + /** + * MEOS {@code tne_tint_int} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: temporal comparison (per-instant)

+ */ + public static jnr.ffi.Pointer tne_tint_int(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tne_tint_int requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tne_tint_int(arg0, arg1); + } + + /** + * MEOS {@code tne_ttext_text} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: temporal comparison (per-instant)

+ */ + public static jnr.ffi.Pointer tne_ttext_text(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tne_ttext_text requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tne_ttext_text(arg0, arg1); + } + + /** + * MEOS {@code union_bigint_set} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static jnr.ffi.Pointer union_bigint_set(long arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "union_bigint_set requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.union_bigint_set(arg0, arg1); + } + + /** + * MEOS {@code union_bigint_span} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static jnr.ffi.Pointer union_bigint_span(jnr.ffi.Pointer arg0, long arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "union_bigint_span requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.union_bigint_span(arg0, arg1); + } + + /** + * MEOS {@code union_bigint_spanset} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static jnr.ffi.Pointer union_bigint_spanset(long arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "union_bigint_spanset requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.union_bigint_spanset(arg0, arg1); + } + + /** + * MEOS {@code union_date_set} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static jnr.ffi.Pointer union_date_set(int arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "union_date_set requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.union_date_set(arg0, arg1); + } + + /** + * MEOS {@code union_date_span} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static jnr.ffi.Pointer union_date_span(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "union_date_span requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.union_date_span(arg0, arg1); + } + + /** + * MEOS {@code union_date_spanset} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static jnr.ffi.Pointer union_date_spanset(int arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "union_date_spanset requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.union_date_spanset(arg0, arg1); + } + + /** + * MEOS {@code union_float_set} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static jnr.ffi.Pointer union_float_set(double arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "union_float_set requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.union_float_set(arg0, arg1); + } + + /** + * MEOS {@code union_float_span} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static jnr.ffi.Pointer union_float_span(jnr.ffi.Pointer arg0, double arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "union_float_span requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.union_float_span(arg0, arg1); + } + + /** + * MEOS {@code union_float_spanset} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static jnr.ffi.Pointer union_float_spanset(double arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "union_float_spanset requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.union_float_spanset(arg0, arg1); + } + + /** + * MEOS {@code union_int_set} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static jnr.ffi.Pointer union_int_set(int arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "union_int_set requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.union_int_set(arg0, arg1); + } + + /** + * MEOS {@code union_int_span} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static jnr.ffi.Pointer union_int_span(int arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "union_int_span requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.union_int_span(arg0, arg1); + } + + /** + * MEOS {@code union_int_spanset} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static jnr.ffi.Pointer union_int_spanset(int arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "union_int_spanset requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.union_int_spanset(arg0, arg1); + } + + /** + * MEOS {@code union_set_bigint} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static jnr.ffi.Pointer union_set_bigint(jnr.ffi.Pointer arg0, long arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "union_set_bigint requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.union_set_bigint(arg0, arg1); + } + + /** + * MEOS {@code union_set_date} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static jnr.ffi.Pointer union_set_date(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "union_set_date requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.union_set_date(arg0, arg1); + } + + /** + * MEOS {@code union_set_float} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static jnr.ffi.Pointer union_set_float(jnr.ffi.Pointer arg0, double arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "union_set_float requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.union_set_float(arg0, arg1); + } + + /** + * MEOS {@code union_set_int} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static jnr.ffi.Pointer union_set_int(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "union_set_int requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.union_set_int(arg0, arg1); + } + + /** + * MEOS {@code union_set_set} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static jnr.ffi.Pointer union_set_set(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "union_set_set requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.union_set_set(arg0, arg1); + } + + /** + * MEOS {@code union_set_text} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static jnr.ffi.Pointer union_set_text(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "union_set_text requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.union_set_text(arg0, arg1); + } + + /** + * MEOS {@code union_set_timestamptz} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static jnr.ffi.Pointer union_set_timestamptz(jnr.ffi.Pointer arg0, java.time.OffsetDateTime arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "union_set_timestamptz requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.union_set_timestamptz(arg0, arg1); + } + + /** + * MEOS {@code union_span_bigint} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static jnr.ffi.Pointer union_span_bigint(jnr.ffi.Pointer arg0, long arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "union_span_bigint requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.union_span_bigint(arg0, arg1); + } + + /** + * MEOS {@code union_span_date} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static jnr.ffi.Pointer union_span_date(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "union_span_date requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.union_span_date(arg0, arg1); + } + + /** + * MEOS {@code union_span_float} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static jnr.ffi.Pointer union_span_float(jnr.ffi.Pointer arg0, double arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "union_span_float requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.union_span_float(arg0, arg1); + } + + /** + * MEOS {@code union_span_int} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static jnr.ffi.Pointer union_span_int(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "union_span_int requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.union_span_int(arg0, arg1); + } + + /** + * MEOS {@code union_span_span} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static jnr.ffi.Pointer union_span_span(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "union_span_span requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.union_span_span(arg0, arg1); + } + + /** + * MEOS {@code union_span_spanset} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static jnr.ffi.Pointer union_span_spanset(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "union_span_spanset requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.union_span_spanset(arg0, arg1); + } + + /** + * MEOS {@code union_span_timestamptz} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static jnr.ffi.Pointer union_span_timestamptz(jnr.ffi.Pointer arg0, java.time.OffsetDateTime arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "union_span_timestamptz requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.union_span_timestamptz(arg0, arg1); + } + + /** + * MEOS {@code union_spanset_bigint} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static jnr.ffi.Pointer union_spanset_bigint(jnr.ffi.Pointer arg0, long arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "union_spanset_bigint requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.union_spanset_bigint(arg0, arg1); + } + + /** + * MEOS {@code union_spanset_date} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static jnr.ffi.Pointer union_spanset_date(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "union_spanset_date requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.union_spanset_date(arg0, arg1); + } + + /** + * MEOS {@code union_spanset_float} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static jnr.ffi.Pointer union_spanset_float(jnr.ffi.Pointer arg0, double arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "union_spanset_float requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.union_spanset_float(arg0, arg1); + } + + /** + * MEOS {@code union_spanset_int} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static jnr.ffi.Pointer union_spanset_int(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "union_spanset_int requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.union_spanset_int(arg0, arg1); + } + + /** + * MEOS {@code union_spanset_span} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static jnr.ffi.Pointer union_spanset_span(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "union_spanset_span requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.union_spanset_span(arg0, arg1); + } + + /** + * MEOS {@code union_spanset_spanset} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static jnr.ffi.Pointer union_spanset_spanset(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "union_spanset_spanset requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.union_spanset_spanset(arg0, arg1); + } + + /** + * MEOS {@code union_spanset_timestamptz} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static jnr.ffi.Pointer union_spanset_timestamptz(jnr.ffi.Pointer arg0, java.time.OffsetDateTime arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "union_spanset_timestamptz requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.union_spanset_timestamptz(arg0, arg1); + } + + /** + * MEOS {@code union_tbox_tbox} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static jnr.ffi.Pointer union_tbox_tbox(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1, boolean arg2) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "union_tbox_tbox requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.union_tbox_tbox(arg0, arg1, arg2); + } + + /** + * MEOS {@code union_text_set} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static jnr.ffi.Pointer union_text_set(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "union_text_set requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.union_text_set(arg0, arg1); + } + + /** + * MEOS {@code union_timestamptz_set} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static jnr.ffi.Pointer union_timestamptz_set(java.time.OffsetDateTime arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "union_timestamptz_set requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.union_timestamptz_set(arg0, arg1); + } + + /** + * MEOS {@code union_timestamptz_span} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static jnr.ffi.Pointer union_timestamptz_span(java.time.OffsetDateTime arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "union_timestamptz_span requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.union_timestamptz_span(arg0, arg1); + } + + /** + * MEOS {@code union_timestamptz_spanset} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static jnr.ffi.Pointer union_timestamptz_spanset(java.time.OffsetDateTime arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "union_timestamptz_spanset requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.union_timestamptz_spanset(arg0, arg1); + } + + /** + * MEOS {@code adjacent_numspan_tnumber} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: topology/position rel on 1 temporal + scalar

+ */ + public static boolean adjacent_numspan_tnumber(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "adjacent_numspan_tnumber requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.adjacent_numspan_tnumber(arg0, arg1); + } + + /** + * MEOS {@code adjacent_temporal_tstzspan} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: topology/position rel on 1 temporal + scalar

+ */ + public static boolean adjacent_temporal_tstzspan(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "adjacent_temporal_tstzspan requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.adjacent_temporal_tstzspan(arg0, arg1); + } + + /** + * MEOS {@code adjacent_tnumber_numspan} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: topology/position rel on 1 temporal + scalar

+ */ + public static boolean adjacent_tnumber_numspan(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "adjacent_tnumber_numspan requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.adjacent_tnumber_numspan(arg0, arg1); + } + + /** + * MEOS {@code adjacent_tnumber_tbox} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: topology/position rel on 1 temporal + scalar

+ */ + public static boolean adjacent_tnumber_tbox(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "adjacent_tnumber_tbox requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.adjacent_tnumber_tbox(arg0, arg1); + } + + /** + * MEOS {@code adjacent_tstzspan_temporal} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: topology/position rel on 1 temporal + scalar

+ */ + public static boolean adjacent_tstzspan_temporal(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "adjacent_tstzspan_temporal requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.adjacent_tstzspan_temporal(arg0, arg1); + } + + /** + * MEOS {@code after_temporal_tstzspan} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: topology/position rel on 1 temporal + scalar

+ */ + public static boolean after_temporal_tstzspan(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "after_temporal_tstzspan requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.after_temporal_tstzspan(arg0, arg1); + } + + /** + * MEOS {@code after_tnumber_tbox} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: topology/position rel on 1 temporal + scalar

+ */ + public static boolean after_tnumber_tbox(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "after_tnumber_tbox requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.after_tnumber_tbox(arg0, arg1); + } + + /** + * MEOS {@code after_tstzspan_temporal} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: topology/position rel on 1 temporal + scalar

+ */ + public static boolean after_tstzspan_temporal(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "after_tstzspan_temporal requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.after_tstzspan_temporal(arg0, arg1); + } + + /** + * MEOS {@code before_temporal_tstzspan} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: topology/position rel on 1 temporal + scalar

+ */ + public static boolean before_temporal_tstzspan(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "before_temporal_tstzspan requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.before_temporal_tstzspan(arg0, arg1); + } + + /** + * MEOS {@code before_tnumber_tbox} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: topology/position rel on 1 temporal + scalar

+ */ + public static boolean before_tnumber_tbox(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "before_tnumber_tbox requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.before_tnumber_tbox(arg0, arg1); + } + + /** + * MEOS {@code before_tstzspan_temporal} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: topology/position rel on 1 temporal + scalar

+ */ + public static boolean before_tstzspan_temporal(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "before_tstzspan_temporal requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.before_tstzspan_temporal(arg0, arg1); + } + + /** + * MEOS {@code contained_numspan_tnumber} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: topology/position rel on 1 temporal + scalar

+ */ + public static boolean contained_numspan_tnumber(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "contained_numspan_tnumber requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.contained_numspan_tnumber(arg0, arg1); + } + + /** + * MEOS {@code contained_temporal_tstzspan} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: topology/position rel on 1 temporal + scalar

+ */ + public static boolean contained_temporal_tstzspan(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "contained_temporal_tstzspan requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.contained_temporal_tstzspan(arg0, arg1); + } + + /** + * MEOS {@code contained_tnumber_numspan} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: topology/position rel on 1 temporal + scalar

+ */ + public static boolean contained_tnumber_numspan(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "contained_tnumber_numspan requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.contained_tnumber_numspan(arg0, arg1); + } + + /** + * MEOS {@code contained_tnumber_tbox} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: topology/position rel on 1 temporal + scalar

+ */ + public static boolean contained_tnumber_tbox(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "contained_tnumber_tbox requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.contained_tnumber_tbox(arg0, arg1); + } + + /** + * MEOS {@code contained_tstzspan_temporal} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: topology/position rel on 1 temporal + scalar

+ */ + public static boolean contained_tstzspan_temporal(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "contained_tstzspan_temporal requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.contained_tstzspan_temporal(arg0, arg1); + } + + /** + * MEOS {@code contains_numspan_tnumber} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: topology/position rel on 1 temporal + scalar

+ */ + public static boolean contains_numspan_tnumber(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "contains_numspan_tnumber requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.contains_numspan_tnumber(arg0, arg1); + } + + /** + * MEOS {@code contains_temporal_tstzspan} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: topology/position rel on 1 temporal + scalar

+ */ + public static boolean contains_temporal_tstzspan(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "contains_temporal_tstzspan requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.contains_temporal_tstzspan(arg0, arg1); + } + + /** + * MEOS {@code contains_tnumber_numspan} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: topology/position rel on 1 temporal + scalar

+ */ + public static boolean contains_tnumber_numspan(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "contains_tnumber_numspan requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.contains_tnumber_numspan(arg0, arg1); + } + + /** + * MEOS {@code contains_tnumber_tbox} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: topology/position rel on 1 temporal + scalar

+ */ + public static boolean contains_tnumber_tbox(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "contains_tnumber_tbox requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.contains_tnumber_tbox(arg0, arg1); + } + + /** + * MEOS {@code contains_tstzspan_temporal} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: topology/position rel on 1 temporal + scalar

+ */ + public static boolean contains_tstzspan_temporal(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "contains_tstzspan_temporal requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.contains_tstzspan_temporal(arg0, arg1); + } + + /** + * MEOS {@code distance_bigintset_bigintset} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: distance op

+ */ + public static long distance_bigintset_bigintset(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "distance_bigintset_bigintset requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.distance_bigintset_bigintset(arg0, arg1); + } + + /** + * MEOS {@code distance_bigintspan_bigintspan} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: distance op

+ */ + public static long distance_bigintspan_bigintspan(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "distance_bigintspan_bigintspan requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.distance_bigintspan_bigintspan(arg0, arg1); + } + + /** + * MEOS {@code distance_bigintspanset_bigintspan} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: distance op

+ */ + public static long distance_bigintspanset_bigintspan(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "distance_bigintspanset_bigintspan requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.distance_bigintspanset_bigintspan(arg0, arg1); + } + + /** + * MEOS {@code distance_bigintspanset_bigintspanset} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: distance op

+ */ + public static long distance_bigintspanset_bigintspanset(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "distance_bigintspanset_bigintspanset requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.distance_bigintspanset_bigintspanset(arg0, arg1); + } + + /** + * MEOS {@code distance_dateset_dateset} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: distance op

+ */ + public static int distance_dateset_dateset(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "distance_dateset_dateset requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.distance_dateset_dateset(arg0, arg1); + } + + /** + * MEOS {@code distance_datespan_datespan} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: distance op

+ */ + public static int distance_datespan_datespan(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "distance_datespan_datespan requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.distance_datespan_datespan(arg0, arg1); + } + + /** + * MEOS {@code distance_datespanset_datespan} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: distance op

+ */ + public static int distance_datespanset_datespan(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "distance_datespanset_datespan requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.distance_datespanset_datespan(arg0, arg1); + } + + /** + * MEOS {@code distance_datespanset_datespanset} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: distance op

+ */ + public static int distance_datespanset_datespanset(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "distance_datespanset_datespanset requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.distance_datespanset_datespanset(arg0, arg1); + } + + /** + * MEOS {@code distance_floatset_floatset} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: distance op

+ */ + public static double distance_floatset_floatset(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "distance_floatset_floatset requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.distance_floatset_floatset(arg0, arg1); + } + + /** + * MEOS {@code distance_floatspan_floatspan} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: distance op

+ */ + public static double distance_floatspan_floatspan(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "distance_floatspan_floatspan requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.distance_floatspan_floatspan(arg0, arg1); + } + + /** + * MEOS {@code distance_floatspanset_floatspan} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: distance op

+ */ + public static double distance_floatspanset_floatspan(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "distance_floatspanset_floatspan requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.distance_floatspanset_floatspan(arg0, arg1); + } + + /** + * MEOS {@code distance_floatspanset_floatspanset} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: distance op

+ */ + public static double distance_floatspanset_floatspanset(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "distance_floatspanset_floatspanset requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.distance_floatspanset_floatspanset(arg0, arg1); + } + + /** + * MEOS {@code distance_intset_intset} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: distance op

+ */ + public static int distance_intset_intset(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "distance_intset_intset requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.distance_intset_intset(arg0, arg1); + } + + /** + * MEOS {@code distance_intspan_intspan} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: distance op

+ */ + public static int distance_intspan_intspan(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "distance_intspan_intspan requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.distance_intspan_intspan(arg0, arg1); + } + + /** + * MEOS {@code distance_intspanset_intspan} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: distance op

+ */ + public static int distance_intspanset_intspan(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "distance_intspanset_intspan requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.distance_intspanset_intspan(arg0, arg1); + } + + /** + * MEOS {@code distance_intspanset_intspanset} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: distance op

+ */ + public static int distance_intspanset_intspanset(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "distance_intspanset_intspanset requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.distance_intspanset_intspanset(arg0, arg1); + } + + /** + * MEOS {@code distance_set_bigint} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: distance op

+ */ + public static long distance_set_bigint(jnr.ffi.Pointer arg0, long arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "distance_set_bigint requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.distance_set_bigint(arg0, arg1); + } + + /** + * MEOS {@code distance_set_date} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: distance op

+ */ + public static int distance_set_date(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "distance_set_date requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.distance_set_date(arg0, arg1); + } + + /** + * MEOS {@code distance_set_float} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: distance op

+ */ + public static double distance_set_float(jnr.ffi.Pointer arg0, double arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "distance_set_float requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.distance_set_float(arg0, arg1); + } + + /** + * MEOS {@code distance_set_int} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: distance op

+ */ + public static int distance_set_int(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "distance_set_int requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.distance_set_int(arg0, arg1); + } + + /** + * MEOS {@code distance_set_timestamptz} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: distance op

+ */ + public static double distance_set_timestamptz(jnr.ffi.Pointer arg0, java.time.OffsetDateTime arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "distance_set_timestamptz requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.distance_set_timestamptz(arg0, arg1); + } + + /** + * MEOS {@code distance_span_bigint} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: distance op

+ */ + public static long distance_span_bigint(jnr.ffi.Pointer arg0, long arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "distance_span_bigint requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.distance_span_bigint(arg0, arg1); + } + + /** + * MEOS {@code distance_span_date} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: distance op

+ */ + public static int distance_span_date(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "distance_span_date requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.distance_span_date(arg0, arg1); + } + + /** + * MEOS {@code distance_span_float} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: distance op

+ */ + public static double distance_span_float(jnr.ffi.Pointer arg0, double arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "distance_span_float requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.distance_span_float(arg0, arg1); + } + + /** + * MEOS {@code distance_span_int} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: distance op

+ */ + public static int distance_span_int(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "distance_span_int requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.distance_span_int(arg0, arg1); + } + + /** + * MEOS {@code distance_span_timestamptz} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: distance op

+ */ + public static double distance_span_timestamptz(jnr.ffi.Pointer arg0, java.time.OffsetDateTime arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "distance_span_timestamptz requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.distance_span_timestamptz(arg0, arg1); + } + + /** + * MEOS {@code distance_spanset_bigint} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: distance op

+ */ + public static long distance_spanset_bigint(jnr.ffi.Pointer arg0, long arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "distance_spanset_bigint requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.distance_spanset_bigint(arg0, arg1); + } + + /** + * MEOS {@code distance_spanset_date} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: distance op

+ */ + public static int distance_spanset_date(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "distance_spanset_date requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.distance_spanset_date(arg0, arg1); + } + + /** + * MEOS {@code distance_spanset_float} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: distance op

+ */ + public static double distance_spanset_float(jnr.ffi.Pointer arg0, double arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "distance_spanset_float requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.distance_spanset_float(arg0, arg1); + } + + /** + * MEOS {@code distance_spanset_int} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: distance op

+ */ + public static int distance_spanset_int(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "distance_spanset_int requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.distance_spanset_int(arg0, arg1); + } + + /** + * MEOS {@code distance_spanset_timestamptz} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: distance op

+ */ + public static double distance_spanset_timestamptz(jnr.ffi.Pointer arg0, java.time.OffsetDateTime arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "distance_spanset_timestamptz requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.distance_spanset_timestamptz(arg0, arg1); + } + + /** + * MEOS {@code distance_tstzset_tstzset} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: distance op

+ */ + public static double distance_tstzset_tstzset(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "distance_tstzset_tstzset requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.distance_tstzset_tstzset(arg0, arg1); + } + + /** + * MEOS {@code distance_tstzspan_tstzspan} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: distance op

+ */ + public static double distance_tstzspan_tstzspan(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "distance_tstzspan_tstzspan requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.distance_tstzspan_tstzspan(arg0, arg1); + } + + /** + * MEOS {@code distance_tstzspanset_tstzspan} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: distance op

+ */ + public static double distance_tstzspanset_tstzspan(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "distance_tstzspanset_tstzspan requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.distance_tstzspanset_tstzspan(arg0, arg1); + } + + /** + * MEOS {@code distance_tstzspanset_tstzspanset} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: distance op

+ */ + public static double distance_tstzspanset_tstzspanset(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "distance_tstzspanset_tstzspanset requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.distance_tstzspanset_tstzspanset(arg0, arg1); + } + + /** + * MEOS {@code left_numspan_tnumber} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: topology/position rel on 1 temporal + scalar

+ */ + public static boolean left_numspan_tnumber(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "left_numspan_tnumber requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.left_numspan_tnumber(arg0, arg1); + } + + /** + * MEOS {@code left_tnumber_numspan} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: topology/position rel on 1 temporal + scalar

+ */ + public static boolean left_tnumber_numspan(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "left_tnumber_numspan requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.left_tnumber_numspan(arg0, arg1); + } + + /** + * MEOS {@code left_tnumber_tbox} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: topology/position rel on 1 temporal + scalar

+ */ + public static boolean left_tnumber_tbox(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "left_tnumber_tbox requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.left_tnumber_tbox(arg0, arg1); + } + + /** + * MEOS {@code minus_bigint_set} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: restriction name pattern

+ */ + public static jnr.ffi.Pointer minus_bigint_set(long arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "minus_bigint_set requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.minus_bigint_set(arg0, arg1); + } + + /** + * MEOS {@code minus_bigint_span} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: restriction name pattern

+ */ + public static jnr.ffi.Pointer minus_bigint_span(long arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "minus_bigint_span requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.minus_bigint_span(arg0, arg1); + } + + /** + * MEOS {@code minus_bigint_spanset} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: restriction name pattern

+ */ + public static jnr.ffi.Pointer minus_bigint_spanset(long arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "minus_bigint_spanset requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.minus_bigint_spanset(arg0, arg1); + } + + /** + * MEOS {@code minus_date_date} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: restriction name pattern

+ */ + public static int minus_date_date(int arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "minus_date_date requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.minus_date_date(arg0, arg1); + } + + /** + * MEOS {@code minus_date_int} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: restriction name pattern

+ */ + public static int minus_date_int(int arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "minus_date_int requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.minus_date_int(arg0, arg1); + } + + /** + * MEOS {@code minus_date_set} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: restriction name pattern

+ */ + public static jnr.ffi.Pointer minus_date_set(int arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "minus_date_set requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.minus_date_set(arg0, arg1); + } + + /** + * MEOS {@code minus_date_span} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: restriction name pattern

+ */ + public static jnr.ffi.Pointer minus_date_span(int arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "minus_date_span requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.minus_date_span(arg0, arg1); + } + + /** + * MEOS {@code minus_date_spanset} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: restriction name pattern

+ */ + public static jnr.ffi.Pointer minus_date_spanset(int arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "minus_date_spanset requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.minus_date_spanset(arg0, arg1); + } + + /** + * MEOS {@code minus_float_set} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: restriction name pattern

+ */ + public static jnr.ffi.Pointer minus_float_set(double arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "minus_float_set requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.minus_float_set(arg0, arg1); + } + + /** + * MEOS {@code minus_float_span} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: restriction name pattern

+ */ + public static jnr.ffi.Pointer minus_float_span(double arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "minus_float_span requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.minus_float_span(arg0, arg1); + } + + /** + * MEOS {@code minus_float_spanset} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: restriction name pattern

+ */ + public static jnr.ffi.Pointer minus_float_spanset(double arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "minus_float_spanset requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.minus_float_spanset(arg0, arg1); + } + + /** + * MEOS {@code minus_int_set} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: restriction name pattern

+ */ + public static jnr.ffi.Pointer minus_int_set(int arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "minus_int_set requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.minus_int_set(arg0, arg1); + } + + /** + * MEOS {@code minus_int_span} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: restriction name pattern

+ */ + public static jnr.ffi.Pointer minus_int_span(int arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "minus_int_span requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.minus_int_span(arg0, arg1); + } + + /** + * MEOS {@code minus_int_spanset} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: restriction name pattern

+ */ + public static jnr.ffi.Pointer minus_int_spanset(int arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "minus_int_spanset requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.minus_int_spanset(arg0, arg1); + } + + /** + * MEOS {@code minus_set_bigint} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: restriction name pattern

+ */ + public static jnr.ffi.Pointer minus_set_bigint(jnr.ffi.Pointer arg0, long arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "minus_set_bigint requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.minus_set_bigint(arg0, arg1); + } + + /** + * MEOS {@code minus_set_date} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: restriction name pattern

+ */ + public static jnr.ffi.Pointer minus_set_date(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "minus_set_date requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.minus_set_date(arg0, arg1); + } + + /** + * MEOS {@code minus_set_float} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: restriction name pattern

+ */ + public static jnr.ffi.Pointer minus_set_float(jnr.ffi.Pointer arg0, double arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "minus_set_float requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.minus_set_float(arg0, arg1); + } + + /** + * MEOS {@code minus_set_int} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: restriction name pattern

+ */ + public static jnr.ffi.Pointer minus_set_int(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "minus_set_int requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.minus_set_int(arg0, arg1); + } + + /** + * MEOS {@code minus_set_set} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: restriction name pattern

+ */ + public static jnr.ffi.Pointer minus_set_set(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "minus_set_set requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.minus_set_set(arg0, arg1); + } + + /** + * MEOS {@code minus_set_text} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: restriction name pattern

+ */ + public static jnr.ffi.Pointer minus_set_text(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "minus_set_text requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.minus_set_text(arg0, arg1); + } + + /** + * MEOS {@code minus_set_timestamptz} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: restriction name pattern

+ */ + public static jnr.ffi.Pointer minus_set_timestamptz(jnr.ffi.Pointer arg0, java.time.OffsetDateTime arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "minus_set_timestamptz requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.minus_set_timestamptz(arg0, arg1); + } + + /** + * MEOS {@code minus_span_bigint} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: restriction name pattern

+ */ + public static jnr.ffi.Pointer minus_span_bigint(jnr.ffi.Pointer arg0, long arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "minus_span_bigint requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.minus_span_bigint(arg0, arg1); + } + + /** + * MEOS {@code minus_span_date} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: restriction name pattern

+ */ + public static jnr.ffi.Pointer minus_span_date(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "minus_span_date requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.minus_span_date(arg0, arg1); + } + + /** + * MEOS {@code minus_span_float} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: restriction name pattern

+ */ + public static jnr.ffi.Pointer minus_span_float(jnr.ffi.Pointer arg0, double arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "minus_span_float requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.minus_span_float(arg0, arg1); + } + + /** + * MEOS {@code minus_span_int} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: restriction name pattern

+ */ + public static jnr.ffi.Pointer minus_span_int(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "minus_span_int requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.minus_span_int(arg0, arg1); + } + + /** + * MEOS {@code minus_span_span} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: restriction name pattern

+ */ + public static jnr.ffi.Pointer minus_span_span(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "minus_span_span requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.minus_span_span(arg0, arg1); + } + + /** + * MEOS {@code minus_span_spanset} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: restriction name pattern

+ */ + public static jnr.ffi.Pointer minus_span_spanset(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "minus_span_spanset requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.minus_span_spanset(arg0, arg1); + } + + /** + * MEOS {@code minus_span_timestamptz} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: restriction name pattern

+ */ + public static jnr.ffi.Pointer minus_span_timestamptz(jnr.ffi.Pointer arg0, java.time.OffsetDateTime arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "minus_span_timestamptz requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.minus_span_timestamptz(arg0, arg1); + } + + /** + * MEOS {@code minus_spanset_bigint} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: restriction name pattern

+ */ + public static jnr.ffi.Pointer minus_spanset_bigint(jnr.ffi.Pointer arg0, long arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "minus_spanset_bigint requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.minus_spanset_bigint(arg0, arg1); + } + + /** + * MEOS {@code minus_spanset_date} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: restriction name pattern

+ */ + public static jnr.ffi.Pointer minus_spanset_date(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "minus_spanset_date requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.minus_spanset_date(arg0, arg1); + } + + /** + * MEOS {@code minus_spanset_float} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: restriction name pattern

+ */ + public static jnr.ffi.Pointer minus_spanset_float(jnr.ffi.Pointer arg0, double arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "minus_spanset_float requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.minus_spanset_float(arg0, arg1); + } + + /** + * MEOS {@code minus_spanset_int} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: restriction name pattern

+ */ + public static jnr.ffi.Pointer minus_spanset_int(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "minus_spanset_int requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.minus_spanset_int(arg0, arg1); + } + + /** + * MEOS {@code minus_spanset_span} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: restriction name pattern

+ */ + public static jnr.ffi.Pointer minus_spanset_span(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "minus_spanset_span requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.minus_spanset_span(arg0, arg1); + } + + /** + * MEOS {@code minus_spanset_spanset} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: restriction name pattern

+ */ + public static jnr.ffi.Pointer minus_spanset_spanset(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "minus_spanset_spanset requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.minus_spanset_spanset(arg0, arg1); + } + + /** + * MEOS {@code minus_spanset_timestamptz} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: restriction name pattern

+ */ + public static jnr.ffi.Pointer minus_spanset_timestamptz(jnr.ffi.Pointer arg0, java.time.OffsetDateTime arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "minus_spanset_timestamptz requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.minus_spanset_timestamptz(arg0, arg1); + } + + /** + * MEOS {@code minus_text_set} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: restriction name pattern

+ */ + public static jnr.ffi.Pointer minus_text_set(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "minus_text_set requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.minus_text_set(arg0, arg1); + } + + /** + * MEOS {@code minus_timestamptz_interval} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: restriction name pattern

+ */ + public static java.time.OffsetDateTime minus_timestamptz_interval(java.time.OffsetDateTime arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "minus_timestamptz_interval requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.minus_timestamptz_interval(arg0, arg1); + } + + /** + * MEOS {@code minus_timestamptz_set} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: restriction name pattern

+ */ + public static jnr.ffi.Pointer minus_timestamptz_set(java.time.OffsetDateTime arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "minus_timestamptz_set requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.minus_timestamptz_set(arg0, arg1); + } + + /** + * MEOS {@code minus_timestamptz_span} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: restriction name pattern

+ */ + public static jnr.ffi.Pointer minus_timestamptz_span(java.time.OffsetDateTime arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "minus_timestamptz_span requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.minus_timestamptz_span(arg0, arg1); + } + + /** + * MEOS {@code minus_timestamptz_spanset} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: restriction name pattern

+ */ + public static jnr.ffi.Pointer minus_timestamptz_spanset(java.time.OffsetDateTime arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "minus_timestamptz_spanset requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.minus_timestamptz_spanset(arg0, arg1); + } + + /** + * MEOS {@code minus_timestamptz_timestamptz} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: restriction name pattern

+ */ + public static jnr.ffi.Pointer minus_timestamptz_timestamptz(java.time.OffsetDateTime arg0, java.time.OffsetDateTime arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "minus_timestamptz_timestamptz requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.minus_timestamptz_timestamptz(arg0, arg1); + } + + /** + * MEOS {@code nad_tboxfloat_tboxfloat} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: distance op

+ */ + public static double nad_tboxfloat_tboxfloat(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "nad_tboxfloat_tboxfloat requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.nad_tboxfloat_tboxfloat(arg0, arg1); + } + + /** + * MEOS {@code nad_tboxint_tboxint} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: distance op

+ */ + public static int nad_tboxint_tboxint(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "nad_tboxint_tboxint requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.nad_tboxint_tboxint(arg0, arg1); + } + + /** + * MEOS {@code nad_tfloat_float} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: distance op

+ */ + public static double nad_tfloat_float(jnr.ffi.Pointer arg0, double arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "nad_tfloat_float requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.nad_tfloat_float(arg0, arg1); + } + + /** + * MEOS {@code nad_tfloat_tbox} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: distance op

+ */ + public static double nad_tfloat_tbox(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "nad_tfloat_tbox requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.nad_tfloat_tbox(arg0, arg1); + } + + /** + * MEOS {@code nad_tint_int} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: distance op

+ */ + public static int nad_tint_int(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "nad_tint_int requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.nad_tint_int(arg0, arg1); + } + + /** + * MEOS {@code nad_tint_tbox} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: distance op

+ */ + public static int nad_tint_tbox(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "nad_tint_tbox requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.nad_tint_tbox(arg0, arg1); + } + + /** + * MEOS {@code overafter_temporal_tstzspan} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: topology/position rel on 1 temporal + scalar

+ */ + public static boolean overafter_temporal_tstzspan(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "overafter_temporal_tstzspan requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.overafter_temporal_tstzspan(arg0, arg1); + } + + /** + * MEOS {@code overafter_tnumber_tbox} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: topology/position rel on 1 temporal + scalar

+ */ + public static boolean overafter_tnumber_tbox(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "overafter_tnumber_tbox requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.overafter_tnumber_tbox(arg0, arg1); + } + + /** + * MEOS {@code overafter_tstzspan_temporal} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: topology/position rel on 1 temporal + scalar

+ */ + public static boolean overafter_tstzspan_temporal(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "overafter_tstzspan_temporal requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.overafter_tstzspan_temporal(arg0, arg1); + } + + /** + * MEOS {@code overbefore_temporal_tstzspan} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: topology/position rel on 1 temporal + scalar

+ */ + public static boolean overbefore_temporal_tstzspan(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "overbefore_temporal_tstzspan requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.overbefore_temporal_tstzspan(arg0, arg1); + } + + /** + * MEOS {@code overbefore_tnumber_tbox} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: topology/position rel on 1 temporal + scalar

+ */ + public static boolean overbefore_tnumber_tbox(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "overbefore_tnumber_tbox requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.overbefore_tnumber_tbox(arg0, arg1); + } + + /** + * MEOS {@code overbefore_tstzspan_temporal} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: topology/position rel on 1 temporal + scalar

+ */ + public static boolean overbefore_tstzspan_temporal(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "overbefore_tstzspan_temporal requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.overbefore_tstzspan_temporal(arg0, arg1); + } + + /** + * MEOS {@code overlaps_numspan_tnumber} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: topology/position rel on 1 temporal + scalar

+ */ + public static boolean overlaps_numspan_tnumber(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "overlaps_numspan_tnumber requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.overlaps_numspan_tnumber(arg0, arg1); + } + + /** + * MEOS {@code overlaps_temporal_tstzspan} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: topology/position rel on 1 temporal + scalar

+ */ + public static boolean overlaps_temporal_tstzspan(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "overlaps_temporal_tstzspan requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.overlaps_temporal_tstzspan(arg0, arg1); + } + + /** + * MEOS {@code overlaps_tnumber_numspan} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: topology/position rel on 1 temporal + scalar

+ */ + public static boolean overlaps_tnumber_numspan(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "overlaps_tnumber_numspan requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.overlaps_tnumber_numspan(arg0, arg1); + } + + /** + * MEOS {@code overlaps_tnumber_tbox} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: topology/position rel on 1 temporal + scalar

+ */ + public static boolean overlaps_tnumber_tbox(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "overlaps_tnumber_tbox requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.overlaps_tnumber_tbox(arg0, arg1); + } + + /** + * MEOS {@code overlaps_tstzspan_temporal} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: topology/position rel on 1 temporal + scalar

+ */ + public static boolean overlaps_tstzspan_temporal(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "overlaps_tstzspan_temporal requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.overlaps_tstzspan_temporal(arg0, arg1); + } + + /** + * MEOS {@code overleft_numspan_tnumber} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: topology/position rel on 1 temporal + scalar

+ */ + public static boolean overleft_numspan_tnumber(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "overleft_numspan_tnumber requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.overleft_numspan_tnumber(arg0, arg1); + } + + /** + * MEOS {@code overleft_tnumber_numspan} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: topology/position rel on 1 temporal + scalar

+ */ + public static boolean overleft_tnumber_numspan(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "overleft_tnumber_numspan requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.overleft_tnumber_numspan(arg0, arg1); + } + + /** + * MEOS {@code overleft_tnumber_tbox} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: topology/position rel on 1 temporal + scalar

+ */ + public static boolean overleft_tnumber_tbox(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "overleft_tnumber_tbox requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.overleft_tnumber_tbox(arg0, arg1); + } + + /** + * MEOS {@code overright_numspan_tnumber} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: topology/position rel on 1 temporal + scalar

+ */ + public static boolean overright_numspan_tnumber(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "overright_numspan_tnumber requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.overright_numspan_tnumber(arg0, arg1); + } + + /** + * MEOS {@code overright_tnumber_numspan} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: topology/position rel on 1 temporal + scalar

+ */ + public static boolean overright_tnumber_numspan(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "overright_tnumber_numspan requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.overright_tnumber_numspan(arg0, arg1); + } + + /** + * MEOS {@code overright_tnumber_tbox} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: topology/position rel on 1 temporal + scalar

+ */ + public static boolean overright_tnumber_tbox(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "overright_tnumber_tbox requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.overright_tnumber_tbox(arg0, arg1); + } + + /** + * MEOS {@code right_numspan_tnumber} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: topology/position rel on 1 temporal + scalar

+ */ + public static boolean right_numspan_tnumber(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "right_numspan_tnumber requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.right_numspan_tnumber(arg0, arg1); + } + + /** + * MEOS {@code right_tnumber_numspan} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: topology/position rel on 1 temporal + scalar

+ */ + public static boolean right_tnumber_numspan(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "right_tnumber_numspan requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.right_tnumber_numspan(arg0, arg1); + } + + /** + * MEOS {@code right_tnumber_tbox} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: topology/position rel on 1 temporal + scalar

+ */ + public static boolean right_tnumber_tbox(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "right_tnumber_tbox requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.right_tnumber_tbox(arg0, arg1); + } + + /** + * MEOS {@code tdistance_tfloat_float} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: distance op

+ */ + public static jnr.ffi.Pointer tdistance_tfloat_float(jnr.ffi.Pointer arg0, double arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tdistance_tfloat_float requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tdistance_tfloat_float(arg0, arg1); + } + + /** + * MEOS {@code tdistance_tint_int} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: distance op

+ */ + public static jnr.ffi.Pointer tdistance_tint_int(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tdistance_tint_int requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tdistance_tint_int(arg0, arg1); + } + + /** + * MEOS {@code always_eq_bool_tbool} — tier windowed. + *

Requires window operator — caller wraps in AggregateFunction.

+ *

Free function (not class-classified). Classification rule: ever/always over 1 temporal

+ */ + public static int always_eq_bool_tbool(boolean arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "always_eq_bool_tbool requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.always_eq_bool_tbool(arg0, arg1); + } + + /** + * MEOS {@code always_eq_float_tfloat} — tier windowed. + *

Requires window operator — caller wraps in AggregateFunction.

+ *

Free function (not class-classified). Classification rule: ever/always over 1 temporal

+ */ + public static int always_eq_float_tfloat(double arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "always_eq_float_tfloat requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.always_eq_float_tfloat(arg0, arg1); + } + + /** + * MEOS {@code always_eq_int_tint} — tier windowed. + *

Requires window operator — caller wraps in AggregateFunction.

+ *

Free function (not class-classified). Classification rule: ever/always over 1 temporal

+ */ + public static int always_eq_int_tint(int arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "always_eq_int_tint requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.always_eq_int_tint(arg0, arg1); + } + + /** + * MEOS {@code always_eq_tbool_bool} — tier windowed. + *

Requires window operator — caller wraps in AggregateFunction.

+ *

Free function (not class-classified). Classification rule: ever/always over 1 temporal

+ */ + public static int always_eq_tbool_bool(jnr.ffi.Pointer arg0, boolean arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "always_eq_tbool_bool requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.always_eq_tbool_bool(arg0, arg1); + } + + /** + * MEOS {@code always_eq_text_ttext} — tier windowed. + *

Requires window operator — caller wraps in AggregateFunction.

+ *

Free function (not class-classified). Classification rule: ever/always over 1 temporal

+ */ + public static int always_eq_text_ttext(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "always_eq_text_ttext requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.always_eq_text_ttext(arg0, arg1); + } + + /** + * MEOS {@code always_eq_tfloat_float} — tier windowed. + *

Requires window operator — caller wraps in AggregateFunction.

+ *

Free function (not class-classified). Classification rule: ever/always over 1 temporal

+ */ + public static int always_eq_tfloat_float(jnr.ffi.Pointer arg0, double arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "always_eq_tfloat_float requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.always_eq_tfloat_float(arg0, arg1); + } + + /** + * MEOS {@code always_eq_tint_int} — tier windowed. + *

Requires window operator — caller wraps in AggregateFunction.

+ *

Free function (not class-classified). Classification rule: ever/always over 1 temporal

+ */ + public static int always_eq_tint_int(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "always_eq_tint_int requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.always_eq_tint_int(arg0, arg1); + } + + /** + * MEOS {@code always_eq_ttext_text} — tier windowed. + *

Requires window operator — caller wraps in AggregateFunction.

+ *

Free function (not class-classified). Classification rule: ever/always over 1 temporal

+ */ + public static int always_eq_ttext_text(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "always_eq_ttext_text requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.always_eq_ttext_text(arg0, arg1); + } + + /** + * MEOS {@code always_ge_float_tfloat} — tier windowed. + *

Requires window operator — caller wraps in AggregateFunction.

+ *

Free function (not class-classified). Classification rule: ever/always over 1 temporal

+ */ + public static int always_ge_float_tfloat(double arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "always_ge_float_tfloat requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.always_ge_float_tfloat(arg0, arg1); + } + + /** + * MEOS {@code always_ge_int_tint} — tier windowed. + *

Requires window operator — caller wraps in AggregateFunction.

+ *

Free function (not class-classified). Classification rule: ever/always over 1 temporal

+ */ + public static int always_ge_int_tint(int arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "always_ge_int_tint requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.always_ge_int_tint(arg0, arg1); + } + + /** + * MEOS {@code always_ge_text_ttext} — tier windowed. + *

Requires window operator — caller wraps in AggregateFunction.

+ *

Free function (not class-classified). Classification rule: ever/always over 1 temporal

+ */ + public static int always_ge_text_ttext(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "always_ge_text_ttext requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.always_ge_text_ttext(arg0, arg1); + } + + /** + * MEOS {@code always_ge_tfloat_float} — tier windowed. + *

Requires window operator — caller wraps in AggregateFunction.

+ *

Free function (not class-classified). Classification rule: ever/always over 1 temporal

+ */ + public static int always_ge_tfloat_float(jnr.ffi.Pointer arg0, double arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "always_ge_tfloat_float requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.always_ge_tfloat_float(arg0, arg1); + } + + /** + * MEOS {@code always_ge_tint_int} — tier windowed. + *

Requires window operator — caller wraps in AggregateFunction.

+ *

Free function (not class-classified). Classification rule: ever/always over 1 temporal

+ */ + public static int always_ge_tint_int(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "always_ge_tint_int requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.always_ge_tint_int(arg0, arg1); + } + + /** + * MEOS {@code always_ge_ttext_text} — tier windowed. + *

Requires window operator — caller wraps in AggregateFunction.

+ *

Free function (not class-classified). Classification rule: ever/always over 1 temporal

+ */ + public static int always_ge_ttext_text(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "always_ge_ttext_text requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.always_ge_ttext_text(arg0, arg1); + } + + /** + * MEOS {@code always_gt_float_tfloat} — tier windowed. + *

Requires window operator — caller wraps in AggregateFunction.

+ *

Free function (not class-classified). Classification rule: ever/always over 1 temporal

+ */ + public static int always_gt_float_tfloat(double arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "always_gt_float_tfloat requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.always_gt_float_tfloat(arg0, arg1); + } + + /** + * MEOS {@code always_gt_int_tint} — tier windowed. + *

Requires window operator — caller wraps in AggregateFunction.

+ *

Free function (not class-classified). Classification rule: ever/always over 1 temporal

+ */ + public static int always_gt_int_tint(int arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "always_gt_int_tint requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.always_gt_int_tint(arg0, arg1); + } + + /** + * MEOS {@code always_gt_text_ttext} — tier windowed. + *

Requires window operator — caller wraps in AggregateFunction.

+ *

Free function (not class-classified). Classification rule: ever/always over 1 temporal

+ */ + public static int always_gt_text_ttext(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "always_gt_text_ttext requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.always_gt_text_ttext(arg0, arg1); + } + + /** + * MEOS {@code always_gt_tfloat_float} — tier windowed. + *

Requires window operator — caller wraps in AggregateFunction.

+ *

Free function (not class-classified). Classification rule: ever/always over 1 temporal

+ */ + public static int always_gt_tfloat_float(jnr.ffi.Pointer arg0, double arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "always_gt_tfloat_float requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.always_gt_tfloat_float(arg0, arg1); + } + + /** + * MEOS {@code always_gt_tint_int} — tier windowed. + *

Requires window operator — caller wraps in AggregateFunction.

+ *

Free function (not class-classified). Classification rule: ever/always over 1 temporal

+ */ + public static int always_gt_tint_int(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "always_gt_tint_int requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.always_gt_tint_int(arg0, arg1); + } + + /** + * MEOS {@code always_gt_ttext_text} — tier windowed. + *

Requires window operator — caller wraps in AggregateFunction.

+ *

Free function (not class-classified). Classification rule: ever/always over 1 temporal

+ */ + public static int always_gt_ttext_text(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "always_gt_ttext_text requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.always_gt_ttext_text(arg0, arg1); + } + + /** + * MEOS {@code always_le_float_tfloat} — tier windowed. + *

Requires window operator — caller wraps in AggregateFunction.

+ *

Free function (not class-classified). Classification rule: ever/always over 1 temporal

+ */ + public static int always_le_float_tfloat(double arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "always_le_float_tfloat requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.always_le_float_tfloat(arg0, arg1); + } + + /** + * MEOS {@code always_le_int_tint} — tier windowed. + *

Requires window operator — caller wraps in AggregateFunction.

+ *

Free function (not class-classified). Classification rule: ever/always over 1 temporal

+ */ + public static int always_le_int_tint(int arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "always_le_int_tint requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.always_le_int_tint(arg0, arg1); + } + + /** + * MEOS {@code always_le_text_ttext} — tier windowed. + *

Requires window operator — caller wraps in AggregateFunction.

+ *

Free function (not class-classified). Classification rule: ever/always over 1 temporal

+ */ + public static int always_le_text_ttext(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "always_le_text_ttext requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.always_le_text_ttext(arg0, arg1); + } + + /** + * MEOS {@code always_le_tfloat_float} — tier windowed. + *

Requires window operator — caller wraps in AggregateFunction.

+ *

Free function (not class-classified). Classification rule: ever/always over 1 temporal

+ */ + public static int always_le_tfloat_float(jnr.ffi.Pointer arg0, double arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "always_le_tfloat_float requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.always_le_tfloat_float(arg0, arg1); + } + + /** + * MEOS {@code always_le_tint_int} — tier windowed. + *

Requires window operator — caller wraps in AggregateFunction.

+ *

Free function (not class-classified). Classification rule: ever/always over 1 temporal

+ */ + public static int always_le_tint_int(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "always_le_tint_int requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.always_le_tint_int(arg0, arg1); + } + + /** + * MEOS {@code always_le_ttext_text} — tier windowed. + *

Requires window operator — caller wraps in AggregateFunction.

+ *

Free function (not class-classified). Classification rule: ever/always over 1 temporal

+ */ + public static int always_le_ttext_text(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "always_le_ttext_text requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.always_le_ttext_text(arg0, arg1); + } + + /** + * MEOS {@code always_lt_float_tfloat} — tier windowed. + *

Requires window operator — caller wraps in AggregateFunction.

+ *

Free function (not class-classified). Classification rule: ever/always over 1 temporal

+ */ + public static int always_lt_float_tfloat(double arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "always_lt_float_tfloat requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.always_lt_float_tfloat(arg0, arg1); + } + + /** + * MEOS {@code always_lt_int_tint} — tier windowed. + *

Requires window operator — caller wraps in AggregateFunction.

+ *

Free function (not class-classified). Classification rule: ever/always over 1 temporal

+ */ + public static int always_lt_int_tint(int arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "always_lt_int_tint requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.always_lt_int_tint(arg0, arg1); + } + + /** + * MEOS {@code always_lt_text_ttext} — tier windowed. + *

Requires window operator — caller wraps in AggregateFunction.

+ *

Free function (not class-classified). Classification rule: ever/always over 1 temporal

+ */ + public static int always_lt_text_ttext(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "always_lt_text_ttext requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.always_lt_text_ttext(arg0, arg1); + } + + /** + * MEOS {@code always_lt_tfloat_float} — tier windowed. + *

Requires window operator — caller wraps in AggregateFunction.

+ *

Free function (not class-classified). Classification rule: ever/always over 1 temporal

+ */ + public static int always_lt_tfloat_float(jnr.ffi.Pointer arg0, double arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "always_lt_tfloat_float requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.always_lt_tfloat_float(arg0, arg1); + } + + /** + * MEOS {@code always_lt_tint_int} — tier windowed. + *

Requires window operator — caller wraps in AggregateFunction.

+ *

Free function (not class-classified). Classification rule: ever/always over 1 temporal

+ */ + public static int always_lt_tint_int(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "always_lt_tint_int requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.always_lt_tint_int(arg0, arg1); + } + + /** + * MEOS {@code always_lt_ttext_text} — tier windowed. + *

Requires window operator — caller wraps in AggregateFunction.

+ *

Free function (not class-classified). Classification rule: ever/always over 1 temporal

+ */ + public static int always_lt_ttext_text(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "always_lt_ttext_text requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.always_lt_ttext_text(arg0, arg1); + } + + /** + * MEOS {@code always_ne_bool_tbool} — tier windowed. + *

Requires window operator — caller wraps in AggregateFunction.

+ *

Free function (not class-classified). Classification rule: ever/always over 1 temporal

+ */ + public static int always_ne_bool_tbool(boolean arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "always_ne_bool_tbool requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.always_ne_bool_tbool(arg0, arg1); + } + + /** + * MEOS {@code always_ne_float_tfloat} — tier windowed. + *

Requires window operator — caller wraps in AggregateFunction.

+ *

Free function (not class-classified). Classification rule: ever/always over 1 temporal

+ */ + public static int always_ne_float_tfloat(double arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "always_ne_float_tfloat requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.always_ne_float_tfloat(arg0, arg1); + } + + /** + * MEOS {@code always_ne_int_tint} — tier windowed. + *

Requires window operator — caller wraps in AggregateFunction.

+ *

Free function (not class-classified). Classification rule: ever/always over 1 temporal

+ */ + public static int always_ne_int_tint(int arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "always_ne_int_tint requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.always_ne_int_tint(arg0, arg1); + } + + /** + * MEOS {@code always_ne_tbool_bool} — tier windowed. + *

Requires window operator — caller wraps in AggregateFunction.

+ *

Free function (not class-classified). Classification rule: ever/always over 1 temporal

+ */ + public static int always_ne_tbool_bool(jnr.ffi.Pointer arg0, boolean arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "always_ne_tbool_bool requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.always_ne_tbool_bool(arg0, arg1); + } + + /** + * MEOS {@code always_ne_text_ttext} — tier windowed. + *

Requires window operator — caller wraps in AggregateFunction.

+ *

Free function (not class-classified). Classification rule: ever/always over 1 temporal

+ */ + public static int always_ne_text_ttext(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "always_ne_text_ttext requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.always_ne_text_ttext(arg0, arg1); + } + + /** + * MEOS {@code always_ne_tfloat_float} — tier windowed. + *

Requires window operator — caller wraps in AggregateFunction.

+ *

Free function (not class-classified). Classification rule: ever/always over 1 temporal

+ */ + public static int always_ne_tfloat_float(jnr.ffi.Pointer arg0, double arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "always_ne_tfloat_float requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.always_ne_tfloat_float(arg0, arg1); + } + + /** + * MEOS {@code always_ne_tint_int} — tier windowed. + *

Requires window operator — caller wraps in AggregateFunction.

+ *

Free function (not class-classified). Classification rule: ever/always over 1 temporal

+ */ + public static int always_ne_tint_int(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "always_ne_tint_int requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.always_ne_tint_int(arg0, arg1); + } + + /** + * MEOS {@code always_ne_ttext_text} — tier windowed. + *

Requires window operator — caller wraps in AggregateFunction.

+ *

Free function (not class-classified). Classification rule: ever/always over 1 temporal

+ */ + public static int always_ne_ttext_text(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "always_ne_ttext_text requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.always_ne_ttext_text(arg0, arg1); + } + + /** + * MEOS {@code ever_eq_bool_tbool} — tier windowed. + *

Requires window operator — caller wraps in AggregateFunction.

+ *

Free function (not class-classified). Classification rule: ever/always over 1 temporal

+ */ + public static int ever_eq_bool_tbool(boolean arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "ever_eq_bool_tbool requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.ever_eq_bool_tbool(arg0, arg1); + } + + /** + * MEOS {@code ever_eq_float_tfloat} — tier windowed. + *

Requires window operator — caller wraps in AggregateFunction.

+ *

Free function (not class-classified). Classification rule: ever/always over 1 temporal

+ */ + public static int ever_eq_float_tfloat(double arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "ever_eq_float_tfloat requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.ever_eq_float_tfloat(arg0, arg1); + } + + /** + * MEOS {@code ever_eq_int_tint} — tier windowed. + *

Requires window operator — caller wraps in AggregateFunction.

+ *

Free function (not class-classified). Classification rule: ever/always over 1 temporal

+ */ + public static int ever_eq_int_tint(int arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "ever_eq_int_tint requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.ever_eq_int_tint(arg0, arg1); + } + + /** + * MEOS {@code ever_eq_tbool_bool} — tier windowed. + *

Requires window operator — caller wraps in AggregateFunction.

+ *

Free function (not class-classified). Classification rule: ever/always over 1 temporal

+ */ + public static int ever_eq_tbool_bool(jnr.ffi.Pointer arg0, boolean arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "ever_eq_tbool_bool requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.ever_eq_tbool_bool(arg0, arg1); + } + + /** + * MEOS {@code ever_eq_text_ttext} — tier windowed. + *

Requires window operator — caller wraps in AggregateFunction.

+ *

Free function (not class-classified). Classification rule: ever/always over 1 temporal

+ */ + public static int ever_eq_text_ttext(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "ever_eq_text_ttext requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.ever_eq_text_ttext(arg0, arg1); + } + + /** + * MEOS {@code ever_eq_tfloat_float} — tier windowed. + *

Requires window operator — caller wraps in AggregateFunction.

+ *

Free function (not class-classified). Classification rule: ever/always over 1 temporal

+ */ + public static int ever_eq_tfloat_float(jnr.ffi.Pointer arg0, double arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "ever_eq_tfloat_float requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.ever_eq_tfloat_float(arg0, arg1); + } + + /** + * MEOS {@code ever_eq_tint_int} — tier windowed. + *

Requires window operator — caller wraps in AggregateFunction.

+ *

Free function (not class-classified). Classification rule: ever/always over 1 temporal

+ */ + public static int ever_eq_tint_int(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "ever_eq_tint_int requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.ever_eq_tint_int(arg0, arg1); + } + + /** + * MEOS {@code ever_eq_ttext_text} — tier windowed. + *

Requires window operator — caller wraps in AggregateFunction.

+ *

Free function (not class-classified). Classification rule: ever/always over 1 temporal

+ */ + public static int ever_eq_ttext_text(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "ever_eq_ttext_text requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.ever_eq_ttext_text(arg0, arg1); + } + + /** + * MEOS {@code ever_ge_float_tfloat} — tier windowed. + *

Requires window operator — caller wraps in AggregateFunction.

+ *

Free function (not class-classified). Classification rule: ever/always over 1 temporal

+ */ + public static int ever_ge_float_tfloat(double arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "ever_ge_float_tfloat requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.ever_ge_float_tfloat(arg0, arg1); + } + + /** + * MEOS {@code ever_ge_int_tint} — tier windowed. + *

Requires window operator — caller wraps in AggregateFunction.

+ *

Free function (not class-classified). Classification rule: ever/always over 1 temporal

+ */ + public static int ever_ge_int_tint(int arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "ever_ge_int_tint requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.ever_ge_int_tint(arg0, arg1); + } + + /** + * MEOS {@code ever_ge_text_ttext} — tier windowed. + *

Requires window operator — caller wraps in AggregateFunction.

+ *

Free function (not class-classified). Classification rule: ever/always over 1 temporal

+ */ + public static int ever_ge_text_ttext(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "ever_ge_text_ttext requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.ever_ge_text_ttext(arg0, arg1); + } + + /** + * MEOS {@code ever_ge_tfloat_float} — tier windowed. + *

Requires window operator — caller wraps in AggregateFunction.

+ *

Free function (not class-classified). Classification rule: ever/always over 1 temporal

+ */ + public static int ever_ge_tfloat_float(jnr.ffi.Pointer arg0, double arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "ever_ge_tfloat_float requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.ever_ge_tfloat_float(arg0, arg1); + } + + /** + * MEOS {@code ever_ge_tint_int} — tier windowed. + *

Requires window operator — caller wraps in AggregateFunction.

+ *

Free function (not class-classified). Classification rule: ever/always over 1 temporal

+ */ + public static int ever_ge_tint_int(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "ever_ge_tint_int requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.ever_ge_tint_int(arg0, arg1); + } + + /** + * MEOS {@code ever_ge_ttext_text} — tier windowed. + *

Requires window operator — caller wraps in AggregateFunction.

+ *

Free function (not class-classified). Classification rule: ever/always over 1 temporal

+ */ + public static int ever_ge_ttext_text(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "ever_ge_ttext_text requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.ever_ge_ttext_text(arg0, arg1); + } + + /** + * MEOS {@code ever_gt_float_tfloat} — tier windowed. + *

Requires window operator — caller wraps in AggregateFunction.

+ *

Free function (not class-classified). Classification rule: ever/always over 1 temporal

+ */ + public static int ever_gt_float_tfloat(double arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "ever_gt_float_tfloat requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.ever_gt_float_tfloat(arg0, arg1); + } + + /** + * MEOS {@code ever_gt_int_tint} — tier windowed. + *

Requires window operator — caller wraps in AggregateFunction.

+ *

Free function (not class-classified). Classification rule: ever/always over 1 temporal

+ */ + public static int ever_gt_int_tint(int arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "ever_gt_int_tint requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.ever_gt_int_tint(arg0, arg1); + } + + /** + * MEOS {@code ever_gt_text_ttext} — tier windowed. + *

Requires window operator — caller wraps in AggregateFunction.

+ *

Free function (not class-classified). Classification rule: ever/always over 1 temporal

+ */ + public static int ever_gt_text_ttext(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "ever_gt_text_ttext requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.ever_gt_text_ttext(arg0, arg1); + } + + /** + * MEOS {@code ever_gt_tfloat_float} — tier windowed. + *

Requires window operator — caller wraps in AggregateFunction.

+ *

Free function (not class-classified). Classification rule: ever/always over 1 temporal

+ */ + public static int ever_gt_tfloat_float(jnr.ffi.Pointer arg0, double arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "ever_gt_tfloat_float requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.ever_gt_tfloat_float(arg0, arg1); + } + + /** + * MEOS {@code ever_gt_tint_int} — tier windowed. + *

Requires window operator — caller wraps in AggregateFunction.

+ *

Free function (not class-classified). Classification rule: ever/always over 1 temporal

+ */ + public static int ever_gt_tint_int(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "ever_gt_tint_int requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.ever_gt_tint_int(arg0, arg1); + } + + /** + * MEOS {@code ever_gt_ttext_text} — tier windowed. + *

Requires window operator — caller wraps in AggregateFunction.

+ *

Free function (not class-classified). Classification rule: ever/always over 1 temporal

+ */ + public static int ever_gt_ttext_text(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "ever_gt_ttext_text requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.ever_gt_ttext_text(arg0, arg1); + } + + /** + * MEOS {@code ever_le_float_tfloat} — tier windowed. + *

Requires window operator — caller wraps in AggregateFunction.

+ *

Free function (not class-classified). Classification rule: ever/always over 1 temporal

+ */ + public static int ever_le_float_tfloat(double arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "ever_le_float_tfloat requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.ever_le_float_tfloat(arg0, arg1); + } + + /** + * MEOS {@code ever_le_int_tint} — tier windowed. + *

Requires window operator — caller wraps in AggregateFunction.

+ *

Free function (not class-classified). Classification rule: ever/always over 1 temporal

+ */ + public static int ever_le_int_tint(int arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "ever_le_int_tint requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.ever_le_int_tint(arg0, arg1); + } + + /** + * MEOS {@code ever_le_text_ttext} — tier windowed. + *

Requires window operator — caller wraps in AggregateFunction.

+ *

Free function (not class-classified). Classification rule: ever/always over 1 temporal

+ */ + public static int ever_le_text_ttext(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "ever_le_text_ttext requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.ever_le_text_ttext(arg0, arg1); + } + + /** + * MEOS {@code ever_le_tfloat_float} — tier windowed. + *

Requires window operator — caller wraps in AggregateFunction.

+ *

Free function (not class-classified). Classification rule: ever/always over 1 temporal

+ */ + public static int ever_le_tfloat_float(jnr.ffi.Pointer arg0, double arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "ever_le_tfloat_float requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.ever_le_tfloat_float(arg0, arg1); + } + + /** + * MEOS {@code ever_le_tint_int} — tier windowed. + *

Requires window operator — caller wraps in AggregateFunction.

+ *

Free function (not class-classified). Classification rule: ever/always over 1 temporal

+ */ + public static int ever_le_tint_int(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "ever_le_tint_int requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.ever_le_tint_int(arg0, arg1); + } + + /** + * MEOS {@code ever_le_ttext_text} — tier windowed. + *

Requires window operator — caller wraps in AggregateFunction.

+ *

Free function (not class-classified). Classification rule: ever/always over 1 temporal

+ */ + public static int ever_le_ttext_text(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "ever_le_ttext_text requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.ever_le_ttext_text(arg0, arg1); + } + + /** + * MEOS {@code ever_lt_float_tfloat} — tier windowed. + *

Requires window operator — caller wraps in AggregateFunction.

+ *

Free function (not class-classified). Classification rule: ever/always over 1 temporal

+ */ + public static int ever_lt_float_tfloat(double arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "ever_lt_float_tfloat requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.ever_lt_float_tfloat(arg0, arg1); + } + + /** + * MEOS {@code ever_lt_int_tint} — tier windowed. + *

Requires window operator — caller wraps in AggregateFunction.

+ *

Free function (not class-classified). Classification rule: ever/always over 1 temporal

+ */ + public static int ever_lt_int_tint(int arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "ever_lt_int_tint requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.ever_lt_int_tint(arg0, arg1); + } + + /** + * MEOS {@code ever_lt_text_ttext} — tier windowed. + *

Requires window operator — caller wraps in AggregateFunction.

+ *

Free function (not class-classified). Classification rule: ever/always over 1 temporal

+ */ + public static int ever_lt_text_ttext(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "ever_lt_text_ttext requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.ever_lt_text_ttext(arg0, arg1); + } + + /** + * MEOS {@code ever_lt_tfloat_float} — tier windowed. + *

Requires window operator — caller wraps in AggregateFunction.

+ *

Free function (not class-classified). Classification rule: ever/always over 1 temporal

+ */ + public static int ever_lt_tfloat_float(jnr.ffi.Pointer arg0, double arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "ever_lt_tfloat_float requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.ever_lt_tfloat_float(arg0, arg1); + } + + /** + * MEOS {@code ever_lt_tint_int} — tier windowed. + *

Requires window operator — caller wraps in AggregateFunction.

+ *

Free function (not class-classified). Classification rule: ever/always over 1 temporal

+ */ + public static int ever_lt_tint_int(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "ever_lt_tint_int requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.ever_lt_tint_int(arg0, arg1); + } + + /** + * MEOS {@code ever_lt_ttext_text} — tier windowed. + *

Requires window operator — caller wraps in AggregateFunction.

+ *

Free function (not class-classified). Classification rule: ever/always over 1 temporal

+ */ + public static int ever_lt_ttext_text(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "ever_lt_ttext_text requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.ever_lt_ttext_text(arg0, arg1); + } + + /** + * MEOS {@code ever_ne_bool_tbool} — tier windowed. + *

Requires window operator — caller wraps in AggregateFunction.

+ *

Free function (not class-classified). Classification rule: ever/always over 1 temporal

+ */ + public static int ever_ne_bool_tbool(boolean arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "ever_ne_bool_tbool requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.ever_ne_bool_tbool(arg0, arg1); + } + + /** + * MEOS {@code ever_ne_float_tfloat} — tier windowed. + *

Requires window operator — caller wraps in AggregateFunction.

+ *

Free function (not class-classified). Classification rule: ever/always over 1 temporal

+ */ + public static int ever_ne_float_tfloat(double arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "ever_ne_float_tfloat requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.ever_ne_float_tfloat(arg0, arg1); + } + + /** + * MEOS {@code ever_ne_int_tint} — tier windowed. + *

Requires window operator — caller wraps in AggregateFunction.

+ *

Free function (not class-classified). Classification rule: ever/always over 1 temporal

+ */ + public static int ever_ne_int_tint(int arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "ever_ne_int_tint requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.ever_ne_int_tint(arg0, arg1); + } + + /** + * MEOS {@code ever_ne_tbool_bool} — tier windowed. + *

Requires window operator — caller wraps in AggregateFunction.

+ *

Free function (not class-classified). Classification rule: ever/always over 1 temporal

+ */ + public static int ever_ne_tbool_bool(jnr.ffi.Pointer arg0, boolean arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "ever_ne_tbool_bool requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.ever_ne_tbool_bool(arg0, arg1); + } + + /** + * MEOS {@code ever_ne_text_ttext} — tier windowed. + *

Requires window operator — caller wraps in AggregateFunction.

+ *

Free function (not class-classified). Classification rule: ever/always over 1 temporal

+ */ + public static int ever_ne_text_ttext(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "ever_ne_text_ttext requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.ever_ne_text_ttext(arg0, arg1); + } + + /** + * MEOS {@code ever_ne_tfloat_float} — tier windowed. + *

Requires window operator — caller wraps in AggregateFunction.

+ *

Free function (not class-classified). Classification rule: ever/always over 1 temporal

+ */ + public static int ever_ne_tfloat_float(jnr.ffi.Pointer arg0, double arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "ever_ne_tfloat_float requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.ever_ne_tfloat_float(arg0, arg1); + } + + /** + * MEOS {@code ever_ne_tint_int} — tier windowed. + *

Requires window operator — caller wraps in AggregateFunction.

+ *

Free function (not class-classified). Classification rule: ever/always over 1 temporal

+ */ + public static int ever_ne_tint_int(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "ever_ne_tint_int requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.ever_ne_tint_int(arg0, arg1); + } + + /** + * MEOS {@code ever_ne_ttext_text} — tier windowed. + *

Requires window operator — caller wraps in AggregateFunction.

+ *

Free function (not class-classified). Classification rule: ever/always over 1 temporal

+ */ + public static int ever_ne_ttext_text(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "ever_ne_ttext_text requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.ever_ne_ttext_text(arg0, arg1); + } + + /** + * MEOS {@code adjacent_temporal_temporal} — tier cross-stream. + *

Pairwise across streams — caller wraps in a join.

+ *

Free function (not class-classified). Classification rule: topology/position rel on 2 temporals

+ */ + public static boolean adjacent_temporal_temporal(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "adjacent_temporal_temporal requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.adjacent_temporal_temporal(arg0, arg1); + } + + /** + * MEOS {@code adjacent_tnumber_tnumber} — tier cross-stream. + *

Pairwise across streams — caller wraps in a join.

+ *

Free function (not class-classified). Classification rule: topology/position rel on 2 temporals

+ */ + public static boolean adjacent_tnumber_tnumber(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "adjacent_tnumber_tnumber requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.adjacent_tnumber_tnumber(arg0, arg1); + } + + /** + * MEOS {@code after_temporal_temporal} — tier cross-stream. + *

Pairwise across streams — caller wraps in a join.

+ *

Free function (not class-classified). Classification rule: topology/position rel on 2 temporals

+ */ + public static boolean after_temporal_temporal(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "after_temporal_temporal requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.after_temporal_temporal(arg0, arg1); + } + + /** + * MEOS {@code after_tnumber_tnumber} — tier cross-stream. + *

Pairwise across streams — caller wraps in a join.

+ *

Free function (not class-classified). Classification rule: topology/position rel on 2 temporals

+ */ + public static boolean after_tnumber_tnumber(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "after_tnumber_tnumber requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.after_tnumber_tnumber(arg0, arg1); + } + + /** + * MEOS {@code always_eq_temporal_temporal} — tier cross-stream. + *

Pairwise across streams — caller wraps in a join.

+ *

Free function (not class-classified). Classification rule: ever/always over 2 temporals

+ */ + public static int always_eq_temporal_temporal(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "always_eq_temporal_temporal requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.always_eq_temporal_temporal(arg0, arg1); + } + + /** + * MEOS {@code always_ge_temporal_temporal} — tier cross-stream. + *

Pairwise across streams — caller wraps in a join.

+ *

Free function (not class-classified). Classification rule: ever/always over 2 temporals

+ */ + public static int always_ge_temporal_temporal(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "always_ge_temporal_temporal requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.always_ge_temporal_temporal(arg0, arg1); + } + + /** + * MEOS {@code always_gt_temporal_temporal} — tier cross-stream. + *

Pairwise across streams — caller wraps in a join.

+ *

Free function (not class-classified). Classification rule: ever/always over 2 temporals

+ */ + public static int always_gt_temporal_temporal(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "always_gt_temporal_temporal requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.always_gt_temporal_temporal(arg0, arg1); + } + + /** + * MEOS {@code always_le_temporal_temporal} — tier cross-stream. + *

Pairwise across streams — caller wraps in a join.

+ *

Free function (not class-classified). Classification rule: ever/always over 2 temporals

+ */ + public static int always_le_temporal_temporal(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "always_le_temporal_temporal requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.always_le_temporal_temporal(arg0, arg1); + } + + /** + * MEOS {@code always_lt_temporal_temporal} — tier cross-stream. + *

Pairwise across streams — caller wraps in a join.

+ *

Free function (not class-classified). Classification rule: ever/always over 2 temporals

+ */ + public static int always_lt_temporal_temporal(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "always_lt_temporal_temporal requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.always_lt_temporal_temporal(arg0, arg1); + } + + /** + * MEOS {@code always_ne_temporal_temporal} — tier cross-stream. + *

Pairwise across streams — caller wraps in a join.

+ *

Free function (not class-classified). Classification rule: ever/always over 2 temporals

+ */ + public static int always_ne_temporal_temporal(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "always_ne_temporal_temporal requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.always_ne_temporal_temporal(arg0, arg1); + } + + /** + * MEOS {@code before_temporal_temporal} — tier cross-stream. + *

Pairwise across streams — caller wraps in a join.

+ *

Free function (not class-classified). Classification rule: topology/position rel on 2 temporals

+ */ + public static boolean before_temporal_temporal(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "before_temporal_temporal requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.before_temporal_temporal(arg0, arg1); + } + + /** + * MEOS {@code before_tnumber_tnumber} — tier cross-stream. + *

Pairwise across streams — caller wraps in a join.

+ *

Free function (not class-classified). Classification rule: topology/position rel on 2 temporals

+ */ + public static boolean before_tnumber_tnumber(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "before_tnumber_tnumber requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.before_tnumber_tnumber(arg0, arg1); + } + + /** + * MEOS {@code contained_temporal_temporal} — tier cross-stream. + *

Pairwise across streams — caller wraps in a join.

+ *

Free function (not class-classified). Classification rule: topology/position rel on 2 temporals

+ */ + public static boolean contained_temporal_temporal(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "contained_temporal_temporal requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.contained_temporal_temporal(arg0, arg1); + } + + /** + * MEOS {@code contained_tnumber_tnumber} — tier cross-stream. + *

Pairwise across streams — caller wraps in a join.

+ *

Free function (not class-classified). Classification rule: topology/position rel on 2 temporals

+ */ + public static boolean contained_tnumber_tnumber(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "contained_tnumber_tnumber requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.contained_tnumber_tnumber(arg0, arg1); + } + + /** + * MEOS {@code contains_temporal_temporal} — tier cross-stream. + *

Pairwise across streams — caller wraps in a join.

+ *

Free function (not class-classified). Classification rule: topology/position rel on 2 temporals

+ */ + public static boolean contains_temporal_temporal(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "contains_temporal_temporal requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.contains_temporal_temporal(arg0, arg1); + } + + /** + * MEOS {@code contains_tnumber_tnumber} — tier cross-stream. + *

Pairwise across streams — caller wraps in a join.

+ *

Free function (not class-classified). Classification rule: topology/position rel on 2 temporals

+ */ + public static boolean contains_tnumber_tnumber(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "contains_tnumber_tnumber requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.contains_tnumber_tnumber(arg0, arg1); + } + + /** + * MEOS {@code ever_eq_temporal_temporal} — tier cross-stream. + *

Pairwise across streams — caller wraps in a join.

+ *

Free function (not class-classified). Classification rule: ever/always over 2 temporals

+ */ + public static int ever_eq_temporal_temporal(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "ever_eq_temporal_temporal requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.ever_eq_temporal_temporal(arg0, arg1); + } + + /** + * MEOS {@code ever_ge_temporal_temporal} — tier cross-stream. + *

Pairwise across streams — caller wraps in a join.

+ *

Free function (not class-classified). Classification rule: ever/always over 2 temporals

+ */ + public static int ever_ge_temporal_temporal(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "ever_ge_temporal_temporal requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.ever_ge_temporal_temporal(arg0, arg1); + } + + /** + * MEOS {@code ever_gt_temporal_temporal} — tier cross-stream. + *

Pairwise across streams — caller wraps in a join.

+ *

Free function (not class-classified). Classification rule: ever/always over 2 temporals

+ */ + public static int ever_gt_temporal_temporal(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "ever_gt_temporal_temporal requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.ever_gt_temporal_temporal(arg0, arg1); + } + + /** + * MEOS {@code ever_le_temporal_temporal} — tier cross-stream. + *

Pairwise across streams — caller wraps in a join.

+ *

Free function (not class-classified). Classification rule: ever/always over 2 temporals

+ */ + public static int ever_le_temporal_temporal(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "ever_le_temporal_temporal requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.ever_le_temporal_temporal(arg0, arg1); + } + + /** + * MEOS {@code ever_lt_temporal_temporal} — tier cross-stream. + *

Pairwise across streams — caller wraps in a join.

+ *

Free function (not class-classified). Classification rule: ever/always over 2 temporals

+ */ + public static int ever_lt_temporal_temporal(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "ever_lt_temporal_temporal requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.ever_lt_temporal_temporal(arg0, arg1); + } + + /** + * MEOS {@code ever_ne_temporal_temporal} — tier cross-stream. + *

Pairwise across streams — caller wraps in a join.

+ *

Free function (not class-classified). Classification rule: ever/always over 2 temporals

+ */ + public static int ever_ne_temporal_temporal(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "ever_ne_temporal_temporal requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.ever_ne_temporal_temporal(arg0, arg1); + } + + /** + * MEOS {@code left_tnumber_tnumber} — tier cross-stream. + *

Pairwise across streams — caller wraps in a join.

+ *

Free function (not class-classified). Classification rule: topology/position rel on 2 temporals

+ */ + public static boolean left_tnumber_tnumber(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "left_tnumber_tnumber requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.left_tnumber_tnumber(arg0, arg1); + } + + /** + * MEOS {@code nad_tfloat_tfloat} — tier cross-stream. + *

Pairwise across streams — caller wraps in a join.

+ *

Free function (not class-classified). Classification rule: distance on 2 temporals

+ */ + public static double nad_tfloat_tfloat(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "nad_tfloat_tfloat requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.nad_tfloat_tfloat(arg0, arg1); + } + + /** + * MEOS {@code nad_tint_tint} — tier cross-stream. + *

Pairwise across streams — caller wraps in a join.

+ *

Free function (not class-classified). Classification rule: distance on 2 temporals

+ */ + public static int nad_tint_tint(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "nad_tint_tint requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.nad_tint_tint(arg0, arg1); + } + + /** + * MEOS {@code overafter_temporal_temporal} — tier cross-stream. + *

Pairwise across streams — caller wraps in a join.

+ *

Free function (not class-classified). Classification rule: topology/position rel on 2 temporals

+ */ + public static boolean overafter_temporal_temporal(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "overafter_temporal_temporal requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.overafter_temporal_temporal(arg0, arg1); + } + + /** + * MEOS {@code overafter_tnumber_tnumber} — tier cross-stream. + *

Pairwise across streams — caller wraps in a join.

+ *

Free function (not class-classified). Classification rule: topology/position rel on 2 temporals

+ */ + public static boolean overafter_tnumber_tnumber(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "overafter_tnumber_tnumber requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.overafter_tnumber_tnumber(arg0, arg1); + } + + /** + * MEOS {@code overbefore_temporal_temporal} — tier cross-stream. + *

Pairwise across streams — caller wraps in a join.

+ *

Free function (not class-classified). Classification rule: topology/position rel on 2 temporals

+ */ + public static boolean overbefore_temporal_temporal(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "overbefore_temporal_temporal requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.overbefore_temporal_temporal(arg0, arg1); + } + + /** + * MEOS {@code overbefore_tnumber_tnumber} — tier cross-stream. + *

Pairwise across streams — caller wraps in a join.

+ *

Free function (not class-classified). Classification rule: topology/position rel on 2 temporals

+ */ + public static boolean overbefore_tnumber_tnumber(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "overbefore_tnumber_tnumber requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.overbefore_tnumber_tnumber(arg0, arg1); + } + + /** + * MEOS {@code overlaps_temporal_temporal} — tier cross-stream. + *

Pairwise across streams — caller wraps in a join.

+ *

Free function (not class-classified). Classification rule: topology/position rel on 2 temporals

+ */ + public static boolean overlaps_temporal_temporal(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "overlaps_temporal_temporal requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.overlaps_temporal_temporal(arg0, arg1); + } + + /** + * MEOS {@code overlaps_tnumber_tnumber} — tier cross-stream. + *

Pairwise across streams — caller wraps in a join.

+ *

Free function (not class-classified). Classification rule: topology/position rel on 2 temporals

+ */ + public static boolean overlaps_tnumber_tnumber(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "overlaps_tnumber_tnumber requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.overlaps_tnumber_tnumber(arg0, arg1); + } + + /** + * MEOS {@code overleft_tnumber_tnumber} — tier cross-stream. + *

Pairwise across streams — caller wraps in a join.

+ *

Free function (not class-classified). Classification rule: topology/position rel on 2 temporals

+ */ + public static boolean overleft_tnumber_tnumber(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "overleft_tnumber_tnumber requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.overleft_tnumber_tnumber(arg0, arg1); + } + + /** + * MEOS {@code overright_tnumber_tnumber} — tier cross-stream. + *

Pairwise across streams — caller wraps in a join.

+ *

Free function (not class-classified). Classification rule: topology/position rel on 2 temporals

+ */ + public static boolean overright_tnumber_tnumber(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "overright_tnumber_tnumber requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.overright_tnumber_tnumber(arg0, arg1); + } + + /** + * MEOS {@code right_tnumber_tnumber} — tier cross-stream. + *

Pairwise across streams — caller wraps in a join.

+ *

Free function (not class-classified). Classification rule: topology/position rel on 2 temporals

+ */ + public static boolean right_tnumber_tnumber(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "right_tnumber_tnumber requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.right_tnumber_tnumber(arg0, arg1); + } + + /** + * MEOS {@code same_temporal_temporal} — tier cross-stream. + *

Pairwise across streams — caller wraps in a join.

+ *

Free function (not class-classified). Classification rule: same predicate on 2 temporals

+ */ + public static boolean same_temporal_temporal(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "same_temporal_temporal requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.same_temporal_temporal(arg0, arg1); + } + + /** + * MEOS {@code same_tnumber_tnumber} — tier cross-stream. + *

Pairwise across streams — caller wraps in a join.

+ *

Free function (not class-classified). Classification rule: same predicate on 2 temporals

+ */ + public static boolean same_tnumber_tnumber(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "same_tnumber_tnumber requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.same_tnumber_tnumber(arg0, arg1); + } + + /** + * MEOS {@code tdistance_tnumber_tnumber} — tier cross-stream. + *

Pairwise across streams — caller wraps in a join.

+ *

Free function (not class-classified). Classification rule: distance on 2 temporals

+ */ + public static jnr.ffi.Pointer tdistance_tnumber_tnumber(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tdistance_tnumber_tnumber requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tdistance_tnumber_tnumber(arg0, arg1); + } + + /** + * MEOS {@code bool_in} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Free function (not class-classified). Classification rule: IO/serialization

+ */ + public static boolean bool_in(java.lang.String arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "bool_in requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.bool_in(arg0); + } + + /** + * MEOS {@code bool_out} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Free function (not class-classified). Classification rule: IO/serialization

+ */ + public static java.lang.String bool_out(boolean arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "bool_out requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.bool_out(arg0); + } + + /** + * MEOS {@code cstring2text} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Free function (not class-classified). Classification rule: string/CString conversion (low-level)

+ */ + public static jnr.ffi.Pointer cstring2text(java.lang.String arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "cstring2text requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.cstring2text(arg0); + } + + /** + * MEOS {@code float8_out} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Free function (not class-classified). Classification rule: IO/serialization

+ */ + public static java.lang.String float8_out(double arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "float8_out requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.float8_out(arg0, arg1); + } + + /** + * MEOS {@code meos_array_add} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Free function (not class-classified). Classification rule: MEOS infra / catalog / utility

+ */ + public static void meos_array_add(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "meos_array_add requires libmeos — set -Dmeos.enabled=true"); + } + GeneratedFunctions.meos_array_add(arg0, arg1); + } + + /** + * MEOS {@code meos_array_count} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Free function (not class-classified). Classification rule: MEOS infra / catalog / utility

+ */ + public static int meos_array_count(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "meos_array_count requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.meos_array_count(arg0); + } + + /** + * MEOS {@code meos_array_create} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Free function (not class-classified). Classification rule: MEOS infra / catalog / utility

+ */ + public static jnr.ffi.Pointer meos_array_create(int arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "meos_array_create requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.meos_array_create(arg0); + } + + /** + * MEOS {@code meos_array_destroy} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Free function (not class-classified). Classification rule: MEOS infra / catalog / utility

+ */ + public static void meos_array_destroy(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "meos_array_destroy requires libmeos — set -Dmeos.enabled=true"); + } + GeneratedFunctions.meos_array_destroy(arg0); + } + + /** + * MEOS {@code meos_array_destroy_free} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Free function (not class-classified). Classification rule: MEOS infra / catalog / utility

+ */ + public static void meos_array_destroy_free(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "meos_array_destroy_free requires libmeos — set -Dmeos.enabled=true"); + } + GeneratedFunctions.meos_array_destroy_free(arg0); + } + + /** + * MEOS {@code meos_array_get} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Free function (not class-classified). Classification rule: MEOS infra / catalog / utility

+ */ + public static jnr.ffi.Pointer meos_array_get(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "meos_array_get requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.meos_array_get(arg0, arg1); + } + + /** + * MEOS {@code meos_array_reset} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Free function (not class-classified). Classification rule: MEOS infra / catalog / utility

+ */ + public static void meos_array_reset(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "meos_array_reset requires libmeos — set -Dmeos.enabled=true"); + } + GeneratedFunctions.meos_array_reset(arg0); + } + + /** + * MEOS {@code meos_array_reset_free} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Free function (not class-classified). Classification rule: MEOS infra / catalog / utility

+ */ + public static void meos_array_reset_free(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "meos_array_reset_free requires libmeos — set -Dmeos.enabled=true"); + } + GeneratedFunctions.meos_array_reset_free(arg0); + } + + /** + * MEOS {@code meos_errno} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Free function (not class-classified). Classification rule: MEOS infra / catalog / utility

+ */ + public static int meos_errno() { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "meos_errno requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.meos_errno(); + } + + /** + * MEOS {@code meos_errno_reset} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Free function (not class-classified). Classification rule: MEOS infra / catalog / utility

+ */ + public static int meos_errno_reset() { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "meos_errno_reset requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.meos_errno_reset(); + } + + /** + * MEOS {@code meos_errno_restore} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Free function (not class-classified). Classification rule: MEOS infra / catalog / utility

+ */ + public static int meos_errno_restore(int arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "meos_errno_restore requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.meos_errno_restore(arg0); + } + + /** + * MEOS {@code meos_errno_set} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Free function (not class-classified). Classification rule: MEOS infra / catalog / utility

+ */ + public static int meos_errno_set(int arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "meos_errno_set requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.meos_errno_set(arg0); + } + + /** + * MEOS {@code meos_error} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Free function (not class-classified). Classification rule: MEOS infra / catalog / utility

+ */ + public static void meos_error(int arg0, int arg1, java.lang.String arg2) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "meos_error requires libmeos — set -Dmeos.enabled=true"); + } + GeneratedFunctions.meos_error(arg0, arg1, arg2); + } + + /** + * MEOS {@code meos_finalize} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Free function (not class-classified). Classification rule: MEOS infra / catalog / utility

+ */ + public static void meos_finalize() { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "meos_finalize requires libmeos — set -Dmeos.enabled=true"); + } + GeneratedFunctions.meos_finalize(); + } + + /** + * MEOS {@code meos_finalize_projsrs} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Free function (not class-classified). Classification rule: MEOS infra / catalog / utility

+ */ + public static void meos_finalize_projsrs() { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "meos_finalize_projsrs requires libmeos — set -Dmeos.enabled=true"); + } + GeneratedFunctions.meos_finalize_projsrs(); + } + + /** + * MEOS {@code meos_finalize_timezone} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Free function (not class-classified). Classification rule: MEOS infra / catalog / utility

+ */ + public static void meos_finalize_timezone() { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "meos_finalize_timezone requires libmeos — set -Dmeos.enabled=true"); + } + GeneratedFunctions.meos_finalize_timezone(); + } + + /** + * MEOS {@code meos_finalize_ways} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Free function (not class-classified). Classification rule: MEOS infra / catalog / utility

+ */ + public static void meos_finalize_ways() { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "meos_finalize_ways requires libmeos — set -Dmeos.enabled=true"); + } + GeneratedFunctions.meos_finalize_ways(); + } + + /** + * MEOS {@code meos_get_datestyle} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Free function (not class-classified). Classification rule: MEOS infra / catalog / utility

+ */ + public static java.lang.String meos_get_datestyle() { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "meos_get_datestyle requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.meos_get_datestyle(); + } + + /** + * MEOS {@code meos_get_intervalstyle} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Free function (not class-classified). Classification rule: MEOS infra / catalog / utility

+ */ + public static java.lang.String meos_get_intervalstyle() { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "meos_get_intervalstyle requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.meos_get_intervalstyle(); + } + + /** + * MEOS {@code meos_initialize} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Free function (not class-classified). Classification rule: MEOS infra / catalog / utility

+ */ + public static void meos_initialize() { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "meos_initialize requires libmeos — set -Dmeos.enabled=true"); + } + GeneratedFunctions.meos_initialize(); + } + + /** + * MEOS {@code meos_initialize_error_handler} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Free function (not class-classified). Classification rule: MEOS infra / catalog / utility

+ */ + public static void meos_initialize_error_handler(functions.error_handler_fn arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "meos_initialize_error_handler requires libmeos — set -Dmeos.enabled=true"); + } + GeneratedFunctions.meos_initialize_error_handler(arg0); + } + + /** + * MEOS {@code meos_initialize_timezone} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Free function (not class-classified). Classification rule: MEOS infra / catalog / utility

+ */ + public static void meos_initialize_timezone(java.lang.String arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "meos_initialize_timezone requires libmeos — set -Dmeos.enabled=true"); + } + GeneratedFunctions.meos_initialize_timezone(arg0); + } + + /** + * MEOS {@code meos_set_datestyle} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Free function (not class-classified). Classification rule: MEOS infra / catalog / utility

+ */ + public static boolean meos_set_datestyle(java.lang.String arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "meos_set_datestyle requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.meos_set_datestyle(arg0, arg1); + } + + /** + * MEOS {@code meos_set_intervalstyle} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Free function (not class-classified). Classification rule: MEOS infra / catalog / utility

+ */ + public static boolean meos_set_intervalstyle(java.lang.String arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "meos_set_intervalstyle requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.meos_set_intervalstyle(arg0, arg1); + } + + /** + * MEOS {@code meos_set_spatial_ref_sys_csv} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Free function (not class-classified). Classification rule: MEOS infra / catalog / utility

+ */ + public static void meos_set_spatial_ref_sys_csv(java.lang.String arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "meos_set_spatial_ref_sys_csv requires libmeos — set -Dmeos.enabled=true"); + } + GeneratedFunctions.meos_set_spatial_ref_sys_csv(arg0); + } + + /** + * MEOS {@code pg_date_in} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Free function (not class-classified). Classification rule: IO/serialization

+ */ + public static int pg_date_in(java.lang.String arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "pg_date_in requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.pg_date_in(arg0); + } + + /** + * MEOS {@code pg_date_out} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Free function (not class-classified). Classification rule: IO/serialization

+ */ + public static java.lang.String pg_date_out(int arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "pg_date_out requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.pg_date_out(arg0); + } + + /** + * MEOS {@code pg_interval_cmp} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Free function (not class-classified). Classification rule: string/CString conversion (low-level)

+ */ + public static int pg_interval_cmp(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "pg_interval_cmp requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.pg_interval_cmp(arg0, arg1); + } + + /** + * MEOS {@code pg_interval_in} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Free function (not class-classified). Classification rule: IO/serialization

+ */ + public static jnr.ffi.Pointer pg_interval_in(java.lang.String arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "pg_interval_in requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.pg_interval_in(arg0, arg1); + } + + /** + * MEOS {@code pg_interval_out} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Free function (not class-classified). Classification rule: IO/serialization

+ */ + public static java.lang.String pg_interval_out(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "pg_interval_out requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.pg_interval_out(arg0); + } + + /** + * MEOS {@code pg_timestamp_in} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Free function (not class-classified). Classification rule: IO/serialization

+ */ + public static java.time.LocalDateTime pg_timestamp_in(java.lang.String arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "pg_timestamp_in requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.pg_timestamp_in(arg0, arg1); + } + + /** + * MEOS {@code pg_timestamp_out} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Free function (not class-classified). Classification rule: IO/serialization

+ */ + public static java.lang.String pg_timestamp_out(java.time.LocalDateTime arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "pg_timestamp_out requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.pg_timestamp_out(arg0); + } + + /** + * MEOS {@code pg_timestamptz_in} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Free function (not class-classified). Classification rule: IO/serialization

+ */ + public static java.time.OffsetDateTime pg_timestamptz_in(java.lang.String arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "pg_timestamptz_in requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.pg_timestamptz_in(arg0, arg1); + } + + /** + * MEOS {@code pg_timestamptz_out} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Free function (not class-classified). Classification rule: IO/serialization

+ */ + public static java.lang.String pg_timestamptz_out(java.time.OffsetDateTime arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "pg_timestamptz_out requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.pg_timestamptz_out(arg0); + } + + /** + * MEOS {@code rtree_create_bigintspan} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Free function (not class-classified). Classification rule: MEOS infra / catalog / utility

+ */ + public static jnr.ffi.Pointer rtree_create_bigintspan() { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "rtree_create_bigintspan requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.rtree_create_bigintspan(); + } + + /** + * MEOS {@code rtree_create_datespan} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Free function (not class-classified). Classification rule: MEOS infra / catalog / utility

+ */ + public static jnr.ffi.Pointer rtree_create_datespan() { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "rtree_create_datespan requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.rtree_create_datespan(); + } + + /** + * MEOS {@code rtree_create_floatspan} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Free function (not class-classified). Classification rule: MEOS infra / catalog / utility

+ */ + public static jnr.ffi.Pointer rtree_create_floatspan() { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "rtree_create_floatspan requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.rtree_create_floatspan(); + } + + /** + * MEOS {@code rtree_create_intspan} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Free function (not class-classified). Classification rule: MEOS infra / catalog / utility

+ */ + public static jnr.ffi.Pointer rtree_create_intspan() { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "rtree_create_intspan requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.rtree_create_intspan(); + } + + /** + * MEOS {@code rtree_create_stbox} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Free function (not class-classified). Classification rule: MEOS infra / catalog / utility

+ */ + public static jnr.ffi.Pointer rtree_create_stbox() { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "rtree_create_stbox requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.rtree_create_stbox(); + } + + /** + * MEOS {@code rtree_create_tbox} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Free function (not class-classified). Classification rule: MEOS infra / catalog / utility

+ */ + public static jnr.ffi.Pointer rtree_create_tbox() { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "rtree_create_tbox requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.rtree_create_tbox(); + } + + /** + * MEOS {@code rtree_create_tstzspan} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Free function (not class-classified). Classification rule: MEOS infra / catalog / utility

+ */ + public static jnr.ffi.Pointer rtree_create_tstzspan() { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "rtree_create_tstzspan requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.rtree_create_tstzspan(); + } + + /** + * MEOS {@code rtree_free} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Free function (not class-classified). Classification rule: MEOS infra / catalog / utility

+ */ + public static void rtree_free(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "rtree_free requires libmeos — set -Dmeos.enabled=true"); + } + GeneratedFunctions.rtree_free(arg0); + } + + /** + * MEOS {@code rtree_insert} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Free function (not class-classified). Classification rule: MEOS infra / catalog / utility

+ */ + public static void rtree_insert(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1, int arg2) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "rtree_insert requires libmeos — set -Dmeos.enabled=true"); + } + GeneratedFunctions.rtree_insert(arg0, arg1, arg2); + } + + /** + * MEOS {@code rtree_insert_temporal} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Free function (not class-classified). Classification rule: MEOS infra / catalog / utility

+ */ + public static void rtree_insert_temporal(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1, int arg2) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "rtree_insert_temporal requires libmeos — set -Dmeos.enabled=true"); + } + GeneratedFunctions.rtree_insert_temporal(arg0, arg1, arg2); + } + + /** + * MEOS {@code rtree_search} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Free function (not class-classified). Classification rule: MEOS infra / catalog / utility

+ */ + public static int rtree_search(jnr.ffi.Pointer arg0, int arg1, jnr.ffi.Pointer arg2, jnr.ffi.Pointer arg3) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "rtree_search requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.rtree_search(arg0, arg1, arg2, arg3); + } + + /** + * MEOS {@code rtree_search_temporal} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Free function (not class-classified). Classification rule: MEOS infra / catalog / utility

+ */ + public static int rtree_search_temporal(jnr.ffi.Pointer arg0, int arg1, jnr.ffi.Pointer arg2, jnr.ffi.Pointer arg3) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "rtree_search_temporal requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.rtree_search_temporal(arg0, arg1, arg2, arg3); + } + + /** + * MEOS {@code text2cstring} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Free function (not class-classified). Classification rule: string/CString conversion (low-level)

+ */ + public static java.lang.String text2cstring(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "text2cstring requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.text2cstring(arg0); + } + + /** + * MEOS {@code text_in} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Free function (not class-classified). Classification rule: IO/serialization

+ */ + public static jnr.ffi.Pointer text_in(java.lang.String arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "text_in requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.text_in(arg0); + } + + /** + * MEOS {@code text_out} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Free function (not class-classified). Classification rule: IO/serialization

+ */ + public static java.lang.String text_out(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "text_out requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.text_out(arg0); + } + +} diff --git a/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsFreeGeo.java b/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsFreeGeo.java new file mode 100644 index 00000000..fd60c650 --- /dev/null +++ b/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsFreeGeo.java @@ -0,0 +1,3438 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2020-2026, Université libre de Bruxelles and MobilityDB + * contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +package org.mobilitydb.meos; + +/* AUTO-GENERATED by codegen_flink_free.py — do not edit by hand. + * Source header: meos_geo.h + * Methods emitted: 262 (stateless=134 · bounded-state=57 · cross-stream=46 · io-meta=17 · windowed=8) + * Scope: MEOS public functions NOT classified into any object-model class + * (free functions, not methods on a class). + * Source: JMEOS PR #19 (functions.GeneratedFunctions) ∩ streaming-relevance baseline v4. + */ + +import functions.GeneratedFunctions; +import jnr.ffi.Pointer; + +public final class MeosOpsFreeGeo { + + public static final boolean MEOS_AVAILABLE = MeosOpsRuntime.MEOS_AVAILABLE; + + private MeosOpsFreeGeo() { /* utility */ } + + /** + * MEOS {@code above_stbox_stbox} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean above_stbox_stbox(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "above_stbox_stbox requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.above_stbox_stbox(arg0, arg1); + } + + /** + * MEOS {@code above_stbox_tspatial} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean above_stbox_tspatial(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "above_stbox_tspatial requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.above_stbox_tspatial(arg0, arg1); + } + + /** + * MEOS {@code adjacent_stbox_stbox} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean adjacent_stbox_stbox(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "adjacent_stbox_stbox requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.adjacent_stbox_stbox(arg0, arg1); + } + + /** + * MEOS {@code adjacent_stbox_tspatial} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean adjacent_stbox_tspatial(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "adjacent_stbox_tspatial requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.adjacent_stbox_tspatial(arg0, arg1); + } + + /** + * MEOS {@code after_stbox_stbox} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean after_stbox_stbox(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "after_stbox_stbox requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.after_stbox_stbox(arg0, arg1); + } + + /** + * MEOS {@code after_stbox_tspatial} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean after_stbox_tspatial(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "after_stbox_tspatial requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.after_stbox_tspatial(arg0, arg1); + } + + /** + * MEOS {@code back_stbox_stbox} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean back_stbox_stbox(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "back_stbox_stbox requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.back_stbox_stbox(arg0, arg1); + } + + /** + * MEOS {@code back_stbox_tspatial} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean back_stbox_tspatial(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "back_stbox_tspatial requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.back_stbox_tspatial(arg0, arg1); + } + + /** + * MEOS {@code bearing_point_point} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: scalar in/out (default-stateless catch-all)

+ */ + public static jnr.ffi.Pointer bearing_point_point(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "bearing_point_point requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.bearing_point_point(arg0, arg1); + } + + /** + * MEOS {@code before_stbox_stbox} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean before_stbox_stbox(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "before_stbox_stbox requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.before_stbox_stbox(arg0, arg1); + } + + /** + * MEOS {@code before_stbox_tspatial} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean before_stbox_tspatial(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "before_stbox_tspatial requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.before_stbox_tspatial(arg0, arg1); + } + + /** + * MEOS {@code below_stbox_stbox} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean below_stbox_stbox(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "below_stbox_stbox requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.below_stbox_stbox(arg0, arg1); + } + + /** + * MEOS {@code below_stbox_tspatial} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean below_stbox_tspatial(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "below_stbox_tspatial requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.below_stbox_tspatial(arg0, arg1); + } + + /** + * MEOS {@code box3d_make} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: make/from_base of instant/scalar

+ */ + public static jnr.ffi.Pointer box3d_make(double arg0, double arg1, double arg2, double arg3, double arg4, double arg5, int arg6) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "box3d_make requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.box3d_make(arg0, arg1, arg2, arg3, arg4, arg5, arg6); + } + + /** + * MEOS {@code box3d_to_stbox} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: name pattern is _to_

+ */ + public static jnr.ffi.Pointer box3d_to_stbox(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "box3d_to_stbox requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.box3d_to_stbox(arg0); + } + + /** + * MEOS {@code contained_geo_set} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean contained_geo_set(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "contained_geo_set requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.contained_geo_set(arg0, arg1); + } + + /** + * MEOS {@code contained_stbox_stbox} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean contained_stbox_stbox(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "contained_stbox_stbox requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.contained_stbox_stbox(arg0, arg1); + } + + /** + * MEOS {@code contained_stbox_tspatial} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean contained_stbox_tspatial(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "contained_stbox_tspatial requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.contained_stbox_tspatial(arg0, arg1); + } + + /** + * MEOS {@code contains_set_geo} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean contains_set_geo(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "contains_set_geo requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.contains_set_geo(arg0, arg1); + } + + /** + * MEOS {@code contains_stbox_stbox} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean contains_stbox_stbox(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "contains_stbox_stbox requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.contains_stbox_stbox(arg0, arg1); + } + + /** + * MEOS {@code contains_stbox_tspatial} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean contains_stbox_tspatial(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "contains_stbox_tspatial requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.contains_stbox_tspatial(arg0, arg1); + } + + /** + * MEOS {@code front_stbox_stbox} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean front_stbox_stbox(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "front_stbox_stbox requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.front_stbox_stbox(arg0, arg1); + } + + /** + * MEOS {@code front_stbox_tspatial} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean front_stbox_tspatial(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "front_stbox_tspatial requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.front_stbox_tspatial(arg0, arg1); + } + + /** + * MEOS {@code gbox_make} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: make/from_base of instant/scalar

+ */ + public static jnr.ffi.Pointer gbox_make(boolean arg0, double arg1, double arg2, double arg3, double arg4, double arg5, double arg6) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "gbox_make requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.gbox_make(arg0, arg1, arg2, arg3, arg4, arg5, arg6); + } + + /** + * MEOS {@code gbox_to_stbox} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: name pattern is _to_

+ */ + public static jnr.ffi.Pointer gbox_to_stbox(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "gbox_to_stbox requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.gbox_to_stbox(arg0); + } + + /** + * MEOS {@code geo_cluster_dbscan} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: base-type fn, default pure

+ */ + public static jnr.ffi.Pointer geo_cluster_dbscan(jnr.ffi.Pointer arg0, int arg1, double arg2, int arg3, jnr.ffi.Pointer arg4) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "geo_cluster_dbscan requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.geo_cluster_dbscan(arg0, arg1, arg2, arg3, arg4); + } + + /** + * MEOS {@code geo_cluster_intersecting} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: base-type fn, default pure

+ */ + public static jnr.ffi.Pointer geo_cluster_intersecting(jnr.ffi.Pointer arg0, int arg1, jnr.ffi.Pointer arg2) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "geo_cluster_intersecting requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.geo_cluster_intersecting(arg0, arg1, arg2); + } + + /** + * MEOS {@code geo_cluster_kmeans} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: base-type fn, default pure

+ */ + public static jnr.ffi.Pointer geo_cluster_kmeans(jnr.ffi.Pointer arg0, int arg1, int arg2, jnr.ffi.Pointer arg3) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "geo_cluster_kmeans requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.geo_cluster_kmeans(arg0, arg1, arg2, arg3); + } + + /** + * MEOS {@code geo_cluster_within} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: base-type fn, default pure

+ */ + public static jnr.ffi.Pointer geo_cluster_within(jnr.ffi.Pointer arg0, int arg1, double arg2, jnr.ffi.Pointer arg3) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "geo_cluster_within requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.geo_cluster_within(arg0, arg1, arg2, arg3); + } + + /** + * MEOS {@code geo_collect_garray} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: base-type fn, default pure

+ */ + public static jnr.ffi.Pointer geo_collect_garray(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "geo_collect_garray requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.geo_collect_garray(arg0, arg1); + } + + /** + * MEOS {@code geo_copy} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: base-type fn, default pure

+ */ + public static jnr.ffi.Pointer geo_copy(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "geo_copy requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.geo_copy(arg0); + } + + /** + * MEOS {@code geo_equals} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: scalar comparison/hash

+ */ + public static int geo_equals(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "geo_equals requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.geo_equals(arg0, arg1); + } + + /** + * MEOS {@code geo_geo_n} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: scalar comparison/hash

+ */ + public static jnr.ffi.Pointer geo_geo_n(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "geo_geo_n requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.geo_geo_n(arg0, arg1); + } + + /** + * MEOS {@code geo_is_empty} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: base-type fn, default pure

+ */ + public static boolean geo_is_empty(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "geo_is_empty requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.geo_is_empty(arg0); + } + + /** + * MEOS {@code geo_is_unitary} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: base-type fn, default pure

+ */ + public static boolean geo_is_unitary(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "geo_is_unitary requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.geo_is_unitary(arg0); + } + + /** + * MEOS {@code geo_makeline_garray} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: make/from_base of instant/scalar

+ */ + public static jnr.ffi.Pointer geo_makeline_garray(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "geo_makeline_garray requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.geo_makeline_garray(arg0, arg1); + } + + /** + * MEOS {@code geo_num_geos} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: base-type fn, default pure

+ */ + public static int geo_num_geos(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "geo_num_geos requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.geo_num_geos(arg0); + } + + /** + * MEOS {@code geo_num_points} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: base-type fn, default pure

+ */ + public static int geo_num_points(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "geo_num_points requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.geo_num_points(arg0); + } + + /** + * MEOS {@code geo_pointarr} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: base-type fn, default pure

+ */ + public static jnr.ffi.Pointer geo_pointarr(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "geo_pointarr requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.geo_pointarr(arg0, arg1); + } + + /** + * MEOS {@code geo_points} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: base-type fn, default pure

+ */ + public static jnr.ffi.Pointer geo_points(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "geo_points requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.geo_points(arg0); + } + + /** + * MEOS {@code geo_reverse} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: base-type fn, default pure

+ */ + public static jnr.ffi.Pointer geo_reverse(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "geo_reverse requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.geo_reverse(arg0); + } + + /** + * MEOS {@code geo_round} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: transform/normalize (pure)

+ */ + public static jnr.ffi.Pointer geo_round(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "geo_round requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.geo_round(arg0, arg1); + } + + /** + * MEOS {@code geo_same} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: base-type fn, default pure

+ */ + public static boolean geo_same(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "geo_same requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.geo_same(arg0, arg1); + } + + /** + * MEOS {@code geo_set_srid} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: base-type fn, default pure

+ */ + public static jnr.ffi.Pointer geo_set_srid(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "geo_set_srid requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.geo_set_srid(arg0, arg1); + } + + /** + * MEOS {@code geo_split_each_n_stboxes} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: base-type fn, default pure

+ */ + public static jnr.ffi.Pointer geo_split_each_n_stboxes(jnr.ffi.Pointer arg0, int arg1, jnr.ffi.Pointer arg2) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "geo_split_each_n_stboxes requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.geo_split_each_n_stboxes(arg0, arg1, arg2); + } + + /** + * MEOS {@code geo_split_n_stboxes} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: base-type fn, default pure

+ */ + public static jnr.ffi.Pointer geo_split_n_stboxes(jnr.ffi.Pointer arg0, int arg1, jnr.ffi.Pointer arg2) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "geo_split_n_stboxes requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.geo_split_n_stboxes(arg0, arg1, arg2); + } + + /** + * MEOS {@code geo_srid} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: base-type fn, default pure

+ */ + public static int geo_srid(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "geo_srid requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.geo_srid(arg0); + } + + /** + * MEOS {@code geo_stboxes} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: base-type fn, default pure

+ */ + public static jnr.ffi.Pointer geo_stboxes(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "geo_stboxes requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.geo_stboxes(arg0, arg1); + } + + /** + * MEOS {@code geo_timestamptz_to_stbox} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: name pattern is _to_

+ */ + public static jnr.ffi.Pointer geo_timestamptz_to_stbox(jnr.ffi.Pointer arg0, java.time.OffsetDateTime arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "geo_timestamptz_to_stbox requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.geo_timestamptz_to_stbox(arg0, arg1); + } + + /** + * MEOS {@code geo_to_set} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: name pattern is _to_

+ */ + public static jnr.ffi.Pointer geo_to_set(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "geo_to_set requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.geo_to_set(arg0); + } + + /** + * MEOS {@code geo_to_stbox} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: name pattern is _to_

+ */ + public static jnr.ffi.Pointer geo_to_stbox(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "geo_to_stbox requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.geo_to_stbox(arg0); + } + + /** + * MEOS {@code geo_transform} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: base-type fn, default pure

+ */ + public static jnr.ffi.Pointer geo_transform(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "geo_transform requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.geo_transform(arg0, arg1); + } + + /** + * MEOS {@code geo_transform_pipeline} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: base-type fn, default pure

+ */ + public static jnr.ffi.Pointer geo_transform_pipeline(jnr.ffi.Pointer arg0, java.lang.String arg1, int arg2, boolean arg3) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "geo_transform_pipeline requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.geo_transform_pipeline(arg0, arg1, arg2, arg3); + } + + /** + * MEOS {@code geo_tstzspan_to_stbox} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: name pattern is _to_

+ */ + public static jnr.ffi.Pointer geo_tstzspan_to_stbox(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "geo_tstzspan_to_stbox requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.geo_tstzspan_to_stbox(arg0, arg1); + } + + /** + * MEOS {@code geo_typename} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: base-type fn, default pure

+ */ + public static java.lang.String geo_typename(int arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "geo_typename requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.geo_typename(arg0); + } + + /** + * MEOS {@code geo_union_transfn} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: base-type fn, default pure

+ */ + public static jnr.ffi.Pointer geo_union_transfn(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "geo_union_transfn requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.geo_union_transfn(arg0, arg1); + } + + /** + * MEOS {@code geog_area} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: base-type fn, default pure

+ */ + public static double geog_area(jnr.ffi.Pointer arg0, boolean arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "geog_area requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.geog_area(arg0, arg1); + } + + /** + * MEOS {@code geog_centroid} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: base-type fn, default pure

+ */ + public static jnr.ffi.Pointer geog_centroid(jnr.ffi.Pointer arg0, boolean arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "geog_centroid requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.geog_centroid(arg0, arg1); + } + + /** + * MEOS {@code geog_distance} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: base-type fn, default pure

+ */ + public static double geog_distance(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "geog_distance requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.geog_distance(arg0, arg1); + } + + /** + * MEOS {@code geog_dwithin} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: base-type fn, default pure

+ */ + public static boolean geog_dwithin(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1, double arg2, boolean arg3) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "geog_dwithin requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.geog_dwithin(arg0, arg1, arg2, arg3); + } + + /** + * MEOS {@code geog_intersects} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: base-type fn, default pure

+ */ + public static boolean geog_intersects(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1, boolean arg2) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "geog_intersects requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.geog_intersects(arg0, arg1, arg2); + } + + /** + * MEOS {@code geog_length} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: scalar comparison/hash

+ */ + public static double geog_length(jnr.ffi.Pointer arg0, boolean arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "geog_length requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.geog_length(arg0, arg1); + } + + /** + * MEOS {@code geog_perimeter} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: base-type fn, default pure

+ */ + public static double geog_perimeter(jnr.ffi.Pointer arg0, boolean arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "geog_perimeter requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.geog_perimeter(arg0, arg1); + } + + /** + * MEOS {@code geog_to_geom} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: name pattern is _to_

+ */ + public static jnr.ffi.Pointer geog_to_geom(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "geog_to_geom requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.geog_to_geom(arg0); + } + + /** + * MEOS {@code geom_array_union} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: base-type fn, default pure

+ */ + public static jnr.ffi.Pointer geom_array_union(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "geom_array_union requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.geom_array_union(arg0, arg1); + } + + /** + * MEOS {@code geom_azimuth} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: base-type fn, default pure

+ */ + public static jnr.ffi.Pointer geom_azimuth(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "geom_azimuth requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.geom_azimuth(arg0, arg1); + } + + /** + * MEOS {@code geom_boundary} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: base-type fn, default pure

+ */ + public static jnr.ffi.Pointer geom_boundary(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "geom_boundary requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.geom_boundary(arg0); + } + + /** + * MEOS {@code geom_buffer} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: base-type fn, default pure

+ */ + public static jnr.ffi.Pointer geom_buffer(jnr.ffi.Pointer arg0, double arg1, java.lang.String arg2) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "geom_buffer requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.geom_buffer(arg0, arg1, arg2); + } + + /** + * MEOS {@code geom_centroid} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: base-type fn, default pure

+ */ + public static jnr.ffi.Pointer geom_centroid(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "geom_centroid requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.geom_centroid(arg0); + } + + /** + * MEOS {@code geom_contains} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: base-type fn, default pure

+ */ + public static boolean geom_contains(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "geom_contains requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.geom_contains(arg0, arg1); + } + + /** + * MEOS {@code geom_convex_hull} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: base-type fn, default pure

+ */ + public static jnr.ffi.Pointer geom_convex_hull(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "geom_convex_hull requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.geom_convex_hull(arg0); + } + + /** + * MEOS {@code geom_covers} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: base-type fn, default pure

+ */ + public static boolean geom_covers(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "geom_covers requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.geom_covers(arg0, arg1); + } + + /** + * MEOS {@code geom_difference2d} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: base-type fn, default pure

+ */ + public static jnr.ffi.Pointer geom_difference2d(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "geom_difference2d requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.geom_difference2d(arg0, arg1); + } + + /** + * MEOS {@code geom_disjoint2d} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: base-type fn, default pure

+ */ + public static boolean geom_disjoint2d(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "geom_disjoint2d requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.geom_disjoint2d(arg0, arg1); + } + + /** + * MEOS {@code geom_distance2d} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: base-type fn, default pure

+ */ + public static double geom_distance2d(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "geom_distance2d requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.geom_distance2d(arg0, arg1); + } + + /** + * MEOS {@code geom_distance3d} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: base-type fn, default pure

+ */ + public static double geom_distance3d(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "geom_distance3d requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.geom_distance3d(arg0, arg1); + } + + /** + * MEOS {@code geom_dwithin2d} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: base-type fn, default pure

+ */ + public static boolean geom_dwithin2d(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1, double arg2) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "geom_dwithin2d requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.geom_dwithin2d(arg0, arg1, arg2); + } + + /** + * MEOS {@code geom_dwithin3d} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: base-type fn, default pure

+ */ + public static boolean geom_dwithin3d(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1, double arg2) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "geom_dwithin3d requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.geom_dwithin3d(arg0, arg1, arg2); + } + + /** + * MEOS {@code geom_intersection2d} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: base-type fn, default pure

+ */ + public static jnr.ffi.Pointer geom_intersection2d(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "geom_intersection2d requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.geom_intersection2d(arg0, arg1); + } + + /** + * MEOS {@code geom_intersection2d_coll} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: base-type fn, default pure

+ */ + public static jnr.ffi.Pointer geom_intersection2d_coll(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "geom_intersection2d_coll requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.geom_intersection2d_coll(arg0, arg1); + } + + /** + * MEOS {@code geom_intersects2d} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: base-type fn, default pure

+ */ + public static boolean geom_intersects2d(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "geom_intersects2d requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.geom_intersects2d(arg0, arg1); + } + + /** + * MEOS {@code geom_intersects3d} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: base-type fn, default pure

+ */ + public static boolean geom_intersects3d(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "geom_intersects3d requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.geom_intersects3d(arg0, arg1); + } + + /** + * MEOS {@code geom_length} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: scalar comparison/hash

+ */ + public static double geom_length(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "geom_length requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.geom_length(arg0); + } + + /** + * MEOS {@code geom_min_bounding_radius} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: base-type fn, default pure

+ */ + public static jnr.ffi.Pointer geom_min_bounding_radius(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "geom_min_bounding_radius requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.geom_min_bounding_radius(arg0); + } + + /** + * MEOS {@code geom_perimeter} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: base-type fn, default pure

+ */ + public static double geom_perimeter(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "geom_perimeter requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.geom_perimeter(arg0); + } + + /** + * MEOS {@code geom_relate_pattern} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: base-type fn, default pure

+ */ + public static boolean geom_relate_pattern(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1, java.lang.String arg2) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "geom_relate_pattern requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.geom_relate_pattern(arg0, arg1, arg2); + } + + /** + * MEOS {@code geom_shortestline2d} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: base-type fn, default pure

+ */ + public static jnr.ffi.Pointer geom_shortestline2d(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "geom_shortestline2d requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.geom_shortestline2d(arg0, arg1); + } + + /** + * MEOS {@code geom_shortestline3d} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: base-type fn, default pure

+ */ + public static jnr.ffi.Pointer geom_shortestline3d(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "geom_shortestline3d requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.geom_shortestline3d(arg0, arg1); + } + + /** + * MEOS {@code geom_to_geog} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: name pattern is _to_

+ */ + public static jnr.ffi.Pointer geom_to_geog(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "geom_to_geog requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.geom_to_geog(arg0); + } + + /** + * MEOS {@code geom_touches} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: base-type fn, default pure

+ */ + public static boolean geom_touches(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "geom_touches requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.geom_touches(arg0, arg1); + } + + /** + * MEOS {@code geom_unary_union} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: base-type fn, default pure

+ */ + public static jnr.ffi.Pointer geom_unary_union(jnr.ffi.Pointer arg0, double arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "geom_unary_union requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.geom_unary_union(arg0, arg1); + } + + /** + * MEOS {@code intersection_geo_set} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static jnr.ffi.Pointer intersection_geo_set(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "intersection_geo_set requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.intersection_geo_set(arg0, arg1); + } + + /** + * MEOS {@code intersection_set_geo} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static jnr.ffi.Pointer intersection_set_geo(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "intersection_set_geo requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.intersection_set_geo(arg0, arg1); + } + + /** + * MEOS {@code intersection_stbox_stbox} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static jnr.ffi.Pointer intersection_stbox_stbox(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "intersection_stbox_stbox requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.intersection_stbox_stbox(arg0, arg1); + } + + /** + * MEOS {@code left_stbox_stbox} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean left_stbox_stbox(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "left_stbox_stbox requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.left_stbox_stbox(arg0, arg1); + } + + /** + * MEOS {@code left_stbox_tspatial} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean left_stbox_tspatial(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "left_stbox_tspatial requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.left_stbox_tspatial(arg0, arg1); + } + + /** + * MEOS {@code line_numpoints} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: scalar in/out (default-stateless catch-all)

+ */ + public static int line_numpoints(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "line_numpoints requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.line_numpoints(arg0); + } + + /** + * MEOS {@code overabove_stbox_stbox} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean overabove_stbox_stbox(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "overabove_stbox_stbox requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.overabove_stbox_stbox(arg0, arg1); + } + + /** + * MEOS {@code overabove_stbox_tspatial} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean overabove_stbox_tspatial(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "overabove_stbox_tspatial requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.overabove_stbox_tspatial(arg0, arg1); + } + + /** + * MEOS {@code overafter_stbox_stbox} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean overafter_stbox_stbox(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "overafter_stbox_stbox requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.overafter_stbox_stbox(arg0, arg1); + } + + /** + * MEOS {@code overafter_stbox_tspatial} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean overafter_stbox_tspatial(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "overafter_stbox_tspatial requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.overafter_stbox_tspatial(arg0, arg1); + } + + /** + * MEOS {@code overback_stbox_stbox} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean overback_stbox_stbox(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "overback_stbox_stbox requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.overback_stbox_stbox(arg0, arg1); + } + + /** + * MEOS {@code overback_stbox_tspatial} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean overback_stbox_tspatial(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "overback_stbox_tspatial requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.overback_stbox_tspatial(arg0, arg1); + } + + /** + * MEOS {@code overbefore_stbox_stbox} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean overbefore_stbox_stbox(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "overbefore_stbox_stbox requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.overbefore_stbox_stbox(arg0, arg1); + } + + /** + * MEOS {@code overbefore_stbox_tspatial} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean overbefore_stbox_tspatial(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "overbefore_stbox_tspatial requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.overbefore_stbox_tspatial(arg0, arg1); + } + + /** + * MEOS {@code overbelow_stbox_stbox} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean overbelow_stbox_stbox(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "overbelow_stbox_stbox requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.overbelow_stbox_stbox(arg0, arg1); + } + + /** + * MEOS {@code overbelow_stbox_tspatial} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean overbelow_stbox_tspatial(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "overbelow_stbox_tspatial requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.overbelow_stbox_tspatial(arg0, arg1); + } + + /** + * MEOS {@code overfront_stbox_stbox} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean overfront_stbox_stbox(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "overfront_stbox_stbox requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.overfront_stbox_stbox(arg0, arg1); + } + + /** + * MEOS {@code overfront_stbox_tspatial} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean overfront_stbox_tspatial(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "overfront_stbox_tspatial requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.overfront_stbox_tspatial(arg0, arg1); + } + + /** + * MEOS {@code overlaps_stbox_stbox} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean overlaps_stbox_stbox(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "overlaps_stbox_stbox requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.overlaps_stbox_stbox(arg0, arg1); + } + + /** + * MEOS {@code overlaps_stbox_tspatial} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean overlaps_stbox_tspatial(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "overlaps_stbox_tspatial requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.overlaps_stbox_tspatial(arg0, arg1); + } + + /** + * MEOS {@code overleft_stbox_stbox} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean overleft_stbox_stbox(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "overleft_stbox_stbox requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.overleft_stbox_stbox(arg0, arg1); + } + + /** + * MEOS {@code overleft_stbox_tspatial} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean overleft_stbox_tspatial(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "overleft_stbox_tspatial requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.overleft_stbox_tspatial(arg0, arg1); + } + + /** + * MEOS {@code overright_stbox_stbox} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean overright_stbox_stbox(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "overright_stbox_stbox requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.overright_stbox_stbox(arg0, arg1); + } + + /** + * MEOS {@code overright_stbox_tspatial} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean overright_stbox_tspatial(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "overright_stbox_tspatial requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.overright_stbox_tspatial(arg0, arg1); + } + + /** + * MEOS {@code right_stbox_stbox} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean right_stbox_stbox(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "right_stbox_stbox requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.right_stbox_stbox(arg0, arg1); + } + + /** + * MEOS {@code right_stbox_tspatial} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean right_stbox_tspatial(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "right_stbox_tspatial requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.right_stbox_tspatial(arg0, arg1); + } + + /** + * MEOS {@code same_stbox_stbox} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: same predicate (pure box equality)

+ */ + public static boolean same_stbox_stbox(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "same_stbox_stbox requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.same_stbox_stbox(arg0, arg1); + } + + /** + * MEOS {@code same_stbox_tspatial} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: same predicate (pure box equality)

+ */ + public static boolean same_stbox_tspatial(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "same_stbox_tspatial requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.same_stbox_tspatial(arg0, arg1); + } + + /** + * MEOS {@code same_tspatial_stbox} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: same predicate (pure box equality)

+ */ + public static boolean same_tspatial_stbox(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "same_tspatial_stbox requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.same_tspatial_stbox(arg0, arg1); + } + + /** + * MEOS {@code spatialset_srid} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: scalar in/out (default-stateless catch-all)

+ */ + public static int spatialset_srid(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "spatialset_srid requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.spatialset_srid(arg0); + } + + /** + * MEOS {@code spatialset_to_stbox} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: name pattern is _to_

+ */ + public static jnr.ffi.Pointer spatialset_to_stbox(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "spatialset_to_stbox requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.spatialset_to_stbox(arg0); + } + + /** + * MEOS {@code stboxarr_round} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: transform/normalize (pure)

+ */ + public static jnr.ffi.Pointer stboxarr_round(jnr.ffi.Pointer arg0, int arg1, int arg2) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "stboxarr_round requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.stboxarr_round(arg0, arg1, arg2); + } + + /** + * MEOS {@code teq_geo_tgeo} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: temporal comparison (per-instant)

+ */ + public static jnr.ffi.Pointer teq_geo_tgeo(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "teq_geo_tgeo requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.teq_geo_tgeo(arg0, arg1); + } + + /** + * MEOS {@code teq_tgeo_geo} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: temporal comparison (per-instant)

+ */ + public static jnr.ffi.Pointer teq_tgeo_geo(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "teq_tgeo_geo requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.teq_tgeo_geo(arg0, arg1); + } + + /** + * MEOS {@code tgeoinst_make} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: make/from_base of instant/scalar

+ */ + public static jnr.ffi.Pointer tgeoinst_make(jnr.ffi.Pointer arg0, java.time.OffsetDateTime arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tgeoinst_make requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tgeoinst_make(arg0, arg1); + } + + /** + * MEOS {@code timestamptz_to_stbox} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: name pattern is _to_

+ */ + public static jnr.ffi.Pointer timestamptz_to_stbox(java.time.OffsetDateTime arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "timestamptz_to_stbox requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.timestamptz_to_stbox(arg0); + } + + /** + * MEOS {@code tne_geo_tgeo} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: temporal comparison (per-instant)

+ */ + public static jnr.ffi.Pointer tne_geo_tgeo(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tne_geo_tgeo requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tne_geo_tgeo(arg0, arg1); + } + + /** + * MEOS {@code tne_tgeo_geo} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: temporal comparison (per-instant)

+ */ + public static jnr.ffi.Pointer tne_tgeo_geo(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tne_tgeo_geo requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tne_tgeo_geo(arg0, arg1); + } + + /** + * MEOS {@code tpointinst_make} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: make/from_base of instant/scalar

+ */ + public static jnr.ffi.Pointer tpointinst_make(jnr.ffi.Pointer arg0, java.time.OffsetDateTime arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tpointinst_make requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tpointinst_make(arg0, arg1); + } + + /** + * MEOS {@code union_geo_set} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static jnr.ffi.Pointer union_geo_set(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "union_geo_set requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.union_geo_set(arg0, arg1); + } + + /** + * MEOS {@code union_set_geo} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static jnr.ffi.Pointer union_set_geo(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "union_set_geo requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.union_set_geo(arg0, arg1); + } + + /** + * MEOS {@code union_stbox_stbox} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static jnr.ffi.Pointer union_stbox_stbox(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1, boolean arg2) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "union_stbox_stbox requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.union_stbox_stbox(arg0, arg1, arg2); + } + + /** + * MEOS {@code above_tspatial_stbox} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: topology/position rel on 1 temporal + scalar

+ */ + public static boolean above_tspatial_stbox(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "above_tspatial_stbox requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.above_tspatial_stbox(arg0, arg1); + } + + /** + * MEOS {@code acontains_geo_tgeo} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: ever/always spatial-rel on 1 temporal

+ */ + public static int acontains_geo_tgeo(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "acontains_geo_tgeo requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.acontains_geo_tgeo(arg0, arg1); + } + + /** + * MEOS {@code acontains_tgeo_geo} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: ever/always spatial-rel on 1 temporal

+ */ + public static int acontains_tgeo_geo(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "acontains_tgeo_geo requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.acontains_tgeo_geo(arg0, arg1); + } + + /** + * MEOS {@code adisjoint_tgeo_geo} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: ever/always spatial-rel on 1 temporal

+ */ + public static int adisjoint_tgeo_geo(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "adisjoint_tgeo_geo requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.adisjoint_tgeo_geo(arg0, arg1); + } + + /** + * MEOS {@code adjacent_tspatial_stbox} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: topology/position rel on 1 temporal + scalar

+ */ + public static boolean adjacent_tspatial_stbox(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "adjacent_tspatial_stbox requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.adjacent_tspatial_stbox(arg0, arg1); + } + + /** + * MEOS {@code adwithin_tgeo_geo} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: ever/always spatial-rel on 1 temporal

+ */ + public static int adwithin_tgeo_geo(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1, double arg2) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "adwithin_tgeo_geo requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.adwithin_tgeo_geo(arg0, arg1, arg2); + } + + /** + * MEOS {@code after_tspatial_stbox} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: topology/position rel on 1 temporal + scalar

+ */ + public static boolean after_tspatial_stbox(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "after_tspatial_stbox requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.after_tspatial_stbox(arg0, arg1); + } + + /** + * MEOS {@code aintersects_tgeo_geo} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: ever/always spatial-rel on 1 temporal

+ */ + public static int aintersects_tgeo_geo(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "aintersects_tgeo_geo requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.aintersects_tgeo_geo(arg0, arg1); + } + + /** + * MEOS {@code atouches_tgeo_geo} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: ever/always spatial-rel on 1 temporal

+ */ + public static int atouches_tgeo_geo(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "atouches_tgeo_geo requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.atouches_tgeo_geo(arg0, arg1); + } + + /** + * MEOS {@code atouches_tpoint_geo} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: ever/always spatial-rel on 1 temporal

+ */ + public static int atouches_tpoint_geo(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "atouches_tpoint_geo requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.atouches_tpoint_geo(arg0, arg1); + } + + /** + * MEOS {@code back_tspatial_stbox} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: topology/position rel on 1 temporal + scalar

+ */ + public static boolean back_tspatial_stbox(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "back_tspatial_stbox requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.back_tspatial_stbox(arg0, arg1); + } + + /** + * MEOS {@code before_tspatial_stbox} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: topology/position rel on 1 temporal + scalar

+ */ + public static boolean before_tspatial_stbox(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "before_tspatial_stbox requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.before_tspatial_stbox(arg0, arg1); + } + + /** + * MEOS {@code below_tspatial_stbox} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: topology/position rel on 1 temporal + scalar

+ */ + public static boolean below_tspatial_stbox(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "below_tspatial_stbox requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.below_tspatial_stbox(arg0, arg1); + } + + /** + * MEOS {@code contained_tspatial_stbox} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: topology/position rel on 1 temporal + scalar

+ */ + public static boolean contained_tspatial_stbox(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "contained_tspatial_stbox requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.contained_tspatial_stbox(arg0, arg1); + } + + /** + * MEOS {@code contains_tspatial_stbox} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: topology/position rel on 1 temporal + scalar

+ */ + public static boolean contains_tspatial_stbox(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "contains_tspatial_stbox requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.contains_tspatial_stbox(arg0, arg1); + } + + /** + * MEOS {@code econtains_geo_tgeo} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: ever/always spatial-rel on 1 temporal

+ */ + public static int econtains_geo_tgeo(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "econtains_geo_tgeo requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.econtains_geo_tgeo(arg0, arg1); + } + + /** + * MEOS {@code econtains_tgeo_geo} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: ever/always spatial-rel on 1 temporal

+ */ + public static int econtains_tgeo_geo(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "econtains_tgeo_geo requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.econtains_tgeo_geo(arg0, arg1); + } + + /** + * MEOS {@code ecovers_geo_tgeo} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: ever/always spatial-rel on 1 temporal

+ */ + public static int ecovers_geo_tgeo(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "ecovers_geo_tgeo requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.ecovers_geo_tgeo(arg0, arg1); + } + + /** + * MEOS {@code ecovers_tgeo_geo} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: ever/always spatial-rel on 1 temporal

+ */ + public static int ecovers_tgeo_geo(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "ecovers_tgeo_geo requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.ecovers_tgeo_geo(arg0, arg1); + } + + /** + * MEOS {@code edisjoint_tgeo_geo} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: ever/always spatial-rel on 1 temporal

+ */ + public static int edisjoint_tgeo_geo(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "edisjoint_tgeo_geo requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.edisjoint_tgeo_geo(arg0, arg1); + } + + /** + * MEOS {@code edwithin_tgeo_geo} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: ever/always spatial-rel on 1 temporal

+ */ + public static int edwithin_tgeo_geo(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1, double arg2) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "edwithin_tgeo_geo requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.edwithin_tgeo_geo(arg0, arg1, arg2); + } + + /** + * MEOS {@code eintersects_tgeo_geo} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: ever/always spatial-rel on 1 temporal

+ */ + public static int eintersects_tgeo_geo(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "eintersects_tgeo_geo requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.eintersects_tgeo_geo(arg0, arg1); + } + + /** + * MEOS {@code etouches_tgeo_geo} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: ever/always spatial-rel on 1 temporal

+ */ + public static int etouches_tgeo_geo(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "etouches_tgeo_geo requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.etouches_tgeo_geo(arg0, arg1); + } + + /** + * MEOS {@code etouches_tpoint_geo} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: ever/always spatial-rel on 1 temporal

+ */ + public static int etouches_tpoint_geo(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "etouches_tpoint_geo requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.etouches_tpoint_geo(arg0, arg1); + } + + /** + * MEOS {@code front_tspatial_stbox} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: topology/position rel on 1 temporal + scalar

+ */ + public static boolean front_tspatial_stbox(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "front_tspatial_stbox requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.front_tspatial_stbox(arg0, arg1); + } + + /** + * MEOS {@code left_tspatial_stbox} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: topology/position rel on 1 temporal + scalar

+ */ + public static boolean left_tspatial_stbox(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "left_tspatial_stbox requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.left_tspatial_stbox(arg0, arg1); + } + + /** + * MEOS {@code minus_geo_set} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: restriction name pattern

+ */ + public static jnr.ffi.Pointer minus_geo_set(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "minus_geo_set requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.minus_geo_set(arg0, arg1); + } + + /** + * MEOS {@code minus_set_geo} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: restriction name pattern

+ */ + public static jnr.ffi.Pointer minus_set_geo(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "minus_set_geo requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.minus_set_geo(arg0, arg1); + } + + /** + * MEOS {@code nad_stbox_geo} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: distance op

+ */ + public static double nad_stbox_geo(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "nad_stbox_geo requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.nad_stbox_geo(arg0, arg1); + } + + /** + * MEOS {@code nad_stbox_stbox} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: distance op

+ */ + public static double nad_stbox_stbox(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "nad_stbox_stbox requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.nad_stbox_stbox(arg0, arg1); + } + + /** + * MEOS {@code nad_tgeo_geo} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: distance op

+ */ + public static double nad_tgeo_geo(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "nad_tgeo_geo requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.nad_tgeo_geo(arg0, arg1); + } + + /** + * MEOS {@code nad_tgeo_stbox} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: distance op

+ */ + public static double nad_tgeo_stbox(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "nad_tgeo_stbox requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.nad_tgeo_stbox(arg0, arg1); + } + + /** + * MEOS {@code nai_tgeo_geo} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: distance op

+ */ + public static jnr.ffi.Pointer nai_tgeo_geo(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "nai_tgeo_geo requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.nai_tgeo_geo(arg0, arg1); + } + + /** + * MEOS {@code overabove_tspatial_stbox} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: topology/position rel on 1 temporal + scalar

+ */ + public static boolean overabove_tspatial_stbox(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "overabove_tspatial_stbox requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.overabove_tspatial_stbox(arg0, arg1); + } + + /** + * MEOS {@code overafter_tspatial_stbox} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: topology/position rel on 1 temporal + scalar

+ */ + public static boolean overafter_tspatial_stbox(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "overafter_tspatial_stbox requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.overafter_tspatial_stbox(arg0, arg1); + } + + /** + * MEOS {@code overback_tspatial_stbox} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: topology/position rel on 1 temporal + scalar

+ */ + public static boolean overback_tspatial_stbox(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "overback_tspatial_stbox requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.overback_tspatial_stbox(arg0, arg1); + } + + /** + * MEOS {@code overbefore_tspatial_stbox} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: topology/position rel on 1 temporal + scalar

+ */ + public static boolean overbefore_tspatial_stbox(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "overbefore_tspatial_stbox requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.overbefore_tspatial_stbox(arg0, arg1); + } + + /** + * MEOS {@code overbelow_tspatial_stbox} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: topology/position rel on 1 temporal + scalar

+ */ + public static boolean overbelow_tspatial_stbox(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "overbelow_tspatial_stbox requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.overbelow_tspatial_stbox(arg0, arg1); + } + + /** + * MEOS {@code overfront_tspatial_stbox} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: topology/position rel on 1 temporal + scalar

+ */ + public static boolean overfront_tspatial_stbox(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "overfront_tspatial_stbox requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.overfront_tspatial_stbox(arg0, arg1); + } + + /** + * MEOS {@code overlaps_tspatial_stbox} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: topology/position rel on 1 temporal + scalar

+ */ + public static boolean overlaps_tspatial_stbox(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "overlaps_tspatial_stbox requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.overlaps_tspatial_stbox(arg0, arg1); + } + + /** + * MEOS {@code overleft_tspatial_stbox} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: topology/position rel on 1 temporal + scalar

+ */ + public static boolean overleft_tspatial_stbox(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "overleft_tspatial_stbox requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.overleft_tspatial_stbox(arg0, arg1); + } + + /** + * MEOS {@code overright_tspatial_stbox} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: topology/position rel on 1 temporal + scalar

+ */ + public static boolean overright_tspatial_stbox(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "overright_tspatial_stbox requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.overright_tspatial_stbox(arg0, arg1); + } + + /** + * MEOS {@code right_tspatial_stbox} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: topology/position rel on 1 temporal + scalar

+ */ + public static boolean right_tspatial_stbox(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "right_tspatial_stbox requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.right_tspatial_stbox(arg0, arg1); + } + + /** + * MEOS {@code shortestline_tgeo_geo} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: distance op

+ */ + public static jnr.ffi.Pointer shortestline_tgeo_geo(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "shortestline_tgeo_geo requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.shortestline_tgeo_geo(arg0, arg1); + } + + /** + * MEOS {@code tcontains_geo_tgeo} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: temporal spatial-rel lift on 1 temporal

+ */ + public static jnr.ffi.Pointer tcontains_geo_tgeo(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tcontains_geo_tgeo requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tcontains_geo_tgeo(arg0, arg1); + } + + /** + * MEOS {@code tcontains_tgeo_geo} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: temporal spatial-rel lift on 1 temporal

+ */ + public static jnr.ffi.Pointer tcontains_tgeo_geo(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tcontains_tgeo_geo requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tcontains_tgeo_geo(arg0, arg1); + } + + /** + * MEOS {@code tcovers_geo_tgeo} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: temporal spatial-rel lift on 1 temporal

+ */ + public static jnr.ffi.Pointer tcovers_geo_tgeo(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tcovers_geo_tgeo requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tcovers_geo_tgeo(arg0, arg1); + } + + /** + * MEOS {@code tcovers_tgeo_geo} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: temporal spatial-rel lift on 1 temporal

+ */ + public static jnr.ffi.Pointer tcovers_tgeo_geo(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tcovers_tgeo_geo requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tcovers_tgeo_geo(arg0, arg1); + } + + /** + * MEOS {@code tdisjoint_geo_tgeo} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: temporal spatial-rel lift on 1 temporal

+ */ + public static jnr.ffi.Pointer tdisjoint_geo_tgeo(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tdisjoint_geo_tgeo requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tdisjoint_geo_tgeo(arg0, arg1); + } + + /** + * MEOS {@code tdisjoint_tgeo_geo} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: temporal spatial-rel lift on 1 temporal

+ */ + public static jnr.ffi.Pointer tdisjoint_tgeo_geo(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tdisjoint_tgeo_geo requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tdisjoint_tgeo_geo(arg0, arg1); + } + + /** + * MEOS {@code tdistance_tgeo_geo} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: distance op

+ */ + public static jnr.ffi.Pointer tdistance_tgeo_geo(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tdistance_tgeo_geo requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tdistance_tgeo_geo(arg0, arg1); + } + + /** + * MEOS {@code tdwithin_geo_tgeo} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: temporal spatial-rel lift on 1 temporal

+ */ + public static jnr.ffi.Pointer tdwithin_geo_tgeo(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1, double arg2) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tdwithin_geo_tgeo requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tdwithin_geo_tgeo(arg0, arg1, arg2); + } + + /** + * MEOS {@code tdwithin_tgeo_geo} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: temporal spatial-rel lift on 1 temporal

+ */ + public static jnr.ffi.Pointer tdwithin_tgeo_geo(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1, double arg2) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tdwithin_tgeo_geo requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tdwithin_tgeo_geo(arg0, arg1, arg2); + } + + /** + * MEOS {@code tintersects_geo_tgeo} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: temporal spatial-rel lift on 1 temporal

+ */ + public static jnr.ffi.Pointer tintersects_geo_tgeo(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tintersects_geo_tgeo requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tintersects_geo_tgeo(arg0, arg1); + } + + /** + * MEOS {@code tintersects_tgeo_geo} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: temporal spatial-rel lift on 1 temporal

+ */ + public static jnr.ffi.Pointer tintersects_tgeo_geo(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tintersects_tgeo_geo requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tintersects_tgeo_geo(arg0, arg1); + } + + /** + * MEOS {@code ttouches_geo_tgeo} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: temporal spatial-rel lift on 1 temporal

+ */ + public static jnr.ffi.Pointer ttouches_geo_tgeo(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "ttouches_geo_tgeo requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.ttouches_geo_tgeo(arg0, arg1); + } + + /** + * MEOS {@code ttouches_tgeo_geo} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: temporal spatial-rel lift on 1 temporal

+ */ + public static jnr.ffi.Pointer ttouches_tgeo_geo(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "ttouches_tgeo_geo requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.ttouches_tgeo_geo(arg0, arg1); + } + + /** + * MEOS {@code always_eq_geo_tgeo} — tier windowed. + *

Requires window operator — caller wraps in AggregateFunction.

+ *

Free function (not class-classified). Classification rule: ever/always over 1 temporal

+ */ + public static int always_eq_geo_tgeo(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "always_eq_geo_tgeo requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.always_eq_geo_tgeo(arg0, arg1); + } + + /** + * MEOS {@code always_eq_tgeo_geo} — tier windowed. + *

Requires window operator — caller wraps in AggregateFunction.

+ *

Free function (not class-classified). Classification rule: ever/always over 1 temporal

+ */ + public static int always_eq_tgeo_geo(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "always_eq_tgeo_geo requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.always_eq_tgeo_geo(arg0, arg1); + } + + /** + * MEOS {@code always_ne_geo_tgeo} — tier windowed. + *

Requires window operator — caller wraps in AggregateFunction.

+ *

Free function (not class-classified). Classification rule: ever/always over 1 temporal

+ */ + public static int always_ne_geo_tgeo(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "always_ne_geo_tgeo requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.always_ne_geo_tgeo(arg0, arg1); + } + + /** + * MEOS {@code always_ne_tgeo_geo} — tier windowed. + *

Requires window operator — caller wraps in AggregateFunction.

+ *

Free function (not class-classified). Classification rule: ever/always over 1 temporal

+ */ + public static int always_ne_tgeo_geo(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "always_ne_tgeo_geo requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.always_ne_tgeo_geo(arg0, arg1); + } + + /** + * MEOS {@code ever_eq_geo_tgeo} — tier windowed. + *

Requires window operator — caller wraps in AggregateFunction.

+ *

Free function (not class-classified). Classification rule: ever/always over 1 temporal

+ */ + public static int ever_eq_geo_tgeo(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "ever_eq_geo_tgeo requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.ever_eq_geo_tgeo(arg0, arg1); + } + + /** + * MEOS {@code ever_eq_tgeo_geo} — tier windowed. + *

Requires window operator — caller wraps in AggregateFunction.

+ *

Free function (not class-classified). Classification rule: ever/always over 1 temporal

+ */ + public static int ever_eq_tgeo_geo(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "ever_eq_tgeo_geo requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.ever_eq_tgeo_geo(arg0, arg1); + } + + /** + * MEOS {@code ever_ne_geo_tgeo} — tier windowed. + *

Requires window operator — caller wraps in AggregateFunction.

+ *

Free function (not class-classified). Classification rule: ever/always over 1 temporal

+ */ + public static int ever_ne_geo_tgeo(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "ever_ne_geo_tgeo requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.ever_ne_geo_tgeo(arg0, arg1); + } + + /** + * MEOS {@code ever_ne_tgeo_geo} — tier windowed. + *

Requires window operator — caller wraps in AggregateFunction.

+ *

Free function (not class-classified). Classification rule: ever/always over 1 temporal

+ */ + public static int ever_ne_tgeo_geo(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "ever_ne_tgeo_geo requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.ever_ne_tgeo_geo(arg0, arg1); + } + + /** + * MEOS {@code above_tspatial_tspatial} — tier cross-stream. + *

Pairwise across streams — caller wraps in a join.

+ *

Free function (not class-classified). Classification rule: topology/position rel on 2 temporals

+ */ + public static boolean above_tspatial_tspatial(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "above_tspatial_tspatial requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.above_tspatial_tspatial(arg0, arg1); + } + + /** + * MEOS {@code acontains_tgeo_tgeo} — tier cross-stream. + *

Pairwise across streams — caller wraps in a join.

+ *

Free function (not class-classified). Classification rule: ever/always spatial-rel on 2 temporals

+ */ + public static int acontains_tgeo_tgeo(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "acontains_tgeo_tgeo requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.acontains_tgeo_tgeo(arg0, arg1); + } + + /** + * MEOS {@code adisjoint_tgeo_tgeo} — tier cross-stream. + *

Pairwise across streams — caller wraps in a join.

+ *

Free function (not class-classified). Classification rule: ever/always spatial-rel on 2 temporals

+ */ + public static int adisjoint_tgeo_tgeo(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "adisjoint_tgeo_tgeo requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.adisjoint_tgeo_tgeo(arg0, arg1); + } + + /** + * MEOS {@code adjacent_tspatial_tspatial} — tier cross-stream. + *

Pairwise across streams — caller wraps in a join.

+ *

Free function (not class-classified). Classification rule: topology/position rel on 2 temporals

+ */ + public static boolean adjacent_tspatial_tspatial(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "adjacent_tspatial_tspatial requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.adjacent_tspatial_tspatial(arg0, arg1); + } + + /** + * MEOS {@code adwithin_tgeo_tgeo} — tier cross-stream. + *

Pairwise across streams — caller wraps in a join.

+ *

Free function (not class-classified). Classification rule: ever/always spatial-rel on 2 temporals

+ */ + public static int adwithin_tgeo_tgeo(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1, double arg2) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "adwithin_tgeo_tgeo requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.adwithin_tgeo_tgeo(arg0, arg1, arg2); + } + + /** + * MEOS {@code after_tspatial_tspatial} — tier cross-stream. + *

Pairwise across streams — caller wraps in a join.

+ *

Free function (not class-classified). Classification rule: topology/position rel on 2 temporals

+ */ + public static boolean after_tspatial_tspatial(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "after_tspatial_tspatial requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.after_tspatial_tspatial(arg0, arg1); + } + + /** + * MEOS {@code aintersects_tgeo_tgeo} — tier cross-stream. + *

Pairwise across streams — caller wraps in a join.

+ *

Free function (not class-classified). Classification rule: ever/always spatial-rel on 2 temporals

+ */ + public static int aintersects_tgeo_tgeo(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "aintersects_tgeo_tgeo requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.aintersects_tgeo_tgeo(arg0, arg1); + } + + /** + * MEOS {@code always_eq_tgeo_tgeo} — tier cross-stream. + *

Pairwise across streams — caller wraps in a join.

+ *

Free function (not class-classified). Classification rule: ever/always over 2 temporals

+ */ + public static int always_eq_tgeo_tgeo(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "always_eq_tgeo_tgeo requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.always_eq_tgeo_tgeo(arg0, arg1); + } + + /** + * MEOS {@code always_ne_tgeo_tgeo} — tier cross-stream. + *

Pairwise across streams — caller wraps in a join.

+ *

Free function (not class-classified). Classification rule: ever/always over 2 temporals

+ */ + public static int always_ne_tgeo_tgeo(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "always_ne_tgeo_tgeo requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.always_ne_tgeo_tgeo(arg0, arg1); + } + + /** + * MEOS {@code atouches_tgeo_tgeo} — tier cross-stream. + *

Pairwise across streams — caller wraps in a join.

+ *

Free function (not class-classified). Classification rule: ever/always spatial-rel on 2 temporals

+ */ + public static int atouches_tgeo_tgeo(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "atouches_tgeo_tgeo requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.atouches_tgeo_tgeo(arg0, arg1); + } + + /** + * MEOS {@code back_tspatial_tspatial} — tier cross-stream. + *

Pairwise across streams — caller wraps in a join.

+ *

Free function (not class-classified). Classification rule: topology/position rel on 2 temporals

+ */ + public static boolean back_tspatial_tspatial(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "back_tspatial_tspatial requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.back_tspatial_tspatial(arg0, arg1); + } + + /** + * MEOS {@code before_tspatial_tspatial} — tier cross-stream. + *

Pairwise across streams — caller wraps in a join.

+ *

Free function (not class-classified). Classification rule: topology/position rel on 2 temporals

+ */ + public static boolean before_tspatial_tspatial(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "before_tspatial_tspatial requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.before_tspatial_tspatial(arg0, arg1); + } + + /** + * MEOS {@code below_tspatial_tspatial} — tier cross-stream. + *

Pairwise across streams — caller wraps in a join.

+ *

Free function (not class-classified). Classification rule: topology/position rel on 2 temporals

+ */ + public static boolean below_tspatial_tspatial(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "below_tspatial_tspatial requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.below_tspatial_tspatial(arg0, arg1); + } + + /** + * MEOS {@code contained_tspatial_tspatial} — tier cross-stream. + *

Pairwise across streams — caller wraps in a join.

+ *

Free function (not class-classified). Classification rule: topology/position rel on 2 temporals

+ */ + public static boolean contained_tspatial_tspatial(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "contained_tspatial_tspatial requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.contained_tspatial_tspatial(arg0, arg1); + } + + /** + * MEOS {@code contains_tspatial_tspatial} — tier cross-stream. + *

Pairwise across streams — caller wraps in a join.

+ *

Free function (not class-classified). Classification rule: topology/position rel on 2 temporals

+ */ + public static boolean contains_tspatial_tspatial(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "contains_tspatial_tspatial requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.contains_tspatial_tspatial(arg0, arg1); + } + + /** + * MEOS {@code econtains_tgeo_tgeo} — tier cross-stream. + *

Pairwise across streams — caller wraps in a join.

+ *

Free function (not class-classified). Classification rule: ever/always spatial-rel on 2 temporals

+ */ + public static int econtains_tgeo_tgeo(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "econtains_tgeo_tgeo requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.econtains_tgeo_tgeo(arg0, arg1); + } + + /** + * MEOS {@code ecovers_tgeo_tgeo} — tier cross-stream. + *

Pairwise across streams — caller wraps in a join.

+ *

Free function (not class-classified). Classification rule: ever/always spatial-rel on 2 temporals

+ */ + public static int ecovers_tgeo_tgeo(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "ecovers_tgeo_tgeo requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.ecovers_tgeo_tgeo(arg0, arg1); + } + + /** + * MEOS {@code edisjoint_tgeo_tgeo} — tier cross-stream. + *

Pairwise across streams — caller wraps in a join.

+ *

Free function (not class-classified). Classification rule: ever/always spatial-rel on 2 temporals

+ */ + public static int edisjoint_tgeo_tgeo(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "edisjoint_tgeo_tgeo requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.edisjoint_tgeo_tgeo(arg0, arg1); + } + + /** + * MEOS {@code edwithin_tgeo_tgeo} — tier cross-stream. + *

Pairwise across streams — caller wraps in a join.

+ *

Free function (not class-classified). Classification rule: ever/always spatial-rel on 2 temporals

+ */ + public static int edwithin_tgeo_tgeo(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1, double arg2) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "edwithin_tgeo_tgeo requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.edwithin_tgeo_tgeo(arg0, arg1, arg2); + } + + /** + * MEOS {@code eintersects_tgeo_tgeo} — tier cross-stream. + *

Pairwise across streams — caller wraps in a join.

+ *

Free function (not class-classified). Classification rule: ever/always spatial-rel on 2 temporals

+ */ + public static int eintersects_tgeo_tgeo(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "eintersects_tgeo_tgeo requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.eintersects_tgeo_tgeo(arg0, arg1); + } + + /** + * MEOS {@code etouches_tgeo_tgeo} — tier cross-stream. + *

Pairwise across streams — caller wraps in a join.

+ *

Free function (not class-classified). Classification rule: ever/always spatial-rel on 2 temporals

+ */ + public static int etouches_tgeo_tgeo(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "etouches_tgeo_tgeo requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.etouches_tgeo_tgeo(arg0, arg1); + } + + /** + * MEOS {@code ever_eq_tgeo_tgeo} — tier cross-stream. + *

Pairwise across streams — caller wraps in a join.

+ *

Free function (not class-classified). Classification rule: ever/always over 2 temporals

+ */ + public static int ever_eq_tgeo_tgeo(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "ever_eq_tgeo_tgeo requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.ever_eq_tgeo_tgeo(arg0, arg1); + } + + /** + * MEOS {@code ever_ne_tgeo_tgeo} — tier cross-stream. + *

Pairwise across streams — caller wraps in a join.

+ *

Free function (not class-classified). Classification rule: ever/always over 2 temporals

+ */ + public static int ever_ne_tgeo_tgeo(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "ever_ne_tgeo_tgeo requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.ever_ne_tgeo_tgeo(arg0, arg1); + } + + /** + * MEOS {@code front_tspatial_tspatial} — tier cross-stream. + *

Pairwise across streams — caller wraps in a join.

+ *

Free function (not class-classified). Classification rule: topology/position rel on 2 temporals

+ */ + public static boolean front_tspatial_tspatial(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "front_tspatial_tspatial requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.front_tspatial_tspatial(arg0, arg1); + } + + /** + * MEOS {@code left_tspatial_tspatial} — tier cross-stream. + *

Pairwise across streams — caller wraps in a join.

+ *

Free function (not class-classified). Classification rule: topology/position rel on 2 temporals

+ */ + public static boolean left_tspatial_tspatial(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "left_tspatial_tspatial requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.left_tspatial_tspatial(arg0, arg1); + } + + /** + * MEOS {@code nad_tgeo_tgeo} — tier cross-stream. + *

Pairwise across streams — caller wraps in a join.

+ *

Free function (not class-classified). Classification rule: distance on 2 temporals

+ */ + public static double nad_tgeo_tgeo(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "nad_tgeo_tgeo requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.nad_tgeo_tgeo(arg0, arg1); + } + + /** + * MEOS {@code nai_tgeo_tgeo} — tier cross-stream. + *

Pairwise across streams — caller wraps in a join.

+ *

Free function (not class-classified). Classification rule: distance on 2 temporals

+ */ + public static jnr.ffi.Pointer nai_tgeo_tgeo(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "nai_tgeo_tgeo requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.nai_tgeo_tgeo(arg0, arg1); + } + + /** + * MEOS {@code overabove_tspatial_tspatial} — tier cross-stream. + *

Pairwise across streams — caller wraps in a join.

+ *

Free function (not class-classified). Classification rule: topology/position rel on 2 temporals

+ */ + public static boolean overabove_tspatial_tspatial(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "overabove_tspatial_tspatial requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.overabove_tspatial_tspatial(arg0, arg1); + } + + /** + * MEOS {@code overafter_tspatial_tspatial} — tier cross-stream. + *

Pairwise across streams — caller wraps in a join.

+ *

Free function (not class-classified). Classification rule: topology/position rel on 2 temporals

+ */ + public static boolean overafter_tspatial_tspatial(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "overafter_tspatial_tspatial requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.overafter_tspatial_tspatial(arg0, arg1); + } + + /** + * MEOS {@code overback_tspatial_tspatial} — tier cross-stream. + *

Pairwise across streams — caller wraps in a join.

+ *

Free function (not class-classified). Classification rule: topology/position rel on 2 temporals

+ */ + public static boolean overback_tspatial_tspatial(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "overback_tspatial_tspatial requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.overback_tspatial_tspatial(arg0, arg1); + } + + /** + * MEOS {@code overbefore_tspatial_tspatial} — tier cross-stream. + *

Pairwise across streams — caller wraps in a join.

+ *

Free function (not class-classified). Classification rule: topology/position rel on 2 temporals

+ */ + public static boolean overbefore_tspatial_tspatial(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "overbefore_tspatial_tspatial requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.overbefore_tspatial_tspatial(arg0, arg1); + } + + /** + * MEOS {@code overbelow_tspatial_tspatial} — tier cross-stream. + *

Pairwise across streams — caller wraps in a join.

+ *

Free function (not class-classified). Classification rule: topology/position rel on 2 temporals

+ */ + public static boolean overbelow_tspatial_tspatial(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "overbelow_tspatial_tspatial requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.overbelow_tspatial_tspatial(arg0, arg1); + } + + /** + * MEOS {@code overfront_tspatial_tspatial} — tier cross-stream. + *

Pairwise across streams — caller wraps in a join.

+ *

Free function (not class-classified). Classification rule: topology/position rel on 2 temporals

+ */ + public static boolean overfront_tspatial_tspatial(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "overfront_tspatial_tspatial requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.overfront_tspatial_tspatial(arg0, arg1); + } + + /** + * MEOS {@code overlaps_tspatial_tspatial} — tier cross-stream. + *

Pairwise across streams — caller wraps in a join.

+ *

Free function (not class-classified). Classification rule: topology/position rel on 2 temporals

+ */ + public static boolean overlaps_tspatial_tspatial(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "overlaps_tspatial_tspatial requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.overlaps_tspatial_tspatial(arg0, arg1); + } + + /** + * MEOS {@code overleft_tspatial_tspatial} — tier cross-stream. + *

Pairwise across streams — caller wraps in a join.

+ *

Free function (not class-classified). Classification rule: topology/position rel on 2 temporals

+ */ + public static boolean overleft_tspatial_tspatial(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "overleft_tspatial_tspatial requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.overleft_tspatial_tspatial(arg0, arg1); + } + + /** + * MEOS {@code overright_tspatial_tspatial} — tier cross-stream. + *

Pairwise across streams — caller wraps in a join.

+ *

Free function (not class-classified). Classification rule: topology/position rel on 2 temporals

+ */ + public static boolean overright_tspatial_tspatial(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "overright_tspatial_tspatial requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.overright_tspatial_tspatial(arg0, arg1); + } + + /** + * MEOS {@code right_tspatial_tspatial} — tier cross-stream. + *

Pairwise across streams — caller wraps in a join.

+ *

Free function (not class-classified). Classification rule: topology/position rel on 2 temporals

+ */ + public static boolean right_tspatial_tspatial(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "right_tspatial_tspatial requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.right_tspatial_tspatial(arg0, arg1); + } + + /** + * MEOS {@code same_tspatial_tspatial} — tier cross-stream. + *

Pairwise across streams — caller wraps in a join.

+ *

Free function (not class-classified). Classification rule: same predicate on 2 temporals

+ */ + public static boolean same_tspatial_tspatial(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "same_tspatial_tspatial requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.same_tspatial_tspatial(arg0, arg1); + } + + /** + * MEOS {@code shortestline_tgeo_tgeo} — tier cross-stream. + *

Pairwise across streams — caller wraps in a join.

+ *

Free function (not class-classified). Classification rule: distance on 2 temporals

+ */ + public static jnr.ffi.Pointer shortestline_tgeo_tgeo(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "shortestline_tgeo_tgeo requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.shortestline_tgeo_tgeo(arg0, arg1); + } + + /** + * MEOS {@code tcontains_tgeo_tgeo} — tier cross-stream. + *

Pairwise across streams — caller wraps in a join.

+ *

Free function (not class-classified). Classification rule: temporal spatial-rel lift on 2 temporals

+ */ + public static jnr.ffi.Pointer tcontains_tgeo_tgeo(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tcontains_tgeo_tgeo requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tcontains_tgeo_tgeo(arg0, arg1); + } + + /** + * MEOS {@code tcovers_tgeo_tgeo} — tier cross-stream. + *

Pairwise across streams — caller wraps in a join.

+ *

Free function (not class-classified). Classification rule: temporal spatial-rel lift on 2 temporals

+ */ + public static jnr.ffi.Pointer tcovers_tgeo_tgeo(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tcovers_tgeo_tgeo requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tcovers_tgeo_tgeo(arg0, arg1); + } + + /** + * MEOS {@code tdisjoint_tgeo_tgeo} — tier cross-stream. + *

Pairwise across streams — caller wraps in a join.

+ *

Free function (not class-classified). Classification rule: temporal spatial-rel lift on 2 temporals

+ */ + public static jnr.ffi.Pointer tdisjoint_tgeo_tgeo(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tdisjoint_tgeo_tgeo requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tdisjoint_tgeo_tgeo(arg0, arg1); + } + + /** + * MEOS {@code tdistance_tgeo_tgeo} — tier cross-stream. + *

Pairwise across streams — caller wraps in a join.

+ *

Free function (not class-classified). Classification rule: distance on 2 temporals

+ */ + public static jnr.ffi.Pointer tdistance_tgeo_tgeo(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tdistance_tgeo_tgeo requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tdistance_tgeo_tgeo(arg0, arg1); + } + + /** + * MEOS {@code tdwithin_tgeo_tgeo} — tier cross-stream. + *

Pairwise across streams — caller wraps in a join.

+ *

Free function (not class-classified). Classification rule: temporal spatial-rel lift on 2 temporals

+ */ + public static jnr.ffi.Pointer tdwithin_tgeo_tgeo(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1, double arg2) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tdwithin_tgeo_tgeo requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tdwithin_tgeo_tgeo(arg0, arg1, arg2); + } + + /** + * MEOS {@code tintersects_tgeo_tgeo} — tier cross-stream. + *

Pairwise across streams — caller wraps in a join.

+ *

Free function (not class-classified). Classification rule: temporal spatial-rel lift on 2 temporals

+ */ + public static jnr.ffi.Pointer tintersects_tgeo_tgeo(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tintersects_tgeo_tgeo requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tintersects_tgeo_tgeo(arg0, arg1); + } + + /** + * MEOS {@code ttouches_tgeo_tgeo} — tier cross-stream. + *

Pairwise across streams — caller wraps in a join.

+ *

Free function (not class-classified). Classification rule: temporal spatial-rel lift on 2 temporals

+ */ + public static jnr.ffi.Pointer ttouches_tgeo_tgeo(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "ttouches_tgeo_tgeo requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.ttouches_tgeo_tgeo(arg0, arg1); + } + + /** + * MEOS {@code box3d_out} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Free function (not class-classified). Classification rule: IO/serialization

+ */ + public static java.lang.String box3d_out(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "box3d_out requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.box3d_out(arg0, arg1); + } + + /** + * MEOS {@code gbox_out} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Free function (not class-classified). Classification rule: IO/serialization

+ */ + public static java.lang.String gbox_out(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "gbox_out requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.gbox_out(arg0, arg1); + } + + /** + * MEOS {@code geo_as_ewkb} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Free function (not class-classified). Classification rule: name has IO token

+ */ + public static jnr.ffi.Pointer geo_as_ewkb(jnr.ffi.Pointer arg0, java.lang.String arg1, jnr.ffi.Pointer arg2) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "geo_as_ewkb requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.geo_as_ewkb(arg0, arg1, arg2); + } + + /** + * MEOS {@code geo_as_ewkt} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Free function (not class-classified). Classification rule: IO/serialization

+ */ + public static java.lang.String geo_as_ewkt(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "geo_as_ewkt requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.geo_as_ewkt(arg0, arg1); + } + + /** + * MEOS {@code geo_as_geojson} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Free function (not class-classified). Classification rule: IO/serialization

+ */ + public static java.lang.String geo_as_geojson(jnr.ffi.Pointer arg0, int arg1, int arg2, java.lang.String arg3) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "geo_as_geojson requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.geo_as_geojson(arg0, arg1, arg2, arg3); + } + + /** + * MEOS {@code geo_as_hexewkb} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Free function (not class-classified). Classification rule: name has IO token

+ */ + public static java.lang.String geo_as_hexewkb(jnr.ffi.Pointer arg0, java.lang.String arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "geo_as_hexewkb requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.geo_as_hexewkb(arg0, arg1); + } + + /** + * MEOS {@code geo_as_text} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Free function (not class-classified). Classification rule: IO/serialization

+ */ + public static java.lang.String geo_as_text(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "geo_as_text requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.geo_as_text(arg0, arg1); + } + + /** + * MEOS {@code geo_from_ewkb} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Free function (not class-classified). Classification rule: name has IO token

+ */ + public static jnr.ffi.Pointer geo_from_ewkb(jnr.ffi.Pointer arg0, long arg1, int arg2) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "geo_from_ewkb requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.geo_from_ewkb(arg0, arg1, arg2); + } + + /** + * MEOS {@code geo_from_geojson} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Free function (not class-classified). Classification rule: IO/serialization

+ */ + public static jnr.ffi.Pointer geo_from_geojson(java.lang.String arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "geo_from_geojson requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.geo_from_geojson(arg0); + } + + /** + * MEOS {@code geo_from_text} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Free function (not class-classified). Classification rule: IO/serialization

+ */ + public static jnr.ffi.Pointer geo_from_text(java.lang.String arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "geo_from_text requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.geo_from_text(arg0, arg1); + } + + /** + * MEOS {@code geo_out} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Free function (not class-classified). Classification rule: IO/serialization

+ */ + public static java.lang.String geo_out(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "geo_out requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.geo_out(arg0); + } + + /** + * MEOS {@code geog_from_hexewkb} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Free function (not class-classified). Classification rule: name has IO token

+ */ + public static jnr.ffi.Pointer geog_from_hexewkb(java.lang.String arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "geog_from_hexewkb requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.geog_from_hexewkb(arg0); + } + + /** + * MEOS {@code geog_in} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Free function (not class-classified). Classification rule: IO/serialization

+ */ + public static jnr.ffi.Pointer geog_in(java.lang.String arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "geog_in requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.geog_in(arg0, arg1); + } + + /** + * MEOS {@code geom_from_hexewkb} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Free function (not class-classified). Classification rule: name has IO token

+ */ + public static jnr.ffi.Pointer geom_from_hexewkb(java.lang.String arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "geom_from_hexewkb requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.geom_from_hexewkb(arg0); + } + + /** + * MEOS {@code geom_in} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Free function (not class-classified). Classification rule: IO/serialization

+ */ + public static jnr.ffi.Pointer geom_in(java.lang.String arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "geom_in requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.geom_in(arg0, arg1); + } + + /** + * MEOS {@code spatialset_as_ewkt} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Free function (not class-classified). Classification rule: IO/serialization

+ */ + public static java.lang.String spatialset_as_ewkt(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "spatialset_as_ewkt requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.spatialset_as_ewkt(arg0, arg1); + } + + /** + * MEOS {@code spatialset_as_text} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Free function (not class-classified). Classification rule: IO/serialization

+ */ + public static java.lang.String spatialset_as_text(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "spatialset_as_text requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.spatialset_as_text(arg0, arg1); + } + +} diff --git a/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsFreeH3.java b/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsFreeH3.java new file mode 100644 index 00000000..02cddec3 --- /dev/null +++ b/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsFreeH3.java @@ -0,0 +1,265 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2020-2026, Université libre de Bruxelles and MobilityDB + * contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +package org.mobilitydb.meos; + +/* AUTO-GENERATED by tools/codegen/emit_h3_facade.py — do not edit by hand. + * H3 / th3index family facade over functions.GeneratedFunctions. + */ + +import functions.GeneratedFunctions; +import jnr.ffi.Pointer; + +public final class MeosOpsFreeH3 { + + public static final boolean MEOS_AVAILABLE = MeosOpsRuntime.MEOS_AVAILABLE; + + private MeosOpsFreeH3() { /* utility */ } + + /** MEOS {@code always_eq_h3index_th3index} — H3 / th3index family. */ + public static int always_eq_h3index_th3index(long arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "always_eq_h3index_th3index requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.always_eq_h3index_th3index(arg0, arg1); + } + + /** MEOS {@code always_eq_th3index_h3index} — H3 / th3index family. */ + public static int always_eq_th3index_h3index(jnr.ffi.Pointer arg0, long arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "always_eq_th3index_h3index requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.always_eq_th3index_h3index(arg0, arg1); + } + + /** MEOS {@code always_eq_th3index_th3index} — H3 / th3index family. */ + public static int always_eq_th3index_th3index(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "always_eq_th3index_th3index requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.always_eq_th3index_th3index(arg0, arg1); + } + + /** MEOS {@code always_ne_h3index_th3index} — H3 / th3index family. */ + public static int always_ne_h3index_th3index(long arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "always_ne_h3index_th3index requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.always_ne_h3index_th3index(arg0, arg1); + } + + /** MEOS {@code always_ne_th3index_h3index} — H3 / th3index family. */ + public static int always_ne_th3index_h3index(jnr.ffi.Pointer arg0, long arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "always_ne_th3index_h3index requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.always_ne_th3index_h3index(arg0, arg1); + } + + /** MEOS {@code always_ne_th3index_th3index} — H3 / th3index family. */ + public static int always_ne_th3index_th3index(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "always_ne_th3index_th3index requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.always_ne_th3index_th3index(arg0, arg1); + } + + /** MEOS {@code ever_eq_h3index_th3index} — H3 / th3index family. */ + public static int ever_eq_h3index_th3index(long arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "ever_eq_h3index_th3index requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.ever_eq_h3index_th3index(arg0, arg1); + } + + /** MEOS {@code ever_eq_h3indexset_th3index} — H3 / th3index family. */ + public static int ever_eq_h3indexset_th3index(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "ever_eq_h3indexset_th3index requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.ever_eq_h3indexset_th3index(arg0, arg1); + } + + /** MEOS {@code ever_eq_th3index_h3index} — H3 / th3index family. */ + public static int ever_eq_th3index_h3index(jnr.ffi.Pointer arg0, long arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "ever_eq_th3index_h3index requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.ever_eq_th3index_h3index(arg0, arg1); + } + + /** MEOS {@code ever_eq_th3index_th3index} — H3 / th3index family. */ + public static int ever_eq_th3index_th3index(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "ever_eq_th3index_th3index requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.ever_eq_th3index_th3index(arg0, arg1); + } + + /** MEOS {@code ever_ne_h3index_th3index} — H3 / th3index family. */ + public static int ever_ne_h3index_th3index(long arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "ever_ne_h3index_th3index requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.ever_ne_h3index_th3index(arg0, arg1); + } + + /** MEOS {@code ever_ne_th3index_h3index} — H3 / th3index family. */ + public static int ever_ne_th3index_h3index(jnr.ffi.Pointer arg0, long arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "ever_ne_th3index_h3index requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.ever_ne_th3index_h3index(arg0, arg1); + } + + /** MEOS {@code ever_ne_th3index_th3index} — H3 / th3index family. */ + public static int ever_ne_th3index_th3index(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "ever_ne_th3index_th3index requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.ever_ne_th3index_th3index(arg0, arg1); + } + + /** MEOS {@code geo_to_h3index_set} — H3 / th3index family. */ + public static jnr.ffi.Pointer geo_to_h3index_set(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "geo_to_h3index_set requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.geo_to_h3index_set(arg0, arg1); + } + + /** MEOS {@code h3_gs_point_to_cell} — H3 / th3index family. */ + public static long h3_gs_point_to_cell(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "h3_gs_point_to_cell requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.h3_gs_point_to_cell(arg0, arg1); + } + + /** MEOS {@code tbigint_to_th3index} — H3 / th3index family. */ + public static jnr.ffi.Pointer tbigint_to_th3index(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tbigint_to_th3index requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tbigint_to_th3index(arg0); + } + + /** MEOS {@code teq_h3index_th3index} — H3 / th3index family. */ + public static jnr.ffi.Pointer teq_h3index_th3index(long arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "teq_h3index_th3index requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.teq_h3index_th3index(arg0, arg1); + } + + /** MEOS {@code teq_th3index_h3index} — H3 / th3index family. */ + public static jnr.ffi.Pointer teq_th3index_h3index(jnr.ffi.Pointer arg0, long arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "teq_th3index_h3index requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.teq_th3index_h3index(arg0, arg1); + } + + /** MEOS {@code teq_th3index_th3index} — H3 / th3index family. */ + public static jnr.ffi.Pointer teq_th3index_th3index(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "teq_th3index_th3index requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.teq_th3index_th3index(arg0, arg1); + } + + /** MEOS {@code tgeogpoint_great_circle_distance} — H3 / th3index family. */ + public static jnr.ffi.Pointer tgeogpoint_great_circle_distance(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1, java.lang.String arg2) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tgeogpoint_great_circle_distance requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tgeogpoint_great_circle_distance(arg0, arg1, arg2); + } + + /** MEOS {@code tgeogpoint_to_th3index} — H3 / th3index family. */ + public static jnr.ffi.Pointer tgeogpoint_to_th3index(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tgeogpoint_to_th3index requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tgeogpoint_to_th3index(arg0, arg1); + } + + /** MEOS {@code tgeompoint_to_th3index} — H3 / th3index family. */ + public static jnr.ffi.Pointer tgeompoint_to_th3index(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tgeompoint_to_th3index requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tgeompoint_to_th3index(arg0, arg1); + } + + /** MEOS {@code tne_h3index_th3index} — H3 / th3index family. */ + public static jnr.ffi.Pointer tne_h3index_th3index(long arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tne_h3index_th3index requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tne_h3index_th3index(arg0, arg1); + } + + /** MEOS {@code tne_th3index_h3index} — H3 / th3index family. */ + public static jnr.ffi.Pointer tne_th3index_h3index(jnr.ffi.Pointer arg0, long arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tne_th3index_h3index requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tne_th3index_h3index(arg0, arg1); + } + + /** MEOS {@code tne_th3index_th3index} — H3 / th3index family. */ + public static jnr.ffi.Pointer tne_th3index_th3index(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tne_th3index_th3index requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tne_th3index_th3index(arg0, arg1); + } +} diff --git a/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsFreeNpoint.java b/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsFreeNpoint.java new file mode 100644 index 00000000..097a5676 --- /dev/null +++ b/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsFreeNpoint.java @@ -0,0 +1,1098 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2020-2026, Université libre de Bruxelles and MobilityDB + * contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +package org.mobilitydb.meos; + +/* AUTO-GENERATED by codegen_flink_free.py — do not edit by hand. + * Source header: meos_npoint.h + * Methods emitted: 82 (stateless=44 · bounded-state=11 · io-meta=10 · windowed=9 · cross-stream=8) + * Scope: MEOS public functions NOT classified into any object-model class + * (free functions, not methods on a class). + * Source: JMEOS PR #19 (functions.GeneratedFunctions) ∩ streaming-relevance baseline v4. + */ + +import functions.GeneratedFunctions; +import jnr.ffi.Pointer; + +public final class MeosOpsFreeNpoint { + + public static final boolean MEOS_AVAILABLE = MeosOpsRuntime.MEOS_AVAILABLE; + + private MeosOpsFreeNpoint() { /* utility */ } + + /** + * MEOS {@code contained_npoint_set} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: topology/position rel on 2 scalars (box/span algebra)

+ */ + public static boolean contained_npoint_set(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "contained_npoint_set requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.contained_npoint_set(arg0, arg1); + } + + /** + * MEOS {@code contains_set_npoint} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean contains_set_npoint(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "contains_set_npoint requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.contains_set_npoint(arg0, arg1); + } + + /** + * MEOS {@code geom_to_nsegment} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: base-type fn, default pure

+ */ + public static jnr.ffi.Pointer geom_to_nsegment(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "geom_to_nsegment requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.geom_to_nsegment(arg0); + } + + /** + * MEOS {@code get_srid_ways} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: scalar in/out (default-stateless catch-all)

+ */ + public static int get_srid_ways() { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "get_srid_ways requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.get_srid_ways(); + } + + /** + * MEOS {@code intersection_set_npoint} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static jnr.ffi.Pointer intersection_set_npoint(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "intersection_set_npoint requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.intersection_set_npoint(arg0, arg1); + } + + /** + * MEOS {@code npoint_cmp} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: scalar comparison/hash

+ */ + public static int npoint_cmp(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "npoint_cmp requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.npoint_cmp(arg0, arg1); + } + + /** + * MEOS {@code npoint_eq} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: scalar comparison/hash

+ */ + public static boolean npoint_eq(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "npoint_eq requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.npoint_eq(arg0, arg1); + } + + /** + * MEOS {@code npoint_ge} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: scalar comparison/hash

+ */ + public static boolean npoint_ge(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "npoint_ge requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.npoint_ge(arg0, arg1); + } + + /** + * MEOS {@code npoint_gt} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: scalar comparison/hash

+ */ + public static boolean npoint_gt(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "npoint_gt requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.npoint_gt(arg0, arg1); + } + + /** + * MEOS {@code npoint_hash} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: scalar comparison/hash

+ */ + public static int npoint_hash(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "npoint_hash requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.npoint_hash(arg0); + } + + /** + * MEOS {@code npoint_hash_extended} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: scalar comparison/hash

+ */ + public static long npoint_hash_extended(jnr.ffi.Pointer arg0, long arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "npoint_hash_extended requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.npoint_hash_extended(arg0, arg1); + } + + /** + * MEOS {@code npoint_le} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: scalar comparison/hash

+ */ + public static boolean npoint_le(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "npoint_le requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.npoint_le(arg0, arg1); + } + + /** + * MEOS {@code npoint_lt} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: scalar comparison/hash

+ */ + public static boolean npoint_lt(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "npoint_lt requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.npoint_lt(arg0, arg1); + } + + /** + * MEOS {@code npoint_make} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: make/from_base of instant/scalar

+ */ + public static jnr.ffi.Pointer npoint_make(long arg0, double arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "npoint_make requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.npoint_make(arg0, arg1); + } + + /** + * MEOS {@code npoint_ne} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: scalar comparison/hash

+ */ + public static boolean npoint_ne(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "npoint_ne requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.npoint_ne(arg0, arg1); + } + + /** + * MEOS {@code npoint_position} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: base-type fn, default pure

+ */ + public static double npoint_position(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "npoint_position requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.npoint_position(arg0); + } + + /** + * MEOS {@code npoint_round} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: transform/normalize (pure)

+ */ + public static jnr.ffi.Pointer npoint_round(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "npoint_round requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.npoint_round(arg0, arg1); + } + + /** + * MEOS {@code npoint_route} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: base-type fn, default pure

+ */ + public static long npoint_route(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "npoint_route requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.npoint_route(arg0); + } + + /** + * MEOS {@code npoint_same} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: base-type fn, default pure

+ */ + public static boolean npoint_same(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "npoint_same requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.npoint_same(arg0, arg1); + } + + /** + * MEOS {@code npoint_srid} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: base-type fn, default pure

+ */ + public static int npoint_srid(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "npoint_srid requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.npoint_srid(arg0); + } + + /** + * MEOS {@code npoint_timestamptz_to_stbox} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: name pattern is _to_

+ */ + public static jnr.ffi.Pointer npoint_timestamptz_to_stbox(jnr.ffi.Pointer arg0, java.time.OffsetDateTime arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "npoint_timestamptz_to_stbox requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.npoint_timestamptz_to_stbox(arg0, arg1); + } + + /** + * MEOS {@code npoint_to_geompoint} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: base-type fn, default pure

+ */ + public static jnr.ffi.Pointer npoint_to_geompoint(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "npoint_to_geompoint requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.npoint_to_geompoint(arg0); + } + + /** + * MEOS {@code npoint_to_nsegment} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: base-type fn, default pure

+ */ + public static jnr.ffi.Pointer npoint_to_nsegment(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "npoint_to_nsegment requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.npoint_to_nsegment(arg0); + } + + /** + * MEOS {@code npoint_to_set} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: name pattern is _to_

+ */ + public static jnr.ffi.Pointer npoint_to_set(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "npoint_to_set requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.npoint_to_set(arg0); + } + + /** + * MEOS {@code npoint_to_stbox} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: name pattern is _to_

+ */ + public static jnr.ffi.Pointer npoint_to_stbox(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "npoint_to_stbox requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.npoint_to_stbox(arg0); + } + + /** + * MEOS {@code npoint_tstzspan_to_stbox} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: name pattern is _to_

+ */ + public static jnr.ffi.Pointer npoint_tstzspan_to_stbox(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "npoint_tstzspan_to_stbox requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.npoint_tstzspan_to_stbox(arg0, arg1); + } + + /** + * MEOS {@code npoint_union_transfn} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: base-type fn, default pure

+ */ + public static jnr.ffi.Pointer npoint_union_transfn(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "npoint_union_transfn requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.npoint_union_transfn(arg0, arg1); + } + + /** + * MEOS {@code nsegment_cmp} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: scalar in/out (default-stateless catch-all)

+ */ + public static int nsegment_cmp(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "nsegment_cmp requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.nsegment_cmp(arg0, arg1); + } + + /** + * MEOS {@code nsegment_eq} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: scalar in/out (default-stateless catch-all)

+ */ + public static boolean nsegment_eq(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "nsegment_eq requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.nsegment_eq(arg0, arg1); + } + + /** + * MEOS {@code nsegment_ge} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: scalar in/out (default-stateless catch-all)

+ */ + public static boolean nsegment_ge(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "nsegment_ge requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.nsegment_ge(arg0, arg1); + } + + /** + * MEOS {@code nsegment_gt} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: scalar in/out (default-stateless catch-all)

+ */ + public static boolean nsegment_gt(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "nsegment_gt requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.nsegment_gt(arg0, arg1); + } + + /** + * MEOS {@code nsegment_le} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: scalar in/out (default-stateless catch-all)

+ */ + public static boolean nsegment_le(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "nsegment_le requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.nsegment_le(arg0, arg1); + } + + /** + * MEOS {@code nsegment_lt} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: scalar in/out (default-stateless catch-all)

+ */ + public static boolean nsegment_lt(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "nsegment_lt requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.nsegment_lt(arg0, arg1); + } + + /** + * MEOS {@code nsegment_make} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: make/from_base of instant/scalar

+ */ + public static jnr.ffi.Pointer nsegment_make(long arg0, double arg1, double arg2) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "nsegment_make requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.nsegment_make(arg0, arg1, arg2); + } + + /** + * MEOS {@code nsegment_ne} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: scalar in/out (default-stateless catch-all)

+ */ + public static boolean nsegment_ne(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "nsegment_ne requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.nsegment_ne(arg0, arg1); + } + + /** + * MEOS {@code nsegment_round} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: transform/normalize (pure)

+ */ + public static jnr.ffi.Pointer nsegment_round(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "nsegment_round requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.nsegment_round(arg0, arg1); + } + + /** + * MEOS {@code nsegment_route} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: scalar in/out (default-stateless catch-all)

+ */ + public static long nsegment_route(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "nsegment_route requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.nsegment_route(arg0); + } + + /** + * MEOS {@code nsegment_srid} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: scalar in/out (default-stateless catch-all)

+ */ + public static int nsegment_srid(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "nsegment_srid requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.nsegment_srid(arg0); + } + + /** + * MEOS {@code nsegment_to_geom} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: name pattern is _to_

+ */ + public static jnr.ffi.Pointer nsegment_to_geom(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "nsegment_to_geom requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.nsegment_to_geom(arg0); + } + + /** + * MEOS {@code nsegment_to_stbox} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: name pattern is _to_

+ */ + public static jnr.ffi.Pointer nsegment_to_stbox(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "nsegment_to_stbox requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.nsegment_to_stbox(arg0); + } + + /** + * MEOS {@code route_exists} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: scalar in/out (default-stateless catch-all)

+ */ + public static boolean route_exists(long arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "route_exists requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.route_exists(arg0); + } + + /** + * MEOS {@code teq_tnpoint_npoint} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: temporal comparison (per-instant)

+ */ + public static jnr.ffi.Pointer teq_tnpoint_npoint(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "teq_tnpoint_npoint requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.teq_tnpoint_npoint(arg0, arg1); + } + + /** + * MEOS {@code tne_tnpoint_npoint} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: temporal comparison (per-instant)

+ */ + public static jnr.ffi.Pointer tne_tnpoint_npoint(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tne_tnpoint_npoint requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tne_tnpoint_npoint(arg0, arg1); + } + + /** + * MEOS {@code union_set_npoint} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static jnr.ffi.Pointer union_set_npoint(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "union_set_npoint requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.union_set_npoint(arg0, arg1); + } + + /** + * MEOS {@code minus_npoint_set} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: restriction name pattern

+ */ + public static jnr.ffi.Pointer minus_npoint_set(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "minus_npoint_set requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.minus_npoint_set(arg0, arg1); + } + + /** + * MEOS {@code minus_set_npoint} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: restriction name pattern

+ */ + public static jnr.ffi.Pointer minus_set_npoint(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "minus_set_npoint requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.minus_set_npoint(arg0, arg1); + } + + /** + * MEOS {@code nad_tnpoint_geo} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: distance op

+ */ + public static double nad_tnpoint_geo(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "nad_tnpoint_geo requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.nad_tnpoint_geo(arg0, arg1); + } + + /** + * MEOS {@code nad_tnpoint_npoint} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: distance op

+ */ + public static double nad_tnpoint_npoint(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "nad_tnpoint_npoint requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.nad_tnpoint_npoint(arg0, arg1); + } + + /** + * MEOS {@code nad_tnpoint_stbox} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: distance op

+ */ + public static double nad_tnpoint_stbox(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "nad_tnpoint_stbox requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.nad_tnpoint_stbox(arg0, arg1); + } + + /** + * MEOS {@code nai_tnpoint_geo} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: distance op

+ */ + public static jnr.ffi.Pointer nai_tnpoint_geo(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "nai_tnpoint_geo requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.nai_tnpoint_geo(arg0, arg1); + } + + /** + * MEOS {@code nai_tnpoint_npoint} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: distance op

+ */ + public static jnr.ffi.Pointer nai_tnpoint_npoint(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "nai_tnpoint_npoint requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.nai_tnpoint_npoint(arg0, arg1); + } + + /** + * MEOS {@code shortestline_tnpoint_geo} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: distance op

+ */ + public static jnr.ffi.Pointer shortestline_tnpoint_geo(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "shortestline_tnpoint_geo requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.shortestline_tnpoint_geo(arg0, arg1); + } + + /** + * MEOS {@code shortestline_tnpoint_npoint} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: distance op

+ */ + public static jnr.ffi.Pointer shortestline_tnpoint_npoint(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "shortestline_tnpoint_npoint requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.shortestline_tnpoint_npoint(arg0, arg1); + } + + /** + * MEOS {@code tdistance_tnpoint_npoint} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: distance op

+ */ + public static jnr.ffi.Pointer tdistance_tnpoint_npoint(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tdistance_tnpoint_npoint requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tdistance_tnpoint_npoint(arg0, arg1); + } + + /** + * MEOS {@code always_eq_npoint_tnpoint} — tier windowed. + *

Requires window operator — caller wraps in AggregateFunction.

+ *

Free function (not class-classified). Classification rule: ever/always over 1 temporal

+ */ + public static int always_eq_npoint_tnpoint(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "always_eq_npoint_tnpoint requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.always_eq_npoint_tnpoint(arg0, arg1); + } + + /** + * MEOS {@code always_eq_tnpoint_npoint} — tier windowed. + *

Requires window operator — caller wraps in AggregateFunction.

+ *

Free function (not class-classified). Classification rule: ever/always over 1 temporal

+ */ + public static int always_eq_tnpoint_npoint(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "always_eq_tnpoint_npoint requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.always_eq_tnpoint_npoint(arg0, arg1); + } + + /** + * MEOS {@code always_ne_npoint_tnpoint} — tier windowed. + *

Requires window operator — caller wraps in AggregateFunction.

+ *

Free function (not class-classified). Classification rule: ever/always over 1 temporal

+ */ + public static int always_ne_npoint_tnpoint(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "always_ne_npoint_tnpoint requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.always_ne_npoint_tnpoint(arg0, arg1); + } + + /** + * MEOS {@code always_ne_tnpoint_npoint} — tier windowed. + *

Requires window operator — caller wraps in AggregateFunction.

+ *

Free function (not class-classified). Classification rule: ever/always over 1 temporal

+ */ + public static int always_ne_tnpoint_npoint(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "always_ne_tnpoint_npoint requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.always_ne_tnpoint_npoint(arg0, arg1); + } + + /** + * MEOS {@code ever_eq_npoint_tnpoint} — tier windowed. + *

Requires window operator — caller wraps in AggregateFunction.

+ *

Free function (not class-classified). Classification rule: ever/always over 1 temporal

+ */ + public static int ever_eq_npoint_tnpoint(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "ever_eq_npoint_tnpoint requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.ever_eq_npoint_tnpoint(arg0, arg1); + } + + /** + * MEOS {@code ever_eq_tnpoint_npoint} — tier windowed. + *

Requires window operator — caller wraps in AggregateFunction.

+ *

Free function (not class-classified). Classification rule: ever/always over 1 temporal

+ */ + public static int ever_eq_tnpoint_npoint(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "ever_eq_tnpoint_npoint requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.ever_eq_tnpoint_npoint(arg0, arg1); + } + + /** + * MEOS {@code ever_ne_npoint_tnpoint} — tier windowed. + *

Requires window operator — caller wraps in AggregateFunction.

+ *

Free function (not class-classified). Classification rule: ever/always over 1 temporal

+ */ + public static int ever_ne_npoint_tnpoint(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "ever_ne_npoint_tnpoint requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.ever_ne_npoint_tnpoint(arg0, arg1); + } + + /** + * MEOS {@code ever_ne_tnpoint_npoint} — tier windowed. + *

Requires window operator — caller wraps in AggregateFunction.

+ *

Free function (not class-classified). Classification rule: ever/always over 1 temporal

+ */ + public static int ever_ne_tnpoint_npoint(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "ever_ne_tnpoint_npoint requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.ever_ne_tnpoint_npoint(arg0, arg1); + } + + /** + * MEOS {@code route_length} — tier windowed. + *

Requires window operator — caller wraps in AggregateFunction.

+ *

Free function (not class-classified). Classification rule: sequence-derived metric

+ */ + public static double route_length(long arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "route_length requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.route_length(arg0); + } + + /** + * MEOS {@code always_eq_tnpoint_tnpoint} — tier cross-stream. + *

Pairwise across streams — caller wraps in a join.

+ *

Free function (not class-classified). Classification rule: ever/always over 2 temporals

+ */ + public static int always_eq_tnpoint_tnpoint(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "always_eq_tnpoint_tnpoint requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.always_eq_tnpoint_tnpoint(arg0, arg1); + } + + /** + * MEOS {@code always_ne_tnpoint_tnpoint} — tier cross-stream. + *

Pairwise across streams — caller wraps in a join.

+ *

Free function (not class-classified). Classification rule: ever/always over 2 temporals

+ */ + public static int always_ne_tnpoint_tnpoint(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "always_ne_tnpoint_tnpoint requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.always_ne_tnpoint_tnpoint(arg0, arg1); + } + + /** + * MEOS {@code ever_eq_tnpoint_tnpoint} — tier cross-stream. + *

Pairwise across streams — caller wraps in a join.

+ *

Free function (not class-classified). Classification rule: ever/always over 2 temporals

+ */ + public static int ever_eq_tnpoint_tnpoint(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "ever_eq_tnpoint_tnpoint requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.ever_eq_tnpoint_tnpoint(arg0, arg1); + } + + /** + * MEOS {@code ever_ne_tnpoint_tnpoint} — tier cross-stream. + *

Pairwise across streams — caller wraps in a join.

+ *

Free function (not class-classified). Classification rule: ever/always over 2 temporals

+ */ + public static int ever_ne_tnpoint_tnpoint(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "ever_ne_tnpoint_tnpoint requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.ever_ne_tnpoint_tnpoint(arg0, arg1); + } + + /** + * MEOS {@code nad_tnpoint_tnpoint} — tier cross-stream. + *

Pairwise across streams — caller wraps in a join.

+ *

Free function (not class-classified). Classification rule: distance on 2 temporals

+ */ + public static double nad_tnpoint_tnpoint(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "nad_tnpoint_tnpoint requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.nad_tnpoint_tnpoint(arg0, arg1); + } + + /** + * MEOS {@code nai_tnpoint_tnpoint} — tier cross-stream. + *

Pairwise across streams — caller wraps in a join.

+ *

Free function (not class-classified). Classification rule: distance on 2 temporals

+ */ + public static jnr.ffi.Pointer nai_tnpoint_tnpoint(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "nai_tnpoint_tnpoint requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.nai_tnpoint_tnpoint(arg0, arg1); + } + + /** + * MEOS {@code shortestline_tnpoint_tnpoint} — tier cross-stream. + *

Pairwise across streams — caller wraps in a join.

+ *

Free function (not class-classified). Classification rule: distance on 2 temporals

+ */ + public static jnr.ffi.Pointer shortestline_tnpoint_tnpoint(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "shortestline_tnpoint_tnpoint requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.shortestline_tnpoint_tnpoint(arg0, arg1); + } + + /** + * MEOS {@code tdistance_tnpoint_tnpoint} — tier cross-stream. + *

Pairwise across streams — caller wraps in a join.

+ *

Free function (not class-classified). Classification rule: distance on 2 temporals

+ */ + public static jnr.ffi.Pointer tdistance_tnpoint_tnpoint(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tdistance_tnpoint_tnpoint requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tdistance_tnpoint_tnpoint(arg0, arg1); + } + + /** + * MEOS {@code npoint_as_ewkt} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Free function (not class-classified). Classification rule: IO/serialization

+ */ + public static java.lang.String npoint_as_ewkt(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "npoint_as_ewkt requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.npoint_as_ewkt(arg0, arg1); + } + + /** + * MEOS {@code npoint_as_hexwkb} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Free function (not class-classified). Classification rule: IO/serialization

+ */ + public static java.lang.String npoint_as_hexwkb(jnr.ffi.Pointer arg0, byte arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "npoint_as_hexwkb requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.npoint_as_hexwkb(arg0, arg1); + } + + /** + * MEOS {@code npoint_as_text} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Free function (not class-classified). Classification rule: IO/serialization

+ */ + public static java.lang.String npoint_as_text(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "npoint_as_text requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.npoint_as_text(arg0, arg1); + } + + /** + * MEOS {@code npoint_as_wkb} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Free function (not class-classified). Classification rule: IO/serialization

+ */ + public static jnr.ffi.Pointer npoint_as_wkb(jnr.ffi.Pointer arg0, byte arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "npoint_as_wkb requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.npoint_as_wkb(arg0, arg1); + } + + /** + * MEOS {@code npoint_from_hexwkb} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Free function (not class-classified). Classification rule: IO/serialization

+ */ + public static jnr.ffi.Pointer npoint_from_hexwkb(java.lang.String arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "npoint_from_hexwkb requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.npoint_from_hexwkb(arg0); + } + + /** + * MEOS {@code npoint_from_wkb} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Free function (not class-classified). Classification rule: IO/serialization

+ */ + public static jnr.ffi.Pointer npoint_from_wkb(jnr.ffi.Pointer arg0, long arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "npoint_from_wkb requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.npoint_from_wkb(arg0, arg1); + } + + /** + * MEOS {@code npoint_in} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Free function (not class-classified). Classification rule: IO/serialization

+ */ + public static jnr.ffi.Pointer npoint_in(java.lang.String arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "npoint_in requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.npoint_in(arg0); + } + + /** + * MEOS {@code npoint_out} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Free function (not class-classified). Classification rule: IO/serialization

+ */ + public static java.lang.String npoint_out(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "npoint_out requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.npoint_out(arg0, arg1); + } + + /** + * MEOS {@code nsegment_in} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Free function (not class-classified). Classification rule: IO/serialization

+ */ + public static jnr.ffi.Pointer nsegment_in(java.lang.String arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "nsegment_in requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.nsegment_in(arg0); + } + + /** + * MEOS {@code nsegment_out} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Free function (not class-classified). Classification rule: IO/serialization

+ */ + public static java.lang.String nsegment_out(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "nsegment_out requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.nsegment_out(arg0, arg1); + } + +} diff --git a/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsFreePose.java b/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsFreePose.java new file mode 100644 index 00000000..62c54715 --- /dev/null +++ b/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsFreePose.java @@ -0,0 +1,1020 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2020-2026, Université libre de Bruxelles and MobilityDB + * contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +package org.mobilitydb.meos; + +/* AUTO-GENERATED by codegen_flink_free.py — do not edit by hand. + * Source header: meos_pose.h + * Methods emitted: 76 (stateless=38 · bounded-state=14 · io-meta=8 · cross-stream=8 · windowed=8) + * Scope: MEOS public functions NOT classified into any object-model class + * (free functions, not methods on a class). + * Source: JMEOS PR #19 (functions.GeneratedFunctions) ∩ streaming-relevance baseline v4. + */ + +import functions.GeneratedFunctions; +import jnr.ffi.Pointer; + +public final class MeosOpsFreePose { + + public static final boolean MEOS_AVAILABLE = MeosOpsRuntime.MEOS_AVAILABLE; + + private MeosOpsFreePose() { /* utility */ } + + /** + * MEOS {@code contained_pose_set} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: topology/position rel on 2 scalars (box/span algebra)

+ */ + public static boolean contained_pose_set(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "contained_pose_set requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.contained_pose_set(arg0, arg1); + } + + /** + * MEOS {@code contains_set_pose} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static boolean contains_set_pose(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "contains_set_pose requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.contains_set_pose(arg0, arg1); + } + + /** + * MEOS {@code intersection_set_pose} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static jnr.ffi.Pointer intersection_set_pose(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "intersection_set_pose requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.intersection_set_pose(arg0, arg1); + } + + /** + * MEOS {@code pose_cmp} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: scalar comparison/hash

+ */ + public static int pose_cmp(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "pose_cmp requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.pose_cmp(arg0, arg1); + } + + /** + * MEOS {@code pose_copy} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: base-type fn, default pure

+ */ + public static jnr.ffi.Pointer pose_copy(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "pose_copy requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.pose_copy(arg0); + } + + /** + * MEOS {@code pose_eq} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: scalar comparison/hash

+ */ + public static boolean pose_eq(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "pose_eq requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.pose_eq(arg0, arg1); + } + + /** + * MEOS {@code pose_ge} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: scalar comparison/hash

+ */ + public static boolean pose_ge(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "pose_ge requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.pose_ge(arg0, arg1); + } + + /** + * MEOS {@code pose_gt} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: scalar comparison/hash

+ */ + public static boolean pose_gt(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "pose_gt requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.pose_gt(arg0, arg1); + } + + /** + * MEOS {@code pose_hash} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: scalar comparison/hash

+ */ + public static int pose_hash(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "pose_hash requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.pose_hash(arg0); + } + + /** + * MEOS {@code pose_hash_extended} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: scalar comparison/hash

+ */ + public static long pose_hash_extended(jnr.ffi.Pointer arg0, long arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "pose_hash_extended requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.pose_hash_extended(arg0, arg1); + } + + /** + * MEOS {@code pose_le} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: scalar comparison/hash

+ */ + public static boolean pose_le(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "pose_le requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.pose_le(arg0, arg1); + } + + /** + * MEOS {@code pose_lt} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: scalar comparison/hash

+ */ + public static boolean pose_lt(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "pose_lt requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.pose_lt(arg0, arg1); + } + + /** + * MEOS {@code pose_make_2d} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: base-type fn, default pure

+ */ + public static jnr.ffi.Pointer pose_make_2d(double arg0, double arg1, double arg2, int arg3) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "pose_make_2d requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.pose_make_2d(arg0, arg1, arg2, arg3); + } + + /** + * MEOS {@code pose_make_3d} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: base-type fn, default pure

+ */ + public static jnr.ffi.Pointer pose_make_3d(double arg0, double arg1, double arg2, double arg3, double arg4, double arg5, double arg6, int arg7) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "pose_make_3d requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.pose_make_3d(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7); + } + + /** + * MEOS {@code pose_make_point2d} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: base-type fn, default pure

+ */ + public static jnr.ffi.Pointer pose_make_point2d(jnr.ffi.Pointer arg0, double arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "pose_make_point2d requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.pose_make_point2d(arg0, arg1); + } + + /** + * MEOS {@code pose_make_point3d} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: base-type fn, default pure

+ */ + public static jnr.ffi.Pointer pose_make_point3d(jnr.ffi.Pointer arg0, double arg1, double arg2, double arg3, double arg4) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "pose_make_point3d requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.pose_make_point3d(arg0, arg1, arg2, arg3, arg4); + } + + /** + * MEOS {@code pose_ne} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: scalar comparison/hash

+ */ + public static boolean pose_ne(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "pose_ne requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.pose_ne(arg0, arg1); + } + + /** + * MEOS {@code pose_nsame} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: base-type fn, default pure

+ */ + public static boolean pose_nsame(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "pose_nsame requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.pose_nsame(arg0, arg1); + } + + /** + * MEOS {@code pose_orientation} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: base-type fn, default pure

+ */ + public static jnr.ffi.Pointer pose_orientation(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "pose_orientation requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.pose_orientation(arg0, arg1); + } + + /** + * MEOS {@code pose_rotation} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: base-type fn, default pure

+ */ + public static double pose_rotation(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "pose_rotation requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.pose_rotation(arg0); + } + + /** + * MEOS {@code pose_round} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: transform/normalize (pure)

+ */ + public static jnr.ffi.Pointer pose_round(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "pose_round requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.pose_round(arg0, arg1); + } + + /** + * MEOS {@code pose_same} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: base-type fn, default pure

+ */ + public static boolean pose_same(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "pose_same requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.pose_same(arg0, arg1); + } + + /** + * MEOS {@code pose_set_srid} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: base-type fn, default pure

+ */ + public static void pose_set_srid(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "pose_set_srid requires libmeos — set -Dmeos.enabled=true"); + } + GeneratedFunctions.pose_set_srid(arg0, arg1); + } + + /** + * MEOS {@code pose_srid} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: base-type fn, default pure

+ */ + public static int pose_srid(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "pose_srid requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.pose_srid(arg0); + } + + /** + * MEOS {@code pose_timestamptz_to_stbox} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: name pattern is _to_

+ */ + public static jnr.ffi.Pointer pose_timestamptz_to_stbox(jnr.ffi.Pointer arg0, java.time.OffsetDateTime arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "pose_timestamptz_to_stbox requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.pose_timestamptz_to_stbox(arg0, arg1); + } + + /** + * MEOS {@code pose_to_point} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: base-type fn, default pure

+ */ + public static jnr.ffi.Pointer pose_to_point(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "pose_to_point requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.pose_to_point(arg0); + } + + /** + * MEOS {@code pose_to_set} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: name pattern is _to_

+ */ + public static jnr.ffi.Pointer pose_to_set(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "pose_to_set requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.pose_to_set(arg0); + } + + /** + * MEOS {@code pose_to_stbox} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: name pattern is _to_

+ */ + public static jnr.ffi.Pointer pose_to_stbox(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "pose_to_stbox requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.pose_to_stbox(arg0); + } + + /** + * MEOS {@code pose_transform} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: base-type fn, default pure

+ */ + public static jnr.ffi.Pointer pose_transform(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "pose_transform requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.pose_transform(arg0, arg1); + } + + /** + * MEOS {@code pose_transform_pipeline} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: base-type fn, default pure

+ */ + public static jnr.ffi.Pointer pose_transform_pipeline(jnr.ffi.Pointer arg0, java.lang.String arg1, int arg2, boolean arg3) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "pose_transform_pipeline requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.pose_transform_pipeline(arg0, arg1, arg2, arg3); + } + + /** + * MEOS {@code pose_tstzspan_to_stbox} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: name pattern is _to_

+ */ + public static jnr.ffi.Pointer pose_tstzspan_to_stbox(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "pose_tstzspan_to_stbox requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.pose_tstzspan_to_stbox(arg0, arg1); + } + + /** + * MEOS {@code pose_union_transfn} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: base-type fn, default pure

+ */ + public static jnr.ffi.Pointer pose_union_transfn(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "pose_union_transfn requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.pose_union_transfn(arg0, arg1); + } + + /** + * MEOS {@code posearr_round} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: transform/normalize (pure)

+ */ + public static jnr.ffi.Pointer posearr_round(jnr.ffi.Pointer arg0, int arg1, int arg2) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "posearr_round requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.posearr_round(arg0, arg1, arg2); + } + + /** + * MEOS {@code teq_pose_tpose} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: temporal comparison (per-instant)

+ */ + public static jnr.ffi.Pointer teq_pose_tpose(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "teq_pose_tpose requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.teq_pose_tpose(arg0, arg1); + } + + /** + * MEOS {@code teq_tpose_pose} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: temporal comparison (per-instant)

+ */ + public static jnr.ffi.Pointer teq_tpose_pose(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "teq_tpose_pose requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.teq_tpose_pose(arg0, arg1); + } + + /** + * MEOS {@code tne_pose_tpose} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: temporal comparison (per-instant)

+ */ + public static jnr.ffi.Pointer tne_pose_tpose(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tne_pose_tpose requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tne_pose_tpose(arg0, arg1); + } + + /** + * MEOS {@code tne_tpose_pose} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: temporal comparison (per-instant)

+ */ + public static jnr.ffi.Pointer tne_tpose_pose(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tne_tpose_pose requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tne_tpose_pose(arg0, arg1); + } + + /** + * MEOS {@code union_set_pose} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: set/span/box algebra (pure)

+ */ + public static jnr.ffi.Pointer union_set_pose(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "union_set_pose requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.union_set_pose(arg0, arg1); + } + + /** + * MEOS {@code distance_pose_geo} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: distance op

+ */ + public static double distance_pose_geo(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "distance_pose_geo requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.distance_pose_geo(arg0, arg1); + } + + /** + * MEOS {@code distance_pose_pose} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: distance op

+ */ + public static double distance_pose_pose(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "distance_pose_pose requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.distance_pose_pose(arg0, arg1); + } + + /** + * MEOS {@code distance_pose_stbox} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: distance op

+ */ + public static double distance_pose_stbox(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "distance_pose_stbox requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.distance_pose_stbox(arg0, arg1); + } + + /** + * MEOS {@code minus_pose_set} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: restriction name pattern

+ */ + public static jnr.ffi.Pointer minus_pose_set(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "minus_pose_set requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.minus_pose_set(arg0, arg1); + } + + /** + * MEOS {@code minus_set_pose} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: restriction name pattern

+ */ + public static jnr.ffi.Pointer minus_set_pose(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "minus_set_pose requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.minus_set_pose(arg0, arg1); + } + + /** + * MEOS {@code nad_tpose_geo} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: distance op

+ */ + public static double nad_tpose_geo(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "nad_tpose_geo requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.nad_tpose_geo(arg0, arg1); + } + + /** + * MEOS {@code nad_tpose_pose} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: distance op

+ */ + public static double nad_tpose_pose(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "nad_tpose_pose requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.nad_tpose_pose(arg0, arg1); + } + + /** + * MEOS {@code nad_tpose_stbox} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: distance op

+ */ + public static double nad_tpose_stbox(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "nad_tpose_stbox requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.nad_tpose_stbox(arg0, arg1); + } + + /** + * MEOS {@code nai_tpose_geo} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: distance op

+ */ + public static jnr.ffi.Pointer nai_tpose_geo(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "nai_tpose_geo requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.nai_tpose_geo(arg0, arg1); + } + + /** + * MEOS {@code nai_tpose_pose} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: distance op

+ */ + public static jnr.ffi.Pointer nai_tpose_pose(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "nai_tpose_pose requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.nai_tpose_pose(arg0, arg1); + } + + /** + * MEOS {@code shortestline_tpose_geo} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: distance op

+ */ + public static jnr.ffi.Pointer shortestline_tpose_geo(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "shortestline_tpose_geo requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.shortestline_tpose_geo(arg0, arg1); + } + + /** + * MEOS {@code shortestline_tpose_pose} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: distance op

+ */ + public static jnr.ffi.Pointer shortestline_tpose_pose(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "shortestline_tpose_pose requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.shortestline_tpose_pose(arg0, arg1); + } + + /** + * MEOS {@code tdistance_tpose_pose} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: distance op

+ */ + public static jnr.ffi.Pointer tdistance_tpose_pose(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tdistance_tpose_pose requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tdistance_tpose_pose(arg0, arg1); + } + + /** + * MEOS {@code always_eq_pose_tpose} — tier windowed. + *

Requires window operator — caller wraps in AggregateFunction.

+ *

Free function (not class-classified). Classification rule: ever/always over 1 temporal

+ */ + public static int always_eq_pose_tpose(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "always_eq_pose_tpose requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.always_eq_pose_tpose(arg0, arg1); + } + + /** + * MEOS {@code always_eq_tpose_pose} — tier windowed. + *

Requires window operator — caller wraps in AggregateFunction.

+ *

Free function (not class-classified). Classification rule: ever/always over 1 temporal

+ */ + public static int always_eq_tpose_pose(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "always_eq_tpose_pose requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.always_eq_tpose_pose(arg0, arg1); + } + + /** + * MEOS {@code always_ne_pose_tpose} — tier windowed. + *

Requires window operator — caller wraps in AggregateFunction.

+ *

Free function (not class-classified). Classification rule: ever/always over 1 temporal

+ */ + public static int always_ne_pose_tpose(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "always_ne_pose_tpose requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.always_ne_pose_tpose(arg0, arg1); + } + + /** + * MEOS {@code always_ne_tpose_pose} — tier windowed. + *

Requires window operator — caller wraps in AggregateFunction.

+ *

Free function (not class-classified). Classification rule: ever/always over 1 temporal

+ */ + public static int always_ne_tpose_pose(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "always_ne_tpose_pose requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.always_ne_tpose_pose(arg0, arg1); + } + + /** + * MEOS {@code ever_eq_pose_tpose} — tier windowed. + *

Requires window operator — caller wraps in AggregateFunction.

+ *

Free function (not class-classified). Classification rule: ever/always over 1 temporal

+ */ + public static int ever_eq_pose_tpose(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "ever_eq_pose_tpose requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.ever_eq_pose_tpose(arg0, arg1); + } + + /** + * MEOS {@code ever_eq_tpose_pose} — tier windowed. + *

Requires window operator — caller wraps in AggregateFunction.

+ *

Free function (not class-classified). Classification rule: ever/always over 1 temporal

+ */ + public static int ever_eq_tpose_pose(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "ever_eq_tpose_pose requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.ever_eq_tpose_pose(arg0, arg1); + } + + /** + * MEOS {@code ever_ne_pose_tpose} — tier windowed. + *

Requires window operator — caller wraps in AggregateFunction.

+ *

Free function (not class-classified). Classification rule: ever/always over 1 temporal

+ */ + public static int ever_ne_pose_tpose(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "ever_ne_pose_tpose requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.ever_ne_pose_tpose(arg0, arg1); + } + + /** + * MEOS {@code ever_ne_tpose_pose} — tier windowed. + *

Requires window operator — caller wraps in AggregateFunction.

+ *

Free function (not class-classified). Classification rule: ever/always over 1 temporal

+ */ + public static int ever_ne_tpose_pose(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "ever_ne_tpose_pose requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.ever_ne_tpose_pose(arg0, arg1); + } + + /** + * MEOS {@code always_eq_tpose_tpose} — tier cross-stream. + *

Pairwise across streams — caller wraps in a join.

+ *

Free function (not class-classified). Classification rule: ever/always over 2 temporals

+ */ + public static int always_eq_tpose_tpose(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "always_eq_tpose_tpose requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.always_eq_tpose_tpose(arg0, arg1); + } + + /** + * MEOS {@code always_ne_tpose_tpose} — tier cross-stream. + *

Pairwise across streams — caller wraps in a join.

+ *

Free function (not class-classified). Classification rule: ever/always over 2 temporals

+ */ + public static int always_ne_tpose_tpose(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "always_ne_tpose_tpose requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.always_ne_tpose_tpose(arg0, arg1); + } + + /** + * MEOS {@code ever_eq_tpose_tpose} — tier cross-stream. + *

Pairwise across streams — caller wraps in a join.

+ *

Free function (not class-classified). Classification rule: ever/always over 2 temporals

+ */ + public static int ever_eq_tpose_tpose(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "ever_eq_tpose_tpose requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.ever_eq_tpose_tpose(arg0, arg1); + } + + /** + * MEOS {@code ever_ne_tpose_tpose} — tier cross-stream. + *

Pairwise across streams — caller wraps in a join.

+ *

Free function (not class-classified). Classification rule: ever/always over 2 temporals

+ */ + public static int ever_ne_tpose_tpose(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "ever_ne_tpose_tpose requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.ever_ne_tpose_tpose(arg0, arg1); + } + + /** + * MEOS {@code nad_tpose_tpose} — tier cross-stream. + *

Pairwise across streams — caller wraps in a join.

+ *

Free function (not class-classified). Classification rule: distance on 2 temporals

+ */ + public static double nad_tpose_tpose(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "nad_tpose_tpose requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.nad_tpose_tpose(arg0, arg1); + } + + /** + * MEOS {@code nai_tpose_tpose} — tier cross-stream. + *

Pairwise across streams — caller wraps in a join.

+ *

Free function (not class-classified). Classification rule: distance on 2 temporals

+ */ + public static jnr.ffi.Pointer nai_tpose_tpose(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "nai_tpose_tpose requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.nai_tpose_tpose(arg0, arg1); + } + + /** + * MEOS {@code shortestline_tpose_tpose} — tier cross-stream. + *

Pairwise across streams — caller wraps in a join.

+ *

Free function (not class-classified). Classification rule: distance on 2 temporals

+ */ + public static jnr.ffi.Pointer shortestline_tpose_tpose(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "shortestline_tpose_tpose requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.shortestline_tpose_tpose(arg0, arg1); + } + + /** + * MEOS {@code tdistance_tpose_tpose} — tier cross-stream. + *

Pairwise across streams — caller wraps in a join.

+ *

Free function (not class-classified). Classification rule: distance on 2 temporals

+ */ + public static jnr.ffi.Pointer tdistance_tpose_tpose(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tdistance_tpose_tpose requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tdistance_tpose_tpose(arg0, arg1); + } + + /** + * MEOS {@code pose_as_ewkt} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Free function (not class-classified). Classification rule: IO/serialization

+ */ + public static java.lang.String pose_as_ewkt(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "pose_as_ewkt requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.pose_as_ewkt(arg0, arg1); + } + + /** + * MEOS {@code pose_as_hexwkb} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Free function (not class-classified). Classification rule: IO/serialization

+ */ + public static java.lang.String pose_as_hexwkb(jnr.ffi.Pointer arg0, byte arg1, jnr.ffi.Pointer arg2) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "pose_as_hexwkb requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.pose_as_hexwkb(arg0, arg1, arg2); + } + + /** + * MEOS {@code pose_as_text} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Free function (not class-classified). Classification rule: IO/serialization

+ */ + public static java.lang.String pose_as_text(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "pose_as_text requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.pose_as_text(arg0, arg1); + } + + /** + * MEOS {@code pose_as_wkb} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Free function (not class-classified). Classification rule: IO/serialization

+ */ + public static jnr.ffi.Pointer pose_as_wkb(jnr.ffi.Pointer arg0, byte arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "pose_as_wkb requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.pose_as_wkb(arg0, arg1); + } + + /** + * MEOS {@code pose_from_hexwkb} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Free function (not class-classified). Classification rule: IO/serialization

+ */ + public static jnr.ffi.Pointer pose_from_hexwkb(java.lang.String arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "pose_from_hexwkb requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.pose_from_hexwkb(arg0); + } + + /** + * MEOS {@code pose_from_wkb} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Free function (not class-classified). Classification rule: IO/serialization

+ */ + public static jnr.ffi.Pointer pose_from_wkb(jnr.ffi.Pointer arg0, long arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "pose_from_wkb requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.pose_from_wkb(arg0, arg1); + } + + /** + * MEOS {@code pose_in} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Free function (not class-classified). Classification rule: IO/serialization

+ */ + public static jnr.ffi.Pointer pose_in(java.lang.String arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "pose_in requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.pose_in(arg0); + } + + /** + * MEOS {@code pose_out} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Free function (not class-classified). Classification rule: IO/serialization

+ */ + public static java.lang.String pose_out(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "pose_out requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.pose_out(arg0, arg1); + } + +} diff --git a/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsFreeRgeo.java b/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsFreeRgeo.java new file mode 100644 index 00000000..6248e1ff --- /dev/null +++ b/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsFreeRgeo.java @@ -0,0 +1,448 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2020-2026, Université libre de Bruxelles and MobilityDB + * contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +package org.mobilitydb.meos; + +/* AUTO-GENERATED by codegen_flink_free.py — do not edit by hand. + * Source header: meos_rgeo.h + * Methods emitted: 31 (cross-stream=12 · windowed=8 · bounded-state=6 · stateless=5) + * Scope: MEOS public functions NOT classified into any object-model class + * (free functions, not methods on a class). + * Source: JMEOS PR #19 (functions.GeneratedFunctions) ∩ streaming-relevance baseline v4. + */ + +import functions.GeneratedFunctions; +import jnr.ffi.Pointer; + +public final class MeosOpsFreeRgeo { + + public static final boolean MEOS_AVAILABLE = MeosOpsRuntime.MEOS_AVAILABLE; + + private MeosOpsFreeRgeo() { /* utility */ } + + /** + * MEOS {@code geo_tpose_to_trgeometry} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: base-type fn, default pure

+ */ + public static jnr.ffi.Pointer geo_tpose_to_trgeometry(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "geo_tpose_to_trgeometry requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.geo_tpose_to_trgeometry(arg0, arg1); + } + + /** + * MEOS {@code teq_geo_trgeometry} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: temporal comparison (per-instant)

+ */ + public static jnr.ffi.Pointer teq_geo_trgeometry(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "teq_geo_trgeometry requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.teq_geo_trgeometry(arg0, arg1); + } + + /** + * MEOS {@code teq_trgeometry_geo} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: temporal comparison (per-instant)

+ */ + public static jnr.ffi.Pointer teq_trgeometry_geo(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "teq_trgeometry_geo requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.teq_trgeometry_geo(arg0, arg1); + } + + /** + * MEOS {@code tne_geo_trgeometry} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: temporal comparison (per-instant)

+ */ + public static jnr.ffi.Pointer tne_geo_trgeometry(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tne_geo_trgeometry requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tne_geo_trgeometry(arg0, arg1); + } + + /** + * MEOS {@code tne_trgeometry_geo} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Free function (not class-classified). Classification rule: temporal comparison (per-instant)

+ */ + public static jnr.ffi.Pointer tne_trgeometry_geo(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tne_trgeometry_geo requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tne_trgeometry_geo(arg0, arg1); + } + + /** + * MEOS {@code nad_stbox_trgeometry} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: distance op

+ */ + public static double nad_stbox_trgeometry(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "nad_stbox_trgeometry requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.nad_stbox_trgeometry(arg0, arg1); + } + + /** + * MEOS {@code nad_trgeometry_geo} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: distance op

+ */ + public static double nad_trgeometry_geo(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "nad_trgeometry_geo requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.nad_trgeometry_geo(arg0, arg1); + } + + /** + * MEOS {@code nad_trgeometry_stbox} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: distance op

+ */ + public static double nad_trgeometry_stbox(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "nad_trgeometry_stbox requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.nad_trgeometry_stbox(arg0, arg1); + } + + /** + * MEOS {@code nai_trgeometry_geo} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: distance op

+ */ + public static jnr.ffi.Pointer nai_trgeometry_geo(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "nai_trgeometry_geo requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.nai_trgeometry_geo(arg0, arg1); + } + + /** + * MEOS {@code shortestline_trgeometry_geo} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: distance op

+ */ + public static jnr.ffi.Pointer shortestline_trgeometry_geo(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "shortestline_trgeometry_geo requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.shortestline_trgeometry_geo(arg0, arg1); + } + + /** + * MEOS {@code tdistance_trgeometry_geo} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Free function (not class-classified). Classification rule: distance op

+ */ + public static jnr.ffi.Pointer tdistance_trgeometry_geo(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tdistance_trgeometry_geo requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tdistance_trgeometry_geo(arg0, arg1); + } + + /** + * MEOS {@code always_eq_geo_trgeometry} — tier windowed. + *

Requires window operator — caller wraps in AggregateFunction.

+ *

Free function (not class-classified). Classification rule: ever/always over 1 temporal

+ */ + public static int always_eq_geo_trgeometry(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "always_eq_geo_trgeometry requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.always_eq_geo_trgeometry(arg0, arg1); + } + + /** + * MEOS {@code always_eq_trgeometry_geo} — tier windowed. + *

Requires window operator — caller wraps in AggregateFunction.

+ *

Free function (not class-classified). Classification rule: ever/always over 1 temporal

+ */ + public static int always_eq_trgeometry_geo(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "always_eq_trgeometry_geo requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.always_eq_trgeometry_geo(arg0, arg1); + } + + /** + * MEOS {@code always_ne_geo_trgeometry} — tier windowed. + *

Requires window operator — caller wraps in AggregateFunction.

+ *

Free function (not class-classified). Classification rule: ever/always over 1 temporal

+ */ + public static int always_ne_geo_trgeometry(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "always_ne_geo_trgeometry requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.always_ne_geo_trgeometry(arg0, arg1); + } + + /** + * MEOS {@code always_ne_trgeometry_geo} — tier windowed. + *

Requires window operator — caller wraps in AggregateFunction.

+ *

Free function (not class-classified). Classification rule: ever/always over 1 temporal

+ */ + public static int always_ne_trgeometry_geo(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "always_ne_trgeometry_geo requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.always_ne_trgeometry_geo(arg0, arg1); + } + + /** + * MEOS {@code ever_eq_geo_trgeometry} — tier windowed. + *

Requires window operator — caller wraps in AggregateFunction.

+ *

Free function (not class-classified). Classification rule: ever/always over 1 temporal

+ */ + public static int ever_eq_geo_trgeometry(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "ever_eq_geo_trgeometry requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.ever_eq_geo_trgeometry(arg0, arg1); + } + + /** + * MEOS {@code ever_eq_trgeometry_geo} — tier windowed. + *

Requires window operator — caller wraps in AggregateFunction.

+ *

Free function (not class-classified). Classification rule: ever/always over 1 temporal

+ */ + public static int ever_eq_trgeometry_geo(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "ever_eq_trgeometry_geo requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.ever_eq_trgeometry_geo(arg0, arg1); + } + + /** + * MEOS {@code ever_ne_geo_trgeometry} — tier windowed. + *

Requires window operator — caller wraps in AggregateFunction.

+ *

Free function (not class-classified). Classification rule: ever/always over 1 temporal

+ */ + public static int ever_ne_geo_trgeometry(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "ever_ne_geo_trgeometry requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.ever_ne_geo_trgeometry(arg0, arg1); + } + + /** + * MEOS {@code ever_ne_trgeometry_geo} — tier windowed. + *

Requires window operator — caller wraps in AggregateFunction.

+ *

Free function (not class-classified). Classification rule: ever/always over 1 temporal

+ */ + public static int ever_ne_trgeometry_geo(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "ever_ne_trgeometry_geo requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.ever_ne_trgeometry_geo(arg0, arg1); + } + + /** + * MEOS {@code always_eq_trgeometry_trgeometry} — tier cross-stream. + *

Pairwise across streams — caller wraps in a join.

+ *

Free function (not class-classified). Classification rule: ever/always over 2 temporals

+ */ + public static int always_eq_trgeometry_trgeometry(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "always_eq_trgeometry_trgeometry requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.always_eq_trgeometry_trgeometry(arg0, arg1); + } + + /** + * MEOS {@code always_ne_trgeometry_trgeometry} — tier cross-stream. + *

Pairwise across streams — caller wraps in a join.

+ *

Free function (not class-classified). Classification rule: ever/always over 2 temporals

+ */ + public static int always_ne_trgeometry_trgeometry(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "always_ne_trgeometry_trgeometry requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.always_ne_trgeometry_trgeometry(arg0, arg1); + } + + /** + * MEOS {@code ever_eq_trgeometry_trgeometry} — tier cross-stream. + *

Pairwise across streams — caller wraps in a join.

+ *

Free function (not class-classified). Classification rule: ever/always over 2 temporals

+ */ + public static int ever_eq_trgeometry_trgeometry(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "ever_eq_trgeometry_trgeometry requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.ever_eq_trgeometry_trgeometry(arg0, arg1); + } + + /** + * MEOS {@code ever_ne_trgeometry_trgeometry} — tier cross-stream. + *

Pairwise across streams — caller wraps in a join.

+ *

Free function (not class-classified). Classification rule: ever/always over 2 temporals

+ */ + public static int ever_ne_trgeometry_trgeometry(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "ever_ne_trgeometry_trgeometry requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.ever_ne_trgeometry_trgeometry(arg0, arg1); + } + + /** + * MEOS {@code nad_trgeometry_tpoint} — tier cross-stream. + *

Pairwise across streams — caller wraps in a join.

+ *

Free function (not class-classified). Classification rule: distance on 2 temporals

+ */ + public static double nad_trgeometry_tpoint(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "nad_trgeometry_tpoint requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.nad_trgeometry_tpoint(arg0, arg1); + } + + /** + * MEOS {@code nad_trgeometry_trgeometry} — tier cross-stream. + *

Pairwise across streams — caller wraps in a join.

+ *

Free function (not class-classified). Classification rule: distance on 2 temporals

+ */ + public static double nad_trgeometry_trgeometry(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "nad_trgeometry_trgeometry requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.nad_trgeometry_trgeometry(arg0, arg1); + } + + /** + * MEOS {@code nai_trgeometry_tpoint} — tier cross-stream. + *

Pairwise across streams — caller wraps in a join.

+ *

Free function (not class-classified). Classification rule: distance on 2 temporals

+ */ + public static jnr.ffi.Pointer nai_trgeometry_tpoint(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "nai_trgeometry_tpoint requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.nai_trgeometry_tpoint(arg0, arg1); + } + + /** + * MEOS {@code nai_trgeometry_trgeometry} — tier cross-stream. + *

Pairwise across streams — caller wraps in a join.

+ *

Free function (not class-classified). Classification rule: distance on 2 temporals

+ */ + public static jnr.ffi.Pointer nai_trgeometry_trgeometry(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "nai_trgeometry_trgeometry requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.nai_trgeometry_trgeometry(arg0, arg1); + } + + /** + * MEOS {@code shortestline_trgeometry_tpoint} — tier cross-stream. + *

Pairwise across streams — caller wraps in a join.

+ *

Free function (not class-classified). Classification rule: distance on 2 temporals

+ */ + public static jnr.ffi.Pointer shortestline_trgeometry_tpoint(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "shortestline_trgeometry_tpoint requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.shortestline_trgeometry_tpoint(arg0, arg1); + } + + /** + * MEOS {@code shortestline_trgeometry_trgeometry} — tier cross-stream. + *

Pairwise across streams — caller wraps in a join.

+ *

Free function (not class-classified). Classification rule: distance on 2 temporals

+ */ + public static jnr.ffi.Pointer shortestline_trgeometry_trgeometry(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "shortestline_trgeometry_trgeometry requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.shortestline_trgeometry_trgeometry(arg0, arg1); + } + + /** + * MEOS {@code tdistance_trgeometry_tpoint} — tier cross-stream. + *

Pairwise across streams — caller wraps in a join.

+ *

Free function (not class-classified). Classification rule: distance on 2 temporals

+ */ + public static jnr.ffi.Pointer tdistance_trgeometry_tpoint(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tdistance_trgeometry_tpoint requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tdistance_trgeometry_tpoint(arg0, arg1); + } + + /** + * MEOS {@code tdistance_trgeometry_trgeometry} — tier cross-stream. + *

Pairwise across streams — caller wraps in a join.

+ *

Free function (not class-classified). Classification rule: distance on 2 temporals

+ */ + public static jnr.ffi.Pointer tdistance_trgeometry_trgeometry(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tdistance_trgeometry_trgeometry requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tdistance_trgeometry_trgeometry(arg0, arg1); + } + +} diff --git a/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsGeogSet.java b/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsGeogSet.java new file mode 100644 index 00000000..b12da2bb --- /dev/null +++ b/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsGeogSet.java @@ -0,0 +1,57 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2020-2026, Université libre de Bruxelles and MobilityDB + * contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +package org.mobilitydb.meos; + +/* AUTO-GENERATED by codegen_flink_v3.py — do not edit by hand. + * MEOS object-model class: GeogSet + * Methods emitted: 1 (io-meta=1) + * Source: JMEOS jar (PR #15 / regen-against-meos-1.4) ∩ streaming-relevance baseline v4. + */ + +import functions.GeneratedFunctions; +import jnr.ffi.Pointer; + +public final class MeosOpsGeogSet { + + public static final boolean MEOS_AVAILABLE = MeosOpsRuntime.MEOS_AVAILABLE; + + private MeosOpsGeogSet() { /* utility */ } + + /** + * MEOS {@code geogset_in} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Object-model role: {@code constructor}.

+ *

Classification: IO/serialization

+ */ + public static jnr.ffi.Pointer geogset_in(java.lang.String arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "geogset_in requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.geogset_in(arg0); + } + +} diff --git a/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsGeomSet.java b/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsGeomSet.java new file mode 100644 index 00000000..2cd26704 --- /dev/null +++ b/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsGeomSet.java @@ -0,0 +1,127 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2020-2026, Université libre de Bruxelles and MobilityDB + * contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +package org.mobilitydb.meos; + +/* AUTO-GENERATED by codegen_flink_v3.py — do not edit by hand. + * MEOS object-model class: GeomSet + * Methods emitted: 6 (bounded-state=4 · io-meta=1 · stateless=1) + * Source: JMEOS jar (PR #15 / regen-against-meos-1.4) ∩ streaming-relevance baseline v4. + */ + +import functions.GeneratedFunctions; +import jnr.ffi.Pointer; + +public final class MeosOpsGeomSet { + + public static final boolean MEOS_AVAILABLE = MeosOpsRuntime.MEOS_AVAILABLE; + + private MeosOpsGeomSet() { /* utility */ } + + /** + * MEOS {@code geoset_make} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Object-model role: {@code constructor}.

+ *

Classification: constructor of instant/scalar

+ */ + public static jnr.ffi.Pointer geoset_make(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "geoset_make requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.geoset_make(arg0, arg1); + } + + /** + * MEOS {@code geoset_end_value} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer geoset_end_value(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "geoset_end_value requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.geoset_end_value(arg0); + } + + /** + * MEOS {@code geoset_start_value} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer geoset_start_value(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "geoset_start_value requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.geoset_start_value(arg0); + } + + /** + * MEOS {@code geoset_value_n} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer geoset_value_n(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "geoset_value_n requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.geoset_value_n(arg0, arg1); + } + + /** + * MEOS {@code geoset_values} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer geoset_values(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "geoset_values requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.geoset_values(arg0, arg1); + } + + /** + * MEOS {@code geomset_in} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Object-model role: {@code constructor}.

+ *

Classification: IO/serialization

+ */ + public static jnr.ffi.Pointer geomset_in(java.lang.String arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "geomset_in requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.geomset_in(arg0); + } + +} diff --git a/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsIntSet.java b/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsIntSet.java new file mode 100644 index 00000000..1cb1e232 --- /dev/null +++ b/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsIntSet.java @@ -0,0 +1,169 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2020-2026, Université libre de Bruxelles and MobilityDB + * contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +package org.mobilitydb.meos; + +/* AUTO-GENERATED by codegen_flink_v3.py — do not edit by hand. + * MEOS object-model class: IntSet + * Methods emitted: 9 (bounded-state=5 · io-meta=2 · stateless=2) + * Source: JMEOS jar (PR #15 / regen-against-meos-1.4) ∩ streaming-relevance baseline v4. + */ + +import functions.GeneratedFunctions; +import jnr.ffi.Pointer; + +public final class MeosOpsIntSet { + + public static final boolean MEOS_AVAILABLE = MeosOpsRuntime.MEOS_AVAILABLE; + + private MeosOpsIntSet() { /* utility */ } + + /** + * MEOS {@code intset_make} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Object-model role: {@code constructor}.

+ *

Classification: constructor of instant/scalar

+ */ + public static jnr.ffi.Pointer intset_make(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "intset_make requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.intset_make(arg0, arg1); + } + + /** + * MEOS {@code intset_to_floatset} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Object-model role: {@code conversion}.

+ *

Classification: role=conversion

+ */ + public static jnr.ffi.Pointer intset_to_floatset(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "intset_to_floatset requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.intset_to_floatset(arg0); + } + + /** + * MEOS {@code intset_end_value} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static int intset_end_value(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "intset_end_value requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.intset_end_value(arg0); + } + + /** + * MEOS {@code intset_shift_scale} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer intset_shift_scale(jnr.ffi.Pointer arg0, int arg1, int arg2, boolean arg3, boolean arg4) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "intset_shift_scale requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.intset_shift_scale(arg0, arg1, arg2, arg3, arg4); + } + + /** + * MEOS {@code intset_start_value} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static int intset_start_value(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "intset_start_value requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.intset_start_value(arg0); + } + + /** + * MEOS {@code intset_value_n} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer intset_value_n(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "intset_value_n requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.intset_value_n(arg0, arg1); + } + + /** + * MEOS {@code intset_values} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer intset_values(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "intset_values requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.intset_values(arg0, arg1); + } + + /** + * MEOS {@code intset_in} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Object-model role: {@code constructor}.

+ *

Classification: IO/serialization

+ */ + public static jnr.ffi.Pointer intset_in(java.lang.String arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "intset_in requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.intset_in(arg0); + } + + /** + * MEOS {@code intset_out} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Object-model role: {@code output}.

+ *

Classification: IO/serialization

+ */ + public static java.lang.String intset_out(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "intset_out requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.intset_out(arg0); + } + +} diff --git a/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsIntSpan.java b/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsIntSpan.java new file mode 100644 index 00000000..a63eacf1 --- /dev/null +++ b/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsIntSpan.java @@ -0,0 +1,183 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2020-2026, Université libre de Bruxelles and MobilityDB + * contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +package org.mobilitydb.meos; + +/* AUTO-GENERATED by codegen_flink_v3.py — do not edit by hand. + * MEOS object-model class: IntSpan + * Methods emitted: 10 (bounded-state=6 · io-meta=2 · stateless=2) + * Source: JMEOS jar (PR #15 / regen-against-meos-1.4) ∩ streaming-relevance baseline v4. + */ + +import functions.GeneratedFunctions; +import jnr.ffi.Pointer; + +public final class MeosOpsIntSpan { + + public static final boolean MEOS_AVAILABLE = MeosOpsRuntime.MEOS_AVAILABLE; + + private MeosOpsIntSpan() { /* utility */ } + + /** + * MEOS {@code intspan_make} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Object-model role: {@code constructor}.

+ *

Classification: constructor of instant/scalar

+ */ + public static jnr.ffi.Pointer intspan_make(int arg0, int arg1, boolean arg2, boolean arg3) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "intspan_make requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.intspan_make(arg0, arg1, arg2, arg3); + } + + /** + * MEOS {@code intspan_to_floatspan} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Object-model role: {@code conversion}.

+ *

Classification: role=conversion

+ */ + public static jnr.ffi.Pointer intspan_to_floatspan(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "intspan_to_floatspan requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.intspan_to_floatspan(arg0); + } + + /** + * MEOS {@code intspan_bins} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer intspan_bins(jnr.ffi.Pointer arg0, int arg1, int arg2, jnr.ffi.Pointer arg3) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "intspan_bins requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.intspan_bins(arg0, arg1, arg2, arg3); + } + + /** + * MEOS {@code intspan_expand} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer intspan_expand(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "intspan_expand requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.intspan_expand(arg0, arg1); + } + + /** + * MEOS {@code intspan_lower} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static int intspan_lower(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "intspan_lower requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.intspan_lower(arg0); + } + + /** + * MEOS {@code intspan_shift_scale} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer intspan_shift_scale(jnr.ffi.Pointer arg0, int arg1, int arg2, boolean arg3, boolean arg4) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "intspan_shift_scale requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.intspan_shift_scale(arg0, arg1, arg2, arg3, arg4); + } + + /** + * MEOS {@code intspan_upper} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static int intspan_upper(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "intspan_upper requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.intspan_upper(arg0); + } + + /** + * MEOS {@code intspan_width} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static int intspan_width(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "intspan_width requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.intspan_width(arg0); + } + + /** + * MEOS {@code intspan_in} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Object-model role: {@code constructor}.

+ *

Classification: IO/serialization

+ */ + public static jnr.ffi.Pointer intspan_in(java.lang.String arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "intspan_in requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.intspan_in(arg0); + } + + /** + * MEOS {@code intspan_out} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Object-model role: {@code output}.

+ *

Classification: IO/serialization

+ */ + public static java.lang.String intspan_out(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "intspan_out requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.intspan_out(arg0); + } + +} diff --git a/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsIntSpanSet.java b/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsIntSpanSet.java new file mode 100644 index 00000000..1690b1ef --- /dev/null +++ b/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsIntSpanSet.java @@ -0,0 +1,155 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2020-2026, Université libre de Bruxelles and MobilityDB + * contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +package org.mobilitydb.meos; + +/* AUTO-GENERATED by codegen_flink_v3.py — do not edit by hand. + * MEOS object-model class: IntSpanSet + * Methods emitted: 8 (bounded-state=5 · io-meta=2 · stateless=1) + * Source: JMEOS jar (PR #15 / regen-against-meos-1.4) ∩ streaming-relevance baseline v4. + */ + +import functions.GeneratedFunctions; +import jnr.ffi.Pointer; + +public final class MeosOpsIntSpanSet { + + public static final boolean MEOS_AVAILABLE = MeosOpsRuntime.MEOS_AVAILABLE; + + private MeosOpsIntSpanSet() { /* utility */ } + + /** + * MEOS {@code intspanset_to_floatspanset} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Object-model role: {@code conversion}.

+ *

Classification: role=conversion

+ */ + public static jnr.ffi.Pointer intspanset_to_floatspanset(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "intspanset_to_floatspanset requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.intspanset_to_floatspanset(arg0); + } + + /** + * MEOS {@code intspanset_bins} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer intspanset_bins(jnr.ffi.Pointer arg0, int arg1, int arg2, jnr.ffi.Pointer arg3) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "intspanset_bins requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.intspanset_bins(arg0, arg1, arg2, arg3); + } + + /** + * MEOS {@code intspanset_lower} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static int intspanset_lower(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "intspanset_lower requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.intspanset_lower(arg0); + } + + /** + * MEOS {@code intspanset_shift_scale} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer intspanset_shift_scale(jnr.ffi.Pointer arg0, int arg1, int arg2, boolean arg3, boolean arg4) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "intspanset_shift_scale requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.intspanset_shift_scale(arg0, arg1, arg2, arg3, arg4); + } + + /** + * MEOS {@code intspanset_upper} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static int intspanset_upper(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "intspanset_upper requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.intspanset_upper(arg0); + } + + /** + * MEOS {@code intspanset_width} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static int intspanset_width(jnr.ffi.Pointer arg0, boolean arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "intspanset_width requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.intspanset_width(arg0, arg1); + } + + /** + * MEOS {@code intspanset_in} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Object-model role: {@code constructor}.

+ *

Classification: IO/serialization

+ */ + public static jnr.ffi.Pointer intspanset_in(java.lang.String arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "intspanset_in requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.intspanset_in(arg0); + } + + /** + * MEOS {@code intspanset_out} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Object-model role: {@code output}.

+ *

Classification: IO/serialization

+ */ + public static java.lang.String intspanset_out(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "intspanset_out requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.intspanset_out(arg0); + } + +} diff --git a/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsNpointSet.java b/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsNpointSet.java new file mode 100644 index 00000000..248da15b --- /dev/null +++ b/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsNpointSet.java @@ -0,0 +1,155 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2020-2026, Université libre de Bruxelles and MobilityDB + * contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +package org.mobilitydb.meos; + +/* AUTO-GENERATED by codegen_flink_v3.py — do not edit by hand. + * MEOS object-model class: NpointSet + * Methods emitted: 8 (bounded-state=5 · io-meta=2 · stateless=1) + * Source: JMEOS jar (PR #15 / regen-against-meos-1.4) ∩ streaming-relevance baseline v4. + */ + +import functions.GeneratedFunctions; +import jnr.ffi.Pointer; + +public final class MeosOpsNpointSet { + + public static final boolean MEOS_AVAILABLE = MeosOpsRuntime.MEOS_AVAILABLE; + + private MeosOpsNpointSet() { /* utility */ } + + /** + * MEOS {@code npointset_make} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Object-model role: {@code constructor}.

+ *

Classification: constructor of instant/scalar

+ */ + public static jnr.ffi.Pointer npointset_make(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "npointset_make requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.npointset_make(arg0, arg1); + } + + /** + * MEOS {@code npointset_end_value} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer npointset_end_value(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "npointset_end_value requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.npointset_end_value(arg0); + } + + /** + * MEOS {@code npointset_routes} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer npointset_routes(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "npointset_routes requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.npointset_routes(arg0); + } + + /** + * MEOS {@code npointset_start_value} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer npointset_start_value(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "npointset_start_value requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.npointset_start_value(arg0); + } + + /** + * MEOS {@code npointset_value_n} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer npointset_value_n(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "npointset_value_n requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.npointset_value_n(arg0, arg1); + } + + /** + * MEOS {@code npointset_values} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer npointset_values(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "npointset_values requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.npointset_values(arg0, arg1); + } + + /** + * MEOS {@code npointset_in} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Object-model role: {@code constructor}.

+ *

Classification: IO/serialization

+ */ + public static jnr.ffi.Pointer npointset_in(java.lang.String arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "npointset_in requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.npointset_in(arg0); + } + + /** + * MEOS {@code npointset_out} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Object-model role: {@code output}.

+ *

Classification: IO/serialization

+ */ + public static java.lang.String npointset_out(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "npointset_out requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.npointset_out(arg0, arg1); + } + +} diff --git a/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsParityGaps.java b/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsParityGaps.java new file mode 100644 index 00000000..f74c2bb1 --- /dev/null +++ b/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsParityGaps.java @@ -0,0 +1,1459 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2020-2026, Université libre de Bruxelles and MobilityDB + * contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +package org.mobilitydb.meos; + +/** + * Forwarding facade methods for MEOS public-surface functions not emitted + * by the tier-aware code generator. Each method delegates to its JMEOS + * {@code functions.GeneratedFunctions} export under the shared + * {@link MeosOpsRuntime#MEOS_AVAILABLE} guard. + */ +public final class MeosOpsParityGaps { + + private MeosOpsParityGaps() { /* utility */ } + + /** MEOS {@code acontains_geo_trgeo} — meos_rgeo.h · scalar / stateless. */ + public static int acontains_geo_trgeo(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("acontains_geo_trgeo requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.acontains_geo_trgeo(arg0, arg1); + } + + /** MEOS {@code acovers_geo_tgeo} — meos_geo.h · scalar / stateless. */ + public static int acovers_geo_tgeo(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("acovers_geo_tgeo requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.acovers_geo_tgeo(arg0, arg1); + } + + /** MEOS {@code acovers_geo_trgeo} — meos_rgeo.h · scalar / stateless. */ + public static int acovers_geo_trgeo(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("acovers_geo_trgeo requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.acovers_geo_trgeo(arg0, arg1); + } + + /** MEOS {@code acovers_tcbuffer_tcbuffer} — meos_cbuffer.h · scalar / stateless. */ + public static int acovers_tcbuffer_tcbuffer(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("acovers_tcbuffer_tcbuffer requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.acovers_tcbuffer_tcbuffer(arg0, arg1); + } + + /** MEOS {@code acovers_tgeo_geo} — meos_geo.h · scalar / stateless. */ + public static int acovers_tgeo_geo(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("acovers_tgeo_geo requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.acovers_tgeo_geo(arg0, arg1); + } + + /** MEOS {@code acovers_tgeo_tgeo} — meos_geo.h · scalar / stateless. */ + public static int acovers_tgeo_tgeo(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("acovers_tgeo_tgeo requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.acovers_tgeo_tgeo(arg0, arg1); + } + + /** MEOS {@code acovers_trgeo_geo} — meos_rgeo.h · scalar / stateless. */ + public static int acovers_trgeo_geo(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("acovers_trgeo_geo requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.acovers_trgeo_geo(arg0, arg1); + } + + /** MEOS {@code adisjoint_tgeoarr_tgeoarr} — meos_geo.h · scalar / stateless. */ + public static jnr.ffi.Pointer adisjoint_tgeoarr_tgeoarr(jnr.ffi.Pointer arg0, int arg1, jnr.ffi.Pointer arg2, int arg3, jnr.ffi.Pointer arg4) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("adisjoint_tgeoarr_tgeoarr requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.adisjoint_tgeoarr_tgeoarr(arg0, arg1, arg2, arg3, arg4); + } + + /** MEOS {@code adisjoint_trgeo_geo} — meos_rgeo.h · scalar / stateless. */ + public static int adisjoint_trgeo_geo(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("adisjoint_trgeo_geo requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.adisjoint_trgeo_geo(arg0, arg1); + } + + /** MEOS {@code adisjoint_trgeo_trgeo} — meos_rgeo.h · scalar / stateless. */ + public static int adisjoint_trgeo_trgeo(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("adisjoint_trgeo_trgeo requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.adisjoint_trgeo_trgeo(arg0, arg1); + } + + /** MEOS {@code adwithin_trgeo_geo} — meos_rgeo.h · scalar / stateless. */ + public static int adwithin_trgeo_geo(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1, double arg2) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("adwithin_trgeo_geo requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.adwithin_trgeo_geo(arg0, arg1, arg2); + } + + /** MEOS {@code adwithin_trgeo_trgeo} — meos_rgeo.h · scalar / stateless. */ + public static int adwithin_trgeo_trgeo(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1, double arg2) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("adwithin_trgeo_trgeo requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.adwithin_trgeo_trgeo(arg0, arg1, arg2); + } + + /** MEOS {@code aintersects_trgeo_geo} — meos_rgeo.h · scalar / stateless. */ + public static int aintersects_trgeo_geo(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("aintersects_trgeo_geo requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.aintersects_trgeo_geo(arg0, arg1); + } + + /** MEOS {@code aintersects_trgeo_trgeo} — meos_rgeo.h · scalar / stateless. */ + public static int aintersects_trgeo_trgeo(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("aintersects_trgeo_trgeo requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.aintersects_trgeo_trgeo(arg0, arg1); + } + + /** MEOS {@code atouches_trgeo_geo} — meos_rgeo.h · scalar / stateless. */ + public static int atouches_trgeo_geo(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("atouches_trgeo_geo requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.atouches_trgeo_geo(arg0, arg1); + } + + /** MEOS {@code bearing_tpoint_point} — meos_geo.h · scalar / stateless. */ + public static jnr.ffi.Pointer bearing_tpoint_point(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1, boolean arg2) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("bearing_tpoint_point requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.bearing_tpoint_point(arg0, arg1, arg2); + } + + /** MEOS {@code bearing_tpoint_tpoint} — meos_geo.h · scalar / stateless. */ + public static jnr.ffi.Pointer bearing_tpoint_tpoint(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("bearing_tpoint_tpoint requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.bearing_tpoint_tpoint(arg0, arg1); + } + + /** MEOS {@code bigintspan_to_floatspan} — meos.h · scalar / stateless. */ + public static jnr.ffi.Pointer bigintspan_to_floatspan(jnr.ffi.Pointer arg0) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("bigintspan_to_floatspan requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.bigintspan_to_floatspan(arg0); + } + + /** MEOS {@code bigintspan_to_intspan} — meos.h · scalar / stateless. */ + public static jnr.ffi.Pointer bigintspan_to_intspan(jnr.ffi.Pointer arg0) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("bigintspan_to_intspan requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.bigintspan_to_intspan(arg0); + } + + /** MEOS {@code econtains_geo_trgeo} — meos_rgeo.h · scalar / stateless. */ + public static int econtains_geo_trgeo(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("econtains_geo_trgeo requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.econtains_geo_trgeo(arg0, arg1); + } + + /** MEOS {@code ecovers_geo_tcbuffer} — meos_cbuffer.h · scalar / stateless. */ + public static int ecovers_geo_tcbuffer(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("ecovers_geo_tcbuffer requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.ecovers_geo_tcbuffer(arg0, arg1); + } + + /** MEOS {@code ecovers_geo_trgeo} — meos_rgeo.h · scalar / stateless. */ + public static int ecovers_geo_trgeo(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("ecovers_geo_trgeo requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.ecovers_geo_trgeo(arg0, arg1); + } + + /** MEOS {@code ecovers_trgeo_geo} — meos_rgeo.h · scalar / stateless. */ + public static int ecovers_trgeo_geo(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("ecovers_trgeo_geo requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.ecovers_trgeo_geo(arg0, arg1); + } + + /** MEOS {@code edisjoint_trgeo_geo} — meos_rgeo.h · scalar / stateless. */ + public static int edisjoint_trgeo_geo(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("edisjoint_trgeo_geo requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.edisjoint_trgeo_geo(arg0, arg1); + } + + /** MEOS {@code edisjoint_trgeo_trgeo} — meos_rgeo.h · scalar / stateless. */ + public static int edisjoint_trgeo_trgeo(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("edisjoint_trgeo_trgeo requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.edisjoint_trgeo_trgeo(arg0, arg1); + } + + /** MEOS {@code edwithin_tgeoarr_tgeoarr} — meos_geo.h · scalar / stateless. */ + public static jnr.ffi.Pointer edwithin_tgeoarr_tgeoarr(jnr.ffi.Pointer arg0, int arg1, jnr.ffi.Pointer arg2, int arg3, double arg4, jnr.ffi.Pointer arg5) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("edwithin_tgeoarr_tgeoarr requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.edwithin_tgeoarr_tgeoarr(arg0, arg1, arg2, arg3, arg4, arg5); + } + + /** MEOS {@code edwithin_trgeo_geo} — meos_rgeo.h · scalar / stateless. */ + public static int edwithin_trgeo_geo(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1, double arg2) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("edwithin_trgeo_geo requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.edwithin_trgeo_geo(arg0, arg1, arg2); + } + + /** MEOS {@code edwithin_trgeo_trgeo} — meos_rgeo.h · scalar / stateless. */ + public static int edwithin_trgeo_trgeo(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1, double arg2) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("edwithin_trgeo_trgeo requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.edwithin_trgeo_trgeo(arg0, arg1, arg2); + } + + /** MEOS {@code eintersects_trgeo_geo} — meos_rgeo.h · scalar / stateless. */ + public static int eintersects_trgeo_geo(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("eintersects_trgeo_geo requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.eintersects_trgeo_geo(arg0, arg1); + } + + /** MEOS {@code eintersects_trgeo_trgeo} — meos_rgeo.h · scalar / stateless. */ + public static int eintersects_trgeo_trgeo(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("eintersects_trgeo_trgeo requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.eintersects_trgeo_trgeo(arg0, arg1); + } + + /** MEOS {@code etouches_trgeo_geo} — meos_rgeo.h · scalar / stateless. */ + public static int etouches_trgeo_geo(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("etouches_trgeo_geo requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.etouches_trgeo_geo(arg0, arg1); + } + + /** MEOS {@code floatspan_to_bigintspan} — meos.h · scalar / stateless. */ + public static jnr.ffi.Pointer floatspan_to_bigintspan(jnr.ffi.Pointer arg0) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("floatspan_to_bigintspan requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.floatspan_to_bigintspan(arg0); + } + + /** MEOS {@code geogpoint_make2d} — meos_geo.h · scalar / stateless. */ + public static jnr.ffi.Pointer geogpoint_make2d(int arg0, double arg1, double arg2) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("geogpoint_make2d requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.geogpoint_make2d(arg0, arg1, arg2); + } + + /** MEOS {@code geogpoint_make3dz} — meos_geo.h · scalar / stateless. */ + public static jnr.ffi.Pointer geogpoint_make3dz(int arg0, double arg1, double arg2, double arg3) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("geogpoint_make3dz requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.geogpoint_make3dz(arg0, arg1, arg2, arg3); + } + + /** MEOS {@code geomeas_to_tpoint} — meos_geo.h · scalar / stateless. */ + public static jnr.ffi.Pointer geomeas_to_tpoint(jnr.ffi.Pointer arg0) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("geomeas_to_tpoint requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.geomeas_to_tpoint(arg0); + } + + /** MEOS {@code geompoint_make2d} — meos_geo.h · scalar / stateless. */ + public static jnr.ffi.Pointer geompoint_make2d(int arg0, double arg1, double arg2) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("geompoint_make2d requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.geompoint_make2d(arg0, arg1, arg2); + } + + /** MEOS {@code geompoint_make3dz} — meos_geo.h · scalar / stateless. */ + public static jnr.ffi.Pointer geompoint_make3dz(int arg0, double arg1, double arg2, double arg3) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("geompoint_make3dz requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.geompoint_make3dz(arg0, arg1, arg2, arg3); + } + + /** MEOS {@code geompoint_to_npoint} — meos_npoint.h · scalar / stateless. */ + public static jnr.ffi.Pointer geompoint_to_npoint(jnr.ffi.Pointer arg0) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("geompoint_to_npoint requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.geompoint_to_npoint(arg0); + } + + /** MEOS {@code intersection_cbuffer_set} — meos_cbuffer.h · scalar / stateless. */ + public static jnr.ffi.Pointer intersection_cbuffer_set(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("intersection_cbuffer_set requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.intersection_cbuffer_set(arg0, arg1); + } + + /** MEOS {@code intersection_npoint_set} — meos_npoint.h · scalar / stateless. */ + public static jnr.ffi.Pointer intersection_npoint_set(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("intersection_npoint_set requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.intersection_npoint_set(arg0, arg1); + } + + /** MEOS {@code intersection_pose_set} — meos_pose.h · scalar / stateless. */ + public static jnr.ffi.Pointer intersection_pose_set(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("intersection_pose_set requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.intersection_pose_set(arg0, arg1); + } + + /** MEOS {@code intspan_to_bigintspan} — meos.h · scalar / stateless. */ + public static jnr.ffi.Pointer intspan_to_bigintspan(jnr.ffi.Pointer arg0) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("intspan_to_bigintspan requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.intspan_to_bigintspan(arg0); + } + + /** MEOS {@code line_interpolate_point} — meos_geo.h · scalar / stateless. */ + public static jnr.ffi.Pointer line_interpolate_point(jnr.ffi.Pointer arg0, double arg1, boolean arg2) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("line_interpolate_point requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.line_interpolate_point(arg0, arg1, arg2); + } + + /** MEOS {@code line_locate_point} — meos_geo.h · scalar / stateless. */ + public static double line_locate_point(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("line_locate_point requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.line_locate_point(arg0, arg1); + } + + /** MEOS {@code line_point_n} — meos_geo.h · scalar / stateless. */ + public static jnr.ffi.Pointer line_point_n(jnr.ffi.Pointer arg0, int arg1) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("line_point_n requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.line_point_n(arg0, arg1); + } + + /** MEOS {@code line_substring} — meos_geo.h · scalar / stateless. */ + public static jnr.ffi.Pointer line_substring(jnr.ffi.Pointer arg0, double arg1, double arg2) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("line_substring requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.line_substring(arg0, arg1, arg2); + } + + /** MEOS {@code meos_initialize_noexit_error_handler} — meos.h · scalar / stateless. */ + public static void meos_initialize_noexit_error_handler() { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("meos_initialize_noexit_error_handler requires libmeos — set -Dmeos.enabled=true"); + functions.GeneratedFunctions.meos_initialize_noexit_error_handler(); + } + + /** MEOS {@code meos_initialize_pointcloud} — meos.h · scalar / stateless. */ + public static void meos_initialize_pointcloud() { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("meos_initialize_pointcloud requires libmeos — set -Dmeos.enabled=true"); + functions.GeneratedFunctions.meos_initialize_pointcloud(); + } + + /** MEOS {@code meos_set_arrow_roundtrip} — meos.h · scalar / stateless. */ + public static jnr.ffi.Pointer meos_set_arrow_roundtrip(jnr.ffi.Pointer arg0) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("meos_set_arrow_roundtrip requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.meos_set_arrow_roundtrip(arg0); + } + + /** MEOS {@code meos_set_from_arrow} — meos.h · scalar / stateless. */ + public static jnr.ffi.Pointer meos_set_from_arrow(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("meos_set_from_arrow requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.meos_set_from_arrow(arg0, arg1); + } + + /** MEOS {@code meos_set_to_arrow} — meos.h · scalar / stateless. */ + public static boolean meos_set_to_arrow(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1, jnr.ffi.Pointer arg2) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("meos_set_to_arrow requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.meos_set_to_arrow(arg0, arg1, arg2); + } + + /** MEOS {@code meos_set_ways_csv} — meos.h · scalar / stateless. */ + public static void meos_set_ways_csv(java.lang.String arg0) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("meos_set_ways_csv requires libmeos — set -Dmeos.enabled=true"); + functions.GeneratedFunctions.meos_set_ways_csv(arg0); + } + + /** MEOS {@code meos_span_arrow_roundtrip} — meos.h · scalar / stateless. */ + public static jnr.ffi.Pointer meos_span_arrow_roundtrip(jnr.ffi.Pointer arg0) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("meos_span_arrow_roundtrip requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.meos_span_arrow_roundtrip(arg0); + } + + /** MEOS {@code meos_span_from_arrow} — meos.h · scalar / stateless. */ + public static jnr.ffi.Pointer meos_span_from_arrow(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("meos_span_from_arrow requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.meos_span_from_arrow(arg0, arg1); + } + + /** MEOS {@code meos_span_to_arrow} — meos.h · scalar / stateless. */ + public static boolean meos_span_to_arrow(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1, jnr.ffi.Pointer arg2) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("meos_span_to_arrow requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.meos_span_to_arrow(arg0, arg1, arg2); + } + + /** MEOS {@code meos_spanset_arrow_roundtrip} — meos.h · scalar / stateless. */ + public static jnr.ffi.Pointer meos_spanset_arrow_roundtrip(jnr.ffi.Pointer arg0) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("meos_spanset_arrow_roundtrip requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.meos_spanset_arrow_roundtrip(arg0); + } + + /** MEOS {@code meos_spanset_from_arrow} — meos.h · scalar / stateless. */ + public static jnr.ffi.Pointer meos_spanset_from_arrow(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("meos_spanset_from_arrow requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.meos_spanset_from_arrow(arg0, arg1); + } + + /** MEOS {@code meos_spanset_to_arrow} — meos.h · scalar / stateless. */ + public static boolean meos_spanset_to_arrow(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1, jnr.ffi.Pointer arg2) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("meos_spanset_to_arrow requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.meos_spanset_to_arrow(arg0, arg1, arg2); + } + + /** MEOS {@code meos_stbox_arrow_roundtrip} — meos.h · scalar / stateless. */ + public static jnr.ffi.Pointer meos_stbox_arrow_roundtrip(jnr.ffi.Pointer arg0) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("meos_stbox_arrow_roundtrip requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.meos_stbox_arrow_roundtrip(arg0); + } + + /** MEOS {@code meos_stbox_from_arrow} — meos.h · scalar / stateless. */ + public static jnr.ffi.Pointer meos_stbox_from_arrow(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("meos_stbox_from_arrow requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.meos_stbox_from_arrow(arg0, arg1); + } + + /** MEOS {@code meos_stbox_to_arrow} — meos.h · scalar / stateless. */ + public static boolean meos_stbox_to_arrow(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1, jnr.ffi.Pointer arg2) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("meos_stbox_to_arrow requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.meos_stbox_to_arrow(arg0, arg1, arg2); + } + + /** MEOS {@code meos_tbox_arrow_roundtrip} — meos.h · scalar / stateless. */ + public static jnr.ffi.Pointer meos_tbox_arrow_roundtrip(jnr.ffi.Pointer arg0) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("meos_tbox_arrow_roundtrip requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.meos_tbox_arrow_roundtrip(arg0); + } + + /** MEOS {@code meos_tbox_from_arrow} — meos.h · scalar / stateless. */ + public static jnr.ffi.Pointer meos_tbox_from_arrow(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("meos_tbox_from_arrow requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.meos_tbox_from_arrow(arg0, arg1); + } + + /** MEOS {@code meos_tbox_to_arrow} — meos.h · scalar / stateless. */ + public static boolean meos_tbox_to_arrow(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1, jnr.ffi.Pointer arg2) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("meos_tbox_to_arrow requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.meos_tbox_to_arrow(arg0, arg1, arg2); + } + + /** MEOS {@code meos_temporal_arrow_roundtrip} — meos.h · scalar / stateless. */ + public static jnr.ffi.Pointer meos_temporal_arrow_roundtrip(jnr.ffi.Pointer arg0) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("meos_temporal_arrow_roundtrip requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.meos_temporal_arrow_roundtrip(arg0); + } + + /** MEOS {@code meos_temporal_from_arrow} — meos.h · scalar / stateless. */ + public static jnr.ffi.Pointer meos_temporal_from_arrow(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("meos_temporal_from_arrow requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.meos_temporal_from_arrow(arg0, arg1); + } + + /** MEOS {@code meos_temporal_to_arrow} — meos.h · scalar / stateless. */ + public static boolean meos_temporal_to_arrow(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1, jnr.ffi.Pointer arg2) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("meos_temporal_to_arrow requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.meos_temporal_to_arrow(arg0, arg1, arg2); + } + + /** MEOS {@code mindistance_tcbuffer_tcbuffer} — meos_cbuffer.h · scalar / stateless. */ + public static double mindistance_tcbuffer_tcbuffer(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1, double arg2) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("mindistance_tcbuffer_tcbuffer requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.mindistance_tcbuffer_tcbuffer(arg0, arg1, arg2); + } + + /** MEOS {@code mindistance_tgeo_tgeo} — meos_geo.h · scalar / stateless. */ + public static double mindistance_tgeo_tgeo(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1, double arg2) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("mindistance_tgeo_tgeo requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.mindistance_tgeo_tgeo(arg0, arg1, arg2); + } + + /** MEOS {@code mindistance_tgeoarr_tgeoarr} — meos_geo.h · scalar / stateless. */ + public static double mindistance_tgeoarr_tgeoarr(jnr.ffi.Pointer arg0, int arg1, jnr.ffi.Pointer arg2, int arg3) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("mindistance_tgeoarr_tgeoarr requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.mindistance_tgeoarr_tgeoarr(arg0, arg1, arg2, arg3); + } + + /** MEOS {@code mul_float_tfloat} — meos.h · scalar / stateless. */ + public static jnr.ffi.Pointer mul_float_tfloat(double arg0, jnr.ffi.Pointer arg1) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("mul_float_tfloat requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.mul_float_tfloat(arg0, arg1); + } + + /** MEOS {@code mul_int_tint} — meos.h · scalar / stateless. */ + public static jnr.ffi.Pointer mul_int_tint(int arg0, jnr.ffi.Pointer arg1) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("mul_int_tint requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.mul_int_tint(arg0, arg1); + } + + /** MEOS {@code mul_tfloat_float} — meos.h · scalar / stateless. */ + public static jnr.ffi.Pointer mul_tfloat_float(jnr.ffi.Pointer arg0, double arg1) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("mul_tfloat_float requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.mul_tfloat_float(arg0, arg1); + } + + /** MEOS {@code mul_tint_int} — meos.h · scalar / stateless. */ + public static jnr.ffi.Pointer mul_tint_int(jnr.ffi.Pointer arg0, int arg1) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("mul_tint_int requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.mul_tint_int(arg0, arg1); + } + + /** MEOS {@code mul_tnumber_tnumber} — meos.h · scalar / stateless. */ + public static jnr.ffi.Pointer mul_tnumber_tnumber(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("mul_tnumber_tnumber requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.mul_tnumber_tnumber(arg0, arg1); + } + + /** MEOS {@code nsegment_end_position} — meos_npoint.h · scalar / stateless. */ + public static double nsegment_end_position(jnr.ffi.Pointer arg0) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("nsegment_end_position requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.nsegment_end_position(arg0); + } + + /** MEOS {@code nsegment_start_position} — meos_npoint.h · scalar / stateless. */ + public static double nsegment_start_position(jnr.ffi.Pointer arg0) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("nsegment_start_position requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.nsegment_start_position(arg0); + } + + /** MEOS {@code pose_angular_distance} — meos_pose.h · scalar / stateless. */ + public static double pose_angular_distance(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("pose_angular_distance requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.pose_angular_distance(arg0, arg1); + } + + /** MEOS {@code pose_apply_geo} — meos_pose.h · scalar / stateless. */ + public static jnr.ffi.Pointer pose_apply_geo(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("pose_apply_geo requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.pose_apply_geo(arg0, arg1); + } + + /** MEOS {@code pose_as_geopose} — meos_pose.h · scalar / stateless. */ + public static java.lang.String pose_as_geopose(jnr.ffi.Pointer arg0, int arg1, int arg2) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("pose_as_geopose requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.pose_as_geopose(arg0, arg1, arg2); + } + + /** MEOS {@code pose_from_geopose} — meos_pose.h · scalar / stateless. */ + public static jnr.ffi.Pointer pose_from_geopose(java.lang.String arg0) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("pose_from_geopose requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.pose_from_geopose(arg0); + } + + /** MEOS {@code pose_normalise} — meos_pose.h · scalar / stateless. */ + public static jnr.ffi.Pointer pose_normalise(jnr.ffi.Pointer arg0) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("pose_normalise requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.pose_normalise(arg0); + } + + /** MEOS {@code pose_pitch} — meos_pose.h · scalar / stateless. */ + public static double pose_pitch(jnr.ffi.Pointer arg0) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("pose_pitch requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.pose_pitch(arg0); + } + + /** MEOS {@code pose_roll} — meos_pose.h · scalar / stateless. */ + public static double pose_roll(jnr.ffi.Pointer arg0) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("pose_roll requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.pose_roll(arg0); + } + + /** MEOS {@code pose_yaw} — meos_pose.h · scalar / stateless. */ + public static double pose_yaw(jnr.ffi.Pointer arg0) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("pose_yaw requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.pose_yaw(arg0); + } + + /** MEOS {@code route_geom} — meos_npoint.h · scalar / stateless. */ + public static jnr.ffi.Pointer route_geom(long arg0) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("route_geom requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.route_geom(arg0); + } + + /** MEOS {@code rtree_insert_temporal_split} — meos.h · scalar / stateless. */ + public static void rtree_insert_temporal_split(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1, int arg2, int arg3) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("rtree_insert_temporal_split requires libmeos — set -Dmeos.enabled=true"); + functions.GeneratedFunctions.rtree_insert_temporal_split(arg0, arg1, arg2, arg3); + } + + /** MEOS {@code rtree_search_temporal_dedup} — meos.h · scalar / stateless. */ + public static int rtree_search_temporal_dedup(jnr.ffi.Pointer arg0, int arg1, jnr.ffi.Pointer arg2, int arg3, jnr.ffi.Pointer arg4) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("rtree_search_temporal_dedup requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.rtree_search_temporal_dedup(arg0, arg1, arg2, arg3, arg4); + } + + /** MEOS {@code spatialset_set_srid} — meos_geo.h · scalar / stateless. */ + public static jnr.ffi.Pointer spatialset_set_srid(jnr.ffi.Pointer arg0, int arg1) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("spatialset_set_srid requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.spatialset_set_srid(arg0, arg1); + } + + /** MEOS {@code spatialset_transform} — meos_geo.h · scalar / stateless. */ + public static jnr.ffi.Pointer spatialset_transform(jnr.ffi.Pointer arg0, int arg1) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("spatialset_transform requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.spatialset_transform(arg0, arg1); + } + + /** MEOS {@code spatialset_transform_pipeline} — meos_geo.h · scalar / stateless. */ + public static jnr.ffi.Pointer spatialset_transform_pipeline(jnr.ffi.Pointer arg0, java.lang.String arg1, int arg2, boolean arg3) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("spatialset_transform_pipeline requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.spatialset_transform_pipeline(arg0, arg1, arg2, arg3); + } + + /** MEOS {@code super_union_span_span} — meos.h · scalar / stateless. */ + public static jnr.ffi.Pointer super_union_span_span(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1, boolean arg2) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("super_union_span_span requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.super_union_span_span(arg0, arg1, arg2); + } + + /** MEOS {@code tand_bool_tbool} — meos.h · scalar / stateless. */ + public static jnr.ffi.Pointer tand_bool_tbool(boolean arg0, jnr.ffi.Pointer arg1) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("tand_bool_tbool requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.tand_bool_tbool(arg0, arg1); + } + + /** MEOS {@code tand_tbool_bool} — meos.h · scalar / stateless. */ + public static jnr.ffi.Pointer tand_tbool_bool(jnr.ffi.Pointer arg0, boolean arg1) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("tand_tbool_bool requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.tand_tbool_bool(arg0, arg1); + } + + /** MEOS {@code tand_tbool_tbool} — meos.h · scalar / stateless. */ + public static jnr.ffi.Pointer tand_tbool_tbool(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("tand_tbool_tbool requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.tand_tbool_tbool(arg0, arg1); + } + + /** MEOS {@code tbool_tand_combinefn} — meos.h · scalar / stateless. */ + public static jnr.ffi.Pointer tbool_tand_combinefn(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("tbool_tand_combinefn requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.tbool_tand_combinefn(arg0, arg1); + } + + /** MEOS {@code tbool_tor_combinefn} — meos.h · scalar / stateless. */ + public static jnr.ffi.Pointer tbool_tor_combinefn(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("tbool_tor_combinefn requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.tbool_tor_combinefn(arg0, arg1); + } + + /** MEOS {@code tboolseq_from_base_tstzset} — meos.h · whole-sequence constructor — not a per-event op. */ + public static jnr.ffi.Pointer tboolseq_from_base_tstzset(boolean arg0, jnr.ffi.Pointer arg1) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("tboolseq_from_base_tstzset requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.tboolseq_from_base_tstzset(arg0, arg1); + } + + /** MEOS {@code tboolseq_from_base_tstzspan} — meos.h · whole-sequence constructor — not a per-event op. */ + public static jnr.ffi.Pointer tboolseq_from_base_tstzspan(boolean arg0, jnr.ffi.Pointer arg1) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("tboolseq_from_base_tstzspan requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.tboolseq_from_base_tstzspan(arg0, arg1); + } + + /** MEOS {@code tboolseqset_from_base_tstzspanset} — meos.h · whole-sequence constructor — not a per-event op. */ + public static jnr.ffi.Pointer tboolseqset_from_base_tstzspanset(boolean arg0, jnr.ffi.Pointer arg1) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("tboolseqset_from_base_tstzspanset requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.tboolseqset_from_base_tstzspanset(arg0, arg1); + } + + /** MEOS {@code tbox_to_bigintspan} — meos.h · scalar / stateless. */ + public static jnr.ffi.Pointer tbox_to_bigintspan(jnr.ffi.Pointer arg0) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("tbox_to_bigintspan requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.tbox_to_bigintspan(arg0); + } + + /** MEOS {@code tcbuffer_convex_hull} — meos_cbuffer.h · scalar / stateless. */ + public static jnr.ffi.Pointer tcbuffer_convex_hull(jnr.ffi.Pointer arg0) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("tcbuffer_convex_hull requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.tcbuffer_convex_hull(arg0); + } + + /** MEOS {@code tcbuffer_end_value} — meos_cbuffer.h · scalar / stateless. */ + public static jnr.ffi.Pointer tcbuffer_end_value(jnr.ffi.Pointer arg0) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("tcbuffer_end_value requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.tcbuffer_end_value(arg0); + } + + /** MEOS {@code tcbuffer_from_base_temp} — meos_cbuffer.h · whole-sequence constructor — not a per-event op. */ + public static jnr.ffi.Pointer tcbuffer_from_base_temp(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("tcbuffer_from_base_temp requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.tcbuffer_from_base_temp(arg0, arg1); + } + + /** MEOS {@code tcbuffer_start_value} — meos_cbuffer.h · scalar / stateless. */ + public static jnr.ffi.Pointer tcbuffer_start_value(jnr.ffi.Pointer arg0) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("tcbuffer_start_value requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.tcbuffer_start_value(arg0); + } + + /** MEOS {@code tcbuffer_traversed_area} — meos_cbuffer.h · scalar / stateless. */ + public static jnr.ffi.Pointer tcbuffer_traversed_area(jnr.ffi.Pointer arg0, boolean arg1) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("tcbuffer_traversed_area requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.tcbuffer_traversed_area(arg0, arg1); + } + + /** MEOS {@code tcbuffer_value_at_timestamptz} — meos_cbuffer.h · scalar / stateless. */ + public static boolean tcbuffer_value_at_timestamptz(jnr.ffi.Pointer arg0, java.time.OffsetDateTime arg1, boolean arg2, jnr.ffi.Pointer arg3) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("tcbuffer_value_at_timestamptz requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.tcbuffer_value_at_timestamptz(arg0, arg1, arg2, arg3); + } + + /** MEOS {@code tcbuffer_value_n} — meos_cbuffer.h · scalar / stateless. */ + public static jnr.ffi.Pointer tcbuffer_value_n(jnr.ffi.Pointer arg0, int arg1) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("tcbuffer_value_n requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.tcbuffer_value_n(arg0, arg1); + } + + /** MEOS {@code tcbuffer_values} — meos_cbuffer.h · scalar / stateless. */ + public static jnr.ffi.Pointer tcbuffer_values(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("tcbuffer_values requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.tcbuffer_values(arg0, arg1); + } + + /** MEOS {@code tcbufferinst_make} — meos_cbuffer.h · whole-sequence constructor — not a per-event op. */ + public static jnr.ffi.Pointer tcbufferinst_make(jnr.ffi.Pointer arg0, java.time.OffsetDateTime arg1) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("tcbufferinst_make requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.tcbufferinst_make(arg0, arg1); + } + + /** MEOS {@code tcbufferseq_from_base_tstzset} — meos_cbuffer.h · whole-sequence constructor — not a per-event op. */ + public static jnr.ffi.Pointer tcbufferseq_from_base_tstzset(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("tcbufferseq_from_base_tstzset requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.tcbufferseq_from_base_tstzset(arg0, arg1); + } + + /** MEOS {@code tcbufferseq_from_base_tstzspan} — meos_cbuffer.h · whole-sequence constructor — not a per-event op. */ + public static jnr.ffi.Pointer tcbufferseq_from_base_tstzspan(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1, int arg2) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("tcbufferseq_from_base_tstzspan requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.tcbufferseq_from_base_tstzspan(arg0, arg1, arg2); + } + + /** MEOS {@code tcbufferseqset_from_base_tstzspanset} — meos_cbuffer.h · whole-sequence constructor — not a per-event op. */ + public static jnr.ffi.Pointer tcbufferseqset_from_base_tstzspanset(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1, int arg2) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("tcbufferseqset_from_base_tstzspanset requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.tcbufferseqset_from_base_tstzspanset(arg0, arg1, arg2); + } + + /** MEOS {@code tdistance_tnpoint_geo} — meos_npoint.h · scalar / stateless. */ + public static jnr.ffi.Pointer tdistance_tnpoint_geo(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("tdistance_tnpoint_geo requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.tdistance_tnpoint_geo(arg0, arg1); + } + + /** MEOS {@code tdistance_tpose_geo} — meos_pose.h · scalar / stateless. */ + public static jnr.ffi.Pointer tdistance_tpose_geo(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("tdistance_tpose_geo requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.tdistance_tpose_geo(arg0, arg1); + } + + /** MEOS {@code tdwithin_tgeoarr_tgeoarr} — meos_geo.h · scalar / stateless. */ + public static jnr.ffi.Pointer tdwithin_tgeoarr_tgeoarr(jnr.ffi.Pointer arg0, int arg1, jnr.ffi.Pointer arg2, int arg3, double arg4, jnr.ffi.Pointer arg5, jnr.ffi.Pointer arg6) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("tdwithin_tgeoarr_tgeoarr requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.tdwithin_tgeoarr_tgeoarr(arg0, arg1, arg2, arg3, arg4, arg5, arg6); + } + + /** MEOS {@code temporal_basetype_name} — meos.h · scalar / stateless. */ + public static java.lang.String temporal_basetype_name(jnr.ffi.Pointer arg0) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("temporal_basetype_name requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.temporal_basetype_name(arg0); + } + + /** MEOS {@code temporal_tcount_combinefn} — meos.h · scalar / stateless. */ + public static jnr.ffi.Pointer temporal_tcount_combinefn(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("temporal_tcount_combinefn requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.temporal_tcount_combinefn(arg0, arg1); + } + + /** MEOS {@code tfloat_tmax_combinefn} — meos.h · scalar / stateless. */ + public static jnr.ffi.Pointer tfloat_tmax_combinefn(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("tfloat_tmax_combinefn requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.tfloat_tmax_combinefn(arg0, arg1); + } + + /** MEOS {@code tfloat_tmin_combinefn} — meos.h · scalar / stateless. */ + public static jnr.ffi.Pointer tfloat_tmin_combinefn(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("tfloat_tmin_combinefn requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.tfloat_tmin_combinefn(arg0, arg1); + } + + /** MEOS {@code tfloat_tsum_combinefn} — meos.h · scalar / stateless. */ + public static jnr.ffi.Pointer tfloat_tsum_combinefn(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("tfloat_tsum_combinefn requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.tfloat_tsum_combinefn(arg0, arg1); + } + + /** MEOS {@code tfloatbox_time_tiles} — meos.h · multidimensional tiling (windowed). */ + public static jnr.ffi.Pointer tfloatbox_time_tiles(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1, java.time.OffsetDateTime arg2, jnr.ffi.Pointer arg3) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("tfloatbox_time_tiles requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.tfloatbox_time_tiles(arg0, arg1, arg2, arg3); + } + + /** MEOS {@code tfloatbox_value_tiles} — meos.h · multidimensional tiling (windowed). */ + public static jnr.ffi.Pointer tfloatbox_value_tiles(jnr.ffi.Pointer arg0, double arg1, double arg2, jnr.ffi.Pointer arg3) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("tfloatbox_value_tiles requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.tfloatbox_value_tiles(arg0, arg1, arg2, arg3); + } + + /** MEOS {@code tfloatbox_value_time_tiles} — meos.h · multidimensional tiling (windowed). */ + public static jnr.ffi.Pointer tfloatbox_value_time_tiles(jnr.ffi.Pointer arg0, double arg1, jnr.ffi.Pointer arg2, double arg3, java.time.OffsetDateTime arg4, jnr.ffi.Pointer arg5) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("tfloatbox_value_time_tiles requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.tfloatbox_value_time_tiles(arg0, arg1, arg2, arg3, arg4, arg5); + } + + /** MEOS {@code tfloatseq_from_base_tstzset} — meos.h · whole-sequence constructor — not a per-event op. */ + public static jnr.ffi.Pointer tfloatseq_from_base_tstzset(double arg0, jnr.ffi.Pointer arg1) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("tfloatseq_from_base_tstzset requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.tfloatseq_from_base_tstzset(arg0, arg1); + } + + /** MEOS {@code tfloatseq_from_base_tstzspan} — meos.h · whole-sequence constructor — not a per-event op. */ + public static jnr.ffi.Pointer tfloatseq_from_base_tstzspan(double arg0, jnr.ffi.Pointer arg1, int arg2) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("tfloatseq_from_base_tstzspan requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.tfloatseq_from_base_tstzspan(arg0, arg1, arg2); + } + + /** MEOS {@code tfloatseqset_from_base_tstzspanset} — meos.h · whole-sequence constructor — not a per-event op. */ + public static jnr.ffi.Pointer tfloatseqset_from_base_tstzspanset(double arg0, jnr.ffi.Pointer arg1, int arg2) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("tfloatseqset_from_base_tstzspanset requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.tfloatseqset_from_base_tstzspanset(arg0, arg1, arg2); + } + + /** MEOS {@code tgeoseq_from_base_tstzset} — meos_geo.h · whole-sequence constructor — not a per-event op. */ + public static jnr.ffi.Pointer tgeoseq_from_base_tstzset(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("tgeoseq_from_base_tstzset requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.tgeoseq_from_base_tstzset(arg0, arg1); + } + + /** MEOS {@code tgeoseq_from_base_tstzspan} — meos_geo.h · whole-sequence constructor — not a per-event op. */ + public static jnr.ffi.Pointer tgeoseq_from_base_tstzspan(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1, int arg2) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("tgeoseq_from_base_tstzspan requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.tgeoseq_from_base_tstzspan(arg0, arg1, arg2); + } + + /** MEOS {@code tgeoseqset_from_base_tstzspanset} — meos_geo.h · whole-sequence constructor — not a per-event op. */ + public static jnr.ffi.Pointer tgeoseqset_from_base_tstzspanset(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1, int arg2) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("tgeoseqset_from_base_tstzspanset requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.tgeoseqset_from_base_tstzspanset(arg0, arg1, arg2); + } + + /** MEOS {@code tint_tmax_combinefn} — meos.h · scalar / stateless. */ + public static jnr.ffi.Pointer tint_tmax_combinefn(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("tint_tmax_combinefn requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.tint_tmax_combinefn(arg0, arg1); + } + + /** MEOS {@code tint_tmin_combinefn} — meos.h · scalar / stateless. */ + public static jnr.ffi.Pointer tint_tmin_combinefn(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("tint_tmin_combinefn requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.tint_tmin_combinefn(arg0, arg1); + } + + /** MEOS {@code tint_tsum_combinefn} — meos.h · scalar / stateless. */ + public static jnr.ffi.Pointer tint_tsum_combinefn(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("tint_tsum_combinefn requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.tint_tsum_combinefn(arg0, arg1); + } + + /** MEOS {@code tintbox_time_tiles} — meos.h · multidimensional tiling (windowed). */ + public static jnr.ffi.Pointer tintbox_time_tiles(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1, java.time.OffsetDateTime arg2, jnr.ffi.Pointer arg3) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("tintbox_time_tiles requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.tintbox_time_tiles(arg0, arg1, arg2, arg3); + } + + /** MEOS {@code tintbox_value_tiles} — meos.h · multidimensional tiling (windowed). */ + public static jnr.ffi.Pointer tintbox_value_tiles(jnr.ffi.Pointer arg0, int arg1, int arg2, jnr.ffi.Pointer arg3) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("tintbox_value_tiles requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.tintbox_value_tiles(arg0, arg1, arg2, arg3); + } + + /** MEOS {@code tintbox_value_time_tiles} — meos.h · multidimensional tiling (windowed). */ + public static jnr.ffi.Pointer tintbox_value_time_tiles(jnr.ffi.Pointer arg0, int arg1, jnr.ffi.Pointer arg2, int arg3, java.time.OffsetDateTime arg4, jnr.ffi.Pointer arg5) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("tintbox_value_time_tiles requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.tintbox_value_time_tiles(arg0, arg1, arg2, arg3, arg4, arg5); + } + + /** MEOS {@code tintseq_from_base_tstzset} — meos.h · whole-sequence constructor — not a per-event op. */ + public static jnr.ffi.Pointer tintseq_from_base_tstzset(int arg0, jnr.ffi.Pointer arg1) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("tintseq_from_base_tstzset requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.tintseq_from_base_tstzset(arg0, arg1); + } + + /** MEOS {@code tintseq_from_base_tstzspan} — meos.h · whole-sequence constructor — not a per-event op. */ + public static jnr.ffi.Pointer tintseq_from_base_tstzspan(int arg0, jnr.ffi.Pointer arg1) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("tintseq_from_base_tstzspan requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.tintseq_from_base_tstzspan(arg0, arg1); + } + + /** MEOS {@code tintseqset_from_base_tstzspanset} — meos.h · whole-sequence constructor — not a per-event op. */ + public static jnr.ffi.Pointer tintseqset_from_base_tstzspanset(int arg0, jnr.ffi.Pointer arg1) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("tintseqset_from_base_tstzspanset requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.tintseqset_from_base_tstzspanset(arg0, arg1); + } + + /** MEOS {@code tnot_tbool} — meos.h · scalar / stateless. */ + public static jnr.ffi.Pointer tnot_tbool(jnr.ffi.Pointer arg0) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("tnot_tbool requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.tnot_tbool(arg0); + } + + /** MEOS {@code tnpoint_end_value} — meos_npoint.h · scalar / stateless. */ + public static jnr.ffi.Pointer tnpoint_end_value(jnr.ffi.Pointer arg0) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("tnpoint_end_value requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.tnpoint_end_value(arg0); + } + + /** MEOS {@code tnpoint_from_base_temp} — meos_npoint.h · whole-sequence constructor — not a per-event op. */ + public static jnr.ffi.Pointer tnpoint_from_base_temp(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("tnpoint_from_base_temp requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.tnpoint_from_base_temp(arg0, arg1); + } + + /** MEOS {@code tnpoint_start_value} — meos_npoint.h · scalar / stateless. */ + public static jnr.ffi.Pointer tnpoint_start_value(jnr.ffi.Pointer arg0) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("tnpoint_start_value requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.tnpoint_start_value(arg0); + } + + /** MEOS {@code tnpoint_value_at_timestamptz} — meos_npoint.h · scalar / stateless. */ + public static boolean tnpoint_value_at_timestamptz(jnr.ffi.Pointer arg0, java.time.OffsetDateTime arg1, boolean arg2, jnr.ffi.Pointer arg3) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("tnpoint_value_at_timestamptz requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.tnpoint_value_at_timestamptz(arg0, arg1, arg2, arg3); + } + + /** MEOS {@code tnpoint_value_n} — meos_npoint.h · scalar / stateless. */ + public static jnr.ffi.Pointer tnpoint_value_n(jnr.ffi.Pointer arg0, int arg1) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("tnpoint_value_n requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.tnpoint_value_n(arg0, arg1); + } + + /** MEOS {@code tnpoint_values} — meos_npoint.h · scalar / stateless. */ + public static jnr.ffi.Pointer tnpoint_values(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("tnpoint_values requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.tnpoint_values(arg0, arg1); + } + + /** MEOS {@code tnpointseq_from_base_tstzset} — meos_npoint.h · whole-sequence constructor — not a per-event op. */ + public static jnr.ffi.Pointer tnpointseq_from_base_tstzset(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("tnpointseq_from_base_tstzset requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.tnpointseq_from_base_tstzset(arg0, arg1); + } + + /** MEOS {@code tnpointseq_from_base_tstzspan} — meos_npoint.h · whole-sequence constructor — not a per-event op. */ + public static jnr.ffi.Pointer tnpointseq_from_base_tstzspan(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1, int arg2) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("tnpointseq_from_base_tstzspan requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.tnpointseq_from_base_tstzspan(arg0, arg1, arg2); + } + + /** MEOS {@code tnpointseqset_from_base_tstzspanset} — meos_npoint.h · whole-sequence constructor — not a per-event op. */ + public static jnr.ffi.Pointer tnpointseqset_from_base_tstzspanset(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1, int arg2) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("tnpointseqset_from_base_tstzspanset requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.tnpointseqset_from_base_tstzspanset(arg0, arg1, arg2); + } + + /** MEOS {@code tnumber_tavg_combinefn} — meos.h · scalar / stateless. */ + public static jnr.ffi.Pointer tnumber_tavg_combinefn(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("tnumber_tavg_combinefn requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.tnumber_tavg_combinefn(arg0, arg1); + } + + /** MEOS {@code tor_bool_tbool} — meos.h · scalar / stateless. */ + public static jnr.ffi.Pointer tor_bool_tbool(boolean arg0, jnr.ffi.Pointer arg1) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("tor_bool_tbool requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.tor_bool_tbool(arg0, arg1); + } + + /** MEOS {@code tor_tbool_bool} — meos.h · scalar / stateless. */ + public static jnr.ffi.Pointer tor_tbool_bool(jnr.ffi.Pointer arg0, boolean arg1) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("tor_tbool_bool requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.tor_tbool_bool(arg0, arg1); + } + + /** MEOS {@code tor_tbool_tbool} — meos.h · scalar / stateless. */ + public static jnr.ffi.Pointer tor_tbool_tbool(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("tor_tbool_tbool requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.tor_tbool_tbool(arg0, arg1); + } + + /** MEOS {@code tpointseq_from_base_tstzset} — meos_geo.h · whole-sequence constructor — not a per-event op. */ + public static jnr.ffi.Pointer tpointseq_from_base_tstzset(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("tpointseq_from_base_tstzset requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.tpointseq_from_base_tstzset(arg0, arg1); + } + + /** MEOS {@code tpointseq_from_base_tstzspan} — meos_geo.h · whole-sequence constructor — not a per-event op. */ + public static jnr.ffi.Pointer tpointseq_from_base_tstzspan(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1, int arg2) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("tpointseq_from_base_tstzspan requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.tpointseq_from_base_tstzspan(arg0, arg1, arg2); + } + + /** MEOS {@code tpointseq_make_coords} — meos_geo.h · whole-sequence constructor — not a per-event op. */ + public static jnr.ffi.Pointer tpointseq_make_coords(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1, jnr.ffi.Pointer arg2, jnr.ffi.Pointer arg3, int arg4, int arg5, boolean arg6, boolean arg7, boolean arg8, int arg9, boolean arg10) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("tpointseq_make_coords requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.tpointseq_make_coords(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10); + } + + /** MEOS {@code tpointseqset_from_base_tstzspanset} — meos_geo.h · whole-sequence constructor — not a per-event op. */ + public static jnr.ffi.Pointer tpointseqset_from_base_tstzspanset(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1, int arg2) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("tpointseqset_from_base_tstzspanset requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.tpointseqset_from_base_tstzspanset(arg0, arg1, arg2); + } + + /** MEOS {@code tpose_angular_speed} — meos_pose.h · scalar / stateless. */ + public static jnr.ffi.Pointer tpose_angular_speed(jnr.ffi.Pointer arg0) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("tpose_angular_speed requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.tpose_angular_speed(arg0); + } + + /** MEOS {@code tpose_apply_geo} — meos_pose.h · scalar / stateless. */ + public static jnr.ffi.Pointer tpose_apply_geo(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("tpose_apply_geo requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.tpose_apply_geo(arg0, arg1); + } + + /** MEOS {@code tpose_as_geopose} — meos_pose.h · scalar / stateless. */ + public static java.lang.String tpose_as_geopose(jnr.ffi.Pointer arg0, int arg1, int arg2) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("tpose_as_geopose requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.tpose_as_geopose(arg0, arg1, arg2); + } + + /** MEOS {@code tpose_from_base_temp} — meos_pose.h · whole-sequence constructor — not a per-event op. */ + public static jnr.ffi.Pointer tpose_from_base_temp(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("tpose_from_base_temp requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.tpose_from_base_temp(arg0, arg1); + } + + /** MEOS {@code tpose_from_geopose} — meos_pose.h · scalar / stateless. */ + public static jnr.ffi.Pointer tpose_from_geopose(java.lang.String arg0) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("tpose_from_geopose requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.tpose_from_geopose(arg0); + } + + /** MEOS {@code tpose_from_mfjson} — meos_pose.h · scalar / stateless. */ + public static jnr.ffi.Pointer tpose_from_mfjson(java.lang.String arg0) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("tpose_from_mfjson requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.tpose_from_mfjson(arg0); + } + + /** MEOS {@code tpose_pitch} — meos_pose.h · scalar / stateless. */ + public static jnr.ffi.Pointer tpose_pitch(jnr.ffi.Pointer arg0) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("tpose_pitch requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.tpose_pitch(arg0); + } + + /** MEOS {@code tpose_roll} — meos_pose.h · scalar / stateless. */ + public static jnr.ffi.Pointer tpose_roll(jnr.ffi.Pointer arg0) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("tpose_roll requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.tpose_roll(arg0); + } + + /** MEOS {@code tpose_speed} — meos_pose.h · scalar / stateless. */ + public static jnr.ffi.Pointer tpose_speed(jnr.ffi.Pointer arg0) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("tpose_speed requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.tpose_speed(arg0); + } + + /** MEOS {@code tpose_yaw} — meos_pose.h · scalar / stateless. */ + public static jnr.ffi.Pointer tpose_yaw(jnr.ffi.Pointer arg0) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("tpose_yaw requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.tpose_yaw(arg0); + } + + /** MEOS {@code tposeinst_make} — meos_pose.h · whole-sequence constructor — not a per-event op. */ + public static jnr.ffi.Pointer tposeinst_make(jnr.ffi.Pointer arg0, java.time.OffsetDateTime arg1) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("tposeinst_make requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.tposeinst_make(arg0, arg1); + } + + /** MEOS {@code tposeseq_from_base_tstzset} — meos_pose.h · whole-sequence constructor — not a per-event op. */ + public static jnr.ffi.Pointer tposeseq_from_base_tstzset(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("tposeseq_from_base_tstzset requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.tposeseq_from_base_tstzset(arg0, arg1); + } + + /** MEOS {@code tposeseq_from_base_tstzspan} — meos_pose.h · whole-sequence constructor — not a per-event op. */ + public static jnr.ffi.Pointer tposeseq_from_base_tstzspan(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1, int arg2) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("tposeseq_from_base_tstzspan requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.tposeseq_from_base_tstzspan(arg0, arg1, arg2); + } + + /** MEOS {@code tposeseqset_from_base_tstzspanset} — meos_pose.h · whole-sequence constructor — not a per-event op. */ + public static jnr.ffi.Pointer tposeseqset_from_base_tstzspanset(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1, int arg2) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("tposeseqset_from_base_tstzspanset requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.tposeseqset_from_base_tstzspanset(arg0, arg1, arg2); + } + + /** MEOS {@code trgeometry_at_geom} — meos_rgeo.h · scalar / stateless. */ + public static jnr.ffi.Pointer trgeometry_at_geom(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("trgeometry_at_geom requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.trgeometry_at_geom(arg0, arg1); + } + + /** MEOS {@code trgeometry_at_stbox} — meos_rgeo.h · scalar / stateless. */ + public static jnr.ffi.Pointer trgeometry_at_stbox(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1, boolean arg2) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("trgeometry_at_stbox requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.trgeometry_at_stbox(arg0, arg1, arg2); + } + + /** MEOS {@code trgeometry_body_point_trajectory} — meos_rgeo.h · scalar / stateless. */ + public static jnr.ffi.Pointer trgeometry_body_point_trajectory(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("trgeometry_body_point_trajectory requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.trgeometry_body_point_trajectory(arg0, arg1); + } + + /** MEOS {@code trgeometry_centroid} — meos_rgeo.h · scalar / stateless. */ + public static jnr.ffi.Pointer trgeometry_centroid(jnr.ffi.Pointer arg0) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("trgeometry_centroid requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.trgeometry_centroid(arg0); + } + + /** MEOS {@code trgeometry_convex_hull} — meos_rgeo.h · scalar / stateless. */ + public static jnr.ffi.Pointer trgeometry_convex_hull(jnr.ffi.Pointer arg0) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("trgeometry_convex_hull requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.trgeometry_convex_hull(arg0); + } + + /** MEOS {@code trgeometry_cumulative_length} — meos_rgeo.h · scalar / stateless. */ + public static jnr.ffi.Pointer trgeometry_cumulative_length(jnr.ffi.Pointer arg0) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("trgeometry_cumulative_length requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.trgeometry_cumulative_length(arg0); + } + + /** MEOS {@code trgeometry_dyntimewarp_distance} — meos_rgeo.h · scalar / stateless. */ + public static double trgeometry_dyntimewarp_distance(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("trgeometry_dyntimewarp_distance requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.trgeometry_dyntimewarp_distance(arg0, arg1); + } + + /** MEOS {@code trgeometry_dyntimewarp_path} — meos_rgeo.h · scalar / stateless. */ + public static jnr.ffi.Pointer trgeometry_dyntimewarp_path(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1, jnr.ffi.Pointer arg2) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("trgeometry_dyntimewarp_path requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.trgeometry_dyntimewarp_path(arg0, arg1, arg2); + } + + /** MEOS {@code trgeometry_frechet_distance} — meos_rgeo.h · scalar / stateless. */ + public static double trgeometry_frechet_distance(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("trgeometry_frechet_distance requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.trgeometry_frechet_distance(arg0, arg1); + } + + /** MEOS {@code trgeometry_frechet_path} — meos_rgeo.h · scalar / stateless. */ + public static jnr.ffi.Pointer trgeometry_frechet_path(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1, jnr.ffi.Pointer arg2) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("trgeometry_frechet_path requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.trgeometry_frechet_path(arg0, arg1, arg2); + } + + /** MEOS {@code trgeometry_hausdorff_distance} — meos_rgeo.h · scalar / stateless. */ + public static double trgeometry_hausdorff_distance(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("trgeometry_hausdorff_distance requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.trgeometry_hausdorff_distance(arg0, arg1); + } + + /** MEOS {@code trgeometry_length} — meos_rgeo.h · scalar / stateless. */ + public static double trgeometry_length(jnr.ffi.Pointer arg0) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("trgeometry_length requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.trgeometry_length(arg0); + } + + /** MEOS {@code trgeometry_minus_geom} — meos_rgeo.h · scalar / stateless. */ + public static jnr.ffi.Pointer trgeometry_minus_geom(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("trgeometry_minus_geom requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.trgeometry_minus_geom(arg0, arg1); + } + + /** MEOS {@code trgeometry_minus_stbox} — meos_rgeo.h · scalar / stateless. */ + public static jnr.ffi.Pointer trgeometry_minus_stbox(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1, boolean arg2) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("trgeometry_minus_stbox requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.trgeometry_minus_stbox(arg0, arg1, arg2); + } + + /** MEOS {@code trgeometry_space_boxes} — meos_rgeo.h · scalar / stateless. */ + public static jnr.ffi.Pointer trgeometry_space_boxes(jnr.ffi.Pointer arg0, double arg1, double arg2, double arg3, jnr.ffi.Pointer arg4, boolean arg5, boolean arg6, jnr.ffi.Pointer arg7) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("trgeometry_space_boxes requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.trgeometry_space_boxes(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7); + } + + /** MEOS {@code trgeometry_space_time_boxes} — meos_rgeo.h · scalar / stateless. */ + public static jnr.ffi.Pointer trgeometry_space_time_boxes(jnr.ffi.Pointer arg0, double arg1, double arg2, double arg3, jnr.ffi.Pointer arg4, jnr.ffi.Pointer arg5, java.time.OffsetDateTime arg6, boolean arg7, boolean arg8, jnr.ffi.Pointer arg9) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("trgeometry_space_time_boxes requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.trgeometry_space_time_boxes(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9); + } + + /** MEOS {@code trgeometry_speed} — meos_rgeo.h · scalar / stateless. */ + public static jnr.ffi.Pointer trgeometry_speed(jnr.ffi.Pointer arg0) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("trgeometry_speed requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.trgeometry_speed(arg0); + } + + /** MEOS {@code trgeometry_split_each_n_stboxes} — meos_rgeo.h · scalar / stateless. */ + public static jnr.ffi.Pointer trgeometry_split_each_n_stboxes(jnr.ffi.Pointer arg0, int arg1, jnr.ffi.Pointer arg2) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("trgeometry_split_each_n_stboxes requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.trgeometry_split_each_n_stboxes(arg0, arg1, arg2); + } + + /** MEOS {@code trgeometry_split_n_stboxes} — meos_rgeo.h · scalar / stateless. */ + public static jnr.ffi.Pointer trgeometry_split_n_stboxes(jnr.ffi.Pointer arg0, int arg1, jnr.ffi.Pointer arg2) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("trgeometry_split_n_stboxes requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.trgeometry_split_n_stboxes(arg0, arg1, arg2); + } + + /** MEOS {@code trgeometry_stboxes} — meos_rgeo.h · scalar / stateless. */ + public static jnr.ffi.Pointer trgeometry_stboxes(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("trgeometry_stboxes requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.trgeometry_stboxes(arg0, arg1); + } + + /** MEOS {@code trgeometry_to_tgeometry} — meos_rgeo.h · scalar / stateless. */ + public static jnr.ffi.Pointer trgeometry_to_tgeometry(jnr.ffi.Pointer arg0) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("trgeometry_to_tgeometry requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.trgeometry_to_tgeometry(arg0); + } + + /** MEOS {@code trgeometry_twcentroid} — meos_rgeo.h · scalar / stateless. */ + public static jnr.ffi.Pointer trgeometry_twcentroid(jnr.ffi.Pointer arg0) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("trgeometry_twcentroid requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.trgeometry_twcentroid(arg0); + } + + /** MEOS {@code tsequence_make} — meos.h · whole-sequence constructor — not a per-event op. */ + public static jnr.ffi.Pointer tsequence_make(jnr.ffi.Pointer arg0, int arg1, boolean arg2, boolean arg3, int arg4, boolean arg5) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("tsequence_make requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.tsequence_make(arg0, arg1, arg2, arg3, arg4, arg5); + } + + /** MEOS {@code tsequenceset_make} — meos.h · whole-sequence constructor — not a per-event op. */ + public static jnr.ffi.Pointer tsequenceset_make(jnr.ffi.Pointer arg0, int arg1, boolean arg2) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("tsequenceset_make requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.tsequenceset_make(arg0, arg1, arg2); + } + + /** MEOS {@code ttext_tmax_combinefn} — meos.h · scalar / stateless. */ + public static jnr.ffi.Pointer ttext_tmax_combinefn(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("ttext_tmax_combinefn requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.ttext_tmax_combinefn(arg0, arg1); + } + + /** MEOS {@code ttext_tmin_combinefn} — meos.h · scalar / stateless. */ + public static jnr.ffi.Pointer ttext_tmin_combinefn(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("ttext_tmin_combinefn requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.ttext_tmin_combinefn(arg0, arg1); + } + + /** MEOS {@code ttextseq_from_base_tstzset} — meos.h · whole-sequence constructor — not a per-event op. */ + public static jnr.ffi.Pointer ttextseq_from_base_tstzset(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("ttextseq_from_base_tstzset requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.ttextseq_from_base_tstzset(arg0, arg1); + } + + /** MEOS {@code ttextseq_from_base_tstzspan} — meos.h · whole-sequence constructor — not a per-event op. */ + public static jnr.ffi.Pointer ttextseq_from_base_tstzspan(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("ttextseq_from_base_tstzspan requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.ttextseq_from_base_tstzspan(arg0, arg1); + } + + /** MEOS {@code ttextseqset_from_base_tstzspanset} — meos.h · whole-sequence constructor — not a per-event op. */ + public static jnr.ffi.Pointer ttextseqset_from_base_tstzspanset(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("ttextseqset_from_base_tstzspanset requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.ttextseqset_from_base_tstzspanset(arg0, arg1); + } + + /** MEOS {@code union_cbuffer_set} — meos_cbuffer.h · scalar / stateless. */ + public static jnr.ffi.Pointer union_cbuffer_set(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("union_cbuffer_set requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.union_cbuffer_set(arg0, arg1); + } + + /** MEOS {@code union_npoint_set} — meos_npoint.h · scalar / stateless. */ + public static jnr.ffi.Pointer union_npoint_set(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("union_npoint_set requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.union_npoint_set(arg0, arg1); + } + + /** MEOS {@code union_pose_set} — meos_pose.h · scalar / stateless. */ + public static jnr.ffi.Pointer union_pose_set(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("union_pose_set requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.union_pose_set(arg0, arg1); + } + +} diff --git a/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsPoseSet.java b/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsPoseSet.java new file mode 100644 index 00000000..dfd4078f --- /dev/null +++ b/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsPoseSet.java @@ -0,0 +1,141 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2020-2026, Université libre de Bruxelles and MobilityDB + * contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +package org.mobilitydb.meos; + +/* AUTO-GENERATED by codegen_flink_v3.py — do not edit by hand. + * MEOS object-model class: PoseSet + * Methods emitted: 7 (bounded-state=4 · io-meta=2 · stateless=1) + * Source: JMEOS jar (PR #15 / regen-against-meos-1.4) ∩ streaming-relevance baseline v4. + */ + +import functions.GeneratedFunctions; +import jnr.ffi.Pointer; + +public final class MeosOpsPoseSet { + + public static final boolean MEOS_AVAILABLE = MeosOpsRuntime.MEOS_AVAILABLE; + + private MeosOpsPoseSet() { /* utility */ } + + /** + * MEOS {@code poseset_make} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Object-model role: {@code constructor}.

+ *

Classification: constructor of instant/scalar

+ */ + public static jnr.ffi.Pointer poseset_make(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "poseset_make requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.poseset_make(arg0, arg1); + } + + /** + * MEOS {@code poseset_end_value} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer poseset_end_value(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "poseset_end_value requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.poseset_end_value(arg0); + } + + /** + * MEOS {@code poseset_start_value} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer poseset_start_value(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "poseset_start_value requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.poseset_start_value(arg0); + } + + /** + * MEOS {@code poseset_value_n} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer poseset_value_n(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "poseset_value_n requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.poseset_value_n(arg0, arg1); + } + + /** + * MEOS {@code poseset_values} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer poseset_values(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "poseset_values requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.poseset_values(arg0, arg1); + } + + /** + * MEOS {@code poseset_in} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Object-model role: {@code constructor}.

+ *

Classification: IO/serialization

+ */ + public static jnr.ffi.Pointer poseset_in(java.lang.String arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "poseset_in requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.poseset_in(arg0); + } + + /** + * MEOS {@code poseset_out} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Object-model role: {@code output}.

+ *

Classification: IO/serialization

+ */ + public static java.lang.String poseset_out(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "poseset_out requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.poseset_out(arg0, arg1); + } + +} diff --git a/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsRuntime.java b/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsRuntime.java new file mode 100644 index 00000000..395a336d --- /dev/null +++ b/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsRuntime.java @@ -0,0 +1,54 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2020-2026, Université libre de Bruxelles and MobilityDB + * contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +package org.mobilitydb.meos; + +import functions.GeneratedFunctions; + +/* AUTO-GENERATED by codegen_flink_v3.py — do not edit by hand. + * Shared runtime helper: owns the single MEOS_AVAILABLE static-init across + * all generated MeosOps* facades, so libmeos is probed exactly once per + * JVM rather than 82 times. */ +final class MeosOpsRuntime { + + static final boolean MEOS_AVAILABLE; + + static { + boolean enabled = Boolean.parseBoolean( + System.getProperty("meos.enabled", "true")); + boolean ok = false; + if (enabled) { + try { + GeneratedFunctions.meos_initialize(); + ok = true; + } catch (Throwable t) { + ok = false; + } + } + MEOS_AVAILABLE = ok; + } + + private MeosOpsRuntime() { /* utility */ } +} diff --git a/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsSTBox.java b/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsSTBox.java new file mode 100644 index 00000000..4d9ac323 --- /dev/null +++ b/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsSTBox.java @@ -0,0 +1,799 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2020-2026, Université libre de Bruxelles and MobilityDB + * contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +package org.mobilitydb.meos; + +/* AUTO-GENERATED by codegen_flink_v3.py — do not edit by hand. + * MEOS object-model class: STBox + * Methods emitted: 54 (bounded-state=42 · io-meta=6 · stateless=6) + * Source: JMEOS jar (PR #15 / regen-against-meos-1.4) ∩ streaming-relevance baseline v4. + */ + +import functions.GeneratedFunctions; +import jnr.ffi.Pointer; + +public final class MeosOpsSTBox { + + public static final boolean MEOS_AVAILABLE = MeosOpsRuntime.MEOS_AVAILABLE; + + private MeosOpsSTBox() { /* utility */ } + + /** + * MEOS {@code stbox_copy} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Object-model role: {@code constructor}.

+ *

Classification: constructor of instant/scalar

+ */ + public static jnr.ffi.Pointer stbox_copy(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "stbox_copy requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.stbox_copy(arg0); + } + + /** + * MEOS {@code stbox_make} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Object-model role: {@code constructor}.

+ *

Classification: constructor of instant/scalar

+ */ + public static jnr.ffi.Pointer stbox_make(boolean arg0, boolean arg1, boolean arg2, int arg3, double arg4, double arg5, double arg6, double arg7, double arg8, double arg9, jnr.ffi.Pointer arg10) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "stbox_make requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.stbox_make(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10); + } + + /** + * MEOS {@code stbox_to_box3d} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Object-model role: {@code conversion}.

+ *

Classification: role=conversion

+ */ + public static jnr.ffi.Pointer stbox_to_box3d(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "stbox_to_box3d requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.stbox_to_box3d(arg0); + } + + /** + * MEOS {@code stbox_to_gbox} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Object-model role: {@code conversion}.

+ *

Classification: role=conversion

+ */ + public static jnr.ffi.Pointer stbox_to_gbox(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "stbox_to_gbox requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.stbox_to_gbox(arg0); + } + + /** + * MEOS {@code stbox_to_geo} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Object-model role: {@code conversion}.

+ *

Classification: role=conversion

+ */ + public static jnr.ffi.Pointer stbox_to_geo(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "stbox_to_geo requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.stbox_to_geo(arg0); + } + + /** + * MEOS {@code stbox_to_tstzspan} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Object-model role: {@code conversion}.

+ *

Classification: role=conversion

+ */ + public static jnr.ffi.Pointer stbox_to_tstzspan(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "stbox_to_tstzspan requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.stbox_to_tstzspan(arg0); + } + + /** + * MEOS {@code stbox_area} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static double stbox_area(jnr.ffi.Pointer arg0, boolean arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "stbox_area requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.stbox_area(arg0, arg1); + } + + /** + * MEOS {@code stbox_cmp} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code predicate}.

+ *

Classification: predicate on 1 temporal

+ */ + public static int stbox_cmp(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "stbox_cmp requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.stbox_cmp(arg0, arg1); + } + + /** + * MEOS {@code stbox_eq} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code predicate}.

+ *

Classification: predicate on 1 temporal

+ */ + public static boolean stbox_eq(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "stbox_eq requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.stbox_eq(arg0, arg1); + } + + /** + * MEOS {@code stbox_expand_space} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer stbox_expand_space(jnr.ffi.Pointer arg0, double arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "stbox_expand_space requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.stbox_expand_space(arg0, arg1); + } + + /** + * MEOS {@code stbox_expand_time} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer stbox_expand_time(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "stbox_expand_time requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.stbox_expand_time(arg0, arg1); + } + + /** + * MEOS {@code stbox_ge} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code predicate}.

+ *

Classification: predicate on 1 temporal

+ */ + public static boolean stbox_ge(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "stbox_ge requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.stbox_ge(arg0, arg1); + } + + /** + * MEOS {@code stbox_get_space} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer stbox_get_space(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "stbox_get_space requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.stbox_get_space(arg0); + } + + /** + * MEOS {@code stbox_get_space_tile} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer stbox_get_space_tile(jnr.ffi.Pointer arg0, double arg1, double arg2, double arg3, jnr.ffi.Pointer arg4) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "stbox_get_space_tile requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.stbox_get_space_tile(arg0, arg1, arg2, arg3, arg4); + } + + /** + * MEOS {@code stbox_get_space_time_tile} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer stbox_get_space_time_tile(jnr.ffi.Pointer arg0, java.time.OffsetDateTime arg1, double arg2, double arg3, double arg4, jnr.ffi.Pointer arg5, jnr.ffi.Pointer arg6, java.time.OffsetDateTime arg7) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "stbox_get_space_time_tile requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.stbox_get_space_time_tile(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7); + } + + /** + * MEOS {@code stbox_get_time_tile} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer stbox_get_time_tile(java.time.OffsetDateTime arg0, jnr.ffi.Pointer arg1, java.time.OffsetDateTime arg2) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "stbox_get_time_tile requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.stbox_get_time_tile(arg0, arg1, arg2); + } + + /** + * MEOS {@code stbox_gt} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code predicate}.

+ *

Classification: predicate on 1 temporal

+ */ + public static boolean stbox_gt(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "stbox_gt requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.stbox_gt(arg0, arg1); + } + + /** + * MEOS {@code stbox_hash} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static int stbox_hash(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "stbox_hash requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.stbox_hash(arg0); + } + + /** + * MEOS {@code stbox_hash_extended} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static long stbox_hash_extended(jnr.ffi.Pointer arg0, long arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "stbox_hash_extended requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.stbox_hash_extended(arg0, arg1); + } + + /** + * MEOS {@code stbox_hast} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static boolean stbox_hast(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "stbox_hast requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.stbox_hast(arg0); + } + + /** + * MEOS {@code stbox_hasx} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static boolean stbox_hasx(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "stbox_hasx requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.stbox_hasx(arg0); + } + + /** + * MEOS {@code stbox_hasz} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static boolean stbox_hasz(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "stbox_hasz requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.stbox_hasz(arg0); + } + + /** + * MEOS {@code stbox_isgeodetic} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static boolean stbox_isgeodetic(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "stbox_isgeodetic requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.stbox_isgeodetic(arg0); + } + + /** + * MEOS {@code stbox_le} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code predicate}.

+ *

Classification: predicate on 1 temporal

+ */ + public static boolean stbox_le(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "stbox_le requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.stbox_le(arg0, arg1); + } + + /** + * MEOS {@code stbox_lt} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code predicate}.

+ *

Classification: predicate on 1 temporal

+ */ + public static boolean stbox_lt(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "stbox_lt requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.stbox_lt(arg0, arg1); + } + + /** + * MEOS {@code stbox_ne} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code predicate}.

+ *

Classification: predicate on 1 temporal

+ */ + public static boolean stbox_ne(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "stbox_ne requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.stbox_ne(arg0, arg1); + } + + /** + * MEOS {@code stbox_perimeter} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static double stbox_perimeter(jnr.ffi.Pointer arg0, boolean arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "stbox_perimeter requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.stbox_perimeter(arg0, arg1); + } + + /** + * MEOS {@code stbox_quad_split} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer stbox_quad_split(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "stbox_quad_split requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.stbox_quad_split(arg0, arg1); + } + + /** + * MEOS {@code stbox_round} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer stbox_round(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "stbox_round requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.stbox_round(arg0, arg1); + } + + /** + * MEOS {@code stbox_set_srid} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer stbox_set_srid(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "stbox_set_srid requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.stbox_set_srid(arg0, arg1); + } + + /** + * MEOS {@code stbox_shift_scale_time} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer stbox_shift_scale_time(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1, jnr.ffi.Pointer arg2) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "stbox_shift_scale_time requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.stbox_shift_scale_time(arg0, arg1, arg2); + } + + /** + * MEOS {@code stbox_space_tiles} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer stbox_space_tiles(jnr.ffi.Pointer arg0, double arg1, double arg2, double arg3, jnr.ffi.Pointer arg4, boolean arg5, jnr.ffi.Pointer arg6) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "stbox_space_tiles requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.stbox_space_tiles(arg0, arg1, arg2, arg3, arg4, arg5, arg6); + } + + /** + * MEOS {@code stbox_space_time_tiles} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer stbox_space_time_tiles(jnr.ffi.Pointer arg0, double arg1, double arg2, double arg3, jnr.ffi.Pointer arg4, jnr.ffi.Pointer arg5, java.time.OffsetDateTime arg6, boolean arg7, jnr.ffi.Pointer arg8) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "stbox_space_time_tiles requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.stbox_space_time_tiles(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8); + } + + /** + * MEOS {@code stbox_srid} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static int stbox_srid(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "stbox_srid requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.stbox_srid(arg0); + } + + /** + * MEOS {@code stbox_time_tiles} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer stbox_time_tiles(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1, java.time.OffsetDateTime arg2, boolean arg3, jnr.ffi.Pointer arg4) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "stbox_time_tiles requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.stbox_time_tiles(arg0, arg1, arg2, arg3, arg4); + } + + /** + * MEOS {@code stbox_tmax} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer stbox_tmax(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "stbox_tmax requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.stbox_tmax(arg0); + } + + /** + * MEOS {@code stbox_tmax_inc} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer stbox_tmax_inc(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "stbox_tmax_inc requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.stbox_tmax_inc(arg0); + } + + /** + * MEOS {@code stbox_tmin} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer stbox_tmin(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "stbox_tmin requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.stbox_tmin(arg0); + } + + /** + * MEOS {@code stbox_tmin_inc} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer stbox_tmin_inc(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "stbox_tmin_inc requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.stbox_tmin_inc(arg0); + } + + /** + * MEOS {@code stbox_transform} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer stbox_transform(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "stbox_transform requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.stbox_transform(arg0, arg1); + } + + /** + * MEOS {@code stbox_transform_pipeline} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer stbox_transform_pipeline(jnr.ffi.Pointer arg0, java.lang.String arg1, int arg2, boolean arg3) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "stbox_transform_pipeline requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.stbox_transform_pipeline(arg0, arg1, arg2, arg3); + } + + /** + * MEOS {@code stbox_volume} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static double stbox_volume(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "stbox_volume requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.stbox_volume(arg0); + } + + /** + * MEOS {@code stbox_xmax} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer stbox_xmax(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "stbox_xmax requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.stbox_xmax(arg0); + } + + /** + * MEOS {@code stbox_xmin} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer stbox_xmin(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "stbox_xmin requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.stbox_xmin(arg0); + } + + /** + * MEOS {@code stbox_ymax} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer stbox_ymax(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "stbox_ymax requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.stbox_ymax(arg0); + } + + /** + * MEOS {@code stbox_ymin} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer stbox_ymin(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "stbox_ymin requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.stbox_ymin(arg0); + } + + /** + * MEOS {@code stbox_zmax} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer stbox_zmax(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "stbox_zmax requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.stbox_zmax(arg0); + } + + /** + * MEOS {@code stbox_zmin} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer stbox_zmin(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "stbox_zmin requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.stbox_zmin(arg0); + } + + /** + * MEOS {@code stbox_as_hexwkb} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Object-model role: {@code output}.

+ *

Classification: IO/serialization

+ */ + public static java.lang.String stbox_as_hexwkb(jnr.ffi.Pointer arg0, byte arg1, jnr.ffi.Pointer arg2) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "stbox_as_hexwkb requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.stbox_as_hexwkb(arg0, arg1, arg2); + } + + /** + * MEOS {@code stbox_as_wkb} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Object-model role: {@code output}.

+ *

Classification: IO/serialization

+ */ + public static jnr.ffi.Pointer stbox_as_wkb(jnr.ffi.Pointer arg0, byte arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "stbox_as_wkb requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.stbox_as_wkb(arg0, arg1); + } + + /** + * MEOS {@code stbox_from_hexwkb} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Object-model role: {@code constructor}.

+ *

Classification: IO/serialization

+ */ + public static jnr.ffi.Pointer stbox_from_hexwkb(java.lang.String arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "stbox_from_hexwkb requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.stbox_from_hexwkb(arg0); + } + + /** + * MEOS {@code stbox_from_wkb} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Object-model role: {@code constructor}.

+ *

Classification: IO/serialization

+ */ + public static jnr.ffi.Pointer stbox_from_wkb(jnr.ffi.Pointer arg0, long arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "stbox_from_wkb requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.stbox_from_wkb(arg0, arg1); + } + + /** + * MEOS {@code stbox_in} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Object-model role: {@code constructor}.

+ *

Classification: IO/serialization

+ */ + public static jnr.ffi.Pointer stbox_in(java.lang.String arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "stbox_in requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.stbox_in(arg0); + } + + /** + * MEOS {@code stbox_out} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Object-model role: {@code output}.

+ *

Classification: IO/serialization

+ */ + public static java.lang.String stbox_out(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "stbox_out requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.stbox_out(arg0, arg1); + } + +} diff --git a/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsSet.java b/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsSet.java new file mode 100644 index 00000000..2e778fd7 --- /dev/null +++ b/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsSet.java @@ -0,0 +1,393 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2020-2026, Université libre de Bruxelles and MobilityDB + * contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +package org.mobilitydb.meos; + +/* AUTO-GENERATED by codegen_flink_v3.py — do not edit by hand. + * MEOS object-model class: Set + * Methods emitted: 25 (bounded-state=14 · io-meta=4 · stateless=4 · windowed=3) + * Source: JMEOS jar (PR #15 / regen-against-meos-1.4) ∩ streaming-relevance baseline v4. + */ + +import functions.GeneratedFunctions; +import jnr.ffi.Pointer; + +public final class MeosOpsSet { + + public static final boolean MEOS_AVAILABLE = MeosOpsRuntime.MEOS_AVAILABLE; + + private MeosOpsSet() { /* utility */ } + + /** + * MEOS {@code set_copy} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Object-model role: {@code constructor}.

+ *

Classification: constructor of instant/scalar

+ */ + public static jnr.ffi.Pointer set_copy(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "set_copy requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.set_copy(arg0); + } + + /** + * MEOS {@code set_to_span} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Object-model role: {@code conversion}.

+ *

Classification: role=conversion

+ */ + public static jnr.ffi.Pointer set_to_span(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "set_to_span requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.set_to_span(arg0); + } + + /** + * MEOS {@code set_to_spanset} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Object-model role: {@code conversion}.

+ *

Classification: role=conversion

+ */ + public static jnr.ffi.Pointer set_to_spanset(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "set_to_spanset requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.set_to_spanset(arg0); + } + + /** + * MEOS {@code set_to_tbox} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Object-model role: {@code conversion}.

+ *

Classification: role=conversion

+ */ + public static jnr.ffi.Pointer set_to_tbox(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "set_to_tbox requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.set_to_tbox(arg0); + } + + /** + * MEOS {@code set_cmp} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code predicate}.

+ *

Classification: predicate on 1 temporal

+ */ + public static int set_cmp(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "set_cmp requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.set_cmp(arg0, arg1); + } + + /** + * MEOS {@code set_eq} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code predicate}.

+ *

Classification: predicate on 1 temporal

+ */ + public static boolean set_eq(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "set_eq requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.set_eq(arg0, arg1); + } + + /** + * MEOS {@code set_ge} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code predicate}.

+ *

Classification: predicate on 1 temporal

+ */ + public static boolean set_ge(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "set_ge requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.set_ge(arg0, arg1); + } + + /** + * MEOS {@code set_gt} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code predicate}.

+ *

Classification: predicate on 1 temporal

+ */ + public static boolean set_gt(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "set_gt requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.set_gt(arg0, arg1); + } + + /** + * MEOS {@code set_hash} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static int set_hash(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "set_hash requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.set_hash(arg0); + } + + /** + * MEOS {@code set_hash_extended} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static long set_hash_extended(jnr.ffi.Pointer arg0, long arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "set_hash_extended requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.set_hash_extended(arg0, arg1); + } + + /** + * MEOS {@code set_le} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code predicate}.

+ *

Classification: predicate on 1 temporal

+ */ + public static boolean set_le(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "set_le requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.set_le(arg0, arg1); + } + + /** + * MEOS {@code set_lt} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code predicate}.

+ *

Classification: predicate on 1 temporal

+ */ + public static boolean set_lt(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "set_lt requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.set_lt(arg0, arg1); + } + + /** + * MEOS {@code set_ne} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code predicate}.

+ *

Classification: predicate on 1 temporal

+ */ + public static boolean set_ne(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "set_ne requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.set_ne(arg0, arg1); + } + + /** + * MEOS {@code set_num_values} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static int set_num_values(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "set_num_values requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.set_num_values(arg0); + } + + /** + * MEOS {@code set_round} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer set_round(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "set_round requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.set_round(arg0, arg1); + } + + /** + * MEOS {@code set_spans} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer set_spans(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "set_spans requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.set_spans(arg0, arg1); + } + + /** + * MEOS {@code set_split_each_n_spans} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer set_split_each_n_spans(jnr.ffi.Pointer arg0, int arg1, jnr.ffi.Pointer arg2) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "set_split_each_n_spans requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.set_split_each_n_spans(arg0, arg1, arg2); + } + + /** + * MEOS {@code set_split_n_spans} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer set_split_n_spans(jnr.ffi.Pointer arg0, int arg1, jnr.ffi.Pointer arg2) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "set_split_n_spans requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.set_split_n_spans(arg0, arg1, arg2); + } + + /** + * MEOS {@code set_extent_transfn} — tier windowed. + *

Requires window operator — caller wraps in AggregateFunction.

+ *

Object-model role: {@code aggregate}.

+ *

Classification: role=aggregate

+ */ + public static jnr.ffi.Pointer set_extent_transfn(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "set_extent_transfn requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.set_extent_transfn(arg0, arg1); + } + + /** + * MEOS {@code set_union_finalfn} — tier windowed. + *

Requires window operator — caller wraps in AggregateFunction.

+ *

Object-model role: {@code aggregate}.

+ *

Classification: role=aggregate

+ */ + public static jnr.ffi.Pointer set_union_finalfn(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "set_union_finalfn requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.set_union_finalfn(arg0); + } + + /** + * MEOS {@code set_union_transfn} — tier windowed. + *

Requires window operator — caller wraps in AggregateFunction.

+ *

Object-model role: {@code aggregate}.

+ *

Classification: role=aggregate

+ */ + public static jnr.ffi.Pointer set_union_transfn(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "set_union_transfn requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.set_union_transfn(arg0, arg1); + } + + /** + * MEOS {@code set_as_hexwkb} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Object-model role: {@code output}.

+ *

Classification: IO/serialization

+ */ + public static java.lang.String set_as_hexwkb(jnr.ffi.Pointer arg0, byte arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "set_as_hexwkb requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.set_as_hexwkb(arg0, arg1); + } + + /** + * MEOS {@code set_as_wkb} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Object-model role: {@code output}.

+ *

Classification: IO/serialization

+ */ + public static jnr.ffi.Pointer set_as_wkb(jnr.ffi.Pointer arg0, byte arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "set_as_wkb requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.set_as_wkb(arg0, arg1); + } + + /** + * MEOS {@code set_from_hexwkb} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Object-model role: {@code constructor}.

+ *

Classification: IO/serialization

+ */ + public static jnr.ffi.Pointer set_from_hexwkb(java.lang.String arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "set_from_hexwkb requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.set_from_hexwkb(arg0); + } + + /** + * MEOS {@code set_from_wkb} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Object-model role: {@code constructor}.

+ *

Classification: IO/serialization

+ */ + public static jnr.ffi.Pointer set_from_wkb(jnr.ffi.Pointer arg0, long arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "set_from_wkb requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.set_from_wkb(arg0, arg1); + } + +} diff --git a/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsSpan.java b/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsSpan.java new file mode 100644 index 00000000..1092c840 --- /dev/null +++ b/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsSpan.java @@ -0,0 +1,323 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2020-2026, Université libre de Bruxelles and MobilityDB + * contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +package org.mobilitydb.meos; + +/* AUTO-GENERATED by codegen_flink_v3.py — do not edit by hand. + * MEOS object-model class: Span + * Methods emitted: 20 (bounded-state=11 · io-meta=4 · stateless=3 · windowed=2) + * Source: JMEOS jar (PR #15 / regen-against-meos-1.4) ∩ streaming-relevance baseline v4. + */ + +import functions.GeneratedFunctions; +import jnr.ffi.Pointer; + +public final class MeosOpsSpan { + + public static final boolean MEOS_AVAILABLE = MeosOpsRuntime.MEOS_AVAILABLE; + + private MeosOpsSpan() { /* utility */ } + + /** + * MEOS {@code span_copy} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Object-model role: {@code constructor}.

+ *

Classification: constructor of instant/scalar

+ */ + public static jnr.ffi.Pointer span_copy(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "span_copy requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.span_copy(arg0); + } + + /** + * MEOS {@code span_to_spanset} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Object-model role: {@code conversion}.

+ *

Classification: role=conversion

+ */ + public static jnr.ffi.Pointer span_to_spanset(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "span_to_spanset requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.span_to_spanset(arg0); + } + + /** + * MEOS {@code span_to_tbox} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Object-model role: {@code conversion}.

+ *

Classification: role=conversion

+ */ + public static jnr.ffi.Pointer span_to_tbox(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "span_to_tbox requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.span_to_tbox(arg0); + } + + /** + * MEOS {@code span_cmp} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code predicate}.

+ *

Classification: predicate on 1 temporal

+ */ + public static int span_cmp(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "span_cmp requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.span_cmp(arg0, arg1); + } + + /** + * MEOS {@code span_eq} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code predicate}.

+ *

Classification: predicate on 1 temporal

+ */ + public static boolean span_eq(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "span_eq requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.span_eq(arg0, arg1); + } + + /** + * MEOS {@code span_ge} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code predicate}.

+ *

Classification: predicate on 1 temporal

+ */ + public static boolean span_ge(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "span_ge requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.span_ge(arg0, arg1); + } + + /** + * MEOS {@code span_gt} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code predicate}.

+ *

Classification: predicate on 1 temporal

+ */ + public static boolean span_gt(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "span_gt requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.span_gt(arg0, arg1); + } + + /** + * MEOS {@code span_hash} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static int span_hash(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "span_hash requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.span_hash(arg0); + } + + /** + * MEOS {@code span_hash_extended} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static long span_hash_extended(jnr.ffi.Pointer arg0, long arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "span_hash_extended requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.span_hash_extended(arg0, arg1); + } + + /** + * MEOS {@code span_le} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code predicate}.

+ *

Classification: predicate on 1 temporal

+ */ + public static boolean span_le(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "span_le requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.span_le(arg0, arg1); + } + + /** + * MEOS {@code span_lower_inc} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static boolean span_lower_inc(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "span_lower_inc requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.span_lower_inc(arg0); + } + + /** + * MEOS {@code span_lt} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code predicate}.

+ *

Classification: predicate on 1 temporal

+ */ + public static boolean span_lt(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "span_lt requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.span_lt(arg0, arg1); + } + + /** + * MEOS {@code span_ne} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code predicate}.

+ *

Classification: predicate on 1 temporal

+ */ + public static boolean span_ne(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "span_ne requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.span_ne(arg0, arg1); + } + + /** + * MEOS {@code span_upper_inc} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static boolean span_upper_inc(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "span_upper_inc requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.span_upper_inc(arg0); + } + + /** + * MEOS {@code span_extent_transfn} — tier windowed. + *

Requires window operator — caller wraps in AggregateFunction.

+ *

Object-model role: {@code aggregate}.

+ *

Classification: role=aggregate

+ */ + public static jnr.ffi.Pointer span_extent_transfn(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "span_extent_transfn requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.span_extent_transfn(arg0, arg1); + } + + /** + * MEOS {@code span_union_transfn} — tier windowed. + *

Requires window operator — caller wraps in AggregateFunction.

+ *

Object-model role: {@code aggregate}.

+ *

Classification: role=aggregate

+ */ + public static jnr.ffi.Pointer span_union_transfn(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "span_union_transfn requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.span_union_transfn(arg0, arg1); + } + + /** + * MEOS {@code span_as_hexwkb} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Object-model role: {@code output}.

+ *

Classification: IO/serialization

+ */ + public static java.lang.String span_as_hexwkb(jnr.ffi.Pointer arg0, byte arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "span_as_hexwkb requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.span_as_hexwkb(arg0, arg1); + } + + /** + * MEOS {@code span_as_wkb} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Object-model role: {@code output}.

+ *

Classification: IO/serialization

+ */ + public static jnr.ffi.Pointer span_as_wkb(jnr.ffi.Pointer arg0, byte arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "span_as_wkb requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.span_as_wkb(arg0, arg1); + } + + /** + * MEOS {@code span_from_hexwkb} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Object-model role: {@code constructor}.

+ *

Classification: IO/serialization

+ */ + public static jnr.ffi.Pointer span_from_hexwkb(java.lang.String arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "span_from_hexwkb requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.span_from_hexwkb(arg0); + } + + /** + * MEOS {@code span_from_wkb} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Object-model role: {@code constructor}.

+ *

Classification: IO/serialization

+ */ + public static jnr.ffi.Pointer span_from_wkb(jnr.ffi.Pointer arg0, long arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "span_from_wkb requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.span_from_wkb(arg0, arg1); + } + +} diff --git a/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsSpanSet.java b/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsSpanSet.java new file mode 100644 index 00000000..8c0c661c --- /dev/null +++ b/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsSpanSet.java @@ -0,0 +1,463 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2020-2026, Université libre de Bruxelles and MobilityDB + * contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +package org.mobilitydb.meos; + +/* AUTO-GENERATED by codegen_flink_v3.py — do not edit by hand. + * MEOS object-model class: SpanSet + * Methods emitted: 30 (bounded-state=20 · io-meta=4 · stateless=3 · windowed=3) + * Source: JMEOS jar (PR #15 / regen-against-meos-1.4) ∩ streaming-relevance baseline v4. + */ + +import functions.GeneratedFunctions; +import jnr.ffi.Pointer; + +public final class MeosOpsSpanSet { + + public static final boolean MEOS_AVAILABLE = MeosOpsRuntime.MEOS_AVAILABLE; + + private MeosOpsSpanSet() { /* utility */ } + + /** + * MEOS {@code spanset_copy} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Object-model role: {@code constructor}.

+ *

Classification: constructor of instant/scalar

+ */ + public static jnr.ffi.Pointer spanset_copy(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "spanset_copy requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.spanset_copy(arg0); + } + + /** + * MEOS {@code spanset_make} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Object-model role: {@code constructor}.

+ *

Classification: constructor of instant/scalar

+ */ + public static jnr.ffi.Pointer spanset_make(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "spanset_make requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.spanset_make(arg0, arg1); + } + + /** + * MEOS {@code spanset_to_tbox} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Object-model role: {@code conversion}.

+ *

Classification: role=conversion

+ */ + public static jnr.ffi.Pointer spanset_to_tbox(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "spanset_to_tbox requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.spanset_to_tbox(arg0); + } + + /** + * MEOS {@code spanset_cmp} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code predicate}.

+ *

Classification: predicate on 1 temporal

+ */ + public static int spanset_cmp(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "spanset_cmp requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.spanset_cmp(arg0, arg1); + } + + /** + * MEOS {@code spanset_end_span} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer spanset_end_span(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "spanset_end_span requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.spanset_end_span(arg0); + } + + /** + * MEOS {@code spanset_eq} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code predicate}.

+ *

Classification: predicate on 1 temporal

+ */ + public static boolean spanset_eq(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "spanset_eq requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.spanset_eq(arg0, arg1); + } + + /** + * MEOS {@code spanset_ge} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code predicate}.

+ *

Classification: predicate on 1 temporal

+ */ + public static boolean spanset_ge(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "spanset_ge requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.spanset_ge(arg0, arg1); + } + + /** + * MEOS {@code spanset_gt} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code predicate}.

+ *

Classification: predicate on 1 temporal

+ */ + public static boolean spanset_gt(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "spanset_gt requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.spanset_gt(arg0, arg1); + } + + /** + * MEOS {@code spanset_hash} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static int spanset_hash(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "spanset_hash requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.spanset_hash(arg0); + } + + /** + * MEOS {@code spanset_hash_extended} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static long spanset_hash_extended(jnr.ffi.Pointer arg0, long arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "spanset_hash_extended requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.spanset_hash_extended(arg0, arg1); + } + + /** + * MEOS {@code spanset_le} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code predicate}.

+ *

Classification: predicate on 1 temporal

+ */ + public static boolean spanset_le(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "spanset_le requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.spanset_le(arg0, arg1); + } + + /** + * MEOS {@code spanset_lower_inc} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static boolean spanset_lower_inc(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "spanset_lower_inc requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.spanset_lower_inc(arg0); + } + + /** + * MEOS {@code spanset_lt} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code predicate}.

+ *

Classification: predicate on 1 temporal

+ */ + public static boolean spanset_lt(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "spanset_lt requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.spanset_lt(arg0, arg1); + } + + /** + * MEOS {@code spanset_ne} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code predicate}.

+ *

Classification: predicate on 1 temporal

+ */ + public static boolean spanset_ne(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "spanset_ne requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.spanset_ne(arg0, arg1); + } + + /** + * MEOS {@code spanset_num_spans} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static int spanset_num_spans(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "spanset_num_spans requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.spanset_num_spans(arg0); + } + + /** + * MEOS {@code spanset_span} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer spanset_span(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "spanset_span requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.spanset_span(arg0); + } + + /** + * MEOS {@code spanset_span_n} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer spanset_span_n(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "spanset_span_n requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.spanset_span_n(arg0, arg1); + } + + /** + * MEOS {@code spanset_spanarr} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer spanset_spanarr(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "spanset_spanarr requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.spanset_spanarr(arg0, arg1); + } + + /** + * MEOS {@code spanset_spans} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer spanset_spans(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "spanset_spans requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.spanset_spans(arg0, arg1); + } + + /** + * MEOS {@code spanset_split_each_n_spans} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer spanset_split_each_n_spans(jnr.ffi.Pointer arg0, int arg1, jnr.ffi.Pointer arg2) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "spanset_split_each_n_spans requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.spanset_split_each_n_spans(arg0, arg1, arg2); + } + + /** + * MEOS {@code spanset_split_n_spans} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer spanset_split_n_spans(jnr.ffi.Pointer arg0, int arg1, jnr.ffi.Pointer arg2) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "spanset_split_n_spans requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.spanset_split_n_spans(arg0, arg1, arg2); + } + + /** + * MEOS {@code spanset_start_span} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer spanset_start_span(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "spanset_start_span requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.spanset_start_span(arg0); + } + + /** + * MEOS {@code spanset_upper_inc} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static boolean spanset_upper_inc(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "spanset_upper_inc requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.spanset_upper_inc(arg0); + } + + /** + * MEOS {@code spanset_extent_transfn} — tier windowed. + *

Requires window operator — caller wraps in AggregateFunction.

+ *

Object-model role: {@code aggregate}.

+ *

Classification: role=aggregate

+ */ + public static jnr.ffi.Pointer spanset_extent_transfn(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "spanset_extent_transfn requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.spanset_extent_transfn(arg0, arg1); + } + + /** + * MEOS {@code spanset_union_finalfn} — tier windowed. + *

Requires window operator — caller wraps in AggregateFunction.

+ *

Object-model role: {@code aggregate}.

+ *

Classification: role=aggregate

+ */ + public static jnr.ffi.Pointer spanset_union_finalfn(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "spanset_union_finalfn requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.spanset_union_finalfn(arg0); + } + + /** + * MEOS {@code spanset_union_transfn} — tier windowed. + *

Requires window operator — caller wraps in AggregateFunction.

+ *

Object-model role: {@code aggregate}.

+ *

Classification: role=aggregate

+ */ + public static jnr.ffi.Pointer spanset_union_transfn(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "spanset_union_transfn requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.spanset_union_transfn(arg0, arg1); + } + + /** + * MEOS {@code spanset_as_hexwkb} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Object-model role: {@code output}.

+ *

Classification: IO/serialization

+ */ + public static java.lang.String spanset_as_hexwkb(jnr.ffi.Pointer arg0, byte arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "spanset_as_hexwkb requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.spanset_as_hexwkb(arg0, arg1); + } + + /** + * MEOS {@code spanset_as_wkb} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Object-model role: {@code output}.

+ *

Classification: IO/serialization

+ */ + public static jnr.ffi.Pointer spanset_as_wkb(jnr.ffi.Pointer arg0, byte arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "spanset_as_wkb requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.spanset_as_wkb(arg0, arg1); + } + + /** + * MEOS {@code spanset_from_hexwkb} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Object-model role: {@code constructor}.

+ *

Classification: IO/serialization

+ */ + public static jnr.ffi.Pointer spanset_from_hexwkb(java.lang.String arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "spanset_from_hexwkb requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.spanset_from_hexwkb(arg0); + } + + /** + * MEOS {@code spanset_from_wkb} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Object-model role: {@code constructor}.

+ *

Classification: IO/serialization

+ */ + public static jnr.ffi.Pointer spanset_from_wkb(jnr.ffi.Pointer arg0, long arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "spanset_from_wkb requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.spanset_from_wkb(arg0, arg1); + } + +} diff --git a/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsSqlSurface.java b/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsSqlSurface.java new file mode 100644 index 00000000..f883c015 --- /dev/null +++ b/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsSqlSurface.java @@ -0,0 +1,40 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2020-2026, Université libre de Bruxelles and MobilityDB + * contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +package org.mobilitydb.meos; + +/** + * Forwarding facade methods for MEOS functions that the MobilityDB SQL layer + * exposes as user functions but whose implementation lives in the internal headers + * ({@code meos_internal*.h}). JMEOS binds them; they are exposed here so the facade + * matches the SQL user surface as well as the public MEOS API. Each method delegates + * to its {@code functions.GeneratedFunctions} export under the + * {@link MeosOpsRuntime#MEOS_AVAILABLE} guard. + */ +public final class MeosOpsSqlSurface { + + private MeosOpsSqlSurface() { /* utility */ } + +} diff --git a/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsTBigint.java b/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsTBigint.java new file mode 100644 index 00000000..f84235e4 --- /dev/null +++ b/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsTBigint.java @@ -0,0 +1,535 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2020-2026, Université libre de Bruxelles and MobilityDB + * contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +package org.mobilitydb.meos; + +/* AUTO-GENERATED by tools/codegen/emit_tbigint_facade.py — do not edit by hand. + * tbigint temporal-type family facade over functions.GeneratedFunctions. + */ + +import functions.GeneratedFunctions; +import jnr.ffi.Pointer; + +public final class MeosOpsTBigint { + + public static final boolean MEOS_AVAILABLE = MeosOpsRuntime.MEOS_AVAILABLE; + + private MeosOpsTBigint() { /* utility */ } + + /** MEOS {@code add_bigint_tbigint} — tbigint temporal family. */ + public static jnr.ffi.Pointer add_bigint_tbigint(long arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "add_bigint_tbigint requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.add_bigint_tbigint(arg0, arg1); + } + + /** MEOS {@code add_tbigint_bigint} — tbigint temporal family. */ + public static jnr.ffi.Pointer add_tbigint_bigint(jnr.ffi.Pointer arg0, long arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "add_tbigint_bigint requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.add_tbigint_bigint(arg0, arg1); + } + + /** MEOS {@code always_eq_bigint_tbigint} — tbigint temporal family. */ + public static int always_eq_bigint_tbigint(long arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "always_eq_bigint_tbigint requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.always_eq_bigint_tbigint(arg0, arg1); + } + + /** MEOS {@code always_eq_tbigint_bigint} — tbigint temporal family. */ + public static int always_eq_tbigint_bigint(jnr.ffi.Pointer arg0, long arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "always_eq_tbigint_bigint requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.always_eq_tbigint_bigint(arg0, arg1); + } + + /** MEOS {@code always_ge_bigint_tbigint} — tbigint temporal family. */ + public static int always_ge_bigint_tbigint(long arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "always_ge_bigint_tbigint requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.always_ge_bigint_tbigint(arg0, arg1); + } + + /** MEOS {@code always_ge_tbigint_bigint} — tbigint temporal family. */ + public static int always_ge_tbigint_bigint(jnr.ffi.Pointer arg0, long arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "always_ge_tbigint_bigint requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.always_ge_tbigint_bigint(arg0, arg1); + } + + /** MEOS {@code always_gt_bigint_tbigint} — tbigint temporal family. */ + public static int always_gt_bigint_tbigint(long arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "always_gt_bigint_tbigint requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.always_gt_bigint_tbigint(arg0, arg1); + } + + /** MEOS {@code always_gt_tbigint_bigint} — tbigint temporal family. */ + public static int always_gt_tbigint_bigint(jnr.ffi.Pointer arg0, long arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "always_gt_tbigint_bigint requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.always_gt_tbigint_bigint(arg0, arg1); + } + + /** MEOS {@code always_le_bigint_tbigint} — tbigint temporal family. */ + public static int always_le_bigint_tbigint(long arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "always_le_bigint_tbigint requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.always_le_bigint_tbigint(arg0, arg1); + } + + /** MEOS {@code always_le_tbigint_bigint} — tbigint temporal family. */ + public static int always_le_tbigint_bigint(jnr.ffi.Pointer arg0, long arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "always_le_tbigint_bigint requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.always_le_tbigint_bigint(arg0, arg1); + } + + /** MEOS {@code always_lt_bigint_tbigint} — tbigint temporal family. */ + public static int always_lt_bigint_tbigint(long arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "always_lt_bigint_tbigint requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.always_lt_bigint_tbigint(arg0, arg1); + } + + /** MEOS {@code always_lt_tbigint_bigint} — tbigint temporal family. */ + public static int always_lt_tbigint_bigint(jnr.ffi.Pointer arg0, long arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "always_lt_tbigint_bigint requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.always_lt_tbigint_bigint(arg0, arg1); + } + + /** MEOS {@code always_ne_bigint_tbigint} — tbigint temporal family. */ + public static int always_ne_bigint_tbigint(long arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "always_ne_bigint_tbigint requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.always_ne_bigint_tbigint(arg0, arg1); + } + + /** MEOS {@code always_ne_tbigint_bigint} — tbigint temporal family. */ + public static int always_ne_tbigint_bigint(jnr.ffi.Pointer arg0, long arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "always_ne_tbigint_bigint requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.always_ne_tbigint_bigint(arg0, arg1); + } + + /** MEOS {@code div_bigint_tbigint} — tbigint temporal family. */ + public static jnr.ffi.Pointer div_bigint_tbigint(long arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "div_bigint_tbigint requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.div_bigint_tbigint(arg0, arg1); + } + + /** MEOS {@code div_tbigint_bigint} — tbigint temporal family. */ + public static jnr.ffi.Pointer div_tbigint_bigint(jnr.ffi.Pointer arg0, long arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "div_tbigint_bigint requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.div_tbigint_bigint(arg0, arg1); + } + + /** MEOS {@code ever_eq_bigint_tbigint} — tbigint temporal family. */ + public static int ever_eq_bigint_tbigint(long arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "ever_eq_bigint_tbigint requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.ever_eq_bigint_tbigint(arg0, arg1); + } + + /** MEOS {@code ever_eq_tbigint_bigint} — tbigint temporal family. */ + public static int ever_eq_tbigint_bigint(jnr.ffi.Pointer arg0, long arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "ever_eq_tbigint_bigint requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.ever_eq_tbigint_bigint(arg0, arg1); + } + + /** MEOS {@code ever_ge_bigint_tbigint} — tbigint temporal family. */ + public static int ever_ge_bigint_tbigint(long arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "ever_ge_bigint_tbigint requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.ever_ge_bigint_tbigint(arg0, arg1); + } + + /** MEOS {@code ever_ge_tbigint_bigint} — tbigint temporal family. */ + public static int ever_ge_tbigint_bigint(jnr.ffi.Pointer arg0, long arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "ever_ge_tbigint_bigint requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.ever_ge_tbigint_bigint(arg0, arg1); + } + + /** MEOS {@code ever_gt_bigint_tbigint} — tbigint temporal family. */ + public static int ever_gt_bigint_tbigint(long arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "ever_gt_bigint_tbigint requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.ever_gt_bigint_tbigint(arg0, arg1); + } + + /** MEOS {@code ever_gt_tbigint_bigint} — tbigint temporal family. */ + public static int ever_gt_tbigint_bigint(jnr.ffi.Pointer arg0, long arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "ever_gt_tbigint_bigint requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.ever_gt_tbigint_bigint(arg0, arg1); + } + + /** MEOS {@code ever_le_bigint_tbigint} — tbigint temporal family. */ + public static int ever_le_bigint_tbigint(long arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "ever_le_bigint_tbigint requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.ever_le_bigint_tbigint(arg0, arg1); + } + + /** MEOS {@code ever_le_tbigint_bigint} — tbigint temporal family. */ + public static int ever_le_tbigint_bigint(jnr.ffi.Pointer arg0, long arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "ever_le_tbigint_bigint requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.ever_le_tbigint_bigint(arg0, arg1); + } + + /** MEOS {@code ever_lt_bigint_tbigint} — tbigint temporal family. */ + public static int ever_lt_bigint_tbigint(long arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "ever_lt_bigint_tbigint requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.ever_lt_bigint_tbigint(arg0, arg1); + } + + /** MEOS {@code ever_lt_tbigint_bigint} — tbigint temporal family. */ + public static int ever_lt_tbigint_bigint(jnr.ffi.Pointer arg0, long arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "ever_lt_tbigint_bigint requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.ever_lt_tbigint_bigint(arg0, arg1); + } + + /** MEOS {@code ever_ne_bigint_tbigint} — tbigint temporal family. */ + public static int ever_ne_bigint_tbigint(long arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "ever_ne_bigint_tbigint requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.ever_ne_bigint_tbigint(arg0, arg1); + } + + /** MEOS {@code ever_ne_tbigint_bigint} — tbigint temporal family. */ + public static int ever_ne_tbigint_bigint(jnr.ffi.Pointer arg0, long arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "ever_ne_tbigint_bigint requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.ever_ne_tbigint_bigint(arg0, arg1); + } + + /** MEOS {@code mul_bigint_tbigint} — tbigint temporal family. */ + public static jnr.ffi.Pointer mul_bigint_tbigint(long arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "mul_bigint_tbigint requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.mul_bigint_tbigint(arg0, arg1); + } + + /** MEOS {@code mul_tbigint_bigint} — tbigint temporal family. */ + public static jnr.ffi.Pointer mul_tbigint_bigint(jnr.ffi.Pointer arg0, long arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "mul_tbigint_bigint requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.mul_tbigint_bigint(arg0, arg1); + } + + /** MEOS {@code sub_bigint_tbigint} — tbigint temporal family. */ + public static jnr.ffi.Pointer sub_bigint_tbigint(long arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "sub_bigint_tbigint requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.sub_bigint_tbigint(arg0, arg1); + } + + /** MEOS {@code sub_tbigint_bigint} — tbigint temporal family. */ + public static jnr.ffi.Pointer sub_tbigint_bigint(jnr.ffi.Pointer arg0, long arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "sub_tbigint_bigint requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.sub_tbigint_bigint(arg0, arg1); + } + + /** MEOS {@code tbigint_end_value} — tbigint temporal family. */ + public static long tbigint_end_value(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tbigint_end_value requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tbigint_end_value(arg0); + } + + /** MEOS {@code tbigint_from_base_temp} — tbigint temporal family. */ + public static jnr.ffi.Pointer tbigint_from_base_temp(long arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tbigint_from_base_temp requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tbigint_from_base_temp(arg0, arg1); + } + + /** MEOS {@code tbigint_from_mfjson} — tbigint temporal family. */ + public static jnr.ffi.Pointer tbigint_from_mfjson(java.lang.String arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tbigint_from_mfjson requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tbigint_from_mfjson(arg0); + } + + /** MEOS {@code tbigint_in} — tbigint temporal family. */ + public static jnr.ffi.Pointer tbigint_in(java.lang.String arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tbigint_in requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tbigint_in(arg0); + } + + /** MEOS {@code tbigint_max_value} — tbigint temporal family. */ + public static long tbigint_max_value(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tbigint_max_value requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tbigint_max_value(arg0); + } + + /** MEOS {@code tbigint_min_value} — tbigint temporal family. */ + public static long tbigint_min_value(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tbigint_min_value requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tbigint_min_value(arg0); + } + + /** MEOS {@code tbigint_out} — tbigint temporal family. */ + public static java.lang.String tbigint_out(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tbigint_out requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tbigint_out(arg0); + } + + /** MEOS {@code tbigint_scale_value} — tbigint temporal family. */ + public static jnr.ffi.Pointer tbigint_scale_value(jnr.ffi.Pointer arg0, long arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tbigint_scale_value requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tbigint_scale_value(arg0, arg1); + } + + /** MEOS {@code tbigint_shift_scale_value} — tbigint temporal family. */ + public static jnr.ffi.Pointer tbigint_shift_scale_value(jnr.ffi.Pointer arg0, long arg1, long arg2) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tbigint_shift_scale_value requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tbigint_shift_scale_value(arg0, arg1, arg2); + } + + /** MEOS {@code tbigint_shift_value} — tbigint temporal family. */ + public static jnr.ffi.Pointer tbigint_shift_value(jnr.ffi.Pointer arg0, long arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tbigint_shift_value requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tbigint_shift_value(arg0, arg1); + } + + /** MEOS {@code tbigint_start_value} — tbigint temporal family. */ + public static long tbigint_start_value(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tbigint_start_value requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tbigint_start_value(arg0); + } + + /** MEOS {@code tbigint_to_tfloat} — tbigint temporal family. */ + public static jnr.ffi.Pointer tbigint_to_tfloat(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tbigint_to_tfloat requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tbigint_to_tfloat(arg0); + } + + /** MEOS {@code tbigint_to_tint} — tbigint temporal family. */ + public static jnr.ffi.Pointer tbigint_to_tint(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tbigint_to_tint requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tbigint_to_tint(arg0); + } + + /** MEOS {@code tbigint_value_n} — tbigint temporal family. */ + public static jnr.ffi.Pointer tbigint_value_n(jnr.ffi.Pointer arg0, long arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tbigint_value_n requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tbigint_value_n(arg0, arg1); + } + + /** MEOS {@code tbigint_values} — tbigint temporal family. */ + public static jnr.ffi.Pointer tbigint_values(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tbigint_values requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tbigint_values(arg0, arg1); + } + + /** MEOS {@code tbigintbox_expand} — tbigint temporal family. */ + public static jnr.ffi.Pointer tbigintbox_expand(jnr.ffi.Pointer arg0, long arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tbigintbox_expand requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tbigintbox_expand(arg0, arg1); + } + + /** MEOS {@code tbigintbox_shift_scale} — tbigint temporal family. */ + public static jnr.ffi.Pointer tbigintbox_shift_scale(jnr.ffi.Pointer arg0, long arg1, long arg2, boolean arg3, boolean arg4) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tbigintbox_shift_scale requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tbigintbox_shift_scale(arg0, arg1, arg2, arg3, arg4); + } + + /** MEOS {@code tbigintinst_make} — tbigint temporal family. */ + public static jnr.ffi.Pointer tbigintinst_make(long arg0, java.time.OffsetDateTime arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tbigintinst_make requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tbigintinst_make(arg0, arg1); + } + + /** MEOS {@code tbigintseq_from_base_tstzset} — tbigint temporal family. */ + public static jnr.ffi.Pointer tbigintseq_from_base_tstzset(long arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tbigintseq_from_base_tstzset requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tbigintseq_from_base_tstzset(arg0, arg1); + } + + /** MEOS {@code tbigintseq_from_base_tstzspan} — tbigint temporal family. */ + public static jnr.ffi.Pointer tbigintseq_from_base_tstzspan(long arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tbigintseq_from_base_tstzspan requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tbigintseq_from_base_tstzspan(arg0, arg1); + } + + /** MEOS {@code tbigintseqset_from_base_tstzspanset} — tbigint temporal family. */ + public static jnr.ffi.Pointer tbigintseqset_from_base_tstzspanset(long arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tbigintseqset_from_base_tstzspanset requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tbigintseqset_from_base_tstzspanset(arg0, arg1); + } + + /** MEOS {@code tfloat_to_tbigint} — tbigint temporal family. */ + public static jnr.ffi.Pointer tfloat_to_tbigint(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tfloat_to_tbigint requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tfloat_to_tbigint(arg0); + } + + /** MEOS {@code tint_to_tbigint} — tbigint temporal family. */ + public static jnr.ffi.Pointer tint_to_tbigint(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tint_to_tbigint requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tint_to_tbigint(arg0); + } +} diff --git a/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsTBool.java b/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsTBool.java new file mode 100644 index 00000000..97b369ba --- /dev/null +++ b/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsTBool.java @@ -0,0 +1,253 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2020-2026, Université libre de Bruxelles and MobilityDB + * contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +package org.mobilitydb.meos; + +/* AUTO-GENERATED by codegen_flink_v3.py — do not edit by hand. + * MEOS object-model class: TBool + * Methods emitted: 15 (bounded-state=8 · io-meta=3 · stateless=2 · windowed=2) + * Source: JMEOS jar (PR #15 / regen-against-meos-1.4) ∩ streaming-relevance baseline v4. + */ + +import functions.GeneratedFunctions; +import jnr.ffi.Pointer; + +public final class MeosOpsTBool { + + public static final boolean MEOS_AVAILABLE = MeosOpsRuntime.MEOS_AVAILABLE; + + private MeosOpsTBool() { /* utility */ } + + /** + * MEOS {@code tbool_from_base_temp} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Object-model role: {@code constructor}.

+ *

Classification: constructor of instant/scalar

+ */ + public static jnr.ffi.Pointer tbool_from_base_temp(boolean arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tbool_from_base_temp requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tbool_from_base_temp(arg0, arg1); + } + + /** + * MEOS {@code tbool_to_tint} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Object-model role: {@code conversion}.

+ *

Classification: role=conversion

+ */ + public static jnr.ffi.Pointer tbool_to_tint(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tbool_to_tint requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tbool_to_tint(arg0); + } + + /** + * MEOS {@code tbool_at_value} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code restriction}.

+ *

Classification: role=restriction

+ */ + public static jnr.ffi.Pointer tbool_at_value(jnr.ffi.Pointer arg0, boolean arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tbool_at_value requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tbool_at_value(arg0, arg1); + } + + /** + * MEOS {@code tbool_end_value} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static boolean tbool_end_value(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tbool_end_value requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tbool_end_value(arg0); + } + + /** + * MEOS {@code tbool_minus_value} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code restriction}.

+ *

Classification: role=restriction

+ */ + public static jnr.ffi.Pointer tbool_minus_value(jnr.ffi.Pointer arg0, boolean arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tbool_minus_value requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tbool_minus_value(arg0, arg1); + } + + /** + * MEOS {@code tbool_start_value} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static boolean tbool_start_value(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tbool_start_value requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tbool_start_value(arg0); + } + + /** + * MEOS {@code tbool_value_at_timestamptz} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code restriction}.

+ *

Classification: role=restriction

+ */ + public static jnr.ffi.Pointer tbool_value_at_timestamptz(jnr.ffi.Pointer arg0, java.time.OffsetDateTime arg1, boolean arg2) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tbool_value_at_timestamptz requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tbool_value_at_timestamptz(arg0, arg1, arg2); + } + + /** + * MEOS {@code tbool_value_n} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer tbool_value_n(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tbool_value_n requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tbool_value_n(arg0, arg1); + } + + /** + * MEOS {@code tbool_values} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer tbool_values(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tbool_values requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tbool_values(arg0, arg1); + } + + /** + * MEOS {@code tbool_when_true} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer tbool_when_true(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tbool_when_true requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tbool_when_true(arg0); + } + + /** + * MEOS {@code tbool_tand_transfn} — tier windowed. + *

Requires window operator — caller wraps in AggregateFunction.

+ *

Object-model role: {@code aggregate}.

+ *

Classification: role=aggregate

+ */ + public static jnr.ffi.Pointer tbool_tand_transfn(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tbool_tand_transfn requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tbool_tand_transfn(arg0, arg1); + } + + /** + * MEOS {@code tbool_tor_transfn} — tier windowed. + *

Requires window operator — caller wraps in AggregateFunction.

+ *

Object-model role: {@code aggregate}.

+ *

Classification: role=aggregate

+ */ + public static jnr.ffi.Pointer tbool_tor_transfn(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tbool_tor_transfn requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tbool_tor_transfn(arg0, arg1); + } + + /** + * MEOS {@code tbool_from_mfjson} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Object-model role: {@code constructor}.

+ *

Classification: IO/serialization

+ */ + public static jnr.ffi.Pointer tbool_from_mfjson(java.lang.String arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tbool_from_mfjson requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tbool_from_mfjson(arg0); + } + + /** + * MEOS {@code tbool_in} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Object-model role: {@code constructor}.

+ *

Classification: IO/serialization

+ */ + public static jnr.ffi.Pointer tbool_in(java.lang.String arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tbool_in requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tbool_in(arg0); + } + + /** + * MEOS {@code tbool_out} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Object-model role: {@code output}.

+ *

Classification: IO/serialization

+ */ + public static java.lang.String tbool_out(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tbool_out requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tbool_out(arg0); + } + +} diff --git a/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsTBoolInst.java b/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsTBoolInst.java new file mode 100644 index 00000000..5e923e0f --- /dev/null +++ b/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsTBoolInst.java @@ -0,0 +1,57 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2020-2026, Université libre de Bruxelles and MobilityDB + * contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +package org.mobilitydb.meos; + +/* AUTO-GENERATED by codegen_flink_v3.py — do not edit by hand. + * MEOS object-model class: TBoolInst + * Methods emitted: 1 (stateless=1) + * Source: JMEOS jar (PR #15 / regen-against-meos-1.4) ∩ streaming-relevance baseline v4. + */ + +import functions.GeneratedFunctions; +import jnr.ffi.Pointer; + +public final class MeosOpsTBoolInst { + + public static final boolean MEOS_AVAILABLE = MeosOpsRuntime.MEOS_AVAILABLE; + + private MeosOpsTBoolInst() { /* utility */ } + + /** + * MEOS {@code tboolinst_make} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Object-model role: {@code constructor}.

+ *

Classification: constructor of instant/scalar

+ */ + public static jnr.ffi.Pointer tboolinst_make(boolean arg0, java.time.OffsetDateTime arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tboolinst_make requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tboolinst_make(arg0, arg1); + } + +} diff --git a/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsTBox.java b/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsTBox.java new file mode 100644 index 00000000..4408c72f --- /dev/null +++ b/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsTBox.java @@ -0,0 +1,505 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2020-2026, Université libre de Bruxelles and MobilityDB + * contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +package org.mobilitydb.meos; + +/* AUTO-GENERATED by codegen_flink_v3.py — do not edit by hand. + * MEOS object-model class: TBox + * Methods emitted: 33 (bounded-state=22 · io-meta=6 · stateless=5) + * Source: JMEOS jar (PR #15 / regen-against-meos-1.4) ∩ streaming-relevance baseline v4. + */ + +import functions.GeneratedFunctions; +import jnr.ffi.Pointer; + +public final class MeosOpsTBox { + + public static final boolean MEOS_AVAILABLE = MeosOpsRuntime.MEOS_AVAILABLE; + + private MeosOpsTBox() { /* utility */ } + + /** + * MEOS {@code tbox_copy} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Object-model role: {@code constructor}.

+ *

Classification: constructor of instant/scalar

+ */ + public static jnr.ffi.Pointer tbox_copy(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tbox_copy requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tbox_copy(arg0); + } + + /** + * MEOS {@code tbox_make} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Object-model role: {@code constructor}.

+ *

Classification: constructor of instant/scalar

+ */ + public static jnr.ffi.Pointer tbox_make(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tbox_make requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tbox_make(arg0, arg1); + } + + /** + * MEOS {@code tbox_to_floatspan} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Object-model role: {@code conversion}.

+ *

Classification: role=conversion

+ */ + public static jnr.ffi.Pointer tbox_to_floatspan(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tbox_to_floatspan requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tbox_to_floatspan(arg0); + } + + /** + * MEOS {@code tbox_to_intspan} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Object-model role: {@code conversion}.

+ *

Classification: role=conversion

+ */ + public static jnr.ffi.Pointer tbox_to_intspan(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tbox_to_intspan requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tbox_to_intspan(arg0); + } + + /** + * MEOS {@code tbox_to_tstzspan} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Object-model role: {@code conversion}.

+ *

Classification: role=conversion

+ */ + public static jnr.ffi.Pointer tbox_to_tstzspan(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tbox_to_tstzspan requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tbox_to_tstzspan(arg0); + } + + /** + * MEOS {@code tbox_cmp} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code predicate}.

+ *

Classification: predicate on 1 temporal

+ */ + public static int tbox_cmp(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tbox_cmp requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tbox_cmp(arg0, arg1); + } + + /** + * MEOS {@code tbox_eq} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code predicate}.

+ *

Classification: predicate on 1 temporal

+ */ + public static boolean tbox_eq(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tbox_eq requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tbox_eq(arg0, arg1); + } + + /** + * MEOS {@code tbox_expand_time} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer tbox_expand_time(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tbox_expand_time requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tbox_expand_time(arg0, arg1); + } + + /** + * MEOS {@code tbox_ge} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code predicate}.

+ *

Classification: predicate on 1 temporal

+ */ + public static boolean tbox_ge(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tbox_ge requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tbox_ge(arg0, arg1); + } + + /** + * MEOS {@code tbox_gt} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code predicate}.

+ *

Classification: predicate on 1 temporal

+ */ + public static boolean tbox_gt(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tbox_gt requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tbox_gt(arg0, arg1); + } + + /** + * MEOS {@code tbox_hash} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static int tbox_hash(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tbox_hash requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tbox_hash(arg0); + } + + /** + * MEOS {@code tbox_hash_extended} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static long tbox_hash_extended(jnr.ffi.Pointer arg0, long arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tbox_hash_extended requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tbox_hash_extended(arg0, arg1); + } + + /** + * MEOS {@code tbox_hast} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static boolean tbox_hast(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tbox_hast requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tbox_hast(arg0); + } + + /** + * MEOS {@code tbox_hasx} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static boolean tbox_hasx(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tbox_hasx requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tbox_hasx(arg0); + } + + /** + * MEOS {@code tbox_le} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code predicate}.

+ *

Classification: predicate on 1 temporal

+ */ + public static boolean tbox_le(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tbox_le requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tbox_le(arg0, arg1); + } + + /** + * MEOS {@code tbox_lt} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code predicate}.

+ *

Classification: predicate on 1 temporal

+ */ + public static boolean tbox_lt(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tbox_lt requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tbox_lt(arg0, arg1); + } + + /** + * MEOS {@code tbox_ne} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code predicate}.

+ *

Classification: predicate on 1 temporal

+ */ + public static boolean tbox_ne(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tbox_ne requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tbox_ne(arg0, arg1); + } + + /** + * MEOS {@code tbox_round} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer tbox_round(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tbox_round requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tbox_round(arg0, arg1); + } + + /** + * MEOS {@code tbox_shift_scale_time} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer tbox_shift_scale_time(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1, jnr.ffi.Pointer arg2) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tbox_shift_scale_time requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tbox_shift_scale_time(arg0, arg1, arg2); + } + + /** + * MEOS {@code tbox_tmax} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer tbox_tmax(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tbox_tmax requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tbox_tmax(arg0); + } + + /** + * MEOS {@code tbox_tmax_inc} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer tbox_tmax_inc(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tbox_tmax_inc requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tbox_tmax_inc(arg0); + } + + /** + * MEOS {@code tbox_tmin} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer tbox_tmin(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tbox_tmin requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tbox_tmin(arg0); + } + + /** + * MEOS {@code tbox_tmin_inc} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer tbox_tmin_inc(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tbox_tmin_inc requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tbox_tmin_inc(arg0); + } + + /** + * MEOS {@code tbox_xmax} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer tbox_xmax(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tbox_xmax requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tbox_xmax(arg0); + } + + /** + * MEOS {@code tbox_xmax_inc} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer tbox_xmax_inc(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tbox_xmax_inc requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tbox_xmax_inc(arg0); + } + + /** + * MEOS {@code tbox_xmin} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer tbox_xmin(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tbox_xmin requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tbox_xmin(arg0); + } + + /** + * MEOS {@code tbox_xmin_inc} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer tbox_xmin_inc(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tbox_xmin_inc requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tbox_xmin_inc(arg0); + } + + /** + * MEOS {@code tbox_as_hexwkb} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Object-model role: {@code output}.

+ *

Classification: IO/serialization

+ */ + public static java.lang.String tbox_as_hexwkb(jnr.ffi.Pointer arg0, byte arg1, jnr.ffi.Pointer arg2) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tbox_as_hexwkb requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tbox_as_hexwkb(arg0, arg1, arg2); + } + + /** + * MEOS {@code tbox_as_wkb} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Object-model role: {@code output}.

+ *

Classification: IO/serialization

+ */ + public static jnr.ffi.Pointer tbox_as_wkb(jnr.ffi.Pointer arg0, byte arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tbox_as_wkb requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tbox_as_wkb(arg0, arg1); + } + + /** + * MEOS {@code tbox_from_hexwkb} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Object-model role: {@code constructor}.

+ *

Classification: IO/serialization

+ */ + public static jnr.ffi.Pointer tbox_from_hexwkb(java.lang.String arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tbox_from_hexwkb requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tbox_from_hexwkb(arg0); + } + + /** + * MEOS {@code tbox_from_wkb} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Object-model role: {@code constructor}.

+ *

Classification: IO/serialization

+ */ + public static jnr.ffi.Pointer tbox_from_wkb(jnr.ffi.Pointer arg0, long arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tbox_from_wkb requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tbox_from_wkb(arg0, arg1); + } + + /** + * MEOS {@code tbox_in} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Object-model role: {@code constructor}.

+ *

Classification: IO/serialization

+ */ + public static jnr.ffi.Pointer tbox_in(java.lang.String arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tbox_in requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tbox_in(arg0); + } + + /** + * MEOS {@code tbox_out} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Object-model role: {@code output}.

+ *

Classification: IO/serialization

+ */ + public static java.lang.String tbox_out(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tbox_out requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tbox_out(arg0, arg1); + } + +} diff --git a/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsTCbuffer.java b/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsTCbuffer.java new file mode 100644 index 00000000..285490b0 --- /dev/null +++ b/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsTCbuffer.java @@ -0,0 +1,239 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2020-2026, Université libre de Bruxelles and MobilityDB + * contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +package org.mobilitydb.meos; + +/* AUTO-GENERATED by codegen_flink_v3.py — do not edit by hand. + * MEOS object-model class: TCbuffer + * Methods emitted: 15 (bounded-state=10 · stateless=3 · io-meta=2) + * Source: JMEOS jar (PR #15 / regen-against-meos-1.4) ∩ streaming-relevance baseline v4. + */ + +import functions.GeneratedFunctions; +import jnr.ffi.Pointer; + +public final class MeosOpsTCbuffer { + + public static final boolean MEOS_AVAILABLE = MeosOpsRuntime.MEOS_AVAILABLE; + + private MeosOpsTCbuffer() { /* utility */ } + + /** + * MEOS {@code tcbuffer_make} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Object-model role: {@code constructor}.

+ *

Classification: constructor of instant/scalar

+ */ + public static jnr.ffi.Pointer tcbuffer_make(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tcbuffer_make requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tcbuffer_make(arg0, arg1); + } + + /** + * MEOS {@code tcbuffer_to_tfloat} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Object-model role: {@code conversion}.

+ *

Classification: role=conversion

+ */ + public static jnr.ffi.Pointer tcbuffer_to_tfloat(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tcbuffer_to_tfloat requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tcbuffer_to_tfloat(arg0); + } + + /** + * MEOS {@code tcbuffer_to_tgeompoint} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Object-model role: {@code conversion}.

+ *

Classification: role=conversion

+ */ + public static jnr.ffi.Pointer tcbuffer_to_tgeompoint(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tcbuffer_to_tgeompoint requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tcbuffer_to_tgeompoint(arg0); + } + + /** + * MEOS {@code tcbuffer_at_cbuffer} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code restriction}.

+ *

Classification: role=restriction

+ */ + public static jnr.ffi.Pointer tcbuffer_at_cbuffer(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tcbuffer_at_cbuffer requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tcbuffer_at_cbuffer(arg0, arg1); + } + + /** + * MEOS {@code tcbuffer_at_geom} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code restriction}.

+ *

Classification: role=restriction

+ */ + public static jnr.ffi.Pointer tcbuffer_at_geom(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tcbuffer_at_geom requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tcbuffer_at_geom(arg0, arg1); + } + + /** + * MEOS {@code tcbuffer_at_stbox} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code restriction}.

+ *

Classification: role=restriction

+ */ + public static jnr.ffi.Pointer tcbuffer_at_stbox(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1, boolean arg2) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tcbuffer_at_stbox requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tcbuffer_at_stbox(arg0, arg1, arg2); + } + + /** + * MEOS {@code tcbuffer_expand} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer tcbuffer_expand(jnr.ffi.Pointer arg0, double arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tcbuffer_expand requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tcbuffer_expand(arg0, arg1); + } + + /** + * MEOS {@code tcbuffer_minus_cbuffer} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code restriction}.

+ *

Classification: role=restriction

+ */ + public static jnr.ffi.Pointer tcbuffer_minus_cbuffer(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tcbuffer_minus_cbuffer requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tcbuffer_minus_cbuffer(arg0, arg1); + } + + /** + * MEOS {@code tcbuffer_minus_geom} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code restriction}.

+ *

Classification: role=restriction

+ */ + public static jnr.ffi.Pointer tcbuffer_minus_geom(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tcbuffer_minus_geom requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tcbuffer_minus_geom(arg0, arg1); + } + + /** + * MEOS {@code tcbuffer_minus_stbox} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code restriction}.

+ *

Classification: role=restriction

+ */ + public static jnr.ffi.Pointer tcbuffer_minus_stbox(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1, boolean arg2) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tcbuffer_minus_stbox requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tcbuffer_minus_stbox(arg0, arg1, arg2); + } + + /** + * MEOS {@code tcbuffer_points} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer tcbuffer_points(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tcbuffer_points requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tcbuffer_points(arg0); + } + + /** + * MEOS {@code tcbuffer_radius} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer tcbuffer_radius(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tcbuffer_radius requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tcbuffer_radius(arg0); + } + + /** + * MEOS {@code tcbuffer_from_mfjson} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Object-model role: {@code constructor}.

+ *

Classification: IO/serialization

+ */ + public static jnr.ffi.Pointer tcbuffer_from_mfjson(java.lang.String arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tcbuffer_from_mfjson requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tcbuffer_from_mfjson(arg0); + } + + /** + * MEOS {@code tcbuffer_in} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Object-model role: {@code constructor}.

+ *

Classification: IO/serialization

+ */ + public static jnr.ffi.Pointer tcbuffer_in(java.lang.String arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tcbuffer_in requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tcbuffer_in(arg0); + } + +} diff --git a/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsTFloat.java b/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsTFloat.java new file mode 100644 index 00000000..838bf00f --- /dev/null +++ b/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsTFloat.java @@ -0,0 +1,547 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2020-2026, Université libre de Bruxelles and MobilityDB + * contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +package org.mobilitydb.meos; + +/* AUTO-GENERATED by codegen_flink_v3.py — do not edit by hand. + * MEOS object-model class: TFloat + * Methods emitted: 37 (bounded-state=26 · windowed=6 · io-meta=3 · stateless=2) + * Source: JMEOS jar (PR #15 / regen-against-meos-1.4) ∩ streaming-relevance baseline v4. + */ + +import functions.GeneratedFunctions; +import jnr.ffi.Pointer; + +public final class MeosOpsTFloat { + + public static final boolean MEOS_AVAILABLE = MeosOpsRuntime.MEOS_AVAILABLE; + + private MeosOpsTFloat() { /* utility */ } + + /** + * MEOS {@code tfloat_from_base_temp} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Object-model role: {@code constructor}.

+ *

Classification: constructor of instant/scalar

+ */ + public static jnr.ffi.Pointer tfloat_from_base_temp(double arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tfloat_from_base_temp requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tfloat_from_base_temp(arg0, arg1); + } + + /** + * MEOS {@code tfloat_to_tint} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Object-model role: {@code conversion}.

+ *

Classification: role=conversion

+ */ + public static jnr.ffi.Pointer tfloat_to_tint(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tfloat_to_tint requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tfloat_to_tint(arg0); + } + + /** + * MEOS {@code tfloat_at_value} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code restriction}.

+ *

Classification: role=restriction

+ */ + public static jnr.ffi.Pointer tfloat_at_value(jnr.ffi.Pointer arg0, double arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tfloat_at_value requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tfloat_at_value(arg0, arg1); + } + + /** + * MEOS {@code tfloat_ceil} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer tfloat_ceil(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tfloat_ceil requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tfloat_ceil(arg0); + } + + /** + * MEOS {@code tfloat_degrees} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer tfloat_degrees(jnr.ffi.Pointer arg0, boolean arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tfloat_degrees requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tfloat_degrees(arg0, arg1); + } + + /** + * MEOS {@code tfloat_end_value} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static double tfloat_end_value(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tfloat_end_value requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tfloat_end_value(arg0); + } + + /** + * MEOS {@code tfloat_exp} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer tfloat_exp(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tfloat_exp requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tfloat_exp(arg0); + } + + /** + * MEOS {@code tfloat_floor} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer tfloat_floor(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tfloat_floor requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tfloat_floor(arg0); + } + + /** + * MEOS {@code tfloat_ln} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer tfloat_ln(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tfloat_ln requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tfloat_ln(arg0); + } + + /** + * MEOS {@code tfloat_log10} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer tfloat_log10(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tfloat_log10 requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tfloat_log10(arg0); + } + + /** + * MEOS {@code tfloat_max_value} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static double tfloat_max_value(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tfloat_max_value requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tfloat_max_value(arg0); + } + + /** + * MEOS {@code tfloat_min_value} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static double tfloat_min_value(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tfloat_min_value requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tfloat_min_value(arg0); + } + + /** + * MEOS {@code tfloat_minus_value} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code restriction}.

+ *

Classification: role=restriction

+ */ + public static jnr.ffi.Pointer tfloat_minus_value(jnr.ffi.Pointer arg0, double arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tfloat_minus_value requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tfloat_minus_value(arg0, arg1); + } + + /** + * MEOS {@code tfloat_radians} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer tfloat_radians(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tfloat_radians requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tfloat_radians(arg0); + } + + /** + * MEOS {@code tfloat_scale_value} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer tfloat_scale_value(jnr.ffi.Pointer arg0, double arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tfloat_scale_value requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tfloat_scale_value(arg0, arg1); + } + + /** + * MEOS {@code tfloat_shift_scale_value} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer tfloat_shift_scale_value(jnr.ffi.Pointer arg0, double arg1, double arg2) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tfloat_shift_scale_value requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tfloat_shift_scale_value(arg0, arg1, arg2); + } + + /** + * MEOS {@code tfloat_shift_value} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer tfloat_shift_value(jnr.ffi.Pointer arg0, double arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tfloat_shift_value requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tfloat_shift_value(arg0, arg1); + } + + /** + * MEOS {@code tfloat_start_value} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static double tfloat_start_value(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tfloat_start_value requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tfloat_start_value(arg0); + } + + /** + * MEOS {@code tfloat_time_boxes} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer tfloat_time_boxes(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1, java.time.OffsetDateTime arg2, jnr.ffi.Pointer arg3) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tfloat_time_boxes requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tfloat_time_boxes(arg0, arg1, arg2, arg3); + } + + /** + * MEOS {@code tfloat_value_at_timestamptz} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code restriction}.

+ *

Classification: role=restriction

+ */ + public static jnr.ffi.Pointer tfloat_value_at_timestamptz(jnr.ffi.Pointer arg0, java.time.OffsetDateTime arg1, boolean arg2) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tfloat_value_at_timestamptz requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tfloat_value_at_timestamptz(arg0, arg1, arg2); + } + + /** + * MEOS {@code tfloat_value_bins} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer tfloat_value_bins(jnr.ffi.Pointer arg0, double arg1, double arg2, jnr.ffi.Pointer arg3) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tfloat_value_bins requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tfloat_value_bins(arg0, arg1, arg2, arg3); + } + + /** + * MEOS {@code tfloat_value_boxes} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer tfloat_value_boxes(jnr.ffi.Pointer arg0, double arg1, double arg2, jnr.ffi.Pointer arg3) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tfloat_value_boxes requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tfloat_value_boxes(arg0, arg1, arg2, arg3); + } + + /** + * MEOS {@code tfloat_value_n} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer tfloat_value_n(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tfloat_value_n requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tfloat_value_n(arg0, arg1); + } + + /** + * MEOS {@code tfloat_value_split} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer tfloat_value_split(jnr.ffi.Pointer arg0, double arg1, double arg2) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tfloat_value_split requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tfloat_value_split(arg0, arg1, arg2); + } + + /** + * MEOS {@code tfloat_value_time_boxes} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer tfloat_value_time_boxes(jnr.ffi.Pointer arg0, double arg1, jnr.ffi.Pointer arg2, double arg3, java.time.OffsetDateTime arg4, jnr.ffi.Pointer arg5) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tfloat_value_time_boxes requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tfloat_value_time_boxes(arg0, arg1, arg2, arg3, arg4, arg5); + } + + /** + * MEOS {@code tfloat_value_time_split} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer tfloat_value_time_split(jnr.ffi.Pointer arg0, double arg1, jnr.ffi.Pointer arg2, double arg3, java.time.OffsetDateTime arg4) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tfloat_value_time_split requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tfloat_value_time_split(arg0, arg1, arg2, arg3, arg4); + } + + /** + * MEOS {@code tfloat_values} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer tfloat_values(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tfloat_values requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tfloat_values(arg0, arg1); + } + + /** + * MEOS {@code tfloat_tmax_transfn} — tier windowed. + *

Requires window operator — caller wraps in AggregateFunction.

+ *

Object-model role: {@code aggregate}.

+ *

Classification: role=aggregate

+ */ + public static jnr.ffi.Pointer tfloat_tmax_transfn(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tfloat_tmax_transfn requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tfloat_tmax_transfn(arg0, arg1); + } + + /** + * MEOS {@code tfloat_tmin_transfn} — tier windowed. + *

Requires window operator — caller wraps in AggregateFunction.

+ *

Object-model role: {@code aggregate}.

+ *

Classification: role=aggregate

+ */ + public static jnr.ffi.Pointer tfloat_tmin_transfn(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tfloat_tmin_transfn requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tfloat_tmin_transfn(arg0, arg1); + } + + /** + * MEOS {@code tfloat_tsum_transfn} — tier windowed. + *

Requires window operator — caller wraps in AggregateFunction.

+ *

Object-model role: {@code aggregate}.

+ *

Classification: role=aggregate

+ */ + public static jnr.ffi.Pointer tfloat_tsum_transfn(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tfloat_tsum_transfn requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tfloat_tsum_transfn(arg0, arg1); + } + + /** + * MEOS {@code tfloat_wmax_transfn} — tier windowed. + *

Requires window operator — caller wraps in AggregateFunction.

+ *

Object-model role: {@code aggregate}.

+ *

Classification: role=aggregate

+ */ + public static jnr.ffi.Pointer tfloat_wmax_transfn(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1, jnr.ffi.Pointer arg2) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tfloat_wmax_transfn requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tfloat_wmax_transfn(arg0, arg1, arg2); + } + + /** + * MEOS {@code tfloat_wmin_transfn} — tier windowed. + *

Requires window operator — caller wraps in AggregateFunction.

+ *

Object-model role: {@code aggregate}.

+ *

Classification: role=aggregate

+ */ + public static jnr.ffi.Pointer tfloat_wmin_transfn(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1, jnr.ffi.Pointer arg2) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tfloat_wmin_transfn requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tfloat_wmin_transfn(arg0, arg1, arg2); + } + + /** + * MEOS {@code tfloat_wsum_transfn} — tier windowed. + *

Requires window operator — caller wraps in AggregateFunction.

+ *

Object-model role: {@code aggregate}.

+ *

Classification: role=aggregate

+ */ + public static jnr.ffi.Pointer tfloat_wsum_transfn(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1, jnr.ffi.Pointer arg2) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tfloat_wsum_transfn requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tfloat_wsum_transfn(arg0, arg1, arg2); + } + + /** + * MEOS {@code tfloat_from_mfjson} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Object-model role: {@code constructor}.

+ *

Classification: IO/serialization

+ */ + public static jnr.ffi.Pointer tfloat_from_mfjson(java.lang.String arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tfloat_from_mfjson requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tfloat_from_mfjson(arg0); + } + + /** + * MEOS {@code tfloat_in} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Object-model role: {@code constructor}.

+ *

Classification: IO/serialization

+ */ + public static jnr.ffi.Pointer tfloat_in(java.lang.String arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tfloat_in requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tfloat_in(arg0); + } + + /** + * MEOS {@code tfloat_out} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Object-model role: {@code output}.

+ *

Classification: IO/serialization

+ */ + public static java.lang.String tfloat_out(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tfloat_out requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tfloat_out(arg0, arg1); + } + +} diff --git a/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsTFloatInst.java b/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsTFloatInst.java new file mode 100644 index 00000000..a7bcc476 --- /dev/null +++ b/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsTFloatInst.java @@ -0,0 +1,57 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2020-2026, Université libre de Bruxelles and MobilityDB + * contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +package org.mobilitydb.meos; + +/* AUTO-GENERATED by codegen_flink_v3.py — do not edit by hand. + * MEOS object-model class: TFloatInst + * Methods emitted: 1 (stateless=1) + * Source: JMEOS jar (PR #15 / regen-against-meos-1.4) ∩ streaming-relevance baseline v4. + */ + +import functions.GeneratedFunctions; +import jnr.ffi.Pointer; + +public final class MeosOpsTFloatInst { + + public static final boolean MEOS_AVAILABLE = MeosOpsRuntime.MEOS_AVAILABLE; + + private MeosOpsTFloatInst() { /* utility */ } + + /** + * MEOS {@code tfloatinst_make} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Object-model role: {@code constructor}.

+ *

Classification: constructor of instant/scalar

+ */ + public static jnr.ffi.Pointer tfloatinst_make(double arg0, java.time.OffsetDateTime arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tfloatinst_make requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tfloatinst_make(arg0, arg1); + } + +} diff --git a/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsTGeo.java b/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsTGeo.java new file mode 100644 index 00000000..b110e322 --- /dev/null +++ b/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsTGeo.java @@ -0,0 +1,379 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2020-2026, Université libre de Bruxelles and MobilityDB + * contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +package org.mobilitydb.meos; + +/* AUTO-GENERATED by codegen_flink_v3.py — do not edit by hand. + * MEOS object-model class: TGeo + * Methods emitted: 24 (bounded-state=23 · stateless=1) + * Source: JMEOS jar (PR #15 / regen-against-meos-1.4) ∩ streaming-relevance baseline v4. + */ + +import functions.GeneratedFunctions; +import jnr.ffi.Pointer; + +public final class MeosOpsTGeo { + + public static final boolean MEOS_AVAILABLE = MeosOpsRuntime.MEOS_AVAILABLE; + + private MeosOpsTGeo() { /* utility */ } + + /** + * MEOS {@code tgeo_from_base_temp} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Object-model role: {@code constructor}.

+ *

Classification: constructor of instant/scalar

+ */ + public static jnr.ffi.Pointer tgeo_from_base_temp(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tgeo_from_base_temp requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tgeo_from_base_temp(arg0, arg1); + } + + /** + * MEOS {@code tgeo_affine} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer tgeo_affine(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tgeo_affine requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tgeo_affine(arg0, arg1); + } + + /** + * MEOS {@code tgeo_at_geom} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code restriction}.

+ *

Classification: role=restriction

+ */ + public static jnr.ffi.Pointer tgeo_at_geom(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tgeo_at_geom requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tgeo_at_geom(arg0, arg1); + } + + /** + * MEOS {@code tgeo_at_stbox} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code restriction}.

+ *

Classification: role=restriction

+ */ + public static jnr.ffi.Pointer tgeo_at_stbox(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1, boolean arg2) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tgeo_at_stbox requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tgeo_at_stbox(arg0, arg1, arg2); + } + + /** + * MEOS {@code tgeo_at_value} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code restriction}.

+ *

Classification: role=restriction

+ */ + public static jnr.ffi.Pointer tgeo_at_value(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tgeo_at_value requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tgeo_at_value(arg0, arg1); + } + + /** + * MEOS {@code tgeo_centroid} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer tgeo_centroid(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tgeo_centroid requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tgeo_centroid(arg0); + } + + /** + * MEOS {@code tgeo_convex_hull} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer tgeo_convex_hull(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tgeo_convex_hull requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tgeo_convex_hull(arg0); + } + + /** + * MEOS {@code tgeo_end_value} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer tgeo_end_value(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tgeo_end_value requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tgeo_end_value(arg0); + } + + /** + * MEOS {@code tgeo_minus_geom} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code restriction}.

+ *

Classification: role=restriction

+ */ + public static jnr.ffi.Pointer tgeo_minus_geom(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tgeo_minus_geom requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tgeo_minus_geom(arg0, arg1); + } + + /** + * MEOS {@code tgeo_minus_stbox} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code restriction}.

+ *

Classification: role=restriction

+ */ + public static jnr.ffi.Pointer tgeo_minus_stbox(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1, boolean arg2) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tgeo_minus_stbox requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tgeo_minus_stbox(arg0, arg1, arg2); + } + + /** + * MEOS {@code tgeo_minus_value} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code restriction}.

+ *

Classification: role=restriction

+ */ + public static jnr.ffi.Pointer tgeo_minus_value(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tgeo_minus_value requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tgeo_minus_value(arg0, arg1); + } + + /** + * MEOS {@code tgeo_scale} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer tgeo_scale(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1, jnr.ffi.Pointer arg2) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tgeo_scale requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tgeo_scale(arg0, arg1, arg2); + } + + /** + * MEOS {@code tgeo_space_boxes} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer tgeo_space_boxes(jnr.ffi.Pointer arg0, double arg1, double arg2, double arg3, jnr.ffi.Pointer arg4, boolean arg5, boolean arg6, jnr.ffi.Pointer arg7) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tgeo_space_boxes requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tgeo_space_boxes(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7); + } + + /** + * MEOS {@code tgeo_space_split} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer tgeo_space_split(jnr.ffi.Pointer arg0, double arg1, double arg2, double arg3, jnr.ffi.Pointer arg4, boolean arg5, boolean arg6) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tgeo_space_split requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tgeo_space_split(arg0, arg1, arg2, arg3, arg4, arg5, arg6); + } + + /** + * MEOS {@code tgeo_space_time_boxes} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer tgeo_space_time_boxes(jnr.ffi.Pointer arg0, double arg1, double arg2, double arg3, jnr.ffi.Pointer arg4, jnr.ffi.Pointer arg5, java.time.OffsetDateTime arg6, boolean arg7, boolean arg8, jnr.ffi.Pointer arg9) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tgeo_space_time_boxes requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tgeo_space_time_boxes(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9); + } + + /** + * MEOS {@code tgeo_space_time_split} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer tgeo_space_time_split(jnr.ffi.Pointer arg0, double arg1, double arg2, double arg3, jnr.ffi.Pointer arg4, jnr.ffi.Pointer arg5, java.time.OffsetDateTime arg6, boolean arg7, boolean arg8) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tgeo_space_time_split requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tgeo_space_time_split(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8); + } + + /** + * MEOS {@code tgeo_split_each_n_stboxes} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer tgeo_split_each_n_stboxes(jnr.ffi.Pointer arg0, int arg1, jnr.ffi.Pointer arg2) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tgeo_split_each_n_stboxes requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tgeo_split_each_n_stboxes(arg0, arg1, arg2); + } + + /** + * MEOS {@code tgeo_split_n_stboxes} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer tgeo_split_n_stboxes(jnr.ffi.Pointer arg0, int arg1, jnr.ffi.Pointer arg2) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tgeo_split_n_stboxes requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tgeo_split_n_stboxes(arg0, arg1, arg2); + } + + /** + * MEOS {@code tgeo_start_value} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer tgeo_start_value(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tgeo_start_value requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tgeo_start_value(arg0); + } + + /** + * MEOS {@code tgeo_stboxes} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer tgeo_stboxes(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tgeo_stboxes requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tgeo_stboxes(arg0, arg1); + } + + /** + * MEOS {@code tgeo_traversed_area} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer tgeo_traversed_area(jnr.ffi.Pointer arg0, boolean arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tgeo_traversed_area requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tgeo_traversed_area(arg0, arg1); + } + + /** + * MEOS {@code tgeo_value_at_timestamptz} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code restriction}.

+ *

Classification: role=restriction

+ */ + public static jnr.ffi.Pointer tgeo_value_at_timestamptz(jnr.ffi.Pointer arg0, java.time.OffsetDateTime arg1, boolean arg2) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tgeo_value_at_timestamptz requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tgeo_value_at_timestamptz(arg0, arg1, arg2); + } + + /** + * MEOS {@code tgeo_value_n} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer tgeo_value_n(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tgeo_value_n requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tgeo_value_n(arg0, arg1); + } + + /** + * MEOS {@code tgeo_values} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer tgeo_values(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tgeo_values requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tgeo_values(arg0, arg1); + } + +} diff --git a/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsTGeogPoint.java b/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsTGeogPoint.java new file mode 100644 index 00000000..49ef573e --- /dev/null +++ b/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsTGeogPoint.java @@ -0,0 +1,85 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2020-2026, Université libre de Bruxelles and MobilityDB + * contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +package org.mobilitydb.meos; + +/* AUTO-GENERATED by codegen_flink_v3.py — do not edit by hand. + * MEOS object-model class: TGeogPoint + * Methods emitted: 3 (io-meta=2 · stateless=1) + * Source: JMEOS jar (PR #15 / regen-against-meos-1.4) ∩ streaming-relevance baseline v4. + */ + +import functions.GeneratedFunctions; +import jnr.ffi.Pointer; + +public final class MeosOpsTGeogPoint { + + public static final boolean MEOS_AVAILABLE = MeosOpsRuntime.MEOS_AVAILABLE; + + private MeosOpsTGeogPoint() { /* utility */ } + + /** + * MEOS {@code tgeogpoint_to_tgeography} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Object-model role: {@code conversion}.

+ *

Classification: role=conversion

+ */ + public static jnr.ffi.Pointer tgeogpoint_to_tgeography(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tgeogpoint_to_tgeography requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tgeogpoint_to_tgeography(arg0); + } + + /** + * MEOS {@code tgeogpoint_from_mfjson} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Object-model role: {@code constructor}.

+ *

Classification: IO/serialization

+ */ + public static jnr.ffi.Pointer tgeogpoint_from_mfjson(java.lang.String arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tgeogpoint_from_mfjson requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tgeogpoint_from_mfjson(arg0); + } + + /** + * MEOS {@code tgeogpoint_in} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Object-model role: {@code constructor}.

+ *

Classification: IO/serialization

+ */ + public static jnr.ffi.Pointer tgeogpoint_in(java.lang.String arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tgeogpoint_in requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tgeogpoint_in(arg0); + } + +} diff --git a/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsTGeography.java b/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsTGeography.java new file mode 100644 index 00000000..d34333ee --- /dev/null +++ b/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsTGeography.java @@ -0,0 +1,99 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2020-2026, Université libre de Bruxelles and MobilityDB + * contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +package org.mobilitydb.meos; + +/* AUTO-GENERATED by codegen_flink_v3.py — do not edit by hand. + * MEOS object-model class: TGeography + * Methods emitted: 4 (io-meta=2 · stateless=2) + * Source: JMEOS jar (PR #15 / regen-against-meos-1.4) ∩ streaming-relevance baseline v4. + */ + +import functions.GeneratedFunctions; +import jnr.ffi.Pointer; + +public final class MeosOpsTGeography { + + public static final boolean MEOS_AVAILABLE = MeosOpsRuntime.MEOS_AVAILABLE; + + private MeosOpsTGeography() { /* utility */ } + + /** + * MEOS {@code tgeography_to_tgeogpoint} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Object-model role: {@code conversion}.

+ *

Classification: role=conversion

+ */ + public static jnr.ffi.Pointer tgeography_to_tgeogpoint(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tgeography_to_tgeogpoint requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tgeography_to_tgeogpoint(arg0); + } + + /** + * MEOS {@code tgeography_to_tgeometry} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Object-model role: {@code conversion}.

+ *

Classification: role=conversion

+ */ + public static jnr.ffi.Pointer tgeography_to_tgeometry(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tgeography_to_tgeometry requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tgeography_to_tgeometry(arg0); + } + + /** + * MEOS {@code tgeography_from_mfjson} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Object-model role: {@code constructor}.

+ *

Classification: IO/serialization

+ */ + public static jnr.ffi.Pointer tgeography_from_mfjson(java.lang.String arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tgeography_from_mfjson requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tgeography_from_mfjson(arg0); + } + + /** + * MEOS {@code tgeography_in} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Object-model role: {@code constructor}.

+ *

Classification: IO/serialization

+ */ + public static jnr.ffi.Pointer tgeography_in(java.lang.String arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tgeography_in requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tgeography_in(arg0); + } + +} diff --git a/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsTGeomPoint.java b/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsTGeomPoint.java new file mode 100644 index 00000000..2352507b --- /dev/null +++ b/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsTGeomPoint.java @@ -0,0 +1,99 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2020-2026, Université libre de Bruxelles and MobilityDB + * contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +package org.mobilitydb.meos; + +/* AUTO-GENERATED by codegen_flink_v3.py — do not edit by hand. + * MEOS object-model class: TGeomPoint + * Methods emitted: 4 (io-meta=2 · stateless=2) + * Source: JMEOS jar (PR #15 / regen-against-meos-1.4) ∩ streaming-relevance baseline v4. + */ + +import functions.GeneratedFunctions; +import jnr.ffi.Pointer; + +public final class MeosOpsTGeomPoint { + + public static final boolean MEOS_AVAILABLE = MeosOpsRuntime.MEOS_AVAILABLE; + + private MeosOpsTGeomPoint() { /* utility */ } + + /** + * MEOS {@code tgeompoint_to_tgeometry} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Object-model role: {@code conversion}.

+ *

Classification: role=conversion

+ */ + public static jnr.ffi.Pointer tgeompoint_to_tgeometry(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tgeompoint_to_tgeometry requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tgeompoint_to_tgeometry(arg0); + } + + /** + * MEOS {@code tgeompoint_to_tnpoint} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Object-model role: {@code conversion}.

+ *

Classification: role=conversion

+ */ + public static jnr.ffi.Pointer tgeompoint_to_tnpoint(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tgeompoint_to_tnpoint requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tgeompoint_to_tnpoint(arg0); + } + + /** + * MEOS {@code tgeompoint_from_mfjson} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Object-model role: {@code constructor}.

+ *

Classification: IO/serialization

+ */ + public static jnr.ffi.Pointer tgeompoint_from_mfjson(java.lang.String arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tgeompoint_from_mfjson requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tgeompoint_from_mfjson(arg0); + } + + /** + * MEOS {@code tgeompoint_in} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Object-model role: {@code constructor}.

+ *

Classification: IO/serialization

+ */ + public static jnr.ffi.Pointer tgeompoint_in(java.lang.String arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tgeompoint_in requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tgeompoint_in(arg0); + } + +} diff --git a/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsTGeometry.java b/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsTGeometry.java new file mode 100644 index 00000000..f6bf8d57 --- /dev/null +++ b/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsTGeometry.java @@ -0,0 +1,113 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2020-2026, Université libre de Bruxelles and MobilityDB + * contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +package org.mobilitydb.meos; + +/* AUTO-GENERATED by codegen_flink_v3.py — do not edit by hand. + * MEOS object-model class: TGeometry + * Methods emitted: 5 (stateless=3 · io-meta=2) + * Source: JMEOS jar (PR #15 / regen-against-meos-1.4) ∩ streaming-relevance baseline v4. + */ + +import functions.GeneratedFunctions; +import jnr.ffi.Pointer; + +public final class MeosOpsTGeometry { + + public static final boolean MEOS_AVAILABLE = MeosOpsRuntime.MEOS_AVAILABLE; + + private MeosOpsTGeometry() { /* utility */ } + + /** + * MEOS {@code tgeometry_to_tcbuffer} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Object-model role: {@code conversion}.

+ *

Classification: role=conversion

+ */ + public static jnr.ffi.Pointer tgeometry_to_tcbuffer(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tgeometry_to_tcbuffer requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tgeometry_to_tcbuffer(arg0); + } + + /** + * MEOS {@code tgeometry_to_tgeography} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Object-model role: {@code conversion}.

+ *

Classification: role=conversion

+ */ + public static jnr.ffi.Pointer tgeometry_to_tgeography(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tgeometry_to_tgeography requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tgeometry_to_tgeography(arg0); + } + + /** + * MEOS {@code tgeometry_to_tgeompoint} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Object-model role: {@code conversion}.

+ *

Classification: role=conversion

+ */ + public static jnr.ffi.Pointer tgeometry_to_tgeompoint(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tgeometry_to_tgeompoint requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tgeometry_to_tgeompoint(arg0); + } + + /** + * MEOS {@code tgeometry_from_mfjson} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Object-model role: {@code constructor}.

+ *

Classification: IO/serialization

+ */ + public static jnr.ffi.Pointer tgeometry_from_mfjson(java.lang.String arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tgeometry_from_mfjson requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tgeometry_from_mfjson(arg0); + } + + /** + * MEOS {@code tgeometry_in} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Object-model role: {@code constructor}.

+ *

Classification: IO/serialization

+ */ + public static jnr.ffi.Pointer tgeometry_in(java.lang.String arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tgeometry_in requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tgeometry_in(arg0); + } + +} diff --git a/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsTInt.java b/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsTInt.java new file mode 100644 index 00000000..ad843cb1 --- /dev/null +++ b/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsTInt.java @@ -0,0 +1,449 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2020-2026, Université libre de Bruxelles and MobilityDB + * contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +package org.mobilitydb.meos; + +/* AUTO-GENERATED by codegen_flink_v3.py — do not edit by hand. + * MEOS object-model class: TInt + * Methods emitted: 29 (bounded-state=18 · windowed=6 · io-meta=3 · stateless=2) + * Source: JMEOS jar (PR #15 / regen-against-meos-1.4) ∩ streaming-relevance baseline v4. + */ + +import functions.GeneratedFunctions; +import jnr.ffi.Pointer; + +public final class MeosOpsTInt { + + public static final boolean MEOS_AVAILABLE = MeosOpsRuntime.MEOS_AVAILABLE; + + private MeosOpsTInt() { /* utility */ } + + /** + * MEOS {@code tint_from_base_temp} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Object-model role: {@code constructor}.

+ *

Classification: constructor of instant/scalar

+ */ + public static jnr.ffi.Pointer tint_from_base_temp(int arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tint_from_base_temp requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tint_from_base_temp(arg0, arg1); + } + + /** + * MEOS {@code tint_to_tfloat} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Object-model role: {@code conversion}.

+ *

Classification: role=conversion

+ */ + public static jnr.ffi.Pointer tint_to_tfloat(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tint_to_tfloat requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tint_to_tfloat(arg0); + } + + /** + * MEOS {@code tint_at_value} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code restriction}.

+ *

Classification: role=restriction

+ */ + public static jnr.ffi.Pointer tint_at_value(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tint_at_value requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tint_at_value(arg0, arg1); + } + + /** + * MEOS {@code tint_end_value} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static int tint_end_value(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tint_end_value requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tint_end_value(arg0); + } + + /** + * MEOS {@code tint_max_value} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static int tint_max_value(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tint_max_value requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tint_max_value(arg0); + } + + /** + * MEOS {@code tint_min_value} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static int tint_min_value(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tint_min_value requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tint_min_value(arg0); + } + + /** + * MEOS {@code tint_minus_value} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code restriction}.

+ *

Classification: role=restriction

+ */ + public static jnr.ffi.Pointer tint_minus_value(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tint_minus_value requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tint_minus_value(arg0, arg1); + } + + /** + * MEOS {@code tint_scale_value} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer tint_scale_value(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tint_scale_value requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tint_scale_value(arg0, arg1); + } + + /** + * MEOS {@code tint_shift_scale_value} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer tint_shift_scale_value(jnr.ffi.Pointer arg0, int arg1, int arg2) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tint_shift_scale_value requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tint_shift_scale_value(arg0, arg1, arg2); + } + + /** + * MEOS {@code tint_shift_value} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer tint_shift_value(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tint_shift_value requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tint_shift_value(arg0, arg1); + } + + /** + * MEOS {@code tint_start_value} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static int tint_start_value(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tint_start_value requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tint_start_value(arg0); + } + + /** + * MEOS {@code tint_time_boxes} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer tint_time_boxes(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1, java.time.OffsetDateTime arg2, jnr.ffi.Pointer arg3) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tint_time_boxes requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tint_time_boxes(arg0, arg1, arg2, arg3); + } + + /** + * MEOS {@code tint_value_at_timestamptz} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code restriction}.

+ *

Classification: role=restriction

+ */ + public static jnr.ffi.Pointer tint_value_at_timestamptz(jnr.ffi.Pointer arg0, java.time.OffsetDateTime arg1, boolean arg2) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tint_value_at_timestamptz requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tint_value_at_timestamptz(arg0, arg1, arg2); + } + + /** + * MEOS {@code tint_value_bins} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer tint_value_bins(jnr.ffi.Pointer arg0, int arg1, int arg2, jnr.ffi.Pointer arg3) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tint_value_bins requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tint_value_bins(arg0, arg1, arg2, arg3); + } + + /** + * MEOS {@code tint_value_boxes} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer tint_value_boxes(jnr.ffi.Pointer arg0, int arg1, int arg2, jnr.ffi.Pointer arg3) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tint_value_boxes requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tint_value_boxes(arg0, arg1, arg2, arg3); + } + + /** + * MEOS {@code tint_value_n} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer tint_value_n(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tint_value_n requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tint_value_n(arg0, arg1); + } + + /** + * MEOS {@code tint_value_split} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer tint_value_split(jnr.ffi.Pointer arg0, int arg1, int arg2) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tint_value_split requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tint_value_split(arg0, arg1, arg2); + } + + /** + * MEOS {@code tint_value_time_boxes} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer tint_value_time_boxes(jnr.ffi.Pointer arg0, int arg1, jnr.ffi.Pointer arg2, int arg3, java.time.OffsetDateTime arg4, jnr.ffi.Pointer arg5) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tint_value_time_boxes requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tint_value_time_boxes(arg0, arg1, arg2, arg3, arg4, arg5); + } + + /** + * MEOS {@code tint_value_time_split} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer tint_value_time_split(jnr.ffi.Pointer arg0, long arg1, jnr.ffi.Pointer arg2, int arg3, java.time.OffsetDateTime arg4) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tint_value_time_split requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tint_value_time_split(arg0, arg1, arg2, arg3, arg4); + } + + /** + * MEOS {@code tint_values} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer tint_values(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tint_values requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tint_values(arg0, arg1); + } + + /** + * MEOS {@code tint_tmax_transfn} — tier windowed. + *

Requires window operator — caller wraps in AggregateFunction.

+ *

Object-model role: {@code aggregate}.

+ *

Classification: role=aggregate

+ */ + public static jnr.ffi.Pointer tint_tmax_transfn(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tint_tmax_transfn requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tint_tmax_transfn(arg0, arg1); + } + + /** + * MEOS {@code tint_tmin_transfn} — tier windowed. + *

Requires window operator — caller wraps in AggregateFunction.

+ *

Object-model role: {@code aggregate}.

+ *

Classification: role=aggregate

+ */ + public static jnr.ffi.Pointer tint_tmin_transfn(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tint_tmin_transfn requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tint_tmin_transfn(arg0, arg1); + } + + /** + * MEOS {@code tint_tsum_transfn} — tier windowed. + *

Requires window operator — caller wraps in AggregateFunction.

+ *

Object-model role: {@code aggregate}.

+ *

Classification: role=aggregate

+ */ + public static jnr.ffi.Pointer tint_tsum_transfn(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tint_tsum_transfn requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tint_tsum_transfn(arg0, arg1); + } + + /** + * MEOS {@code tint_wmax_transfn} — tier windowed. + *

Requires window operator — caller wraps in AggregateFunction.

+ *

Object-model role: {@code aggregate}.

+ *

Classification: role=aggregate

+ */ + public static jnr.ffi.Pointer tint_wmax_transfn(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1, jnr.ffi.Pointer arg2) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tint_wmax_transfn requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tint_wmax_transfn(arg0, arg1, arg2); + } + + /** + * MEOS {@code tint_wmin_transfn} — tier windowed. + *

Requires window operator — caller wraps in AggregateFunction.

+ *

Object-model role: {@code aggregate}.

+ *

Classification: role=aggregate

+ */ + public static jnr.ffi.Pointer tint_wmin_transfn(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1, jnr.ffi.Pointer arg2) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tint_wmin_transfn requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tint_wmin_transfn(arg0, arg1, arg2); + } + + /** + * MEOS {@code tint_wsum_transfn} — tier windowed. + *

Requires window operator — caller wraps in AggregateFunction.

+ *

Object-model role: {@code aggregate}.

+ *

Classification: role=aggregate

+ */ + public static jnr.ffi.Pointer tint_wsum_transfn(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1, jnr.ffi.Pointer arg2) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tint_wsum_transfn requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tint_wsum_transfn(arg0, arg1, arg2); + } + + /** + * MEOS {@code tint_from_mfjson} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Object-model role: {@code constructor}.

+ *

Classification: IO/serialization

+ */ + public static jnr.ffi.Pointer tint_from_mfjson(java.lang.String arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tint_from_mfjson requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tint_from_mfjson(arg0); + } + + /** + * MEOS {@code tint_in} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Object-model role: {@code constructor}.

+ *

Classification: IO/serialization

+ */ + public static jnr.ffi.Pointer tint_in(java.lang.String arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tint_in requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tint_in(arg0); + } + + /** + * MEOS {@code tint_out} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Object-model role: {@code output}.

+ *

Classification: IO/serialization

+ */ + public static java.lang.String tint_out(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tint_out requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tint_out(arg0); + } + +} diff --git a/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsTIntInst.java b/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsTIntInst.java new file mode 100644 index 00000000..02b96600 --- /dev/null +++ b/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsTIntInst.java @@ -0,0 +1,57 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2020-2026, Université libre de Bruxelles and MobilityDB + * contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +package org.mobilitydb.meos; + +/* AUTO-GENERATED by codegen_flink_v3.py — do not edit by hand. + * MEOS object-model class: TIntInst + * Methods emitted: 1 (stateless=1) + * Source: JMEOS jar (PR #15 / regen-against-meos-1.4) ∩ streaming-relevance baseline v4. + */ + +import functions.GeneratedFunctions; +import jnr.ffi.Pointer; + +public final class MeosOpsTIntInst { + + public static final boolean MEOS_AVAILABLE = MeosOpsRuntime.MEOS_AVAILABLE; + + private MeosOpsTIntInst() { /* utility */ } + + /** + * MEOS {@code tintinst_make} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Object-model role: {@code constructor}.

+ *

Classification: constructor of instant/scalar

+ */ + public static jnr.ffi.Pointer tintinst_make(int arg0, java.time.OffsetDateTime arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tintinst_make requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tintinst_make(arg0, arg1); + } + +} diff --git a/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsTNpoint.java b/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsTNpoint.java new file mode 100644 index 00000000..f20f405e --- /dev/null +++ b/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsTNpoint.java @@ -0,0 +1,337 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2020-2026, Université libre de Bruxelles and MobilityDB + * contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +package org.mobilitydb.meos; + +/* AUTO-GENERATED by codegen_flink_v3.py — do not edit by hand. + * MEOS object-model class: TNpoint + * Methods emitted: 21 (bounded-state=16 · io-meta=3 · stateless=1 · windowed=1) + * Source: JMEOS jar (PR #15 / regen-against-meos-1.4) ∩ streaming-relevance baseline v4. + */ + +import functions.GeneratedFunctions; +import jnr.ffi.Pointer; + +public final class MeosOpsTNpoint { + + public static final boolean MEOS_AVAILABLE = MeosOpsRuntime.MEOS_AVAILABLE; + + private MeosOpsTNpoint() { /* utility */ } + + /** + * MEOS {@code tnpoint_to_tgeompoint} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Object-model role: {@code conversion}.

+ *

Classification: role=conversion

+ */ + public static jnr.ffi.Pointer tnpoint_to_tgeompoint(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tnpoint_to_tgeompoint requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tnpoint_to_tgeompoint(arg0); + } + + /** + * MEOS {@code tnpoint_at_geom} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code restriction}.

+ *

Classification: role=restriction

+ */ + public static jnr.ffi.Pointer tnpoint_at_geom(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tnpoint_at_geom requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tnpoint_at_geom(arg0, arg1); + } + + /** + * MEOS {@code tnpoint_at_npoint} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code restriction}.

+ *

Classification: role=restriction

+ */ + public static jnr.ffi.Pointer tnpoint_at_npoint(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tnpoint_at_npoint requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tnpoint_at_npoint(arg0, arg1); + } + + /** + * MEOS {@code tnpoint_at_npointset} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code restriction}.

+ *

Classification: role=restriction

+ */ + public static jnr.ffi.Pointer tnpoint_at_npointset(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tnpoint_at_npointset requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tnpoint_at_npointset(arg0, arg1); + } + + /** + * MEOS {@code tnpoint_at_stbox} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code restriction}.

+ *

Classification: role=restriction

+ */ + public static jnr.ffi.Pointer tnpoint_at_stbox(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1, boolean arg2) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tnpoint_at_stbox requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tnpoint_at_stbox(arg0, arg1, arg2); + } + + /** + * MEOS {@code tnpoint_cumulative_length} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer tnpoint_cumulative_length(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tnpoint_cumulative_length requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tnpoint_cumulative_length(arg0); + } + + /** + * MEOS {@code tnpoint_length} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static double tnpoint_length(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tnpoint_length requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tnpoint_length(arg0); + } + + /** + * MEOS {@code tnpoint_minus_geom} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code restriction}.

+ *

Classification: role=restriction

+ */ + public static jnr.ffi.Pointer tnpoint_minus_geom(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tnpoint_minus_geom requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tnpoint_minus_geom(arg0, arg1); + } + + /** + * MEOS {@code tnpoint_minus_npoint} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code restriction}.

+ *

Classification: role=restriction

+ */ + public static jnr.ffi.Pointer tnpoint_minus_npoint(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tnpoint_minus_npoint requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tnpoint_minus_npoint(arg0, arg1); + } + + /** + * MEOS {@code tnpoint_minus_npointset} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code restriction}.

+ *

Classification: role=restriction

+ */ + public static jnr.ffi.Pointer tnpoint_minus_npointset(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tnpoint_minus_npointset requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tnpoint_minus_npointset(arg0, arg1); + } + + /** + * MEOS {@code tnpoint_minus_stbox} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code restriction}.

+ *

Classification: role=restriction

+ */ + public static jnr.ffi.Pointer tnpoint_minus_stbox(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1, boolean arg2) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tnpoint_minus_stbox requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tnpoint_minus_stbox(arg0, arg1, arg2); + } + + /** + * MEOS {@code tnpoint_positions} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer tnpoint_positions(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tnpoint_positions requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tnpoint_positions(arg0, arg1); + } + + /** + * MEOS {@code tnpoint_route} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static long tnpoint_route(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tnpoint_route requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tnpoint_route(arg0); + } + + /** + * MEOS {@code tnpoint_routes} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer tnpoint_routes(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tnpoint_routes requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tnpoint_routes(arg0); + } + + /** + * MEOS {@code tnpoint_speed} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer tnpoint_speed(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tnpoint_speed requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tnpoint_speed(arg0); + } + + /** + * MEOS {@code tnpoint_trajectory} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer tnpoint_trajectory(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tnpoint_trajectory requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tnpoint_trajectory(arg0); + } + + /** + * MEOS {@code tnpoint_twcentroid} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer tnpoint_twcentroid(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tnpoint_twcentroid requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tnpoint_twcentroid(arg0); + } + + /** + * MEOS {@code tnpoint_tcentroid_transfn} — tier windowed. + *

Requires window operator — caller wraps in AggregateFunction.

+ *

Object-model role: {@code aggregate}.

+ *

Classification: role=aggregate

+ */ + public static jnr.ffi.Pointer tnpoint_tcentroid_transfn(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tnpoint_tcentroid_transfn requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tnpoint_tcentroid_transfn(arg0, arg1); + } + + /** + * MEOS {@code tnpoint_from_mfjson} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Object-model role: {@code constructor}.

+ *

Classification: IO/serialization

+ */ + public static jnr.ffi.Pointer tnpoint_from_mfjson(java.lang.String arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tnpoint_from_mfjson requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tnpoint_from_mfjson(arg0); + } + + /** + * MEOS {@code tnpoint_in} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Object-model role: {@code constructor}.

+ *

Classification: IO/serialization

+ */ + public static jnr.ffi.Pointer tnpoint_in(java.lang.String arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tnpoint_in requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tnpoint_in(arg0); + } + + /** + * MEOS {@code tnpoint_out} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Object-model role: {@code output}.

+ *

Classification: IO/serialization

+ */ + public static java.lang.String tnpoint_out(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tnpoint_out requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tnpoint_out(arg0, arg1); + } + +} diff --git a/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsTNpointInst.java b/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsTNpointInst.java new file mode 100644 index 00000000..225ca517 --- /dev/null +++ b/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsTNpointInst.java @@ -0,0 +1,57 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2020-2026, Université libre de Bruxelles and MobilityDB + * contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +package org.mobilitydb.meos; + +/* AUTO-GENERATED by codegen_flink_v3.py — do not edit by hand. + * MEOS object-model class: TNpointInst + * Methods emitted: 1 (stateless=1) + * Source: JMEOS jar (PR #15 / regen-against-meos-1.4) ∩ streaming-relevance baseline v4. + */ + +import functions.GeneratedFunctions; +import jnr.ffi.Pointer; + +public final class MeosOpsTNpointInst { + + public static final boolean MEOS_AVAILABLE = MeosOpsRuntime.MEOS_AVAILABLE; + + private MeosOpsTNpointInst() { /* utility */ } + + /** + * MEOS {@code tnpointinst_make} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Object-model role: {@code constructor}.

+ *

Classification: constructor of instant/scalar

+ */ + public static jnr.ffi.Pointer tnpointinst_make(jnr.ffi.Pointer arg0, java.time.OffsetDateTime arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tnpointinst_make requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tnpointinst_make(arg0, arg1); + } + +} diff --git a/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsTNumber.java b/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsTNumber.java new file mode 100644 index 00000000..dd627915 --- /dev/null +++ b/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsTNumber.java @@ -0,0 +1,365 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2020-2026, Université libre de Bruxelles and MobilityDB + * contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +package org.mobilitydb.meos; + +/* AUTO-GENERATED by codegen_flink_v3.py — do not edit by hand. + * MEOS object-model class: TNumber + * Methods emitted: 23 (bounded-state=17 · windowed=4 · stateless=2) + * Source: JMEOS jar (PR #15 / regen-against-meos-1.4) ∩ streaming-relevance baseline v4. + */ + +import functions.GeneratedFunctions; +import jnr.ffi.Pointer; + +public final class MeosOpsTNumber { + + public static final boolean MEOS_AVAILABLE = MeosOpsRuntime.MEOS_AVAILABLE; + + private MeosOpsTNumber() { /* utility */ } + + /** + * MEOS {@code tnumber_to_span} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Object-model role: {@code conversion}.

+ *

Classification: role=conversion

+ */ + public static jnr.ffi.Pointer tnumber_to_span(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tnumber_to_span requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tnumber_to_span(arg0); + } + + /** + * MEOS {@code tnumber_to_tbox} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Object-model role: {@code conversion}.

+ *

Classification: role=conversion

+ */ + public static jnr.ffi.Pointer tnumber_to_tbox(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tnumber_to_tbox requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tnumber_to_tbox(arg0); + } + + /** + * MEOS {@code tnumber_abs} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer tnumber_abs(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tnumber_abs requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tnumber_abs(arg0); + } + + /** + * MEOS {@code tnumber_angular_difference} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer tnumber_angular_difference(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tnumber_angular_difference requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tnumber_angular_difference(arg0); + } + + /** + * MEOS {@code tnumber_at_span} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code restriction}.

+ *

Classification: role=restriction

+ */ + public static jnr.ffi.Pointer tnumber_at_span(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tnumber_at_span requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tnumber_at_span(arg0, arg1); + } + + /** + * MEOS {@code tnumber_at_spanset} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code restriction}.

+ *

Classification: role=restriction

+ */ + public static jnr.ffi.Pointer tnumber_at_spanset(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tnumber_at_spanset requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tnumber_at_spanset(arg0, arg1); + } + + /** + * MEOS {@code tnumber_at_tbox} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code restriction}.

+ *

Classification: role=restriction

+ */ + public static jnr.ffi.Pointer tnumber_at_tbox(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tnumber_at_tbox requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tnumber_at_tbox(arg0, arg1); + } + + /** + * MEOS {@code tnumber_avg_value} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static double tnumber_avg_value(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tnumber_avg_value requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tnumber_avg_value(arg0); + } + + /** + * MEOS {@code tnumber_delta_value} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer tnumber_delta_value(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tnumber_delta_value requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tnumber_delta_value(arg0); + } + + /** + * MEOS {@code tnumber_integral} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static double tnumber_integral(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tnumber_integral requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tnumber_integral(arg0); + } + + /** + * MEOS {@code tnumber_minus_span} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code restriction}.

+ *

Classification: role=restriction

+ */ + public static jnr.ffi.Pointer tnumber_minus_span(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tnumber_minus_span requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tnumber_minus_span(arg0, arg1); + } + + /** + * MEOS {@code tnumber_minus_spanset} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code restriction}.

+ *

Classification: role=restriction

+ */ + public static jnr.ffi.Pointer tnumber_minus_spanset(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tnumber_minus_spanset requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tnumber_minus_spanset(arg0, arg1); + } + + /** + * MEOS {@code tnumber_minus_tbox} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code restriction}.

+ *

Classification: role=restriction

+ */ + public static jnr.ffi.Pointer tnumber_minus_tbox(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tnumber_minus_tbox requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tnumber_minus_tbox(arg0, arg1); + } + + /** + * MEOS {@code tnumber_split_each_n_tboxes} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer tnumber_split_each_n_tboxes(jnr.ffi.Pointer arg0, int arg1, jnr.ffi.Pointer arg2) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tnumber_split_each_n_tboxes requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tnumber_split_each_n_tboxes(arg0, arg1, arg2); + } + + /** + * MEOS {@code tnumber_split_n_tboxes} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer tnumber_split_n_tboxes(jnr.ffi.Pointer arg0, int arg1, jnr.ffi.Pointer arg2) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tnumber_split_n_tboxes requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tnumber_split_n_tboxes(arg0, arg1, arg2); + } + + /** + * MEOS {@code tnumber_tboxes} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer tnumber_tboxes(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tnumber_tboxes requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tnumber_tboxes(arg0, arg1); + } + + /** + * MEOS {@code tnumber_trend} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer tnumber_trend(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tnumber_trend requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tnumber_trend(arg0); + } + + /** + * MEOS {@code tnumber_twavg} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static double tnumber_twavg(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tnumber_twavg requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tnumber_twavg(arg0); + } + + /** + * MEOS {@code tnumber_valuespans} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer tnumber_valuespans(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tnumber_valuespans requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tnumber_valuespans(arg0); + } + + /** + * MEOS {@code tnumber_extent_transfn} — tier windowed. + *

Requires window operator — caller wraps in AggregateFunction.

+ *

Object-model role: {@code aggregate}.

+ *

Classification: role=aggregate

+ */ + public static jnr.ffi.Pointer tnumber_extent_transfn(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tnumber_extent_transfn requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tnumber_extent_transfn(arg0, arg1); + } + + /** + * MEOS {@code tnumber_tavg_finalfn} — tier windowed. + *

Requires window operator — caller wraps in AggregateFunction.

+ *

Object-model role: {@code aggregate}.

+ *

Classification: role=aggregate

+ */ + public static jnr.ffi.Pointer tnumber_tavg_finalfn(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tnumber_tavg_finalfn requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tnumber_tavg_finalfn(arg0); + } + + /** + * MEOS {@code tnumber_tavg_transfn} — tier windowed. + *

Requires window operator — caller wraps in AggregateFunction.

+ *

Object-model role: {@code aggregate}.

+ *

Classification: role=aggregate

+ */ + public static jnr.ffi.Pointer tnumber_tavg_transfn(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tnumber_tavg_transfn requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tnumber_tavg_transfn(arg0, arg1); + } + + /** + * MEOS {@code tnumber_wavg_transfn} — tier windowed. + *

Requires window operator — caller wraps in AggregateFunction.

+ *

Object-model role: {@code aggregate}.

+ *

Classification: role=aggregate

+ */ + public static jnr.ffi.Pointer tnumber_wavg_transfn(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1, jnr.ffi.Pointer arg2) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tnumber_wavg_transfn requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tnumber_wavg_transfn(arg0, arg1, arg2); + } + +} diff --git a/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsTPoint.java b/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsTPoint.java new file mode 100644 index 00000000..fdacd7ea --- /dev/null +++ b/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsTPoint.java @@ -0,0 +1,379 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2020-2026, Université libre de Bruxelles and MobilityDB + * contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +package org.mobilitydb.meos; + +/* AUTO-GENERATED by codegen_flink_v3.py — do not edit by hand. + * MEOS object-model class: TPoint + * Methods emitted: 24 (bounded-state=20 · stateless=2 · windowed=2) + * Source: JMEOS jar (PR #15 / regen-against-meos-1.4) ∩ streaming-relevance baseline v4. + */ + +import functions.GeneratedFunctions; +import jnr.ffi.Pointer; + +public final class MeosOpsTPoint { + + public static final boolean MEOS_AVAILABLE = MeosOpsRuntime.MEOS_AVAILABLE; + + private MeosOpsTPoint() { /* utility */ } + + /** + * MEOS {@code tpoint_from_base_temp} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Object-model role: {@code constructor}.

+ *

Classification: constructor of instant/scalar

+ */ + public static jnr.ffi.Pointer tpoint_from_base_temp(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tpoint_from_base_temp requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tpoint_from_base_temp(arg0, arg1); + } + + /** + * MEOS {@code tpoint_tfloat_to_geomeas} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Object-model role: {@code conversion}.

+ *

Classification: role=conversion

+ */ + public static jnr.ffi.Pointer tpoint_tfloat_to_geomeas(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1, boolean arg2) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tpoint_tfloat_to_geomeas requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tpoint_tfloat_to_geomeas(arg0, arg1, arg2); + } + + /** + * MEOS {@code tpoint_angular_difference} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer tpoint_angular_difference(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tpoint_angular_difference requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tpoint_angular_difference(arg0); + } + + /** + * MEOS {@code tpoint_as_mvtgeom} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer tpoint_as_mvtgeom(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1, int arg2, int arg3, boolean arg4) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tpoint_as_mvtgeom requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tpoint_as_mvtgeom(arg0, arg1, arg2, arg3, arg4); + } + + /** + * MEOS {@code tpoint_at_elevation} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code restriction}.

+ *

Classification: role=restriction

+ */ + public static jnr.ffi.Pointer tpoint_at_elevation(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tpoint_at_elevation requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tpoint_at_elevation(arg0, arg1); + } + + /** + * MEOS {@code tpoint_at_geom} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code restriction}.

+ *

Classification: role=restriction

+ */ + public static jnr.ffi.Pointer tpoint_at_geom(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tpoint_at_geom requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tpoint_at_geom(arg0, arg1); + } + + /** + * MEOS {@code tpoint_at_value} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code restriction}.

+ *

Classification: role=restriction

+ */ + public static jnr.ffi.Pointer tpoint_at_value(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tpoint_at_value requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tpoint_at_value(arg0, arg1); + } + + /** + * MEOS {@code tpoint_azimuth} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer tpoint_azimuth(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tpoint_azimuth requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tpoint_azimuth(arg0); + } + + /** + * MEOS {@code tpoint_cumulative_length} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer tpoint_cumulative_length(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tpoint_cumulative_length requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tpoint_cumulative_length(arg0); + } + + /** + * MEOS {@code tpoint_direction} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer tpoint_direction(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tpoint_direction requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tpoint_direction(arg0); + } + + /** + * MEOS {@code tpoint_get_x} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer tpoint_get_x(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tpoint_get_x requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tpoint_get_x(arg0); + } + + /** + * MEOS {@code tpoint_get_y} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer tpoint_get_y(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tpoint_get_y requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tpoint_get_y(arg0); + } + + /** + * MEOS {@code tpoint_get_z} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer tpoint_get_z(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tpoint_get_z requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tpoint_get_z(arg0); + } + + /** + * MEOS {@code tpoint_is_simple} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static boolean tpoint_is_simple(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tpoint_is_simple requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tpoint_is_simple(arg0); + } + + /** + * MEOS {@code tpoint_length} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static double tpoint_length(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tpoint_length requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tpoint_length(arg0); + } + + /** + * MEOS {@code tpoint_make_simple} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer tpoint_make_simple(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tpoint_make_simple requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tpoint_make_simple(arg0, arg1); + } + + /** + * MEOS {@code tpoint_minus_elevation} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code restriction}.

+ *

Classification: role=restriction

+ */ + public static jnr.ffi.Pointer tpoint_minus_elevation(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tpoint_minus_elevation requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tpoint_minus_elevation(arg0, arg1); + } + + /** + * MEOS {@code tpoint_minus_geom} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code restriction}.

+ *

Classification: role=restriction

+ */ + public static jnr.ffi.Pointer tpoint_minus_geom(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tpoint_minus_geom requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tpoint_minus_geom(arg0, arg1); + } + + /** + * MEOS {@code tpoint_minus_value} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code restriction}.

+ *

Classification: role=restriction

+ */ + public static jnr.ffi.Pointer tpoint_minus_value(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tpoint_minus_value requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tpoint_minus_value(arg0, arg1); + } + + /** + * MEOS {@code tpoint_speed} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer tpoint_speed(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tpoint_speed requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tpoint_speed(arg0); + } + + /** + * MEOS {@code tpoint_trajectory} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer tpoint_trajectory(jnr.ffi.Pointer arg0, boolean arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tpoint_trajectory requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tpoint_trajectory(arg0, arg1); + } + + /** + * MEOS {@code tpoint_twcentroid} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer tpoint_twcentroid(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tpoint_twcentroid requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tpoint_twcentroid(arg0); + } + + /** + * MEOS {@code tpoint_tcentroid_finalfn} — tier windowed. + *

Requires window operator — caller wraps in AggregateFunction.

+ *

Object-model role: {@code aggregate}.

+ *

Classification: role=aggregate

+ */ + public static jnr.ffi.Pointer tpoint_tcentroid_finalfn(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tpoint_tcentroid_finalfn requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tpoint_tcentroid_finalfn(arg0); + } + + /** + * MEOS {@code tpoint_tcentroid_transfn} — tier windowed. + *

Requires window operator — caller wraps in AggregateFunction.

+ *

Object-model role: {@code aggregate}.

+ *

Classification: role=aggregate

+ */ + public static jnr.ffi.Pointer tpoint_tcentroid_transfn(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tpoint_tcentroid_transfn requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tpoint_tcentroid_transfn(arg0, arg1); + } + +} diff --git a/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsTPose.java b/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsTPose.java new file mode 100644 index 00000000..b3309ec8 --- /dev/null +++ b/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsTPose.java @@ -0,0 +1,281 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2020-2026, Université libre de Bruxelles and MobilityDB + * contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +package org.mobilitydb.meos; + +/* AUTO-GENERATED by codegen_flink_v3.py — do not edit by hand. + * MEOS object-model class: TPose + * Methods emitted: 17 (bounded-state=14 · stateless=2 · io-meta=1) + * Source: JMEOS jar (PR #15 / regen-against-meos-1.4) ∩ streaming-relevance baseline v4. + */ + +import functions.GeneratedFunctions; +import jnr.ffi.Pointer; + +public final class MeosOpsTPose { + + public static final boolean MEOS_AVAILABLE = MeosOpsRuntime.MEOS_AVAILABLE; + + private MeosOpsTPose() { /* utility */ } + + /** + * MEOS {@code tpose_make} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Object-model role: {@code constructor}.

+ *

Classification: constructor of instant/scalar

+ */ + public static jnr.ffi.Pointer tpose_make(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tpose_make requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tpose_make(arg0, arg1); + } + + /** + * MEOS {@code tpose_to_tpoint} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Object-model role: {@code conversion}.

+ *

Classification: role=conversion

+ */ + public static jnr.ffi.Pointer tpose_to_tpoint(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tpose_to_tpoint requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tpose_to_tpoint(arg0); + } + + /** + * MEOS {@code tpose_at_geom} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code restriction}.

+ *

Classification: role=restriction

+ */ + public static jnr.ffi.Pointer tpose_at_geom(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tpose_at_geom requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tpose_at_geom(arg0, arg1); + } + + /** + * MEOS {@code tpose_at_pose} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code restriction}.

+ *

Classification: role=restriction

+ */ + public static jnr.ffi.Pointer tpose_at_pose(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tpose_at_pose requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tpose_at_pose(arg0, arg1); + } + + /** + * MEOS {@code tpose_at_stbox} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code restriction}.

+ *

Classification: role=restriction

+ */ + public static jnr.ffi.Pointer tpose_at_stbox(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1, boolean arg2) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tpose_at_stbox requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tpose_at_stbox(arg0, arg1, arg2); + } + + /** + * MEOS {@code tpose_end_value} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer tpose_end_value(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tpose_end_value requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tpose_end_value(arg0); + } + + /** + * MEOS {@code tpose_minus_geom} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code restriction}.

+ *

Classification: role=restriction

+ */ + public static jnr.ffi.Pointer tpose_minus_geom(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tpose_minus_geom requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tpose_minus_geom(arg0, arg1); + } + + /** + * MEOS {@code tpose_minus_pose} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code restriction}.

+ *

Classification: role=restriction

+ */ + public static jnr.ffi.Pointer tpose_minus_pose(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tpose_minus_pose requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tpose_minus_pose(arg0, arg1); + } + + /** + * MEOS {@code tpose_minus_stbox} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code restriction}.

+ *

Classification: role=restriction

+ */ + public static jnr.ffi.Pointer tpose_minus_stbox(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1, boolean arg2) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tpose_minus_stbox requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tpose_minus_stbox(arg0, arg1, arg2); + } + + /** + * MEOS {@code tpose_points} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer tpose_points(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tpose_points requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tpose_points(arg0); + } + + /** + * MEOS {@code tpose_rotation} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer tpose_rotation(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tpose_rotation requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tpose_rotation(arg0); + } + + /** + * MEOS {@code tpose_start_value} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer tpose_start_value(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tpose_start_value requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tpose_start_value(arg0); + } + + /** + * MEOS {@code tpose_trajectory} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer tpose_trajectory(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tpose_trajectory requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tpose_trajectory(arg0); + } + + /** + * MEOS {@code tpose_value_at_timestamptz} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code restriction}.

+ *

Classification: role=restriction

+ */ + public static jnr.ffi.Pointer tpose_value_at_timestamptz(jnr.ffi.Pointer arg0, java.time.OffsetDateTime arg1, boolean arg2) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tpose_value_at_timestamptz requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tpose_value_at_timestamptz(arg0, arg1, arg2); + } + + /** + * MEOS {@code tpose_value_n} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer tpose_value_n(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tpose_value_n requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tpose_value_n(arg0, arg1); + } + + /** + * MEOS {@code tpose_values} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer tpose_values(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tpose_values requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tpose_values(arg0, arg1); + } + + /** + * MEOS {@code tpose_in} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Object-model role: {@code constructor}.

+ *

Classification: IO/serialization

+ */ + public static jnr.ffi.Pointer tpose_in(java.lang.String arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tpose_in requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tpose_in(arg0); + } + +} diff --git a/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsTRGeometry.java b/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsTRGeometry.java new file mode 100644 index 00000000..6ef8543f --- /dev/null +++ b/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsTRGeometry.java @@ -0,0 +1,547 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2020-2026, Université libre de Bruxelles and MobilityDB + * contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +package org.mobilitydb.meos; + +/* AUTO-GENERATED by codegen_flink_v3.py — do not edit by hand. + * MEOS object-model class: TRGeometry + * Methods emitted: 36 (bounded-state=32 · stateless=3 · io-meta=1) + * Source: JMEOS jar (PR #15 / regen-against-meos-1.4) ∩ streaming-relevance baseline v4. + */ + +import functions.GeneratedFunctions; +import jnr.ffi.Pointer; + +public final class MeosOpsTRGeometry { + + public static final boolean MEOS_AVAILABLE = MeosOpsRuntime.MEOS_AVAILABLE; + + private MeosOpsTRGeometry() { /* utility */ } + + /** + * MEOS {@code trgeometry_to_tinstant} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Object-model role: {@code conversion}.

+ *

Classification: role=conversion

+ */ + public static jnr.ffi.Pointer trgeometry_to_tinstant(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "trgeometry_to_tinstant requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.trgeometry_to_tinstant(arg0); + } + + /** + * MEOS {@code trgeometry_to_tpoint} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Object-model role: {@code conversion}.

+ *

Classification: role=conversion

+ */ + public static jnr.ffi.Pointer trgeometry_to_tpoint(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "trgeometry_to_tpoint requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.trgeometry_to_tpoint(arg0); + } + + /** + * MEOS {@code trgeometry_to_tpose} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Object-model role: {@code conversion}.

+ *

Classification: role=conversion

+ */ + public static jnr.ffi.Pointer trgeometry_to_tpose(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "trgeometry_to_tpose requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.trgeometry_to_tpose(arg0); + } + + /** + * MEOS {@code trgeometry_after_timestamptz} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer trgeometry_after_timestamptz(jnr.ffi.Pointer arg0, java.time.OffsetDateTime arg1, boolean arg2) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "trgeometry_after_timestamptz requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.trgeometry_after_timestamptz(arg0, arg1, arg2); + } + + /** + * MEOS {@code trgeometry_append_tinstant} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer trgeometry_append_tinstant(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1, int arg2, double arg3, jnr.ffi.Pointer arg4, boolean arg5) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "trgeometry_append_tinstant requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.trgeometry_append_tinstant(arg0, arg1, arg2, arg3, arg4, arg5); + } + + /** + * MEOS {@code trgeometry_append_tsequence} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer trgeometry_append_tsequence(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1, boolean arg2) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "trgeometry_append_tsequence requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.trgeometry_append_tsequence(arg0, arg1, arg2); + } + + /** + * MEOS {@code trgeometry_before_timestamptz} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer trgeometry_before_timestamptz(jnr.ffi.Pointer arg0, java.time.OffsetDateTime arg1, boolean arg2) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "trgeometry_before_timestamptz requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.trgeometry_before_timestamptz(arg0, arg1, arg2); + } + + /** + * MEOS {@code trgeometry_delete_timestamptz} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer trgeometry_delete_timestamptz(jnr.ffi.Pointer arg0, java.time.OffsetDateTime arg1, boolean arg2) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "trgeometry_delete_timestamptz requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.trgeometry_delete_timestamptz(arg0, arg1, arg2); + } + + /** + * MEOS {@code trgeometry_delete_tstzset} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer trgeometry_delete_tstzset(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1, boolean arg2) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "trgeometry_delete_tstzset requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.trgeometry_delete_tstzset(arg0, arg1, arg2); + } + + /** + * MEOS {@code trgeometry_delete_tstzspan} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer trgeometry_delete_tstzspan(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1, boolean arg2) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "trgeometry_delete_tstzspan requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.trgeometry_delete_tstzspan(arg0, arg1, arg2); + } + + /** + * MEOS {@code trgeometry_delete_tstzspanset} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer trgeometry_delete_tstzspanset(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1, boolean arg2) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "trgeometry_delete_tstzspanset requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.trgeometry_delete_tstzspanset(arg0, arg1, arg2); + } + + /** + * MEOS {@code trgeometry_end_instant} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer trgeometry_end_instant(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "trgeometry_end_instant requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.trgeometry_end_instant(arg0); + } + + /** + * MEOS {@code trgeometry_end_sequence} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer trgeometry_end_sequence(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "trgeometry_end_sequence requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.trgeometry_end_sequence(arg0); + } + + /** + * MEOS {@code trgeometry_end_value} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer trgeometry_end_value(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "trgeometry_end_value requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.trgeometry_end_value(arg0); + } + + /** + * MEOS {@code trgeometry_geom} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer trgeometry_geom(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "trgeometry_geom requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.trgeometry_geom(arg0); + } + + /** + * MEOS {@code trgeometry_instant_n} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer trgeometry_instant_n(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "trgeometry_instant_n requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.trgeometry_instant_n(arg0, arg1); + } + + /** + * MEOS {@code trgeometry_instants} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer trgeometry_instants(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "trgeometry_instants requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.trgeometry_instants(arg0, arg1); + } + + /** + * MEOS {@code trgeometry_points} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer trgeometry_points(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "trgeometry_points requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.trgeometry_points(arg0); + } + + /** + * MEOS {@code trgeometry_restrict_timestamptz} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer trgeometry_restrict_timestamptz(jnr.ffi.Pointer arg0, java.time.OffsetDateTime arg1, boolean arg2) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "trgeometry_restrict_timestamptz requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.trgeometry_restrict_timestamptz(arg0, arg1, arg2); + } + + /** + * MEOS {@code trgeometry_restrict_tstzset} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer trgeometry_restrict_tstzset(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1, boolean arg2) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "trgeometry_restrict_tstzset requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.trgeometry_restrict_tstzset(arg0, arg1, arg2); + } + + /** + * MEOS {@code trgeometry_restrict_tstzspan} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer trgeometry_restrict_tstzspan(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1, boolean arg2) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "trgeometry_restrict_tstzspan requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.trgeometry_restrict_tstzspan(arg0, arg1, arg2); + } + + /** + * MEOS {@code trgeometry_restrict_tstzspanset} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer trgeometry_restrict_tstzspanset(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1, boolean arg2) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "trgeometry_restrict_tstzspanset requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.trgeometry_restrict_tstzspanset(arg0, arg1, arg2); + } + + /** + * MEOS {@code trgeometry_restrict_value} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer trgeometry_restrict_value(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1, boolean arg2) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "trgeometry_restrict_value requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.trgeometry_restrict_value(arg0, arg1, arg2); + } + + /** + * MEOS {@code trgeometry_restrict_values} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer trgeometry_restrict_values(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1, boolean arg2) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "trgeometry_restrict_values requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.trgeometry_restrict_values(arg0, arg1, arg2); + } + + /** + * MEOS {@code trgeometry_rotation} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer trgeometry_rotation(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "trgeometry_rotation requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.trgeometry_rotation(arg0); + } + + /** + * MEOS {@code trgeometry_round} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer trgeometry_round(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "trgeometry_round requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.trgeometry_round(arg0, arg1); + } + + /** + * MEOS {@code trgeometry_segments} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer trgeometry_segments(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "trgeometry_segments requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.trgeometry_segments(arg0, arg1); + } + + /** + * MEOS {@code trgeometry_sequence_n} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer trgeometry_sequence_n(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "trgeometry_sequence_n requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.trgeometry_sequence_n(arg0, arg1); + } + + /** + * MEOS {@code trgeometry_sequences} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer trgeometry_sequences(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "trgeometry_sequences requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.trgeometry_sequences(arg0, arg1); + } + + /** + * MEOS {@code trgeometry_set_interp} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer trgeometry_set_interp(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "trgeometry_set_interp requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.trgeometry_set_interp(arg0, arg1); + } + + /** + * MEOS {@code trgeometry_start_instant} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer trgeometry_start_instant(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "trgeometry_start_instant requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.trgeometry_start_instant(arg0); + } + + /** + * MEOS {@code trgeometry_start_sequence} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer trgeometry_start_sequence(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "trgeometry_start_sequence requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.trgeometry_start_sequence(arg0); + } + + /** + * MEOS {@code trgeometry_start_value} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer trgeometry_start_value(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "trgeometry_start_value requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.trgeometry_start_value(arg0); + } + + /** + * MEOS {@code trgeometry_traversed_area} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer trgeometry_traversed_area(jnr.ffi.Pointer arg0, boolean arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "trgeometry_traversed_area requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.trgeometry_traversed_area(arg0, arg1); + } + + /** + * MEOS {@code trgeometry_value_n} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer trgeometry_value_n(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "trgeometry_value_n requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.trgeometry_value_n(arg0, arg1); + } + + /** + * MEOS {@code trgeometry_out} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Object-model role: {@code output}.

+ *

Classification: IO/serialization

+ */ + public static java.lang.String trgeometry_out(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "trgeometry_out requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.trgeometry_out(arg0); + } + +} diff --git a/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsTRGeometryInst.java b/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsTRGeometryInst.java new file mode 100644 index 00000000..d2a2654c --- /dev/null +++ b/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsTRGeometryInst.java @@ -0,0 +1,57 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2020-2026, Université libre de Bruxelles and MobilityDB + * contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +package org.mobilitydb.meos; + +/* AUTO-GENERATED by codegen_flink_v3.py — do not edit by hand. + * MEOS object-model class: TRGeometryInst + * Methods emitted: 1 (stateless=1) + * Source: JMEOS jar (PR #15 / regen-against-meos-1.4) ∩ streaming-relevance baseline v4. + */ + +import functions.GeneratedFunctions; +import jnr.ffi.Pointer; + +public final class MeosOpsTRGeometryInst { + + public static final boolean MEOS_AVAILABLE = MeosOpsRuntime.MEOS_AVAILABLE; + + private MeosOpsTRGeometryInst() { /* utility */ } + + /** + * MEOS {@code trgeoinst_make} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Object-model role: {@code constructor}.

+ *

Classification: constructor of instant/scalar

+ */ + public static jnr.ffi.Pointer trgeoinst_make(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1, java.time.OffsetDateTime arg2) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "trgeoinst_make requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.trgeoinst_make(arg0, arg1, arg2); + } + +} diff --git a/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsTSequenceSet.java b/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsTSequenceSet.java new file mode 100644 index 00000000..34cf32a9 --- /dev/null +++ b/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsTSequenceSet.java @@ -0,0 +1,57 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2020-2026, Université libre de Bruxelles and MobilityDB + * contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +package org.mobilitydb.meos; + +/* AUTO-GENERATED by codegen_flink_v3.py — do not edit by hand. + * MEOS object-model class: TSequenceSet + * Methods emitted: 1 (bounded-state=1) + * Source: JMEOS jar (PR #15 / regen-against-meos-1.4) ∩ streaming-relevance baseline v4. + */ + +import functions.GeneratedFunctions; +import jnr.ffi.Pointer; + +public final class MeosOpsTSequenceSet { + + public static final boolean MEOS_AVAILABLE = MeosOpsRuntime.MEOS_AVAILABLE; + + private MeosOpsTSequenceSet() { /* utility */ } + + /** + * MEOS {@code tsequenceset_make_gaps} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer tsequenceset_make_gaps(jnr.ffi.Pointer arg0, int arg1, int arg2, jnr.ffi.Pointer arg3, double arg4) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tsequenceset_make_gaps requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tsequenceset_make_gaps(arg0, arg1, arg2, arg3, arg4); + } + +} diff --git a/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsTSpatial.java b/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsTSpatial.java new file mode 100644 index 00000000..c2813ff1 --- /dev/null +++ b/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsTSpatial.java @@ -0,0 +1,169 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2020-2026, Université libre de Bruxelles and MobilityDB + * contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +package org.mobilitydb.meos; + +/* AUTO-GENERATED by codegen_flink_v3.py — do not edit by hand. + * MEOS object-model class: TSpatial + * Methods emitted: 9 (bounded-state=4 · io-meta=3 · stateless=1 · windowed=1) + * Source: JMEOS jar (PR #15 / regen-against-meos-1.4) ∩ streaming-relevance baseline v4. + */ + +import functions.GeneratedFunctions; +import jnr.ffi.Pointer; + +public final class MeosOpsTSpatial { + + public static final boolean MEOS_AVAILABLE = MeosOpsRuntime.MEOS_AVAILABLE; + + private MeosOpsTSpatial() { /* utility */ } + + /** + * MEOS {@code tspatial_to_stbox} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Object-model role: {@code conversion}.

+ *

Classification: role=conversion

+ */ + public static jnr.ffi.Pointer tspatial_to_stbox(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tspatial_to_stbox requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tspatial_to_stbox(arg0); + } + + /** + * MEOS {@code tspatial_set_srid} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer tspatial_set_srid(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tspatial_set_srid requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tspatial_set_srid(arg0, arg1); + } + + /** + * MEOS {@code tspatial_srid} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static int tspatial_srid(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tspatial_srid requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tspatial_srid(arg0); + } + + /** + * MEOS {@code tspatial_transform} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer tspatial_transform(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tspatial_transform requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tspatial_transform(arg0, arg1); + } + + /** + * MEOS {@code tspatial_transform_pipeline} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer tspatial_transform_pipeline(jnr.ffi.Pointer arg0, java.lang.String arg1, int arg2, boolean arg3) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tspatial_transform_pipeline requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tspatial_transform_pipeline(arg0, arg1, arg2, arg3); + } + + /** + * MEOS {@code tspatial_extent_transfn} — tier windowed. + *

Requires window operator — caller wraps in AggregateFunction.

+ *

Object-model role: {@code aggregate}.

+ *

Classification: role=aggregate

+ */ + public static jnr.ffi.Pointer tspatial_extent_transfn(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tspatial_extent_transfn requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tspatial_extent_transfn(arg0, arg1); + } + + /** + * MEOS {@code tspatial_as_ewkt} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Object-model role: {@code output}.

+ *

Classification: IO/serialization

+ */ + public static java.lang.String tspatial_as_ewkt(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tspatial_as_ewkt requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tspatial_as_ewkt(arg0, arg1); + } + + /** + * MEOS {@code tspatial_as_text} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Object-model role: {@code output}.

+ *

Classification: IO/serialization

+ */ + public static java.lang.String tspatial_as_text(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tspatial_as_text requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tspatial_as_text(arg0, arg1); + } + + /** + * MEOS {@code tspatial_out} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Object-model role: {@code output}.

+ *

Classification: IO/serialization

+ */ + public static java.lang.String tspatial_out(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tspatial_out requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tspatial_out(arg0, arg1); + } + +} diff --git a/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsTText.java b/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsTText.java new file mode 100644 index 00000000..1e124a1d --- /dev/null +++ b/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsTText.java @@ -0,0 +1,295 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2020-2026, Université libre de Bruxelles and MobilityDB + * contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +package org.mobilitydb.meos; + +/* AUTO-GENERATED by codegen_flink_v3.py — do not edit by hand. + * MEOS object-model class: TText + * Methods emitted: 18 (bounded-state=12 · io-meta=3 · windowed=2 · stateless=1) + * Source: JMEOS jar (PR #15 / regen-against-meos-1.4) ∩ streaming-relevance baseline v4. + */ + +import functions.GeneratedFunctions; +import jnr.ffi.Pointer; + +public final class MeosOpsTText { + + public static final boolean MEOS_AVAILABLE = MeosOpsRuntime.MEOS_AVAILABLE; + + private MeosOpsTText() { /* utility */ } + + /** + * MEOS {@code ttext_from_base_temp} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Object-model role: {@code constructor}.

+ *

Classification: constructor of instant/scalar

+ */ + public static jnr.ffi.Pointer ttext_from_base_temp(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "ttext_from_base_temp requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.ttext_from_base_temp(arg0, arg1); + } + + /** + * MEOS {@code ttext_at_value} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code restriction}.

+ *

Classification: role=restriction

+ */ + public static jnr.ffi.Pointer ttext_at_value(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "ttext_at_value requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.ttext_at_value(arg0, arg1); + } + + /** + * MEOS {@code ttext_end_value} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer ttext_end_value(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "ttext_end_value requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.ttext_end_value(arg0); + } + + /** + * MEOS {@code ttext_initcap} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer ttext_initcap(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "ttext_initcap requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.ttext_initcap(arg0); + } + + /** + * MEOS {@code ttext_lower} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer ttext_lower(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "ttext_lower requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.ttext_lower(arg0); + } + + /** + * MEOS {@code ttext_max_value} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer ttext_max_value(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "ttext_max_value requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.ttext_max_value(arg0); + } + + /** + * MEOS {@code ttext_min_value} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer ttext_min_value(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "ttext_min_value requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.ttext_min_value(arg0); + } + + /** + * MEOS {@code ttext_minus_value} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code restriction}.

+ *

Classification: role=restriction

+ */ + public static jnr.ffi.Pointer ttext_minus_value(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "ttext_minus_value requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.ttext_minus_value(arg0, arg1); + } + + /** + * MEOS {@code ttext_start_value} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer ttext_start_value(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "ttext_start_value requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.ttext_start_value(arg0); + } + + /** + * MEOS {@code ttext_upper} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer ttext_upper(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "ttext_upper requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.ttext_upper(arg0); + } + + /** + * MEOS {@code ttext_value_at_timestamptz} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code restriction}.

+ *

Classification: role=restriction

+ */ + public static jnr.ffi.Pointer ttext_value_at_timestamptz(jnr.ffi.Pointer arg0, java.time.OffsetDateTime arg1, boolean arg2) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "ttext_value_at_timestamptz requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.ttext_value_at_timestamptz(arg0, arg1, arg2); + } + + /** + * MEOS {@code ttext_value_n} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer ttext_value_n(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "ttext_value_n requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.ttext_value_n(arg0, arg1); + } + + /** + * MEOS {@code ttext_values} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer ttext_values(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "ttext_values requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.ttext_values(arg0, arg1); + } + + /** + * MEOS {@code ttext_tmax_transfn} — tier windowed. + *

Requires window operator — caller wraps in AggregateFunction.

+ *

Object-model role: {@code aggregate}.

+ *

Classification: role=aggregate

+ */ + public static jnr.ffi.Pointer ttext_tmax_transfn(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "ttext_tmax_transfn requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.ttext_tmax_transfn(arg0, arg1); + } + + /** + * MEOS {@code ttext_tmin_transfn} — tier windowed. + *

Requires window operator — caller wraps in AggregateFunction.

+ *

Object-model role: {@code aggregate}.

+ *

Classification: role=aggregate

+ */ + public static jnr.ffi.Pointer ttext_tmin_transfn(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "ttext_tmin_transfn requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.ttext_tmin_transfn(arg0, arg1); + } + + /** + * MEOS {@code ttext_from_mfjson} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Object-model role: {@code constructor}.

+ *

Classification: IO/serialization

+ */ + public static jnr.ffi.Pointer ttext_from_mfjson(java.lang.String arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "ttext_from_mfjson requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.ttext_from_mfjson(arg0); + } + + /** + * MEOS {@code ttext_in} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Object-model role: {@code constructor}.

+ *

Classification: IO/serialization

+ */ + public static jnr.ffi.Pointer ttext_in(java.lang.String arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "ttext_in requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.ttext_in(arg0); + } + + /** + * MEOS {@code ttext_out} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Object-model role: {@code output}.

+ *

Classification: IO/serialization

+ */ + public static java.lang.String ttext_out(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "ttext_out requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.ttext_out(arg0); + } + +} diff --git a/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsTTextInst.java b/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsTTextInst.java new file mode 100644 index 00000000..c7efb517 --- /dev/null +++ b/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsTTextInst.java @@ -0,0 +1,57 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2020-2026, Université libre de Bruxelles and MobilityDB + * contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +package org.mobilitydb.meos; + +/* AUTO-GENERATED by codegen_flink_v3.py — do not edit by hand. + * MEOS object-model class: TTextInst + * Methods emitted: 1 (stateless=1) + * Source: JMEOS jar (PR #15 / regen-against-meos-1.4) ∩ streaming-relevance baseline v4. + */ + +import functions.GeneratedFunctions; +import jnr.ffi.Pointer; + +public final class MeosOpsTTextInst { + + public static final boolean MEOS_AVAILABLE = MeosOpsRuntime.MEOS_AVAILABLE; + + private MeosOpsTTextInst() { /* utility */ } + + /** + * MEOS {@code ttextinst_make} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Object-model role: {@code constructor}.

+ *

Classification: constructor of instant/scalar

+ */ + public static jnr.ffi.Pointer ttextinst_make(jnr.ffi.Pointer arg0, java.time.OffsetDateTime arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "ttextinst_make requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.ttextinst_make(arg0, arg1); + } + +} diff --git a/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsTemporal.java b/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsTemporal.java new file mode 100644 index 00000000..7e3c0185 --- /dev/null +++ b/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsTemporal.java @@ -0,0 +1,1401 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2020-2026, Université libre de Bruxelles and MobilityDB + * contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +package org.mobilitydb.meos; + +/* AUTO-GENERATED by codegen_flink_v3.py — do not edit by hand. + * MEOS object-model class: Temporal + * Methods emitted: 97 (bounded-state=75 · cross-stream=7 · io-meta=5 · stateless=5 · windowed=5) + * Source: JMEOS jar (PR #15 / regen-against-meos-1.4) ∩ streaming-relevance baseline v4. + */ + +import functions.GeneratedFunctions; +import jnr.ffi.Pointer; + +public final class MeosOpsTemporal { + + public static final boolean MEOS_AVAILABLE = MeosOpsRuntime.MEOS_AVAILABLE; + + private MeosOpsTemporal() { /* utility */ } + + /** + * MEOS {@code temporal_copy} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Object-model role: {@code constructor}.

+ *

Classification: constructor of instant/scalar

+ */ + public static jnr.ffi.Pointer temporal_copy(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "temporal_copy requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.temporal_copy(arg0); + } + + /** + * MEOS {@code temporal_to_tinstant} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Object-model role: {@code conversion}.

+ *

Classification: role=conversion

+ */ + public static jnr.ffi.Pointer temporal_to_tinstant(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "temporal_to_tinstant requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.temporal_to_tinstant(arg0); + } + + /** + * MEOS {@code temporal_to_tsequence} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Object-model role: {@code conversion}.

+ *

Classification: role=conversion

+ */ + public static jnr.ffi.Pointer temporal_to_tsequence(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "temporal_to_tsequence requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.temporal_to_tsequence(arg0, arg1); + } + + /** + * MEOS {@code temporal_to_tsequenceset} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Object-model role: {@code conversion}.

+ *

Classification: role=conversion

+ */ + public static jnr.ffi.Pointer temporal_to_tsequenceset(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "temporal_to_tsequenceset requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.temporal_to_tsequenceset(arg0, arg1); + } + + /** + * MEOS {@code temporal_to_tstzspan} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Object-model role: {@code conversion}.

+ *

Classification: role=conversion

+ */ + public static jnr.ffi.Pointer temporal_to_tstzspan(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "temporal_to_tstzspan requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.temporal_to_tstzspan(arg0); + } + + /** + * MEOS {@code temporal_after_timestamptz} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer temporal_after_timestamptz(jnr.ffi.Pointer arg0, java.time.OffsetDateTime arg1, boolean arg2) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "temporal_after_timestamptz requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.temporal_after_timestamptz(arg0, arg1, arg2); + } + + /** + * MEOS {@code temporal_append_tinstant} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer temporal_append_tinstant(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1, int arg2, double arg3, jnr.ffi.Pointer arg4, boolean arg5) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "temporal_append_tinstant requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.temporal_append_tinstant(arg0, arg1, arg2, arg3, arg4, arg5); + } + + /** + * MEOS {@code temporal_append_tsequence} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer temporal_append_tsequence(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1, boolean arg2) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "temporal_append_tsequence requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.temporal_append_tsequence(arg0, arg1, arg2); + } + + /** + * MEOS {@code temporal_at_max} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code restriction}.

+ *

Classification: role=restriction

+ */ + public static jnr.ffi.Pointer temporal_at_max(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "temporal_at_max requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.temporal_at_max(arg0); + } + + /** + * MEOS {@code temporal_at_min} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code restriction}.

+ *

Classification: role=restriction

+ */ + public static jnr.ffi.Pointer temporal_at_min(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "temporal_at_min requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.temporal_at_min(arg0); + } + + /** + * MEOS {@code temporal_at_timestamptz} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code restriction}.

+ *

Classification: role=restriction

+ */ + public static jnr.ffi.Pointer temporal_at_timestamptz(jnr.ffi.Pointer arg0, java.time.OffsetDateTime arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "temporal_at_timestamptz requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.temporal_at_timestamptz(arg0, arg1); + } + + /** + * MEOS {@code temporal_at_tstzset} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code restriction}.

+ *

Classification: role=restriction

+ */ + public static jnr.ffi.Pointer temporal_at_tstzset(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "temporal_at_tstzset requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.temporal_at_tstzset(arg0, arg1); + } + + /** + * MEOS {@code temporal_at_tstzspan} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code restriction}.

+ *

Classification: role=restriction

+ */ + public static jnr.ffi.Pointer temporal_at_tstzspan(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "temporal_at_tstzspan requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.temporal_at_tstzspan(arg0, arg1); + } + + /** + * MEOS {@code temporal_at_tstzspanset} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code restriction}.

+ *

Classification: role=restriction

+ */ + public static jnr.ffi.Pointer temporal_at_tstzspanset(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "temporal_at_tstzspanset requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.temporal_at_tstzspanset(arg0, arg1); + } + + /** + * MEOS {@code temporal_at_values} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code restriction}.

+ *

Classification: role=restriction

+ */ + public static jnr.ffi.Pointer temporal_at_values(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "temporal_at_values requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.temporal_at_values(arg0, arg1); + } + + /** + * MEOS {@code temporal_before_timestamptz} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer temporal_before_timestamptz(jnr.ffi.Pointer arg0, java.time.OffsetDateTime arg1, boolean arg2) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "temporal_before_timestamptz requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.temporal_before_timestamptz(arg0, arg1, arg2); + } + + /** + * MEOS {@code temporal_delete_timestamptz} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer temporal_delete_timestamptz(jnr.ffi.Pointer arg0, java.time.OffsetDateTime arg1, boolean arg2) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "temporal_delete_timestamptz requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.temporal_delete_timestamptz(arg0, arg1, arg2); + } + + /** + * MEOS {@code temporal_delete_tstzset} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer temporal_delete_tstzset(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1, boolean arg2) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "temporal_delete_tstzset requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.temporal_delete_tstzset(arg0, arg1, arg2); + } + + /** + * MEOS {@code temporal_delete_tstzspan} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer temporal_delete_tstzspan(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1, boolean arg2) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "temporal_delete_tstzspan requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.temporal_delete_tstzspan(arg0, arg1, arg2); + } + + /** + * MEOS {@code temporal_delete_tstzspanset} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer temporal_delete_tstzspanset(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1, boolean arg2) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "temporal_delete_tstzspanset requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.temporal_delete_tstzspanset(arg0, arg1, arg2); + } + + /** + * MEOS {@code temporal_derivative} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer temporal_derivative(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "temporal_derivative requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.temporal_derivative(arg0); + } + + /** + * MEOS {@code temporal_duration} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer temporal_duration(jnr.ffi.Pointer arg0, boolean arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "temporal_duration requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.temporal_duration(arg0, arg1); + } + + /** + * MEOS {@code temporal_dyntimewarp_distance} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static double temporal_dyntimewarp_distance(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "temporal_dyntimewarp_distance requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.temporal_dyntimewarp_distance(arg0, arg1); + } + + /** + * MEOS {@code temporal_dyntimewarp_path} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer temporal_dyntimewarp_path(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1, jnr.ffi.Pointer arg2) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "temporal_dyntimewarp_path requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.temporal_dyntimewarp_path(arg0, arg1, arg2); + } + + /** + * MEOS {@code temporal_end_instant} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer temporal_end_instant(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "temporal_end_instant requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.temporal_end_instant(arg0); + } + + /** + * MEOS {@code temporal_end_sequence} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer temporal_end_sequence(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "temporal_end_sequence requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.temporal_end_sequence(arg0); + } + + /** + * MEOS {@code temporal_end_timestamptz} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static java.time.OffsetDateTime temporal_end_timestamptz(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "temporal_end_timestamptz requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.temporal_end_timestamptz(arg0); + } + + /** + * MEOS {@code temporal_frechet_distance} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static double temporal_frechet_distance(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "temporal_frechet_distance requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.temporal_frechet_distance(arg0, arg1); + } + + /** + * MEOS {@code temporal_frechet_path} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer temporal_frechet_path(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1, jnr.ffi.Pointer arg2) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "temporal_frechet_path requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.temporal_frechet_path(arg0, arg1, arg2); + } + + /** + * MEOS {@code temporal_hash} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static int temporal_hash(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "temporal_hash requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.temporal_hash(arg0); + } + + /** + * MEOS {@code temporal_hausdorff_distance} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static double temporal_hausdorff_distance(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "temporal_hausdorff_distance requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.temporal_hausdorff_distance(arg0, arg1); + } + + /** + * MEOS {@code temporal_insert} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer temporal_insert(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1, boolean arg2) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "temporal_insert requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.temporal_insert(arg0, arg1, arg2); + } + + /** + * MEOS {@code temporal_instant_n} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer temporal_instant_n(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "temporal_instant_n requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.temporal_instant_n(arg0, arg1); + } + + /** + * MEOS {@code temporal_instants} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer temporal_instants(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "temporal_instants requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.temporal_instants(arg0, arg1); + } + + /** + * MEOS {@code temporal_interp} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static java.lang.String temporal_interp(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "temporal_interp requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.temporal_interp(arg0); + } + + /** + * MEOS {@code temporal_lower_inc} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static boolean temporal_lower_inc(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "temporal_lower_inc requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.temporal_lower_inc(arg0); + } + + /** + * MEOS {@code temporal_max_instant} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer temporal_max_instant(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "temporal_max_instant requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.temporal_max_instant(arg0); + } + + /** + * MEOS {@code temporal_merge} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer temporal_merge(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "temporal_merge requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.temporal_merge(arg0, arg1); + } + + /** + * MEOS {@code temporal_merge_array} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer temporal_merge_array(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "temporal_merge_array requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.temporal_merge_array(arg0, arg1); + } + + /** + * MEOS {@code temporal_min_instant} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer temporal_min_instant(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "temporal_min_instant requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.temporal_min_instant(arg0); + } + + /** + * MEOS {@code temporal_minus_max} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code restriction}.

+ *

Classification: role=restriction

+ */ + public static jnr.ffi.Pointer temporal_minus_max(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "temporal_minus_max requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.temporal_minus_max(arg0); + } + + /** + * MEOS {@code temporal_minus_min} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code restriction}.

+ *

Classification: role=restriction

+ */ + public static jnr.ffi.Pointer temporal_minus_min(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "temporal_minus_min requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.temporal_minus_min(arg0); + } + + /** + * MEOS {@code temporal_minus_timestamptz} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code restriction}.

+ *

Classification: role=restriction

+ */ + public static jnr.ffi.Pointer temporal_minus_timestamptz(jnr.ffi.Pointer arg0, java.time.OffsetDateTime arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "temporal_minus_timestamptz requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.temporal_minus_timestamptz(arg0, arg1); + } + + /** + * MEOS {@code temporal_minus_tstzset} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code restriction}.

+ *

Classification: role=restriction

+ */ + public static jnr.ffi.Pointer temporal_minus_tstzset(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "temporal_minus_tstzset requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.temporal_minus_tstzset(arg0, arg1); + } + + /** + * MEOS {@code temporal_minus_tstzspan} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code restriction}.

+ *

Classification: role=restriction

+ */ + public static jnr.ffi.Pointer temporal_minus_tstzspan(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "temporal_minus_tstzspan requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.temporal_minus_tstzspan(arg0, arg1); + } + + /** + * MEOS {@code temporal_minus_tstzspanset} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code restriction}.

+ *

Classification: role=restriction

+ */ + public static jnr.ffi.Pointer temporal_minus_tstzspanset(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "temporal_minus_tstzspanset requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.temporal_minus_tstzspanset(arg0, arg1); + } + + /** + * MEOS {@code temporal_minus_values} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code restriction}.

+ *

Classification: role=restriction

+ */ + public static jnr.ffi.Pointer temporal_minus_values(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "temporal_minus_values requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.temporal_minus_values(arg0, arg1); + } + + /** + * MEOS {@code temporal_num_instants} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static int temporal_num_instants(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "temporal_num_instants requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.temporal_num_instants(arg0); + } + + /** + * MEOS {@code temporal_num_sequences} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static int temporal_num_sequences(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "temporal_num_sequences requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.temporal_num_sequences(arg0); + } + + /** + * MEOS {@code temporal_num_timestamps} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static int temporal_num_timestamps(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "temporal_num_timestamps requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.temporal_num_timestamps(arg0); + } + + /** + * MEOS {@code temporal_round} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer temporal_round(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "temporal_round requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.temporal_round(arg0, arg1); + } + + /** + * MEOS {@code temporal_scale_time} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer temporal_scale_time(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "temporal_scale_time requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.temporal_scale_time(arg0, arg1); + } + + /** + * MEOS {@code temporal_segm_duration} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer temporal_segm_duration(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1, boolean arg2, boolean arg3) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "temporal_segm_duration requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.temporal_segm_duration(arg0, arg1, arg2, arg3); + } + + /** + * MEOS {@code temporal_segments} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer temporal_segments(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "temporal_segments requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.temporal_segments(arg0, arg1); + } + + /** + * MEOS {@code temporal_sequence_n} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer temporal_sequence_n(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "temporal_sequence_n requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.temporal_sequence_n(arg0, arg1); + } + + /** + * MEOS {@code temporal_sequences} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer temporal_sequences(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "temporal_sequences requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.temporal_sequences(arg0, arg1); + } + + /** + * MEOS {@code temporal_set_interp} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer temporal_set_interp(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "temporal_set_interp requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.temporal_set_interp(arg0, arg1); + } + + /** + * MEOS {@code temporal_shift_scale_time} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer temporal_shift_scale_time(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1, jnr.ffi.Pointer arg2) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "temporal_shift_scale_time requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.temporal_shift_scale_time(arg0, arg1, arg2); + } + + /** + * MEOS {@code temporal_shift_time} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer temporal_shift_time(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "temporal_shift_time requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.temporal_shift_time(arg0, arg1); + } + + /** + * MEOS {@code temporal_simplify_dp} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer temporal_simplify_dp(jnr.ffi.Pointer arg0, double arg1, boolean arg2) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "temporal_simplify_dp requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.temporal_simplify_dp(arg0, arg1, arg2); + } + + /** + * MEOS {@code temporal_simplify_max_dist} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer temporal_simplify_max_dist(jnr.ffi.Pointer arg0, double arg1, boolean arg2) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "temporal_simplify_max_dist requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.temporal_simplify_max_dist(arg0, arg1, arg2); + } + + /** + * MEOS {@code temporal_simplify_min_dist} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer temporal_simplify_min_dist(jnr.ffi.Pointer arg0, double arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "temporal_simplify_min_dist requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.temporal_simplify_min_dist(arg0, arg1); + } + + /** + * MEOS {@code temporal_simplify_min_tdelta} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer temporal_simplify_min_tdelta(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "temporal_simplify_min_tdelta requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.temporal_simplify_min_tdelta(arg0, arg1); + } + + /** + * MEOS {@code temporal_spans} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer temporal_spans(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "temporal_spans requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.temporal_spans(arg0, arg1); + } + + /** + * MEOS {@code temporal_split_each_n_spans} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer temporal_split_each_n_spans(jnr.ffi.Pointer arg0, int arg1, jnr.ffi.Pointer arg2) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "temporal_split_each_n_spans requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.temporal_split_each_n_spans(arg0, arg1, arg2); + } + + /** + * MEOS {@code temporal_split_n_spans} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer temporal_split_n_spans(jnr.ffi.Pointer arg0, int arg1, jnr.ffi.Pointer arg2) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "temporal_split_n_spans requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.temporal_split_n_spans(arg0, arg1, arg2); + } + + /** + * MEOS {@code temporal_start_instant} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer temporal_start_instant(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "temporal_start_instant requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.temporal_start_instant(arg0); + } + + /** + * MEOS {@code temporal_start_sequence} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer temporal_start_sequence(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "temporal_start_sequence requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.temporal_start_sequence(arg0); + } + + /** + * MEOS {@code temporal_start_timestamptz} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static java.time.OffsetDateTime temporal_start_timestamptz(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "temporal_start_timestamptz requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.temporal_start_timestamptz(arg0); + } + + /** + * MEOS {@code temporal_stops} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer temporal_stops(jnr.ffi.Pointer arg0, double arg1, jnr.ffi.Pointer arg2) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "temporal_stops requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.temporal_stops(arg0, arg1, arg2); + } + + /** + * MEOS {@code temporal_subtype} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static java.lang.String temporal_subtype(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "temporal_subtype requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.temporal_subtype(arg0); + } + + /** + * MEOS {@code temporal_time} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer temporal_time(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "temporal_time requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.temporal_time(arg0); + } + + /** + * MEOS {@code temporal_time_bins} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer temporal_time_bins(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1, java.time.OffsetDateTime arg2, jnr.ffi.Pointer arg3) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "temporal_time_bins requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.temporal_time_bins(arg0, arg1, arg2, arg3); + } + + /** + * MEOS {@code temporal_time_split} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer temporal_time_split(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1, java.time.OffsetDateTime arg2) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "temporal_time_split requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.temporal_time_split(arg0, arg1, arg2); + } + + /** + * MEOS {@code temporal_timestamps} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer temporal_timestamps(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "temporal_timestamps requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.temporal_timestamps(arg0, arg1); + } + + /** + * MEOS {@code temporal_timestamptz_n} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer temporal_timestamptz_n(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "temporal_timestamptz_n requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.temporal_timestamptz_n(arg0, arg1); + } + + /** + * MEOS {@code temporal_tprecision} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer temporal_tprecision(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1, java.time.OffsetDateTime arg2) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "temporal_tprecision requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.temporal_tprecision(arg0, arg1, arg2); + } + + /** + * MEOS {@code temporal_tsample} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer temporal_tsample(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1, java.time.OffsetDateTime arg2, int arg3) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "temporal_tsample requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.temporal_tsample(arg0, arg1, arg2, arg3); + } + + /** + * MEOS {@code temporal_update} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer temporal_update(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1, boolean arg2) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "temporal_update requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.temporal_update(arg0, arg1, arg2); + } + + /** + * MEOS {@code temporal_upper_inc} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static boolean temporal_upper_inc(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "temporal_upper_inc requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.temporal_upper_inc(arg0); + } + + /** + * MEOS {@code temporal_extent_transfn} — tier windowed. + *

Requires window operator — caller wraps in AggregateFunction.

+ *

Object-model role: {@code aggregate}.

+ *

Classification: role=aggregate

+ */ + public static jnr.ffi.Pointer temporal_extent_transfn(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "temporal_extent_transfn requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.temporal_extent_transfn(arg0, arg1); + } + + /** + * MEOS {@code temporal_merge_combinefn} — tier windowed. + *

Requires window operator — caller wraps in AggregateFunction.

+ *

Object-model role: {@code aggregate}.

+ *

Classification: role=aggregate

+ */ + public static jnr.ffi.Pointer temporal_merge_combinefn(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "temporal_merge_combinefn requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.temporal_merge_combinefn(arg0, arg1); + } + + /** + * MEOS {@code temporal_merge_transfn} — tier windowed. + *

Requires window operator — caller wraps in AggregateFunction.

+ *

Object-model role: {@code aggregate}.

+ *

Classification: role=aggregate

+ */ + public static jnr.ffi.Pointer temporal_merge_transfn(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "temporal_merge_transfn requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.temporal_merge_transfn(arg0, arg1); + } + + /** + * MEOS {@code temporal_tagg_finalfn} — tier windowed. + *

Requires window operator — caller wraps in AggregateFunction.

+ *

Object-model role: {@code aggregate}.

+ *

Classification: role=aggregate

+ */ + public static jnr.ffi.Pointer temporal_tagg_finalfn(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "temporal_tagg_finalfn requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.temporal_tagg_finalfn(arg0); + } + + /** + * MEOS {@code temporal_tcount_transfn} — tier windowed. + *

Requires window operator — caller wraps in AggregateFunction.

+ *

Object-model role: {@code aggregate}.

+ *

Classification: role=aggregate

+ */ + public static jnr.ffi.Pointer temporal_tcount_transfn(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "temporal_tcount_transfn requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.temporal_tcount_transfn(arg0, arg1); + } + + /** + * MEOS {@code temporal_cmp} — tier cross-stream. + *

Pairwise across streams — caller wraps in a join.

+ *

Object-model role: {@code predicate}.

+ *

Classification: predicate on 2 temporals

+ */ + public static int temporal_cmp(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "temporal_cmp requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.temporal_cmp(arg0, arg1); + } + + /** + * MEOS {@code temporal_eq} — tier cross-stream. + *

Pairwise across streams — caller wraps in a join.

+ *

Object-model role: {@code predicate}.

+ *

Classification: predicate on 2 temporals

+ */ + public static boolean temporal_eq(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "temporal_eq requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.temporal_eq(arg0, arg1); + } + + /** + * MEOS {@code temporal_ge} — tier cross-stream. + *

Pairwise across streams — caller wraps in a join.

+ *

Object-model role: {@code predicate}.

+ *

Classification: predicate on 2 temporals

+ */ + public static boolean temporal_ge(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "temporal_ge requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.temporal_ge(arg0, arg1); + } + + /** + * MEOS {@code temporal_gt} — tier cross-stream. + *

Pairwise across streams — caller wraps in a join.

+ *

Object-model role: {@code predicate}.

+ *

Classification: predicate on 2 temporals

+ */ + public static boolean temporal_gt(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "temporal_gt requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.temporal_gt(arg0, arg1); + } + + /** + * MEOS {@code temporal_le} — tier cross-stream. + *

Pairwise across streams — caller wraps in a join.

+ *

Object-model role: {@code predicate}.

+ *

Classification: predicate on 2 temporals

+ */ + public static boolean temporal_le(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "temporal_le requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.temporal_le(arg0, arg1); + } + + /** + * MEOS {@code temporal_lt} — tier cross-stream. + *

Pairwise across streams — caller wraps in a join.

+ *

Object-model role: {@code predicate}.

+ *

Classification: predicate on 2 temporals

+ */ + public static boolean temporal_lt(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "temporal_lt requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.temporal_lt(arg0, arg1); + } + + /** + * MEOS {@code temporal_ne} — tier cross-stream. + *

Pairwise across streams — caller wraps in a join.

+ *

Object-model role: {@code predicate}.

+ *

Classification: predicate on 2 temporals

+ */ + public static boolean temporal_ne(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "temporal_ne requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.temporal_ne(arg0, arg1); + } + + /** + * MEOS {@code temporal_as_hexwkb} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Object-model role: {@code output}.

+ *

Classification: IO/serialization

+ */ + public static java.lang.String temporal_as_hexwkb(jnr.ffi.Pointer arg0, byte arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "temporal_as_hexwkb requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.temporal_as_hexwkb(arg0, arg1); + } + + /** + * MEOS {@code temporal_as_mfjson} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Object-model role: {@code output}.

+ *

Classification: IO/serialization

+ */ + public static java.lang.String temporal_as_mfjson(jnr.ffi.Pointer arg0, boolean arg1, int arg2, int arg3, java.lang.String arg4) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "temporal_as_mfjson requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.temporal_as_mfjson(arg0, arg1, arg2, arg3, arg4); + } + + /** + * MEOS {@code temporal_as_wkb} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Object-model role: {@code output}.

+ *

Classification: IO/serialization

+ */ + public static jnr.ffi.Pointer temporal_as_wkb(jnr.ffi.Pointer arg0, byte arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "temporal_as_wkb requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.temporal_as_wkb(arg0, arg1); + } + + /** + * MEOS {@code temporal_from_hexwkb} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Object-model role: {@code constructor}.

+ *

Classification: IO/serialization

+ */ + public static jnr.ffi.Pointer temporal_from_hexwkb(java.lang.String arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "temporal_from_hexwkb requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.temporal_from_hexwkb(arg0); + } + + /** + * MEOS {@code temporal_from_wkb} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Object-model role: {@code constructor}.

+ *

Classification: IO/serialization

+ */ + public static jnr.ffi.Pointer temporal_from_wkb(jnr.ffi.Pointer arg0, long arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "temporal_from_wkb requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.temporal_from_wkb(arg0, arg1); + } + +} diff --git a/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsTextSet.java b/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsTextSet.java new file mode 100644 index 00000000..9e6843c5 --- /dev/null +++ b/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsTextSet.java @@ -0,0 +1,183 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2020-2026, Université libre de Bruxelles and MobilityDB + * contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +package org.mobilitydb.meos; + +/* AUTO-GENERATED by codegen_flink_v3.py — do not edit by hand. + * MEOS object-model class: TextSet + * Methods emitted: 10 (bounded-state=7 · io-meta=2 · stateless=1) + * Source: JMEOS jar (PR #15 / regen-against-meos-1.4) ∩ streaming-relevance baseline v4. + */ + +import functions.GeneratedFunctions; +import jnr.ffi.Pointer; + +public final class MeosOpsTextSet { + + public static final boolean MEOS_AVAILABLE = MeosOpsRuntime.MEOS_AVAILABLE; + + private MeosOpsTextSet() { /* utility */ } + + /** + * MEOS {@code textset_make} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Object-model role: {@code constructor}.

+ *

Classification: constructor of instant/scalar

+ */ + public static jnr.ffi.Pointer textset_make(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "textset_make requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.textset_make(arg0, arg1); + } + + /** + * MEOS {@code textset_end_value} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer textset_end_value(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "textset_end_value requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.textset_end_value(arg0); + } + + /** + * MEOS {@code textset_initcap} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer textset_initcap(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "textset_initcap requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.textset_initcap(arg0); + } + + /** + * MEOS {@code textset_lower} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer textset_lower(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "textset_lower requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.textset_lower(arg0); + } + + /** + * MEOS {@code textset_start_value} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer textset_start_value(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "textset_start_value requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.textset_start_value(arg0); + } + + /** + * MEOS {@code textset_upper} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer textset_upper(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "textset_upper requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.textset_upper(arg0); + } + + /** + * MEOS {@code textset_value_n} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer textset_value_n(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "textset_value_n requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.textset_value_n(arg0, arg1); + } + + /** + * MEOS {@code textset_values} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer textset_values(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "textset_values requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.textset_values(arg0, arg1); + } + + /** + * MEOS {@code textset_in} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Object-model role: {@code constructor}.

+ *

Classification: IO/serialization

+ */ + public static jnr.ffi.Pointer textset_in(java.lang.String arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "textset_in requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.textset_in(arg0); + } + + /** + * MEOS {@code textset_out} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Object-model role: {@code output}.

+ *

Classification: IO/serialization

+ */ + public static java.lang.String textset_out(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "textset_out requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.textset_out(arg0); + } + +} diff --git a/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsTh3index.java b/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsTh3index.java new file mode 100644 index 00000000..508b2397 --- /dev/null +++ b/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsTh3index.java @@ -0,0 +1,418 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2020-2026, Université libre de Bruxelles and MobilityDB + * contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +package org.mobilitydb.meos; + +/* AUTO-GENERATED by tools/codegen/emit_h3_facade.py — do not edit by hand. + * H3 / th3index family facade over functions.GeneratedFunctions. + */ + +import functions.GeneratedFunctions; +import jnr.ffi.Pointer; + +public final class MeosOpsTh3index { + + public static final boolean MEOS_AVAILABLE = MeosOpsRuntime.MEOS_AVAILABLE; + + private MeosOpsTh3index() { /* utility */ } + + /** MEOS {@code th3index_are_neighbor_cells} — H3 / th3index family. */ + public static jnr.ffi.Pointer th3index_are_neighbor_cells(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "th3index_are_neighbor_cells requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.th3index_are_neighbor_cells(arg0, arg1); + } + + /** MEOS {@code th3index_cell_area} — H3 / th3index family. */ + public static jnr.ffi.Pointer th3index_cell_area(jnr.ffi.Pointer arg0, java.lang.String arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "th3index_cell_area requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.th3index_cell_area(arg0, arg1); + } + + /** MEOS {@code th3index_cell_to_boundary} — H3 / th3index family. */ + public static jnr.ffi.Pointer th3index_cell_to_boundary(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "th3index_cell_to_boundary requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.th3index_cell_to_boundary(arg0); + } + + /** MEOS {@code th3index_cell_to_center_child} — H3 / th3index family. */ + public static jnr.ffi.Pointer th3index_cell_to_center_child(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "th3index_cell_to_center_child requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.th3index_cell_to_center_child(arg0, arg1); + } + + /** MEOS {@code th3index_cell_to_center_child_next} — H3 / th3index family. */ + public static jnr.ffi.Pointer th3index_cell_to_center_child_next(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "th3index_cell_to_center_child_next requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.th3index_cell_to_center_child_next(arg0); + } + + /** MEOS {@code th3index_cell_to_child_pos} — H3 / th3index family. */ + public static jnr.ffi.Pointer th3index_cell_to_child_pos(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "th3index_cell_to_child_pos requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.th3index_cell_to_child_pos(arg0, arg1); + } + + /** MEOS {@code th3index_cell_to_local_ij} — H3 / th3index family. */ + public static jnr.ffi.Pointer th3index_cell_to_local_ij(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "th3index_cell_to_local_ij requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.th3index_cell_to_local_ij(arg0, arg1); + } + + /** MEOS {@code th3index_cell_to_parent} — H3 / th3index family. */ + public static jnr.ffi.Pointer th3index_cell_to_parent(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "th3index_cell_to_parent requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.th3index_cell_to_parent(arg0, arg1); + } + + /** MEOS {@code th3index_cell_to_parent_next} — H3 / th3index family. */ + public static jnr.ffi.Pointer th3index_cell_to_parent_next(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "th3index_cell_to_parent_next requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.th3index_cell_to_parent_next(arg0); + } + + /** MEOS {@code th3index_cell_to_vertex} — H3 / th3index family. */ + public static jnr.ffi.Pointer th3index_cell_to_vertex(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "th3index_cell_to_vertex requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.th3index_cell_to_vertex(arg0, arg1); + } + + /** MEOS {@code th3index_cells_to_directed_edge} — H3 / th3index family. */ + public static jnr.ffi.Pointer th3index_cells_to_directed_edge(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "th3index_cells_to_directed_edge requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.th3index_cells_to_directed_edge(arg0, arg1); + } + + /** MEOS {@code th3index_child_pos_to_cell} — H3 / th3index family. */ + public static jnr.ffi.Pointer th3index_child_pos_to_cell(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1, int arg2) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "th3index_child_pos_to_cell requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.th3index_child_pos_to_cell(arg0, arg1, arg2); + } + + /** MEOS {@code th3index_directed_edge_to_boundary} — H3 / th3index family. */ + public static jnr.ffi.Pointer th3index_directed_edge_to_boundary(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "th3index_directed_edge_to_boundary requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.th3index_directed_edge_to_boundary(arg0); + } + + /** MEOS {@code th3index_edge_length} — H3 / th3index family. */ + public static jnr.ffi.Pointer th3index_edge_length(jnr.ffi.Pointer arg0, java.lang.String arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "th3index_edge_length requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.th3index_edge_length(arg0, arg1); + } + + /** MEOS {@code th3index_end_value} — H3 / th3index family. */ + public static long th3index_end_value(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "th3index_end_value requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.th3index_end_value(arg0); + } + + /** MEOS {@code th3index_get_base_cell_number} — H3 / th3index family. */ + public static jnr.ffi.Pointer th3index_get_base_cell_number(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "th3index_get_base_cell_number requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.th3index_get_base_cell_number(arg0); + } + + /** MEOS {@code th3index_get_directed_edge_destination} — H3 / th3index family. */ + public static jnr.ffi.Pointer th3index_get_directed_edge_destination(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "th3index_get_directed_edge_destination requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.th3index_get_directed_edge_destination(arg0); + } + + /** MEOS {@code th3index_get_directed_edge_origin} — H3 / th3index family. */ + public static jnr.ffi.Pointer th3index_get_directed_edge_origin(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "th3index_get_directed_edge_origin requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.th3index_get_directed_edge_origin(arg0); + } + + /** MEOS {@code th3index_get_resolution} — H3 / th3index family. */ + public static jnr.ffi.Pointer th3index_get_resolution(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "th3index_get_resolution requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.th3index_get_resolution(arg0); + } + + /** MEOS {@code th3index_grid_distance} — H3 / th3index family. */ + public static jnr.ffi.Pointer th3index_grid_distance(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "th3index_grid_distance requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.th3index_grid_distance(arg0, arg1); + } + + /** MEOS {@code th3index_in} — H3 / th3index family. */ + public static jnr.ffi.Pointer th3index_in(java.lang.String arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "th3index_in requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.th3index_in(arg0); + } + + /** MEOS {@code th3index_is_pentagon} — H3 / th3index family. */ + public static jnr.ffi.Pointer th3index_is_pentagon(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "th3index_is_pentagon requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.th3index_is_pentagon(arg0); + } + + /** MEOS {@code th3index_is_res_class_iii} — H3 / th3index family. */ + public static jnr.ffi.Pointer th3index_is_res_class_iii(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "th3index_is_res_class_iii requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.th3index_is_res_class_iii(arg0); + } + + /** MEOS {@code th3index_is_valid_cell} — H3 / th3index family. */ + public static jnr.ffi.Pointer th3index_is_valid_cell(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "th3index_is_valid_cell requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.th3index_is_valid_cell(arg0); + } + + /** MEOS {@code th3index_is_valid_directed_edge} — H3 / th3index family. */ + public static jnr.ffi.Pointer th3index_is_valid_directed_edge(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "th3index_is_valid_directed_edge requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.th3index_is_valid_directed_edge(arg0); + } + + /** MEOS {@code th3index_is_valid_vertex} — H3 / th3index family. */ + public static jnr.ffi.Pointer th3index_is_valid_vertex(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "th3index_is_valid_vertex requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.th3index_is_valid_vertex(arg0); + } + + /** MEOS {@code th3index_local_ij_to_cell} — H3 / th3index family. */ + public static jnr.ffi.Pointer th3index_local_ij_to_cell(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "th3index_local_ij_to_cell requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.th3index_local_ij_to_cell(arg0, arg1); + } + + /** MEOS {@code th3index_make} — H3 / th3index family. */ + public static jnr.ffi.Pointer th3index_make(long arg0, java.time.OffsetDateTime arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "th3index_make requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.th3index_make(arg0, arg1); + } + + /** MEOS {@code th3index_start_value} — H3 / th3index family. */ + public static long th3index_start_value(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "th3index_start_value requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.th3index_start_value(arg0); + } + + /** MEOS {@code th3index_to_tbigint} — H3 / th3index family. */ + public static jnr.ffi.Pointer th3index_to_tbigint(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "th3index_to_tbigint requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.th3index_to_tbigint(arg0); + } + + /** MEOS {@code th3index_to_tgeogpoint} — H3 / th3index family. */ + public static jnr.ffi.Pointer th3index_to_tgeogpoint(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "th3index_to_tgeogpoint requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.th3index_to_tgeogpoint(arg0); + } + + /** MEOS {@code th3index_to_tgeompoint} — H3 / th3index family. */ + public static jnr.ffi.Pointer th3index_to_tgeompoint(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "th3index_to_tgeompoint requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.th3index_to_tgeompoint(arg0); + } + + /** MEOS {@code th3index_value_at_timestamptz} — H3 / th3index family. */ + public static jnr.ffi.Pointer th3index_value_at_timestamptz(jnr.ffi.Pointer arg0, java.time.OffsetDateTime arg1, boolean arg2) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "th3index_value_at_timestamptz requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.th3index_value_at_timestamptz(arg0, arg1, arg2); + } + + /** MEOS {@code th3index_value_n} — H3 / th3index family. */ + public static jnr.ffi.Pointer th3index_value_n(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "th3index_value_n requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.th3index_value_n(arg0, arg1); + } + + /** MEOS {@code th3index_values} — H3 / th3index family. */ + public static jnr.ffi.Pointer th3index_values(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "th3index_values requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.th3index_values(arg0, arg1); + } + + /** MEOS {@code th3index_vertex_to_latlng} — H3 / th3index family. */ + public static jnr.ffi.Pointer th3index_vertex_to_latlng(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "th3index_vertex_to_latlng requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.th3index_vertex_to_latlng(arg0); + } + + /** MEOS {@code th3indexinst_in} — H3 / th3index family. */ + public static jnr.ffi.Pointer th3indexinst_in(java.lang.String arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "th3indexinst_in requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.th3indexinst_in(arg0); + } + + /** MEOS {@code th3indexinst_make} — H3 / th3index family. */ + public static jnr.ffi.Pointer th3indexinst_make(long arg0, java.time.OffsetDateTime arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "th3indexinst_make requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.th3indexinst_make(arg0, arg1); + } + + /** MEOS {@code th3indexseq_in} — H3 / th3index family. */ + public static jnr.ffi.Pointer th3indexseq_in(java.lang.String arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "th3indexseq_in requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.th3indexseq_in(arg0, arg1); + } + + /** MEOS {@code th3indexseq_make} — H3 / th3index family. */ + public static jnr.ffi.Pointer th3indexseq_make(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1, int arg2, boolean arg3, boolean arg4) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "th3indexseq_make requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.th3indexseq_make(arg0, arg1, arg2, arg3, arg4); + } + + /** MEOS {@code th3indexseqset_in} — H3 / th3index family. */ + public static jnr.ffi.Pointer th3indexseqset_in(java.lang.String arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "th3indexseqset_in requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.th3indexseqset_in(arg0); + } + + /** MEOS {@code th3indexseqset_make} — H3 / th3index family. */ + public static jnr.ffi.Pointer th3indexseqset_make(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "th3indexseqset_make requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.th3indexseqset_make(arg0, arg1); + } +} diff --git a/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsTstzSet.java b/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsTstzSet.java new file mode 100644 index 00000000..810c275b --- /dev/null +++ b/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsTstzSet.java @@ -0,0 +1,211 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2020-2026, Université libre de Bruxelles and MobilityDB + * contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +package org.mobilitydb.meos; + +/* AUTO-GENERATED by codegen_flink_v3.py — do not edit by hand. + * MEOS object-model class: TstzSet + * Methods emitted: 12 (bounded-state=6 · stateless=3 · io-meta=2 · windowed=1) + * Source: JMEOS jar (PR #15 / regen-against-meos-1.4) ∩ streaming-relevance baseline v4. + */ + +import functions.GeneratedFunctions; +import jnr.ffi.Pointer; + +public final class MeosOpsTstzSet { + + public static final boolean MEOS_AVAILABLE = MeosOpsRuntime.MEOS_AVAILABLE; + + private MeosOpsTstzSet() { /* utility */ } + + /** + * MEOS {@code tstzset_make} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Object-model role: {@code constructor}.

+ *

Classification: constructor of instant/scalar

+ */ + public static jnr.ffi.Pointer tstzset_make(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tstzset_make requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tstzset_make(arg0, arg1); + } + + /** + * MEOS {@code tstzset_to_dateset} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Object-model role: {@code conversion}.

+ *

Classification: role=conversion

+ */ + public static jnr.ffi.Pointer tstzset_to_dateset(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tstzset_to_dateset requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tstzset_to_dateset(arg0); + } + + /** + * MEOS {@code tstzset_to_stbox} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Object-model role: {@code conversion}.

+ *

Classification: role=conversion

+ */ + public static jnr.ffi.Pointer tstzset_to_stbox(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tstzset_to_stbox requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tstzset_to_stbox(arg0); + } + + /** + * MEOS {@code tstzset_end_value} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static java.time.OffsetDateTime tstzset_end_value(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tstzset_end_value requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tstzset_end_value(arg0); + } + + /** + * MEOS {@code tstzset_shift_scale} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer tstzset_shift_scale(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1, jnr.ffi.Pointer arg2) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tstzset_shift_scale requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tstzset_shift_scale(arg0, arg1, arg2); + } + + /** + * MEOS {@code tstzset_start_value} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static java.time.OffsetDateTime tstzset_start_value(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tstzset_start_value requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tstzset_start_value(arg0); + } + + /** + * MEOS {@code tstzset_tprecision} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer tstzset_tprecision(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1, java.time.OffsetDateTime arg2) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tstzset_tprecision requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tstzset_tprecision(arg0, arg1, arg2); + } + + /** + * MEOS {@code tstzset_value_n} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer tstzset_value_n(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tstzset_value_n requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tstzset_value_n(arg0, arg1); + } + + /** + * MEOS {@code tstzset_values} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer tstzset_values(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tstzset_values requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tstzset_values(arg0, arg1); + } + + /** + * MEOS {@code tstzset_tcount_transfn} — tier windowed. + *

Requires window operator — caller wraps in AggregateFunction.

+ *

Object-model role: {@code aggregate}.

+ *

Classification: role=aggregate

+ */ + public static jnr.ffi.Pointer tstzset_tcount_transfn(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tstzset_tcount_transfn requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tstzset_tcount_transfn(arg0, arg1); + } + + /** + * MEOS {@code tstzset_in} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Object-model role: {@code constructor}.

+ *

Classification: IO/serialization

+ */ + public static jnr.ffi.Pointer tstzset_in(java.lang.String arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tstzset_in requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tstzset_in(arg0); + } + + /** + * MEOS {@code tstzset_out} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Object-model role: {@code output}.

+ *

Classification: IO/serialization

+ */ + public static java.lang.String tstzset_out(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tstzset_out requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tstzset_out(arg0); + } + +} diff --git a/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsTstzSpan.java b/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsTstzSpan.java new file mode 100644 index 00000000..c264e12c --- /dev/null +++ b/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsTstzSpan.java @@ -0,0 +1,225 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2020-2026, Université libre de Bruxelles and MobilityDB + * contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +package org.mobilitydb.meos; + +/* AUTO-GENERATED by codegen_flink_v3.py — do not edit by hand. + * MEOS object-model class: TstzSpan + * Methods emitted: 13 (bounded-state=7 · stateless=3 · io-meta=2 · windowed=1) + * Source: JMEOS jar (PR #15 / regen-against-meos-1.4) ∩ streaming-relevance baseline v4. + */ + +import functions.GeneratedFunctions; +import jnr.ffi.Pointer; + +public final class MeosOpsTstzSpan { + + public static final boolean MEOS_AVAILABLE = MeosOpsRuntime.MEOS_AVAILABLE; + + private MeosOpsTstzSpan() { /* utility */ } + + /** + * MEOS {@code tstzspan_make} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Object-model role: {@code constructor}.

+ *

Classification: constructor of instant/scalar

+ */ + public static jnr.ffi.Pointer tstzspan_make(java.time.OffsetDateTime arg0, java.time.OffsetDateTime arg1, boolean arg2, boolean arg3) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tstzspan_make requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tstzspan_make(arg0, arg1, arg2, arg3); + } + + /** + * MEOS {@code tstzspan_to_datespan} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Object-model role: {@code conversion}.

+ *

Classification: role=conversion

+ */ + public static jnr.ffi.Pointer tstzspan_to_datespan(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tstzspan_to_datespan requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tstzspan_to_datespan(arg0); + } + + /** + * MEOS {@code tstzspan_to_stbox} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Object-model role: {@code conversion}.

+ *

Classification: role=conversion

+ */ + public static jnr.ffi.Pointer tstzspan_to_stbox(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tstzspan_to_stbox requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tstzspan_to_stbox(arg0); + } + + /** + * MEOS {@code tstzspan_bins} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer tstzspan_bins(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1, java.time.OffsetDateTime arg2, jnr.ffi.Pointer arg3) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tstzspan_bins requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tstzspan_bins(arg0, arg1, arg2, arg3); + } + + /** + * MEOS {@code tstzspan_duration} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer tstzspan_duration(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tstzspan_duration requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tstzspan_duration(arg0); + } + + /** + * MEOS {@code tstzspan_expand} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer tstzspan_expand(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tstzspan_expand requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tstzspan_expand(arg0, arg1); + } + + /** + * MEOS {@code tstzspan_lower} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static java.time.OffsetDateTime tstzspan_lower(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tstzspan_lower requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tstzspan_lower(arg0); + } + + /** + * MEOS {@code tstzspan_shift_scale} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer tstzspan_shift_scale(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1, jnr.ffi.Pointer arg2) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tstzspan_shift_scale requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tstzspan_shift_scale(arg0, arg1, arg2); + } + + /** + * MEOS {@code tstzspan_tprecision} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer tstzspan_tprecision(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1, java.time.OffsetDateTime arg2) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tstzspan_tprecision requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tstzspan_tprecision(arg0, arg1, arg2); + } + + /** + * MEOS {@code tstzspan_upper} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static java.time.OffsetDateTime tstzspan_upper(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tstzspan_upper requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tstzspan_upper(arg0); + } + + /** + * MEOS {@code tstzspan_tcount_transfn} — tier windowed. + *

Requires window operator — caller wraps in AggregateFunction.

+ *

Object-model role: {@code aggregate}.

+ *

Classification: role=aggregate

+ */ + public static jnr.ffi.Pointer tstzspan_tcount_transfn(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tstzspan_tcount_transfn requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tstzspan_tcount_transfn(arg0, arg1); + } + + /** + * MEOS {@code tstzspan_in} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Object-model role: {@code constructor}.

+ *

Classification: IO/serialization

+ */ + public static jnr.ffi.Pointer tstzspan_in(java.lang.String arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tstzspan_in requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tstzspan_in(arg0); + } + + /** + * MEOS {@code tstzspan_out} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Object-model role: {@code output}.

+ *

Classification: IO/serialization

+ */ + public static java.lang.String tstzspan_out(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tstzspan_out requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tstzspan_out(arg0); + } + +} diff --git a/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsTstzSpanSet.java b/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsTstzSpanSet.java new file mode 100644 index 00000000..36501f00 --- /dev/null +++ b/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsTstzSpanSet.java @@ -0,0 +1,267 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2020-2026, Université libre de Bruxelles and MobilityDB + * contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +package org.mobilitydb.meos; + +/* AUTO-GENERATED by codegen_flink_v3.py — do not edit by hand. + * MEOS object-model class: TstzSpanSet + * Methods emitted: 16 (bounded-state=11 · io-meta=2 · stateless=2 · windowed=1) + * Source: JMEOS jar (PR #15 / regen-against-meos-1.4) ∩ streaming-relevance baseline v4. + */ + +import functions.GeneratedFunctions; +import jnr.ffi.Pointer; + +public final class MeosOpsTstzSpanSet { + + public static final boolean MEOS_AVAILABLE = MeosOpsRuntime.MEOS_AVAILABLE; + + private MeosOpsTstzSpanSet() { /* utility */ } + + /** + * MEOS {@code tstzspanset_to_datespanset} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Object-model role: {@code conversion}.

+ *

Classification: role=conversion

+ */ + public static jnr.ffi.Pointer tstzspanset_to_datespanset(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tstzspanset_to_datespanset requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tstzspanset_to_datespanset(arg0); + } + + /** + * MEOS {@code tstzspanset_to_stbox} — tier stateless. + *

Pure per-event; safe in any scalar position.

+ *

Object-model role: {@code conversion}.

+ *

Classification: role=conversion

+ */ + public static jnr.ffi.Pointer tstzspanset_to_stbox(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tstzspanset_to_stbox requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tstzspanset_to_stbox(arg0); + } + + /** + * MEOS {@code tstzspanset_bins} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer tstzspanset_bins(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1, java.time.OffsetDateTime arg2, jnr.ffi.Pointer arg3) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tstzspanset_bins requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tstzspanset_bins(arg0, arg1, arg2, arg3); + } + + /** + * MEOS {@code tstzspanset_duration} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer tstzspanset_duration(jnr.ffi.Pointer arg0, boolean arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tstzspanset_duration requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tstzspanset_duration(arg0, arg1); + } + + /** + * MEOS {@code tstzspanset_end_timestamptz} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static java.time.OffsetDateTime tstzspanset_end_timestamptz(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tstzspanset_end_timestamptz requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tstzspanset_end_timestamptz(arg0); + } + + /** + * MEOS {@code tstzspanset_lower} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static java.time.OffsetDateTime tstzspanset_lower(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tstzspanset_lower requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tstzspanset_lower(arg0); + } + + /** + * MEOS {@code tstzspanset_num_timestamps} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static int tstzspanset_num_timestamps(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tstzspanset_num_timestamps requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tstzspanset_num_timestamps(arg0); + } + + /** + * MEOS {@code tstzspanset_shift_scale} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer tstzspanset_shift_scale(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1, jnr.ffi.Pointer arg2) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tstzspanset_shift_scale requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tstzspanset_shift_scale(arg0, arg1, arg2); + } + + /** + * MEOS {@code tstzspanset_start_timestamptz} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static java.time.OffsetDateTime tstzspanset_start_timestamptz(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tstzspanset_start_timestamptz requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tstzspanset_start_timestamptz(arg0); + } + + /** + * MEOS {@code tstzspanset_timestamps} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer tstzspanset_timestamps(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tstzspanset_timestamps requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tstzspanset_timestamps(arg0); + } + + /** + * MEOS {@code tstzspanset_timestamptz_n} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer tstzspanset_timestamptz_n(jnr.ffi.Pointer arg0, int arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tstzspanset_timestamptz_n requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tstzspanset_timestamptz_n(arg0, arg1); + } + + /** + * MEOS {@code tstzspanset_tprecision} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static jnr.ffi.Pointer tstzspanset_tprecision(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1, java.time.OffsetDateTime arg2) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tstzspanset_tprecision requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tstzspanset_tprecision(arg0, arg1, arg2); + } + + /** + * MEOS {@code tstzspanset_upper} — tier bounded-state. + *

Per-event with bounded per-key state (MEOS handle).

+ *

Object-model role: {@code accessor}.

+ *

Classification: role=accessor

+ */ + public static java.time.OffsetDateTime tstzspanset_upper(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tstzspanset_upper requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tstzspanset_upper(arg0); + } + + /** + * MEOS {@code tstzspanset_tcount_transfn} — tier windowed. + *

Requires window operator — caller wraps in AggregateFunction.

+ *

Object-model role: {@code aggregate}.

+ *

Classification: role=aggregate

+ */ + public static jnr.ffi.Pointer tstzspanset_tcount_transfn(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tstzspanset_tcount_transfn requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tstzspanset_tcount_transfn(arg0, arg1); + } + + /** + * MEOS {@code tstzspanset_in} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Object-model role: {@code constructor}.

+ *

Classification: IO/serialization

+ */ + public static jnr.ffi.Pointer tstzspanset_in(java.lang.String arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tstzspanset_in requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tstzspanset_in(arg0); + } + + /** + * MEOS {@code tstzspanset_out} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

Object-model role: {@code output}.

+ *

Classification: IO/serialization

+ */ + public static java.lang.String tstzspanset_out(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tstzspanset_out requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tstzspanset_out(arg0); + } + +} diff --git a/jmeos-core/tools/codegen/README.md b/jmeos-core/tools/codegen/README.md new file mode 100644 index 00000000..94ec1cd2 --- /dev/null +++ b/jmeos-core/tools/codegen/README.md @@ -0,0 +1,106 @@ +# MEOS-API → MobilityFlink codegen + +`org.mobilitydb.flink.meos.MeosOps*` is a generated, tier-aware Java +facade over the MEOS public API. Two siblings of classes: + +- `MeosOps` — one per MEOS object-model class (50 classes, 751 + methods). Source: `codegen-oo.py`. +- `MeosOpsFree
` — one per public MEOS header for functions + *not* assigned to any OO class (6 headers, 1,346 methods). Source: + `codegen-free.py`. + +Both generators share the same per-method discipline: read JMEOS' actual +exported surface via `javap -p functions.GeneratedFunctions`, +inner-join with the streaming-relevance baseline v4 (tier +classification of every MEOS public function), emit one static method +per matched function whose body forwards to the JMEOS native binding +after probing the shared `MeosOpsRuntime.MEOS_AVAILABLE` flag. + +## What is generated + +For every MEOS public function `f` that + +1. lives in one of the five public-API streaming tiers + (`stateless`, `bounded-state`, `windowed`, `cross-stream`, + `io-meta`), and +2. is exposed by JMEOS as a static method on + `functions.GeneratedFunctions`, + +the generator emits `MeosOps.f(...)` or +`MeosOpsFree
.f(...)` whose body delegates to +`GeneratedFunctions.f(...)` after probing +`MeosOpsRuntime.MEOS_AVAILABLE`. Each method carries a Javadoc tier +marker so consumers know the per-method wiring shape (scalar UDF for +`stateless`/`bounded-state`, windowed aggregate for `windowed`, etc.). + +## Why generated rather than hand-written + +- **One source of truth.** Method signatures, classification, and tier + semantics come from the MEOS-API catalog + the streaming-relevance + baseline; no hand-written facade can drift from MEOS' actual surface. +- **Audit by regeneration.** Reviewing the diff is reviewing the + catalog change; each generator is ~250 lines, the runtime is ~30, + the rest is mechanical. +- **Bump-safe.** When the JMEOS jar regenerates against a new MEOS + release, re-running the generators absorbs the new surface with zero + hand edits. + +## How to regenerate + +```bash +# 1. Regenerate the MEOS-API catalog from MobilityDB headers +git clone --branch feat/object-model https://github.com/MobilityDB/MEOS-API.git +cd MEOS-API && pip install -r requirements.txt +python run.py /path/to/MobilityDB/meos/include /path/to/MobilityDB/mobilitydb/src +# → output/meos-idl.json + +# 2. Produce the streaming-relevance baseline (v4 classifier) +# → streaming-relevance-baseline.json + +# 3. Extract JMEOS PR #19 method signatures +jar xf flink-processor/jar/JMEOS.jar functions/GeneratedFunctions.class +javap -p functions.GeneratedFunctions > jmeos_signatures.txt + +# 4. Run both generators +python flink-processor/tools/codegen/codegen-oo.py # → MeosOps.java +python flink-processor/tools/codegen/codegen-free.py # → MeosOpsFree
.java +``` + +## Manifests + +`meos-ops-manifest.json` (OO-classified) and +`meos-ops-free-manifest.json` (free fns) record the regeneration +provenance: total JMEOS method count, baseline target count, emit +count, per-tier breakdown, per-class/per-header method count, sample +of functions absent from JMEOS. + +## Tier vocabulary + +| Tier | Meaning | Flink wiring shape | +|---|---|---| +| `stateless` | Pure per-event, no state | `ScalarFunction` (Table API) or direct call in `MapFunction` | +| `bounded-state` | Per-event with bounded per-key state | `ScalarFunction` (state lives in the MEOS handle) | +| `windowed` | Output cardinality changes; needs a window | `AggregateFunction` over `TUMBLE`/`HOP` | +| `cross-stream` | Pairwise across streams; needs interval-overlap join | `CoProcessFunction` or `IntervalJoin` | +| `io-meta` | I/O, catalog, lifecycle helpers | Helper / `format` clause | + +The current emission excludes `sequence-only` (functions requiring the +full sequence offline; ~14 fns) and `ambiguous` corner cases (~59 fns +where the mechanical classifier couldn't decide). Both are surfaced +separately for design decisions before emit. + +## Coexistence with `MEOSBridge.java` + +`berlinmod.MEOSBridge` is the hand-written, BerlinMOD-scoped bridge +introduced on `feat/jmeos-bridge-swap`. The generated `MeosOps*` +facades are the catalog-driven equivalent for the *whole* MEOS +surface; they coexist without redesigning `MEOSBridge`: + +- `MEOSBridge` keeps the per-BerlinMOD-query intent (Haversine + fallback, `dwithinSegmentMetres`, etc.) — high-level, query-shaped. +- `MeosOps*` exposes the raw MEOS surface tier-by-tier — low-level, + catalog-shaped. + +Both share the same `MEOS_AVAILABLE` discipline (via +`MeosOpsRuntime`) and the same `functions.GeneratedFunctions` +delegation. diff --git a/jmeos-core/tools/codegen/emit_h3_facade.py b/jmeos-core/tools/codegen/emit_h3_facade.py new file mode 100644 index 00000000..152542c6 --- /dev/null +++ b/jmeos-core/tools/codegen/emit_h3_facade.py @@ -0,0 +1,107 @@ +#!/usr/bin/env python3 +"""Emit the H3 / th3index family facade (MeosOpsTh3index + MeosOpsFreeH3). + +The unified functions.GeneratedFunctions jar carries the H3 temporal-index +family. This emits its user-facing surface as MeosOps* forwarders, mirroring the +other per-family facade classes: the numerator is the public meos_h3.h externs +intersected with the jar (Datum-bearing dispatchers and internal h3 helpers are +excluded by construction — they are not declared in meos_h3.h). th3index_* go to +the temporal-type class MeosOpsTh3index; the remaining H3 free functions (geo↔H3 +walkers, set ops, ever/always comparisons) go to MeosOpsFreeH3. + +Run from : + MEOS_INCLUDE= python3 tools/codegen/emit_h3_facade.py jar/JMEOS.jar +""" + +# Canonical MobilityDB PostgreSQL-License header, emitted on every generated file. +MEOS_LICENSE_BANNER = ( + '/*****************************************************************************\n' + ' *\n' + ' * This MobilityDB code is provided under The PostgreSQL License.\n' + ' * Copyright (c) 2020-2026, Université libre de Bruxelles and MobilityDB\n' + ' * contributors\n' + ' *\n' + ' * Permission to use, copy, modify, and distribute this software and its\n' + ' * documentation for any purpose, without fee, and without a written\n' + ' * agreement is hereby granted, provided that the above copyright notice and\n' + ' * this paragraph and the following two paragraphs appear in all copies.\n' + ' *\n' + ' * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR\n' + ' * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING\n' + ' * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION,\n' + ' * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY\n' + ' * OF SUCH DAMAGE.\n' + ' *\n' + ' * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES,\n' + ' * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY\n' + ' * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON\n' + ' * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO\n' + ' * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.\n' + ' *\n' + ' *****************************************************************************/' +) +import re, os, sys, subprocess + +HERE = os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(__file__)))) +FACADE = os.path.join(HERE, "src/main/java/org/mobilitydb/meos") +INC = os.environ.get("MEOS_INCLUDE", "/home/esteban/src/MobilityDB/meos/include") +_SIG = re.compile(r'public static (\S+) ([a-z_][A-Za-z0-9_]*)\(([^)]*)\)') +_DECL = re.compile(r'^\s*extern\s+.+?\b([a-z][A-Za-z0-9_]*)\s*\(', re.M) + + +def jar_sigs(jar): + out = subprocess.run(["javap", "-classpath", jar, "-p", "functions.GeneratedFunctions"], + capture_output=True, text=True).stdout + sigs = {} + for line in out.splitlines(): + m = _SIG.search(line) + if m: + sigs[m.group(2)] = (m.group(1), + [a.strip() for a in m.group(3).strip().split(",")] if m.group(3).strip() else []) + return sigs + + +def method(name, sigs): + ret, types = sigs[name] + decl = ", ".join(f"{t} arg{i}" for i, t in enumerate(types)) + call = ", ".join(f"arg{i}" for i in range(len(types))) + retkw = "" if ret == "void" else "return " + return (f"\n /** MEOS {{@code {name}}} — H3 / th3index family. */\n" + f" public static {ret} {name}({decl}) {{\n" + f" if (!MEOS_AVAILABLE) {{\n" + f" throw new UnsupportedOperationException(\n" + f' "{name} requires libmeos — set -Dmeos.enabled=true");\n' + f" }}\n" + f" {retkw}GeneratedFunctions.{name}({call});\n" + f" }}\n") + + +def emit_class(cls, names, sigs): + body = "".join(method(n, sigs) for n in names) + txt = (MEOS_LICENSE_BANNER + "\n\n" + f"package org.mobilitydb.meos;\n\n" + f"/* AUTO-GENERATED by tools/codegen/emit_h3_facade.py — do not edit by hand.\n" + f" * H3 / th3index family facade over functions.GeneratedFunctions.\n */\n\n" + f"import functions.GeneratedFunctions;\n" + f"import jnr.ffi.Pointer;\n\n" + f"public final class {cls} {{\n\n" + f" public static final boolean MEOS_AVAILABLE = MeosOpsRuntime.MEOS_AVAILABLE;\n\n" + f" private {cls}() {{ /* utility */ }}\n" + f"{body}}}\n") + open(os.path.join(FACADE, f"{cls}.java"), "w").write(txt) + return len(names) + + +def main(): + jar = sys.argv[1] if len(sys.argv) > 1 else os.path.join(HERE, "jar/JMEOS.jar") + sigs = jar_sigs(jar) + public = set(_DECL.findall(open(os.path.join(INC, "meos_h3.h")).read())) + facade = sorted(public & set(sigs)) + th3 = [n for n in facade if n.startswith("th3index")] + free = [n for n in facade if not n.startswith("th3index")] + a = emit_class("MeosOpsTh3index", th3, sigs) + b = emit_class("MeosOpsFreeH3", free, sigs) + print(f"MeosOpsTh3index: {a} methods; MeosOpsFreeH3: {b} methods") + + +if __name__ == "__main__": + main() diff --git a/jmeos-core/tools/codegen/emit_tbigint_facade.py b/jmeos-core/tools/codegen/emit_tbigint_facade.py new file mode 100644 index 00000000..d4cbe6d8 --- /dev/null +++ b/jmeos-core/tools/codegen/emit_tbigint_facade.py @@ -0,0 +1,97 @@ +#!/usr/bin/env python3 +"""Emit the tbigint temporal-type family facade (MeosOpsTBigint). + +The consolidated functions.GeneratedFunctions jar carries the tbigint temporal +type (MobilityDB #1044). The static bigint set/span types already have facade +classes (MeosOpsBigintSet/Span/SpanSet); this emits the temporal type's surface +— the numerator is the public meos.h externs whose name contains 'tbigint' +intersected with the jar (Datum-bearing dispatchers are excluded, not being +extern-declared in the public header). Mirrors the per-family facade classes +(MeosOpsTInt/TFloat/…) and the th3index family-port. + +Run from : + MEOS_INCLUDE= python3 tools/codegen/emit_tbigint_facade.py jar/JMEOS.jar +""" + +# Canonical MobilityDB PostgreSQL-License header, emitted on every generated file. +MEOS_LICENSE_BANNER = ( + '/*****************************************************************************\n' + ' *\n' + ' * This MobilityDB code is provided under The PostgreSQL License.\n' + ' * Copyright (c) 2020-2026, Université libre de Bruxelles and MobilityDB\n' + ' * contributors\n' + ' *\n' + ' * Permission to use, copy, modify, and distribute this software and its\n' + ' * documentation for any purpose, without fee, and without a written\n' + ' * agreement is hereby granted, provided that the above copyright notice and\n' + ' * this paragraph and the following two paragraphs appear in all copies.\n' + ' *\n' + ' * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR\n' + ' * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING\n' + ' * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION,\n' + ' * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY\n' + ' * OF SUCH DAMAGE.\n' + ' *\n' + ' * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES,\n' + ' * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY\n' + ' * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON\n' + ' * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO\n' + ' * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.\n' + ' *\n' + ' *****************************************************************************/' +) +import re, os, sys, subprocess + +HERE = os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(__file__)))) +FACADE = os.path.join(HERE, "src/main/java/org/mobilitydb/meos") +INC = os.environ.get("MEOS_INCLUDE", "/home/esteban/src/MobilityDB/meos/include") +_SIG = re.compile(r'public static (\S+) ([a-z_][A-Za-z0-9_]*)\(([^)]*)\)') +_DECL = re.compile(r'^\s*extern\s+.+?\b([a-z][A-Za-z0-9_]*)\s*\(', re.M) + + +def jar_sigs(jar): + out = subprocess.run(["javap", "-classpath", jar, "-p", "functions.GeneratedFunctions"], + capture_output=True, text=True).stdout + sigs = {} + for line in out.splitlines(): + m = _SIG.search(line) + if m: + sigs[m.group(2)] = (m.group(1), + [a.strip() for a in m.group(3).strip().split(",")] if m.group(3).strip() else []) + return sigs + + +def main(): + jar = sys.argv[1] if len(sys.argv) > 1 else os.path.join(HERE, "jar/JMEOS.jar") + sigs = jar_sigs(jar) + public = set(_DECL.findall(open(os.path.join(INC, "meos.h")).read())) + names = sorted(n for n in public if "tbigint" in n and n in sigs) + body = "" + for name in names: + ret, types = sigs[name] + decl = ", ".join(f"{t} arg{i}" for i, t in enumerate(types)) + call = ", ".join(f"arg{i}" for i in range(len(types))) + retkw = "" if ret == "void" else "return " + body += (f"\n /** MEOS {{@code {name}}} — tbigint temporal family. */\n" + f" public static {ret} {name}({decl}) {{\n" + f" if (!MEOS_AVAILABLE) {{\n" + f" throw new UnsupportedOperationException(\n" + f' "{name} requires libmeos — set -Dmeos.enabled=true");\n' + f" }}\n" + f" {retkw}GeneratedFunctions.{name}({call});\n" + f" }}\n") + txt = (MEOS_LICENSE_BANNER + "\n\n" + "package org.mobilitydb.meos;\n\n" + "/* AUTO-GENERATED by tools/codegen/emit_tbigint_facade.py — do not edit by hand.\n" + " * tbigint temporal-type family facade over functions.GeneratedFunctions.\n */\n\n" + "import functions.GeneratedFunctions;\n" + "import jnr.ffi.Pointer;\n\n" + "public final class MeosOpsTBigint {\n\n" + " public static final boolean MEOS_AVAILABLE = MeosOpsRuntime.MEOS_AVAILABLE;\n\n" + " private MeosOpsTBigint() { /* utility */ }\n" + f"{body}}}\n") + open(os.path.join(FACADE, "MeosOpsTBigint.java"), "w").write(txt) + print(f"MeosOpsTBigint: {len(names)} methods") + + +if __name__ == "__main__": + main() diff --git a/jmeos-core/tools/codegen/regen_facade_from_jar.py b/jmeos-core/tools/codegen/regen_facade_from_jar.py new file mode 100644 index 00000000..0e00ed5e --- /dev/null +++ b/jmeos-core/tools/codegen/regen_facade_from_jar.py @@ -0,0 +1,78 @@ +#!/usr/bin/env python3 +"""Re-derive the MeosOps* facade signatures from a JMEOS jar. + +The tier-aware generators (codegen-oo.py / codegen-free.py) emit the facade +from the MEOS-API streaming-relevance baseline. When only the binding jar is +available (e.g. bumping to a newly generated functions.GeneratedFunctions whose +type lowering changed), this tool re-emits each existing facade method with the +jar's current signature — preserving the per-class tier classification and the +Javadoc, changing only the parameter / return types to match the jar. It is the +signature-migration complement to the baseline generators, not a replacement. + +Run from : + python3 tools/codegen/regen_facade_from_jar.py \\ + src/main/java/org/mobilitydb/meos jar/JMEOS.jar + +Forwarder facades emitted by their own scripts are left untouched here +(MeosOpsParityGaps via emit_gap_methods.py, MeosOpsSqlSurface via +emit_sql_surface.py, MeosOpsRuntime hand-maintained); re-run those against the +same jar afterwards. +""" +import re, glob, os, sys, subprocess + +EXCLUDE = {"MeosOpsParityGaps.java", "MeosOpsSqlSurface.java", "MeosOpsRuntime.java"} +_SIG = re.compile(r'public static (\S+) ([a-z_][A-Za-z0-9_]*)\(([^)]*)\)') +# method block: optional Javadoc + `public static (...) {` ... 4-space `}` +_BLOCK = re.compile( + r'(?P(?:[ ]{4}/\*\*.*?\*/\n)?)' + r'[ ]{4}public static [^\n;{]*?\b(?P[a-z_][A-Za-z0-9_]*)\([^)]*\)\s*\{' + r'.*?\n[ ]{4}\}\n', + re.S) + + +def jar_signatures(jar): + out = subprocess.run(["javap", "-classpath", jar, "-p", + "functions.GeneratedFunctions"], + capture_output=True, text=True).stdout + sigs = {} + for line in out.splitlines(): + m = _SIG.search(line) + if m: + ret, name, args = m.group(1), m.group(2), m.group(3).strip() + sigs[name] = (ret, [a.strip() for a in args.split(",")] if args else []) + return sigs + + +def emit(jd, name, sigs): + if name not in sigs: + return None + ret, types = sigs[name] + decl = ", ".join(f"{t} arg{i}" for i, t in enumerate(types)) + call = ", ".join(f"arg{i}" for i in range(len(types))) + retkw = "" if ret == "void" else "return " + return (f'{jd} public static {ret} {name}({decl}) {{\n' + f' if (!MEOS_AVAILABLE) {{\n' + f' throw new UnsupportedOperationException(\n' + f' "{name} requires libmeos — set -Dmeos.enabled=true");\n' + f' }}\n' + f' {retkw}GeneratedFunctions.{name}({call});\n' + f' }}\n') + + +def main(): + facade_dir, jar = sys.argv[1], sys.argv[2] + sigs = jar_signatures(jar) + changed = 0 + for f in sorted(glob.glob(os.path.join(facade_dir, "MeosOps*.java"))): + if os.path.basename(f) in EXCLUDE: + continue + txt = open(f).read() + new = _BLOCK.sub(lambda m: emit(m.group("jd"), m.group("name"), sigs) or m.group(0), txt) + if new != txt: + open(f, "w").write(new) + changed += 1 + print(f"jar signatures: {len(sigs)}; facade files rewritten: {changed}") + + +if __name__ == "__main__": + main() diff --git a/jmeos-core/tools/parity/emit_gap_methods.py b/jmeos-core/tools/parity/emit_gap_methods.py new file mode 100644 index 00000000..6553f158 --- /dev/null +++ b/jmeos-core/tools/parity/emit_gap_methods.py @@ -0,0 +1,122 @@ +#!/usr/bin/env python3 +"""Emit forwarding facade methods for MEOS public-surface functions that the +generated MeosOps* facade does not yet expose. + +Each method forwards to its `functions.GeneratedFunctions` export using the +exact JMEOS signature (captured via `javap`), so the output compiles by +construction. Family and nature (scalar / sequence-constructor / tiling) are +recorded in the Javadoc; the wiring tier is governed by the wirings layer, not +by the presence of the forwarder. + +Run from : + javap -classpath jar/JMEOS.jar -p functions.GeneratedFunctions > /tmp/gen_sigs.txt + python3 tools/parity/emit_gap_methods.py /tmp/gen_sigs.txt +""" + +# Canonical MobilityDB PostgreSQL-License header, emitted on every generated file. +MEOS_LICENSE_BANNER = ( + '/*****************************************************************************\n' + ' *\n' + ' * This MobilityDB code is provided under The PostgreSQL License.\n' + ' * Copyright (c) 2020-2026, Université libre de Bruxelles and MobilityDB\n' + ' * contributors\n' + ' *\n' + ' * Permission to use, copy, modify, and distribute this software and its\n' + ' * documentation for any purpose, without fee, and without a written\n' + ' * agreement is hereby granted, provided that the above copyright notice and\n' + ' * this paragraph and the following two paragraphs appear in all copies.\n' + ' *\n' + ' * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR\n' + ' * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING\n' + ' * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION,\n' + ' * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY\n' + ' * OF SUCH DAMAGE.\n' + ' *\n' + ' * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES,\n' + ' * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY\n' + ' * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON\n' + ' * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO\n' + ' * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.\n' + ' *\n' + ' *****************************************************************************/' +) +import re, os, sys, glob + +HERE = os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(__file__)))) +INC = os.environ.get("MEOS_INCLUDE", "/home/esteban/src/MobilityDB/meos/include") +PUBLIC_HEADERS = ["meos.h", "meos_geo.h", "meos_cbuffer.h", "meos_npoint.h", "meos_pose.h", "meos_rgeo.h", "meos_h3.h"] +FACADE = os.path.join(HERE, "src/main/java/org/mobilitydb/meos") +OUT = os.path.join(FACADE, "MeosOpsParityGaps.java") +# Forwarder facades are themselves derived; the "already covered" baseline is the +# tier-aware generated OO classes only, so the generator reproduces idempotently. +DERIVED = {"MeosOpsParityGaps.java", "MeosOpsSqlSurface.java"} + +_DECL = re.compile(r'^\s*extern\s+.+?\b([a-z][A-Za-z0-9_]*)\s*\(', re.M) +_PUBSTATIC = re.compile(r'public static [A-Za-z0-9_.<>\[\]]+ ([a-z0-9_]+)\(') +_SIG = re.compile(r'public static (\S+) (\w+)\(([^)]*)\);') + + +def family(name, fam): + return fam.get(name, "meos.h") + + +def nature(name): + if name.endswith("_make") or "_from_base_" in name or name.endswith("make_coords"): + return "whole-sequence constructor — not a per-event op" + if name.endswith("_tiles"): + return "multidimensional tiling (windowed)" + return "scalar / stateless" + + +def main(): + sigfile = sys.argv[1] if len(sys.argv) > 1 else "/tmp/parity/gen_sigs.txt" + fam, pub = {}, set() + for h in PUBLIC_HEADERS: + for n in set(_DECL.findall(open(os.path.join(INC, h)).read())): + pub.add(n); fam.setdefault(n, h) + facade = set() + for f in glob.glob(os.path.join(FACADE, "MeosOps*.java")): + if os.path.basename(f) in DERIVED: + continue + facade |= set(_PUBSTATIC.findall(open(f).read())) + # all JMEOS signatures, grouped by name + sigs = {} + for line in open(sigfile): + m = _SIG.search(line) + if m: + ret, name, args = m.group(1), m.group(2), m.group(3).strip() + sigs.setdefault(name, []).append((ret, args)) + missing = sorted(n for n in (pub & set(sigs)) - facade) + + L = [MEOS_LICENSE_BANNER, "", "package org.mobilitydb.meos;", "", + "/**", " * Forwarding facade methods for MEOS public-surface functions not emitted", + " * by the tier-aware code generator. Each method delegates to its JMEOS", + " * {@code functions.GeneratedFunctions} export under the shared", + " * {@link MeosOpsRuntime#MEOS_AVAILABLE} guard.", + " */", + "public final class MeosOpsParityGaps {", "", + " private MeosOpsParityGaps() { /* utility */ }", ""] + count = 0 + for name in missing: + for ret, args in sigs[name]: + params = [a.strip() for a in args.split(",")] if args else [] + decl = ", ".join(f"{t} arg{i}" for i, t in enumerate(params)) + call = ", ".join(f"arg{i}" for i in range(len(params))) + ret_kw = "" if ret == "void" else "return " + L += [f" /** MEOS {{@code {name}}} — {family(name, fam)} · {nature(name)}. */", + f" public static {ret} {name}({decl}) {{", + f" if (!MeosOpsRuntime.MEOS_AVAILABLE)", + f' throw new UnsupportedOperationException("{name} requires libmeos' + f' — set -Dmeos.enabled=true");', + f" {ret_kw}functions.GeneratedFunctions.{name}({call});", + " }", ""] + count += 1 + L.append("}") + open(OUT, "w").write("\n".join(L) + "\n") + print(f"missing public-surface functions: {len(missing)}") + print(f"forwarding methods emitted: {count}") + print(f"wrote {OUT}") + + +if __name__ == "__main__": + main() diff --git a/jmeos-core/tools/parity/emit_sql_surface.py b/jmeos-core/tools/parity/emit_sql_surface.py new file mode 100644 index 00000000..b785d3c2 --- /dev/null +++ b/jmeos-core/tools/parity/emit_sql_surface.py @@ -0,0 +1,143 @@ +#!/usr/bin/env python3 +"""Emit forwarding facade methods for MEOS functions that the MobilityDB SQL +layer exposes as user functions but whose implementation lives in the internal +headers (`meos_internal*.h`). JMEOS binds them; exposing them here makes the +Flink facade match the SQL user surface as well as the public MEOS API. + +Each method forwards to its `functions.GeneratedFunctions` export using the +exact JMEOS signature, so the output compiles by construction. + +Run from : + javap -classpath jar/JMEOS.jar -p functions.GeneratedFunctions > /tmp/gen_sigs.txt + python3 tools/parity/emit_sql_surface.py /tmp/gen_sigs.txt +""" + +# Canonical MobilityDB PostgreSQL-License header, emitted on every generated file. +MEOS_LICENSE_BANNER = ( + '/*****************************************************************************\n' + ' *\n' + ' * This MobilityDB code is provided under The PostgreSQL License.\n' + ' * Copyright (c) 2020-2026, Université libre de Bruxelles and MobilityDB\n' + ' * contributors\n' + ' *\n' + ' * Permission to use, copy, modify, and distribute this software and its\n' + ' * documentation for any purpose, without fee, and without a written\n' + ' * agreement is hereby granted, provided that the above copyright notice and\n' + ' * this paragraph and the following two paragraphs appear in all copies.\n' + ' *\n' + ' * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR\n' + ' * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING\n' + ' * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION,\n' + ' * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY\n' + ' * OF SUCH DAMAGE.\n' + ' *\n' + ' * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES,\n' + ' * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY\n' + ' * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON\n' + ' * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO\n' + ' * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.\n' + ' *\n' + ' *****************************************************************************/' +) +import re, os, sys, glob + +HERE = os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(__file__)))) +INC = os.environ.get("MEOS_INCLUDE", "/home/esteban/src/MobilityDB/meos/include") +MDB_SQL = os.environ.get("MDB_SQL", "/home/esteban/src/MobilityDB/mobilitydb/sql") +FACADE = os.path.join(HERE, "src/main/java/org/mobilitydb/meos") +OUT = os.path.join(FACADE, "MeosOpsSqlSurface.java") + +_PUBSTATIC = re.compile(r'public static [A-Za-z0-9_.<>\[\]]+ ([a-z0-9_]+)\(') +_SIG = re.compile(r'public static (\S+) (\w+)\(([^)]*)\);') +_CREATE = re.compile(r'CREATE\s+(?:OR\s+REPLACE\s+)?FUNCTION\s+([A-Za-z0-9_]+)\s*\(', re.I) +_CSYM = re.compile(r"AS\s+'[^']*'\s*,\s*'([A-Za-z0-9_]+)'", re.I) + +OOS_SECTIONS = { + "temporal/011_span_indexes.in.sql", "temporal/012_spanset_indexes.in.sql", + "temporal/013_set_indexes.in.sql", "temporal/019_geo_constructors.in.sql", + "temporal/043_temporal_gist.in.sql", "temporal/044_temporal_spgist.in.sql", + "temporal/999_oid_cache.in.sql", "geo/073_tgeo_gist.in.sql", + "geo/073_tpoint_gist.in.sql", "geo/074_tgeo_spgist.in.sql", + "geo/074_tpoint_spgist.in.sql", "cbuffer/166_tcbuffer_indexes.in.sql", + "npoint/092_tnpoint_gin.in.sql", "npoint/098_tnpoint_indexes.in.sql", + "pose/114_tpose_indexes.in.sql", "rgeo/134_trgeo_indexes.in.sql", +} +OOS_SUFFIXES = ("_in", "_out", "_recv", "_send", "_typmod_in", "_typmod_out", + "_transfn", "_combinefn", "_finalfn", "_serialize", "_deserialize", + "_sel", "_joinsel", "_supportfn", "_analyze", + "_cmp", "_eq", "_ne", "_lt", "_le", "_gt", "_ge", "_hash", "_hash_extended") +OOS_NAMES = {"range", "multirange", "create_trip", "transform_gk"} + + +def header_names(*headers): + names = set() + for h in headers: + names |= set(re.findall(r'^\s*extern\s+.+?\b([a-z][A-Za-z0-9_]*)\s*\(', open(os.path.join(INC, h)).read(), re.M)) + return names + + +def sql_addressable(): + addr = set() + for path in glob.glob(os.path.join(MDB_SQL, "**", "*.in.sql"), recursive=True): + section = os.path.relpath(path, MDB_SQL).replace(os.sep, "/") + txt = open(path, encoding="utf-8", errors="replace").read() + for m in _CREATE.finditer(txt): + name = m.group(1); tail = txt[m.end():m.end() + 1200].split(';')[0] + cm = _CSYM.search(tail); sym = cm.group(1) if cm else None + key = (sym or name).lower() + if section in OOS_SECTIONS or key in OOS_NAMES or key.endswith(OOS_SUFFIXES): + continue + if sym is not None: + addr.add(key) + return addr + + +def main(): + sigfile = sys.argv[1] if len(sys.argv) > 1 else "/tmp/parity/gen_sigs.txt" + sigs = {} + for line in open(sigfile): + m = _SIG.search(line) + if m: + sigs.setdefault(m.group(2), []).append((m.group(1), m.group(3).strip())) + facade = set() + for f in glob.glob(os.path.join(FACADE, "MeosOps*.java")): + facade |= set(_PUBSTATIC.findall(open(f).read())) + pub = header_names("meos.h", "meos_geo.h", "meos_cbuffer.h", "meos_npoint.h", "meos_pose.h", "meos_rgeo.h") + addr = sql_addressable() + # SQL-addressable, bound by JMEOS, not in the public-surface facade, not already exposed + targets = sorted((addr & set(sigs)) - facade - pub) + + L = [MEOS_LICENSE_BANNER, "", "package org.mobilitydb.meos;", "", + "/**", " * Forwarding facade methods for MEOS functions that the MobilityDB SQL layer", + " * exposes as user functions but whose implementation lives in the internal headers", + " * ({@code meos_internal*.h}). JMEOS binds them; they are exposed here so the facade", + " * matches the SQL user surface as well as the public MEOS API. Each method delegates", + " * to its {@code functions.GeneratedFunctions} export under the", + " * {@link MeosOpsRuntime#MEOS_AVAILABLE} guard.", + " */", + "public final class MeosOpsSqlSurface {", "", + " private MeosOpsSqlSurface() { /* utility */ }", ""] + count = 0 + for name in targets: + for ret, args in sigs[name]: + params = [a.strip() for a in args.split(",")] if args else [] + decl = ", ".join(f"{t} arg{i}" for i, t in enumerate(params)) + call = ", ".join(f"arg{i}" for i in range(len(params))) + ret_kw = "" if ret == "void" else "return " + L += [f" /** MEOS {{@code {name}}} — SQL-surface function (meos_internal). */", + f" public static {ret} {name}({decl}) {{", + f" if (!MeosOpsRuntime.MEOS_AVAILABLE)", + f' throw new UnsupportedOperationException("{name} requires libmeos' + f' — set -Dmeos.enabled=true");', + f" {ret_kw}functions.GeneratedFunctions.{name}({call});", + " }", ""] + count += 1 + L.append("}") + open(OUT, "w").write("\n".join(L) + "\n") + print(f"SQL-surface (internal-backed) functions to expose: {len(targets)}") + print(f"forwarding methods emitted: {count}") + print(f"wrote {OUT}") + + +if __name__ == "__main__": + main() diff --git a/jmeos-core/tools/parity/meos-ref/PIN.txt b/jmeos-core/tools/parity/meos-ref/PIN.txt new file mode 100644 index 00000000..00f32345 --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/PIN.txt @@ -0,0 +1 @@ +PIN=2c4243a265 diff --git a/jmeos-core/tools/parity/meos-ref/meos/include/cbuffer/cbuffer.h b/jmeos-core/tools/parity/meos-ref/meos/include/cbuffer/cbuffer.h new file mode 100644 index 00000000..205e3403 --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/meos/include/cbuffer/cbuffer.h @@ -0,0 +1,136 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @brief Functions for temporal buffers. + */ + +#ifndef __CBUFFER_H__ +#define __CBUFFER_H__ + +/* PostgreSQL */ +#include +/* MEOS */ +#include +#include + +/***************************************************************************** + * Type definitions + *****************************************************************************/ + +/* Structure to represent circular buffers */ + +struct Cbuffer +{ + int32 vl_len_; /**< Varlena header (do not touch directly!) */ + double radius; /**< radius */ + Datum point; /**< First 8 bytes of the point which is passed by + reference. The extra bytes needed are added upon + creation. */ + /* variable-length data follows */ +}; + +/***************************************************************************** + * fmgr macros + *****************************************************************************/ + +#define DatumGetCbufferP(X) ((Cbuffer *) DatumGetPointer(X)) +#define CbufferPGetDatum(X) PointerGetDatum(X) +#define PG_GETARG_CBUFFER_P(X) DatumGetCbufferP(PG_GETARG_DATUM(X)) +#define PG_RETURN_CBUFFER_P(X) PG_RETURN_POINTER(X) + +/*****************************************************************************/ + +/* Validity functions */ + +extern bool ensure_valid_cbuffer_cbuffer(const Cbuffer *cb1, + const Cbuffer *cb2); +extern bool ensure_valid_cbuffer_geo(const Cbuffer *cb, + const GSERIALIZED *gs); +extern bool ensure_valid_cbuffer_stbox(const Cbuffer *cb, const STBox *box); +extern bool ensure_valid_cbufferset_cbuffer(const Set *s, const Cbuffer *cb); + +/* Collinear and interpolation functions */ + +extern bool cbuffer_collinear(const Cbuffer *cb1, const Cbuffer *cb2, + const Cbuffer *cbuf3, double ratio); +extern Cbuffer *cbuffersegm_interpolate(const Cbuffer *start, + const Cbuffer *end, long double ratio); +extern long double cbuffersegm_locate(const Cbuffer *start, const Cbuffer *end, + const Cbuffer *value); + +/* Input/output functions */ + +extern Cbuffer *cbuffer_parse(const char **str, bool end); +extern char *cbuffer_wkt_out(Datum value, int maxdd, bool extended); + +/* Accessor functions */ + +extern const GSERIALIZED *cbuffer_point_p(const Cbuffer *cb); + +extern Datum datum_cbuffer_round(Datum buffer, Datum size); + +/* Transformation functions */ + +extern Cbuffer *cbuffer_transf_pj(const Cbuffer *cb, int32_t srid_to, const LWPROJ *pj); + +/* Distance function */ + +extern double cbuffer_distance(const Cbuffer *cb1, const Cbuffer *cb2); +extern Datum datum_cbuffer_distance(Datum cb1, Datum cb2); +extern int cbuffersegm_distance_turnpt(const Cbuffer *start1, + const Cbuffer *end1, const Cbuffer *start2, const Cbuffer *end2, + TimestampTz lower, TimestampTz upper, TimestampTz *t1, TimestampTz *t2); + +/* Spatial relationship functions */ + +extern int cbuffer_contains(const Cbuffer *cb1, const Cbuffer *cb2); +extern int cbuffer_covers(const Cbuffer *cb1, const Cbuffer *cb2); +extern int cbuffer_disjoint(const Cbuffer *cb1, const Cbuffer *cb2); +extern int cbuffer_intersects(const Cbuffer *cb1, const Cbuffer *cb2); +extern int cbuffer_dwithin(const Cbuffer *cb1, const Cbuffer *cb2, double dist); +extern int cbuffer_touches(const Cbuffer *cb1, const Cbuffer *cb2); + +extern int contains_cbuffer_cbuffer(const Cbuffer *cb1, const Cbuffer *cb2); +extern int covers_cbuffer_cbuffer(const Cbuffer *cb1, const Cbuffer *cb2); +extern int disjoint_cbuffer_cbuffer(const Cbuffer *cb1, const Cbuffer *cb2); +extern int intersects_cbuffer_cbuffer(const Cbuffer *cb1, const Cbuffer *cb2); +extern int dwithin_cbuffer_cbuffer(const Cbuffer *cb1, const Cbuffer *cb2, double dist); +extern int touches_cbuffer_cbuffer(const Cbuffer *cb1, const Cbuffer *cb2); + +extern Datum datum_cbuffer_contains(Datum cb1, Datum cb2); +extern Datum datum_cbuffer_covers(Datum cb1, Datum cb2); +extern Datum datum_cbuffer_disjoint(Datum cb1, Datum cb2); +extern Datum datum_cbuffer_intersects(Datum cb1, Datum cb2); +extern Datum datum_cbuffer_dwithin(Datum cb1, Datum cb2, Datum dist); +extern Datum datum_cbuffer_touches(Datum cb1, Datum cb2); + +/*****************************************************************************/ + +#endif /* __CBUFFER_H__ */ diff --git a/jmeos-core/tools/parity/meos-ref/meos/include/cbuffer/doxygen_meos_cbuffer.h b/jmeos-core/tools/parity/meos-ref/meos/include/cbuffer/doxygen_meos_cbuffer.h new file mode 100644 index 00000000..adc2b62c --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/meos/include/cbuffer/doxygen_meos_cbuffer.h @@ -0,0 +1,156 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @defgroup meos_cbuffer_base Functions for static circular buffers + * @ingroup meos_cbuffer + * @brief Functions for static circular buffers + * + * @defgroup meos_cbuffer_set Functions for circular buffer sets + * @ingroup meos_cbuffer + * @brief Functions for circular buffer sets + * + * @defgroup meos_cbuffer_inout Input and output functions + * @ingroup meos_cbuffer + * @brief Input and output functions for temporal circular buffers + * + * @defgroup meos_cbuffer_constructor Constructor functions + * @ingroup meos_cbuffer + * @brief Constructor functions for temporal circular buffers + * + * @defgroup meos_cbuffer_conversion Conversion functions + * @ingroup meos_cbuffer + * @brief Conversion functions for temporal circular buffers + * + * @defgroup meos_cbuffer_accessor Accessor functions + * @ingroup meos_cbuffer + * @brief Accessor functions for temporal circular buffers + * + * @defgroup meos_cbuffer_transf Transformation functions + * @ingroup meos_cbuffer + * @brief Transformation functions for temporal circular buffers + * + * @defgroup meos_cbuffer_restrict Restriction functions + * @ingroup meos_cbuffer + * @brief Restriction functions for temporal circular buffers + * + * @defgroup meos_cbuffer_dist Distance functions + * @ingroup meos_cbuffer + * @brief Distance functions for temporal circular buffers + * + * @defgroup meos_cbuffer_comp Comparison functions + * @ingroup meos_cbuffer + * @brief Comparison functions for temporal circular buffers + * + * @defgroup meos_cbuffer_comp_ever Ever and always comparison functions + * @ingroup meos_cbuffer_comp + * @brief Ever and always comparison functions for temporal circular buffers + * + * @defgroup meos_cbuffer_comp_temp Temporal comparison functions + * @ingroup meos_cbuffer_comp + * @brief Temporal comparison functions for temporal circular buffers + * + * @defgroup meos_cbuffer_rel Spatial relationship functions + * @ingroup meos_cbuffer + * @brief Spatial relationship functions for temporal circular buffers + * + * @defgroup meos_cbuffer_rel_ever Ever/always relationship functions + * @ingroup meos_cbuffer_rel + * @brief Ever/always relationship functions for temporal circular buffers + * + * @defgroup meos_cbuffer_rel_temp Temporal relationship functions + * @ingroup meos_cbuffer_rel + * @brief Temporal relationship functions for temporal circular buffers + */ + +/*****************************************************************************/ + +/** + * @defgroup meos_cbuffer_base_inout Input and output functions + * @ingroup meos_cbuffer_base + * @brief Input and output functions for static circular buffers + * + * @defgroup meos_cbuffer_base_constructor Constructor functions + * @ingroup meos_cbuffer_base + * @brief Constructor functions for static circular buffers + * + * @defgroup meos_cbuffer_base_conversion Conversion functions + * @ingroup meos_cbuffer_base + * @brief Conversion functions for static circular buffers + * + * @defgroup meos_cbuffer_base_accessor Accessor functions + * @ingroup meos_cbuffer_base + * @brief Accessor functions for static circular buffers + * + * @defgroup meos_cbuffer_base_transf Transformation functions + * @ingroup meos_cbuffer_base + * @brief Transformation functions for static circular buffers + * + * @defgroup meos_cbuffer_base_srid Spatial reference system functions + * @ingroup meos_cbuffer_base + * @brief Spatial reference system functions for static circular buffers + * + * @defgroup meos_cbuffer_base_rel Spatial relationship functions + * @ingroup meos_cbuffer_base + * @brief Spatial relationship functions for static circular buffers + * + * @defgroup meos_cbuffer_base_dist Distance functions + * @ingroup meos_cbuffer_base + * @brief Distance functions for static circular buffers + * + * @defgroup meos_cbuffer_base_comp Comparison functions + * @ingroup meos_cbuffer_base + * @brief Comparison functions for static circular buffers + */ + +/*****************************************************************************/ + +/** + * @defgroup meos_cbuffer_set_inout Input and output functions + * @ingroup meos_cbuffer_set + * @brief Input and output functions for circular buffer sets + * + * @defgroup meos_cbuffer_set_constructor Constructor functions + * @ingroup meos_cbuffer_set + * @brief Constructor functions for circular buffer sets + * + * @defgroup meos_cbuffer_set_conversion Conversion functions + * @ingroup meos_cbuffer_set + * @brief Conversion functions for circular buffer sets + * + * @defgroup meos_cbuffer_set_accessor Accessor functions + * @ingroup meos_cbuffer_set + * @brief Accessor functions for circular buffer sets + * + * @defgroup meos_cbuffer_set_setops Set operations + * @ingroup meos_cbuffer_set + * @brief Set operations for circular buffer sets + */ + +/*****************************************************************************/ diff --git a/jmeos-core/tools/parity/meos-ref/meos/include/cbuffer/doxygen_meos_internal_cbuffer.h b/jmeos-core/tools/parity/meos-ref/meos/include/cbuffer/doxygen_meos_internal_cbuffer.h new file mode 100644 index 00000000..65fdb3d7 --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/meos/include/cbuffer/doxygen_meos_internal_cbuffer.h @@ -0,0 +1,132 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @defgroup meos_internal_cbuffer_base Functions for static circular buffers + * @ingroup meos_internal_cbuffer + * @brief Functions for static circular buffers + * + * @defgroup meos_internal_cbuffer_set Functions for circular buffer sets + * @ingroup meos_internal_cbuffer + * @brief Functions for circular buffer sets + * + * @defgroup meos_internal_cbuffer_inout Input and output functions + * @ingroup meos_internal_cbuffer + * @brief Input and output functions for temporal circular buffers + * + * @defgroup meos_internal_cbuffer_constructor Constructor functions + * @ingroup meos_internal_cbuffer + * @brief Constructor functions for temporal circular buffers + * + * @defgroup meos_internal_cbuffer_conversion Conversion functions + * @ingroup meos_internal_cbuffer + * @brief Conversion functions for temporal circular buffers + * + * @defgroup meos_internal_cbuffer_accessor Accessor functions + * @ingroup meos_internal_cbuffer + * @brief Accessor functions for temporal circular buffers + * + * @defgroup meos_internal_cbuffer_restrict Restriction functions + * @ingroup meos_internal_cbuffer + * @brief Restriction functions for temporal circular buffers + * + * @defgroup meos_internal_cbuffer_comp Comparison functions + * @ingroup meos_internal_cbuffer + * @brief Comparison functions for temporal circular buffers + * + * @defgroup meos_internal_cbuffer_comp_ever Ever and always comparison functions + * @ingroup meos_internal_cbuffer_comp + * @brief Ever and always comparison functions for temporal circular buffers + * + * @defgroup meos_internal_cbuffer_comp_temp Temporal comparison functions + * @ingroup meos_internal_cbuffer_comp + * @brief Temporal comparison functions for temporal circular buffers + * + * @defgroup meos_internal_cbuffer_dist Distance functions + * @ingroup meos_internal_cbuffer + * @brief Distance functions for temporal circular buffers + */ + +/*****************************************************************************/ + +/** + * @defgroup meos_internal_cbuffer_base_inout Input and output functions + * @ingroup meos_internal_cbuffer_base + * @brief Input and output functions for static circular buffers + * + * @defgroup meos_internal_cbuffer_base_constructor Constructor functions + * @ingroup meos_internal_cbuffer_base + * @brief Constructor functions for static circular buffers + * + * @defgroup meos_internal_cbuffer_base_conversion Conversion functions + * @ingroup meos_internal_cbuffer_base + * @brief Conversion functions for static circular buffers + * + * @defgroup meos_internal_cbuffer_base_accessor Accessor functions + * @ingroup meos_internal_cbuffer_base + * @brief Accessor functions for static circular buffers + * + * @defgroup meos_internal_cbuffer_base_transf Transformation functions + * @ingroup meos_internal_cbuffer_base + * @brief Transformation functions for static circular buffers + * + * @defgroup meos_internal_cbuffer_base_srid Spatial reference system functions + * @ingroup meos_internal_cbuffer_base + * @brief Spatial reference system functions for static circular buffers + * + * @defgroup meos_internal_cbuffer_base_comp Comparison functions + * @ingroup meos_internal_cbuffer_base + * @brief Comparison functions for static circular buffers + */ + +/*****************************************************************************/ + +/** + * @defgroup meos_internal_cbuffer_set_inout Input and output functions + * @ingroup meos_internal_cbuffer_set + * @brief Input and output functions for circular buffer sets + * + * @defgroup meos_internal_cbuffer_set_constructor Constructor functions + * @ingroup meos_internal_cbuffer_set + * @brief Constructor functions for circular buffer sets + * + * @defgroup meos_internal_cbuffer_set_conversion Conversion functions + * @ingroup meos_internal_cbuffer_set + * @brief Conversion functions for circular buffer sets + * + * @defgroup meos_internal_cbuffer_set_accessor Accessor functions + * @ingroup meos_internal_cbuffer_set + * @brief Accessor functions for circular buffer sets + * + * @defgroup meos_internal_cbuffer_set_setops Set operations + * @ingroup meos_internal_cbuffer_set + * @brief Set operations for circular buffer sets + */ + +/*****************************************************************************/ diff --git a/jmeos-core/tools/parity/meos-ref/meos/include/cbuffer/tcbuffer.h b/jmeos-core/tools/parity/meos-ref/meos/include/cbuffer/tcbuffer.h new file mode 100644 index 00000000..c68e9a0b --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/meos/include/cbuffer/tcbuffer.h @@ -0,0 +1,74 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @brief Temporal distance for temporal network points. + */ + +#ifndef __TCBUFFER_H__ +#define __TCBUFFER_H__ + +/* PostgreSQL */ +#include +/* MEOS */ +#include "temporal/temporal.h" +#include "cbuffer/cbuffer.h" + +/*****************************************************************************/ + +/* Validity functions */ + +extern bool ensure_valid_tcbuffer_cbuffer(const Temporal *temp, + const Cbuffer *cb); +extern bool ensure_valid_tcbuffer_geo(const Temporal *temp, + const GSERIALIZED *gs); +extern bool ensure_valid_tcbuffer_stbox(const Temporal *temp, + const STBox *box); +extern bool ensure_valid_tcbuffer_tcbuffer(const Temporal *temp1, + const Temporal *temp2); + +/* Interpolation functions */ + +extern int tcbuffersegm_intersection_value(Datum start, Datum end, + Datum value, TimestampTz lower, TimestampTz upper, TimestampTz *t1, + TimestampTz *t2); +extern int tcbuffersegm_intersection(Datum start1, Datum end1, Datum start2, + Datum end2, TimestampTz lower, TimestampTz upper, TimestampTz *t1, + TimestampTz *t2); + +extern int tcbuffersegm_dwithin_turnpt(Datum start1, Datum end1, Datum start2, + Datum end2, Datum dist, TimestampTz lower, TimestampTz upper, + TimestampTz *t1, TimestampTz *t2); +extern int tcbuffersegm_distance_turnpt(Datum start1, Datum end1, Datum start2, + Datum end2, Datum dist UNUSED, TimestampTz lower, TimestampTz upper, + TimestampTz *t1, TimestampTz *t2); + +/*****************************************************************************/ + +#endif /* __TCBUFFER_H__ */ diff --git a/jmeos-core/tools/parity/meos-ref/meos/include/cbuffer/tcbuffer_boxops.h b/jmeos-core/tools/parity/meos-ref/meos/include/cbuffer/tcbuffer_boxops.h new file mode 100644 index 00000000..72d60104 --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/meos/include/cbuffer/tcbuffer_boxops.h @@ -0,0 +1,59 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @brief Bounding box operators for temporal circular buffers. + */ + +#ifndef __TCBUFFER_BOXOPS_H__ +#define __TCBUFFER_BOXOPS_H__ + +/* PostgreSQL */ +#include +/* MEOS */ +#include "temporal/temporal.h" +#include "cbuffer/cbuffer.h" + +/*****************************************************************************/ + +extern bool cbuffer_set_stbox(const Cbuffer *cb, STBox *box); +extern void cbufferarr_set_stbox(const Datum *values, int count, STBox *box); +extern bool cbuffer_timestamptz_set_stbox(const Cbuffer *cb, TimestampTz t, + STBox *box); +extern bool cbuffer_tstzspan_set_stbox(const Cbuffer *cb, const Span *s, + STBox *box); + +extern void tcbufferinst_set_stbox(const TInstant *inst, STBox *box); +extern void tcbufferinstarr_set_stbox(TInstant **instants, int count, + STBox *box); +extern void tcbufferseq_expand_stbox(const TSequence *seq, const TInstant *inst); + +/*****************************************************************************/ + +#endif /* __TCBUFFER_BOXOPS_H__ */ diff --git a/jmeos-core/tools/parity/meos-ref/meos/include/cbuffer/tcbuffer_spatialfuncs.h b/jmeos-core/tools/parity/meos-ref/meos/include/cbuffer/tcbuffer_spatialfuncs.h new file mode 100644 index 00000000..3f431716 --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/meos/include/cbuffer/tcbuffer_spatialfuncs.h @@ -0,0 +1,64 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @brief Temporal distance for temporal network points. + */ + +#ifndef __TCBUFFER_SPATIALFUNCS_H__ +#define __TCBUFFER_SPATIALFUNCS_H__ + +/* PostgreSQL */ +#include +/* MEOS */ +#include "temporal/temporal.h" +#include "cbuffer/cbuffer.h" + +/*****************************************************************************/ + +/* Traversed area functions */ + +extern GSERIALIZED *tcbufferinst_trav_area(const TInstant *inst); +extern GSERIALIZED *tcbufferseq_trav_area(const TSequence *seq); +extern GSERIALIZED *tcbufferseqset_trav_area(const TSequenceSet *ss); +extern GSERIALIZED *tcbuffersegm_trav_area(const TInstant *inst1, + const TInstant *inst2); + +/* Restriction functions */ + +extern Temporal *tcbuffer_restrict_cbuffer(const Temporal *temp, + const Cbuffer *cb, bool atfunc); +extern Temporal *tcbuffer_restrict_stbox(const Temporal *temp, + const STBox *box, bool border_inc, bool atfunc); +extern Temporal *tcbuffer_restrict_geom(const Temporal *temp, + const GSERIALIZED *gs, bool atfunc); + +/*****************************************************************************/ + +#endif /* __TCBUFFER_SPATIALFUNCS_H__ */ diff --git a/jmeos-core/tools/parity/meos-ref/meos/include/cbuffer/tcbuffer_spatialrels.h b/jmeos-core/tools/parity/meos-ref/meos/include/cbuffer/tcbuffer_spatialrels.h new file mode 100644 index 00000000..d4dfc6db --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/meos/include/cbuffer/tcbuffer_spatialrels.h @@ -0,0 +1,107 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @brief Spatial relationships for temporal points. + */ + +#ifndef __TCBUFFER_SPATIALRELS_H__ +#define __TCBUFFER_SPATIALRELS_H__ + +/* PostgreSQL */ +#include +/* MEOS */ +#include "temporal/temporal.h" +#include "cbuffer/cbuffer.h" + +/*****************************************************************************/ + +extern int ea_contains_geo_tcbuffer(const GSERIALIZED *gs, + const Temporal *temp, bool ever); +extern int ea_contains_tcbuffer_geo(const Temporal *temp, + const GSERIALIZED *gs, bool ever); +extern int ea_contains_tcbuffer_cbuffer(const Temporal *temp, + const Cbuffer *cb, bool ever); +extern int ea_contains_cbuffer_tcbuffer(const Cbuffer *cb, + const Temporal *temp, bool ever); +// extern int ea_contains_tcbuffer_tcbuffer(const Temporal *temp1, +// const Temporal *temp2, bool ever); + +extern int ea_covers_geo_tcbuffer(const GSERIALIZED *gs, + const Temporal *temp, bool ever); +extern int ea_covers_tcbuffer_geo(const Temporal *temp, + const GSERIALIZED *gs, bool ever); +extern int ea_covers_tcbuffer_cbuffer(const Temporal *temp, + const Cbuffer *cb, bool ever); +extern int ea_covers_cbuffer_tcbuffer(const Cbuffer *cb, + const Temporal *temp, bool ever); +extern int ea_covers_tcbuffer_tcbuffer(const Temporal *temp1, + const Temporal *temp2, bool ever); + +extern int ea_disjoint_tcbuffer_geo(const Temporal *temp, + const GSERIALIZED *gs, bool ever); +extern int ea_disjoint_geo_tcbuffer(const GSERIALIZED *gs, + const Temporal *temp, bool ever); +extern int ea_disjoint_tcbuffer_cbuffer(const Temporal *temp, + const Cbuffer *cb, bool ever); +extern int ea_disjoint_cbuffer_tcbuffer(const Cbuffer *cb, + const Temporal *temp, bool ever); +extern int ea_disjoint_tcbuffer_tcbuffer(const Temporal *temp1, + const Temporal *temp2, bool ever); + +extern int ea_intersects_tcbuffer_geo(const Temporal *temp, + const GSERIALIZED *gs, bool ever); +extern int ea_intersects_geo_tcbuffer(const GSERIALIZED *gs, + const Temporal *temp, bool ever); +extern int ea_intersects_tcbuffer_cbuffer(const Temporal *temp, + const Cbuffer *cb, bool ever); +extern int ea_intersects_cbuffer_tcbuffer(const Cbuffer *cb, + const Temporal *temp, bool ever); +extern int ea_intersects_tcbuffer_tcbuffer(const Temporal *temp1, + const Temporal *temp2, bool ever); + +extern int ea_touches_tcbuffer_geo(const Temporal *temp, + const GSERIALIZED *gs, bool ever); +extern int ea_touches_geo_tcbuffer(const GSERIALIZED *gs, + const Temporal *temp, bool ever); +extern int ea_touches_tcbuffer_cbuffer(const Temporal *temp, + const Cbuffer *cb, bool ever); +extern int ea_touches_cbuffer_tcbuffer(const Cbuffer *cb, + const Temporal *temp, bool ever); +extern int ea_touches_tcbuffer_tcbuffer(const Temporal *temp1, + const Temporal *temp2, bool ever); + +extern int edwithin_tcbuffer_tcbuffer(const Temporal *temp1, + const Temporal *temp2, double dist); +extern int adwithin_tcbuffer_tcbuffer(const Temporal *temp1, + const Temporal *temp2, double dist); + +/*****************************************************************************/ + +#endif diff --git a/jmeos-core/tools/parity/meos-ref/meos/include/cbuffer/tcbuffer_tempspatialrels.h b/jmeos-core/tools/parity/meos-ref/meos/include/cbuffer/tcbuffer_tempspatialrels.h new file mode 100644 index 00000000..7c6d0be7 --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/meos/include/cbuffer/tcbuffer_tempspatialrels.h @@ -0,0 +1,54 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @brief Spatiotemporal relationships for temporal points. + */ + +#ifndef __TCBUFFER_TEMPSPATIALRELS_H__ +#define __TCBUFFER_TEMPSPATIALRELS_H__ + +/* PostgreSQL */ +#include +/* MEOS */ +#include "temporal/temporal.h" +#include "cbuffer/cbuffer.h" + +/*****************************************************************************/ + +extern Temporal *tinterrel_tcbuffer_cbuffer(const Temporal *temp, + const Cbuffer *cb, bool tinter); +extern Temporal *tinterrel_tcbuffer_geo(const Temporal *temp, + const GSERIALIZED *gs, bool tinter); +// extern Temporal *tinterrel_tcbuffer_tcbuffer(const Temporal *temp1, +// const Temporal *temp2, bool tinter); + +/*****************************************************************************/ + +#endif /* __TCBUFFER_TEMPSPATIALRELS_H__ */ diff --git a/jmeos-core/tools/parity/meos-ref/meos/include/geo/doxygen_meos_geo.h b/jmeos-core/tools/parity/meos-ref/meos/include/geo/doxygen_meos_geo.h new file mode 100644 index 00000000..8f590fb1 --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/meos/include/geo/doxygen_meos_geo.h @@ -0,0 +1,252 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @defgroup meos_geo_base Functions for static geometries + * @ingroup meos_geo + * @brief Functions for static geometries + * + * @defgroup meos_geo_set Functions for spatial sets + * @ingroup meos_geo + * @brief Functions for spatial sets + * + * @defgroup meos_geo_box Functions for spatiotemporal boxes + * @ingroup meos_geo + * @brief Functions for spatiotemporal boxes + * + * @defgroup meos_geo_inout Input and output functions + * @ingroup meos_geo + * @brief Input and output functions for temporal geometries + * + * @defgroup meos_geo_constructor Constructor functions + * @ingroup meos_geo + * @brief Constructor functions for temporal geometries + * + * @defgroup meos_geo_conversion Conversion functions + * @ingroup meos_geo + * @brief Conversion functions for temporal geometries + * + * @defgroup meos_geo_accessor Accessor functions + * @ingroup meos_geo + * @brief Accessor functions for temporal geometries + * + * @defgroup meos_geo_transf Transformation functions + * @ingroup meos_geo + * @brief Transformation functions for temporal geometries + * + * @defgroup meos_geo_restrict Restriction functions + * @ingroup meos_geo + * @brief Restriction functions for temporal geometries + * + * @defgroup meos_geo_comp Comparison functions + * @ingroup meos_geo + * @brief Comparison functions for temporal geometries + * + * @defgroup meos_geo_comp_ever Ever and always comparison functions + * @ingroup meos_geo_comp + * @brief Ever and always comparison functions for temporal geometries + * + * @defgroup meos_geo_comp_temp Temporal comparison functions + * @ingroup meos_geo_comp + * @brief Temporal comparison functions for temporal geometries + * + * @defgroup meos_geo_bbox Bounding box functions + * @ingroup meos_geo + * @brief Bounding box functions for temporal geometries + * + * @defgroup meos_geo_bbox_split Split functions + * @ingroup meos_geo_bbox + * @brief Split functions for temporal geometries + * + * @defgroup meos_geo_bbox_topo Topological functions + * @ingroup meos_geo_bbox + * @brief Topological functions for temporal geometries + * + * @defgroup meos_geo_bbox_pos Position functions + * @ingroup meos_geo_bbox + * @brief Position functions for temporal geometries + * + * @defgroup meos_geo_distance Distance functions + * @ingroup meos_geo + * @brief Distance functions for temporal geometries + * + * @defgroup meos_geo_srid Spatial reference system functions + * @ingroup meos_geo + * @brief Spatial reference system functions for temporal geometries + * + * @defgroup meos_geo_rel Spatial relationship functions + * @ingroup meos_geo + * @brief Spatial relationship functions for temporal geometries + * + * @defgroup meos_geo_rel_ever Ever/always relationship functions + * @ingroup meos_geo_rel + * @brief Ever/always relationship functions for temporal geometries + * + * @defgroup meos_geo_rel_temp Temporal relationship functions + * @ingroup meos_geo_rel + * @brief Temporal relationship functions for temporal geometries + * + * @defgroup meos_geo_agg Aggregate functions + * @ingroup meos_geo + * @brief Aggregate functions for temporal geometries + * + * @defgroup meos_geo_tile Tile functions + * @ingroup meos_geo + * @brief Tile functions for temporal geometries + */ + +/*****************************************************************************/ + +/** + * @defgroup meos_geo_base_inout Input and output functions + * @ingroup meos_geo_base + * @brief Input and output functions for static geometries + * + * @defgroup meos_geo_base_constructor Constructor functions + * @ingroup meos_geo_base + * @brief Constructor functions for static geometries + * + * @defgroup meos_geo_base_conversion Conversion functions + * @ingroup meos_geo_base + * @brief Conversion functions for static geometries + * + * @defgroup meos_geo_base_accessor Accessor functions + * @ingroup meos_geo_base + * @brief Accessor functions for static geometries + * + * @defgroup meos_geo_base_transf Transformation functions + * @ingroup meos_geo_base + * @brief Transformation functions for static geometries + * + * @defgroup meos_geo_base_srid Spatial reference system functions + * @ingroup meos_geo_base + * @brief Spatial reference system functions for temporal geos + * + * @defgroup meos_geo_base_spatial Spatial processing functions + * @ingroup meos_geo_base + * @brief Spatial processing functions for static geometries + * + * @defgroup meos_geo_base_rel Spatial relationship functions + * @ingroup meos_geo_base + * @brief Spatial relationship functions for temporal geos + * + * @defgroup meos_geo_base_bbox Bounding box functions + * @ingroup meos_geo_base + * @brief Bounding box functions for static geometries + * + * @defgroup meos_geo_base_distance Distance functions + * @ingroup meos_geo_base + * @brief Distance functions for static geometries + * + * @defgroup meos_geo_base_comp Comparison functions + * @ingroup meos_geo_base + * @brief Comparison functions for static geometries + */ + +/*****************************************************************************/ + +/** + * @defgroup meos_geo_set_inout Input and output functions + * @ingroup meos_geo_set + * @brief Input and output functions for spatial sets + * + * @defgroup meos_geo_set_constructor Constructor functions + * @ingroup meos_geo_set + * @brief Constructor functions for spatial sets + * + * @defgroup meos_geo_set_conversion Conversion functions + * @ingroup meos_geo_set + * @brief Conversion functions for spatial sets + * + * @defgroup meos_geo_set_accessor Accessor functions + * @ingroup meos_geo_set + * @brief Accessor functions for spatial sets + * + * @defgroup meos_geo_set_srid Spatial reference system functions + * @ingroup meos_geo_set + * @brief Spatial reference system functions for spatial sets + * + * @defgroup meos_geo_set_setops Set operations + * @ingroup meos_geo_set + * @brief Set operations for geometry sets + */ + +/*****************************************************************************/ + +/** + * @defgroup meos_geo_box_inout Input and output functions + * @ingroup meos_geo_box + * @brief Input and output functions for spatiotemporal boxes + * + * @defgroup meos_geo_box_constructor Constructor functions + * @ingroup meos_geo_box + * @brief Constructor functions for spatiotemporal boxes + * + * @defgroup meos_geo_box_conversion Conversion functions + * @ingroup meos_geo_box + * @brief Conversion functions for spatiotemporal boxes + * + * @defgroup meos_geo_box_accessor Accessor functions + * @ingroup meos_geo_box + * @brief Accessor functions for spatiotemporal boxes + * + * @defgroup meos_geo_box_transf Transformation functions + * @ingroup meos_geo_box + * @brief Transformation functions for spatiotemporal boxes + * + * @defgroup meos_geo_box_srid Spatial reference system functions + * @ingroup meos_geo_box + * @brief Spatial reference system functions for spatiotemporal boxes + * + * @defgroup meos_geo_box_bbox Bounding box functions + * @ingroup meos_geo_box + * @brief Bounding box functions for spatiotemporal boxes + * + * @defgroup meos_geo_box_topo Topological functions + * @ingroup meos_geo_box_bbox + * @brief Topological functions for spatiotemporal boxes + * + * @defgroup meos_geo_box_pos Position functions + * @ingroup meos_geo_box_bbox + * @brief Position functions for spatiotemporal boxes + * + * @defgroup meos_geo_box_set Set functions + * @ingroup meos_geo_box + * @brief Set functions for spatiotemporal boxes + * + * @defgroup meos_geo_box_comp Comparison functions + * @ingroup meos_geo_box + * @brief Comparison functions for spatiotemporal boxes + * + * @defgroup meos_geo_box_index Index functions + * @ingroup meos_geo_box + * @brief In-memory RTree index for spatiotemporal boxes + */ + +/*****************************************************************************/ diff --git a/jmeos-core/tools/parity/meos-ref/meos/include/geo/doxygen_meos_internal_geo.h b/jmeos-core/tools/parity/meos-ref/meos/include/geo/doxygen_meos_internal_geo.h new file mode 100644 index 00000000..1773884c --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/meos/include/geo/doxygen_meos_internal_geo.h @@ -0,0 +1,236 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @defgroup meos_internal_geo_base Functions for static geometries + * @ingroup meos_internal_geo + * @brief Functions for static geometries + * + * @defgroup meos_internal_geo_set Functions for geometry sets + * @ingroup meos_internal_geo + * @brief Functions for geometry sets + * + * @defgroup meos_internal_geo_box Functions for spatiotemporal boxes + * @ingroup meos_internal_geo + * @brief Functions for spatiotemporal boxes + * + * @defgroup meos_internal_geo_inout Input and output functions + * @ingroup meos_internal_geo + * @brief Input and output functions for temporal geometries + * + * @defgroup meos_internal_geo_constructor Constructor functions + * @ingroup meos_internal_geo + * @brief Constructor functions for temporal geometries + * + * @defgroup meos_internal_geo_conversion Conversion functions + * @ingroup meos_internal_geo + * @brief Conversion functions for temporal geometries + * + * @defgroup meos_internal_geo_accessor Accessor functions + * @ingroup meos_internal_geo + * @brief Accessor functions for temporal geometries + * + * @defgroup meos_internal_geo_transf Transformation functions + * @ingroup meos_internal_geo + * @brief Transformation functions for temporal geometries + * + * @defgroup meos_internal_geo_restrict Restriction functions + * @ingroup meos_internal_geo + * @brief Restriction functions for temporal geometries + * + * @defgroup meos_internal_geo_comp Comparison functions + * @ingroup meos_internal_geo + * @brief Comparison functions for temporal geometries + * + * @defgroup meos_internal_geo_comp_ever Ever and always comparison functions + * @ingroup meos_internal_geo_comp + * @brief Ever and always comparison functions for temporal geometries + * + * @defgroup meos_internal_geo_comp_temp Temporal comparison functions + * @ingroup meos_internal_geo_comp + * @brief Temporal comparison functions for temporal geometries + * + * @defgroup meos_internal_geo_bbox Bounding box functions + * @ingroup meos_internal_geo + * @brief Bounding box functions for temporal geometries + * + * @defgroup meos_internal_geo_bbox_topo Topological functions + * @ingroup meos_internal_geo_bbox + * @brief Topological functions for temporal geometries + * + * @defgroup meos_internal_geo_bbox_pos Position functions + * @ingroup meos_internal_geo_bbox + * @brief Position functions for temporal geometries + * + * @defgroup meos_internal_geo_dist Distance functions + * @ingroup meos_internal_geo + * @brief Distance functions for temporal geometries + * + * @defgroup meos_internal_geo_srid Spatial reference system functions + * @ingroup meos_internal_geo + * @brief Spatial reference system functions for temporal geos + * + * @defgroup meos_internal_geo_rel Spatial relationship functions + * @ingroup meos_internal_geo + * @brief Spatial relationship functions for temporal geos + * + * @defgroup meos_internal_geo_rel_ever Ever/always relationship functions + * @ingroup meos_internal_geo_rel + * @brief Ever/always relationship functions for temporal geometries + * + * @defgroup meos_internal_geo_rel_temp Temporal relationship functions + * @ingroup meos_internal_geo_rel + * @brief Temporal relationship functions for temporal geometries + * + * @defgroup meos_internal_geo_agg Aggregate functions + * @ingroup meos_internal_geo + * @brief Aggregate functions for temporal geometries + * + * @defgroup meos_internal_geo_tile Tile functions + * @ingroup meos_internal_geo + * @brief Tile functions for temporal geometries + */ + +/*****************************************************************************/ + +/** + * @defgroup meos_internal_geo_base_inout Input and output functions + * @ingroup meos_internal_geo_base + * @brief Input and output functions for static geometries + * + * @defgroup meos_internal_geo_base_constructor Constructor functions + * @ingroup meos_internal_geo_base + * @brief Constructor functions for static geometries + * + * @defgroup meos_internal_geo_base_conversion Conversion functions + * @ingroup meos_internal_geo_base + * @brief Conversion functions for static geometries + * + * @defgroup meos_internal_geo_base_accessor Accessor functions + * @ingroup meos_internal_geo_base + * @brief Accessor functions for static geometries + * + * @defgroup meos_internal_geo_base_transf Transformation functions + * @ingroup meos_internal_geo_base + * @brief Transformation functions for static geometries + * + * @defgroup meos_internal_geo_base_srid Spatial reference system functions + * @ingroup meos_internal_geo_base + * @brief Spatial reference system functions for temporal geos + * + * @defgroup meos_internal_geo_base_spatial Spatial processing functions + * @ingroup meos_internal_geo_base + * @brief Spatial processing functions for static geometries + * + * @defgroup meos_internal_geo_base_rel Spatial relationship functions + * @ingroup meos_internal_geo_base + * @brief Spatial relationship functions for temporal geos + * + * @defgroup meos_internal_geo_base_bbox Bounding box functions + * @ingroup meos_internal_geo_base + * @brief Bounding box functions for static geometries + * + * @defgroup meos_internal_geo_base_comp Comparison functions + * @ingroup meos_internal_geo_base + * @brief Comparison functions for static geometries + */ + +/*****************************************************************************/ + +/** + * @defgroup meos_internal_geo_set_inout Input and output functions + * @ingroup meos_internal_geo_set + * @brief Input and output functions for geometry sets + * + * @defgroup meos_internal_geo_set_constructor Constructor functions + * @ingroup meos_internal_geo_set + * @brief Constructor functions for geometry sets + * + * @defgroup meos_internal_geo_set_conversion Conversion functions + * @ingroup meos_internal_geo_set + * @brief Conversion functions for geometry sets + * + * @defgroup meos_internal_geo_set_accessor Accessor functions + * @ingroup meos_internal_geo_set + * @brief Accessor functions for geometry sets + * + * @defgroup meos_internal_geo_set_setops Set operations + * @ingroup meos_internal_geo_set + * @brief Set operations for geometry sets + */ + +/*****************************************************************************/ + +/** + * @defgroup meos_internal_geo_box_inout Input and output functions + * @ingroup meos_internal_geo_box + * @brief Input and output functions for spatiotemporal boxes + * + * @defgroup meos_internal_geo_box_constructor Constructor functions + * @ingroup meos_internal_geo_box + * @brief Constructor functions for spatiotemporal boxes + * + * @defgroup meos_internal_geo_box_conversion Conversion functions + * @ingroup meos_internal_geo_box + * @brief Conversion functions for spatiotemporal boxes + * + * @defgroup meos_internal_geo_box_accessor Accessor functions + * @ingroup meos_internal_geo_box + * @brief Accessor functions for spatiotemporal boxes + * + * @defgroup meos_internal_geo_box_transf Transformation functions + * @ingroup meos_internal_geo_box + * @brief Transformation functions for spatiotemporal boxes + * + * @defgroup meos_internal_geo_box_srid Spatial reference system functions + * @ingroup meos_internal_geo_box + * @brief Spatial reference system functions for spatiotemporal boxes + * + * @defgroup meos_internal_geo_box_bbox Bounding box functions + * @ingroup meos_internal_geo_box + * @brief Bounding box functions for spatiotemporal boxes + * + * @defgroup meos_internal_geo_box_topo Topological functions + * @ingroup meos_internal_geo_box_bbox + * @brief Topological functions for spatiotemporal boxes + * + * @defgroup meos_internal_geo_box_pos Position functions + * @ingroup meos_internal_geo_box_bbox + * @brief Position functions for spatiotemporal boxes + * + * @defgroup meos_internal_geo_box_set Set functions + * @ingroup meos_internal_geo_box + * @brief Set functions for spatiotemporal boxes + * + * @defgroup meos_internal_geo_box_comp Comparison functions + * @ingroup meos_internal_geo_box + * @brief Comparison functions for spatiotemporal boxes + */ + +/*****************************************************************************/ diff --git a/jmeos-core/tools/parity/meos-ref/meos/include/geo/meos_transform.h b/jmeos-core/tools/parity/meos-ref/meos/include/geo/meos_transform.h new file mode 100644 index 00000000..c7c4e1cb --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/meos/include/geo/meos_transform.h @@ -0,0 +1,66 @@ +/********************************************************************** + * + * PostGIS - Spatial Types for PostgreSQL + * http://postgis.net + * Copyright 2001-2003 Refractions Research Inc. + * + * This is free software; you can redistribute and/or modify it under + * the terms of the GNU General Public Licence. See the COPYING file. + * + **********************************************************************/ + +/* PostgreSQL */ +#include +/* PostGIS */ +#include + +/* Prototypes */ + +extern int lwproj_lookup(int32_t srid_from, int32_t srid_to, LWPROJ **pj); +extern int spheroid_init_from_srid(int32_t srid, SPHEROID *s); +extern void srid_check_latlong(int32_t srid); +extern int srid_is_latlong(int32_t srid); + +/** + * Builtin SRID values + * @{ + */ + +/** Start of the reserved offset */ +#define SRID_RESERVE_OFFSET 999000 + +/** World Mercator, equivalent to EPSG:3395 */ +#define SRID_WORLD_MERCATOR 999000 + +/** Start of UTM North zone, equivalent to EPSG:32601 */ +#define SRID_NORTH_UTM_START 999001 + +/** End of UTM North zone, equivalent to EPSG:32660 */ +#define SRID_NORTH_UTM_END 999060 + +/** Lambert Azimuthal Equal Area (LAEA) North Pole, equivalent to EPSG:3574 */ +#define SRID_NORTH_LAMBERT 999061 + +/** PolarSteregraphic North, equivalent to EPSG:3995 */ +#define SRID_NORTH_STEREO 999062 + +/** Start of UTM South zone, equivalent to EPSG:32701 */ +#define SRID_SOUTH_UTM_START 999101 + +/** Start of UTM South zone, equivalent to EPSG:32760 */ +#define SRID_SOUTH_UTM_END 999160 + +/** Lambert Azimuthal Equal Area (LAEA) South Pole, equivalent to EPSG:3409 */ +#define SRID_SOUTH_LAMBERT 999161 + +/** PolarSteregraphic South, equivalent to EPSG:3031 */ +#define SRID_SOUTH_STEREO 999162 + +/** LAEA zones start (6 latitude bands x up to 20 longitude bands) */ +#define SRID_LAEA_START 999163 + +/** LAEA zones end (6 latitude bands x up to 20 longitude bands) */ +#define SRID_LAEA_END 999283 + +/** @} */ + diff --git a/jmeos-core/tools/parity/meos-ref/meos/include/geo/postgis_funcs.h b/jmeos-core/tools/parity/meos-ref/meos/include/geo/postgis_funcs.h new file mode 100644 index 00000000..b25d7722 --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/meos/include/geo/postgis_funcs.h @@ -0,0 +1,85 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @file + * @brief Functions for geometry types corresponding to external + * PostGIS functions in order to bypass the function manager @p fmgr.c. + */ + +#ifndef __POSTGIS_FUNCS_H__ +#define __POSTGIS_FUNCS_H__ + +/*****************************************************************************/ + +/* GEOS */ +#include +/* PostgreSQL */ +#include +/* PostGIS */ +#include +/* MEOS */ +#include +#include + +/* Functions borrowed from lwgeom_pg.c */ + +extern GSERIALIZED* geom_serialize(LWGEOM *lwgeom); +extern GSERIALIZED* geog_serialize(LWGEOM *lwgeom); + +/* Functions adapted from gserialized_typmod.c */ + +extern GSERIALIZED *postgis_valid_typmod(GSERIALIZED *gs, int32_t typmod); + +extern char *geo_as_wkt(const GSERIALIZED *gs, int precision, bool extended); + +/* Functions adapted from lwgeom_box.c */ + +extern LWGEOM *box2d_to_lwgeom(GBOX *box, int32_t srid); + +/* Functions adapted from lwgeom_box3d.c */ + +extern LWGEOM *box3d_to_lwgeom(BOX3D *box); + +/* Functions adapted from lwgeom_geos.c */ + +extern GEOSGeometry *POSTGIS2GEOS(const GSERIALIZED *pglwgeom); +extern GSERIALIZED *GEOS2POSTGIS(GEOSGeom geom, char want3d); + +extern bool geom_spatialrel(const GSERIALIZED *gs1, const GSERIALIZED *gs2, + spatialRel rel); + +/* Functions adapted from lwgeom_lrs.c */ + +extern LWGEOM *lwgeom_line_interpolate_point(LWGEOM *geom, double fraction, + int32_t srid, char repeat); + +/*****************************************************************************/ + +#endif /* __POSTGIS_FUNCS_H__ */ diff --git a/jmeos-core/tools/parity/meos-ref/meos/include/geo/stbox.h b/jmeos-core/tools/parity/meos-ref/meos/include/geo/stbox.h new file mode 100644 index 00000000..67df1b13 --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/meos/include/geo/stbox.h @@ -0,0 +1,64 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @brief Functions for spatiotemporal bounding boxes. + */ + +#ifndef __STBOX_H__ +#define __STBOX_H__ + +/* PostgreSQL */ +#include +/* PostGIS */ +#include +/* MEOS */ +#include + +/***************************************************************************** + * fmgr macros + *****************************************************************************/ + +#define DatumGetSTboxP(X) ((STBox *) DatumGetPointer(X)) +#define STboxPGetDatum(X) PointerGetDatum(X) +#define PG_GETARG_STBOX_P(n) DatumGetSTboxP(PG_GETARG_DATUM(n)) +#define PG_RETURN_STBOX_P(x) return STboxPGetDatum(x) + +/*****************************************************************************/ + +/* Set an STBox from a */ + +extern void point_get_coords(const GSERIALIZED *point, bool hasz, + double *x, double *y, double *z); +extern void tstzset_stbox_slice(Datum tsdatum, STBox *box); +extern void tstzspanset_stbox_slice(Datum psdatum, STBox *box); + +/*****************************************************************************/ + +#endif diff --git a/jmeos-core/tools/parity/meos-ref/meos/include/geo/stbox_index.h b/jmeos-core/tools/parity/meos-ref/meos/include/geo/stbox_index.h new file mode 100644 index 00000000..6c51c8b0 --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/meos/include/geo/stbox_index.h @@ -0,0 +1,54 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @brief Basic routines for indexing temporal numbers + */ + +#ifndef __STBOX_INDEX_H__ +#define __STBOX_INDEX_H__ + +/* PostgreSQL */ +#include +#include +/* MEOS */ +#include +#include "temporal/temporal.h" + +/*****************************************************************************/ + +extern bool stbox_index_leaf_consistent(const STBox *key, const STBox *query, + StrategyNumber strategy); +extern bool stbox_gist_inner_consistent(const STBox *key, const STBox *query, + StrategyNumber strategy); +extern bool stbox_index_recheck(StrategyNumber strategy); + +/*****************************************************************************/ + +#endif /* __STBOX_INDEX_H__ */ diff --git a/jmeos-core/tools/parity/meos-ref/meos/include/geo/tgeo.h b/jmeos-core/tools/parity/meos-ref/meos/include/geo/tgeo.h new file mode 100644 index 00000000..12a3ff3c --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/meos/include/geo/tgeo.h @@ -0,0 +1,65 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @brief Functions for temporal geos. + */ + +#ifndef __TGEO_H__ +#define __TGEO_H__ + +/* PostgreSQL */ +#include +/* PostGIS */ +#include +/* MEOS */ +#include +#include "temporal/meos_catalog.h" + +/*****************************************************************************/ + +/* General functions */ + +extern void mobilitydb_init(void); + +/* Conversion functions */ + +extern STBox *geo_stbox(const GSERIALIZED *gs); +extern GSERIALIZED *stbox_geo(const STBox *box); + +/* Temporal comparisons */ + +extern Temporal *tcomp_geo_tgeo(const GSERIALIZED *gs, + const Temporal *temp, Datum (*func)(Datum, Datum, MeosType)); +extern Temporal *tcomp_tgeo_geo(const Temporal *temp, + const GSERIALIZED *gs, Datum (*func)(Datum, Datum, MeosType)); + +/*****************************************************************************/ + +#endif diff --git a/jmeos-core/tools/parity/meos-ref/meos/include/geo/tgeo_aggfuncs.h b/jmeos-core/tools/parity/meos-ref/meos/include/geo/tgeo_aggfuncs.h new file mode 100644 index 00000000..be689c05 --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/meos/include/geo/tgeo_aggfuncs.h @@ -0,0 +1,71 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @brief Aggregate functions for temporal geos. + */ + +#ifndef __TGEO_AGGFUNCS_H__ +#define __TGEO_AGGFUNCS_H__ + +/* PostgreSQL */ +#include +/* MEOS */ +#include + + +/*****************************************************************************/ + +/** + * Structure storing the SRID and the dimensionality of the temporal geo + * values for aggregation. Notice that for the moment we do not aggregate + * temporal geographic points. + */ +struct GeoAggregateState +{ + int32_t srid; + bool hasz; +}; + +/*****************************************************************************/ + +extern bool ensure_geoaggstate(const SkipList *state, int32_t srid, bool hasz); +extern bool ensure_geoaggstate_state(const SkipList *state1, + const SkipList *state2); + +extern Temporal **tpoint_transform_tcentroid(const Temporal *temp, int *count); +extern TSequence *tpointinst_tcentroid_finalfn(TInstant **instants, int count, + int32_t srid); +extern TSequenceSet *tpointseq_tcentroid_finalfn(TSequence **sequences, + int count, int32_t srid); +extern Temporal *tpoint_tcentroid_finalfn(SkipList *state); + +/*****************************************************************************/ + +#endif diff --git a/jmeos-core/tools/parity/meos-ref/meos/include/geo/tgeo_distance.h b/jmeos-core/tools/parity/meos-ref/meos/include/geo/tgeo_distance.h new file mode 100644 index 00000000..d7c9bddf --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/meos/include/geo/tgeo_distance.h @@ -0,0 +1,64 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @brief Distance functions for temporal points. + */ + +#ifndef __TGEO_DISTANCE_H__ +#define __TGEO_DISTANCE_H__ + +/* PostgreSQL */ +#include +/* PostGIS */ +#include +/* MEOS */ +#include +#include "temporal/temporal.h" + +/*****************************************************************************/ + +extern bool point3d_min_dist(const POINT3DZ *p1, const POINT3DZ *p2, + const POINT3DZ *p3, const POINT3DZ *p4, double *fraction); + +extern int tgeompointsegm_distance_turnpt(Datum start1, Datum end1, + Datum start2, Datum end2, Datum param UNUSED, TimestampTz lower, TimestampTz upper, + TimestampTz *t1, TimestampTz *t2); +extern int tgeogpointsegm_distance_turnpt(Datum start1, Datum end1, + Datum start2, Datum end2, Datum param UNUSED, TimestampTz lower, TimestampTz upper, + TimestampTz *t1, TimestampTz *t2); + +extern double tnumberinst_distance(const TInstant *inst1, + const TInstant *inst2); +extern double tinstant_distance(const TInstant *inst1, const TInstant *inst2, + datum_func2 func); + +/*****************************************************************************/ + +#endif /* __TGEO_DISTANCE_H__ */ diff --git a/jmeos-core/tools/parity/meos-ref/meos/include/geo/tgeo_restrict.h b/jmeos-core/tools/parity/meos-ref/meos/include/geo/tgeo_restrict.h new file mode 100644 index 00000000..7b792a25 --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/meos/include/geo/tgeo_restrict.h @@ -0,0 +1,55 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @brief Restriction functions for temporal points. + */ + +#ifndef __TPOINT_RESTRICT_H__ +#define __TPOINT_RESTRICT_H__ + +/* PostgreSQL */ +#include +/* PostGIS */ +#include +/* MEOS */ +#include + +/*****************************************************************************/ + +/* Restriction functions */ + +extern TSequence **tpointseq_at_geom(const TSequence *seq, + const GSERIALIZED *gs, int *count); +extern Span *tpointseq_interperiods(const TSequence *seq, + const GSERIALIZED *gs, int *count); + +/*****************************************************************************/ + +#endif /* __TPOINT_RESTRICT_H__ */ diff --git a/jmeos-core/tools/parity/meos-ref/meos/include/geo/tgeo_spatialfuncs.h b/jmeos-core/tools/parity/meos-ref/meos/include/geo/tgeo_spatialfuncs.h new file mode 100644 index 00000000..b0de08de --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/meos/include/geo/tgeo_spatialfuncs.h @@ -0,0 +1,208 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @brief Spatial functions for temporal points. + */ + +#ifndef __TGEO_SPATIALFUNCS_H__ +#define __TGEO_SPATIALFUNCS_H__ + +/* PostgreSQL */ +#include +/* PostGIS */ +#include +/* MEOS */ +#include +#include "temporal/temporal.h" + +/** Symbolic constants for transforming tgeompoint <-> tgeogpoint */ +#define TGEOMP_TO_TGEOGP true +#define TGEOGP_TO_TGEOMP false + +/** Symbolic constants for transforming tgeompoint <-> tgeogpoint */ +#define TGEOM_TO_TGEOG true +#define TGEOG_TO_TGEOM false + +/** Symbolic constants for transforming tgeo <-> tpoint */ +#define TGEO_TO_TPOINT true +#define TPOINT_TO_TGEO false + +/*****************************************************************************/ + +/* Utility functions */ + +extern void datum_point4d(Datum value, POINT4D *p); +extern int geopoint_cmp(const GSERIALIZED *gs1, const GSERIALIZED *gs2); +extern bool geopoint_eq(const GSERIALIZED *gs1, const GSERIALIZED *gs2); +extern bool geopoint_same(const GSERIALIZED *gs1, const GSERIALIZED *gs2); +extern bool datum_point_eq(Datum point1, Datum point2); +extern bool datum_point_same(Datum point1, Datum point2); +extern Datum datum2_point_eq(Datum point1, Datum point2); +extern Datum datum2_point_ne(Datum point1, Datum point2); +extern Datum datum2_point_same(Datum point1, Datum point2); +extern Datum datum2_point_nsame(Datum point1, Datum point2); +extern Datum datum2_geom_centroid(Datum geo); +extern Datum datum2_geog_centroid(Datum geo); +extern GSERIALIZED **geo_extract_elements(const GSERIALIZED *gs, int *count); +extern GSERIALIZED *geo_serialize(const LWGEOM *geom); + +/* Generic functions */ + +extern datum_func2 geo_distance_fn(int16 flags); +extern datum_func2 pt_distance_fn(int16 flags); +extern Datum datum_geom_distance2d(Datum geom1, Datum geom2); +extern Datum datum_geom_distance3d(Datum geom1, Datum geom2); +extern Datum datum_geog_distance(Datum geog1, Datum geog2); +extern Datum datum_pt_distance2d(Datum geom1, Datum geom2); +extern Datum datum_pt_distance3d(Datum geom1, Datum geom2); +extern int16 spatial_flags(Datum d, MeosType basetype); + +/* Validity functions */ + +extern bool ensure_srid_is_latlong(int32_t srid); +extern bool ensure_spatial_validity(const Temporal *temp1, + const Temporal *temp2); +extern int spheroid_init_from_srid(int32_t srid, SPHEROID *s); +extern bool ensure_not_geodetic(int16 flags); +extern bool ensure_same_geodetic(int16 flags1, int16 flags2); +extern bool ensure_same_geodetic_geo(const GSERIALIZED *gs1, + const GSERIALIZED *gs2); +extern bool ensure_same_geodetic_tspatial_geo(const Temporal *temp, + const GSERIALIZED *gs); +extern bool ensure_same_geodetic_tspatial_base(const Temporal *temp, + Datum base); +extern bool ensure_srid_known(int32_t srid); +extern bool ensure_same_srid(int32_t srid1, int32_t srid2); +extern bool ensure_same_dimensionality(int16 flags1, int16 flags2); +extern bool same_spatial_dimensionality(int16 flags1, int16 flags2); +extern bool ensure_same_spatial_dimensionality(int16 flags1, int16 flags2); +extern bool ensure_same_dimensionality_geo(const GSERIALIZED *gs1, + const GSERIALIZED *gs2); +extern bool same_dimensionality_tspatial_geo(const Temporal *temp, + const GSERIALIZED *gs); +extern bool ensure_same_dimensionality_tspatial_geo(const Temporal *temp, + const GSERIALIZED *gs); +extern bool ensure_same_spatial_dimensionality_stbox_geo(const STBox *box, + const GSERIALIZED *gs); +extern bool ensure_same_geodetic_stbox_geo(const STBox *box, + const GSERIALIZED *gs); +extern bool ensure_has_Z_geo(const GSERIALIZED *gs); +extern bool ensure_has_not_Z_geo(const GSERIALIZED *gs); +extern bool ensure_has_M_geo(const GSERIALIZED *gs); +extern bool ensure_has_not_M_geo(const GSERIALIZED *gs); +extern bool ensure_not_geodetic_geo(const GSERIALIZED *gs); +extern bool ensure_point_type(const GSERIALIZED *gs); +extern bool ensure_mline_type(const GSERIALIZED *gs); +extern bool circle_type(const GSERIALIZED *gs); +extern bool ensure_circle_type(const GSERIALIZED *gs); +extern bool ensure_not_empty(const GSERIALIZED *gs); +extern bool ensure_valid_stbox_geo(const STBox *box, const GSERIALIZED *gs); +extern bool ensure_valid_tspatial_geo(const Temporal *temp, + const GSERIALIZED *gs); +extern bool ensure_valid_tspatial_base(const Temporal *temp, Datum base); +extern bool ensure_valid_tspatial_tspatial(const Temporal *temp1, + const Temporal *temp2); +extern bool ensure_valid_spatial_stbox_stbox(const STBox *box1, + const STBox *box2); +extern bool ensure_valid_tgeo_stbox(const Temporal *temp, const STBox *box); +extern bool ensure_valid_geo_geo(const GSERIALIZED *gs1, + const GSERIALIZED *gs2); +extern bool ensure_valid_tgeo_geo(const Temporal *temp, const GSERIALIZED *gs); +extern bool ensure_valid_tgeo_tgeo(const Temporal *temp1, + const Temporal *temp2); +extern bool ensure_valid_tpoint_geo(const Temporal *temp, const GSERIALIZED *gs); +extern bool ensure_valid_tpoint_tpoint(const Temporal *temp1, + const Temporal *temp2); + +extern bool mline_type(const GSERIALIZED *gs); + +/* Functions for extracting coordinates */ + +extern Temporal *tpoint_get_coord(const Temporal *temp, int coord); + +/* Ever/always comparisons */ + +extern int eacomp_tgeo_geo(const Temporal *temp, const GSERIALIZED *gs, + Datum (*func)(Datum, Datum, MeosType), bool ever); + +/* Functions derived from PostGIS to increase floating-point precision */ + +extern long double closest_point2d_on_segment_ratio(const POINT2D *p, + const POINT2D *A, const POINT2D *B, POINT2D *closest); +extern long double closest_point3dz_on_segment_ratio(const POINT3DZ *p, + const POINT3DZ *A, const POINT3DZ *B, POINT3DZ *closest); +extern long double closest_point_on_segment_sphere(const POINT4D *p, + const POINT4D *A, const POINT4D *B, POINT4D *closest, double *dist); +extern void interpolate_point4d_spheroid(const POINT4D *p1, const POINT4D *p2, + POINT4D *p, const SPHEROID *s, double f); + +/* Functions specializing the PostGIS functions ST_LineInterpolatePoint and + * ST_LineLocatePoint */ + +extern GSERIALIZED *geopoint_make(double x, double y, double z, bool hasz, + bool geodetic, int32_t srid); +extern LWGEOM *lwcircle_make(double x, double y, double radius, int32_t srid); +extern GSERIALIZED *geocircle_make(double x, double y, double radius, + int32_t srid); +extern Datum pointsegm_interpolate(Datum start, Datum end, + long double ratio); +extern long double pointsegm_locate(Datum start, Datum end, Datum point, + double *dist); + +/* Intersection functions */ + +extern int tgeompointsegm_intersection(Datum start1, Datum end1, Datum start2, + Datum end2, TimestampTz lower, TimestampTz upper, TimestampTz *t1, + TimestampTz *t2); +extern int tgeogpointsegm_intersection(Datum start1, Datum end1, Datum start2, + Datum end2, TimestampTz lower, TimestampTz upper, TimestampTz *t1, + TimestampTz *t2); + +extern bool geopoint_collinear(Datum value1, Datum value2, Datum value3, + double ratio, bool hasz, bool geodetic); + +/* Trajectory functions */ + +extern LWGEOM **lwpointarr_remove_duplicates(LWGEOM **points, int count, + int *newcount); +extern LWGEOM *lwpointarr_make_trajectory(LWGEOM **points, int count, + interpType interp); +extern LWLINE *lwline_make(Datum value1, Datum value2); +extern LWGEOM *lwcoll_from_points_lines(LWGEOM **points, LWGEOM **lines, + int npoints, int nlines); + +/* Stop function */ + +int tpointseq_stops_iter(const TSequence *seq, double maxdist, int64 mintunits, + TSequence **result); + +/*****************************************************************************/ + +#endif diff --git a/jmeos-core/tools/parity/meos-ref/meos/include/geo/tgeo_spatialrels.h b/jmeos-core/tools/parity/meos-ref/meos/include/geo/tgeo_spatialrels.h new file mode 100644 index 00000000..c8af8a61 --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/meos/include/geo/tgeo_spatialrels.h @@ -0,0 +1,127 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @brief Spatial relationships for temporal points. + */ + +#ifndef __TGEO_SPATIALRELS_H__ +#define __TGEO_SPATIALRELS_H__ + +/* PostgreSQL */ +#include +/* MEOS */ +#include +#include "temporal/temporal.h" + +#define INVERT_RESULT(result) (result < 0 ? -1 : (result > 0) ? 0 : 1) + +/*****************************************************************************/ + +extern Datum datum_geom_contains(Datum geom1, Datum geom2); +extern Datum datum_geom_covers(Datum geom1, Datum geom2); +extern Datum datum_geom_disjoint2d(Datum geom1, Datum geom2); +extern Datum datum_geom_disjoint3d(Datum geom1, Datum geom2); +extern Datum datum_geog_disjoint(Datum geog1, Datum geog2); +extern Datum datum_geom_intersects2d(Datum geom1, Datum geom2); +extern Datum datum_geom_intersects3d(Datum geom1, Datum geom2); +extern Datum datum_geog_intersects(Datum geog1, Datum geog2); +extern Datum datum_geom_touches(Datum geom1, Datum geom2); +extern Datum datum_geom_dwithin2d(Datum geom1, Datum geom2, Datum dist); +extern Datum datum_geom_dwithin3d(Datum geom1, Datum geom2, Datum dist); +extern Datum datum_geog_dwithin(Datum geog1, Datum geog2, Datum dist); +extern Datum datum_geom_relate_pattern(Datum geog1, Datum geog2, Datum p); +extern Datum datum_geom_touches(Datum geom1, Datum geom2); + +extern datum_func2 geo_disjoint_fn(int16 flags1, int16 flags2); +extern datum_func2 geo_disjoint_fn_geo(int16 flags1, uint8_t flags2); +extern datum_func2 geo_intersects_fn(int16 flags1, int16 flags2); +extern datum_func2 geo_intersects_fn_geo(int16 flags1, uint8_t flags2); +extern datum_func3 geo_dwithin_fn(int16 flags1, int16 flags2); +extern datum_func3 geo_dwithin_fn_geo(int16 flags1, uint8_t flags2); + +/*****************************************************************************/ + +extern int tpointsegm_tdwithin_turnpt(Datum start1, Datum end1, Datum start2, + Datum end2, Datum value, TimestampTz lower, TimestampTz upper, + TimestampTz *t1, TimestampTz *t2); + +extern int spatialrel_geo_geo(const GSERIALIZED *gs1, const GSERIALIZED *gs2, + Datum param, varfunc func, int numparam, bool invert); +extern int spatialrel_tgeo_tgeo(const Temporal *temp1, const Temporal *temp2, + Datum param, varfunc func, int numparam); + +extern int ea_contains_geo_tgeo(const GSERIALIZED *gs, const Temporal *temp, + bool ever); +extern int ea_contains_tgeo_geo(const Temporal *temp, const GSERIALIZED *gs, + bool ever); +extern int ea_contains_tgeo_tgeo(const Temporal *temp, const Temporal *temp2, + bool ever); + +extern int ea_covers_geo_tgeo(const GSERIALIZED *gs, const Temporal *temp, + bool ever); +extern int ea_covers_tgeo_geo(const Temporal *temp, const GSERIALIZED *gs, + bool ever); +extern int ea_covers_tgeo_tgeo(const Temporal *temp, const Temporal *temp2, + bool ever); + +extern int ea_disjoint_geo_tgeo(const GSERIALIZED *gs, const Temporal *temp, + bool ever); +extern int ea_disjoint_tgeo_geo(const Temporal *temp, const GSERIALIZED *gs, + bool ever); +extern int ea_disjoint_tgeo_tgeo(const Temporal *temp, const Temporal *temp2, + bool ever); + +extern int ea_intersects_geo_tgeo(const GSERIALIZED *gs, const Temporal *temp, + bool ever); +extern int ea_intersects_tgeo_geo(const Temporal *temp, const GSERIALIZED *gs, + bool ever); +extern int ea_intersects_tgeo_tgeo(const Temporal *temp, const Temporal *temp2, + bool ever); + +extern int ea_touches_tpoint_geo(const Temporal *temp, const GSERIALIZED *gs, + bool ever); +extern int ea_touches_tgeo_geo(const Temporal *temp, const GSERIALIZED *gs, + bool ever); +extern int ea_touches_tgeo_tgeo(const Temporal *temp, const Temporal *temp2, + bool ever); + +extern int ea_dwithin_tgeo_geo(const Temporal *temp, const GSERIALIZED *gs, + double dist, bool ever); +extern int ea_dwithin_tgeo_tgeo(const Temporal *temp1, const Temporal *temp2, + double dist, bool ever); + +extern int ea_spatialrel_tspatial_geo(const Temporal *temp, + const GSERIALIZED *gs, datum_func2 func, bool ever, bool invert); +extern int ea_spatialrel_tspatial_tspatial(const Temporal *temp1, + const Temporal *temp2, datum_func2 func, bool ever); + +/*****************************************************************************/ + +#endif diff --git a/jmeos-core/tools/parity/meos-ref/meos/include/geo/tgeo_tempspatialrels.h b/jmeos-core/tools/parity/meos-ref/meos/include/geo/tgeo_tempspatialrels.h new file mode 100644 index 00000000..b157f541 --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/meos/include/geo/tgeo_tempspatialrels.h @@ -0,0 +1,79 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @brief Spatiotemporal relationships for temporal points. + */ + +#ifndef __TGEO_TEMPSPATIALRELS_H__ +#define __TGEO_TEMPSPATIALRELS_H__ + +/* PostgreSQL */ +#include +/* MEOS */ +#include +#include "temporal/temporal.h" + +/* Compute either the tintersects or the tdisjoint relationship */ +#define TINTERSECTS true +#define TDISJOINT false + +/*****************************************************************************/ + +extern Temporal *tspatialrel_tspatial_base(const Temporal *temp, + Datum base, Datum param, varfunc func, int numparam, bool invert); +extern Temporal *tspatialrel_tspatial_tspatial(const Temporal *temp1, + const Temporal *temp2, Datum param, varfunc func, int numparam, bool invert); + +extern Temporal *tinterrel_tgeo_geo(const Temporal *temp, + const GSERIALIZED *gs, bool tinter); +extern Temporal *tinterrel_tspatial_base(const Temporal *temp, Datum base, + bool tinter, datum_func2 func); + +extern Temporal *tinterrel_tspatial_base(const Temporal *temp, + Datum base, bool tinter, datum_func2 func); +extern Temporal *tinterrel_tspatial_tspatial(const Temporal *temp1, + const Temporal *temp2, bool tinter); + +extern Temporal *tdwithin_tspatial_tspatial(const Temporal *sync1, + const Temporal *sync2, Datum dist, + datum_func3 func, tpfunc_temp tpfn); + +extern int tdwithin_add_solutions(int solutions, TimestampTz lower, + TimestampTz upper, bool lower_inc, bool upper_inc, bool upper_inc1, + TimestampTz t1, TimestampTz t2, TInstant **instants, TSequence **result); +extern Temporal *tdwithin_tspatial_spatial(const Temporal *temp, Datum base, + Datum dist, datum_func3 func, tpfunc_temp tpfn); +extern Temporal *tdwithin_tspatial_tspatial(const Temporal *sync1, + const Temporal *sync2, Datum dist, + datum_func3 func, tpfunc_temp tpfn); + +/*****************************************************************************/ + +#endif /* __TGEO_TEMPSPATIALRELS_H__ */ diff --git a/jmeos-core/tools/parity/meos-ref/meos/include/geo/tgeo_tile.h b/jmeos-core/tools/parity/meos-ref/meos/include/geo/tgeo_tile.h new file mode 100644 index 00000000..28829ce1 --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/meos/include/geo/tgeo_tile.h @@ -0,0 +1,112 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @brief Functions for spatiotemporal bounding boxes. + */ + +#ifndef __TPOINT_TILE_H__ +#define __TPOINT_TILE_H__ + +/* PostGIS */ +#include +/* MEOS */ +#include + +#define MAXDIMS 4 + +/*****************************************************************************/ + +/** + * Structure for storing a bit matrix + */ +typedef struct +{ + int ndims; /**< Number of dimensions */ + int count[MAXDIMS]; /**< Number of elements in each dimension */ + uint8_t byte[1]; /**< beginning of variable-length data */ +} BitMatrix; + +/** + * Struct for storing the state that persists across multiple calls generating + * a multidimensional grid + */ +typedef struct STboxGridState +{ + bool done; /**< True when all tiles have been processed */ + bool hasx; /**< True when tiles have X dimension */ + bool hasz; /**< True when tiles have Z dimension */ + bool hast; /**< True when tiles have T dimension */ + int i; /**< Number of current tile */ + double xsize; /**< Size of the x dimension */ + double ysize; /**< Size of the y dimension */ + double zsize; /**< Size of the z dimension, 0 for 2D */ + int64 tunits; /**< Size of the time dimension, 0 for spatial only */ + STBox box; /**< Bounding box of the grid */ + const Temporal *temp; /**< Optional temporal point to be split */ + BitMatrix *bm; /**< Optional bit matrix for speeding up the + computation of the split functions */ + double x; /**< Minimum x value of the current tile */ + double y; /**< Minimum y value of the current tile */ + double z; /**< Minimum z value of the current tile, if any */ + TimestampTz t; /**< Minimum t value of the current tile, if any */ + int ntiles; /**< Total number of tiles */ + int max_coords[MAXDIMS]; /**< Maximum coordinates of the tiles */ + int coords[MAXDIMS]; /**< Coordinates of the current tile */ +} STboxGridState; + +/*****************************************************************************/ + +extern BitMatrix *bitmatrix_make(int *count, int ndims); +extern int tpoint_set_tiles(const Temporal *temp, const STboxGridState *state, + BitMatrix *bm); +extern Temporal *tpoint_at_tile(const Temporal *temp, const STBox *box); + +extern void stbox_tile_state_set(double x, double y, double z, TimestampTz t, + double xsize, double ysize, double zsize, int64 tunits, bool hasx, bool hasz, + bool hast, int32 srid, STBox *result); +extern STboxGridState *stbox_tile_state_make(const Temporal *temp, + const STBox *box, double xsize, double ysize, double zsize, + const Interval *duration, POINT3DZ sorigin, TimestampTz torigin, + bool border_inc); +extern void stbox_tile_state_next(STboxGridState *state); +extern bool stbox_tile_state_get(STboxGridState *state, STBox *box); + +extern STboxGridState *tgeo_space_time_tile_init(const Temporal *temp, + double xsize, double ysize, double zsize, const Interval *duration, + const GSERIALIZED *sorigin, TimestampTz torigin, bool bitmatrix, + bool border_inc, int *ntiles); + +extern STBox *stbox_space_time_tile(const GSERIALIZED *point, TimestampTz t, + double xsize, double ysize, double zsize, const Interval *duration, + const GSERIALIZED *sorigin, TimestampTz torigin, bool hasx, bool hast); + +/*****************************************************************************/ + +#endif diff --git a/jmeos-core/tools/parity/meos-ref/meos/include/geo/tpoint_datagen.h b/jmeos-core/tools/parity/meos-ref/meos/include/geo/tpoint_datagen.h new file mode 100644 index 00000000..6d6fbb18 --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/meos/include/geo/tpoint_datagen.h @@ -0,0 +1,49 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @brief Functions for spatiotemporal bounding boxes. + */ + +#ifndef __TPOINT_DATAGEN_H__ +#define __TPOINT_DATAGEN_H__ + +/* MEOS */ +#include +#include + +/*****************************************************************************/ + +extern TSequence *create_trip(LWLINE **lines, const double *maxSpeeds, + const int *categories, uint32_t noEdges, TimestampTz startTime, + bool disturbData, int verbosity); + +/*****************************************************************************/ + +#endif diff --git a/jmeos-core/tools/parity/meos-ref/meos/include/geo/tspatial.h b/jmeos-core/tools/parity/meos-ref/meos/include/geo/tspatial.h new file mode 100644 index 00000000..7abd8cbc --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/meos/include/geo/tspatial.h @@ -0,0 +1,58 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @brief Generic functions for spatiotemporal values + */ + +#ifndef __TSPATIAL_H__ +#define __TSPATIAL_H__ + +/* PostgreSQL */ +#include +/* PostGIS */ +#include +/* MEOS */ +#include +#include "temporal/temporal.h" +#include "temporal/meos_catalog.h" + +/*****************************************************************************/ + +extern char **spatialarr_wkt_out(const Datum *spatialarr, MeosType basetype, + int count, int maxdd, bool extended); + +extern char *spatialbase_as_text(Datum value, MeosType type, int maxdd); +extern char *spatialbase_as_ewkt(Datum value, MeosType type, int maxdd); + +extern bool point_transf_pj(GSERIALIZED *gs, int32_t srid_to, const LWPROJ *pj); + +/*****************************************************************************/ + +#endif /* __TSPATIAL_H__ */ diff --git a/jmeos-core/tools/parity/meos-ref/meos/include/geo/tspatial_boxops.h b/jmeos-core/tools/parity/meos-ref/meos/include/geo/tspatial_boxops.h new file mode 100644 index 00000000..ac6738a1 --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/meos/include/geo/tspatial_boxops.h @@ -0,0 +1,73 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @brief Bounding box operators for spatiotemporal values + */ + +#ifndef __TSPATIAL_BOXOPS_H__ +#define __TSPATIAL_BOXOPS_H__ + +/* PostgreSQL */ +#include +/* PostGIS */ +#include +/* MEOS */ +#include +#include "temporal/meos_catalog.h" + +/*****************************************************************************/ + +/* Functions computing the bounding box at the creation of a temporal point */ + +extern void tgeoinst_set_stbox(const TInstant *inst, STBox *box); +extern void tgeoinstarr_set_stbox(TInstant **instants, int count, + STBox *box); +extern void tgeoseq_expand_stbox(TSequence *seq, const TInstant *inst); + +extern void tspatialinst_set_stbox(const TInstant *inst, STBox *box); +extern void tspatialinstarr_set_stbox(TInstant **instants, int count, + bool lower_inc, bool upper_inc, interpType interp, void *box); +extern void tspatialseqarr_set_stbox(TSequence **sequences, int count, + STBox *box); +extern void tspatialseq_expand_stbox(TSequence *seq, const TInstant *inst); + +extern void spatialarr_set_bbox(const Datum *values, MeosType basetype, + int count, void *box); + +/* Generic box functions */ + +extern bool boxop_tspatial_stbox(const Temporal *temp, const STBox *box, + bool (*func)(const STBox *, const STBox *), bool invert); +extern bool boxop_tspatial_tspatial(const Temporal *temp1, const Temporal *temp2, + bool (*func)(const STBox *, const STBox *)); + +/*****************************************************************************/ + +#endif /* __TSPATIAL_BOXOPS_H__ */ diff --git a/jmeos-core/tools/parity/meos-ref/meos/include/geo/tspatial_parser.h b/jmeos-core/tools/parity/meos-ref/meos/include/geo/tspatial_parser.h new file mode 100644 index 00000000..f51054b8 --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/meos/include/geo/tspatial_parser.h @@ -0,0 +1,66 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @brief Functions for parsing temporal points. + */ + +#ifndef __TSPATIAL_PARSER_H__ +#define __TSPATIAL_PARSER_H__ + +/* PostgreSQL */ +#include +/* MEOS */ +#include +#include +#include "temporal/meos_catalog.h" + +/*****************************************************************************/ + +extern bool srid_parse(const char **str, int *srid); +extern bool spatial_parse_elem(const char **str, MeosType temptype, char delim, + int *temp_srid, Datum *result); +extern bool geo_parse(const char **str, MeosType basetype, char delim, + int *srid, GSERIALIZED **result); +extern STBox *stbox_parse(const char **str); +extern Temporal *tpoint_parse(const char **str, MeosType temptype); + +extern TInstant *tspatialinst_parse(const char **str, MeosType temptype, + bool end, int *temp_srid); +extern TSequence *tspatialseq_disc_parse(const char **str, MeosType temptype, + int *temp_srid); +extern TSequence *tspatialseq_cont_parse(const char **str, MeosType temptype, + interpType interp, bool end, int *temp_srid); +extern TSequenceSet *tspatialseqset_parse(const char **str, MeosType temptype, + interpType interp, int *temp_srid); +extern Temporal *tspatial_parse(const char **str, MeosType temptype); + +/*****************************************************************************/ + +#endif /* __TSPATIAL_PARSER_H__ */ diff --git a/jmeos-core/tools/parity/meos-ref/meos/include/meos.h b/jmeos-core/tools/parity/meos-ref/meos/include/meos.h new file mode 100644 index 00000000..044b2873 --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/meos/include/meos.h @@ -0,0 +1,1963 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @file + * @brief External API of the Mobility Engine Open Source (MEOS) library + */ + +#ifndef __MEOS_H__ +#define __MEOS_H__ + +/* C */ +#include +#include +#include +/* PostgreSQL */ +#if MEOS +#include "postgres_int_defs.h" +#else +#include +#include +#include +#endif + +/***************************************************************************** + * Toolchain dependent definitions + *****************************************************************************/ + +#ifdef _MSC_VER +/* + * Under MSVC, functions exported by a loadable module must be marked + * "dllexport". Other compilers don't need that. + * Borrowed from PostgreSQL file win32.h + */ +#define PGDLLEXPORT __declspec (dllexport) +/* + * Avoids warning C4996: 'strdup': The POSIX name for this item is deprecated. + */ +#define strdup _strdup +#endif + +/* + * Thread-local storage qualifier (MEOS_TLS) used internally by MEOS to + * make per-thread state (last-error number, PROJ context, SRS cache, + * ways cache, RNG, session timezone) safe under multithreading. Defined + * in a stand-alone header so that vendored PostgreSQL files can pick it + * up without pulling in the full meos.h. + */ +#include "meos_tls.h" + +/***************************************************************************** + * Type definitions + *****************************************************************************/ + +/** + * @brief Align to double + */ +#define DOUBLE_PAD(size) ( (size) + ((size) % 8 ? (8 - (size) % 8) : 0 ) ) + +/** + * Structure to represent sets of values + */ +typedef struct +{ + int32 vl_len_; /**< Varlena header (do not touch directly!) */ + uint8 settype; /**< Set type */ + uint8 basetype; /**< Span basetype */ + int16 flags; /**< Flags */ + int32 count; /**< Number of elements */ + int32 maxcount; /**< Maximum number of elements */ + int16 bboxsize; /**< Size of the bouding box */ +} Set; + +/** + * Structure to represent spans (a.k.a. ranges) + */ +typedef struct +{ + uint8 spantype; /**< span type */ + uint8 basetype; /**< span basetype */ + bool lower_inc; /**< lower bound is inclusive (vs exclusive) */ + bool upper_inc; /**< upper bound is inclusive (vs exclusive) */ + char padding[4]; /**< Not used */ + Datum lower; /**< lower bound value */ + Datum upper; /**< upper bound value */ +} Span; + +/** + * Structure to represent span sets + */ +typedef struct +{ + int32 vl_len_; /**< Varlena header (do not touch directly!) */ + uint8 spansettype; /**< Span set type */ + uint8 spantype; /**< Span type */ + uint8 basetype; /**< Span basetype */ + char padding; /**< Not used */ + int32 count; /**< Number of elements */ + int32 maxcount; /**< Maximum number of elements */ + Span span; /**< Bounding span */ + Span elems[1]; /**< Beginning of variable-length data */ +} SpanSet; + +/** + * Structure to represent temporal boxes + */ +typedef struct +{ + Span period; /**< time span */ + Span span; /**< value span */ + int16 flags; /**< flags */ +} TBox; + +/** + * Structure to represent spatiotemporal boxes + */ +typedef struct +{ + Span period; /**< time span */ + double xmin; /**< minimum x value */ + double ymin; /**< minimum y value */ + double zmin; /**< minimum z value */ + double xmax; /**< maximum x value */ + double ymax; /**< maximum y value */ + double zmax; /**< maximum z value */ + int32_t srid; /**< SRID */ + int16 flags; /**< flags */ +} STBox; + +/** + * @brief Enumeration that defines the temporal subtypes used in MEOS + */ +typedef enum +{ + ANYTEMPSUBTYPE = 0, /**< Any temporal subtype */ + TINSTANT = 1, /**< Temporal instant subtype */ + TSEQUENCE = 2, /**< Temporal sequence subtype */ + TSEQUENCESET = 3, /**< Temporal sequence set subtype */ +} tempSubtype; + +/** + * @brief Enumeration that defines the interpolation types used in MEOS + */ +typedef enum +{ + INTERP_NONE = 0, + DISCRETE = 1, + STEP = 2, + LINEAR = 3, +} interpType; + +/** + * Structure to represent the common structure of temporal values of + * any temporal subtype + */ +typedef struct +{ + int32 vl_len_; /**< Varlena header (do not touch directly!) */ + uint8 temptype; /**< Temporal type */ + uint8 subtype; /**< Temporal subtype */ + int16 flags; /**< Flags */ + /* variable-length data follows */ +} Temporal; + +/** + * Structure to represent temporal values of instant subtype + */ +typedef struct +{ + int32 vl_len_; /**< Varlena header (do not touch directly!) */ + uint8 temptype; /**< Temporal type */ + uint8 subtype; /**< Temporal subtype */ + int16 flags; /**< Flags */ + TimestampTz t; /**< Timestamp (8 bytes) */ + Datum value; /**< Base value for types passed by value, + first 8 bytes of the base value for values + passed by reference. The extra bytes + needed are added upon creation. */ + /* variable-length data follows */ +} TInstant; + +/** + * Structure to represent temporal values of sequence subtype + */ +typedef struct +{ + int32 vl_len_; /**< Varlena header (do not touch directly!) */ + uint8 temptype; /**< Temporal type */ + uint8 subtype; /**< Temporal subtype */ + int16 flags; /**< Flags */ + int32 count; /**< Number of TInstant elements */ + int32 maxcount; /**< Maximum number of TInstant elements */ + int16 bboxsize; /**< Size of the bounding box */ + char padding[6]; /**< Not used */ + Span period; /**< Time span (24 bytes). All bounding boxes start + with a period so actually it is also the begining + of the bounding box. The extra bytes needed for + the bounding box are added upon creation. */ + /* variable-length data follows */ +} TSequence; + +#define TSEQUENCE_BBOX_PTR(seq) ((void *)(&(seq)->period)) + +/** + * Structure to represent temporal values of sequence set subtype + */ +typedef struct +{ + int32 vl_len_; /**< Varlena header (do not touch directly!) */ + uint8 temptype; /**< Temporal type */ + uint8 subtype; /**< Temporal subtype */ + int16 flags; /**< Flags */ + int32 count; /**< Number of TSequence elements */ + int32 totalcount; /**< Total number of TInstant elements in all + composing TSequence elements */ + int32 maxcount; /**< Maximum number of TSequence elements */ + int16 bboxsize; /**< Size of the bounding box */ + int16 padding; /**< Not used */ + Span period; /**< Time span (24 bytes). All bounding boxes start + with a period so actually it is also the begining + of the bounding box. The extra bytes needed for + the bounding box are added upon creation. */ + /* variable-length data follows */ +} TSequenceSet; + +#define TSEQUENCESET_BBOX_PTR(ss) ((void *)(&(ss)->period)) + +/** + * Struct for storing a similarity match + */ +typedef struct +{ + int i; + int j; +} Match; + +/*****************************************************************************/ + +/** + * Structure for skiplists + */ +typedef struct SkipList SkipList; + +/*****************************************************************************/ + +/** + * Structure for expandable arrays + */ +typedef struct MeosArray MeosArray; + +/* MeosArray functions */ + +extern MeosArray *meos_array_create(int elem_size); +extern void meos_array_add(MeosArray *array, void *value); +extern void *meos_array_get(const MeosArray *array, int n); +extern int meos_array_count(const MeosArray *array); +extern void meos_array_reset(MeosArray *array); +extern void meos_array_reset_free(MeosArray *array); +extern void meos_array_destroy(MeosArray *array); +extern void meos_array_destroy_free(MeosArray *array); + +/*****************************************************************************/ + +/** + * @brief Enumeration that defines the search operations for an RTree. + */ +typedef enum +{ + RTREE_OVERLAPS, /**< Find stored boxes that overlap the query */ + RTREE_CONTAINS, /**< Find stored boxes that contain the query */ + RTREE_CONTAINED_BY /**< Find stored boxes contained by the query */ +} RTreeSearchOp; + +/** + * Structure for the in-memory Rtree index + */ +typedef struct RTree RTree; + +/* RTree functions */ + +extern RTree *rtree_create_intspan(); +extern RTree *rtree_create_bigintspan(); +extern RTree *rtree_create_floatspan(); +extern RTree *rtree_create_datespan(); +extern RTree *rtree_create_tstzspan(); +extern RTree *rtree_create_tbox(); +extern RTree *rtree_create_stbox(); +#if POINTCLOUD +extern RTree *rtree_create_tpcbox(); +#endif +extern void rtree_free(RTree *rtree); +extern void rtree_insert(RTree *rtree, void *box, int id); +extern void rtree_insert_temporal(RTree *rtree, const Temporal *temp, int id); +extern int rtree_search(const RTree *rtree, RTreeSearchOp op, const void *query, MeosArray *result); +extern int rtree_search_temporal(const RTree *rtree, RTreeSearchOp op, const Temporal *temp, MeosArray *result); + +/***************************************************************************** + * Error codes + *****************************************************************************/ + +typedef enum +{ + MEOS_SUCCESS = 0, // Successful operation + + MEOS_ERR_INTERNAL_ERROR = 1, // Unspecified internal error + MEOS_ERR_INTERNAL_TYPE_ERROR = 2, // Internal type error + MEOS_ERR_VALUE_OUT_OF_RANGE = 3, // Internal out of range error + MEOS_ERR_DIVISION_BY_ZERO = 4, // Internal division by zero error + MEOS_ERR_MEMORY_ALLOC_ERROR = 5, // Internal malloc error + MEOS_ERR_AGGREGATION_ERROR = 6, // Internal aggregation error + MEOS_ERR_DIRECTORY_ERROR = 7, // Internal directory error + MEOS_ERR_FILE_ERROR = 8, // Internal file error + + MEOS_ERR_INVALID_ARG = 10, // Invalid argument + MEOS_ERR_INVALID_ARG_TYPE = 11, // Invalid argument type + MEOS_ERR_INVALID_ARG_VALUE = 12, // Invalid argument value + MEOS_ERR_FEATURE_NOT_SUPPORTED = 13, // Feature not currently supported + + MEOS_ERR_MFJSON_INPUT = 20, // MFJSON input error + MEOS_ERR_MFJSON_OUTPUT = 21, // MFJSON output error + MEOS_ERR_TEXT_INPUT = 22, // Text input error + MEOS_ERR_TEXT_OUTPUT = 23, // Text output error + MEOS_ERR_WKB_INPUT = 24, // WKB input error + MEOS_ERR_WKB_OUTPUT = 25, // WKB output error + MEOS_ERR_GEOJSON_INPUT = 26, // GEOJSON input error + MEOS_ERR_GEOJSON_OUTPUT = 27, // GEOJSON output error + +} errorCode; + +extern void meos_error(int errlevel, int errcode, const char *format, ...); + +/* Set or read error level */ + +extern int meos_errno(void); +extern int meos_errno_set(int err); +extern int meos_errno_restore(int err); +extern int meos_errno_reset(void); + +/***************************************************************************** + * Initialization of the MEOS library + * + * Multithreading + * -------------- + * The MEOS state managed by these functions is per-thread. Each thread + * that calls into MEOS must call `meos_initialize()` before its first + * MEOS call and `meos_finalize()` before exiting; the PROJ context, SRS + * cache, ways cache, RNGs, last-error number (`meos_errno`), and + * session timezone are all thread-local. + * + * The error handler set by `meos_initialize_error_handler()` is the + * one exception: it is process-global and should be installed once + * before workers are spawned. + *****************************************************************************/ + +/* Definition of error handler function */ +typedef void (*error_handler_fn)(int, int, const char *); + +extern void meos_initialize_timezone(const char *name); +extern void meos_initialize_error_handler(error_handler_fn err_handler); +extern void meos_finalize_timezone(void); +extern void meos_finalize_projsrs(void); +extern void meos_finalize_ways(void); + +extern bool meos_set_datestyle(const char *newval, void *extra); +extern bool meos_set_intervalstyle(const char *newval, int extra); +extern char *meos_get_datestyle(void); +extern char *meos_get_intervalstyle(void); + +extern void meos_set_spatial_ref_sys_csv(const char* path); + +extern void meos_initialize(void); +extern void meos_finalize(void); + +/****************************************************************************** + * Functions for base and time types + ******************************************************************************/ + +extern DateADT add_date_int(DateADT d, int32 days); +extern Interval *add_interval_interval(const Interval *interv1, const Interval *interv2); +extern TimestampTz add_timestamptz_interval(TimestampTz t, const Interval *interv); +extern bool bool_in(const char *str); +extern char *bool_out(bool b); +extern text *cstring2text(const char *str); +extern Timestamp date_to_timestamp(DateADT dateVal); +extern TimestampTz date_to_timestamptz(DateADT d); +extern double float_exp(double d); +extern double float_ln(double d); +extern double float_log10(double d); +extern char *float8_out(double d, int maxdd); +extern double float_round(double d, int maxdd); +extern int int32_cmp(int32 l, int32 r); +extern int int64_cmp(int64 l, int64 r); +extern Interval *interval_make(int32 years, int32 months, int32 weeks, int32 days, int32 hours, int32 mins, double secs); +extern int minus_date_date(DateADT d1, DateADT d2); +extern DateADT minus_date_int(DateADT d, int32 days); +extern TimestampTz minus_timestamptz_interval(TimestampTz t, const Interval *interv); +extern Interval *minus_timestamptz_timestamptz(TimestampTz t1, TimestampTz t2); +extern Interval *mul_interval_double(const Interval *interv, double factor); +extern DateADT pg_date_in(const char *str); +extern char *pg_date_out(DateADT d); +extern int pg_interval_cmp(const Interval *interv1, const Interval *interv2); +extern Interval *pg_interval_in(const char *str, int32 typmod); +extern char *pg_interval_out(const Interval *interv); +extern Timestamp pg_timestamp_in(const char *str, int32 typmod); +extern char *pg_timestamp_out(Timestamp t); +extern TimestampTz pg_timestamptz_in(const char *str, int32 typmod); +extern char *pg_timestamptz_out(TimestampTz t); +extern char *text2cstring(const text *txt); +extern int text_cmp(const text *txt1, const text *txt2); +extern text *text_copy(const text *txt); +extern text *text_in(const char *str); +extern text *text_initcap(const text *txt); +extern text *text_lower(const text *txt); +extern char *text_out(const text *txt); +extern text *text_upper(const text *txt); +extern text *textcat_text_text(const text *txt1, const text *txt2); +extern TimestampTz timestamptz_shift(TimestampTz t, const Interval *interv); +extern DateADT timestamp_to_date(Timestamp t); +extern DateADT timestamptz_to_date(TimestampTz t); + +/*============================================================================ + * Functions for set and span types + ===========================================================================*/ + +/***************************************************************************** + * Input/output functions for set and span types + *****************************************************************************/ + +extern Set *bigintset_in(const char *str); +extern char *bigintset_out(const Set *set); +extern Span *bigintspan_expand(const Span *s, int64 value); +extern Span *bigintspan_in(const char *str); +extern char *bigintspan_out(const Span *s); +extern SpanSet *bigintspanset_in(const char *str); +extern char *bigintspanset_out(const SpanSet *ss); +extern Set *dateset_in(const char *str); +extern char *dateset_out(const Set *s); +extern Span *datespan_in(const char *str); +extern char *datespan_out(const Span *s); +extern SpanSet *datespanset_in(const char *str); +extern char *datespanset_out(const SpanSet *ss); +extern Set *floatset_in(const char *str); +extern char *floatset_out(const Set *set, int maxdd); +extern Span *floatspan_expand(const Span *s, double value); +extern Span *floatspan_in(const char *str); +extern char *floatspan_out(const Span *s, int maxdd); +extern SpanSet *floatspanset_in(const char *str); +extern char *floatspanset_out(const SpanSet *ss, int maxdd); +extern Set *intset_in(const char *str); +extern char *intset_out(const Set *set); +extern Span *intspan_expand(const Span *s, int32 value); +extern Span *intspan_in(const char *str); +extern char *intspan_out(const Span *s); +extern SpanSet *intspanset_in(const char *str); +extern char *intspanset_out(const SpanSet *ss); +extern char *set_as_hexwkb(const Set *s, uint8_t variant, size_t *size_out); +extern uint8_t *set_as_wkb(const Set *s, uint8_t variant, size_t *size_out); +extern Set *set_from_hexwkb(const char *hexwkb); +extern Set *set_from_wkb(const uint8_t *wkb, size_t size); +extern char *span_as_hexwkb(const Span *s, uint8_t variant, size_t *size_out); +extern uint8_t *span_as_wkb(const Span *s, uint8_t variant, size_t *size_out); +extern Span *span_from_hexwkb(const char *hexwkb); +extern Span *span_from_wkb(const uint8_t *wkb, size_t size); +extern char *spanset_as_hexwkb(const SpanSet *ss, uint8_t variant, size_t *size_out); +extern uint8_t *spanset_as_wkb(const SpanSet *ss, uint8_t variant, size_t *size_out); +extern SpanSet *spanset_from_hexwkb(const char *hexwkb); +extern SpanSet *spanset_from_wkb(const uint8_t *wkb, size_t size); +extern Set *textset_in(const char *str); +extern char *textset_out(const Set *set); +extern Set *tstzset_in(const char *str); +extern char *tstzset_out(const Set *set); +extern Span *tstzspan_in(const char *str); +extern char *tstzspan_out(const Span *s); +extern SpanSet *tstzspanset_in(const char *str); +extern char *tstzspanset_out(const SpanSet *ss); + +/***************************************************************************** + * Constructor functions for set and span types + *****************************************************************************/ + +extern Set *bigintset_make(const int64 *values, int count); +extern Span *bigintspan_make(int64 lower, int64 upper, bool lower_inc, bool upper_inc); +extern Set *dateset_make(const DateADT *values, int count); +extern Span *datespan_make(DateADT lower, DateADT upper, bool lower_inc, bool upper_inc); +extern Set *floatset_make(const double *values, int count); +extern Span *floatspan_make(double lower, double upper, bool lower_inc, bool upper_inc); +extern Set *intset_make(const int *values, int count); +extern Span *intspan_make(int lower, int upper, bool lower_inc, bool upper_inc); +extern Set *set_copy(const Set *s); +extern Span *span_copy(const Span *s); +extern SpanSet *spanset_copy(const SpanSet *ss); +extern SpanSet *spanset_make(Span *spans, int count); +extern Set *textset_make(text **values, int count); +extern Set *tstzset_make(const TimestampTz *values, int count); +extern Span *tstzspan_make(TimestampTz lower, TimestampTz upper, bool lower_inc, bool upper_inc); + +/***************************************************************************** + * Conversion functions for set and span types + *****************************************************************************/ + +extern Set *bigint_to_set(int64 i); +extern Span *bigint_to_span(int64 i); +extern SpanSet *bigint_to_spanset(int64 i); +extern Span *bigintspan_to_intspan(const Span *s); +extern Span *bigintspan_to_floatspan(const Span *s); +extern Set *date_to_set(DateADT d); +extern Span *date_to_span(DateADT d); +extern SpanSet *date_to_spanset(DateADT d); +extern Set *dateset_to_tstzset(const Set *s); +extern Span *datespan_to_tstzspan(const Span *s); +extern SpanSet *datespanset_to_tstzspanset(const SpanSet *ss); +extern Set *float_to_set(double d); +extern Span *float_to_span(double d); +extern SpanSet *float_to_spanset(double d); +extern Set *floatset_to_intset(const Set *s); +extern Span *floatspan_to_bigintspan(const Span *s); +extern Span *floatspan_to_intspan(const Span *s); +extern SpanSet *floatspanset_to_intspanset(const SpanSet *ss); +extern Set *int_to_set(int i); +extern Span *int_to_span(int i); +extern SpanSet *int_to_spanset(int i); +extern Set *intset_to_floatset(const Set *s); +extern Span *intspan_to_bigintspan(const Span *s); +extern Span *intspan_to_floatspan(const Span *s); +extern SpanSet *intspanset_to_floatspanset(const SpanSet *ss); +extern Span *set_to_span(const Set *s); +extern SpanSet *set_to_spanset(const Set *s); +extern SpanSet *span_to_spanset(const Span *s); +extern Set *text_to_set(const text *txt); +extern Set *timestamptz_to_set(TimestampTz t); +extern Span *timestamptz_to_span(TimestampTz t); +extern SpanSet *timestamptz_to_spanset(TimestampTz t); +extern Set *tstzset_to_dateset(const Set *s); +extern Span *tstzspan_to_datespan(const Span *s); +extern SpanSet *tstzspanset_to_datespanset(const SpanSet *ss); + +/***************************************************************************** + * Accessor functions for set and span types + *****************************************************************************/ + +extern int64 bigintset_end_value(const Set *s); +extern int64 bigintset_start_value(const Set *s); +extern bool bigintset_value_n(const Set *s, int n, int64 *result); +extern int64 *bigintset_values(const Set *s); +extern int64 bigintspan_lower(const Span *s); +extern int64 bigintspan_upper(const Span *s); +extern int64 bigintspan_width(const Span *s); +extern int64 bigintspanset_lower(const SpanSet *ss); +extern int64 bigintspanset_upper(const SpanSet *ss); +extern int64 bigintspanset_width(const SpanSet *ss, bool boundspan); +extern DateADT dateset_end_value(const Set *s); +extern DateADT dateset_start_value(const Set *s); +extern bool dateset_value_n(const Set *s, int n, DateADT *result); +extern DateADT *dateset_values(const Set *s); +extern Interval *datespan_duration(const Span *s); +extern DateADT datespan_lower(const Span *s); +extern DateADT datespan_upper(const Span *s); +extern bool datespanset_date_n(const SpanSet *ss, int n, DateADT *result); +extern Set *datespanset_dates(const SpanSet *ss); +extern Interval *datespanset_duration(const SpanSet *ss, bool boundspan); +extern DateADT datespanset_end_date(const SpanSet *ss); +extern int datespanset_num_dates(const SpanSet *ss); +extern DateADT datespanset_start_date(const SpanSet *ss); +extern double floatset_end_value(const Set *s); +extern double floatset_start_value(const Set *s); +extern bool floatset_value_n(const Set *s, int n, double *result); +extern double *floatset_values(const Set *s); +extern double floatspan_lower(const Span *s); +extern double floatspan_upper(const Span *s); +extern double floatspan_width(const Span *s); +extern double floatspanset_lower(const SpanSet *ss); +extern double floatspanset_upper(const SpanSet *ss); +extern double floatspanset_width(const SpanSet *ss, bool boundspan); +extern int intset_end_value(const Set *s); +extern int intset_start_value(const Set *s); +extern bool intset_value_n(const Set *s, int n, int *result); +extern int *intset_values(const Set *s); +extern int intspan_lower(const Span *s); +extern int intspan_upper(const Span *s); +extern int intspan_width(const Span *s); +extern int intspanset_lower(const SpanSet *ss); +extern int intspanset_upper(const SpanSet *ss); +extern int intspanset_width(const SpanSet *ss, bool boundspan); +extern uint32 set_hash(const Set *s); +extern uint64 set_hash_extended(const Set *s, uint64 seed); +extern int set_num_values(const Set *s); +extern uint32 span_hash(const Span *s); +extern uint64 span_hash_extended(const Span *s, uint64 seed); +extern bool span_lower_inc(const Span *s); +extern bool span_upper_inc(const Span *s); +extern Span *spanset_end_span(const SpanSet *ss); +extern uint32 spanset_hash(const SpanSet *ss); +extern uint64 spanset_hash_extended(const SpanSet *ss, uint64 seed); +extern bool spanset_lower_inc(const SpanSet *ss); +extern int spanset_num_spans(const SpanSet *ss); +extern Span *spanset_span(const SpanSet *ss); +extern Span *spanset_span_n(const SpanSet *ss, int i); +extern Span **spanset_spanarr(const SpanSet *ss); +extern Span *spanset_start_span(const SpanSet *ss); +extern bool spanset_upper_inc(const SpanSet *ss); +extern text *textset_end_value(const Set *s); +extern text *textset_start_value(const Set *s); +extern bool textset_value_n(const Set *s, int n, text **result); +extern text **textset_values(const Set *s); +extern TimestampTz tstzset_end_value(const Set *s); +extern TimestampTz tstzset_start_value(const Set *s); +extern bool tstzset_value_n(const Set *s, int n, TimestampTz *result); +extern TimestampTz *tstzset_values(const Set *s); +extern Interval *tstzspan_duration(const Span *s); +extern TimestampTz tstzspan_lower(const Span *s); +extern TimestampTz tstzspan_upper(const Span *s); +extern Interval *tstzspanset_duration(const SpanSet *ss, bool boundspan); +extern TimestampTz tstzspanset_end_timestamptz(const SpanSet *ss); +extern TimestampTz tstzspanset_lower(const SpanSet *ss); +extern int tstzspanset_num_timestamps(const SpanSet *ss); +extern TimestampTz tstzspanset_start_timestamptz(const SpanSet *ss); +extern Set *tstzspanset_timestamps(const SpanSet *ss); +extern bool tstzspanset_timestamptz_n(const SpanSet *ss, int n, TimestampTz *result); +extern TimestampTz tstzspanset_upper(const SpanSet *ss); + +/***************************************************************************** + * Transformation functions for set and span types + *****************************************************************************/ + +extern Set *bigintset_shift_scale(const Set *s, int64 shift, int64 width, bool hasshift, bool haswidth); +extern Span *bigintspan_shift_scale(const Span *s, int64 shift, int64 width, bool hasshift, bool haswidth); +extern SpanSet *bigintspanset_shift_scale(const SpanSet *ss, int64 shift, int64 width, bool hasshift, bool haswidth); +extern Set *dateset_shift_scale(const Set *s, int shift, int width, bool hasshift, bool haswidth); +extern Span *datespan_shift_scale(const Span *s, int shift, int width, bool hasshift, bool haswidth); +extern SpanSet *datespanset_shift_scale(const SpanSet *ss, int shift, int width, bool hasshift, bool haswidth); +extern Set *floatset_ceil(const Set *s); +extern Set *floatset_degrees(const Set *s, bool normalize); +extern Set *floatset_floor(const Set *s); +extern Set *floatset_radians(const Set *s); +extern Set *floatset_shift_scale(const Set *s, double shift, double width, bool hasshift, bool haswidth); +extern Span *floatspan_ceil(const Span *s); +extern Span *floatspan_degrees(const Span *s, bool normalize); +extern Span *floatspan_floor(const Span *s); +extern Span *floatspan_radians(const Span *s); +extern Span *floatspan_round(const Span *s, int maxdd); +extern Span *floatspan_shift_scale(const Span *s, double shift, double width, bool hasshift, bool haswidth); +extern SpanSet *floatspanset_ceil(const SpanSet *ss); +extern SpanSet *floatspanset_floor(const SpanSet *ss); +extern SpanSet *floatspanset_degrees(const SpanSet *ss, bool normalize); +extern SpanSet *floatspanset_radians(const SpanSet *ss); +extern SpanSet *floatspanset_round(const SpanSet *ss, int maxdd); +extern SpanSet *floatspanset_shift_scale(const SpanSet *ss, double shift, double width, bool hasshift, bool haswidth); +extern Set *intset_shift_scale(const Set *s, int shift, int width, bool hasshift, bool haswidth); +extern Span *intspan_shift_scale(const Span *s, int shift, int width, bool hasshift, bool haswidth); +extern SpanSet *intspanset_shift_scale(const SpanSet *ss, int shift, int width, bool hasshift, bool haswidth); +extern Span *tstzspan_expand(const Span *s, const Interval *interv); +extern Set *set_round(const Set *s, int maxdd); +extern Set *textcat_text_textset(const text *txt, const Set *s); +extern Set *textcat_textset_text(const Set *s, const text *txt); +extern Set *textset_initcap(const Set *s); +extern Set *textset_lower(const Set *s); +extern Set *textset_upper(const Set *s); +extern TimestampTz timestamptz_tprecision(TimestampTz t, const Interval *duration, TimestampTz torigin); +extern Set *tstzset_shift_scale(const Set *s, const Interval *shift, const Interval *duration); +extern Set *tstzset_tprecision(const Set *s, const Interval *duration, TimestampTz torigin); +extern Span *tstzspan_shift_scale(const Span *s, const Interval *shift, const Interval *duration); +extern Span *tstzspan_tprecision(const Span *s, const Interval *duration, TimestampTz torigin); +extern SpanSet *tstzspanset_shift_scale(const SpanSet *ss, const Interval *shift, const Interval *duration); +extern SpanSet *tstzspanset_tprecision(const SpanSet *ss, const Interval *duration, TimestampTz torigin); + +/***************************************************************************** + * Comparison functions for set and span types + *****************************************************************************/ + +extern int set_cmp(const Set *s1, const Set *s2); +extern bool set_eq(const Set *s1, const Set *s2); +extern bool set_ge(const Set *s1, const Set *s2); +extern bool set_gt(const Set *s1, const Set *s2); +extern bool set_le(const Set *s1, const Set *s2); +extern bool set_lt(const Set *s1, const Set *s2); +extern bool set_ne(const Set *s1, const Set *s2); +extern int span_cmp(const Span *s1, const Span *s2); +extern bool span_eq(const Span *s1, const Span *s2); +extern bool span_ge(const Span *s1, const Span *s2); +extern bool span_gt(const Span *s1, const Span *s2); +extern bool span_le(const Span *s1, const Span *s2); +extern bool span_lt(const Span *s1, const Span *s2); +extern bool span_ne(const Span *s1, const Span *s2); +extern int spanset_cmp(const SpanSet *ss1, const SpanSet *ss2); +extern bool spanset_eq(const SpanSet *ss1, const SpanSet *ss2); +extern bool spanset_ge(const SpanSet *ss1, const SpanSet *ss2); +extern bool spanset_gt(const SpanSet *ss1, const SpanSet *ss2); +extern bool spanset_le(const SpanSet *ss1, const SpanSet *ss2); +extern bool spanset_lt(const SpanSet *ss1, const SpanSet *ss2); +extern bool spanset_ne(const SpanSet *ss1, const SpanSet *ss2); + +/***************************************************************************** + * Bounding box functions for set and span types + *****************************************************************************/ + +/* Split functions */ + +extern Span *set_spans(const Set *s); +extern Span *set_split_each_n_spans(const Set *s, int elems_per_span, int *count); +extern Span *set_split_n_spans(const Set *s, int span_count, int *count); +extern Span *spanset_spans(const SpanSet *ss); +extern Span *spanset_split_each_n_spans(const SpanSet *ss, int elems_per_span, int *count); +extern Span *spanset_split_n_spans(const SpanSet *ss, int span_count, int *count); + +/* Topological functions */ + +extern bool adjacent_span_bigint(const Span *s, int64 i); +extern bool adjacent_span_date(const Span *s, DateADT d); +extern bool adjacent_span_float(const Span *s, double d); +extern bool adjacent_span_int(const Span *s, int i); +extern bool adjacent_span_span(const Span *s1, const Span *s2); +extern bool adjacent_span_spanset(const Span *s, const SpanSet *ss); +extern bool adjacent_span_timestamptz(const Span *s, TimestampTz t); +extern bool adjacent_spanset_bigint(const SpanSet *ss, int64 i); +extern bool adjacent_spanset_date(const SpanSet *ss, DateADT d); +extern bool adjacent_spanset_float(const SpanSet *ss, double d); +extern bool adjacent_spanset_int(const SpanSet *ss, int i); +extern bool adjacent_spanset_timestamptz(const SpanSet *ss, TimestampTz t); +extern bool adjacent_spanset_span(const SpanSet *ss, const Span *s); +extern bool adjacent_spanset_spanset(const SpanSet *ss1, const SpanSet *ss2); +extern bool contained_bigint_set(int64 i, const Set *s); +extern bool contained_bigint_span(int64 i, const Span *s); +extern bool contained_bigint_spanset(int64 i, const SpanSet *ss); +extern bool contained_date_set(DateADT d, const Set *s); +extern bool contained_date_span(DateADT d, const Span *s); +extern bool contained_date_spanset(DateADT d, const SpanSet *ss); +extern bool contained_float_set(double d, const Set *s); +extern bool contained_float_span(double d, const Span *s); +extern bool contained_float_spanset(double d, const SpanSet *ss); +extern bool contained_int_set(int i, const Set *s); +extern bool contained_int_span(int i, const Span *s); +extern bool contained_int_spanset(int i, const SpanSet *ss); +extern bool contained_set_set(const Set *s1, const Set *s2); +extern bool contained_span_span(const Span *s1, const Span *s2); +extern bool contained_span_spanset(const Span *s, const SpanSet *ss); +extern bool contained_spanset_span(const SpanSet *ss, const Span *s); +extern bool contained_spanset_spanset(const SpanSet *ss1, const SpanSet *ss2); +extern bool contained_text_set(const text *txt, const Set *s); +extern bool contained_timestamptz_set(TimestampTz t, const Set *s); +extern bool contained_timestamptz_span(TimestampTz t, const Span *s); +extern bool contained_timestamptz_spanset(TimestampTz t, const SpanSet *ss); +extern bool contains_set_bigint(const Set *s, int64 i); +extern bool contains_set_date(const Set *s, DateADT d); +extern bool contains_set_float(const Set *s, double d); +extern bool contains_set_int(const Set *s, int i); +extern bool contains_set_set(const Set *s1, const Set *s2); +extern bool contains_set_text(const Set *s, text *t); +extern bool contains_set_timestamptz(const Set *s, TimestampTz t); +extern bool contains_span_bigint(const Span *s, int64 i); +extern bool contains_span_date(const Span *s, DateADT d); +extern bool contains_span_float(const Span *s, double d); +extern bool contains_span_int(const Span *s, int i); +extern bool contains_span_span(const Span *s1, const Span *s2); +extern bool contains_span_spanset(const Span *s, const SpanSet *ss); +extern bool contains_span_timestamptz(const Span *s, TimestampTz t); +extern bool contains_spanset_bigint(const SpanSet *ss, int64 i); +extern bool contains_spanset_date(const SpanSet *ss, DateADT d); +extern bool contains_spanset_float(const SpanSet *ss, double d); +extern bool contains_spanset_int(const SpanSet *ss, int i); +extern bool contains_spanset_span(const SpanSet *ss, const Span *s); +extern bool contains_spanset_spanset(const SpanSet *ss1, const SpanSet *ss2); +extern bool contains_spanset_timestamptz(const SpanSet *ss, TimestampTz t); +extern bool overlaps_set_set(const Set *s1, const Set *s2); +extern bool overlaps_span_span(const Span *s1, const Span *s2); +extern bool overlaps_span_spanset(const Span *s, const SpanSet *ss); +extern bool overlaps_spanset_span(const SpanSet *ss, const Span *s); +extern bool overlaps_spanset_spanset(const SpanSet *ss1, const SpanSet *ss2); + +/*****************************************************************************/ + +/* Position functions for set and span types */ + +extern bool after_date_set(DateADT d, const Set *s); +extern bool after_date_span(DateADT d, const Span *s); +extern bool after_date_spanset(DateADT d, const SpanSet *ss); +extern bool after_set_date(const Set *s, DateADT d); +extern bool after_set_timestamptz(const Set *s, TimestampTz t); +extern bool after_span_date(const Span *s, DateADT d); +extern bool after_span_timestamptz(const Span *s, TimestampTz t); +extern bool after_spanset_date(const SpanSet *ss, DateADT d); +extern bool after_spanset_timestamptz(const SpanSet *ss, TimestampTz t); +extern bool after_timestamptz_set(TimestampTz t, const Set *s); +extern bool after_timestamptz_span(TimestampTz t, const Span *s); +extern bool after_timestamptz_spanset(TimestampTz t, const SpanSet *ss); +extern bool before_date_set(DateADT d, const Set *s); +extern bool before_date_span(DateADT d, const Span *s); +extern bool before_date_spanset(DateADT d, const SpanSet *ss); +extern bool before_set_date(const Set *s, DateADT d); +extern bool before_set_timestamptz(const Set *s, TimestampTz t); +extern bool before_span_date(const Span *s, DateADT d); +extern bool before_span_timestamptz(const Span *s, TimestampTz t); +extern bool before_spanset_date(const SpanSet *ss, DateADT d); +extern bool before_spanset_timestamptz(const SpanSet *ss, TimestampTz t); +extern bool before_timestamptz_set(TimestampTz t, const Set *s); +extern bool before_timestamptz_span(TimestampTz t, const Span *s); +extern bool before_timestamptz_spanset(TimestampTz t, const SpanSet *ss); +extern bool left_bigint_set(int64 i, const Set *s); +extern bool left_bigint_span(int64 i, const Span *s); +extern bool left_bigint_spanset(int64 i, const SpanSet *ss); +extern bool left_float_set(double d, const Set *s); +extern bool left_float_span(double d, const Span *s); +extern bool left_float_spanset(double d, const SpanSet *ss); +extern bool left_int_set(int i, const Set *s); +extern bool left_int_span(int i, const Span *s); +extern bool left_int_spanset(int i, const SpanSet *ss); +extern bool left_set_bigint(const Set *s, int64 i); +extern bool left_set_float(const Set *s, double d); +extern bool left_set_int(const Set *s, int i); +extern bool left_set_set(const Set *s1, const Set *s2); +extern bool left_set_text(const Set *s, text *txt); +extern bool left_span_bigint(const Span *s, int64 i); +extern bool left_span_float(const Span *s, double d); +extern bool left_span_int(const Span *s, int i); +extern bool left_span_span(const Span *s1, const Span *s2); +extern bool left_span_spanset(const Span *s, const SpanSet *ss); +extern bool left_spanset_bigint(const SpanSet *ss, int64 i); +extern bool left_spanset_float(const SpanSet *ss, double d); +extern bool left_spanset_int(const SpanSet *ss, int i); +extern bool left_spanset_span(const SpanSet *ss, const Span *s); +extern bool left_spanset_spanset(const SpanSet *ss1, const SpanSet *ss2); +extern bool left_text_set(const text *txt, const Set *s); +extern bool overafter_date_set(DateADT d, const Set *s); +extern bool overafter_date_span(DateADT d, const Span *s); +extern bool overafter_date_spanset(DateADT d, const SpanSet *ss); +extern bool overafter_set_date(const Set *s, DateADT d); +extern bool overafter_set_timestamptz(const Set *s, TimestampTz t); +extern bool overafter_span_date(const Span *s, DateADT d); +extern bool overafter_span_timestamptz(const Span *s, TimestampTz t); +extern bool overafter_spanset_date(const SpanSet *ss, DateADT d); +extern bool overafter_spanset_timestamptz(const SpanSet *ss, TimestampTz t); +extern bool overafter_timestamptz_set(TimestampTz t, const Set *s); +extern bool overafter_timestamptz_span(TimestampTz t, const Span *s); +extern bool overafter_timestamptz_spanset(TimestampTz t, const SpanSet *ss); +extern bool overbefore_date_set(DateADT d, const Set *s); +extern bool overbefore_date_span(DateADT d, const Span *s); +extern bool overbefore_date_spanset(DateADT d, const SpanSet *ss); +extern bool overbefore_set_date(const Set *s, DateADT d); +extern bool overbefore_set_timestamptz(const Set *s, TimestampTz t); +extern bool overbefore_span_date(const Span *s, DateADT d); +extern bool overbefore_span_timestamptz(const Span *s, TimestampTz t); +extern bool overbefore_spanset_date(const SpanSet *ss, DateADT d); +extern bool overbefore_spanset_timestamptz(const SpanSet *ss, TimestampTz t); +extern bool overbefore_timestamptz_set(TimestampTz t, const Set *s); +extern bool overbefore_timestamptz_span(TimestampTz t, const Span *s); +extern bool overbefore_timestamptz_spanset(TimestampTz t, const SpanSet *ss); +extern bool overleft_bigint_set(int64 i, const Set *s); +extern bool overleft_bigint_span(int64 i, const Span *s); +extern bool overleft_bigint_spanset(int64 i, const SpanSet *ss); +extern bool overleft_float_set(double d, const Set *s); +extern bool overleft_float_span(double d, const Span *s); +extern bool overleft_float_spanset(double d, const SpanSet *ss); +extern bool overleft_int_set(int i, const Set *s); +extern bool overleft_int_span(int i, const Span *s); +extern bool overleft_int_spanset(int i, const SpanSet *ss); +extern bool overleft_set_bigint(const Set *s, int64 i); +extern bool overleft_set_float(const Set *s, double d); +extern bool overleft_set_int(const Set *s, int i); +extern bool overleft_set_set(const Set *s1, const Set *s2); +extern bool overleft_set_text(const Set *s, text *txt); +extern bool overleft_span_bigint(const Span *s, int64 i); +extern bool overleft_span_float(const Span *s, double d); +extern bool overleft_span_int(const Span *s, int i); +extern bool overleft_span_span(const Span *s1, const Span *s2); +extern bool overleft_span_spanset(const Span *s, const SpanSet *ss); +extern bool overleft_spanset_bigint(const SpanSet *ss, int64 i); +extern bool overleft_spanset_float(const SpanSet *ss, double d); +extern bool overleft_spanset_int(const SpanSet *ss, int i); +extern bool overleft_spanset_span(const SpanSet *ss, const Span *s); +extern bool overleft_spanset_spanset(const SpanSet *ss1, const SpanSet *ss2); +extern bool overleft_text_set(const text *txt, const Set *s); +extern bool overright_bigint_set(int64 i, const Set *s); +extern bool overright_bigint_span(int64 i, const Span *s); +extern bool overright_bigint_spanset(int64 i, const SpanSet *ss); +extern bool overright_float_set(double d, const Set *s); +extern bool overright_float_span(double d, const Span *s); +extern bool overright_float_spanset(double d, const SpanSet *ss); +extern bool overright_int_set(int i, const Set *s); +extern bool overright_int_span(int i, const Span *s); +extern bool overright_int_spanset(int i, const SpanSet *ss); +extern bool overright_set_bigint(const Set *s, int64 i); +extern bool overright_set_float(const Set *s, double d); +extern bool overright_set_int(const Set *s, int i); +extern bool overright_set_set(const Set *s1, const Set *s2); +extern bool overright_set_text(const Set *s, text *txt); +extern bool overright_span_bigint(const Span *s, int64 i); +extern bool overright_span_float(const Span *s, double d); +extern bool overright_span_int(const Span *s, int i); +extern bool overright_span_span(const Span *s1, const Span *s2); +extern bool overright_span_spanset(const Span *s, const SpanSet *ss); +extern bool overright_spanset_bigint(const SpanSet *ss, int64 i); +extern bool overright_spanset_float(const SpanSet *ss, double d); +extern bool overright_spanset_int(const SpanSet *ss, int i); +extern bool overright_spanset_span(const SpanSet *ss, const Span *s); +extern bool overright_spanset_spanset(const SpanSet *ss1, const SpanSet *ss2); +extern bool overright_text_set(const text *txt, const Set *s); +extern bool right_bigint_set(int64 i, const Set *s); +extern bool right_bigint_span(int64 i, const Span *s); +extern bool right_bigint_spanset(int64 i, const SpanSet *ss); +extern bool right_float_set(double d, const Set *s); +extern bool right_float_span(double d, const Span *s); +extern bool right_float_spanset(double d, const SpanSet *ss); +extern bool right_int_set(int i, const Set *s); +extern bool right_int_span(int i, const Span *s); +extern bool right_int_spanset(int i, const SpanSet *ss); +extern bool right_set_bigint(const Set *s, int64 i); +extern bool right_set_float(const Set *s, double d); +extern bool right_set_int(const Set *s, int i); +extern bool right_set_set(const Set *s1, const Set *s2); +extern bool right_set_text(const Set *s, text *txt); +extern bool right_span_bigint(const Span *s, int64 i); +extern bool right_span_float(const Span *s, double d); +extern bool right_span_int(const Span *s, int i); +extern bool right_span_span(const Span *s1, const Span *s2); +extern bool right_span_spanset(const Span *s, const SpanSet *ss); +extern bool right_spanset_bigint(const SpanSet *ss, int64 i); +extern bool right_spanset_float(const SpanSet *ss, double d); +extern bool right_spanset_int(const SpanSet *ss, int i); +extern bool right_spanset_span(const SpanSet *ss, const Span *s); +extern bool right_spanset_spanset(const SpanSet *ss1, const SpanSet *ss2); +extern bool right_text_set(const text *txt, const Set *s); + +/***************************************************************************** + * Set functions for set and span types + *****************************************************************************/ + +extern Set *intersection_bigint_set(int64 i, const Set *s); +extern Set *intersection_date_set(DateADT d, const Set *s); +extern Set *intersection_float_set(double d, const Set *s); +extern Set *intersection_int_set(int i, const Set *s); +extern Set *intersection_set_bigint(const Set *s, int64 i); +extern Set *intersection_set_date(const Set *s, DateADT d); +extern Set *intersection_set_float(const Set *s, double d); +extern Set *intersection_set_int(const Set *s, int i); +extern Set *intersection_set_set(const Set *s1, const Set *s2); +extern Set *intersection_set_text(const Set *s, const text *txt); +extern Set *intersection_set_timestamptz(const Set *s, TimestampTz t); +extern Span *intersection_span_bigint(const Span *s, int64 i); +extern Span *intersection_span_date(const Span *s, DateADT d); +extern Span *intersection_span_float(const Span *s, double d); +extern Span *intersection_span_int(const Span *s, int i); +extern Span *intersection_span_span(const Span *s1, const Span *s2); +extern SpanSet *intersection_span_spanset(const Span *s, const SpanSet *ss); +extern Span *intersection_span_timestamptz(const Span *s, TimestampTz t); +extern SpanSet *intersection_spanset_bigint(const SpanSet *ss, int64 i); +extern SpanSet *intersection_spanset_date(const SpanSet *ss, DateADT d); +extern SpanSet *intersection_spanset_float(const SpanSet *ss, double d); +extern SpanSet *intersection_spanset_int(const SpanSet *ss, int i); +extern SpanSet *intersection_spanset_span(const SpanSet *ss, const Span *s); +extern SpanSet *intersection_spanset_spanset(const SpanSet *ss1, const SpanSet *ss2); +extern SpanSet *intersection_spanset_timestamptz(const SpanSet *ss, TimestampTz t); +extern Set *intersection_text_set(const text *txt, const Set *s); +extern Set *intersection_timestamptz_set(TimestampTz t, const Set *s); +extern Set *minus_bigint_set(int64 i, const Set *s); +extern SpanSet *minus_bigint_span(int64 i, const Span *s); +extern SpanSet *minus_bigint_spanset(int64 i, const SpanSet *ss); +extern Set *minus_date_set(DateADT d, const Set *s); +extern SpanSet *minus_date_span(DateADT d, const Span *s); +extern SpanSet *minus_date_spanset(DateADT d, const SpanSet *ss); +extern Set *minus_float_set(double d, const Set *s); +extern SpanSet *minus_float_span(double d, const Span *s); +extern SpanSet *minus_float_spanset(double d, const SpanSet *ss); +extern Set *minus_int_set(int i, const Set *s); +extern SpanSet *minus_int_span(int i, const Span *s); +extern SpanSet *minus_int_spanset(int i, const SpanSet *ss); +extern Set *minus_set_bigint(const Set *s, int64 i); +extern Set *minus_set_date(const Set *s, DateADT d); +extern Set *minus_set_float(const Set *s, double d); +extern Set *minus_set_int(const Set *s, int i); +extern Set *minus_set_set(const Set *s1, const Set *s2); +extern Set *minus_set_text(const Set *s, const text *txt); +extern Set *minus_set_timestamptz(const Set *s, TimestampTz t); +extern SpanSet *minus_span_bigint(const Span *s, int64 i); +extern SpanSet *minus_span_date(const Span *s, DateADT d); +extern SpanSet *minus_span_float(const Span *s, double d); +extern SpanSet *minus_span_int(const Span *s, int i); +extern SpanSet *minus_span_span(const Span *s1, const Span *s2); +extern SpanSet *minus_span_spanset(const Span *s, const SpanSet *ss); +extern SpanSet *minus_span_timestamptz(const Span *s, TimestampTz t); +extern SpanSet *minus_spanset_bigint(const SpanSet *ss, int64 i); +extern SpanSet *minus_spanset_date(const SpanSet *ss, DateADT d); +extern SpanSet *minus_spanset_float(const SpanSet *ss, double d); +extern SpanSet *minus_spanset_int(const SpanSet *ss, int i); +extern SpanSet *minus_spanset_span(const SpanSet *ss, const Span *s); +extern SpanSet *minus_spanset_spanset(const SpanSet *ss1, const SpanSet *ss2); +extern SpanSet *minus_spanset_timestamptz(const SpanSet *ss, TimestampTz t); +extern Set *minus_text_set(const text *txt, const Set *s); +extern Set *minus_timestamptz_set(TimestampTz t, const Set *s); +extern SpanSet *minus_timestamptz_span(TimestampTz t, const Span *s); +extern SpanSet *minus_timestamptz_spanset(TimestampTz t, const SpanSet *ss); +extern Set *union_bigint_set(int64 i, const Set *s); +extern SpanSet *union_bigint_span(const Span *s, int64 i); +extern SpanSet *union_bigint_spanset(int64 i, SpanSet *ss); +extern Set *union_date_set(DateADT d, const Set *s); +extern SpanSet *union_date_span(const Span *s, DateADT d); +extern SpanSet *union_date_spanset(DateADT d, SpanSet *ss); +extern Set *union_float_set(double d, const Set *s); +extern SpanSet *union_float_span(const Span *s, double d); +extern SpanSet *union_float_spanset(double d, SpanSet *ss); +extern Set *union_int_set(int i, const Set *s); +extern SpanSet *union_int_span(int i, const Span *s); +extern SpanSet *union_int_spanset(int i, SpanSet *ss); +extern Set *union_set_bigint(const Set *s, int64 i); +extern Set *union_set_date(const Set *s, DateADT d); +extern Set *union_set_float(const Set *s, double d); +extern Set *union_set_int(const Set *s, int i); +extern Set *union_set_set(const Set *s1, const Set *s2); +extern Set *union_set_text(const Set *s, const text *txt); +extern Set *union_set_timestamptz(const Set *s, TimestampTz t); +extern SpanSet *union_span_bigint(const Span *s, int64 i); +extern SpanSet *union_span_date(const Span *s, DateADT d); +extern SpanSet *union_span_float(const Span *s, double d); +extern SpanSet *union_span_int(const Span *s, int i); +extern SpanSet *union_span_span(const Span *s1, const Span *s2); +extern SpanSet *union_span_spanset(const Span *s, const SpanSet *ss); +extern SpanSet *union_span_timestamptz(const Span *s, TimestampTz t); +extern SpanSet *union_spanset_bigint(const SpanSet *ss, int64 i); +extern SpanSet *union_spanset_date(const SpanSet *ss, DateADT d); +extern SpanSet *union_spanset_float(const SpanSet *ss, double d); +extern SpanSet *union_spanset_int(const SpanSet *ss, int i); +extern SpanSet *union_spanset_span(const SpanSet *ss, const Span *s); +extern SpanSet *union_spanset_spanset(const SpanSet *ss1, const SpanSet *ss2); +extern SpanSet *union_spanset_timestamptz(const SpanSet *ss, TimestampTz t); +extern Set *union_text_set(const text *txt, const Set *s); +extern Set *union_timestamptz_set(TimestampTz t, const Set *s); +extern SpanSet *union_timestamptz_span(TimestampTz t, const Span *s); +extern SpanSet *union_timestamptz_spanset(TimestampTz t, SpanSet *ss); + +/***************************************************************************** + * Distance functions for set and span types + *****************************************************************************/ + +extern int64 distance_bigintset_bigintset(const Set *s1, const Set *s2); +extern int64 distance_bigintspan_bigintspan(const Span *s1, const Span *s2); +extern int64 distance_bigintspanset_bigintspan(const SpanSet *ss, const Span *s); +extern int64 distance_bigintspanset_bigintspanset(const SpanSet *ss1, const SpanSet *ss2); +extern int distance_dateset_dateset(const Set *s1, const Set *s2); +extern int distance_datespan_datespan(const Span *s1, const Span *s2); +extern int distance_datespanset_datespan(const SpanSet *ss, const Span *s); +extern int distance_datespanset_datespanset(const SpanSet *ss1, const SpanSet *ss2); +extern double distance_floatset_floatset(const Set *s1, const Set *s2); +extern double distance_floatspan_floatspan(const Span *s1, const Span *s2); +extern double distance_floatspanset_floatspan(const SpanSet *ss, const Span *s); +extern double distance_floatspanset_floatspanset(const SpanSet *ss1, const SpanSet *ss2); +extern int distance_intset_intset(const Set *s1, const Set *s2); +extern int distance_intspan_intspan(const Span *s1, const Span *s2); +extern int distance_intspanset_intspan(const SpanSet *ss, const Span *s); +extern int distance_intspanset_intspanset(const SpanSet *ss1, const SpanSet *ss2); +extern int64 distance_set_bigint(const Set *s, int64 i); +extern int distance_set_date(const Set *s, DateADT d); +extern double distance_set_float(const Set *s, double d); +extern int distance_set_int(const Set *s, int i); +extern double distance_set_timestamptz(const Set *s, TimestampTz t); +extern int64 distance_span_bigint(const Span *s, int64 i); +extern int distance_span_date(const Span *s, DateADT d); +extern double distance_span_float(const Span *s, double d); +extern int distance_span_int(const Span *s, int i); +extern double distance_span_timestamptz(const Span *s, TimestampTz t); +extern int64 distance_spanset_bigint(const SpanSet *ss, int64 i); +extern int distance_spanset_date(const SpanSet *ss, DateADT d); +extern double distance_spanset_float(const SpanSet *ss, double d); +extern int distance_spanset_int(const SpanSet *ss, int i); +extern double distance_spanset_timestamptz(const SpanSet *ss, TimestampTz t); +extern double distance_tstzset_tstzset(const Set *s1, const Set *s2); +extern double distance_tstzspan_tstzspan(const Span *s1, const Span *s2); +extern double distance_tstzspanset_tstzspan(const SpanSet *ss, const Span *s); +extern double distance_tstzspanset_tstzspanset(const SpanSet *ss1, const SpanSet *ss2); + +/***************************************************************************** + * Aggregate functions for set and span types + *****************************************************************************/ + +extern Span *bigint_extent_transfn(Span *state, int64 i); +extern Set *bigint_union_transfn(Set *state, int64 i); +extern Span *date_extent_transfn(Span *state, DateADT d); +extern Set *date_union_transfn(Set *state, DateADT d); +extern Span *float_extent_transfn(Span *state, double d); +extern Set *float_union_transfn(Set *state, double d); +extern Span *int_extent_transfn(Span *state, int i); +extern Set *int_union_transfn(Set *state, int32 i); +extern Span *set_extent_transfn(Span *state, const Set *s); +extern Set *set_union_finalfn(Set *state); +extern Set *set_union_transfn(Set *state, Set *s); +extern Span *span_extent_transfn(Span *state, const Span *s); +extern SpanSet *span_union_transfn(SpanSet *state, const Span *s); +extern Span *spanset_extent_transfn(Span *state, const SpanSet *ss); +extern SpanSet *spanset_union_finalfn(SpanSet *state); +extern SpanSet *spanset_union_transfn(SpanSet *state, const SpanSet *ss); +extern Set *text_union_transfn(Set *state, const text *txt); +extern Span *timestamptz_extent_transfn(Span *state, TimestampTz t); +extern Set *timestamptz_union_transfn(Set *state, TimestampTz t); + +/***************************************************************************** + * Bin functions for span and spanset types + *****************************************************************************/ + +extern int64 bigint_get_bin(int64 value, int64 vsize, int64 vorigin); +extern Span *bigintspan_bins(const Span *s, int64 vsize, int64 vorigin, int *count); +extern Span *bigintspanset_bins(const SpanSet *ss, int64 vsize, int64 vorigin, int *count); +extern DateADT date_get_bin(DateADT d, const Interval *duration, DateADT torigin); +extern Span *datespan_bins(const Span *s, const Interval *duration, DateADT torigin, int *count); +extern Span *datespanset_bins(const SpanSet *ss, const Interval *duration, DateADT torigin, int *count); +extern double float_get_bin(double value, double vsize, double vorigin); +extern Span *floatspan_bins(const Span *s, double vsize, double vorigin, int *count); +extern Span *floatspanset_bins(const SpanSet *ss, double vsize, double vorigin, int *count); +extern int int_get_bin(int value, int vsize, int vorigin); +extern Span *intspan_bins(const Span *s, int vsize, int vorigin, int *count); +extern Span *intspanset_bins(const SpanSet *ss, int vsize, int vorigin, int *count); +extern TimestampTz timestamptz_get_bin(TimestampTz t, const Interval *duration, TimestampTz torigin); +extern Span *tstzspan_bins(const Span *s, const Interval *duration, TimestampTz origin, int *count); +extern Span *tstzspanset_bins(const SpanSet *ss, const Interval *duration, TimestampTz torigin, int *count); + +/*===========================================================================* + * Functions for temporal boxes + *===========================================================================*/ + +/***************************************************************************** + * Input and output functions for box types + *****************************************************************************/ + +extern char *tbox_as_hexwkb(const TBox *box, uint8_t variant, size_t *size); +extern uint8_t *tbox_as_wkb(const TBox *box, uint8_t variant, size_t *size_out); +extern TBox *tbox_from_hexwkb(const char *hexwkb); +extern TBox *tbox_from_wkb(const uint8_t *wkb, size_t size); +extern TBox *tbox_in(const char *str); +extern char *tbox_out(const TBox *box, int maxdd); + +/***************************************************************************** + * Constructor functions for box types + *****************************************************************************/ + +extern TBox *float_timestamptz_to_tbox(double d, TimestampTz t); +extern TBox *float_tstzspan_to_tbox(double d, const Span *s); +extern TBox *int_timestamptz_to_tbox(int i, TimestampTz t); +extern TBox *int_tstzspan_to_tbox(int i, const Span *s); +extern TBox *numspan_tstzspan_to_tbox(const Span *span, const Span *s); +extern TBox *numspan_timestamptz_to_tbox(const Span *span, TimestampTz t); +extern TBox *tbox_copy(const TBox *box); +extern TBox *tbox_make(const Span *s, const Span *p); + +/***************************************************************************** + * Conversion functions for box types + *****************************************************************************/ + +extern TBox *float_to_tbox(double d); +extern TBox *int_to_tbox(int i); +extern TBox *set_to_tbox(const Set *s); +extern TBox *span_to_tbox(const Span *s); +extern TBox *spanset_to_tbox(const SpanSet *ss); +extern Span *tbox_to_bigintspan(const TBox *box); +extern Span *tbox_to_intspan(const TBox *box); +extern Span *tbox_to_floatspan(const TBox *box); +extern Span *tbox_to_tstzspan(const TBox *box); +extern TBox *timestamptz_to_tbox(TimestampTz t); + +/***************************************************************************** + * Accessor functions for box types + *****************************************************************************/ + +extern uint32 tbox_hash(const TBox *box); +extern uint64 tbox_hash_extended(const TBox *box, uint64 seed); +extern bool tbox_hast(const TBox *box); +extern bool tbox_hasx(const TBox *box); +extern bool tbox_tmax(const TBox *box, TimestampTz *result); +extern bool tbox_tmax_inc(const TBox *box, bool *result); +extern bool tbox_tmin(const TBox *box, TimestampTz *result); +extern bool tbox_tmin_inc(const TBox *box, bool *result); +extern bool tbox_xmax(const TBox *box, double *result); +extern bool tbox_xmax_inc(const TBox *box, bool *result); +extern bool tbox_xmin(const TBox *box, double *result); +extern bool tbox_xmin_inc(const TBox *box, bool *result); +extern bool tboxfloat_xmax(const TBox *box, double *result); +extern bool tboxfloat_xmin(const TBox *box, double *result); +extern bool tboxint_xmax(const TBox *box, int *result); +extern bool tboxint_xmin(const TBox *box, int *result); + +/***************************************************************************** + * Transformation functions for box types + *****************************************************************************/ + +extern TBox *tbigintbox_expand(const TBox *box, int64 i); +extern TBox *tbigintbox_shift_scale(const TBox *box, int64 shift, int64 width, bool hasshift, bool haswidth); +extern TBox *tbox_expand_time(const TBox *box, const Interval *interv); +extern TBox *tbox_round(const TBox *box, int maxdd); +extern TBox *tbox_shift_scale_time(const TBox *box, const Interval *shift, const Interval *duration); +extern TBox *tfloatbox_expand(const TBox *box, double d); +extern TBox *tfloatbox_shift_scale(const TBox *box, double shift, double width, bool hasshift, bool haswidth); +extern TBox *tintbox_expand(const TBox *box, int i); +extern TBox *tintbox_shift_scale(const TBox *box, int shift, int width, bool hasshift, bool haswidth); + +/***************************************************************************** + * Set functions for box types + *****************************************************************************/ + +extern TBox *union_tbox_tbox(const TBox *box1, const TBox *box2, bool strict); +extern TBox *intersection_tbox_tbox(const TBox *box1, const TBox *box2); + +/***************************************************************************** + * Bounding box functions for box types + *****************************************************************************/ + +/* Topological functions for box types */ + +extern bool adjacent_tbox_tbox(const TBox *box1, const TBox *box2); +extern bool contained_tbox_tbox(const TBox *box1, const TBox *box2); +extern bool contains_tbox_tbox(const TBox *box1, const TBox *box2); +extern bool overlaps_tbox_tbox(const TBox *box1, const TBox *box2); +extern bool same_tbox_tbox(const TBox *box1, const TBox *box2); + +/*****************************************************************************/ + +/* Position functions for box types */ + +extern bool after_tbox_tbox(const TBox *box1, const TBox *box2); +extern bool before_tbox_tbox(const TBox *box1, const TBox *box2); +extern bool left_tbox_tbox(const TBox *box1, const TBox *box2); +extern bool overafter_tbox_tbox(const TBox *box1, const TBox *box2); +extern bool overbefore_tbox_tbox(const TBox *box1, const TBox *box2); +extern bool overleft_tbox_tbox(const TBox *box1, const TBox *box2); +extern bool overright_tbox_tbox(const TBox *box1, const TBox *box2); +extern bool right_tbox_tbox(const TBox *box1, const TBox *box2); + +/***************************************************************************** + * Comparison functions for box types + *****************************************************************************/ + +extern int tbox_cmp(const TBox *box1, const TBox *box2); +extern bool tbox_eq(const TBox *box1, const TBox *box2); +extern bool tbox_ge(const TBox *box1, const TBox *box2); +extern bool tbox_gt(const TBox *box1, const TBox *box2); +extern bool tbox_le(const TBox *box1, const TBox *box2); +extern bool tbox_lt(const TBox *box1, const TBox *box2); +extern bool tbox_ne(const TBox *box1, const TBox *box2); + +/*===========================================================================* + * Functions for temporal types + *===========================================================================*/ + +/***************************************************************************** + * Input and output functions for temporal types + *****************************************************************************/ + +extern Temporal *tbigint_from_mfjson(const char *str); +extern Temporal *tbigint_in(const char *str); +extern char *tbigint_out(const Temporal *temp); +extern Temporal *tbool_from_mfjson(const char *str); +extern Temporal *tbool_in(const char *str); +extern char *tbool_out(const Temporal *temp); +extern char *temporal_as_hexwkb(const Temporal *temp, uint8_t variant, size_t *size_out); +extern char *temporal_as_mfjson(const Temporal *temp, bool with_bbox, int flags, int precision, const char *srs); +extern uint8_t *temporal_as_wkb(const Temporal *temp, uint8_t variant, size_t *size_out); +extern Temporal *temporal_from_hexwkb(const char *hexwkb); +extern Temporal *temporal_from_wkb(const uint8_t *wkb, size_t size); +extern Temporal *tfloat_from_mfjson(const char *str); +extern Temporal *tfloat_in(const char *str); +extern char *tfloat_out(const Temporal *temp, int maxdd); +extern Temporal *tint_from_mfjson(const char *str); +extern Temporal *tint_in(const char *str); +extern char *tint_out(const Temporal *temp); +extern Temporal *ttext_from_mfjson(const char *str); +extern Temporal *ttext_in(const char *str); +extern char *ttext_out(const Temporal *temp); + +/***************************************************************************** + * Constructor functions for temporal types + *****************************************************************************/ + +extern Temporal *tbigint_from_base_temp(int64 i, const Temporal *temp); +extern TInstant *tbigintinst_make(int64 i, TimestampTz t); +extern TSequence *tbigintseq_from_base_tstzset(int64 i, const Set *s); +extern TSequence *tbigintseq_from_base_tstzspan(int64 i, const Span *s); +extern TSequenceSet *tbigintseqset_from_base_tstzspanset(int64 i, const SpanSet *ss); +extern Temporal *tbool_from_base_temp(bool b, const Temporal *temp); +extern TInstant *tboolinst_make(bool b, TimestampTz t); +extern TSequence *tboolseq_from_base_tstzset(bool b, const Set *s); +extern TSequence *tboolseq_from_base_tstzspan(bool b, const Span *s); +extern TSequenceSet *tboolseqset_from_base_tstzspanset(bool b, const SpanSet *ss); +extern Temporal *temporal_copy(const Temporal *temp); +extern Temporal *tfloat_from_base_temp(double d, const Temporal *temp); +extern TInstant *tfloatinst_make(double d, TimestampTz t); +extern TSequence *tfloatseq_from_base_tstzset(double d, const Set *s); +extern TSequence *tfloatseq_from_base_tstzspan(double d, const Span *s, interpType interp); +extern TSequenceSet *tfloatseqset_from_base_tstzspanset(double d, const SpanSet *ss, interpType interp); +extern Temporal *tint_from_base_temp(int i, const Temporal *temp); +extern TInstant *tintinst_make(int i, TimestampTz t); +extern TSequence *tintseq_from_base_tstzset(int i, const Set *s); +extern TSequence *tintseq_from_base_tstzspan(int i, const Span *s); +extern TSequenceSet *tintseqset_from_base_tstzspanset(int i, const SpanSet *ss); +extern TSequence *tsequence_make(TInstant **instants, int count, bool lower_inc, bool upper_inc, interpType interp, bool normalize); +extern TSequenceSet *tsequenceset_make(TSequence **sequences, int count, bool normalize); +extern TSequenceSet *tsequenceset_make_gaps(TInstant **instants, int count, interpType interp, const Interval *maxt, double maxdist); +extern Temporal *ttext_from_base_temp(const text *txt, const Temporal *temp); +extern TInstant *ttextinst_make(const text *txt, TimestampTz t); +extern TSequence *ttextseq_from_base_tstzset(const text *txt, const Set *s); +extern TSequence *ttextseq_from_base_tstzspan(const text *txt, const Span *s); +extern TSequenceSet *ttextseqset_from_base_tstzspanset(const text *txt, const SpanSet *ss); + +/***************************************************************************** + * Conversion functions for temporal types + *****************************************************************************/ + +extern Temporal *tbigint_to_tfloat(const Temporal *temp); +extern Temporal *tbigint_to_tint(const Temporal *temp); +extern Temporal *tbool_to_tint(const Temporal *temp); +extern Span *temporal_to_tstzspan(const Temporal *temp); +extern Temporal *tfloat_to_tbigint(const Temporal *temp); +extern Temporal *tfloat_to_tint(const Temporal *temp); +extern Temporal *tint_to_tbigint(const Temporal *temp); +extern Temporal *tint_to_tfloat(const Temporal *temp); +extern Span *tnumber_to_span(const Temporal *temp); +extern TBox *tnumber_to_tbox (const Temporal *temp); + +/***************************************************************************** + * Accessor functions for temporal types + *****************************************************************************/ + +extern int64 tbigint_end_value(const Temporal *temp); +extern int64 tbigint_max_value(const Temporal *temp); +extern int64 tbigint_min_value(const Temporal *temp); +extern int64 tbigint_start_value(const Temporal *temp); +extern bool tbigint_value_at_timestamptz(const Temporal *temp, TimestampTz t, bool strict, int64 *value); +extern bool tbigint_value_n(const Temporal *temp, int64 n, int64 *result); +extern int64 *tbigint_values(const Temporal *temp, int32 *count); +extern bool tbool_end_value(const Temporal *temp); +extern bool tbool_start_value(const Temporal *temp); +extern bool tbool_value_at_timestamptz(const Temporal *temp, TimestampTz t, bool strict, bool *value); +extern bool tbool_value_n(const Temporal *temp, int n, bool *result); +extern bool *tbool_values(const Temporal *temp, int *count); +extern Interval *temporal_duration(const Temporal *temp, bool boundspan); +extern TInstant *temporal_end_instant(const Temporal *temp); +extern TSequence *temporal_end_sequence(const Temporal *temp); +extern TimestampTz temporal_end_timestamptz(const Temporal *temp); +extern uint32 temporal_hash(const Temporal *temp); +extern TInstant *temporal_instant_n(const Temporal *temp, int n); +extern TInstant **temporal_instants(const Temporal *temp, int *count); +extern const char *temporal_interp(const Temporal *temp); +extern bool temporal_lower_inc(const Temporal *temp); +extern TInstant *temporal_max_instant(const Temporal *temp); +extern TInstant *temporal_min_instant(const Temporal *temp); +extern int temporal_num_instants(const Temporal *temp); +extern int temporal_num_sequences(const Temporal *temp); +extern int temporal_num_timestamps(const Temporal *temp); +extern TSequenceSet *temporal_segm_duration(const Temporal *temp, const Interval *duration, bool atleast, bool strict); +extern TSequence **temporal_segments(const Temporal *temp, int *count); +extern TSequence *temporal_sequence_n(const Temporal *temp, int i); +extern TSequence **temporal_sequences(const Temporal *temp, int *count); +extern TInstant *temporal_start_instant(const Temporal *temp); +extern TSequence *temporal_start_sequence(const Temporal *temp); +extern TimestampTz temporal_start_timestamptz(const Temporal *temp); +extern TSequenceSet *temporal_stops(const Temporal *temp, double maxdist, const Interval *minduration); +extern const char *temporal_subtype(const Temporal *temp); +extern SpanSet *temporal_time(const Temporal *temp); +extern TimestampTz *temporal_timestamps(const Temporal *temp, int *count); +extern bool temporal_timestamptz_n(const Temporal *temp, int n, TimestampTz *result); +extern bool temporal_upper_inc(const Temporal *temp); +extern double tfloat_avg_value(const Temporal *temp); +extern double tfloat_end_value(const Temporal *temp); +extern double tfloat_min_value(const Temporal *temp); +extern double tfloat_max_value(const Temporal *temp); +extern double tfloat_start_value(const Temporal *temp); +extern bool tfloat_value_at_timestamptz(const Temporal *temp, TimestampTz t, bool strict, double *value); +extern bool tfloat_value_n(const Temporal *temp, int n, double *result); +extern double *tfloat_values(const Temporal *temp, int *count); +extern int tint_end_value(const Temporal *temp); +extern int tint_max_value(const Temporal *temp); +extern int tint_min_value(const Temporal *temp); +extern int tint_start_value(const Temporal *temp); +extern bool tint_value_at_timestamptz(const Temporal *temp, TimestampTz t, bool strict, int *value); +extern bool tint_value_n(const Temporal *temp, int n, int *result); +extern int *tint_values(const Temporal *temp, int *count); +extern double tnumber_avg_value(const Temporal *temp); +extern double tnumber_integral(const Temporal *temp); +extern double tnumber_twavg(const Temporal *temp); +extern SpanSet *tnumber_valuespans(const Temporal *temp); +extern text *ttext_end_value(const Temporal *temp); +extern text *ttext_max_value(const Temporal *temp); +extern text *ttext_min_value(const Temporal *temp); +extern text *ttext_start_value(const Temporal *temp); +extern bool ttext_value_at_timestamptz(const Temporal *temp, TimestampTz t, bool strict, text **value); +extern bool ttext_value_n(const Temporal *temp, int n, text **result); +extern text **ttext_values(const Temporal *temp, int *count); + +/***************************************************************************** + * Transformation functions for temporal types + *****************************************************************************/ + +extern double float_degrees(double value, bool normalize); +extern Temporal *tbigint_scale_value(const Temporal *temp, int64 width); +extern Temporal *tbigint_shift_scale_value(const Temporal *temp, int64 shift, int64 width); +extern Temporal *tbigint_shift_value(const Temporal *temp, int64 shift); +extern Temporal **temparr_round(Temporal **temp, int count, int maxdd); +extern Temporal *temporal_round(const Temporal *temp, int maxdd); +extern Temporal *temporal_scale_time(const Temporal *temp, const Interval *duration); +extern Temporal *temporal_set_interp(const Temporal *temp, interpType interp); +extern Temporal *temporal_shift_scale_time(const Temporal *temp, const Interval *shift, const Interval *duration); +extern Temporal *temporal_shift_time(const Temporal *temp, const Interval *shift); +extern TInstant *temporal_to_tinstant(const Temporal *temp); +extern TSequence *temporal_to_tsequence(const Temporal *temp, interpType interp); +extern TSequenceSet *temporal_to_tsequenceset(const Temporal *temp, interpType interp); +extern Temporal *tfloat_ceil(const Temporal *temp); +extern Temporal *tfloat_degrees(const Temporal *temp, bool normalize); +extern Temporal *tfloat_floor(const Temporal *temp); +extern Temporal *tfloat_radians(const Temporal *temp); +extern Temporal *tfloat_scale_value(const Temporal *temp, double width); +extern Temporal *tfloat_shift_scale_value(const Temporal *temp, double shift, double width); +extern Temporal *tfloat_shift_value(const Temporal *temp, double shift); +extern Temporal *tint_scale_value(const Temporal *temp, int width); +extern Temporal *tint_shift_scale_value(const Temporal *temp, int shift, int width); +extern Temporal *tint_shift_value(const Temporal *temp, int shift); + +/***************************************************************************** + * Modification functions for temporal types + *****************************************************************************/ + +extern Temporal *temporal_append_tinstant(Temporal *temp, const TInstant *inst, interpType interp, double maxdist, const Interval *maxt, bool expand); +extern Temporal *temporal_append_tsequence(Temporal *temp, const TSequence *seq, bool expand); +extern Temporal *temporal_delete_timestamptz(const Temporal *temp, TimestampTz t, bool connect); +extern Temporal *temporal_delete_tstzset(const Temporal *temp, const Set *s, bool connect); +extern Temporal *temporal_delete_tstzspan(const Temporal *temp, const Span *s, bool connect); +extern Temporal *temporal_delete_tstzspanset(const Temporal *temp, const SpanSet *ss, bool connect); +extern Temporal *temporal_insert(const Temporal *temp1, const Temporal *temp2, bool connect); +extern Temporal *temporal_merge(const Temporal *temp1, const Temporal *temp2); +extern Temporal *temporal_merge_array(Temporal **temparr, int count); +extern Temporal *temporal_update(const Temporal *temp1, const Temporal *temp2, bool connect); + +/***************************************************************************** + * Restriction functions for temporal types + *****************************************************************************/ + +extern Temporal *tbigint_at_value(const Temporal *temp, int64 i); +extern Temporal *tbigint_minus_value(const Temporal *temp, int64 i); +extern Temporal *tbool_at_value(const Temporal *temp, bool b); +extern Temporal *tbool_minus_value(const Temporal *temp, bool b); +extern Temporal *temporal_after_timestamptz(const Temporal *temp, TimestampTz t, bool strict); +extern Temporal *temporal_at_max(const Temporal *temp); +extern Temporal *temporal_at_min(const Temporal *temp); +extern Temporal *temporal_at_timestamptz(const Temporal *temp, TimestampTz t); +extern Temporal *temporal_at_tstzset(const Temporal *temp, const Set *s); +extern Temporal *temporal_at_tstzspan(const Temporal *temp, const Span *s); +extern Temporal *temporal_at_tstzspanset(const Temporal *temp, const SpanSet *ss); +extern Temporal *temporal_at_values(const Temporal *temp, const Set *set); +extern Temporal *temporal_before_timestamptz(const Temporal *temp, TimestampTz t, bool strict); +extern Temporal *temporal_minus_max(const Temporal *temp); +extern Temporal *temporal_minus_min(const Temporal *temp); +extern Temporal *temporal_minus_timestamptz(const Temporal *temp, TimestampTz t); +extern Temporal *temporal_minus_tstzset(const Temporal *temp, const Set *s); +extern Temporal *temporal_minus_tstzspan(const Temporal *temp, const Span *s); +extern Temporal *temporal_minus_tstzspanset(const Temporal *temp, const SpanSet *ss); +extern Temporal *temporal_minus_values(const Temporal *temp, const Set *set); +extern Temporal *tfloat_at_value(const Temporal *temp, double d); +extern Temporal *tfloat_minus_value(const Temporal *temp, double d); +extern Temporal *tint_at_value(const Temporal *temp, int i); +extern Temporal *tint_minus_value(const Temporal *temp, int i); +extern Temporal *tnumber_at_span(const Temporal *temp, const Span *span); +extern Temporal *tnumber_at_spanset(const Temporal *temp, const SpanSet *ss); +extern Temporal *tnumber_at_tbox(const Temporal *temp, const TBox *box); +extern Temporal *tnumber_minus_span(const Temporal *temp, const Span *span); +extern Temporal *tnumber_minus_spanset(const Temporal *temp, const SpanSet *ss); +extern Temporal *tnumber_minus_tbox(const Temporal *temp, const TBox *box); +extern Temporal *ttext_at_value(const Temporal *temp, text *txt); +extern Temporal *ttext_minus_value(const Temporal *temp, text *txt); + +/***************************************************************************** + * Comparison functions for temporal types + *****************************************************************************/ + +/* Traditional comparison functions for temporal types */ + +extern int temporal_cmp(const Temporal *temp1, const Temporal *temp2); +extern bool temporal_eq(const Temporal *temp1, const Temporal *temp2); +extern bool temporal_ge(const Temporal *temp1, const Temporal *temp2); +extern bool temporal_gt(const Temporal *temp1, const Temporal *temp2); +extern bool temporal_le(const Temporal *temp1, const Temporal *temp2); +extern bool temporal_lt(const Temporal *temp1, const Temporal *temp2); +extern bool temporal_ne(const Temporal *temp1, const Temporal *temp2); + +/*****************************************************************************/ + +/* Ever and always comparison functions for temporal types */ + +extern int always_eq_bigint_tbigint(int64 i, const Temporal *temp); +extern int always_eq_bool_tbool(bool b, const Temporal *temp); +extern int always_eq_float_tfloat(double d, const Temporal *temp); +extern int always_eq_int_tint(int i, const Temporal *temp); +extern int always_eq_tbool_bool(const Temporal *temp, bool b); +extern int always_eq_temporal_temporal(const Temporal *temp1, const Temporal *temp2); +extern int always_eq_text_ttext(const text *txt, const Temporal *temp); +extern int always_eq_tbigint_bigint(const Temporal *temp, int64 i); +extern int always_eq_tfloat_float(const Temporal *temp, double d); +extern int always_eq_tint_int(const Temporal *temp, int i); +extern int always_eq_ttext_text(const Temporal *temp, const text *txt); + +extern int always_ge_bigint_tbigint(int64 i, const Temporal *temp); +extern int always_ge_float_tfloat(double d, const Temporal *temp); +extern int always_ge_int_tint(int i, const Temporal *temp); +extern int always_ge_tbigint_bigint(const Temporal *temp, int64 i); +extern int always_ge_temporal_temporal(const Temporal *temp1, const Temporal *temp2); +extern int always_ge_text_ttext(const text *txt, const Temporal *temp); +extern int always_ge_tfloat_float(const Temporal *temp, double d); +extern int always_ge_tint_int(const Temporal *temp, int i); +extern int always_ge_ttext_text(const Temporal *temp, const text *txt); + +extern int always_gt_bigint_tbigint(int64 i, const Temporal *temp); +extern int always_gt_float_tfloat(double d, const Temporal *temp); +extern int always_gt_int_tint(int i, const Temporal *temp); +extern int always_gt_tbigint_bigint(const Temporal *temp, int64 i); +extern int always_gt_temporal_temporal(const Temporal *temp1, const Temporal *temp2); +extern int always_gt_text_ttext(const text *txt, const Temporal *temp); +extern int always_gt_tfloat_float(const Temporal *temp, double d); +extern int always_gt_tint_int(const Temporal *temp, int i); +extern int always_gt_ttext_text(const Temporal *temp, const text *txt); + +extern int always_le_bigint_tbigint(int64 i, const Temporal *temp); +extern int always_le_float_tfloat(double d, const Temporal *temp); +extern int always_le_int_tint(int i, const Temporal *temp); +extern int always_le_tbigint_bigint(const Temporal *temp, int64 i); +extern int always_le_temporal_temporal(const Temporal *temp1, const Temporal *temp2); +extern int always_le_text_ttext(const text *txt, const Temporal *temp); +extern int always_le_tfloat_float(const Temporal *temp, double d); +extern int always_le_tint_int(const Temporal *temp, int i); +extern int always_le_ttext_text(const Temporal *temp, const text *txt); + +extern int always_lt_bigint_tbigint(int64 i, const Temporal *temp); +extern int always_lt_float_tfloat(double d, const Temporal *temp); +extern int always_lt_int_tint(int i, const Temporal *temp); +extern int always_lt_temporal_temporal(const Temporal *temp1, const Temporal *temp2); +extern int always_lt_text_ttext(const text *txt, const Temporal *temp); +extern int always_lt_tfloat_float(const Temporal *temp, double d); +extern int always_lt_tint_int(const Temporal *temp, int i); +extern int always_lt_ttext_text(const Temporal *temp, const text *txt); +extern int always_ne_bool_tbool(bool b, const Temporal *temp); +extern int always_ne_float_tfloat(double d, const Temporal *temp); +extern int always_ne_int_tint(int i, const Temporal *temp); +extern int always_lt_tbigint_bigint(const Temporal *temp, int64 i); + +extern int always_ne_bigint_tbigint(int64 i, const Temporal *temp); +extern int always_ne_tbool_bool(const Temporal *temp, bool b); +extern int always_ne_tbigint_bigint(const Temporal *temp, int64 i); +extern int always_ne_temporal_temporal(const Temporal *temp1, const Temporal *temp2); +extern int always_ne_text_ttext(const text *txt, const Temporal *temp); +extern int always_ne_tfloat_float(const Temporal *temp, double d); +extern int always_ne_tint_int(const Temporal *temp, int i); +extern int always_ne_ttext_text(const Temporal *temp, const text *txt); + +extern int ever_eq_bigint_tbigint(int64 i, const Temporal *temp); +extern int ever_eq_bool_tbool(bool b, const Temporal *temp); +extern int ever_eq_float_tfloat(double d, const Temporal *temp); +extern int ever_eq_int_tint(int i, const Temporal *temp); +extern int ever_eq_tbigint_bigint(const Temporal *temp, int64 i); +extern int ever_eq_tbool_bool(const Temporal *temp, bool b); +extern int ever_eq_temporal_temporal(const Temporal *temp1, const Temporal *temp2); +extern int ever_eq_text_ttext(const text *txt, const Temporal *temp); +extern int ever_eq_tfloat_float(const Temporal *temp, double d); +extern int ever_eq_tint_int(const Temporal *temp, int i); +extern int ever_eq_ttext_text(const Temporal *temp, const text *txt); + +extern int ever_ge_bigint_tbigint(int64 i, const Temporal *temp); +extern int ever_ge_float_tfloat(double d, const Temporal *temp); +extern int ever_ge_int_tint(int i, const Temporal *temp); +extern int ever_ge_tbigint_bigint(const Temporal *temp, int64 i); +extern int ever_ge_temporal_temporal(const Temporal *temp1, const Temporal *temp2); +extern int ever_ge_text_ttext(const text *txt, const Temporal *temp); +extern int ever_ge_tfloat_float(const Temporal *temp, double d); +extern int ever_ge_tint_int(const Temporal *temp, int i); +extern int ever_ge_ttext_text(const Temporal *temp, const text *txt); + +extern int ever_gt_bigint_tbigint(int64 i, const Temporal *temp); +extern int ever_gt_float_tfloat(double d, const Temporal *temp); +extern int ever_gt_int_tint(int i, const Temporal *temp); +extern int ever_gt_tbigint_bigint(const Temporal *temp, int64 i); +extern int ever_gt_temporal_temporal(const Temporal *temp1, const Temporal *temp2); +extern int ever_gt_text_ttext(const text *txt, const Temporal *temp); +extern int ever_gt_tfloat_float(const Temporal *temp, double d); +extern int ever_gt_tint_int(const Temporal *temp, int i); +extern int ever_gt_ttext_text(const Temporal *temp, const text *txt); + +extern int ever_le_bigint_tbigint(int64 i, const Temporal *temp); +extern int ever_le_float_tfloat(double d, const Temporal *temp); +extern int ever_le_int_tint(int i, const Temporal *temp); +extern int ever_le_tbigint_bigint(const Temporal *temp, int64 i); +extern int ever_le_temporal_temporal(const Temporal *temp1, const Temporal *temp2); +extern int ever_le_text_ttext(const text *txt, const Temporal *temp); +extern int ever_le_tfloat_float(const Temporal *temp, double d); +extern int ever_le_tint_int(const Temporal *temp, int i); +extern int ever_le_ttext_text(const Temporal *temp, const text *txt); + +extern int ever_lt_bigint_tbigint(int64 i, const Temporal *temp); +extern int ever_lt_float_tfloat(double d, const Temporal *temp); +extern int ever_lt_int_tint(int i, const Temporal *temp); +extern int ever_lt_tbigint_bigint(const Temporal *temp, int64 i); +extern int ever_lt_temporal_temporal(const Temporal *temp1, const Temporal *temp2); +extern int ever_lt_text_ttext(const text *txt, const Temporal *temp); +extern int ever_lt_tfloat_float(const Temporal *temp, double d); +extern int ever_lt_tint_int(const Temporal *temp, int i); +extern int ever_lt_ttext_text(const Temporal *temp, const text *txt); + +extern int ever_ne_bigint_tbigint(int64 i, const Temporal *temp); +extern int ever_ne_bool_tbool(bool b, const Temporal *temp); +extern int ever_ne_float_tfloat(double d, const Temporal *temp); +extern int ever_ne_int_tint(int i, const Temporal *temp); +extern int ever_ne_tbigint_bigint(const Temporal *temp, int64 i); +extern int ever_ne_tbool_bool(const Temporal *temp, bool b); +extern int ever_ne_temporal_temporal(const Temporal *temp1, const Temporal *temp2); +extern int ever_ne_text_ttext(const text *txt, const Temporal *temp); +extern int ever_ne_tfloat_float(const Temporal *temp, double d); +extern int ever_ne_tint_int(const Temporal *temp, int i); +extern int ever_ne_ttext_text(const Temporal *temp, const text *txt); + +/*****************************************************************************/ + +/* Temporal comparison functions for temporal types */ + +extern Temporal *teq_bool_tbool(bool b, const Temporal *temp); +extern Temporal *teq_float_tfloat(double d, const Temporal *temp); +extern Temporal *teq_int_tint(int i, const Temporal *temp); +extern Temporal *teq_tbool_bool(const Temporal *temp, bool b); +extern Temporal *teq_temporal_temporal(const Temporal *temp1, const Temporal *temp2); +extern Temporal *teq_text_ttext(const text *txt, const Temporal *temp); +extern Temporal *teq_tfloat_float(const Temporal *temp, double d); +extern Temporal *teq_tint_int(const Temporal *temp, int i); +extern Temporal *teq_ttext_text(const Temporal *temp, const text *txt); +extern Temporal *tge_float_tfloat(double d, const Temporal *temp); +extern Temporal *tge_int_tint(int i, const Temporal *temp); +extern Temporal *tge_temporal_temporal(const Temporal *temp1, const Temporal *temp2); +extern Temporal *tge_text_ttext(const text *txt, const Temporal *temp); +extern Temporal *tge_tfloat_float(const Temporal *temp, double d); +extern Temporal *tge_tint_int(const Temporal *temp, int i); +extern Temporal *tge_ttext_text(const Temporal *temp, const text *txt); +extern Temporal *tgt_float_tfloat(double d, const Temporal *temp); +extern Temporal *tgt_int_tint(int i, const Temporal *temp); +extern Temporal *tgt_temporal_temporal(const Temporal *temp1, const Temporal *temp2); +extern Temporal *tgt_text_ttext(const text *txt, const Temporal *temp); +extern Temporal *tgt_tfloat_float(const Temporal *temp, double d); +extern Temporal *tgt_tint_int(const Temporal *temp, int i); +extern Temporal *tgt_ttext_text(const Temporal *temp, const text *txt); +extern Temporal *tle_float_tfloat(double d, const Temporal *temp); +extern Temporal *tle_int_tint(int i, const Temporal *temp); +extern Temporal *tle_temporal_temporal(const Temporal *temp1, const Temporal *temp2); +extern Temporal *tle_text_ttext(const text *txt, const Temporal *temp); +extern Temporal *tle_tfloat_float(const Temporal *temp, double d); +extern Temporal *tle_tint_int(const Temporal *temp, int i); +extern Temporal *tle_ttext_text(const Temporal *temp, const text *txt); +extern Temporal *tlt_float_tfloat(double d, const Temporal *temp); +extern Temporal *tlt_int_tint(int i, const Temporal *temp); +extern Temporal *tlt_temporal_temporal(const Temporal *temp1, const Temporal *temp2); +extern Temporal *tlt_text_ttext(const text *txt, const Temporal *temp); +extern Temporal *tlt_tfloat_float(const Temporal *temp, double d); +extern Temporal *tlt_tint_int(const Temporal *temp, int i); +extern Temporal *tlt_ttext_text(const Temporal *temp, const text *txt); +extern Temporal *tne_bool_tbool(bool b, const Temporal *temp); +extern Temporal *tne_float_tfloat(double d, const Temporal *temp); +extern Temporal *tne_int_tint(int i, const Temporal *temp); +extern Temporal *tne_tbool_bool(const Temporal *temp, bool b); +extern Temporal *tne_temporal_temporal(const Temporal *temp1, const Temporal *temp2); +extern Temporal *tne_text_ttext(const text *txt, const Temporal *temp); +extern Temporal *tne_tfloat_float(const Temporal *temp, double d); +extern Temporal *tne_tint_int(const Temporal *temp, int i); +extern Temporal *tne_ttext_text(const Temporal *temp, const text *txt); + +/***************************************************************************** + * Bounding box functions for temporal types + *****************************************************************************/ + +/* Split functions */ + +extern Span *temporal_spans(const Temporal *temp, int *count); +extern Span *temporal_split_each_n_spans(const Temporal *temp, int elem_count, int *count); +extern Span *temporal_split_n_spans(const Temporal *temp, int span_count, int *count); +extern TBox *tnumber_split_each_n_tboxes(const Temporal *temp, int elem_count, int *count); +extern TBox *tnumber_split_n_tboxes(const Temporal *temp, int box_count, int *count); +extern TBox *tnumber_tboxes(const Temporal *temp, int *count); + +/* Topological functions for temporal types */ + +extern bool adjacent_numspan_tnumber(const Span *s, const Temporal *temp); +extern bool adjacent_tbox_tnumber(const TBox *box, const Temporal *temp); +extern bool adjacent_temporal_temporal(const Temporal *temp1, const Temporal *temp2); +extern bool adjacent_temporal_tstzspan(const Temporal *temp, const Span *s); +extern bool adjacent_tnumber_numspan(const Temporal *temp, const Span *s); +extern bool adjacent_tnumber_tbox(const Temporal *temp, const TBox *box); +extern bool adjacent_tnumber_tnumber(const Temporal *temp1, const Temporal *temp2); +extern bool adjacent_tstzspan_temporal(const Span *s, const Temporal *temp); +extern bool contained_numspan_tnumber(const Span *s, const Temporal *temp); +extern bool contained_tbox_tnumber(const TBox *box, const Temporal *temp); +extern bool contained_temporal_temporal(const Temporal *temp1, const Temporal *temp2); +extern bool contained_temporal_tstzspan(const Temporal *temp, const Span *s); +extern bool contained_tnumber_numspan(const Temporal *temp, const Span *s); +extern bool contained_tnumber_tbox(const Temporal *temp, const TBox *box); +extern bool contained_tnumber_tnumber(const Temporal *temp1, const Temporal *temp2); +extern bool contained_tstzspan_temporal(const Span *s, const Temporal *temp); +extern bool contains_numspan_tnumber(const Span *s, const Temporal *temp); +extern bool contains_tbox_tnumber(const TBox *box, const Temporal *temp); +extern bool contains_temporal_tstzspan(const Temporal *temp, const Span *s); +extern bool contains_temporal_temporal(const Temporal *temp1, const Temporal *temp2); +extern bool contains_tnumber_numspan(const Temporal *temp, const Span *s); +extern bool contains_tnumber_tbox(const Temporal *temp, const TBox *box); +extern bool contains_tnumber_tnumber(const Temporal *temp1, const Temporal *temp2); +extern bool contains_tstzspan_temporal(const Span *s, const Temporal *temp); +extern bool overlaps_numspan_tnumber(const Span *s, const Temporal *temp); +extern bool overlaps_tbox_tnumber(const TBox *box, const Temporal *temp); +extern bool overlaps_temporal_temporal(const Temporal *temp1, const Temporal *temp2); +extern bool overlaps_temporal_tstzspan(const Temporal *temp, const Span *s); +extern bool overlaps_tnumber_numspan(const Temporal *temp, const Span *s); +extern bool overlaps_tnumber_tbox(const Temporal *temp, const TBox *box); +extern bool overlaps_tnumber_tnumber(const Temporal *temp1, const Temporal *temp2); +extern bool overlaps_tstzspan_temporal(const Span *s, const Temporal *temp); +extern bool same_numspan_tnumber(const Span *s, const Temporal *temp); +extern bool same_tbox_tnumber(const TBox *box, const Temporal *temp); +extern bool same_temporal_temporal(const Temporal *temp1, const Temporal *temp2); +extern bool same_temporal_tstzspan(const Temporal *temp, const Span *s); +extern bool same_tnumber_numspan(const Temporal *temp, const Span *s); +extern bool same_tnumber_tbox(const Temporal *temp, const TBox *box); +extern bool same_tnumber_tnumber(const Temporal *temp1, const Temporal *temp2); +extern bool same_tstzspan_temporal(const Span *s, const Temporal *temp); + +/*****************************************************************************/ + +/* Position functions for temporal types */ + +extern bool after_tbox_tnumber(const TBox *box, const Temporal *temp); +extern bool after_temporal_tstzspan(const Temporal *temp, const Span *s); +extern bool after_temporal_temporal(const Temporal *temp1, const Temporal *temp2); +extern bool after_tnumber_tbox(const Temporal *temp, const TBox *box); +extern bool after_tnumber_tnumber(const Temporal *temp1, const Temporal *temp2); +extern bool after_tstzspan_temporal(const Span *s, const Temporal *temp); +extern bool before_tbox_tnumber(const TBox *box, const Temporal *temp); +extern bool before_temporal_tstzspan(const Temporal *temp, const Span *s); +extern bool before_temporal_temporal(const Temporal *temp1, const Temporal *temp2); +extern bool before_tnumber_tbox(const Temporal *temp, const TBox *box); +extern bool before_tnumber_tnumber(const Temporal *temp1, const Temporal *temp2); +extern bool before_tstzspan_temporal(const Span *s, const Temporal *temp); +extern bool left_tbox_tnumber(const TBox *box, const Temporal *temp); +extern bool left_numspan_tnumber(const Span *s, const Temporal *temp); +extern bool left_tnumber_numspan(const Temporal *temp, const Span *s); +extern bool left_tnumber_tbox(const Temporal *temp, const TBox *box); +extern bool left_tnumber_tnumber(const Temporal *temp1, const Temporal *temp2); +extern bool overafter_tbox_tnumber(const TBox *box, const Temporal *temp); +extern bool overafter_temporal_tstzspan(const Temporal *temp, const Span *s); +extern bool overafter_temporal_temporal(const Temporal *temp1, const Temporal *temp2); +extern bool overafter_tnumber_tbox(const Temporal *temp, const TBox *box); +extern bool overafter_tnumber_tnumber(const Temporal *temp1, const Temporal *temp2); +extern bool overafter_tstzspan_temporal(const Span *s, const Temporal *temp); +extern bool overbefore_tbox_tnumber(const TBox *box, const Temporal *temp); +extern bool overbefore_temporal_tstzspan(const Temporal *temp, const Span *s); +extern bool overbefore_temporal_temporal(const Temporal *temp1, const Temporal *temp2); +extern bool overbefore_tnumber_tbox(const Temporal *temp, const TBox *box); +extern bool overbefore_tnumber_tnumber(const Temporal *temp1, const Temporal *temp2); +extern bool overbefore_tstzspan_temporal(const Span *s, const Temporal *temp); +extern bool overleft_numspan_tnumber(const Span *s, const Temporal *temp); +extern bool overleft_tbox_tnumber(const TBox *box, const Temporal *temp); +extern bool overleft_tnumber_numspan(const Temporal *temp, const Span *s); +extern bool overleft_tnumber_tbox(const Temporal *temp, const TBox *box); +extern bool overleft_tnumber_tnumber(const Temporal *temp1, const Temporal *temp2); +extern bool overright_numspan_tnumber(const Span *s, const Temporal *temp); +extern bool overright_tbox_tnumber(const TBox *box, const Temporal *temp); +extern bool overright_tnumber_numspan(const Temporal *temp, const Span *s); +extern bool overright_tnumber_tbox(const Temporal *temp, const TBox *box); +extern bool overright_tnumber_tnumber(const Temporal *temp1, const Temporal *temp2); +extern bool right_numspan_tnumber(const Span *s, const Temporal *temp); +extern bool right_tbox_tnumber(const TBox *box, const Temporal *temp); +extern bool right_tnumber_numspan(const Temporal *temp, const Span *s); +extern bool right_tnumber_tbox(const Temporal *temp, const TBox *box); +extern bool right_tnumber_tnumber(const Temporal *temp1, const Temporal *temp2); + +/***************************************************************************** + * Boolean functions for temporal types + *****************************************************************************/ + +extern Temporal *tand_bool_tbool(bool b, const Temporal *temp); +extern Temporal *tand_tbool_bool(const Temporal *temp, bool b); +extern Temporal *tand_tbool_tbool(const Temporal *temp1, const Temporal *temp2); +extern SpanSet *tbool_when_true(const Temporal *temp); +extern Temporal *tnot_tbool(const Temporal *temp); +extern Temporal *tor_bool_tbool(bool b, const Temporal *temp); +extern Temporal *tor_tbool_bool(const Temporal *temp, bool b); +extern Temporal *tor_tbool_tbool(const Temporal *temp1, const Temporal *temp2); + +/***************************************************************************** + * Mathematical functions for temporal types + *****************************************************************************/ + +extern Temporal *add_bigint_tbigint(int64 i, const Temporal *tnumber); +extern Temporal *add_float_tfloat(double d, const Temporal *tnumber); +extern Temporal *add_int_tint(int i, const Temporal *tnumber); +extern Temporal *add_tbigint_bigint(const Temporal *tnumber, int64 i); +extern Temporal *add_tfloat_float(const Temporal *tnumber, double d); +extern Temporal *add_tint_int(const Temporal *tnumber, int i); +extern Temporal *add_tnumber_tnumber(const Temporal *tnumber1, const Temporal *tnumber2); +extern Temporal *div_bigint_tbigint(int64 i, const Temporal *tnumber); +extern Temporal *div_float_tfloat(double d, const Temporal *tnumber); +extern Temporal *div_int_tint(int i, const Temporal *tnumber); +extern Temporal *div_tbigint_bigint(const Temporal *tnumber, int64 i); +extern Temporal *div_tfloat_float(const Temporal *tnumber, double d); +extern Temporal *div_tint_int(const Temporal *tnumber, int i); +extern Temporal *div_tnumber_tnumber(const Temporal *tnumber1, const Temporal *tnumber2); +extern Temporal *mul_bigint_tbigint(int64 i, const Temporal *tnumber); +extern Temporal *mul_float_tfloat(double d, const Temporal *tnumber); +extern Temporal *mul_int_tint(int i, const Temporal *tnumber); +extern Temporal *mul_tbigint_bigint(const Temporal *tnumber, int64 i); +extern Temporal *mul_tfloat_float(const Temporal *tnumber, double d); +extern Temporal *mul_tint_int(const Temporal *tnumber, int i); +extern Temporal *mul_tnumber_tnumber(const Temporal *tnumber1, const Temporal *tnumber2); +extern Temporal *sub_bigint_tbigint(int64 i, const Temporal *tnumber); +extern Temporal *sub_float_tfloat(double d, const Temporal *tnumber); +extern Temporal *sub_int_tint(int i, const Temporal *tnumber); +extern Temporal *sub_tbigint_bigint(const Temporal *tnumber, int64 i); +extern Temporal *sub_tfloat_float(const Temporal *tnumber, double d); +extern Temporal *sub_tint_int(const Temporal *tnumber, int i); +extern Temporal *sub_tnumber_tnumber(const Temporal *tnumber1, const Temporal *tnumber2); +extern Temporal *temporal_derivative(const Temporal *temp); +extern Temporal *tfloat_exp(const Temporal *temp); +extern Temporal *tfloat_ln(const Temporal *temp); +extern Temporal *tfloat_log10(const Temporal *temp); +extern Temporal *tnumber_abs(const Temporal *temp); +extern Temporal *tnumber_trend(const Temporal *temp); +extern double float_angular_difference(double degrees1, double degrees2); +extern Temporal *tnumber_angular_difference(const Temporal *temp); +extern Temporal *tnumber_delta_value(const Temporal *temp); + +/***************************************************************************** + * Text functions for temporal types + *****************************************************************************/ + +extern Temporal *textcat_text_ttext(const text *txt, const Temporal *temp); +extern Temporal *textcat_ttext_text(const Temporal *temp, const text *txt); +extern Temporal *textcat_ttext_ttext(const Temporal *temp1, const Temporal *temp2); +extern Temporal *ttext_initcap(const Temporal *temp); +extern Temporal *ttext_upper(const Temporal *temp); +extern Temporal *ttext_lower(const Temporal *temp); + +/***************************************************************************** + * Distance functions for temporal types + *****************************************************************************/ + +extern Temporal *tdistance_tfloat_float(const Temporal *temp, double d); +extern Temporal *tdistance_tint_int(const Temporal *temp, int i); +extern Temporal *tdistance_tnumber_tnumber(const Temporal *temp1, const Temporal *temp2); +extern double nad_tboxfloat_tboxfloat(const TBox *box1, const TBox *box2); +extern int nad_tboxint_tboxint(const TBox *box1, const TBox *box2); +extern double nad_tfloat_float(const Temporal *temp, double d); +extern double nad_tfloat_tfloat(const Temporal *temp1, const Temporal *temp2); +extern double nad_tfloat_tbox(const Temporal *temp, const TBox *box); +extern int nad_tint_int(const Temporal *temp, int i); +extern int nad_tint_tbox(const Temporal *temp, const TBox *box); +extern int nad_tint_tint(const Temporal *temp1, const Temporal *temp2); + +/***************************************************************************** + * Aggregate functions for temporal types + *****************************************************************************/ + +extern SkipList *tbool_tand_transfn(SkipList *state, const Temporal *temp); +extern SkipList *tbool_tor_transfn(SkipList *state, const Temporal *temp); +extern Span *temporal_extent_transfn(Span *s, const Temporal *temp); +extern SkipList *temporal_merge_transfn(SkipList *state, const Temporal *temp); +extern SkipList *temporal_merge_combinefn(SkipList *state1, SkipList *state2); +extern Temporal *temporal_tagg_finalfn(SkipList *state); +extern SkipList *temporal_tcount_transfn(SkipList *state, const Temporal *temp); +extern SkipList *tfloat_tmax_transfn(SkipList *state, const Temporal *temp); +extern SkipList *tfloat_tmin_transfn(SkipList *state, const Temporal *temp); +extern SkipList *tfloat_tsum_transfn(SkipList *state, const Temporal *temp); +extern SkipList *tfloat_wmax_transfn(SkipList *state, const Temporal *temp, const Interval *interv); +extern SkipList *tfloat_wmin_transfn(SkipList *state, const Temporal *temp, const Interval *interv); +extern SkipList *tfloat_wsum_transfn(SkipList *state, const Temporal *temp, const Interval *interv); +extern SkipList *timestamptz_tcount_transfn(SkipList *state, TimestampTz t); +extern SkipList *tint_tmax_transfn(SkipList *state, const Temporal *temp); +extern SkipList *tint_tmin_transfn(SkipList *state, const Temporal *temp); +extern SkipList *tint_tsum_transfn(SkipList *state, const Temporal *temp); +extern SkipList *tint_wmax_transfn(SkipList *state, const Temporal *temp, const Interval *interv); +extern SkipList *tint_wmin_transfn(SkipList *state, const Temporal *temp, const Interval *interv); +extern SkipList *tint_wsum_transfn(SkipList *state, const Temporal *temp, const Interval *interv); +extern TBox *tnumber_extent_transfn(TBox *box, const Temporal *temp); +extern Temporal *tnumber_tavg_finalfn(SkipList *state); +extern SkipList *tnumber_tavg_transfn(SkipList *state, const Temporal *temp); +extern SkipList *tnumber_wavg_transfn(SkipList *state, const Temporal *temp, const Interval *interv); +extern SkipList *tstzset_tcount_transfn(SkipList *state, const Set *s); +extern SkipList *tstzspan_tcount_transfn(SkipList *state, const Span *s); +extern SkipList *tstzspanset_tcount_transfn(SkipList *state, const SpanSet *ss); +extern SkipList *ttext_tmax_transfn(SkipList *state, const Temporal *temp); +extern SkipList *ttext_tmin_transfn(SkipList *state, const Temporal *temp); + +/***************************************************************************** + * Analytics functions for temporal types + *****************************************************************************/ + +/* Simplification functions for temporal types */ + +extern Temporal *temporal_simplify_dp(const Temporal *temp, double eps_dist, bool synchronized); +extern Temporal *temporal_simplify_max_dist(const Temporal *temp, double eps_dist, bool synchronized); +extern Temporal *temporal_simplify_min_dist(const Temporal *temp, double dist); +extern Temporal *temporal_simplify_min_tdelta(const Temporal *temp, const Interval *mint); + +/*****************************************************************************/ + +/* Reduction functions for temporal types */ + +extern Temporal *temporal_tprecision(const Temporal *temp, const Interval *duration, TimestampTz origin); +extern Temporal *temporal_tsample(const Temporal *temp, const Interval *duration, TimestampTz origin, interpType interp); + +/*****************************************************************************/ + +/* Similarity functions for temporal types */ + +extern double temporal_dyntimewarp_distance(const Temporal *temp1, const Temporal *temp2); +extern Match *temporal_dyntimewarp_path(const Temporal *temp1, const Temporal *temp2, int *count); +extern double temporal_frechet_distance(const Temporal *temp1, const Temporal *temp2); +extern Match *temporal_frechet_path(const Temporal *temp1, const Temporal *temp2, int *count); +extern double temporal_hausdorff_distance(const Temporal *temp1, const Temporal *temp2); + +/*****************************************************************************/ + +/* Tile functions for temporal types */ + +extern Span *temporal_time_bins(const Temporal *temp, const Interval *duration, TimestampTz origin, int *count); +extern Temporal **temporal_time_split(const Temporal *temp, const Interval *duration, TimestampTz torigin, TimestampTz **time_bins, int *count); +extern TBox *tfloat_time_boxes(const Temporal *temp, const Interval *duration, TimestampTz torigin, int *count); +extern Span *tfloat_value_bins(const Temporal *temp, double vsize, double vorigin, int *count); +extern TBox *tfloat_value_boxes(const Temporal *temp, double vsize, double vorigin, int *count); +extern Temporal **tfloat_value_split(const Temporal *temp, double size, double origin, double **bins, int *count); +extern TBox *tfloat_value_time_boxes(const Temporal *temp, double vsize, const Interval *duration, double vorigin, TimestampTz torigin, int *count); +extern 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); +extern TBox *tfloatbox_time_tiles(const TBox *box, const Interval *duration, TimestampTz torigin, int *count); +extern TBox *tfloatbox_value_tiles(const TBox *box, double vsize, double vorigin, int *count); +extern TBox *tfloatbox_value_time_tiles(const TBox *box, double vsize, const Interval *duration, double vorigin, TimestampTz torigin, int *count); +extern TBox *tint_time_boxes(const Temporal *temp, const Interval *duration, TimestampTz torigin, int *count); +extern Span *tint_value_bins(const Temporal *temp, int vsize, int vorigin, int *count); +extern TBox *tint_value_boxes(const Temporal *temp, int vsize, int vorigin, int *count); +extern Temporal **tint_value_split(const Temporal *temp, int vsize, int vorigin, int **bins, int *count); +extern TBox *tint_value_time_boxes(const Temporal *temp, int vsize, const Interval *duration, int vorigin, TimestampTz torigin, int *count); +extern 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); +extern TBox *tintbox_time_tiles(const TBox *box, const Interval *duration, TimestampTz torigin, int *count); +extern TBox *tintbox_value_tiles(const TBox *box, int xsize, int xorigin, int *count); +extern TBox *tintbox_value_time_tiles(const TBox *box, int xsize, const Interval *duration, int xorigin, TimestampTz torigin, int *count); + +/*****************************************************************************/ + +extern void meos_initialize_noexit_error_handler(void); + +#endif diff --git a/jmeos-core/tools/parity/meos-ref/meos/include/meos_cbuffer.h b/jmeos-core/tools/parity/meos-ref/meos/include/meos_cbuffer.h new file mode 100644 index 00000000..1d4b6037 --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/meos/include/meos_cbuffer.h @@ -0,0 +1,392 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @brief API of the Mobility Engine Open Source (MEOS) library. + */ + +#ifndef __MEOS_CBUFFER_H__ +#define __MEOS_CBUFFER_H__ + +/* C */ +#include +#include + +/* MEOS */ +#include +#include + +/***************************************************************************** + * Type definitions + *****************************************************************************/ + +/* Opaque structure to represent circular buffers */ + +typedef struct Cbuffer Cbuffer; + +/***************************************************************************** + * Validity macros and functions + *****************************************************************************/ + +/** + * @brief Macro for ensuring that the set passed as argument is a circular + * buffer set + */ +#if MEOS + #define VALIDATE_CBUFFERSET(set, ret) \ + do { \ + if (! ensure_not_null((void *) (set)) || \ + ! ensure_set_isof_type((set), T_CBUFFERSET) ) \ + return (ret); \ + } while (0) +#else + #define VALIDATE_CBUFFERSET(set, ret) \ + do { \ + assert(set); \ + assert((set)->settype == T_CBUFFERSET); \ + } while (0) +#endif /* MEOS */ + +/** + * @brief Macro for ensuring that the temporal value passed as argument is a + * temporal circular buffer + * @note The macro works for the Temporal type and its subtypes TInstant, + * TSequence, and TSequenceSet + */ +#if MEOS + #define VALIDATE_TCBUFFER(temp, ret) \ + do { \ + if (! ensure_not_null((void *) (temp)) || \ + ! ensure_temporal_isof_type((Temporal *) (temp), T_TCBUFFER) ) \ + return (ret); \ + } while (0) +#else + #define VALIDATE_TCBUFFER(temp, ret) \ + do { \ + assert(temp); \ + assert(((Temporal *) (temp))->temptype == T_TCBUFFER); \ + } while (0) +#endif /* MEOS */ + +/****************************************************************************** + * Functions for circular buffers + ******************************************************************************/ + +/* Input and output functions */ + +extern char *cbuffer_as_ewkt(const Cbuffer *cb, int maxdd); +extern char *cbuffer_as_hexwkb(const Cbuffer *cb, uint8_t variant, size_t *size); +extern char *cbuffer_as_text(const Cbuffer *cb, int maxdd); +extern uint8_t *cbuffer_as_wkb(const Cbuffer *cb, uint8_t variant, size_t *size_out); +extern Cbuffer *cbuffer_from_hexwkb(const char *hexwkb); +extern Cbuffer *cbuffer_from_wkb(const uint8_t *wkb, size_t size); +extern Cbuffer *cbuffer_in(const char *str); +extern char *cbuffer_out(const Cbuffer *cb, int maxdd); + +/* Constructor functions */ + +extern Cbuffer *cbuffer_copy(const Cbuffer *cb); +extern Cbuffer *cbuffer_make(const GSERIALIZED *point, double radius); + +/* Conversion functions */ + +extern GSERIALIZED *cbuffer_to_geom(const Cbuffer *cb); +extern STBox *cbuffer_to_stbox(const Cbuffer *cb); +extern GSERIALIZED *cbufferarr_to_geom(const Cbuffer **cbarr, int count); +extern Cbuffer *geom_to_cbuffer(const GSERIALIZED *gs); + +/* Accessor functions */ + +extern uint32 cbuffer_hash(const Cbuffer *cb); +extern uint64 cbuffer_hash_extended(const Cbuffer *cb, uint64 seed); +extern GSERIALIZED *cbuffer_point(const Cbuffer *cb); +extern double cbuffer_radius(const Cbuffer *cb); + +/* Transformation functions */ + +extern Cbuffer *cbuffer_round(const Cbuffer *cb, int maxdd); +extern Cbuffer **cbufferarr_round(const Cbuffer **cbarr, int count, int maxdd); + +/* Spatial reference system functions */ + +extern void cbuffer_set_srid(Cbuffer *cb, int32_t srid); +extern int32_t cbuffer_srid(const Cbuffer *cb); +extern Cbuffer *cbuffer_transform(const Cbuffer *cb, int32_t srid); +extern Cbuffer *cbuffer_transform_pipeline(const Cbuffer *cb, const char *pipelinestr, int32_t srid, bool is_forward); + +/* Spatial relationship functions */ + +extern int contains_cbuffer_cbuffer(const Cbuffer *cb1, const Cbuffer *cb2); +extern int covers_cbuffer_cbuffer(const Cbuffer *cb1, const Cbuffer *cb2); +extern int disjoint_cbuffer_cbuffer(const Cbuffer *cb1, const Cbuffer *cb2); +extern int dwithin_cbuffer_cbuffer(const Cbuffer *cb1, const Cbuffer *cb2, double dist); +extern int intersects_cbuffer_cbuffer(const Cbuffer *cb1, const Cbuffer *cb2); +extern int touches_cbuffer_cbuffer(const Cbuffer *cb1, const Cbuffer *cb2); + +/* Bounding box functions */ + +extern STBox *cbuffer_tstzspan_to_stbox(const Cbuffer *cb, const Span *s); +extern STBox *cbuffer_timestamptz_to_stbox(const Cbuffer *cb, TimestampTz t); + +/* Distance functions */ + +extern double distance_cbuffer_cbuffer(const Cbuffer *cb1, const Cbuffer *cb2); +extern double distance_cbuffer_geo(const Cbuffer *cb, const GSERIALIZED *gs); +extern double distance_cbuffer_stbox(const Cbuffer *cb, const STBox *box); +extern double nad_cbuffer_stbox(const Cbuffer *cb, const STBox *box); + +/* Comparison functions */ + +extern int cbuffer_cmp(const Cbuffer *cb1, const Cbuffer *cb2); +extern bool cbuffer_eq(const Cbuffer *cb1, const Cbuffer *cb2); +extern bool cbuffer_ge(const Cbuffer *cb1, const Cbuffer *cb2); +extern bool cbuffer_gt(const Cbuffer *cb1, const Cbuffer *cb2); +extern bool cbuffer_le(const Cbuffer *cb1, const Cbuffer *cb2); +extern bool cbuffer_lt(const Cbuffer *cb1, const Cbuffer *cb2); +extern bool cbuffer_ne(const Cbuffer *cb1, const Cbuffer *cb2); +extern bool cbuffer_nsame(const Cbuffer *cb1, const Cbuffer *cb2); +extern bool cbuffer_same(const Cbuffer *cb1, const Cbuffer *cb2); + +/****************************************************************************** + * Functions for circular buffer sets + ******************************************************************************/ + +/* Input and output functions */ + +extern Set *cbufferset_in(const char *str); +extern char *cbufferset_out(const Set *s, int maxdd); + +/* Constructor functions */ + +extern Set *cbufferset_make(Cbuffer **values, int count); + +/* Conversion functions */ + +extern Set *cbuffer_to_set(const Cbuffer *cb); + +/* Accessor functions */ + +extern Cbuffer *cbufferset_end_value(const Set *s); +extern Cbuffer *cbufferset_start_value(const Set *s); +extern bool cbufferset_value_n(const Set *s, int n, Cbuffer **result); +extern Cbuffer **cbufferset_values(const Set *s); + +/* Set operations */ + +extern Set *cbuffer_union_transfn(Set *state, const Cbuffer *cb); +extern bool contained_cbuffer_set(const Cbuffer *cb, const Set *s); +extern bool contains_set_cbuffer(const Set *s, Cbuffer *cb); +extern Set *intersection_cbuffer_set(const Cbuffer *cb, const Set *s); +extern Set *intersection_set_cbuffer(const Set *s, const Cbuffer *cb); +extern Set *minus_cbuffer_set(const Cbuffer *cb, const Set *s); +extern Set *minus_set_cbuffer(const Set *s, const Cbuffer *cb); +extern Set *union_cbuffer_set(const Cbuffer *cb, const Set *s); +extern Set *union_set_cbuffer(const Set *s, const Cbuffer *cb); + +/*===========================================================================* + * Functions for temporal types + *===========================================================================*/ + +/***************************************************************************** + * Input/output functions + *****************************************************************************/ + +extern Temporal *tcbuffer_in(const char *str); +extern Temporal *tcbuffer_from_mfjson(const char *mfjson); + +/***************************************************************************** + * Constructor functions + *****************************************************************************/ + +extern Temporal *tcbuffer_make(const Temporal *tpoint, const Temporal *tfloat); + +/***************************************************************************** + * Accessor functions + *****************************************************************************/ + +extern Set *tcbuffer_points(const Temporal *temp); +extern Set *tcbuffer_radius(const Temporal *temp); +extern GSERIALIZED *tcbuffer_trav_area(const Temporal *temp, bool merge_union); + +/***************************************************************************** + * Conversion functions + *****************************************************************************/ + +extern Temporal *tcbuffer_to_tfloat(const Temporal *temp); +extern Temporal *tcbuffer_to_tgeompoint(const Temporal *temp); +extern Temporal *tgeometry_to_tcbuffer(const Temporal *temp); + +/***************************************************************************** + * Transformation functions + *****************************************************************************/ + +extern Temporal *tcbuffer_expand(const Temporal *temp, double dist); + +/***************************************************************************** + * Restriction functions + *****************************************************************************/ + +extern Temporal *tcbuffer_at_cbuffer(const Temporal *temp, const Cbuffer *cb); +extern Temporal *tcbuffer_at_geom(const Temporal *temp, const GSERIALIZED *gs); +extern Temporal *tcbuffer_at_stbox(const Temporal *temp, const STBox *box, bool border_inc); +extern Temporal *tcbuffer_minus_cbuffer(const Temporal *temp, const Cbuffer *cb); +extern Temporal *tcbuffer_minus_geom(const Temporal *temp, const GSERIALIZED *gs); +extern Temporal *tcbuffer_minus_stbox(const Temporal *temp, const STBox *box, bool border_inc); + +/***************************************************************************** + * Distance functions + *****************************************************************************/ + +extern Temporal *tdistance_tcbuffer_cbuffer(const Temporal *temp, const Cbuffer *cb); +extern Temporal *tdistance_tcbuffer_geo(const Temporal *temp, const GSERIALIZED *gs); +extern Temporal *tdistance_tcbuffer_tcbuffer(const Temporal *temp1, const Temporal *temp2); +extern double nad_tcbuffer_cbuffer(const Temporal *temp, const Cbuffer *cb); +extern double nad_tcbuffer_geo(const Temporal *temp, const GSERIALIZED *gs); +extern double nad_tcbuffer_stbox(const Temporal *temp, const STBox *box); +extern double nad_tcbuffer_tcbuffer(const Temporal *temp1, const Temporal *temp2); +extern TInstant *nai_tcbuffer_cbuffer(const Temporal *temp, const Cbuffer *cb); +extern TInstant *nai_tcbuffer_geo(const Temporal *temp, const GSERIALIZED *gs); +extern TInstant *nai_tcbuffer_tcbuffer(const Temporal *temp1, const Temporal *temp2); +extern GSERIALIZED *shortestline_tcbuffer_cbuffer(const Temporal *temp, const Cbuffer *cb); +extern GSERIALIZED *shortestline_tcbuffer_geo(const Temporal *temp, const GSERIALIZED *gs); +extern GSERIALIZED *shortestline_tcbuffer_tcbuffer(const Temporal *temp1, const Temporal *temp2); + +/***************************************************************************** + * Comparison functions + *****************************************************************************/ + +/* Ever/always comparison functions */ + +extern int always_eq_cbuffer_tcbuffer(const Cbuffer *cb, const Temporal *temp); +extern int always_eq_tcbuffer_cbuffer(const Temporal *temp, const Cbuffer *cb); +extern int always_eq_tcbuffer_tcbuffer(const Temporal *temp1, const Temporal *temp2); +extern int always_ne_cbuffer_tcbuffer(const Cbuffer *cb, const Temporal *temp); +extern int always_ne_tcbuffer_cbuffer(const Temporal *temp, const Cbuffer *cb); +extern int always_ne_tcbuffer_tcbuffer(const Temporal *temp1, const Temporal *temp2); +extern int ever_eq_cbuffer_tcbuffer(const Cbuffer *cb, const Temporal *temp); +extern int ever_eq_tcbuffer_cbuffer(const Temporal *temp, const Cbuffer *cb); +extern int ever_eq_tcbuffer_tcbuffer(const Temporal *temp1, const Temporal *temp2); +extern int ever_ne_cbuffer_tcbuffer(const Cbuffer *cb, const Temporal *temp); +extern int ever_ne_tcbuffer_cbuffer(const Temporal *temp, const Cbuffer *cb); +extern int ever_ne_tcbuffer_tcbuffer(const Temporal *temp1, const Temporal *temp2); + +/* Temporal comparison functions */ + +extern Temporal *teq_cbuffer_tcbuffer(const Cbuffer *cb, const Temporal *temp); +extern Temporal *teq_tcbuffer_cbuffer(const Temporal *temp, const Cbuffer *cb); +extern Temporal *tne_cbuffer_tcbuffer(const Cbuffer *cb, const Temporal *temp); +extern Temporal *tne_tcbuffer_cbuffer(const Temporal *temp, const Cbuffer *cb); + +/***************************************************************************** + * Spatial relationship functions + *****************************************************************************/ + +/* Ever and always spatial relationship functions */ + +extern int acontains_cbuffer_tcbuffer(const Cbuffer *cb, const Temporal *temp); +extern int acontains_geo_tcbuffer(const GSERIALIZED *gs, const Temporal *temp); +extern int acontains_tcbuffer_cbuffer(const Temporal *temp, const Cbuffer *cb); +extern int acontains_tcbuffer_geo(const Temporal *temp, const GSERIALIZED *gs); +extern int acovers_cbuffer_tcbuffer(const Cbuffer *cb, const Temporal *temp); +extern int acovers_geo_tcbuffer(const GSERIALIZED *gs, const Temporal *temp); +extern int acovers_tcbuffer_cbuffer(const Temporal *temp, const Cbuffer *cb); +extern int acovers_tcbuffer_geo(const Temporal *temp, const GSERIALIZED *gs); +extern int adisjoint_tcbuffer_geo(const Temporal *temp, const GSERIALIZED *gs); +extern int adisjoint_tcbuffer_cbuffer(const Temporal *temp, const Cbuffer *cb); +extern int adisjoint_tcbuffer_tcbuffer(const Temporal *temp1, const Temporal *temp2); +extern int adwithin_tcbuffer_geo(const Temporal *temp, const GSERIALIZED *gs, double dist); +extern int adwithin_tcbuffer_cbuffer(const Temporal *temp, const Cbuffer *cb, double dist); +extern int adwithin_tcbuffer_tcbuffer(const Temporal *temp1, const Temporal *temp2, double dist); +extern int aintersects_tcbuffer_geo(const Temporal *temp, const GSERIALIZED *gs); +extern int aintersects_tcbuffer_cbuffer(const Temporal *temp, const Cbuffer *cb); +extern int aintersects_tcbuffer_tcbuffer(const Temporal *temp1, const Temporal *temp2); +extern int atouches_tcbuffer_geo(const Temporal *temp, const GSERIALIZED *gs); +extern int atouches_tcbuffer_cbuffer(const Temporal *temp, const Cbuffer *cb); +extern int atouches_tcbuffer_tcbuffer(const Temporal *temp1, const Temporal *temp2); +extern int econtains_cbuffer_tcbuffer(const Cbuffer *cb, const Temporal *temp); +extern int econtains_tcbuffer_cbuffer(const Temporal *temp, const Cbuffer *cb); +extern int econtains_tcbuffer_geo(const Temporal *temp, const GSERIALIZED *gs); +extern int ecovers_cbuffer_tcbuffer(const Cbuffer *cb, const Temporal *temp); +extern int ecovers_tcbuffer_cbuffer(const Temporal *temp, const Cbuffer *cb); +extern int ecovers_tcbuffer_geo(const Temporal *temp, const GSERIALIZED *gs); +extern int ecovers_tcbuffer_tcbuffer(const Temporal *temp1, const Temporal *temp2); +extern int edisjoint_tcbuffer_geo(const Temporal *temp, const GSERIALIZED *gs); +extern int edisjoint_tcbuffer_cbuffer(const Temporal *temp, const Cbuffer *cb); +extern int edwithin_tcbuffer_geo(const Temporal *temp, const GSERIALIZED *gs, double dist); +extern int edwithin_tcbuffer_cbuffer(const Temporal *temp, const Cbuffer *cb, double dist); +extern int edwithin_tcbuffer_tcbuffer(const Temporal *temp1, const Temporal *temp2, double dist); +extern int eintersects_tcbuffer_geo(const Temporal *temp, const GSERIALIZED *gs); +extern int eintersects_tcbuffer_cbuffer(const Temporal *temp, const Cbuffer *cb); +extern int eintersects_tcbuffer_tcbuffer(const Temporal *temp1, const Temporal *temp2); +extern int etouches_tcbuffer_geo(const Temporal *temp, const GSERIALIZED *gs); +extern int etouches_tcbuffer_cbuffer(const Temporal *temp, const Cbuffer *cb); +extern int etouches_tcbuffer_tcbuffer(const Temporal *temp1, const Temporal *temp2); + +/*****************************************************************************/ + +/* Spatiotemporal relationship functions */ + +extern Temporal *tcontains_cbuffer_tcbuffer(const Cbuffer *cb, const Temporal *temp); +extern Temporal *tcontains_geo_tcbuffer(const GSERIALIZED *gs, const Temporal *temp); +extern Temporal *tcontains_tcbuffer_geo(const Temporal *temp, const GSERIALIZED *gs); +extern Temporal *tcontains_tcbuffer_cbuffer(const Temporal *temp, const Cbuffer *cb); +extern Temporal *tcontains_tcbuffer_tcbuffer(const Temporal *temp1, const Temporal *temp2); +extern Temporal *tcovers_cbuffer_tcbuffer(const Cbuffer *cb, const Temporal *temp); +extern Temporal *tcovers_geo_tcbuffer(const GSERIALIZED *gs, const Temporal *temp); +extern Temporal *tcovers_tcbuffer_geo(const Temporal *temp, const GSERIALIZED *gs); +extern Temporal *tcovers_tcbuffer_cbuffer(const Temporal *temp, const Cbuffer *cb); +extern Temporal *tcovers_tcbuffer_tcbuffer(const Temporal *temp1, const Temporal *temp2); +extern Temporal *tdwithin_geo_tcbuffer(const GSERIALIZED *gs, const Temporal *temp, double dist); +extern Temporal *tdwithin_tcbuffer_geo(const Temporal *temp, const GSERIALIZED *gs, double dist); +extern Temporal *tdwithin_tcbuffer_cbuffer(const Temporal *temp, const Cbuffer *cb, double dist); +extern Temporal *tdwithin_tcbuffer_tcbuffer(const Temporal *temp1, const Temporal *temp2, double dist); +extern Temporal *tdisjoint_cbuffer_tcbuffer(const Cbuffer *cb, const Temporal *temp); +extern Temporal *tdisjoint_geo_tcbuffer(const GSERIALIZED *gs, const Temporal *temp); +extern Temporal *tdisjoint_tcbuffer_geo(const Temporal *temp, const GSERIALIZED *gs); +extern Temporal *tdisjoint_tcbuffer_cbuffer(const Temporal *temp, const Cbuffer *cb); +extern Temporal *tdisjoint_tcbuffer_tcbuffer(const Temporal *temp1, const Temporal *temp2); +extern Temporal *tintersects_cbuffer_tcbuffer(const Cbuffer *cb, const Temporal *temp); +extern Temporal *tintersects_geo_tcbuffer(const GSERIALIZED *gs, const Temporal *temp); +extern Temporal *tintersects_tcbuffer_geo(const Temporal *temp, const GSERIALIZED *gs); +extern Temporal *tintersects_tcbuffer_cbuffer(const Temporal *temp, const Cbuffer *cb); +extern Temporal *tintersects_tcbuffer_tcbuffer(const Temporal *temp1, const Temporal *temp2); +extern Temporal *ttouches_geo_tcbuffer(const GSERIALIZED *gs, const Temporal *temp); +extern Temporal *ttouches_tcbuffer_geo(const Temporal *temp, const GSERIALIZED *gs); +extern Temporal *ttouches_cbuffer_tcbuffer(const Cbuffer *cb, const Temporal *temp); +extern Temporal *ttouches_tcbuffer_cbuffer(const Temporal *temp, const Cbuffer *cb); +extern Temporal *ttouches_tcbuffer_tcbuffer(const Temporal *temp1, const Temporal *temp2); + +/*****************************************************************************/ + +#endif /* __MEOS_CBUFFER_H__ */ +extern int acovers_cbuffer_tcbuffer(const Cbuffer *cb, const Temporal *temp); +extern int acovers_geo_tcbuffer(const GSERIALIZED *gs, const Temporal *temp); +extern int acovers_tcbuffer_cbuffer(const Temporal *temp, const Cbuffer *cb); +extern int acovers_tcbuffer_geo(const Temporal *temp, const GSERIALIZED *gs); +extern int acovers_tcbuffer_tcbuffer(const Temporal *temp1, const Temporal *temp2); diff --git a/jmeos-core/tools/parity/meos-ref/meos/include/meos_geo.h b/jmeos-core/tools/parity/meos-ref/meos/include/meos_geo.h new file mode 100644 index 00000000..7d543851 --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/meos/include/meos_geo.h @@ -0,0 +1,900 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @brief API of the Mobility Engine Open Source (MEOS) library. + */ + +#ifndef __MEOS_GEO_H__ +#define __MEOS_GEO_H__ + +/* C */ +#include +#include + +/* PostGIS */ +#include +/* MEOS */ +#include + +/***************************************************************************** + * Type definitions + *****************************************************************************/ + +/** + * @brief Enumeration that defines the spatial relationships for which a call + * to GEOS is made. + */ +typedef enum +{ + INTERSECTS = 0, + CONTAINS = 1, + TOUCHES = 2, + COVERS = 3, +} spatialRel; + +/***************************************************************************** + * Validity macros + *****************************************************************************/ + +/** + * @brief Macro ensuring that a set is a geometry set + */ +#if MEOS + #define VALIDATE_GEOMSET(set, ret) \ + do { \ + if (! ensure_not_null((void *) (set)) || \ + ! ensure_set_isof_type(set, T_GEOMSET) ) \ + return (ret); \ + } while (0) +#else + #define VALIDATE_GEOMSET(set, ret) \ + do { \ + assert(temp); \ + assert((set)->settype == T_GEOMSET); \ + } while (0) +#endif /* MEOS */ + +/** + * @brief Macro ensuring that a set is a geography set + */ +#if MEOS + #define VALIDATE_GEOGSET(set, ret) ( \ + do { \ + if (! ensure_not_null((void *) (set)) || \ + ! ensure_set_isof_type(set, T_GEOGSET) ) \ + return (ret); \ + } while (0) +#else + #define VALIDATE_GEOGSET(set, ret) \ + do { \ + assert(temp); \ + assert((set)->settype == T_GEOGSET); \ + } while (0) +#endif /* MEOS */ + +/** + * @brief Macro ensuring that a set is of a geometry or geography set + */ +#if MEOS + #define VALIDATE_GEOSET(set, ret) \ + do { \ + if (! ensure_not_null((void *) (set)) || \ + ! ensure_geoset_type((set)->settype) ) \ + return (ret); \ + } while (0) +#else + #define VALIDATE_GEOSET(set, ret) \ + do { \ + assert(temp); \ + assert(geoset_type((set)->settype); \ + } while (0) +#endif /* MEOS */ + +/** + * @brief Macro ensuring that a set is of a spatial set + */ +#if MEOS + #define VALIDATE_SPATIALSET(set, ret) \ + do { \ + if (! ensure_not_null((void *) (set)) || \ + ! ensure_spatialset_type((set)->settype) ) \ + return (ret); \ + } while (0) +#else + #define VALIDATE_SPATIALSET(set, ret) \ + do { \ + assert(set); \ + assert(spatialset_type((set)->settype)); \ + } while (0) +#endif /* MEOS */ + +/*****************************************************************************/ + +/** + * @brief Macro ensuring that a temporal value is a temporal geometry + * @note The macro works for the Temporal type and its subtypes TInstant, + * TSequence, and TSequenceSet + */ +#if MEOS + #define VALIDATE_TGEOMETRY(temp, ret) \ + do { \ + if (! ensure_not_null((void *) (temp)) || \ + ! ensure_temporal_isof_type((Temporal *) (temp), T_TGEOMETRY) ) \ + return (ret); \ + } while (0) +#else + #define VALIDATE_TGEOMETRY(temp, ret) \ + do { \ + assert(temp); \ + assert((temp)->temptype == T_TGEOMETRY); \ + } while (0) +#endif /* MEOS */ + +/** + * @brief Macro ensuring that a temporal value is a temporal geography + * @note The macro works for the Temporal type and its subtypes TInstant, + * TSequence, and TSequenceSet + */ +#if MEOS + #define VALIDATE_TGEOGRAPHY(temp, ret) \ + do { \ + if (! ensure_not_null((void *) (temp)) || \ + ! ensure_temporal_isof_type((Temporal *) (temp), T_TGEOGRAPHY) ) \ + return (ret); \ + } while (0) +#else + #define VALIDATE_TGEOGRAPHY(temp, ret) \ + do { \ + assert(temp); \ + assert((temp)->temptype == T_TGEOGRAPHY); \ + } while (0) +#endif /* MEOS */ + +/** + * @brief Macro ensuring that a temporal value is a temporal geometry point + * @note The macro works for the Temporal type and its subtypes TInstant, + * TSequence, and TSequenceSet + */ +#if MEOS + #define VALIDATE_TGEOMPOINT(temp, ret) \ + do { \ + if (! ensure_not_null((void *) (temp)) || \ + ! ensure_temporal_isof_type((Temporal *) (temp), T_TGEOMPOINT) ) \ + return (ret); \ + } while (0) +#else + #define VALIDATE_TGEOMPOINT(temp, ret) \ + do { \ + assert(temp); \ + assert((temp)->temptype == T_TGEOMPOINT); \ + } while (0) +#endif /* MEOS */ + +/** + * @brief Macro ensuring that a temporal value is a temporal geography point + * @note The macro works for the Temporal type and its subtypes TInstant, + * TSequence, and TSequenceSet + */ +#if MEOS + #define VALIDATE_TGEOGPOINT(temp, ret) \ + do { \ + if (! ensure_not_null((void *) (temp)) || \ + ! ensure_temporal_isof_type((Temporal *) (temp), T_TGEOGPOINT) ) \ + return (ret); \ + } while (0) +#else + #define VALIDATE_TGEOGPOINT(temp, ret) \ + do { \ + assert(temp); \ + assert((temp)->temptype == T_TGEOGPOINT); \ + } while (0) +#endif /* MEOS */ + +/** + * @brief Macro ensuring that a temporal value is a temporal geometry or + * geography + * @note The macro works for the Temporal type and its subtypes TInstant, + * TSequence, and TSequenceSet + */ +#if MEOS + #define VALIDATE_TGEO(temp, ret) \ + do { \ + if (! ensure_not_null((void *) (temp)) || \ + ! ensure_tgeo_type_all(((Temporal *) (temp))->temptype) ) \ + return (ret); \ + } while (0) +#else + #define VALIDATE_TGEO(temp, ret) \ + do { \ + assert(temp); \ + assert(tgeo_type_all(((Temporal *) (temp))->temptype)); \ + } while (0) +#endif /* MEOS */ + +/** + * @brief Macro ensuring that a temporal value is a temporal geometry + * @note The macro works for the Temporal type and its subtypes TInstant, + * TSequence, and TSequenceSet + */ +#if MEOS + #define VALIDATE_TGEOM(temp, ret) \ + do { \ + if (! ensure_not_null((void *) (temp)) || \ + ! ensure_tgeometry_type(((Temporal *) (temp))->temptype) ) \ + return (ret); \ + } while (0) +#else + #define VALIDATE_TGEOM(temp, ret) \ + do { \ + assert(temp); \ + assert(tgeometry_type(((Temporal *) (temp))->temptype)); \ + } while (0) +#endif /* MEOS */ + +/** + * @brief Macro ensuring that a temporal value is of a temporal geography + * @note The macro works for the Temporal type and its subtypes TInstant, + * TSequence, and TSequenceSet + */ +#if MEOS + #define VALIDATE_TGEOG(temp, ret) \ + do { \ + if (! ensure_not_null((void *) (temp)) || \ + ! ensure_tgeodetic_type(((Temporal *) (temp))->temptype) ) \ + return (ret); \ + } while (0) +#else + #define VALIDATE_TGEOG(temp, ret) \ + do { \ + assert(temp); \ + assert(tgeodetic_type(((Temporal *) (temp))->temptype)); \ + } while (0) +#endif /* MEOS */ + +/** + * @brief Macro ensuring that a temporal value is of a temporal + * geometry/geography point + * @note The macro works for the Temporal type and its subtypes TInstant, + * TSequence, and TSequenceSet + */ +#if MEOS + #define VALIDATE_TPOINT(temp, ret) \ + do { \ + if (! ensure_not_null((void *) (temp)) || \ + ! ensure_tpoint_type(((Temporal *) (temp))->temptype) ) \ + return (ret); \ + } while (0) +#else + #define VALIDATE_TPOINT(temp, ret) \ + do { \ + assert(temp); \ + assert(tpoint_type(((Temporal *) (temp))->temptype)); \ + } while (0) +#endif /* MEOS */ + +/** + * @brief Macro ensuring that a temporal value is of a spatiotemporal type + * @note The macro works for the Temporal type and its subtypes TInstant, + * TSequence, and TSequenceSet + */ +#if MEOS + #define VALIDATE_TSPATIAL(temp, ret) \ + do { \ + if (! ensure_not_null((void *) (temp)) || \ + ! ensure_tspatial_type(((Temporal *) (temp))->temptype) ) \ + return (ret); \ + } while (0) +#else + #define VALIDATE_TSPATIAL(temp, ret) \ + do { \ + assert(temp); \ + assert(tspatial_type(((Temporal *) (temp))->temptype)); \ + } while (0) +#endif /* MEOS */ + +/*===========================================================================* + * Functions for static geometries + *===========================================================================*/ + +/* Input and output functions */ + +extern uint8_t *geo_as_ewkb(const GSERIALIZED *gs, const char *endian, size_t *size); +extern char *geo_as_ewkt(const GSERIALIZED *gs, int precision); +extern char *geo_as_geojson(const GSERIALIZED *gs, int option, int precision, const char *srs); +extern char *geo_as_hexewkb(const GSERIALIZED *gs, const char *endian); +extern char *geo_as_text(const GSERIALIZED *gs, int precision); +extern GSERIALIZED *geo_from_ewkb(const uint8_t *wkb, size_t wkb_size, int32 srid); +extern GSERIALIZED *geo_from_geojson(const char *geojson); +extern GSERIALIZED *geo_from_text(const char *wkt, int32_t srid); +extern char *geo_out(const GSERIALIZED *gs); +extern GSERIALIZED *geog_from_binary(const char *wkb_bytea); +extern GSERIALIZED *geog_from_hexewkb(const char *wkt); +extern GSERIALIZED *geog_in(const char *str, int32 typmod); +extern GSERIALIZED *geom_from_hexewkb(const char *wkt); +extern GSERIALIZED *geom_in(const char *str, int32 typmod); + +extern BOX3D *box3d_make(double xmin, double xmax, double ymin, double ymax, + double zmin, double zmax, int32_t srid); +extern char *box3d_out(const BOX3D *box, int maxdd); +extern GBOX *gbox_make(bool hasz, double xmin, double xmax, double ymin, + double ymax, double zmin, double zmax); +extern char *gbox_out(const GBOX *box, int maxdd); + +/* Constructor functions */ + +extern GSERIALIZED *geo_copy(const GSERIALIZED *g); +extern GSERIALIZED *geogpoint_make2d(int32_t srid, double x, double y); +extern GSERIALIZED *geogpoint_make3dz(int32_t srid, double x, double y, double z); +extern GSERIALIZED *geompoint_make2d(int32_t srid, double x, double y); +extern GSERIALIZED *geompoint_make3dz(int32_t srid, double x, double y, double z); + +/* Conversion functions */ + +extern GSERIALIZED *geom_to_geog(const GSERIALIZED *geom); +extern GSERIALIZED *geog_to_geom(const GSERIALIZED *geog); + +/* Accessor functions */ + +extern bool geo_is_empty(const GSERIALIZED *g); +extern bool geo_is_unitary(const GSERIALIZED *gs); +extern const char *geo_typename(int type); +extern double geog_area(const GSERIALIZED *g, bool use_spheroid); +extern GSERIALIZED *geog_centroid(const GSERIALIZED *g, bool use_spheroid); +extern double geog_length(const GSERIALIZED *g, bool use_spheroid); +extern double geog_perimeter(const GSERIALIZED *g, bool use_spheroid); +extern bool geom_azimuth(const GSERIALIZED *gs1, const GSERIALIZED *gs2, double *result); +extern double geom_length(const GSERIALIZED *gs); +extern double geom_perimeter(const GSERIALIZED *gs); +extern int line_numpoints(const GSERIALIZED *gs); +extern GSERIALIZED *line_point_n(const GSERIALIZED *geom, int n); + +/* Transformation functions */ + +extern GSERIALIZED *geo_reverse(const GSERIALIZED *gs); +extern GSERIALIZED *geo_round(const GSERIALIZED *gs, int maxdd); + +/* Spatial reference system functions */ + +extern GSERIALIZED *geo_set_srid(const GSERIALIZED *gs, int32_t srid); +extern int32_t geo_srid(const GSERIALIZED *gs); +extern GSERIALIZED *geo_transform(const GSERIALIZED *geom, int32_t srid_to); +extern GSERIALIZED *geo_transform_pipeline(const GSERIALIZED *gs, char *pipeline, int32_t srid_to, bool is_forward); + +/* Spatial processing functions */ + +extern GSERIALIZED *geo_collect_garray(GSERIALIZED **gsarr, int count); +extern GSERIALIZED *geo_makeline_garray(GSERIALIZED **gsarr, int count); +extern int geo_num_points(const GSERIALIZED *gs); +extern int geo_num_geos(const GSERIALIZED *gs); +extern GSERIALIZED *geo_geo_n(const GSERIALIZED *geom, int n); +extern GSERIALIZED **geo_pointarr(const GSERIALIZED *gs, int *count); +extern GSERIALIZED *geo_points(const GSERIALIZED *gs); +extern GSERIALIZED *geom_array_union(GSERIALIZED **gsarr, int count); +extern GSERIALIZED *geom_boundary(const GSERIALIZED *gs); +extern GSERIALIZED *geom_buffer(const GSERIALIZED *gs, double size, const char *params); +extern GSERIALIZED *geom_centroid(const GSERIALIZED *gs); +extern GSERIALIZED *geom_convex_hull(const GSERIALIZED *gs); +extern GSERIALIZED *geom_difference2d(const GSERIALIZED *gs1, const GSERIALIZED *gs2); +extern GSERIALIZED *geom_intersection2d(const GSERIALIZED *gs1, const GSERIALIZED *gs2); +extern GSERIALIZED *geom_intersection2d_coll(const GSERIALIZED *gs1, const GSERIALIZED *gs2); +extern GSERIALIZED *geom_min_bounding_radius(const GSERIALIZED *geom, double *radius); +extern GSERIALIZED *geom_shortestline2d(const GSERIALIZED *gs1, const GSERIALIZED *s2); +extern GSERIALIZED *geom_shortestline3d(const GSERIALIZED *gs1, const GSERIALIZED *s2); +extern GSERIALIZED *geom_unary_union(const GSERIALIZED *gs, double prec); +extern GSERIALIZED *line_interpolate_point(const GSERIALIZED *gs, double distance_fraction, bool repeat); +extern double line_locate_point(const GSERIALIZED *gs1, const GSERIALIZED *gs2); +extern GSERIALIZED *line_substring(const GSERIALIZED *gs, double from, double to); + +/* Spatial relationship functions */ + +extern bool geog_dwithin(const GSERIALIZED *g1, const GSERIALIZED *g2, double tolerance, bool use_spheroid); +extern bool geog_intersects(const GSERIALIZED *gs1, const GSERIALIZED *gs2, bool use_spheroid); +extern bool geom_contains(const GSERIALIZED *gs1, const GSERIALIZED *gs2); +extern bool geom_covers(const GSERIALIZED *gs1, const GSERIALIZED *gs2); +extern bool geom_disjoint2d(const GSERIALIZED *gs1, const GSERIALIZED *gs2); +extern bool geom_dwithin2d(const GSERIALIZED *gs1, const GSERIALIZED *gs2, double tolerance); +extern bool geom_dwithin3d(const GSERIALIZED *gs1, const GSERIALIZED *gs2, double tolerance); +extern bool geom_intersects2d(const GSERIALIZED *gs1, const GSERIALIZED *gs2); +extern bool geom_intersects3d(const GSERIALIZED *gs1, const GSERIALIZED *gs2); +extern bool geom_relate_pattern(const GSERIALIZED *gs1, const GSERIALIZED *gs2, char *patt); +extern bool geom_touches(const GSERIALIZED *gs1, const GSERIALIZED *gs2); + +/* Bounding box functions */ + +extern STBox *geo_stboxes(const GSERIALIZED *gs, int *count); +extern STBox *geo_split_each_n_stboxes(const GSERIALIZED *gs, int elem_count, int *count); +extern STBox *geo_split_n_stboxes(const GSERIALIZED *gs, int box_count, int *count); + +/* Distance functions */ + +extern double geog_distance(const GSERIALIZED *g1, const GSERIALIZED *g2); +extern double geom_distance2d(const GSERIALIZED *gs1, const GSERIALIZED *gs2); +extern double geom_distance3d(const GSERIALIZED *gs1, const GSERIALIZED *gs2); + +/* Comparison functions */ + +extern int geo_equals(const GSERIALIZED *gs1, const GSERIALIZED *gs2); +extern bool geo_same(const GSERIALIZED *gs1, const GSERIALIZED *gs2); + +/***************************************************************************** + * Functions for spatial sets + *****************************************************************************/ + +/* Input and output functions */ + +extern Set *geogset_in(const char *str); +extern Set *geomset_in(const char *str); +extern char *spatialset_as_text(const Set *set, int maxdd); +extern char *spatialset_as_ewkt(const Set *set, int maxdd); + +/* Constructor functions */ + +extern Set *geoset_make(GSERIALIZED **values, int count); + +/* Conversion functions */ + +extern Set *geo_to_set(const GSERIALIZED *gs); + +/* Accessor functions */ + +extern GSERIALIZED *geoset_end_value(const Set *s); +extern GSERIALIZED *geoset_start_value(const Set *s); +extern bool geoset_value_n(const Set *s, int n, GSERIALIZED **result); +extern GSERIALIZED **geoset_values(const Set *s); + +/* Set operations */ + +extern bool contained_geo_set(const GSERIALIZED *gs, const Set *s); +extern bool contains_set_geo(const Set *s, GSERIALIZED *gs); +extern Set *geo_union_transfn(Set *state, const GSERIALIZED *gs); +extern Set *intersection_geo_set(const GSERIALIZED *gs, const Set *s); +extern Set *intersection_set_geo(const Set *s, const GSERIALIZED *gs); +extern Set *minus_geo_set(const GSERIALIZED *gs, const Set *s); +extern Set *minus_set_geo(const Set *s, const GSERIALIZED *gs); +extern Set *union_geo_set(const GSERIALIZED *gs, const Set *s); +extern Set *union_set_geo(const Set *s, const GSERIALIZED *gs); + +/* SRID functions */ + +extern Set *spatialset_set_srid(const Set *s, int32_t srid); +extern int32_t spatialset_srid(const Set *s); +extern Set *spatialset_transform(const Set *s, int32_t srid); +extern Set *spatialset_transform_pipeline(const Set *s, const char *pipelinestr, int32_t srid, bool is_forward); + +/***************************************************************************** + * Functions for spatiotemporal boxes + *****************************************************************************/ + +/* Input/output functions */ + +extern char *stbox_as_hexwkb(const STBox *box, uint8_t variant, size_t *size); +extern uint8_t *stbox_as_wkb(const STBox *box, uint8_t variant, size_t *size_out); +extern STBox *stbox_from_hexwkb(const char *hexwkb); +extern STBox *stbox_from_wkb(const uint8_t *wkb, size_t size); +extern STBox *stbox_in(const char *str); +extern char *stbox_out(const STBox *box, int maxdd); + +/* Constructor functions */ + +extern STBox *geo_timestamptz_to_stbox(const GSERIALIZED *gs, TimestampTz t); +extern STBox *geo_tstzspan_to_stbox(const GSERIALIZED *gs, const Span *s); +extern STBox *stbox_copy(const STBox *box); +extern STBox *stbox_make(bool hasx, bool hasz, bool geodetic, int32 srid, double xmin, double xmax, double ymin, double ymax, double zmin, double zmax, const Span *s); + +/* Conversion functions */ + +extern STBox *geo_to_stbox(const GSERIALIZED *gs); +extern STBox *spatialset_to_stbox(const Set *s); +extern BOX3D *stbox_to_box3d(const STBox *box); +extern GBOX *stbox_to_gbox(const STBox *box); +extern GSERIALIZED *stbox_to_geo(const STBox *box); +extern Span *stbox_to_tstzspan(const STBox *box); +extern STBox *timestamptz_to_stbox(TimestampTz t); +extern STBox *tstzset_to_stbox(const Set *s); +extern STBox *tstzspan_to_stbox(const Span *s); +extern STBox *tstzspanset_to_stbox(const SpanSet *ss); + +/* Accessor functions */ + +extern double stbox_area(const STBox *box, bool spheroid); +extern uint32 stbox_hash(const STBox *box); +extern uint64 stbox_hash_extended(const STBox *box, uint64 seed); +extern bool stbox_hast(const STBox *box); +extern bool stbox_hasx(const STBox *box); +extern bool stbox_hasz(const STBox *box); +extern bool stbox_isgeodetic(const STBox *box); +extern double stbox_perimeter(const STBox *box, bool spheroid); +extern bool stbox_tmax(const STBox *box, TimestampTz *result); +extern bool stbox_tmax_inc(const STBox *box, bool *result); +extern bool stbox_tmin(const STBox *box, TimestampTz *result); +extern bool stbox_tmin_inc(const STBox *box, bool *result); +extern double stbox_volume(const STBox *box); +extern bool stbox_xmax(const STBox *box, double *result); +extern bool stbox_xmin(const STBox *box, double *result); +extern bool stbox_ymax(const STBox *box, double *result); +extern bool stbox_ymin(const STBox *box, double *result); +extern bool stbox_zmax(const STBox *box, double *result); +extern bool stbox_zmin(const STBox *box, double *result); + +/* Transformation functions */ + +extern STBox *stbox_expand_space(const STBox *box, double d); +extern STBox *stbox_expand_time(const STBox *box, const Interval *interv); +extern STBox *stbox_get_space(const STBox *box); +extern STBox *stbox_quad_split(const STBox *box, int *count); +extern STBox *stbox_round(const STBox *box, int maxdd); +extern STBox *stbox_shift_scale_time(const STBox *box, const Interval *shift, const Interval *duration); +extern STBox *stboxarr_round(const STBox *boxarr, int count, int maxdd); + +/* SRID functions */ + +extern STBox *stbox_set_srid(const STBox *box, int32_t srid); +extern int32_t stbox_srid(const STBox *box); +extern STBox *stbox_transform(const STBox *box, int32_t srid); +extern STBox *stbox_transform_pipeline(const STBox *box, const char *pipelinestr, int32_t srid, bool is_forward); + +/* Topological functions */ + +extern bool adjacent_stbox_stbox(const STBox *box1, const STBox *box2); +extern bool contained_stbox_stbox(const STBox *box1, const STBox *box2); +extern bool contains_stbox_stbox(const STBox *box1, const STBox *box2); +extern bool overlaps_stbox_stbox(const STBox *box1, const STBox *box2); +extern bool same_stbox_stbox(const STBox *box1, const STBox *box2); + +/* Position functions */ + +extern bool above_stbox_stbox(const STBox *box1, const STBox *box2); +extern bool after_stbox_stbox(const STBox *box1, const STBox *box2); +extern bool back_stbox_stbox(const STBox *box1, const STBox *box2); +extern bool before_stbox_stbox(const STBox *box1, const STBox *box2); +extern bool below_stbox_stbox(const STBox *box1, const STBox *box2); +extern bool front_stbox_stbox(const STBox *box1, const STBox *box2); +extern bool left_stbox_stbox(const STBox *box1, const STBox *box2); +extern bool overabove_stbox_stbox(const STBox *box1, const STBox *box2); +extern bool overafter_stbox_stbox(const STBox *box1, const STBox *box2); +extern bool overback_stbox_stbox(const STBox *box1, const STBox *box2); +extern bool overbefore_stbox_stbox(const STBox *box1, const STBox *box2); +extern bool overbelow_stbox_stbox(const STBox *box1, const STBox *box2); +extern bool overfront_stbox_stbox(const STBox *box1, const STBox *box2); +extern bool overleft_stbox_stbox(const STBox *box1, const STBox *box2); +extern bool overright_stbox_stbox(const STBox *box1, const STBox *box2); +extern bool right_stbox_stbox(const STBox *box1, const STBox *box2); + +/* Set functions */ + +extern STBox *union_stbox_stbox(const STBox *box1, const STBox *box2, bool strict); +extern STBox *intersection_stbox_stbox(const STBox *box1, const STBox *box2); + +/* Comparisons */ + +extern int stbox_cmp(const STBox *box1, const STBox *box2); +extern bool stbox_eq(const STBox *box1, const STBox *box2); +extern bool stbox_ge(const STBox *box1, const STBox *box2); +extern bool stbox_gt(const STBox *box1, const STBox *box2); +extern bool stbox_le(const STBox *box1, const STBox *box2); +extern bool stbox_lt(const STBox *box1, const STBox *box2); +extern bool stbox_ne(const STBox *box1, const STBox *box2); + +/***************************************************************************** + * Functions for temporal geometries/geographies + *****************************************************************************/ + +/* Input and output functions */ + +extern Temporal *tgeogpoint_from_mfjson(const char *str); +extern Temporal *tgeogpoint_in(const char *str); +extern Temporal *tgeography_from_mfjson(const char *mfjson); +extern Temporal *tgeography_in(const char *str); +extern Temporal *tgeometry_from_mfjson(const char *str); +extern Temporal *tgeometry_in(const char *str); +extern Temporal *tgeompoint_from_mfjson(const char *str); +extern Temporal *tgeompoint_in(const char *str); +extern char *tspatial_as_ewkt(const Temporal *temp, int maxdd); +extern char *tspatial_as_text(const Temporal *temp, int maxdd); +extern char *tspatial_out(const Temporal *temp, int maxdd); + +/* Constructor functions */ + +extern Temporal *tgeo_from_base_temp(const GSERIALIZED *gs, const Temporal *temp); +extern TInstant *tgeoinst_make(const GSERIALIZED *gs, TimestampTz t); +extern TSequence *tgeoseq_from_base_tstzset(const GSERIALIZED *gs, const Set *s); +extern TSequence *tgeoseq_from_base_tstzspan(const GSERIALIZED *gs, const Span *s, interpType interp); +extern TSequenceSet *tgeoseqset_from_base_tstzspanset(const GSERIALIZED *gs, const SpanSet *ss, interpType interp); +extern Temporal *tpoint_from_base_temp(const GSERIALIZED *gs, const Temporal *temp); +extern TInstant *tpointinst_make(const GSERIALIZED *gs, TimestampTz t); +extern TSequence *tpointseq_from_base_tstzset(const GSERIALIZED *gs, const Set *s); +extern TSequence *tpointseq_from_base_tstzspan(const GSERIALIZED *gs, const Span *s, interpType interp); +extern TSequence *tpointseq_make_coords(const double *xcoords, const double *ycoords, const double *zcoords, const TimestampTz *times, int count, int32 srid, bool geodetic, bool lower_inc, bool upper_inc, interpType interp, bool normalize); +extern TSequenceSet *tpointseqset_from_base_tstzspanset(const GSERIALIZED *gs, const SpanSet *ss, interpType interp); + +/* Conversion functions */ + +extern STBox *box3d_to_stbox(const BOX3D *box); +extern STBox *gbox_to_stbox(const GBOX *box); +extern Temporal *geomeas_to_tpoint(const GSERIALIZED *gs); +extern Temporal *tgeogpoint_to_tgeography(const Temporal *temp); +extern Temporal *tgeography_to_tgeogpoint(const Temporal *temp); +extern Temporal *tgeography_to_tgeometry(const Temporal *temp); +extern Temporal *tgeometry_to_tgeography(const Temporal *temp); +extern Temporal *tgeometry_to_tgeompoint(const Temporal *temp); +extern Temporal *tgeompoint_to_tgeometry(const Temporal *temp); +extern bool tpoint_as_mvtgeom(const Temporal *temp, const STBox *bounds, int32_t extent, int32_t buffer, bool clip_geom, GSERIALIZED **gsarr, int64 **timesarr, int *count); +extern bool tpoint_tfloat_to_geomeas(const Temporal *tpoint, const Temporal *measure, bool segmentize, GSERIALIZED **result); +extern STBox *tspatial_to_stbox(const Temporal *temp); + +/* Accessor functions */ + +extern bool bearing_point_point(const GSERIALIZED *gs1, const GSERIALIZED *gs2, double *result); +extern Temporal *bearing_tpoint_point(const Temporal *temp, const GSERIALIZED *gs, bool invert); +extern Temporal *bearing_tpoint_tpoint(const Temporal *temp1, const Temporal *temp2); +extern Temporal *tgeo_centroid(const Temporal *temp); +extern GSERIALIZED *tgeo_convex_hull(const Temporal *temp); +extern GSERIALIZED *tgeo_end_value(const Temporal *temp); +extern GSERIALIZED *tgeo_start_value(const Temporal *temp); +extern GSERIALIZED *tgeo_traversed_area(const Temporal *temp, bool unary_union); +extern bool tgeo_value_at_timestamptz(const Temporal *temp, TimestampTz t, bool strict, GSERIALIZED **value); +extern bool tgeo_value_n(const Temporal *temp, int n, GSERIALIZED **result); +extern GSERIALIZED **tgeo_values(const Temporal *temp, int *count); +extern Temporal *tpoint_angular_difference(const Temporal *temp); +extern Temporal *tpoint_azimuth(const Temporal *temp); +extern Temporal *tpoint_cumulative_length(const Temporal *temp); +extern bool tpoint_direction(const Temporal *temp, double *result); +extern Temporal *tpoint_get_x(const Temporal *temp); +extern Temporal *tpoint_get_y(const Temporal *temp); +extern Temporal *tpoint_get_z(const Temporal *temp); +extern bool tpoint_is_simple(const Temporal *temp); +extern double tpoint_length(const Temporal *temp); +extern Temporal *tpoint_speed(const Temporal *temp); +extern GSERIALIZED *tpoint_trajectory(const Temporal *temp, bool unary_union); +extern GSERIALIZED *tpoint_twcentroid(const Temporal *temp); + +/* Transformation functions */ + +extern Temporal *tgeo_affine(const Temporal *temp, const AFFINE *a); +extern Temporal *tgeo_scale(const Temporal *temp, const GSERIALIZED *scale, const GSERIALIZED *sorigin); +extern Temporal **tpoint_make_simple(const Temporal *temp, int *count); + +/* SRID functions */ + +int32_t tspatial_srid(const Temporal *temp); +extern Temporal *tspatial_set_srid(const Temporal *temp, int32_t srid); +extern Temporal *tspatial_transform(const Temporal *temp, int32_t srid); +extern Temporal *tspatial_transform_pipeline(const Temporal *temp, const char *pipelinestr, int32_t srid, bool is_forward); + +/* Restriction functions */ + +extern Temporal *tgeo_at_geom(const Temporal *temp, const GSERIALIZED *gs); +extern Temporal *tgeo_at_stbox(const Temporal *temp, const STBox *box, bool border_inc); +extern Temporal *tgeo_at_value(const Temporal *temp, GSERIALIZED *gs); +extern Temporal *tgeo_minus_geom(const Temporal *temp, const GSERIALIZED *gs); +extern Temporal *tgeo_minus_stbox(const Temporal *temp, const STBox *box, bool border_inc); +extern Temporal *tgeo_minus_value(const Temporal *temp, GSERIALIZED *gs); +extern Temporal *tpoint_at_elevation(const Temporal *temp, const Span *s); +extern Temporal *tpoint_at_geom(const Temporal *temp, const GSERIALIZED *gs); +extern Temporal *tpoint_at_value(const Temporal *temp, GSERIALIZED *gs); +extern Temporal *tpoint_minus_elevation(const Temporal *temp, const Span *s); +extern Temporal *tpoint_minus_geom(const Temporal *temp, const GSERIALIZED *gs); +extern Temporal *tpoint_minus_value(const Temporal *temp, GSERIALIZED *gs); + +/* Ever and always comparisons */ + +extern int always_eq_geo_tgeo(const GSERIALIZED *gs, const Temporal *temp); +extern int always_eq_tgeo_geo(const Temporal *temp, const GSERIALIZED *gs); +extern int always_eq_tgeo_tgeo(const Temporal *temp1, const Temporal *temp2); +extern int always_ne_geo_tgeo(const GSERIALIZED *gs, const Temporal *temp); +extern int always_ne_tgeo_geo(const Temporal *temp, const GSERIALIZED *gs); +extern int always_ne_tgeo_tgeo(const Temporal *temp1, const Temporal *temp2); +extern int ever_eq_geo_tgeo(const GSERIALIZED *gs, const Temporal *temp); +extern int ever_eq_tgeo_geo(const Temporal *temp, const GSERIALIZED *gs); +extern int ever_eq_tgeo_tgeo(const Temporal *temp1, const Temporal *temp2); +extern int ever_ne_geo_tgeo(const GSERIALIZED *gs, const Temporal *temp); +extern int ever_ne_tgeo_geo(const Temporal *temp, const GSERIALIZED *gs); +extern int ever_ne_tgeo_tgeo(const Temporal *temp1, const Temporal *temp2); + +/* Temporal comparisons */ + +extern Temporal *teq_geo_tgeo(const GSERIALIZED *gs, const Temporal *temp); +extern Temporal *teq_tgeo_geo(const Temporal *temp, const GSERIALIZED *gs); +extern Temporal *tne_geo_tgeo(const GSERIALIZED *gs, const Temporal *temp); +extern Temporal *tne_tgeo_geo(const Temporal *temp, const GSERIALIZED *gs); + +/* Bounding box functions */ + +extern STBox *tgeo_stboxes(const Temporal *temp, int *count); +extern STBox *tgeo_space_boxes(const Temporal *temp, double xsize, double ysize, double zsize, const GSERIALIZED *sorigin, bool bitmatrix, bool border_inc, int *count); +extern STBox *tgeo_space_time_boxes(const Temporal *temp, double xsize, double ysize, double zsize, const Interval *duration, const GSERIALIZED *sorigin, TimestampTz torigin, bool bitmatrix, bool border_inc, int *count); +extern STBox *tgeo_split_each_n_stboxes(const Temporal *temp, int elem_count, int *count); +extern STBox *tgeo_split_n_stboxes(const Temporal *temp, int box_count, int *count); + +/* Topological functions */ + +extern bool adjacent_stbox_tspatial(const STBox *box, const Temporal *temp); +extern bool adjacent_tspatial_stbox(const Temporal *temp, const STBox *box); +extern bool adjacent_tspatial_tspatial(const Temporal *temp1, const Temporal *temp2); +extern bool contained_stbox_tspatial(const STBox *box, const Temporal *temp); +extern bool contained_tspatial_stbox(const Temporal *temp, const STBox *box); +extern bool contained_tspatial_tspatial(const Temporal *temp1, const Temporal *temp2); +extern bool contains_stbox_tspatial(const STBox *box, const Temporal *temp); +extern bool contains_tspatial_stbox(const Temporal *temp, const STBox *box); +extern bool contains_tspatial_tspatial(const Temporal *temp1, const Temporal *temp2); +extern bool overlaps_stbox_tspatial(const STBox *box, const Temporal *temp); +extern bool overlaps_tspatial_stbox(const Temporal *temp, const STBox *box); +extern bool overlaps_tspatial_tspatial(const Temporal *temp1, const Temporal *temp2); +extern bool same_stbox_tspatial(const STBox *box, const Temporal *temp); +extern bool same_tspatial_stbox(const Temporal *temp, const STBox *box); +extern bool same_tspatial_tspatial(const Temporal *temp1, const Temporal *temp2); + +/* Position functions */ + +extern bool above_stbox_tspatial(const STBox *box, const Temporal *temp); +extern bool above_tspatial_stbox(const Temporal *temp, const STBox *box); +extern bool above_tspatial_tspatial(const Temporal *temp1, const Temporal *temp2); +extern bool after_stbox_tspatial(const STBox *box, const Temporal *temp); +extern bool after_tspatial_stbox(const Temporal *temp, const STBox *box); +extern bool after_tspatial_tspatial(const Temporal *temp1, const Temporal *temp2); +extern bool back_stbox_tspatial(const STBox *box, const Temporal *temp); +extern bool back_tspatial_stbox(const Temporal *temp, const STBox *box); +extern bool back_tspatial_tspatial(const Temporal *temp1, const Temporal *temp2); +extern bool before_stbox_tspatial(const STBox *box, const Temporal *temp); +extern bool before_tspatial_stbox(const Temporal *temp, const STBox *box); +extern bool before_tspatial_tspatial(const Temporal *temp1, const Temporal *temp2); +extern bool below_stbox_tspatial(const STBox *box, const Temporal *temp); +extern bool below_tspatial_stbox(const Temporal *temp, const STBox *box); +extern bool below_tspatial_tspatial(const Temporal *temp1, const Temporal *temp2); +extern bool front_stbox_tspatial(const STBox *box, const Temporal *temp); +extern bool front_tspatial_stbox(const Temporal *temp, const STBox *box); +extern bool front_tspatial_tspatial(const Temporal *temp1, const Temporal *temp2); +extern bool left_stbox_tspatial(const STBox *box, const Temporal *temp); +extern bool left_tspatial_stbox(const Temporal *temp, const STBox *box); +extern bool left_tspatial_tspatial(const Temporal *temp1, const Temporal *temp2); +extern bool overabove_stbox_tspatial(const STBox *box, const Temporal *temp); +extern bool overabove_tspatial_stbox(const Temporal *temp, const STBox *box); +extern bool overabove_tspatial_tspatial(const Temporal *temp1, const Temporal *temp2); +extern bool overafter_stbox_tspatial(const STBox *box, const Temporal *temp); +extern bool overafter_tspatial_stbox(const Temporal *temp, const STBox *box); +extern bool overafter_tspatial_tspatial(const Temporal *temp1, const Temporal *temp2); +extern bool overback_stbox_tspatial(const STBox *box, const Temporal *temp); +extern bool overback_tspatial_stbox(const Temporal *temp, const STBox *box); +extern bool overback_tspatial_tspatial(const Temporal *temp1, const Temporal *temp2); +extern bool overbefore_stbox_tspatial(const STBox *box, const Temporal *temp); +extern bool overbefore_tspatial_stbox(const Temporal *temp, const STBox *box); +extern bool overbefore_tspatial_tspatial(const Temporal *temp1, const Temporal *temp2); +extern bool overbelow_stbox_tspatial(const STBox *box, const Temporal *temp); +extern bool overbelow_tspatial_stbox(const Temporal *temp, const STBox *box); +extern bool overbelow_tspatial_tspatial(const Temporal *temp1, const Temporal *temp2); +extern bool overfront_stbox_tspatial(const STBox *box, const Temporal *temp); +extern bool overfront_tspatial_stbox(const Temporal *temp, const STBox *box); +extern bool overfront_tspatial_tspatial(const Temporal *temp1, const Temporal *temp2); +extern bool overleft_stbox_tspatial(const STBox *box, const Temporal *temp); +extern bool overleft_tspatial_stbox(const Temporal *temp, const STBox *box); +extern bool overleft_tspatial_tspatial(const Temporal *temp1, const Temporal *temp2); +extern bool overright_stbox_tspatial(const STBox *box, const Temporal *temp); +extern bool overright_tspatial_stbox(const Temporal *temp, const STBox *box); +extern bool overright_tspatial_tspatial(const Temporal *temp1, const Temporal *temp2); +extern bool right_stbox_tspatial(const STBox *box, const Temporal *temp); +extern bool right_tspatial_stbox(const Temporal *temp, const STBox *box); +extern bool right_tspatial_tspatial(const Temporal *temp1, const Temporal *temp2); + +/* Ever and always spatial relationships */ + +extern int acontains_geo_tgeo(const GSERIALIZED *gs, const Temporal *temp); +extern int acontains_tgeo_geo(const Temporal *temp, const GSERIALIZED *gs); +extern int acontains_tgeo_tgeo(const Temporal *temp1, const Temporal *temp2); +extern int adisjoint_tgeo_geo(const Temporal *temp, const GSERIALIZED *gs); +extern int adisjoint_tgeo_tgeo(const Temporal *temp1, const Temporal *temp2); +extern int adwithin_tgeo_geo(const Temporal *temp, const GSERIALIZED *gs, double dist); +extern int adwithin_tgeo_tgeo(const Temporal *temp1, const Temporal *temp2, double dist); +extern int aintersects_tgeo_geo(const Temporal *temp, const GSERIALIZED *gs); +extern int aintersects_tgeo_tgeo(const Temporal *temp1, const Temporal *temp2); +extern int atouches_tgeo_geo(const Temporal *temp, const GSERIALIZED *gs); +extern int atouches_tgeo_tgeo(const Temporal *temp1, const Temporal *temp2); +extern int atouches_tpoint_geo(const Temporal *temp, const GSERIALIZED *gs); +extern int econtains_geo_tgeo(const GSERIALIZED *gs, const Temporal *temp); +extern int econtains_tgeo_geo(const Temporal *temp, const GSERIALIZED *gs); +extern int econtains_tgeo_tgeo(const Temporal *temp1, const Temporal *temp2); +extern int ecovers_geo_tgeo(const GSERIALIZED *gs, const Temporal *temp); +extern int ecovers_tgeo_geo(const Temporal *temp, const GSERIALIZED *gs); +extern int ecovers_tgeo_tgeo(const Temporal *temp1, const Temporal *temp2); +extern int edisjoint_tgeo_geo(const Temporal *temp, const GSERIALIZED *gs); +extern int edisjoint_tgeo_tgeo(const Temporal *temp1, const Temporal *temp2); +extern int edwithin_tgeo_geo(const Temporal *temp, const GSERIALIZED *gs, double dist); +extern int edwithin_tgeo_tgeo(const Temporal *temp1, const Temporal *temp2, double dist); +extern int eintersects_tgeo_geo(const Temporal *temp, const GSERIALIZED *gs); +extern int eintersects_tgeo_tgeo(const Temporal *temp1, const Temporal *temp2); +extern int etouches_tgeo_geo(const Temporal *temp, const GSERIALIZED *gs); +extern int etouches_tgeo_tgeo(const Temporal *temp1, const Temporal *temp2); +extern int etouches_tpoint_geo(const Temporal *temp, const GSERIALIZED *gs); + +/* Spatiotemporal relationships */ + +extern Temporal *tcontains_geo_tgeo(const GSERIALIZED *gs, const Temporal *temp); +extern Temporal *tcontains_tgeo_geo(const Temporal *temp, const GSERIALIZED *gs); +extern Temporal *tcontains_tgeo_tgeo(const Temporal *temp1, const Temporal *temp2); +extern Temporal *tcovers_geo_tgeo(const GSERIALIZED *gs, const Temporal *temp); +extern Temporal *tcovers_tgeo_geo(const Temporal *temp, const GSERIALIZED *gs); +extern Temporal *tcovers_tgeo_tgeo(const Temporal *temp1, const Temporal *temp2); +extern Temporal *tdisjoint_geo_tgeo(const GSERIALIZED *gs, const Temporal *temp); +extern Temporal *tdisjoint_tgeo_geo(const Temporal *temp, const GSERIALIZED *gs); +extern Temporal *tdisjoint_tgeo_tgeo(const Temporal *temp1, const Temporal *temp2); +extern Temporal *tdwithin_geo_tgeo(const GSERIALIZED *gs, const Temporal *temp, double dist); +extern Temporal *tdwithin_tgeo_geo(const Temporal *temp, const GSERIALIZED *gs, double dist); +extern Temporal *tdwithin_tgeo_tgeo(const Temporal *temp1, const Temporal *temp2, double dist); +extern Temporal *tintersects_geo_tgeo(const GSERIALIZED *gs, const Temporal *temp); +extern Temporal *tintersects_tgeo_geo(const Temporal *temp, const GSERIALIZED *gs); +extern Temporal *tintersects_tgeo_tgeo(const Temporal *temp1, const Temporal *temp2); +extern Temporal *ttouches_geo_tgeo(const GSERIALIZED *gs, const Temporal *temp); +extern Temporal *ttouches_tgeo_geo(const Temporal *temp, const GSERIALIZED *gs); +extern Temporal *ttouches_tgeo_tgeo(const Temporal *temp1, const Temporal *temp2); + +/* Distance */ + +extern Temporal *tdistance_tgeo_geo(const Temporal *temp, const GSERIALIZED *gs); +extern Temporal *tdistance_tgeo_tgeo(const Temporal *temp1, const Temporal *temp2); +extern double nad_stbox_geo(const STBox *box, const GSERIALIZED *gs); +extern double nad_stbox_stbox(const STBox *box1, const STBox *box2); +extern double nad_tgeo_geo(const Temporal *temp, const GSERIALIZED *gs); +extern double nad_tgeo_stbox(const Temporal *temp, const STBox *box); +extern double nad_tgeo_tgeo(const Temporal *temp1, const Temporal *temp2); +extern TInstant *nai_tgeo_geo(const Temporal *temp, const GSERIALIZED *gs); +extern TInstant *nai_tgeo_tgeo(const Temporal *temp1, const Temporal *temp2); +extern GSERIALIZED *shortestline_tgeo_geo(const Temporal *temp, const GSERIALIZED *gs); +extern GSERIALIZED *shortestline_tgeo_tgeo(const Temporal *temp1, const Temporal *temp2); +extern double tgeoarr_tgeoarr_mindist(const Temporal **arr1, int count1, const Temporal **arr2, int count2); +extern double mindistance_tgeo_tgeo(const Temporal *temp1, const Temporal *temp2, double threshold); + +/* Aggregates */ + +extern Temporal *tpoint_tcentroid_finalfn(SkipList *state); +extern SkipList *tpoint_tcentroid_transfn(SkipList *state, Temporal *temp); +extern STBox *tspatial_extent_transfn(STBox *box, const Temporal *temp); + +/* Tile functions */ + +extern STBox *stbox_get_space_tile(const GSERIALIZED *point, double xsize, double ysize, double zsize, const GSERIALIZED *sorigin); +extern STBox *stbox_get_space_time_tile(const GSERIALIZED *point, TimestampTz t, double xsize, double ysize, double zsize, const Interval *duration, const GSERIALIZED *sorigin, TimestampTz torigin); +extern STBox *stbox_get_time_tile(TimestampTz t, const Interval *duration, TimestampTz torigin); +extern STBox *stbox_space_tiles(const STBox *bounds, double xsize, double ysize, double zsize, const GSERIALIZED *sorigin, bool border_inc, int *count); +extern STBox *stbox_space_time_tiles(const STBox *bounds, double xsize, double ysize, double zsize, const Interval *duration, const GSERIALIZED *sorigin, TimestampTz torigin, bool border_inc, int *count); +extern STBox *stbox_time_tiles(const STBox *bounds, const Interval *duration, TimestampTz torigin, bool border_inc, int *count); +extern Temporal **tgeo_space_split(const Temporal *temp, double xsize, double ysize, double zsize, const GSERIALIZED *sorigin, bool bitmatrix, bool border_inc, GSERIALIZED ***space_bins, int *count); +extern Temporal **tgeo_space_time_split(const Temporal *temp, double xsize, double ysize, double zsize, const Interval *duration, const GSERIALIZED *sorigin, TimestampTz torigin, bool bitmatrix, bool border_inc, GSERIALIZED ***space_bins, TimestampTz **time_bins, int *count); + +/* Clustering functions */ + +extern int *geo_cluster_kmeans(const GSERIALIZED **geoms, uint32_t ngeoms, uint32_t k); +extern uint32_t *geo_cluster_dbscan(const GSERIALIZED **geoms, uint32_t ngeoms, double tolerance, int minpoints, int *count); +extern GSERIALIZED **geo_cluster_intersecting(const GSERIALIZED **geoms, uint32_t ngeoms, int *count); +extern GSERIALIZED **geo_cluster_within(const GSERIALIZED **geoms, uint32_t ngeoms, double tolerance, int *count); + +/*****************************************************************************/ + +#endif +extern int acovers_geo_tgeo(const GSERIALIZED *gs, const Temporal *temp); +extern int acovers_tgeo_geo(const Temporal *temp, const GSERIALIZED *gs); diff --git a/jmeos-core/tools/parity/meos-ref/meos/include/meos_h3.h b/jmeos-core/tools/parity/meos-ref/meos/include/meos_h3.h new file mode 100644 index 00000000..2febc478 --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/meos/include/meos_h3.h @@ -0,0 +1,197 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @file + * @brief Public MEOS API for the temporal H3 index type (th3index). + * + * Implementations live in meos/src/h3/. The PG V1 wrappers in + * mobilitydb/src/h3/ call these symbols. + */ + +#ifndef __MEOS_H3_H__ +#define __MEOS_H3_H__ + +#include +#include +#include +#include +#include + +/***************************************************************************** + * Static h3index SQL type — analogue of meos_cbuffer.h's + * static-cbuffer section. + *****************************************************************************/ + +extern H3Index h3index_in(const char *str); +extern char *h3index_out(H3Index cell); + +/***************************************************************************** + * Type inheritance (analogue of meos_cbuffer.h's tcbuffer section) + *****************************************************************************/ + +/* Input */ +extern Temporal *th3index_in(const char *str); +extern TInstant *th3indexinst_in(const char *str); +extern TSequence *th3indexseq_in(const char *str, interpType interp); +extern TSequenceSet *th3indexseqset_in(const char *str); + +/* Constructors */ +extern Temporal *th3index_make(H3Index value, TimestampTz t); +extern TInstant *th3indexinst_make(H3Index value, TimestampTz t); +extern TSequence *th3indexseq_make(const H3Index *values, + const TimestampTz *times, int count, bool lower_inc, bool upper_inc); +extern TSequenceSet *th3indexseqset_make(const TSequence **sequences, int count); + +/* Accessors */ +extern H3Index th3index_start_value(const Temporal *temp); +extern H3Index th3index_end_value(const Temporal *temp); +extern bool th3index_value_n(const Temporal *temp, int n, H3Index *result); +extern H3Index *th3index_values(const Temporal *temp, int *count); +extern bool th3index_value_at_timestamptz(const Temporal *temp, TimestampTz t, + bool strict, H3Index *result); + +/* MEOS-level conversions to/from tbigint */ +extern Temporal *tbigint_to_th3index(const Temporal *temp); +extern Temporal *th3index_to_tbigint(const Temporal *temp); + +/***************************************************************************** + * Ever/always comparison operators + *****************************************************************************/ + +extern int ever_eq_h3index_th3index(H3Index cell, const Temporal *temp); +extern int ever_eq_th3index_h3index(const Temporal *temp, H3Index cell); +extern int ever_ne_h3index_th3index(H3Index cell, const Temporal *temp); +extern int ever_ne_th3index_h3index(const Temporal *temp, H3Index cell); +extern int always_eq_h3index_th3index(H3Index cell, const Temporal *temp); +extern int always_eq_th3index_h3index(const Temporal *temp, H3Index cell); +extern int always_ne_h3index_th3index(H3Index cell, const Temporal *temp); +extern int always_ne_th3index_h3index(const Temporal *temp, H3Index cell); +extern int ever_eq_th3index_th3index(const Temporal *temp1, + const Temporal *temp2); +extern int ever_ne_th3index_th3index(const Temporal *temp1, + const Temporal *temp2); +extern int always_eq_th3index_th3index(const Temporal *temp1, + const Temporal *temp2); +extern int always_ne_th3index_th3index(const Temporal *temp1, + const Temporal *temp2); + +/***************************************************************************** + * Temporal comparison operators + *****************************************************************************/ + +extern Temporal *teq_h3index_th3index(H3Index cell, const Temporal *temp); +extern Temporal *teq_th3index_h3index(const Temporal *temp, H3Index cell); +extern Temporal *teq_th3index_th3index(const Temporal *temp1, + const Temporal *temp2); +extern Temporal *tne_h3index_th3index(H3Index cell, const Temporal *temp); +extern Temporal *tne_th3index_h3index(const Temporal *temp, H3Index cell); +extern Temporal *tne_th3index_th3index(const Temporal *temp1, + const Temporal *temp2); + +/***************************************************************************** + * Inspection + *****************************************************************************/ + +extern Temporal *th3index_get_resolution(const Temporal *temp); +extern Temporal *th3index_get_base_cell_number(const Temporal *temp); +extern Temporal *th3index_is_valid_cell(const Temporal *temp); +extern Temporal *th3index_is_res_class_iii(const Temporal *temp); +extern Temporal *th3index_is_pentagon(const Temporal *temp); + +/***************************************************************************** + * Hierarchy + *****************************************************************************/ + +extern Temporal *th3index_cell_to_parent(const Temporal *temp, int32 resolution); +extern Temporal *th3index_cell_to_parent_next(const Temporal *temp); +extern Temporal *th3index_cell_to_center_child(const Temporal *temp, int32 resolution); +extern Temporal *th3index_cell_to_center_child_next(const Temporal *temp); +extern Temporal *th3index_cell_to_child_pos(const Temporal *temp, int32 parent_res); +extern Temporal *th3index_child_pos_to_cell(const Temporal *child_pos, + const Temporal *parent, int32 child_res); + +/***************************************************************************** + * Lat/Lng conversion + *****************************************************************************/ + +extern Temporal *tgeogpoint_to_th3index(const Temporal *temp, int32 resolution); +extern Temporal *tgeompoint_to_th3index(const Temporal *temp, int32 resolution); +extern Temporal *th3index_to_tgeogpoint(const Temporal *temp); +extern Temporal *th3index_to_tgeompoint(const Temporal *temp); +extern Temporal *th3index_cell_to_boundary(const Temporal *temp); + +/* Static geometry → H3 cell / cell set. See meos/src/h3/h3_geo.c. */ +extern H3Index h3_gs_point_to_cell(const GSERIALIZED *point, int32 resolution); +extern Set *geo_to_h3index_set(const GSERIALIZED *gs, int32 resolution); +extern int ever_eq_h3indexset_th3index(const Set *cells, + const Temporal *th3idx); + +/***************************************************************************** + * Directed edges + *****************************************************************************/ + +extern Temporal *th3index_are_neighbor_cells(const Temporal *origin, + const Temporal *dest); +extern Temporal *th3index_cells_to_directed_edge(const Temporal *origin, + const Temporal *dest); +extern Temporal *th3index_is_valid_directed_edge(const Temporal *edge); +extern Temporal *th3index_get_directed_edge_origin(const Temporal *edge); +extern Temporal *th3index_get_directed_edge_destination(const Temporal *edge); +extern Temporal *th3index_directed_edge_to_boundary(const Temporal *edge); + +/***************************************************************************** + * Vertices + *****************************************************************************/ + +extern Temporal *th3index_cell_to_vertex(const Temporal *temp, int32 vertex_num); +extern Temporal *th3index_vertex_to_latlng(const Temporal *temp); +extern Temporal *th3index_is_valid_vertex(const Temporal *temp); + +/***************************************************************************** + * Grid traversal + *****************************************************************************/ + +extern Temporal *th3index_grid_distance(const Temporal *origin, + const Temporal *dest); +extern Temporal *th3index_cell_to_local_ij(const Temporal *origin, + const Temporal *cell); +extern Temporal *th3index_local_ij_to_cell(const Temporal *origin, + const Temporal *coord); + +/***************************************************************************** + * Metrics + *****************************************************************************/ + +extern Temporal *th3index_cell_area(const Temporal *temp, const char *unit); +extern Temporal *th3index_edge_length(const Temporal *temp, const char *unit); +extern Temporal *tgeogpoint_great_circle_distance(const Temporal *a, + const Temporal *b, const char *unit); + +#endif /* __MEOS_H3_H__ */ diff --git a/jmeos-core/tools/parity/meos-ref/meos/include/meos_internal.h b/jmeos-core/tools/parity/meos-ref/meos/include/meos_internal.h new file mode 100644 index 00000000..5791740f --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/meos/include/meos_internal.h @@ -0,0 +1,1405 @@ +/***************************************************************************** + * + * This MobilityDB code seq provided under The PostgreSQL License. + * Copyright(c) 2016-2023, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License(GPLv2 or later). + * Copyright(c) 2001-2023, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement seq hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @brief Internal API of the Mobility Engine Open Source(MEOS) library. + */ + +#ifndef __MEOS_INTERNAL_H__ +#define __MEOS_INTERNAL_H__ + +/* C */ +#include +/* JSON-C */ +#include +/* GSL */ +#include +#include +/* PROJ */ +#include +/* PostgreSQL */ +/* MEOS */ +#include +#include "temporal/meos_catalog.h" /* For MeosType */ + +/***************************************************************************** + * Validity macros + *****************************************************************************/ + +/** + * @brief Macro for ensuring that a pointer is not null + */ +#if MEOS + #define VALIDATE_NOT_NULL(ptr, ret) \ + do { if (! ensure_not_null((void *) (ptr))) return (ret); } while (0) +#else + #define VALIDATE_NOT_NULL(ptr, ret) \ + do { assert(ptr); } while (0) +#endif /* MEOS */ + +/*****************************************************************************/ + +/** + * @brief Macro for ensuring that a set is an integer set + */ +#if MEOS + #define VALIDATE_INTSET(set, ret) \ + do { \ + if (! ensure_not_null((void *) (set)) || \ + ! ensure_set_isof_type((set), T_INTSET) ) \ + return (ret); \ + } while (0) +#else + #define VALIDATE_INTSET(set, ret) \ + do { \ + assert(set); \ + assert((set)->settype == T_INTSET); \ + } while (0) +#endif /* MEOS */ + +/** + * @brief Macro for ensuring that a set is a big integer set + */ +#if MEOS + #define VALIDATE_BIGINTSET(set, ret) \ + do { \ + if (! ensure_not_null((void *) (set)) || \ + ! ensure_set_isof_type((set), T_BIGINTSET) ) \ + return (ret); \ + } while (0) +#else + #define VALIDATE_BIGINTSET(set, ret) \ + do { \ + assert(set); \ + assert((set)->settype == T_BIGINTSET); \ + } while (0) +#endif /* MEOS */ + +/** + * @brief Macro for ensuring that a set is a float set + */ +#if MEOS + #define VALIDATE_FLOATSET(set, ret) \ + do { \ + if (! ensure_not_null((void *) (set)) || \ + ! ensure_set_isof_type((set), T_FLOATSET) ) \ + return (ret); \ + } while (0) +#else + #define VALIDATE_FLOATSET(set, ret) \ + do { \ + assert(set); \ + assert((set)->settype == T_FLOATSET); \ + } while (0) +#endif /* MEOS */ + +/** + * @brief Macro for ensuring that a set is a text set + */ +#if MEOS + #define VALIDATE_TEXTSET(set, ret) \ + do { \ + if (! ensure_not_null((void *) (set)) || \ + ! ensure_set_isof_type((set), T_TEXTSET) ) \ + return (ret); \ + } while (0) +#else + #define VALIDATE_TEXTSET(set, ret) \ + do { \ + assert(set); \ + assert((set)->settype == T_TEXTSET); \ + } while (0) +#endif /* MEOS */ + +/** + * @brief Macro for ensuring that a set is a date set + */ +#if MEOS + #define VALIDATE_DATESET(set, ret) \ + do { \ + if (! ensure_not_null((void *) (set)) || \ + ! ensure_set_isof_type((set), T_DATESET) ) \ + return (ret); \ + } while (0) +#else + #define VALIDATE_DATESET(set, ret) \ + do { \ + assert(set); \ + assert((set)->settype == T_DATESET); \ + } while (0) +#endif /* MEOS */ + +/** + * @brief Macro for ensuring that a set is a timestamptz set + */ +#if MEOS + #define VALIDATE_TSTZSET(set, ret) \ + do { \ + if (! ensure_not_null((void *) (set)) || \ + ! ensure_set_isof_type((set), T_TSTZSET) ) \ + return (ret); \ + } while (0) +#else + #define VALIDATE_TSTZSET(set, ret) \ + do { \ + assert(set); \ + assert((set)->settype == T_TSTZSET); \ + } while (0) +#endif /* MEOS */ + +/** + * @brief Macro for ensuring that the span is a number span + */ +#if MEOS + #define VALIDATE_NUMSET(set, ret) \ + do { \ + if (! ensure_not_null((void *) (set)) || \ + ! ensure_numset_type((set)->settype) ) \ + return (ret); \ + } while (0) +#else + #define VALIDATE_NUMSET(set, ret) \ + do { \ + assert(set); \ + assert(numset_type((set)->settype)); \ + } while (0) +#endif /* MEOS */ + +/*****************************************************************************/ + +/** + * @brief Macro for ensuring that a span is an integer span + */ +#if MEOS + #define VALIDATE_INTSPAN(span, ret) \ + do { \ + if (! ensure_not_null((void *) (span)) || \ + ! ensure_span_isof_type((span), T_INTSPAN) ) \ + return (ret); \ + } while (0) +#else + #define VALIDATE_INTSPAN(span, ret) \ + do { \ + assert(span); \ + assert((span)->spantype == T_INTSPAN); \ + } while (0) +#endif /* MEOS */ + +/** + * @brief Macro for ensuring that a span is a big integer span + */ +#if MEOS + #define VALIDATE_BIGINTSPAN(span, ret) \ + do { \ + if (! ensure_not_null((void *) (span)) || \ + ! ensure_span_isof_type((span), T_BIGINTSPAN) ) \ + return (ret); \ + } while (0) +#else + #define VALIDATE_BIGINTSPAN(span, ret) \ + do { \ + assert(span); \ + assert((span)->spantype == T_BIGINTSPAN); \ + } while (0) +#endif /* MEOS */ + +/** + * @brief Macro for ensuring that a span is a float span + */ +#if MEOS + #define VALIDATE_FLOATSPAN(span, ret) \ + do { \ + if (! ensure_not_null((void *) (span)) || \ + ! ensure_span_isof_type((span), T_FLOATSPAN) ) \ + return (ret); \ + } while (0) +#else + #define VALIDATE_FLOATSPAN(span, ret) \ + do { \ + assert(span); \ + assert((span)->spantype == T_FLOATSPAN); \ + } while (0) +#endif /* MEOS */ + +/** + * @brief Macro for ensuring that a span is a date span + */ +#if MEOS + #define VALIDATE_DATESPAN(span, ret) \ + do { \ + if (! ensure_not_null((void *) (span)) || \ + ! ensure_span_isof_type((span), T_DATESPAN) ) \ + return (ret); \ + } while (0) +#else + #define VALIDATE_DATESPAN(span, ret) \ + do { \ + assert(span); \ + assert((span)->spantype == T_DATESPAN); \ + } while (0) +#endif /* MEOS */ + + +/** + * @brief Macro for ensuring that the span is a timestamptz span + */ +#if MEOS + #define VALIDATE_TSTZSPAN(span, ret) \ + do { \ + if (! ensure_not_null((void *) (span)) || \ + ! ensure_span_isof_type((span), T_TSTZSPAN) ) \ + return (ret); \ + } while (0) +#else + #define VALIDATE_TSTZSPAN(span, ret) \ + do { \ + assert(span); \ + assert((span)->spantype == T_TSTZSPAN); \ + } while (0) +#endif /* MEOS */ + +/** + * @brief Macro for ensuring that the span is a number span + */ +#if MEOS + #define VALIDATE_NUMSPAN(span, ret) \ + do { \ + if (! ensure_not_null((void *) (span)) || \ + ! ensure_numspan_type((span)->spantype) ) \ + return (ret); \ + } while (0) +#else + #define VALIDATE_NUMSPAN(span, ret) \ + do { \ + assert(span); \ + assert(numspan_type((span)->spantype)); \ + } while (0) +#endif /* MEOS */ + +/*****************************************************************************/ + +/** + * @brief Macro for ensuring that a span set is an integer span set + */ +#if MEOS + #define VALIDATE_INTSPANSET(ss, ret) \ + do { \ + if (! ensure_not_null((void *) (ss)) || \ + ! ensure_spanset_isof_type((ss), T_INTSPANSET) ) \ + return (ret); \ + } while (0) +#else + #define VALIDATE_INTSPANSET(ss, ret) \ + do { \ + assert(ss); \ + assert((ss)->spansettype == T_INTSPANSET); \ + } while (0) +#endif /* MEOS */ + +/** + * @brief Macro for ensuring that a span set is a big integer span set + */ +#if MEOS + #define VALIDATE_BIGINTSPANSET(ss, ret) \ + do { \ + if (! ensure_not_null((void *) (ss)) || \ + ! ensure_spanset_isof_type((ss), T_BIGINTSPANSET) ) \ + return (ret); \ + } while (0) +#else + #define VALIDATE_BIGINTSPANSET(ss, ret) \ + do { \ + assert(ss); \ + assert((ss)->spansettype == T_BIGINTSPANSET); \ + } while (0) +#endif /* MEOS */ + +/** + * @brief Macro for ensuring that a span set is a float span set + */ +#if MEOS + #define VALIDATE_FLOATSPANSET(ss, ret) \ + do { \ + if (! ensure_not_null((void *) (ss)) || \ + ! ensure_spanset_isof_type((ss), T_FLOATSPANSET) ) \ + return (ret); \ + } while (0) +#else + #define VALIDATE_FLOATSPANSET(ss, ret) \ + do { \ + assert(ss); \ + assert((ss)->spansettype == T_FLOATSPANSET); \ + } while (0) +#endif /* MEOS */ + +/** + * @brief Macro for ensuring that a span set is a date span set + */ +#if MEOS + #define VALIDATE_DATESPANSET(ss, ret) \ + do { \ + if (! ensure_not_null((void *) (ss)) || \ + ! ensure_spanset_isof_type((ss), T_DATESPANSET) ) \ + return (ret); \ + } while (0) +#else + #define VALIDATE_DATESPANSET(ss, ret) \ + do { \ + assert(ss); \ + assert((ss)->spansettype == T_DATESPANSET); \ + } while (0) +#endif /* MEOS */ + +/** + * @brief Macro for ensuring that the span set is a timestamptz span set + */ +#if MEOS + #define VALIDATE_TSTZSPANSET(ss, ret) \ + do { \ + if (! ensure_not_null((void *) (ss)) || \ + ! ensure_spanset_isof_type(ss, T_TSTZSPANSET) ) \ + return (ret); \ + } while (0) +#else + #define VALIDATE_TSTZSPANSET(ss, ret) \ + do { \ + assert(ss); \ + assert((ss)->spansettype == T_TSTZSPANSET); \ + } while (0) +#endif /* MEOS */ + +/** + * @brief Macro for ensuring that the span set is a number span set + */ +#if MEOS + #define VALIDATE_NUMSPANSET(ss, ret) \ + do { \ + if (! ensure_not_null((void *) (ss)) || \ + ! ensure_numspanset_type((ss)->spansettype) ) \ + return (ret); \ + } while (0) +#else + #define VALIDATE_NUMSPANSET(ss, ret) \ + do { \ + assert(ss); \ + assert(numspanset_type((ss)->spansettype)); \ + } while (0) +#endif /* MEOS */ + +/*****************************************************************************/ + +/** + * @brief Macro for ensuring that the temporal value is a temporal Boolean + * @note The macro works for the Temporal type and its subtypes TInstant, + * TSequence, and TSequenceSet + */ +#if MEOS + #define VALIDATE_TBOOL(temp, ret) \ + do { \ + if (! ensure_not_null((void *) (temp)) || \ + ! ensure_temporal_isof_type((Temporal *) (temp), T_TBOOL) ) \ + return (ret); \ + } while (0) +#else + #define VALIDATE_TBOOL(temp, ret) \ + do { \ + assert(temp); \ + assert(((Temporal *) (temp))->temptype == T_TBOOL); \ + } while (0) +#endif /* MEOS */ + +/** + * @brief Macro for ensuring that the temporal value is a temporal integer + * @note The macro works for the Temporal type and its subtypes TInstant, + * TSequence, and TSequenceSet + */ +#if MEOS + #define VALIDATE_TINT(temp, ret) \ + do { \ + if (! ensure_not_null((void *) (temp)) || \ + ! ensure_temporal_isof_type((Temporal *) (temp), T_TINT) ) \ + return (ret); \ + } while (0) +#else + #define VALIDATE_TINT(temp, ret) \ + do { \ + assert(temp); \ + assert(((Temporal *) (temp))->temptype == T_TINT); \ + } while (0) +#endif /* MEOS */ + +/** + * @brief Macro for ensuring that the temporal value is a temporal big integer + * @note The macro works for the Temporal type and its subtypes TInstant, + * TSequence, and TSequenceSet + */ +#if MEOS + #define VALIDATE_TBIGINT(temp, ret) \ + do { \ + if (! ensure_not_null((void *) (temp)) || \ + ! ensure_temporal_isof_type((Temporal *) (temp), T_TBIGINT) ) \ + return (ret); \ + } while (0) +#else + #define VALIDATE_TBIGINT(temp, ret) \ + do { \ + assert(temp); \ + assert(((Temporal *) (temp))->temptype == T_TBIGINT); \ + } while (0) +#endif /* MEOS */ + +/** + * @brief Macro for ensuring that the temporal value is a temporal float + * @note The macro works for the Temporal type and its subtypes TInstant, + * TSequence, and TSequenceSet + */ +#if MEOS + #define VALIDATE_TFLOAT(temp, ret) \ + do { \ + if (! ensure_not_null((void *) (temp)) || \ + ! ensure_temporal_isof_type((Temporal *) (temp), T_TFLOAT) ) \ + return (ret); \ + } while (0) +#else + #define VALIDATE_TFLOAT(temp, ret) \ + do { \ + assert(temp); \ + assert(((Temporal *) (temp))->temptype == T_TFLOAT); \ + } while (0) +#endif /* MEOS */ + +/** + * @brief Macro for ensuring that the temporal value is a temporal text + * @note The macro works for the Temporal type and its subtypes TInstant, + * TSequence, and TSequenceSet + */ +#if MEOS + #define VALIDATE_TTEXT(temp, ret) \ + do { \ + if (! ensure_not_null((void *) (temp)) || \ + ! ensure_temporal_isof_type((Temporal *) (temp), T_TTEXT) ) \ + return (ret); \ + } while (0) +#else + #define VALIDATE_TTEXT(temp, ret) \ + do { \ + assert(temp); \ + assert(((Temporal *) (temp))->temptype == T_TTEXT); \ + } while (0) +#endif /* MEOS */ + +/** + * @brief Macro for ensuring that the temporal value is a temporal number + * @note The macro works for the Temporal type and its subtypes TInstant, + * TSequence, and TSequenceSet + */ +#if MEOS + #define VALIDATE_TNUMBER(temp, ret) \ + do { \ + if (! ensure_not_null((void *) (temp)) || \ + ! ensure_tnumber_type(((Temporal *) (temp))->temptype) ) \ + return (ret); \ + } while (0) +#else + #define VALIDATE_TNUMBER(temp, ret) \ + do { \ + assert(temp); \ + assert(tnumber_type(((Temporal *) (temp))->temptype)); \ + } while (0) +#endif /* MEOS */ + +/***************************************************************************** + * Macros for manipulating the 'flags' element where the less significant + * bits are MGTZXIICB, where + * M: (GEOM) the reference geometry is stored + * G: coordinates are geodetic + * T: has T coordinate, + * Z: has Z coordinate + * X: has value or X coordinate + * II: interpolation, whose values are + * - 00: INTERP_NONE (undetermined) for TInstant + * - 01: DISCRETE + * - 10: STEP + * - 11: LINEAR + * C: continuous base type / Ordered set + * B: base type passed by value + * Notice that the interpolation flags are only needed for sequence and + * sequence set subtypes. + *****************************************************************************/ + +/* The following flag is only used for Set and TInstant */ +#define MEOS_FLAG_BYVAL 0x0001 // 1 +/* The following flag is only used for Set */ +#define MEOS_FLAG_ORDERED 0x0002 // 2 +/* The following flag is only used for Temporal */ +#define MEOS_FLAG_CONTINUOUS 0x0002 // 2 +/* The following two interpolation flags are only used for TSequence and TSequenceSet */ +#define MEOS_FLAGS_INTERP 0x000C // 4 / 8 +/* The following two flags are used for both bounding boxes and temporal types */ +#define MEOS_FLAG_X 0x0010 // 16 +#define MEOS_FLAG_Z 0x0020 // 32 +#define MEOS_FLAG_T 0x0040 // 64 +#define MEOS_FLAG_GEODETIC 0x0080 // 128 +#define MEOS_FLAG_GEOM 0x0100 // 256 + +#define MEOS_FLAGS_GET_BYVAL(flags) ((bool) (((flags) & MEOS_FLAG_BYVAL))) +#define MEOS_FLAGS_GET_ORDERED(flags) ((bool) (((flags) & MEOS_FLAG_ORDERED)>>1)) +#define MEOS_FLAGS_GET_CONTINUOUS(flags) ((bool) (((flags) & MEOS_FLAG_CONTINUOUS)>>1)) +#define MEOS_FLAGS_GET_X(flags) ((bool) (((flags) & MEOS_FLAG_X)>>4)) +#define MEOS_FLAGS_GET_Z(flags) ((bool) (((flags) & MEOS_FLAG_Z)>>5)) +#define MEOS_FLAGS_GET_T(flags) ((bool) (((flags) & MEOS_FLAG_T)>>6)) +#define MEOS_FLAGS_GET_GEODETIC(flags) ((bool) (((flags) & MEOS_FLAG_GEODETIC)>>7)) +#define MEOS_FLAGS_GET_GEOM(flags) ((bool) (((flags) & MEOS_FLAG_GEOM)>>8)) + +#define MEOS_FLAGS_BYREF(flags) ((bool) (((flags) & ! MEOS_FLAG_BYVAL))) + +#define MEOS_FLAGS_SET_BYVAL(flags, value) \ + ((flags) = (value) ? ((flags) | MEOS_FLAG_BYVAL) : ((flags) & ~MEOS_FLAG_BYVAL)) +#define MEOS_FLAGS_SET_ORDERED(flags, value) \ + ((flags) = (value) ? ((flags) | MEOS_FLAG_ORDERED) : ((flags) & ~MEOS_FLAG_ORDERED)) +#define MEOS_FLAGS_SET_CONTINUOUS(flags, value) \ + ((flags) = (value) ? ((flags) | MEOS_FLAG_CONTINUOUS) : ((flags) & ~MEOS_FLAG_CONTINUOUS)) +#define MEOS_FLAGS_SET_X(flags, value) \ + ((flags) = (value) ? ((flags) | MEOS_FLAG_X) : ((flags) & ~MEOS_FLAG_X)) +#define MEOS_FLAGS_SET_Z(flags, value) \ + ((flags) = (value) ? ((flags) | MEOS_FLAG_Z) : ((flags) & ~MEOS_FLAG_Z)) +#define MEOS_FLAGS_SET_T(flags, value) \ + ((flags) = (value) ? ((flags) | MEOS_FLAG_T) : ((flags) & ~MEOS_FLAG_T)) +#define MEOS_FLAGS_SET_GEODETIC(flags, value) \ + ((flags) = (value) ? ((flags) | MEOS_FLAG_GEODETIC) : ((flags) & ~MEOS_FLAG_GEODETIC)) +#define MEOS_FLAGS_SET_GEOM(flags, value) \ + ((flags) = (value) ? ((flags) | MEOS_FLAG_GEOM) : ((flags) & ~MEOS_FLAG_GEOM)) + +#define MEOS_FLAGS_GET_INTERP(flags) (((flags) & MEOS_FLAGS_INTERP) >> 2) +#define MEOS_FLAGS_SET_INTERP(flags, value) ((flags) = (((flags) & ~MEOS_FLAGS_INTERP) | ((value & 0x0003) << 2))) + +#define MEOS_FLAGS_DISCRETE_INTERP(flags) ((bool) (MEOS_FLAGS_GET_INTERP((flags)) == DISCRETE)) +#define MEOS_FLAGS_STEP_INTERP(flags) ((bool) (MEOS_FLAGS_GET_INTERP((flags)) == STEP)) +#define MEOS_FLAGS_LINEAR_INTERP(flags) ((bool) (MEOS_FLAGS_GET_INTERP((flags)) == LINEAR)) +#define MEOS_FLAGS_STEP_LINEAR_INTERP(flags) \ + ((bool) (MEOS_FLAGS_GET_INTERP((flags)) == STEP || MEOS_FLAGS_GET_INTERP((flags)) == LINEAR)) + +/***************************************************************************** + * Macros for speeding up access to component values + *****************************************************************************/ + +/* Macros for speeding up access to component values of sets and span sets */ + +#if DEBUG_BUILD +extern void *SET_BBOX_PTR(const Set *s); +extern size_t *SET_OFFSETS_PTR(const Set *s); +extern Datum SET_VAL_N(const Set *s, int index); +extern const Span *SPANSET_SP_N(const SpanSet *ss, int index); +#else +/** + * @brief Return a pointer to the bounding box of a set (if any) + */ +#define SET_BBOX_PTR(s) ( (void *)( \ + ((char *) (s)) + DOUBLE_PAD(sizeof(Set)) ) ) + +/** + * @brief Return a pointer to the offsets array of a set + */ +#define SET_OFFSETS_PTR(s) ( (size_t *)( \ + ((char *) (s)) + DOUBLE_PAD(sizeof(Set)) + DOUBLE_PAD((s)->bboxsize) ) ) + +/** + * @brief Return the n-th value of a set + * @pre The argument @p index is less than the number of values in the set + */ +#define SET_VAL_N(s, index) ( (Datum) ( \ + MEOS_FLAGS_GET_BYVAL((s)->flags) ? (SET_OFFSETS_PTR(s))[index] : \ + PointerGetDatum( ((char *) (s)) + DOUBLE_PAD(sizeof(Set)) + \ + DOUBLE_PAD((s)->bboxsize) + (sizeof(size_t) * (s)->maxcount) + \ + (SET_OFFSETS_PTR(s))[index] ) ) ) + +/** + * @brief Return the n-th span of a span set. + * @pre The argument @p index is less than the number of spans in the span set + * @note This is the macro equivalent to #spanset_span_n. + * This function does not verify that the index is is in the correct bounds + */ +#define SPANSET_SP_N(ss, index) (const Span *) &((ss)->elems[(index)]) +#endif + +/*****************************************************************************/ + +/* Macros for speeding up access to components of temporal sequences (sets)*/ + +#if DEBUG_BUILD +extern size_t *TSEQUENCE_OFFSETS_PTR(const TSequence *seq); +extern const TInstant *TSEQUENCE_INST_N(const TSequence *seq, int index); +extern size_t *TSEQUENCESET_OFFSETS_PTR(const TSequenceSet *ss); +extern const TSequence *TSEQUENCESET_SEQ_N(const TSequenceSet *ss, int index); +#else +/** + * @brief Return a pointer to the offsets array of a temporal sequence + * @note The period component of the bbox is already declared in the struct + */ +#define TSEQUENCE_OFFSETS_PTR(seq) ( (size_t *)( \ + ((char *) &((seq)->period)) + (seq)->bboxsize ) ) + +/** + * @brief Return the n-th instant of a temporal sequence. + * @note The period component of the bbox is already declared in the struct + * @pre The argument @p index is less than the number of instants in the + * sequence + */ +#define TSEQUENCE_INST_N(seq, index) ( (const TInstant *)( \ + ((char *) &((seq)->period)) + (seq)->bboxsize + \ + (sizeof(size_t) * (seq)->maxcount) + (TSEQUENCE_OFFSETS_PTR(seq))[index] ) ) + +/** + * @brief Return a pointer to the offsets array of a temporal sequence set + * @note The period component of the bbox is already declared in the struct + */ +#define TSEQUENCESET_OFFSETS_PTR(ss) ( (size_t *)( \ + ((char *) &((ss)->period)) + (ss)->bboxsize ) ) + +/** + * @brief Return the n-th sequence of a temporal sequence set + * @note The period component of the bbox is already declared in the struct + * @pre The argument @p index is less than the number of sequences in the + * sequence set + */ +#define TSEQUENCESET_SEQ_N(ss, index) ( (const TSequence *)( \ + ((char *) &((ss)->period)) + (ss)->bboxsize + \ + (sizeof(size_t) * (ss)->maxcount) + (TSEQUENCESET_OFFSETS_PTR(ss))[index] ) ) +#endif /* DEBUG_BUILD */ + +/*****************************************************************************/ + +/* Structure of an expandable arrays used in particular to avoid parsing twice + * a MEOS value input in text format */ + +#define MEOS_ARRAY_INITIAL_SIZE 256 + +/** + * @brief Structure of an expandable arrays used in particular to avoid parsing + * twice a MEOS value input in text format + */ +typedef struct MeosArray +{ + size_t capacity; /**< Total capacity in number of elements */ + size_t count; /**< Number of elements currently in use */ + size_t elem_size; /**< Size of a single element in bytes */ + bool varlength; /**< True if elements are pointers (stored as Datums); + the array does not own the pointed-to memory */ + void *elems; /**< Pointer to the array elements */ +} MeosArray; + + +/*****************************************************************************/ + +/** + * Structure to represent skiplist elements + */ + +#define SKIPLIST_MAXLEVEL 32 /**< maximum possible is 47 with current RNG */ + +typedef struct +{ + void *key; + void *value; + int height; + int next[SKIPLIST_MAXLEVEL]; +} SkipListElem; + +/** + * Structure to represent skiplists that keep the current state of an aggregation + */ +struct SkipList +{ + size_t key_size; /**< Size in bytes of the keys */ + size_t value_size; /**< Size in bytes of the values */ + int capacity; /**< Maximum number of elements */ + int length; /**< Number of elements */ + int next; /**< Index of the next free element */ + int tail; /**< Index of the tail element */ + int *freed; /**< Array of index values of deleted elements */ + int freecount; /**< Number of deleted elements */ + int freecap; /**< Maximum number of deleted elements */ + void *extra; /**< Pointer to additional data needed for processing */ + size_t extrasize; /**< Size of additional data needed for processing */ + int (*comp_fn)(void *, void *); /**< Comparison function for the elements */ + void *(*merge_fn)(void *, void *); /**< Merge function for the elements */ + SkipListElem *elems; /**< Array of elements */ +}; + +/** + * @brief Enumeration for the relative position of a given element into a + * skiplist + */ +typedef enum +{ + TEMPORAL, + KEYVALUE +} SkipListType; + +/***************************************************************************** + * Definition of a function with one to three Datum arguments and returning + * a Datum + *****************************************************************************/ + +typedef Datum (*datum_func1) (Datum); +typedef Datum (*datum_func2) (Datum, Datum); +typedef Datum (*datum_func3) (Datum, Datum, Datum); + +/***************************************************************************** + * Internal function accessing the Gnu Scientic Library (GSL) + *****************************************************************************/ + +extern gsl_rng *gsl_get_generation_rng(void); +extern gsl_rng *gsl_get_aggregation_rng(void); + +/***************************************************************************** + * Generic type functions + *****************************************************************************/ + +#if MEOS +#define TimestampTzGetDatum(X) Int64GetDatum(X) +#define DatumGetTimestampTz(X)((TimestampTz) DatumGetInt64(X)) +#endif /* MEOS */ + +extern Datum datum_ceil(Datum d); +extern Datum datum_degrees(Datum d, Datum normalize); +extern Datum datum_float_round(Datum value, Datum size); +extern Datum datum_floor(Datum d); +extern uint32 datum_hash(Datum d, MeosType basetype); +extern uint64 datum_hash_extended(Datum d, MeosType basetype, uint64 seed); +extern Datum datum_radians(Datum d); +extern void floatspan_round_set(const Span *s, int maxdd, Span *result); + +/***************************************************************************** + * Functions for set and span types + *****************************************************************************/ + +/* Input and output functions for set and span types */ + +extern Set *set_in(const char *str, MeosType basetype); +extern char *set_out(const Set *s, int maxdd); +extern Span *span_in(const char *str, MeosType spantype); +extern char *span_out(const Span *s, int maxdd); +extern SpanSet *spanset_in(const char *str, MeosType spantype); +extern char *spanset_out(const SpanSet *ss, int maxdd); + +/*****************************************************************************/ + +/* Constructor functions for set and span types */ + +extern Set *set_make(const Datum *values, int count, MeosType basetype, bool order); +extern Set *set_make_exp(const Datum *values, int count, int maxcount, MeosType basetype, bool order); +extern Set *set_make_free(Datum *values, int count, MeosType basetype, bool order); +extern Span *span_make(Datum lower, Datum upper, bool lower_inc, bool upper_inc, MeosType basetype); +extern void span_set(Datum lower, Datum upper, bool lower_inc, bool upper_inc, MeosType basetype, MeosType spantype, Span *s); +extern SpanSet *spanset_make_exp(Span *spans, int count, int maxcount, bool normalize, bool order); +extern SpanSet *spanset_make_free(Span *spans, int count, bool normalize, bool order); + +/*****************************************************************************/ + +/* Conversion functions for set and span types */ + +extern Span *set_span(const Set *s); +extern SpanSet *set_spanset(const Set *s); +extern void value_set_span(Datum value, MeosType basetype, Span *s); +extern Set *value_set(Datum d, MeosType basetype); +extern Span *value_span(Datum d, MeosType basetype); +extern SpanSet *value_spanset(Datum d, MeosType basetype); + +/*****************************************************************************/ + +/* Accessor functions for set and span types */ + +extern Datum numspan_width(const Span *s); +extern Datum numspanset_width(const SpanSet *ss, bool boundspan); +extern Datum set_end_value(const Set *s); +extern int set_mem_size(const Set *s); +extern void set_set_subspan(const Set *s, int minidx, int maxidx, Span *result); +extern void set_set_span(const Set *s, Span *result); +extern Datum set_start_value(const Set *s); +extern bool set_value_n(const Set *s, int n, Datum *result); +extern Datum *set_vals(const Set *s); +extern Datum *set_values(const Set *s); +extern Datum spanset_lower(const SpanSet *ss); +extern int spanset_mem_size(const SpanSet *ss); +extern const Span **spanset_sps(const SpanSet *ss); +extern Datum spanset_upper(const SpanSet *ss); + +/*****************************************************************************/ + +/* Transformation functions for set and span types */ + +extern void bigintspan_set_floatspan(const Span *s1, Span *s2); +extern void bigintspan_set_intspan(const Span *s1, Span *s2); +extern void datespan_set_tstzspan(const Span *s1, Span *s2); +extern void floatspan_set_bigintspan(const Span *s1, Span *s2); +extern void floatspan_set_intspan(const Span *s1, Span *s2); +extern void intspan_set_bigintspan(const Span *s1, Span *s2); +extern void intspan_set_floatspan(const Span *s1, Span *s2); +extern Set *numset_shift_scale(const Set *s, Datum shift, Datum width, bool hasshift, bool haswidth); +extern Span *numspan_expand(const Span *s, Datum value); +extern Span *numspan_shift_scale(const Span *s, Datum shift, Datum width, bool hasshift, bool haswidth); +extern SpanSet *numspanset_shift_scale(const SpanSet *ss, Datum shift, Datum width, bool hasshift, bool haswidth); +extern Set *set_compact(const Set *s); +extern void span_expand(const Span *s1, Span *s2); +extern SpanSet *spanset_compact(const SpanSet *ss); +extern TBox *tbox_expand_value(const TBox *box, Datum value, MeosType basetyp); +extern Set *textcat_textset_text_common(const Set *s, const text *txt, bool invert); +extern void tstzspan_set_datespan(const Span *s1, Span *s2); + +/***************************************************************************** + * Comparison functions for set and span types + *****************************************************************************/ + + +/***************************************************************************** + * Bounding box functions for set and span types + *****************************************************************************/ + +/* Topological functions for set and span types */ + +extern bool adjacent_span_value(const Span *s, Datum value); +extern bool adjacent_spanset_value(const SpanSet *ss, Datum value); +extern bool adjacent_value_spanset(Datum value, const SpanSet *ss); +extern bool contained_value_set(Datum value, const Set *s); +extern bool contained_value_span(Datum value, const Span *s); +extern bool contained_value_spanset(Datum value, const SpanSet *ss); +extern bool contains_set_value(const Set *s, Datum value); +extern bool contains_span_value(const Span *s, Datum value); +extern bool contains_spanset_value(const SpanSet *ss, Datum value); +extern bool ovadj_span_span(const Span *s1, const Span *s2); + +/*****************************************************************************/ + +/* Position functions for set and span types */ + +extern bool left_set_value(const Set *s, Datum value); +extern bool left_span_value(const Span *s, Datum value); +extern bool left_spanset_value(const SpanSet *ss, Datum value); +extern bool left_value_set(Datum value, const Set *s); +extern bool left_value_span(Datum value, const Span *s); +extern bool left_value_spanset(Datum value, const SpanSet *ss); +extern bool lfnadj_span_span(const Span *s1, const Span *s2); +extern bool overleft_set_value(const Set *s, Datum value); +extern bool overleft_span_value(const Span *s, Datum value); +extern bool overleft_spanset_value(const SpanSet *ss, Datum value); +extern bool overleft_value_set(Datum value, const Set *s); +extern bool overleft_value_span(Datum value, const Span *s); +extern bool overleft_value_spanset(Datum value, const SpanSet *ss); +extern bool overright_set_value(const Set *s, Datum value); +extern bool overright_span_value(const Span *s, Datum value); +extern bool overright_spanset_value(const SpanSet *ss, Datum value); +extern bool overright_value_set(Datum value, const Set *s); +extern bool overright_value_span(Datum value, const Span *s); +extern bool overright_value_spanset(Datum value, const SpanSet *ss); +extern bool right_value_set(Datum value, const Set *s); +extern bool right_set_value(const Set *s, Datum value); +extern bool right_value_span(Datum value, const Span *s); +extern bool right_value_spanset(Datum value, const SpanSet *ss); +extern bool right_span_value(const Span *s, Datum value); +extern bool right_spanset_value(const SpanSet *ss, Datum value); + +/*****************************************************************************/ + +/* Functions on generic bounding boxes of temporal types */ + +extern bool bbox_type(MeosType bboxtype); +extern size_t bbox_get_size(MeosType bboxtype); +extern int bbox_max_dims(MeosType bboxtype); +extern bool temporal_bbox_eq(const void *box1, const void *box2, + MeosType temptype); +extern int temporal_bbox_cmp(const void *box1, const void *box2, + MeosType temptype); + +/* Set functions for set and span types */ + +extern void bbox_union_span_span(const Span *s1, const Span *s2, Span *result); +extern bool inter_span_span(const Span *s1, const Span *s2, Span *result); +extern Set *intersection_set_value(const Set *s, Datum value); +extern Span *intersection_span_value(const Span *s, Datum value); +extern SpanSet *intersection_spanset_value(const SpanSet *ss, Datum value); +extern Set *intersection_value_set(Datum value, const Set *s); +extern Span *intersection_value_span(Datum value, const Span *s); +extern SpanSet *intersection_value_spanset(Datum value, const SpanSet *ss); +extern int mi_span_span(const Span *s1, const Span *s2, Span *result); +extern Set *minus_set_value(const Set *s, Datum value); +extern SpanSet *minus_span_value(const Span *s, Datum value); +extern SpanSet *minus_spanset_value(const SpanSet *ss, Datum value); +extern Set *minus_value_set(Datum value, const Set *s); +extern SpanSet *minus_value_span(Datum value, const Span *s); +extern SpanSet *minus_value_spanset(Datum value, const SpanSet *ss); +extern Span *super_union_span_span(const Span *s1, const Span *s2); +extern Set *union_set_value(const Set *s, Datum value); +extern SpanSet *union_span_value(const Span *s, Datum value); +extern SpanSet *union_spanset_value(const SpanSet *ss, Datum value); +extern Set *union_value_set(Datum value, const Set *s); +extern SpanSet *union_value_span(Datum value, const Span *s); +extern SpanSet *union_value_spanset(Datum value, const SpanSet *ss); + +/*****************************************************************************/ + +/* Distance functions for set and span types */ + +extern Datum distance_set_set(const Set *s1, const Set *s2); +extern Datum distance_set_value(const Set *s, Datum value); +extern Datum distance_span_span(const Span *s1, const Span *s2); +extern Datum distance_span_value(const Span *s, Datum value); +extern Datum distance_spanset_span(const SpanSet *ss, const Span *s); +extern Datum distance_spanset_spanset(const SpanSet *ss1, const SpanSet *ss2); +extern Datum distance_spanset_value(const SpanSet *ss, Datum value); +extern Datum distance_value_value(Datum l, Datum r, MeosType basetype); + +/*****************************************************************************/ + +/* Aggregate functions for set and span types */ + +extern Span *spanbase_extent_transfn(Span *state, Datum value, MeosType basetype); +extern Set *value_union_transfn(Set *state, Datum value, MeosType basetype); + +/****************************************************************************** + * Functions for box types + *****************************************************************************/ + +/* Constructor functions for box types */ + +extern TBox *number_tstzspan_to_tbox(Datum d, MeosType basetype, const Span *s); +extern TBox *number_timestamptz_to_tbox(Datum d, MeosType basetype, TimestampTz t); +extern void tbox_set(const Span *s, const Span *p, TBox *box); + +/*****************************************************************************/ + +/* Conversion functions for box types */ + +extern void float_set_tbox(double d, TBox *box); +extern void int_set_tbox(int i, TBox *box); +extern void number_set_tbox(Datum d, MeosType basetype, TBox *box); +extern TBox *number_tbox(Datum value, MeosType basetype); +extern void numset_set_tbox(const Set *s, TBox *box); +extern void numspan_set_tbox(const Span *span, TBox *box); +extern void timestamptz_set_tbox(TimestampTz t, TBox *box); +extern void tstzset_set_tbox(const Set *s, TBox *box); +extern void tstzspan_set_tbox(const Span *s, TBox *box); + +/*****************************************************************************/ + +/* Accessor functions for box types */ + + +/*****************************************************************************/ + +/* Transformation functions for box types */ + +extern TBox *tbox_shift_scale_value(const TBox *box, Datum shift, Datum width, bool hasshift, bool haswidth); +extern void tbox_expand(const TBox *box1, TBox *box2); + +/*****************************************************************************/ + +/* Set functions for box types */ + +extern bool inter_tbox_tbox(const TBox *box1, const TBox *box2, TBox *result); + +/***************************************************************************** + * Functions for temporal types + *****************************************************************************/ + +/* Input and output functions for temporal types */ + +extern TInstant *tboolinst_from_mfjson(json_object *mfjson); +extern TInstant *tboolinst_in(const char *str); +extern TSequence *tboolseq_from_mfjson(json_object *mfjson); +extern TSequence *tboolseq_in(const char *str, interpType interp); +extern TSequenceSet *tboolseqset_from_mfjson(json_object *mfjson); +extern TSequenceSet *tboolseqset_in(const char *str); +extern Temporal *temporal_in(const char *str, MeosType temptype); +extern char *temporal_out(const Temporal *temp, int maxdd); +extern char **temparr_out(Temporal **temparr, int count, int maxdd); +extern TInstant *tfloatinst_from_mfjson(json_object *mfjson); +extern TInstant *tfloatinst_in(const char *str); +extern TSequence *tfloatseq_from_mfjson(json_object *mfjson, interpType interp); +extern TSequence *tfloatseq_in(const char *str, interpType interp); +extern TSequenceSet *tfloatseqset_from_mfjson(json_object *mfjson, interpType interp); +extern TSequenceSet *tfloatseqset_in(const char *str); +extern TInstant *tinstant_from_mfjson(json_object *mfjson, bool spatial, int32_t srid, MeosType temptype); +extern TInstant *tinstant_in(const char *str, MeosType temptype); +extern char *tinstant_out(const TInstant *inst, int maxdd); +extern TInstant *tintinst_from_mfjson(json_object *mfjson); +extern TInstant *tintinst_in(const char *str); +extern TSequence *tintseq_from_mfjson(json_object *mfjson); +extern TSequence *tintseq_in(const char *str, interpType interp); +extern TSequenceSet *tintseqset_from_mfjson(json_object *mfjson); +extern TSequenceSet *tintseqset_in(const char *str); +extern TSequence *tsequence_from_mfjson(json_object *mfjson, bool spatial, int32_t srid, MeosType temptype, interpType interp); +extern TSequence *tsequence_in(const char *str, MeosType temptype, interpType interp); +extern char *tsequence_out(const TSequence *seq, int maxdd); +extern TSequenceSet *tsequenceset_from_mfjson(json_object *mfjson, bool spatial, int32_t srid, MeosType temptype, interpType interp); +extern TSequenceSet *tsequenceset_in(const char *str, MeosType temptype, interpType interp); +extern char *tsequenceset_out(const TSequenceSet *ss, int maxdd); +extern TInstant *ttextinst_from_mfjson(json_object *mfjson); +extern TInstant *ttextinst_in(const char *str); +extern TSequence *ttextseq_from_mfjson(json_object *mfjson); +extern TSequence *ttextseq_in(const char *str, interpType interp); +extern TSequenceSet *ttextseqset_from_mfjson(json_object *mfjson); +extern TSequenceSet *ttextseqset_in(const char *str); +extern Temporal *temporal_from_mfjson(const char *mfjson, MeosType temptype); + +/*****************************************************************************/ + +/* Constructor functions for temporal types */ + +extern Temporal *temporal_from_base_temp(Datum value, MeosType temptype, const Temporal *temp); +extern TInstant *tinstant_copy(const TInstant *inst); +extern TInstant *tinstant_make(Datum value, MeosType temptype, TimestampTz t); +extern TInstant *tinstant_make_free(Datum value, MeosType temptype, TimestampTz t); +extern TSequence *tsequence_copy(const TSequence *seq); +extern TSequence *tsequence_from_base_temp(Datum value, MeosType temptype, const TSequence *seq); +extern TSequence *tsequence_from_base_tstzset(Datum value, MeosType temptype, const Set *s); +extern TSequence *tsequence_from_base_tstzspan(Datum value, MeosType temptype, const Span *s, interpType interp); +extern TSequence *tsequence_make_exp(TInstant **instants, int count, int maxcount, bool lower_inc, bool upper_inc, interpType interp, bool normalize); +extern TSequence *tsequence_make_free(TInstant **instants, int count, bool lower_inc, bool upper_inc, interpType interp, bool normalize); +extern TSequenceSet *tsequenceset_copy(const TSequenceSet *ss); +extern TSequenceSet *tseqsetarr_to_tseqset(TSequenceSet **seqsets, int count, int totalseqs); +extern TSequenceSet *tsequenceset_from_base_temp(Datum value, MeosType temptype, const TSequenceSet *ss); +extern TSequenceSet *tsequenceset_from_base_tstzspanset(Datum value, MeosType temptype, const SpanSet *ss, interpType interp); +extern TSequenceSet *tsequenceset_make_exp(TSequence **sequences, int count, int maxcount, bool normalize); +extern TSequenceSet *tsequenceset_make_free(TSequence **sequences, int count, bool normalize); + +/*****************************************************************************/ + +/* Conversion functions for temporal types */ + +extern void temporal_set_tstzspan(const Temporal *temp, Span *s); +extern void tinstant_set_tstzspan(const TInstant *inst, Span *s); +extern void tnumber_set_tbox(const Temporal *temp, TBox *box); +extern void tnumberinst_set_tbox(const TInstant *inst, TBox *box); +extern void tnumberseq_set_tbox(const TSequence *seq, TBox *box); +extern void tnumberseqset_set_tbox(const TSequenceSet *ss, TBox *box); +extern void tsequence_set_tstzspan(const TSequence *seq, Span *s); +extern void tsequenceset_set_tstzspan(const TSequenceSet *ss, Span *s); + +/*****************************************************************************/ + +/* Accessor functions for temporal types */ + +extern const TInstant *temporal_end_inst(const Temporal *temp); +extern Datum temporal_end_value(const Temporal *temp); +extern const TInstant *temporal_inst_n(const Temporal *temp, int n); +extern const TInstant **temporal_insts_p(const Temporal *temp, int *count); +extern const TInstant *temporal_max_inst_p(const Temporal *temp); +extern Datum temporal_max_value(const Temporal *temp); +extern size_t temporal_mem_size(const Temporal *temp); +extern const TInstant *temporal_min_inst_p(const Temporal *temp); +extern Datum temporal_min_value(const Temporal *temp); +extern const TSequence **temporal_sequences_p(const Temporal *temp, int *count); +extern void temporal_set_bbox(const Temporal *temp, void *box); +extern const TInstant *temporal_start_inst(const Temporal *temp); +extern Datum temporal_start_value(const Temporal *temp); +extern Datum *temporal_values_p(const Temporal *temp, int *count); +extern bool temporal_value_n(const Temporal *temp, int n, Datum *result); +extern Datum *temporal_values(const Temporal *temp, int *count); +extern uint32 tinstant_hash(const TInstant *inst); +extern const TInstant **tinstant_insts(const TInstant *inst, int *count); +extern void tinstant_set_bbox(const TInstant *inst, void *box); +extern SpanSet *tinstant_time(const TInstant *inst); +extern TimestampTz *tinstant_timestamps(const TInstant *inst, int *count); +extern Datum tinstant_value_p(const TInstant *inst); +extern Datum tinstant_value(const TInstant *inst); +extern bool tinstant_value_at_timestamptz(const TInstant *inst, TimestampTz t, Datum *result); +extern Datum *tinstant_values_p(const TInstant *inst, int *count); +extern void tnumber_set_span(const Temporal *temp, Span *span); +extern SpanSet *tnumberinst_valuespans(const TInstant *inst); +extern double tnumberseq_avg_val(const TSequence *seq); +extern SpanSet *tnumberseq_valuespans(const TSequence *seq); +extern double tnumberseqset_avg_val(const TSequenceSet *ss); +extern SpanSet *tnumberseqset_valuespans(const TSequenceSet *ss); +extern Interval *tsequence_duration(const TSequence *seq); +extern TimestampTz tsequence_end_timestamptz(const TSequence *seq); +extern uint32 tsequence_hash(const TSequence *seq); +extern const TInstant **tsequence_insts_p(const TSequence *seq); +extern const TInstant *tsequence_max_inst_p(const TSequence *seq); +extern Datum tsequence_max_val(const TSequence *seq); +extern const TInstant *tsequence_min_inst_p(const TSequence *seq); +extern Datum tsequence_min_val(const TSequence *seq); +extern TSequence **tsequence_segments(const TSequence *seq, int *count); +extern const TSequence **tsequence_seqs(const TSequence *seq, int *count); +extern TimestampTz tsequence_start_timestamptz(const TSequence *seq); +extern SpanSet *tsequence_time(const TSequence *seq); +extern TimestampTz *tsequence_timestamps(const TSequence *seq, int *count); +extern bool tsequence_value_at_timestamptz(const TSequence *seq, TimestampTz t, bool strict, Datum *result); +extern Datum *tsequence_values_p(const TSequence *seq, int *count); +extern Interval *tsequenceset_duration(const TSequenceSet *ss, bool boundspan); +extern TimestampTz tsequenceset_end_timestamptz(const TSequenceSet *ss); +extern uint32 tsequenceset_hash(const TSequenceSet *ss); +extern const TInstant *tsequenceset_inst_n(const TSequenceSet *ss, int n); +extern const TInstant **tsequenceset_insts_p(const TSequenceSet *ss); +extern const TInstant *tsequenceset_max_inst_p(const TSequenceSet *ss); +extern Datum tsequenceset_max_val(const TSequenceSet *ss); +extern const TInstant *tsequenceset_min_inst_p(const TSequenceSet *ss); +extern Datum tsequenceset_min_val(const TSequenceSet *ss); +extern int tsequenceset_num_instants(const TSequenceSet *ss); +extern int tsequenceset_num_timestamps(const TSequenceSet *ss); +extern TSequence **tsequenceset_segments(const TSequenceSet *ss, int *count); +extern const TSequence **tsequenceset_sequences_p(const TSequenceSet *ss); +extern TimestampTz tsequenceset_start_timestamptz(const TSequenceSet *ss); +extern SpanSet *tsequenceset_time(const TSequenceSet *ss); +extern bool tsequenceset_timestamptz_n(const TSequenceSet *ss, int n, TimestampTz *result); +extern TimestampTz *tsequenceset_timestamps(const TSequenceSet *ss, int *count); +extern bool tsequenceset_value_at_timestamptz(const TSequenceSet *ss, TimestampTz t, bool strict, Datum *result); +extern bool tsequenceset_value_n(const TSequenceSet *ss, int n, Datum *result); +extern Datum *tsequenceset_values_p(const TSequenceSet *ss, int *count); + +/*****************************************************************************/ + +/* Transformation functions for temporal types */ + +extern void temporal_restart(Temporal *temp, int count); +extern TSequence *temporal_tsequence(const Temporal *temp, interpType interp); +extern TSequenceSet *temporal_tsequenceset(const Temporal *temp, interpType interp); +extern TInstant *tinstant_shift_time(const TInstant *inst, const Interval *interv); +extern TSequence *tinstant_to_tsequence(const TInstant *inst, interpType interp); +extern TSequence *tinstant_to_tsequence_free(TInstant *inst, interpType interp); +extern TSequenceSet *tinstant_to_tsequenceset(const TInstant *inst, interpType interp); +extern Temporal *tnumber_shift_scale_value(const Temporal *temp, Datum shift, Datum width, bool hasshift, bool haswidth); +extern TInstant *tnumberinst_shift_value(const TInstant *inst, Datum shift); +extern TSequence *tnumberseq_shift_scale_value(const TSequence *seq, Datum shift, Datum width, bool hasshift, bool haswidth); +extern TSequenceSet *tnumberseqset_shift_scale_value(const TSequenceSet *ss, Datum start, Datum width, bool hasshift, bool haswidth); +extern void tsequence_restart(TSequence *seq, int count); +extern Temporal *tsequence_set_interp(const TSequence *seq, interpType interp); +extern TSequence *tsequence_shift_scale_time(const TSequence *seq, const Interval *shift, const Interval *duration); +extern TSequence *tsequence_subseq(const TSequence *seq, int from, int to, bool lower_inc, bool upper_inc); +extern TInstant *tsequence_to_tinstant(const TSequence *seq); +extern TSequenceSet *tsequence_to_tsequenceset(const TSequence *seq); +extern TSequenceSet *tsequence_to_tsequenceset_free(TSequence *seq); +extern TSequenceSet *tsequence_to_tsequenceset_interp(const TSequence *seq, interpType interp); +extern void tsequenceset_restart(TSequenceSet *ss, int count); +extern Temporal *tsequenceset_set_interp(const TSequenceSet *ss, interpType interp); +extern TSequenceSet *tsequenceset_shift_scale_time(const TSequenceSet *ss, const Interval *start, const Interval *duration); +extern TSequence *tsequenceset_to_discrete(const TSequenceSet *ss); +extern TSequenceSet *tsequenceset_to_linear(const TSequenceSet *ss); +extern TSequenceSet *tsequenceset_to_step(const TSequenceSet *ss); +extern TInstant *tsequenceset_to_tinstant(const TSequenceSet *ss); +extern TSequence *tsequenceset_to_tsequence(const TSequenceSet *ss); + +/*****************************************************************************/ + +/* Modification functions for temporal types */ + +extern Temporal *tinstant_merge(const TInstant *inst1, const TInstant *inst2); +extern Temporal *tinstant_merge_array(TInstant **instants, int count); +extern Temporal *tsequence_append_tinstant(TSequence *seq, const TInstant *inst, double maxdist, const Interval *maxt, bool expand); +extern Temporal *tsequence_append_tsequence(const TSequence *seq1, const TSequence *seq2, bool expand); +extern Temporal *tsequence_delete_timestamptz(const TSequence *seq, TimestampTz t, bool connect); +extern Temporal *tsequence_delete_tstzset(const TSequence *seq, const Set *s, bool connect); +extern Temporal *tsequence_delete_tstzspan(const TSequence *seq, const Span *s, bool connect); +extern Temporal *tsequence_delete_tstzspanset(const TSequence *seq, const SpanSet *ss, bool connect); +extern Temporal *tsequence_insert(const TSequence *seq1, const TSequence *seq2, bool connect); +extern Temporal *tsequence_merge(const TSequence *seq1, const TSequence *seq2); +extern Temporal *tsequence_merge_array(TSequence **sequences, int count); +extern TSequenceSet *tsequenceset_append_tinstant(TSequenceSet *ss, const TInstant *inst, double maxdist, const Interval *maxt, bool expand); +extern TSequenceSet *tsequenceset_append_tsequence(TSequenceSet *ss, const TSequence *seq, bool expand); +extern TSequenceSet *tsequenceset_delete_timestamptz(const TSequenceSet *ss, TimestampTz t); +extern TSequenceSet *tsequenceset_delete_tstzset(const TSequenceSet *ss, const Set *s); +extern TSequenceSet *tsequenceset_delete_tstzspan(const TSequenceSet *ss, const Span *s); +extern TSequenceSet *tsequenceset_delete_tstzspanset(const TSequenceSet *ss, const SpanSet *ps); +extern TSequenceSet *tsequenceset_insert(const TSequenceSet *ss1, const TSequenceSet *ss2); +extern TSequenceSet *tsequenceset_merge(const TSequenceSet *ss1, const TSequenceSet *ss2); +extern TSequenceSet *tsequenceset_merge_array(TSequenceSet **seqsets, int count); + +/*****************************************************************************/ + +/* Bounding box functions for temporal types */ + +extern void tsequence_expand_bbox(TSequence *seq, const TInstant *inst); +extern void tsequence_set_bbox(const TSequence *seq, void *box); +extern void tsequenceset_expand_bbox(TSequenceSet *ss, const TSequence *seq); +extern void tsequenceset_set_bbox(const TSequenceSet *ss, void *box); + +/*****************************************************************************/ + +/* Restriction functions for temporal types */ + +extern TSequence *tcontseq_after_timestamptz(const TSequence *seq, TimestampTz t, bool strict); +extern TSequence *tcontseq_before_timestamptz(const TSequence *seq, TimestampTz t, bool strict); +extern TSequenceSet *tcontseq_restrict_minmax(const TSequence *seq, bool min, bool atfunc); +extern TSequence *tdiscseq_after_timestamptz(const TSequence *seq, TimestampTz t, bool strict); +extern TSequence *tdiscseq_before_timestamptz(const TSequence *seq, TimestampTz t, bool strict); +extern TSequence *tdiscseq_restrict_minmax(const TSequence *seq, bool min, bool atfunc); +extern bool temporal_bbox_restrict_set(const Temporal *temp, const Set *set); +extern Temporal *temporal_restrict_minmax(const Temporal *temp, bool min, bool atfunc); +extern Temporal *temporal_restrict_timestamptz(const Temporal *temp, TimestampTz t, bool atfunc); +extern Temporal *temporal_restrict_tstzset(const Temporal *temp, const Set *s, bool atfunc); +extern Temporal *temporal_restrict_tstzspan(const Temporal *temp, const Span *s, bool atfunc); +extern Temporal *temporal_restrict_tstzspanset(const Temporal *temp, const SpanSet *ss, bool atfunc); +extern Temporal *temporal_restrict_value(const Temporal *temp, Datum value, bool atfunc); +extern Temporal *temporal_restrict_values(const Temporal *temp, const Set *set, bool atfunc); +extern bool temporal_value_at_timestamptz(const Temporal *temp, TimestampTz t, bool strict, Datum *result); +extern TInstant *tinstant_after_timestamptz(const TInstant *inst, TimestampTz t, bool strict); +extern TInstant *tinstant_before_timestamptz(const TInstant *inst, TimestampTz t, bool strict); +extern TInstant *tinstant_restrict_tstzspan(const TInstant *inst, const Span *period, bool atfunc); +extern TInstant *tinstant_restrict_tstzspanset(const TInstant *inst, const SpanSet *ss, bool atfunc); +extern TInstant *tinstant_restrict_timestamptz(const TInstant *inst, TimestampTz t, bool atfunc); +extern TInstant *tinstant_restrict_tstzset(const TInstant *inst, const Set *s, bool atfunc); +extern TInstant *tinstant_restrict_value(const TInstant *inst, Datum value, bool atfunc); +extern TInstant *tinstant_restrict_values(const TInstant *inst, const Set *set, bool atfunc); +extern Temporal *tnumber_restrict_span(const Temporal *temp, const Span *span, bool atfunc); +extern Temporal *tnumber_restrict_spanset(const Temporal *temp, const SpanSet *ss, bool atfunc); +extern TInstant *tnumberinst_restrict_span(const TInstant *inst, const Span *span, bool atfunc); +extern TInstant *tnumberinst_restrict_spanset(const TInstant *inst, const SpanSet *ss, bool atfunc); +extern TSequenceSet *tnumberseqset_restrict_span(const TSequenceSet *ss, const Span *span, bool atfunc); +extern TSequenceSet *tnumberseqset_restrict_spanset(const TSequenceSet *ss, const SpanSet *spanset, bool atfunc); +extern TInstant *tsequence_at_timestamptz(const TSequence *seq, TimestampTz t); +extern Temporal *tsequence_restrict_tstzspan(const TSequence *seq, const Span *s, bool atfunc); +extern Temporal *tsequence_restrict_tstzspanset(const TSequence *seq, const SpanSet *ss, bool atfunc); +extern TSequenceSet *tsequenceset_after_timestamptz(const TSequenceSet *ss, TimestampTz t, bool strict); +extern TSequenceSet *tsequenceset_before_timestamptz(const TSequenceSet *ss, TimestampTz t, bool strict); +extern TSequenceSet *tsequenceset_restrict_minmax(const TSequenceSet *ss, bool min, bool atfunc); +extern TSequenceSet *tsequenceset_restrict_tstzspan(const TSequenceSet *ss, const Span *s, bool atfunc); +extern TSequenceSet *tsequenceset_restrict_tstzspanset(const TSequenceSet *ss, const SpanSet *ps, bool atfunc); +extern Temporal *tsequenceset_restrict_timestamptz(const TSequenceSet *ss, TimestampTz t, bool atfunc); +extern Temporal *tsequenceset_restrict_tstzset(const TSequenceSet *ss, const Set *s, bool atfunc); +extern TSequenceSet *tsequenceset_restrict_value(const TSequenceSet *ss, Datum value, bool atfunc); +extern TSequenceSet *tsequenceset_restrict_values(const TSequenceSet *ss, const Set *s, bool atfunc); + +/*****************************************************************************/ + +/* Traditional comparison functions for temporal types */ + +extern int tinstant_cmp(const TInstant *inst1, const TInstant *inst2); +extern bool tinstant_eq(const TInstant *inst1, const TInstant *inst2); +extern int tsequence_cmp(const TSequence *seq1, const TSequence *seq2); +extern bool tsequence_eq(const TSequence *seq1, const TSequence *seq2); +extern int tsequenceset_cmp(const TSequenceSet *ss1, const TSequenceSet *ss2); +extern bool tsequenceset_eq(const TSequenceSet *ss1, const TSequenceSet *ss2); + +/*****************************************************************************/ + +/* Ever/always functions for temporal types */ + +extern int always_eq_base_temporal(Datum value, const Temporal *temp); +extern int always_eq_temporal_base(const Temporal *temp, Datum value); +extern int always_ne_base_temporal(Datum value, const Temporal *temp); +extern int always_ne_temporal_base(const Temporal *temp, Datum value); +extern int always_ge_base_temporal(Datum value, const Temporal *temp); +extern int always_ge_temporal_base(const Temporal *temp, Datum value); +extern int always_gt_base_temporal(Datum value, const Temporal *temp); +extern int always_gt_temporal_base(const Temporal *temp, Datum value); +extern int always_le_base_temporal(Datum value, const Temporal *temp); +extern int always_le_temporal_base(const Temporal *temp, Datum value); +extern int always_lt_base_temporal(Datum value, const Temporal *temp); +extern int always_lt_temporal_base(const Temporal *temp, Datum value); +extern int ever_eq_base_temporal(Datum value, const Temporal *temp); +extern int ever_eq_temporal_base(const Temporal *temp, Datum value); +extern int ever_ne_base_temporal(Datum value, const Temporal *temp); +extern int ever_ne_temporal_base(const Temporal *temp, Datum value); +extern int ever_ge_base_temporal(Datum value, const Temporal *temp); +extern int ever_ge_temporal_base(const Temporal *temp, Datum value); +extern int ever_gt_base_temporal(Datum value, const Temporal *temp); +extern int ever_gt_temporal_base(const Temporal *temp, Datum value); +extern int ever_le_base_temporal(Datum value, const Temporal *temp); +extern int ever_le_temporal_base(const Temporal *temp, Datum value); +extern int ever_lt_base_temporal(Datum value, const Temporal *temp); +extern int ever_lt_temporal_base(const Temporal *temp, Datum value); + +/*****************************************************************************/ + +/* Mathematical functions for temporal types */ + +extern TInstant *tnumberinst_abs(const TInstant *inst); +extern TSequence *tnumberseq_abs(const TSequence *seq); +extern TSequence *tnumberseq_angular_difference(const TSequence *seq); +extern TSequence *tnumberseq_delta_value(const TSequence *seq); +extern TSequenceSet *tnumberseqset_abs(const TSequenceSet *ss); +extern TSequence *tnumberseqset_angular_difference(const TSequenceSet *ss); +extern TSequenceSet *tnumberseqset_delta_value(const TSequenceSet *ss); + +/*****************************************************************************/ + +/* Distance functions for temporal types */ + +extern double distance_span_span_double(const Span *s1, const Span *s2); +extern double nad_tbox_tbox(const TBox *box1, const TBox *box2); +extern double nad_tnumber_number(const Temporal *temp, Datum value); +extern double nad_tnumber_tbox(const Temporal *temp, const TBox *box); +extern double nad_tnumber_tnumber(const Temporal *temp1, const Temporal *temp2); +extern Temporal *tdistance_tnumber_number(const Temporal *temp, Datum value); +extern double tnumberinst_distance(const TInstant *inst1, const TInstant *inst2); + +/*****************************************************************************/ + +/* Local aggregate functions for temporal types */ + +extern double tnumberseq_integral(const TSequence *seq); +extern double tnumberseq_twavg(const TSequence *seq); +extern double tnumberseqset_integral(const TSequenceSet *ss); +extern double tnumberseqset_twavg(const TSequenceSet *ss); + +/*****************************************************************************/ + +/* Compact functions for final append aggregate */ + +extern Temporal *temporal_compact(const Temporal *temp); +extern TSequence *tsequence_compact(const TSequence *seq); +extern TSequenceSet *tsequenceset_compact(const TSequenceSet *ss); + +/*****************************************************************************/ + +/* Aggregate functions for temporal types */ + +extern SkipList *temporal_skiplist_make(); +extern SkipList *skiplist_make(size_t key_size, size_t value_size, + int (*comp_fn)(void *, void *), void *(*merge_fn)(void *, void *)); +extern int skiplist_search(SkipList *list, void *key, void *value); +extern void skiplist_free(SkipList *list); +extern void skiplist_splice(SkipList *list, void **keys, void **values, int count, datum_func2 func, bool crossings, SkipListType sktype); +extern void temporal_skiplist_splice(SkipList *list, void **values, int count, datum_func2 func, bool crossings); +extern void **skiplist_values(SkipList *list); +extern void **skiplist_keys_values(SkipList *list, void **values); + +extern Temporal *temporal_app_tinst_transfn(Temporal *state, const TInstant *inst, interpType interp, double maxdist, const Interval *maxt); +extern Temporal *temporal_app_tseq_transfn(Temporal *state, const TSequence *seq); + +/*****************************************************************************/ + +/* Tile functions for span and temporal types */ + +extern Span *span_bins(const Span *s, Datum size, Datum origin, int *count); +extern Span *spanset_bins(const SpanSet *ss, Datum size, Datum origin, int *count); +extern Span *tnumber_value_bins(const Temporal *temp, Datum size, Datum origin, int *count); +extern TBox *tnumber_value_time_boxes(const Temporal *temp, Datum vsize, const Interval *duration, Datum vorigin, TimestampTz torigin, int *count); +extern Temporal **tnumber_value_split(const Temporal *temp, Datum vsize, Datum vorigin, Datum **bins, int *count); +extern TBox *tbox_get_value_time_tile(Datum value, TimestampTz t, Datum vsize, const Interval *duration, Datum vorigin, TimestampTz torigin, MeosType basetype, MeosType spantype); +extern Temporal **tnumber_value_time_split(const Temporal *temp, Datum size, const Interval *duration, Datum vorigin, TimestampTz torigin, Datum **value_bins, TimestampTz **time_bins, int *count); + +/*****************************************************************************/ + +/* Similarity functions for temporal types */ + + +/*****************************************************************************/ + +#endif /* __MEOS_INTERNAL_H__ */ diff --git a/jmeos-core/tools/parity/meos-ref/meos/include/meos_internal_geo.h b/jmeos-core/tools/parity/meos-ref/meos/include/meos_internal_geo.h new file mode 100644 index 00000000..e9595545 --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/meos/include/meos_internal_geo.h @@ -0,0 +1,303 @@ +/***************************************************************************** + * + * This MobilityDB code seq provided under The PostgreSQL License. + * Copyright(c) 2016-2023, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License(GPLv2 or later). + * Copyright(c) 2001-2023, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement seq hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @brief Internal API of the Mobility Engine Open Source(MEOS) library. + */ + +#ifndef __MEOS_INTERNAL_GEO_H__ +#define __MEOS_INTERNAL_GEO_H__ + +/* C */ +#include +/* JSON-C */ +#include +/* PROJ */ +#include +/* PostgreSQL */ +/* MEOS */ +#include +#include +#include + +/***************************************************************************** + * Direct access to a single point in the GSERIALIZED struct + *****************************************************************************/ + +/* + * Obtain a geometry/geography point from the GSERIALIZED WITHOUT creating + * the corresponding LWGEOM. These functions constitute a **SERIOUS** + * break of encapsulation but it is the only way to achieve reasonable + * performance when manipulating mobility data. + * The datum_* functions suppose that the GSERIALIZED has been already + * detoasted. This is typically the case when the datum is within a Temporal* + * that has been already detoasted with PG_GETARG_TEMPORAL* + * The first variant (e.g. datum_point2d) is slower than the second (e.g. + * datum_point2d_p) since the point is passed by value and thus the bytes + * are copied. The second version is declared const because you aren't allowed + * to modify the values, only read them. + */ + +/** + * @brief Macro for accessing the GSERIALIZED value of a temporal point. + * @pre It is assumed that the geometry/geography IS NOT TOASTED + */ +#define DatumGetGserializedP(X) ((GSERIALIZED *) DatumGetPointer(X)) +#define GserializedPGetDatum(X) PointerGetDatum(X) + +/** + * @brief Definition for the internal aspects of the GSERIALIZED struct + */ +// #define LWFLAG_EXTFLAGS 0x20 +#define LWFLAG_VERSBIT2 0x80 + +// #define FLAGS_GET_EXTFLAGS(flags) (((flags) & LWFLAG_EXTFLAGS)>>5) +#define FLAGS_GET_VERSBIT2(flags) (((flags) & LWFLAG_VERSBIT2)>>7) + +#define GS_POINT_PTR(gs) ( (uint8_t *) ((gs)->data) + 8 + \ + FLAGS_GET_BBOX((gs)->gflags) * FLAGS_NDIMS_BOX((gs)->gflags) * 8 + \ + FLAGS_GET_VERSBIT2((gs)->gflags) * 8 ) + +/** + * @brief Return a pointer to a 2D/3DZ point from the datum/GSERIALIZED + */ +#define DATUM_POINT2D_P(gs) ( (POINT2D *) GS_POINT_PTR(DatumGetGserializedP(gs)) ) +#define DATUM_POINT3DZ_P(gs) ( (POINT3DZ *) GS_POINT_PTR(DatumGetGserializedP(gs)) ) + +#define GSERIALIZED_POINT2D_P(gs) ( (POINT2D *) GS_POINT_PTR((gs)) ) +#define GSERIALIZED_POINT3DZ_P(gs) ( (POINT3DZ *) GS_POINT_PTR((gs)) ) + +/***************************************************************************** + * Internal function accessing the PROJ library + *****************************************************************************/ + +extern PJ_CONTEXT *proj_get_context(void); + +/***************************************************************************** + * Round functions + *****************************************************************************/ + +extern Datum datum_geo_round(Datum value, Datum size); +extern GSERIALIZED *point_round(const GSERIALIZED *gs, int maxdd); + +/****************************************************************************** + * Functions for box types + *****************************************************************************/ + +/* Constructor functions for box types */ + +extern void stbox_set(bool hasx, bool hasz, bool geodetic, int32 srid, double xmin, double xmax, double ymin, double ymax, double zmin, double zmax, const Span *s, STBox *box); + +/*****************************************************************************/ + +/* Conversion functions for box types */ + +extern void gbox_set_stbox(const GBOX *box, int32_t srid, STBox *result); +extern bool geo_set_stbox(const GSERIALIZED *gs, STBox *box); +extern void geoarr_set_stbox(const Datum *values, int count, STBox *box); +extern bool spatial_set_stbox(Datum d, MeosType basetype, STBox *box); +extern void spatialset_set_stbox(const Set *set, STBox *box); +extern void stbox_set_box3d(const STBox *box, BOX3D *box3d); +extern void stbox_set_gbox(const STBox *box, GBOX *gbox); +extern void tstzset_set_stbox(const Set *s, STBox *box); +extern void tstzspan_set_stbox(const Span *s, STBox *box); +extern void tstzspanset_set_stbox(const SpanSet *s, STBox *box); + +/*****************************************************************************/ + +/* Transformation functions for box types */ + +extern void stbox_expand(const STBox *box1, STBox *box2); + +/*****************************************************************************/ + +/* Set functions for box types */ + +extern bool inter_stbox_stbox(const STBox *box1, const STBox *box2, STBox *result); +extern GSERIALIZED *stbox_geo(const STBox *box); + +/***************************************************************************** + * Functions for temporal types + *****************************************************************************/ + +/* Input and output functions */ + +extern TInstant *tgeogpointinst_from_mfjson(json_object *mfjson, int32_t srid); +extern TInstant *tgeogpointinst_in(const char *str); +extern TSequence *tgeogpointseq_from_mfjson(json_object *mfjson, int32_t srid, interpType interp); +extern TSequence *tgeogpointseq_in(const char *str, interpType interp); +extern TSequenceSet *tgeogpointseqset_from_mfjson(json_object *mfjson, int32_t srid, interpType interp); +extern TSequenceSet *tgeogpointseqset_in(const char *str); +extern TInstant *tgeompointinst_from_mfjson(json_object *mfjson, int32_t srid); +extern TInstant *tgeompointinst_in(const char *str); +extern TSequence *tgeompointseq_from_mfjson(json_object *mfjson, int32_t srid, interpType interp); +extern TSequence *tgeompointseq_in(const char *str, interpType interp); +extern TSequenceSet *tgeompointseqset_from_mfjson(json_object *mfjson, int32_t srid, interpType interp); +extern TSequenceSet *tgeompointseqset_in(const char *str); +extern TInstant *tgeographyinst_from_mfjson(json_object *mfjson, int32_t srid); +extern TInstant *tgeographyinst_in(const char *str); +extern TSequence *tgeographyseq_from_mfjson(json_object *mfjson, int32_t srid, interpType interp); +extern TSequence *tgeographyseq_in(const char *str, interpType interp); +extern TSequenceSet *tgeographyseqset_from_mfjson(json_object *mfjson, int32_t srid, interpType interp); +extern TSequenceSet *tgeographyseqset_in(const char *str); +extern TInstant *tgeometryinst_from_mfjson(json_object *mfjson, int32_t srid); +extern TInstant *tgeometryinst_in(const char *str); +extern TSequence *tgeometryseq_from_mfjson(json_object *mfjson, int32_t srid, interpType interp); +extern TSequence *tgeometryseq_in(const char *str, interpType interp); +extern TSequenceSet *tgeometryseqset_from_mfjson(json_object *mfjson, int32_t srid, interpType interp); +extern TSequenceSet *tgeometryseqset_in(const char *str); + +/*****************************************************************************/ + +/* Constructor functions */ + +/*****************************************************************************/ + +/* Conversion functions */ + +/*****************************************************************************/ + +/* Accessor functions */ + +/*****************************************************************************/ + +/* Transformation functions */ + +/*****************************************************************************/ + +/* Modification functions */ + +/*****************************************************************************/ + +/* Bounding box functions */ + +extern void tspatial_set_stbox(const Temporal *temp, STBox *box); +extern void tgeoinst_set_stbox(const TInstant *inst, STBox *box); +extern void tspatialseq_set_stbox(const TSequence *seq, STBox *box); +extern void tspatialseqset_set_stbox(const TSequenceSet *ss, STBox *box); + +/*****************************************************************************/ + +/* Restriction functions */ + +extern Temporal *tgeo_restrict_elevation(const Temporal *temp, const Span *s, bool atfunc); +extern Temporal *tgeo_restrict_geom(const Temporal *temp, const GSERIALIZED *gs, bool atfunc); +extern Temporal *tgeo_restrict_stbox(const Temporal *temp, const STBox *box, bool border_inc, bool atfunc); +extern TInstant *tgeoinst_restrict_geom(const TInstant *inst, const GSERIALIZED *gs, bool atfunc); +extern TInstant *tgeoinst_restrict_stbox(const TInstant *inst, const STBox *box, bool border_inc, bool atfunc); +extern Temporal *tgeoseq_restrict_geom(const TSequence *seq, const GSERIALIZED *gs, bool atfunc); +extern Temporal *tgeoseq_restrict_stbox(const TSequence *seq, const STBox *box, bool border_inc, bool atfunc); +extern TSequenceSet *tgeoseqset_restrict_geom(const TSequenceSet *ss, const GSERIALIZED *gs, bool atfunc); +extern TSequenceSet *tgeoseqset_restrict_stbox(const TSequenceSet *ss, const STBox *box, bool border_inc, bool atfunc); + +/*****************************************************************************/ + +/* Traditional comparison functions */ + +/*****************************************************************************/ + +/* Ever/always functions */ + +/*****************************************************************************/ + +/* Mathematical functions */ + +/*****************************************************************************/ + +/* Distance functions */ + +/***************************************************************************** + * Spatial functions for temporal points + *****************************************************************************/ + +/* Spatial accessor functions for temporal points */ + +extern int32_t spatial_srid(Datum d, MeosType basetype); +extern bool spatial_set_srid(Datum d, MeosType basetype, int32_t srid); +extern int tspatialinst_srid(const TInstant *inst); +extern TSequenceSet *tpointseq_azimuth(const TSequence *seq); +extern TSequence *tpointseq_cumulative_length(const TSequence *seq, double prevlength); +extern bool tpointseq_is_simple(const TSequence *seq); +extern double tpointseq_length(const TSequence *seq); +extern GSERIALIZED *tpointseq_linear_trajectory(const TSequence *seq, bool unary_union); +extern STBox *tgeoseq_stboxes(const TSequence *seq, int *count); +extern STBox *tgeoseq_split_n_stboxes(const TSequence *seq, int max_count, int *count); +extern TSequenceSet *tpointseqset_azimuth(const TSequenceSet *ss); +extern TSequenceSet *tpointseqset_cumulative_length(const TSequenceSet *ss); +extern bool tpointseqset_is_simple(const TSequenceSet *ss); +extern double tpointseqset_length(const TSequenceSet *ss); +extern STBox *tgeoseqset_stboxes(const TSequenceSet *ss, int *count); +extern STBox *tgeoseqset_split_n_stboxes(const TSequenceSet *ss, int max_count, int *count); +extern Temporal *tpoint_get_coord(const Temporal *temp, int coord); + +/*****************************************************************************/ + +/* Spatial transformation functions for temporal points */ + +extern TInstant *tgeominst_tgeoginst(const TInstant *inst, bool oper); +extern TSequence *tgeomseq_tgeogseq(const TSequence *seq, bool oper); +extern TSequenceSet *tgeomseqset_tgeogseqset(const TSequenceSet *ss, bool oper); +extern Temporal *tgeom_tgeog(const Temporal *temp, bool oper); +extern Temporal *tgeo_tpoint(const Temporal *temp, bool oper); +extern void tspatialinst_set_srid(TInstant *inst, int32_t srid); +extern TSequence **tpointseq_make_simple(const TSequence *seq, int *count); +extern void tspatialseq_set_srid(TSequence *seq, int32_t srid); +extern TSequence **tpointseqset_make_simple(const TSequenceSet *ss, int *count); +extern void tspatialseqset_set_srid(TSequenceSet *ss, int32_t srid); + +/*****************************************************************************/ + +/* Local aggregate functions */ + +extern GSERIALIZED *tpointseq_twcentroid(const TSequence *seq); +extern GSERIALIZED *tpointseqset_twcentroid(const TSequenceSet *ss); + +/*****************************************************************************/ + +/* Compact functions for final append aggregate */ + + +/*****************************************************************************/ + +/* Aggregate functions */ + + +/*****************************************************************************/ + +/* Tile functions for span and temporal types */ + + +/*****************************************************************************/ + +/* Similarity functions */ + + +/*****************************************************************************/ + +#endif /* __MEOS_INTERNAL_GEO_H__ */ diff --git a/jmeos-core/tools/parity/meos-ref/meos/include/meos_npoint.h b/jmeos-core/tools/parity/meos-ref/meos/include/meos_npoint.h new file mode 100644 index 00000000..69835244 --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/meos/include/meos_npoint.h @@ -0,0 +1,330 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @brief API of the Mobility Engine Open Source (MEOS) library. + */ + +#ifndef __MEOS_NPOINT_H__ +#define __MEOS_NPOINT_H__ + +/* C */ +#include +#include +/* MEOS */ +#include +#include +#include + +/***************************************************************************** + * Type definitions + *****************************************************************************/ + +/* Structure to represent network-based points */ + +typedef struct +{ + int64 rid; /**< route identifier */ + double pos; /**< position */ +} Npoint; + +/* Structure to represent network-based segments */ + +typedef struct +{ + int64 rid; /**< route identifier */ + double pos1; /**< position1 */ + double pos2; /**< position2 */ +} Nsegment; + +/***************************************************************************** + * Validity macros and functions + *****************************************************************************/ + +/** + * @brief Macro for ensuring that the set passed as argument is a network + * point set + */ +#if MEOS + #define VALIDATE_NPOINTSET(set, ret) \ + do { \ + if (! ensure_not_null((void *) (set)) || \ + ! ensure_set_isof_type((set), T_NPOINTSET) ) \ + return (ret); \ + } while (0) +#else + #define VALIDATE_NPOINTSET(set, ret) \ + do { \ + assert(set); \ + assert(set->settype == T_NPOINTSET); \ + } while (0) +#endif /* MEOS */ + +/** + * @brief Macro for ensuring that the temporal value passed as argument is a + * temporal network point + * @note The macro works for the Temporal type and its subtypes TInstant, + * TSequence, and TSequenceSet + */ +#if MEOS + #define VALIDATE_TNPOINT(temp, ret) \ + do { \ + if (! ensure_not_null((void *) (temp)) || \ + ! ensure_temporal_isof_type((Temporal *) (temp), T_TNPOINT) ) \ + return (ret); \ + } while (0) +#else + #define VALIDATE_TNPOINT(temp, ret) \ + do { \ + assert(temp); \ + assert(((Temporal *) (temp))->temptype == T_TNPOINT); \ + } while (0) +#endif /* MEOS */ + +/****************************************************************************** + * Functions for network points + ******************************************************************************/ + +/* Input and output functions */ + +extern char *npoint_as_ewkt(const Npoint *np, int maxdd); +extern char *npoint_as_hexwkb(const Npoint *np, uint8_t variant, size_t *size_out); +extern char *npoint_as_text(const Npoint *np, int maxdd); +extern uint8_t *npoint_as_wkb(const Npoint *np, uint8_t variant, size_t *size_out); +extern Npoint *npoint_from_hexwkb(const char *hexwkb); +extern Npoint *npoint_from_wkb(const uint8_t *wkb, size_t size); +extern Npoint *npoint_in(const char *str); +extern char *npoint_out(const Npoint *np, int maxdd); +extern Nsegment *nsegment_in(const char *str); +extern char *nsegment_out(const Nsegment *ns, int maxdd); + +/* Constructor functions */ + +extern Npoint *npoint_make(int64 rid, double pos); +extern Nsegment *nsegment_make(int64 rid, double pos1, double pos2); + +/* Conversion functions */ + +extern Npoint *geompoint_to_npoint(const GSERIALIZED *gs); +extern Nsegment *geom_to_nsegment(const GSERIALIZED *gs); +extern GSERIALIZED *npoint_to_geompoint(const Npoint *np); +extern Nsegment *npoint_to_nsegment(const Npoint *np); +extern STBox *npoint_to_stbox(const Npoint *np); +extern GSERIALIZED *nsegment_to_geom(const Nsegment *ns); +extern STBox *nsegment_to_stbox(const Nsegment *np); + +/* Accessor functions */ + +extern uint32 npoint_hash(const Npoint *np); +extern uint64 npoint_hash_extended(const Npoint *np, uint64 seed); +extern double npoint_position(const Npoint *np); +extern int64 npoint_route(const Npoint *np); +extern double nsegment_end_position(const Nsegment *ns); +extern int64 nsegment_route(const Nsegment *ns); +extern double nsegment_start_position(const Nsegment *ns); + +/* Route functions */ + +extern bool route_exists(int64 rid); +extern const GSERIALIZED *route_geom(int64 rid); +extern double route_length(int64 rid); + +/* Transformation functions */ + +extern Npoint *npoint_round(const Npoint *np, int maxdd); +extern Nsegment *nsegment_round(const Nsegment *ns, int maxdd); + +/* Spatial reference system functions */ + +extern int32_t get_srid_ways(void); +extern int32_t npoint_srid(const Npoint *np); +extern int32_t nsegment_srid(const Nsegment *ns); + +/* Bounding box functions */ + +extern STBox *npoint_timestamptz_to_stbox(const Npoint *np, TimestampTz t); +extern STBox *npoint_tstzspan_to_stbox(const Npoint *np, const Span *s); + +/* Comparison functions */ + +extern int npoint_cmp(const Npoint *np1, const Npoint *np2); +extern bool npoint_eq(const Npoint *np1, const Npoint *np2); +extern bool npoint_ge(const Npoint *np1, const Npoint *np2); +extern bool npoint_gt(const Npoint *np1, const Npoint *np2); +extern bool npoint_le(const Npoint *np1, const Npoint *np2); +extern bool npoint_lt(const Npoint *np1, const Npoint *np2); +extern bool npoint_ne(const Npoint *np1, const Npoint *np2); +extern bool npoint_same(const Npoint *np1, const Npoint *np2); +extern int nsegment_cmp(const Nsegment *ns1, const Nsegment *ns2); +extern bool nsegment_eq(const Nsegment *ns1, const Nsegment *ns2); +extern bool nsegment_ge(const Nsegment *ns1, const Nsegment *ns2); +extern bool nsegment_gt(const Nsegment *ns1, const Nsegment *ns2); +extern bool nsegment_le(const Nsegment *ns1, const Nsegment *ns2); +extern bool nsegment_lt(const Nsegment *ns1, const Nsegment *ns2); +extern bool nsegment_ne(const Nsegment *ns1, const Nsegment *ns2); + +/****************************************************************************** + * Functions for network point sets + ******************************************************************************/ + +/* Input and output functions */ + +extern Set *npointset_in(const char *str); +extern char *npointset_out(const Set *s, int maxdd); + +/* Constructor functions */ + +extern Set *npointset_make(Npoint **values, int count); + +/* Conversion functions */ + +extern Set *npoint_to_set(const Npoint *np); + +/* Accessor functions */ + +extern Npoint *npointset_end_value(const Set *s); +extern Set *npointset_routes(const Set *s); +extern Npoint *npointset_start_value(const Set *s); +extern bool npointset_value_n(const Set *s, int n, Npoint **result); +extern Npoint **npointset_values(const Set *s); + +/* Set operations */ + +extern bool contained_npoint_set(const Npoint *np, const Set *s); +extern bool contains_set_npoint(const Set *s, const Npoint *np); +extern Set *intersection_npoint_set(const Npoint *np, const Set *s); +extern Set *intersection_set_npoint(const Set *s, const Npoint *np); +extern Set *minus_npoint_set(const Npoint *np, const Set *s); +extern Set *minus_set_npoint(const Set *s, const Npoint *np); +extern Set *npoint_union_transfn(Set *state, const Npoint *np); +extern Set *union_npoint_set(const Npoint *np, const Set *s); +extern Set *union_set_npoint(const Set *s, const Npoint *np); + +/*===========================================================================* + * Functions for temporal network points + *===========================================================================*/ + +/***************************************************************************** + * Input/output functions + *****************************************************************************/ + +extern Temporal *tnpoint_in(const char *str); +extern Temporal *tnpoint_from_mfjson(const char *mfjson); +extern char *tnpoint_out(const Temporal *temp, int maxdd); + +/***************************************************************************** + * Constructor functions + *****************************************************************************/ + +extern TInstant *tnpointinst_make(const Npoint *np, TimestampTz t); + +/***************************************************************************** + * Conversion functions + *****************************************************************************/ + +extern Temporal *tgeompoint_to_tnpoint(const Temporal *temp); +extern Temporal *tnpoint_to_tgeompoint(const Temporal *temp); + +/***************************************************************************** + * Accessor functions + *****************************************************************************/ + +extern Temporal *tnpoint_cumulative_length(const Temporal *temp); +extern double tnpoint_length(const Temporal *temp); +extern Nsegment **tnpoint_positions(const Temporal *temp, int *count); +extern int64 tnpoint_route(const Temporal *temp); +extern Set *tnpoint_routes(const Temporal *temp); +extern Temporal *tnpoint_speed(const Temporal *temp); +extern GSERIALIZED *tnpoint_trajectory(const Temporal *temp); +extern GSERIALIZED *tnpoint_twcentroid(const Temporal *temp); + +/***************************************************************************** + * Restriction functions + *****************************************************************************/ + +extern Temporal *tnpoint_at_geom(const Temporal *temp, const GSERIALIZED *gs); +extern Temporal *tnpoint_at_npoint(const Temporal *temp, const Npoint *np); +extern Temporal *tnpoint_at_npointset(const Temporal *temp, const Set *s); +extern Temporal *tnpoint_at_stbox(const Temporal *temp, const STBox *box, bool border_inc); +extern Temporal *tnpoint_minus_geom(const Temporal *temp, const GSERIALIZED *gs); +extern Temporal *tnpoint_minus_npoint(const Temporal *temp, const Npoint *np); +extern Temporal *tnpoint_minus_npointset(const Temporal *temp, const Set *s); +extern Temporal *tnpoint_minus_stbox(const Temporal *temp, const STBox *box, bool border_inc); + +/***************************************************************************** + * Distance functions + *****************************************************************************/ + +extern Temporal *tdistance_tnpoint_npoint(const Temporal *temp, const Npoint *np); +extern Temporal *tdistance_tnpoint_point(const Temporal *temp, const GSERIALIZED *gs); +extern Temporal *tdistance_tnpoint_tnpoint(const Temporal *temp1, const Temporal *temp2); +extern double nad_tnpoint_geo(const Temporal *temp, const GSERIALIZED *gs); +extern double nad_tnpoint_npoint(const Temporal *temp, const Npoint *np); +extern double nad_tnpoint_stbox(const Temporal *temp, const STBox *box); +extern double nad_tnpoint_tnpoint(const Temporal *temp1, const Temporal *temp2); +extern TInstant *nai_tnpoint_geo(const Temporal *temp, const GSERIALIZED *gs); +extern TInstant *nai_tnpoint_npoint(const Temporal *temp, const Npoint *np); +extern TInstant *nai_tnpoint_tnpoint(const Temporal *temp1, const Temporal *temp2); +extern GSERIALIZED *shortestline_tnpoint_geo(const Temporal *temp, const GSERIALIZED *gs); +extern GSERIALIZED *shortestline_tnpoint_npoint(const Temporal *temp, const Npoint *np); +extern GSERIALIZED *shortestline_tnpoint_tnpoint(const Temporal *temp1, const Temporal *temp2); + +/***************************************************************************** + * Aggregate functions + *****************************************************************************/ + +extern SkipList *tnpoint_tcentroid_transfn(SkipList *state, Temporal *temp); + +/***************************************************************************** + * Comparison functions + *****************************************************************************/ + +/* Ever/always comparisons */ + +extern int always_eq_npoint_tnpoint(const Npoint *np, const Temporal *temp); +extern int always_eq_tnpoint_npoint(const Temporal *temp, const Npoint *np); +extern int always_eq_tnpoint_tnpoint(const Temporal *temp1, const Temporal *temp2); +extern int always_ne_npoint_tnpoint(const Npoint *np, const Temporal *temp); +extern int always_ne_tnpoint_npoint(const Temporal *temp, const Npoint *np); +extern int always_ne_tnpoint_tnpoint(const Temporal *temp1, const Temporal *temp2); +extern int ever_eq_npoint_tnpoint(const Npoint *np, const Temporal *temp); +extern int ever_eq_tnpoint_npoint(const Temporal *temp, const Npoint *np); +extern int ever_eq_tnpoint_tnpoint(const Temporal *temp1, const Temporal *temp2); +extern int ever_ne_npoint_tnpoint(const Npoint *np, const Temporal *temp); +extern int ever_ne_tnpoint_npoint(const Temporal *temp, const Npoint *np); +extern int ever_ne_tnpoint_tnpoint(const Temporal *temp1, const Temporal *temp2); + +/* Temporal comparisons */ + +extern Temporal *teq_tnpoint_npoint(const Temporal *temp, const Npoint *np); +extern Temporal *tne_tnpoint_npoint(const Temporal *temp, const Npoint *np); + +/*****************************************************************************/ + +#endif diff --git a/jmeos-core/tools/parity/meos-ref/meos/include/meos_pose.h b/jmeos-core/tools/parity/meos-ref/meos/include/meos_pose.h new file mode 100644 index 00000000..c9709cef --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/meos/include/meos_pose.h @@ -0,0 +1,305 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @brief External API of the Mobility Engine Open Source (MEOS) library + */ + +#ifndef __MEOS_POSE_H__ +#define __MEOS_POSE_H__ + +/* C */ +#include +#include +/* MEOS */ +#include +#include + +/***************************************************************************** + * Struct definitions + *****************************************************************************/ + +/** + * Opaque structure to represent pose values + */ +typedef struct Pose Pose; + +/***************************************************************************** + * Validity macros + *****************************************************************************/ + +/** + * @brief Macro for ensuring that the set passed as argument is a pose set + */ +#if MEOS + #define VALIDATE_POSESET(set, ret) \ + do { \ + if (! ensure_not_null((void *) set) || \ + ! ensure_set_isof_type((set), T_POSESET) ) \ + return (ret); \ + } while (0) +#else + #define VALIDATE_POSESET(set, ret) \ + do { \ + assert(set); \ + assert((set)->settype == T_POSESET); \ + } while (0) +#endif + +/** + * @brief Macro for ensuring that the temporal value passed as argument is a + * temporal pose + * @note The macro works for the Temporal type and its subtypes TInstant, + * TSequence, and TSequenceSet + */ +#if MEOS + #define VALIDATE_TPOSE(temp, ret) \ + do { \ + if (! ensure_not_null((void *) (temp)) || \ + ! ensure_temporal_isof_type((Temporal *) (temp), T_TPOSE) ) \ + return (ret); \ + } while (0) +#else + #define VALIDATE_TPOSE(temp, ret) \ + do { \ + assert(temp); \ + assert(((Temporal *) (temp))->temptype == T_TPOSE); \ + } while (0) +#endif + +/****************************************************************************** + * Functions for poses + ******************************************************************************/ + +/* Input and output functions */ + +extern char *pose_as_ewkt(const Pose *pose, int maxdd); +extern char *pose_as_hexwkb(const Pose *pose, uint8_t variant, size_t *size); +extern char *pose_as_text(const Pose *pose, int maxdd); +extern uint8_t *pose_as_wkb(const Pose *pose, uint8_t variant, size_t *size_out); +extern Pose *pose_from_wkb(const uint8_t *wkb, size_t size); +extern Pose *pose_from_hexwkb(const char *hexwkb); +extern Pose *pose_in(const char *str); +extern char *pose_out(const Pose *pose, int maxdd); + +/* Constructor functions */ + +extern Pose *pose_copy(const Pose *pose); +extern Pose *pose_make_2d(double x, double y, double theta, int32_t srid); +extern Pose *pose_make_3d(double x, double y, double z, double W, double X, double Y, double Z, int32_t srid); +extern Pose *pose_make_point2d(const GSERIALIZED *gs, double theta); +extern Pose *pose_make_point3d(const GSERIALIZED *gs, double W, double X, double Y, double Z); + +/* Conversion functions */ + +extern GSERIALIZED *pose_to_point(const Pose *pose); +extern STBox *pose_to_stbox(const Pose *pose); + +/* Accessor functions */ + +extern uint32 pose_hash(const Pose *pose); +extern uint64 pose_hash_extended(const Pose *pose, uint64 seed); +extern double *pose_orientation(const Pose *pose); +extern double pose_rotation(const Pose *pose); + +/* Transformation functions */ + +extern Pose *pose_round(const Pose *pose, int maxdd); +extern Pose **posearr_round(const Pose **posearr, int count, int maxdd); + +/* Spatial reference system functions */ + +extern void pose_set_srid(Pose *pose, int32_t srid); +extern int32_t pose_srid(const Pose *pose); +extern Pose *pose_transform(const Pose *pose, int32_t srid); +extern Pose *pose_transform_pipeline(const Pose *pose, const char *pipelinestr, int32_t srid, bool is_forward); + +/* Bounding box functions */ + +extern STBox *pose_tstzspan_to_stbox(const Pose *pose, const Span *s); +extern STBox *pose_timestamptz_to_stbox(const Pose *pose, TimestampTz t); + +/* Distance functions */ + +extern double distance_pose_geo(const Pose *pose, const GSERIALIZED *gs); +extern double distance_pose_pose(const Pose *pose1, const Pose *pose2); +extern double distance_pose_stbox(const Pose *pose, const STBox *box); + +/* Comparison functions */ + +extern int pose_cmp(const Pose *pose1, const Pose *pose2); +extern bool pose_eq(const Pose *pose1, const Pose *pose2); +extern bool pose_ge(const Pose *pose1, const Pose *pose2); +extern bool pose_gt(const Pose *pose1, const Pose *pose2); +extern bool pose_le(const Pose *pose1, const Pose *pose2); +extern bool pose_lt(const Pose *pose1, const Pose *pose2); +extern bool pose_ne(const Pose *pose1, const Pose *pose2); +extern bool pose_nsame(const Pose *pose1, const Pose *pose2); +extern bool pose_same(const Pose *pose1, const Pose *pose2); + +/****************************************************************************** + * Functions for pose sets + ******************************************************************************/ + +/* Input and output functions */ + +extern Set *poseset_in(const char *str); +extern char *poseset_out(const Set *s, int maxdd); + +/* Constructor functions */ + +extern Set *poseset_make(const Pose **values, int count); + +/* Conversion functions */ + +extern Set *pose_to_set(const Pose *pose); + +/* Accessor functions */ + +extern Pose *poseset_end_value(const Set *s); +extern Pose *poseset_start_value(const Set *s); +extern bool poseset_value_n(const Set *s, int n, Pose **result); +extern Pose **poseset_values(const Set *s); + +/* Set operations */ + +extern bool contained_pose_set(const Pose *pose, const Set *s); +extern bool contains_set_pose(const Set *s, Pose *pose); +extern Set *intersection_pose_set(const Pose *pose, const Set *s); +extern Set *intersection_set_pose(const Set *s, const Pose *pose); +extern Set *minus_pose_set(const Pose *pose, const Set *s); +extern Set *minus_set_pose(const Set *s, const Pose *pose); +extern Set *pose_union_transfn(Set *state, const Pose *pose); +extern Set *union_pose_set(const Pose *pose, const Set *s); +extern Set *union_set_pose(const Set *s, const Pose *pose); + +/*===========================================================================* + * Functions for temporal poses + *===========================================================================*/ + +/***************************************************************************** + * Input/output functions + *****************************************************************************/ + +Temporal *tpose_in(const char *str); + +/***************************************************************************** + * Constructor functions + *****************************************************************************/ + + +/***************************************************************************** + * Conversion functions + *****************************************************************************/ + +extern Temporal *tpose_make(const Temporal *tpoint, const Temporal *tradius); +extern Temporal *tpose_to_tpoint(const Temporal *temp); + +/***************************************************************************** + * Accessor functions + *****************************************************************************/ + +extern Pose *tpose_end_value(const Temporal *temp); +extern Set *tpose_points(const Temporal *temp); +// extern Temporal *tpose_orientation(const Temporal *temp); +extern Temporal *tpose_rotation(const Temporal *temp); +extern Pose *tpose_start_value(const Temporal *temp); +extern GSERIALIZED *tpose_trajectory(const Temporal *temp); +extern bool tpose_value_at_timestamptz(const Temporal *temp, TimestampTz t, bool strict, Pose **value); +extern bool tpose_value_n(const Temporal *temp, int n, Pose **result); +extern Pose **tpose_values(const Temporal *temp, int *count); + +/***************************************************************************** + * Restriction functions + *****************************************************************************/ + +extern Temporal *tpose_at_geom(const Temporal *temp, const GSERIALIZED *gs); +extern Temporal *tpose_at_stbox(const Temporal *temp, const STBox *box, bool border_inc); +extern Temporal *tpose_at_pose(const Temporal *temp, const Pose *pose); +extern Temporal *tpose_minus_geom(const Temporal *temp, const GSERIALIZED *gs); +extern Temporal *tpose_minus_pose(const Temporal *temp, const Pose *pose); +extern Temporal *tpose_minus_stbox(const Temporal *temp, const STBox *box, bool border_inc); + +/***************************************************************************** + * Distance functions + *****************************************************************************/ + +extern Temporal *tdistance_tpose_pose(const Temporal *temp, const Pose *pose); +extern Temporal *tdistance_tpose_point(const Temporal *temp, const GSERIALIZED *gs); +extern Temporal *tdistance_tpose_tpose(const Temporal *temp1, const Temporal *temp2); +extern double nad_tpose_geo(const Temporal *temp, const GSERIALIZED *gs); +extern double nad_tpose_pose(const Temporal *temp, const Pose *pose); +extern double nad_tpose_stbox(const Temporal *temp, const STBox *box); +extern double nad_tpose_tpose(const Temporal *temp1, const Temporal *temp2); +extern TInstant *nai_tpose_geo(const Temporal *temp, const GSERIALIZED *gs); +extern TInstant *nai_tpose_pose(const Temporal *temp, const Pose *pose); +extern TInstant *nai_tpose_tpose(const Temporal *temp1, const Temporal *temp2); +extern GSERIALIZED *shortestline_tpose_geo(const Temporal *temp, const GSERIALIZED *gs); +extern GSERIALIZED *shortestline_tpose_pose(const Temporal *temp, const Pose *pose); +extern GSERIALIZED *shortestline_tpose_tpose(const Temporal *temp1, const Temporal *temp2); + +/***************************************************************************** + * Comparison functions + *****************************************************************************/ + +/* Ever/always and temporal comparison functions */ + +extern int always_eq_pose_tpose(const Pose *pose, const Temporal *temp); +extern int always_eq_tpose_pose(const Temporal *temp, const Pose *pose); +extern int always_eq_tpose_tpose(const Temporal *temp1, const Temporal *temp2); +extern int always_ne_pose_tpose(const Pose *pose, const Temporal *temp); +extern int always_ne_tpose_pose(const Temporal *temp, const Pose *pose); +extern int always_ne_tpose_tpose(const Temporal *temp1, const Temporal *temp2); +extern int ever_eq_pose_tpose(const Pose *pose, const Temporal *temp); +extern int ever_eq_tpose_pose(const Temporal *temp, const Pose *pose); +extern int ever_eq_tpose_tpose(const Temporal *temp1, const Temporal *temp2); +extern int ever_ne_pose_tpose(const Pose *pose, const Temporal *temp); +extern int ever_ne_tpose_pose(const Temporal *temp, const Pose *pose); +extern int ever_ne_tpose_tpose(const Temporal *temp1, const Temporal *temp2); + +/*****************************************************************************/ + +extern Temporal *teq_pose_tpose(const Pose *pose, const Temporal *temp); +extern Temporal *teq_tpose_pose(const Temporal *temp, const Pose *pose); +extern Temporal *tne_pose_tpose(const Pose *pose, const Temporal *temp); +extern Temporal *tne_tpose_pose(const Temporal *temp, const Pose *pose); + +/*****************************************************************************/ + +/* Ever and always spatial relationship functions */ + + +/*****************************************************************************/ + +/* Spatiotemporal relationship functions */ + + +/*****************************************************************************/ + +#endif /* __MEOS_POSE_H__ */ diff --git a/jmeos-core/tools/parity/meos-ref/meos/include/meos_rgeo.h b/jmeos-core/tools/parity/meos-ref/meos/include/meos_rgeo.h new file mode 100644 index 00000000..bcfc7f4a --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/meos/include/meos_rgeo.h @@ -0,0 +1,206 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURRGEO. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @brief External API of the Mobility Engine Open Source (MEOS) library + */ + +#ifndef __MEOS_RGEO_H__ +#define __MEOS_RGEO_H__ + +/* C */ +#include +/* MEOS */ +#include +#include +#include + +/***************************************************************************** + * Validity macros + *****************************************************************************/ + +/** + * @brief Macro for ensuring that the temporal value passed as argument is a + * temporal rigid geometry + * @note The macro works for the Temporal type and its subtypes TInstant, + * TSequence, and TSequenceSet + */ +#if MEOS + #define VALIDATE_TRGEOMETRY(temp, ret) \ + do { \ + if (! ensure_not_null((void *) (temp)) || \ + ! ensure_temporal_isof_type((Temporal *) (temp), T_TRGEOMETRY) ) \ + return (ret); \ + } while (0) +#else + #define VALIDATE_TRGEOMETRY(temp, ret) \ + do { \ + assert(temp); \ + assert(((Temporal *) (temp))->temptype == T_TRGEOMETRY); \ + } while (0) +#endif + +/*===========================================================================* + * Functions for temporal rigid geometries + *===========================================================================*/ + +/***************************************************************************** + * Input/output functions + *****************************************************************************/ + +extern char *trgeo_out(const Temporal *temp); + +/***************************************************************************** + * Constructor functions + *****************************************************************************/ + +extern TInstant *trgeoinst_make(const GSERIALIZED *geom, const Pose *pose, TimestampTz t); +extern Temporal *geo_tpose_to_trgeo(const GSERIALIZED *gs, const Temporal *temp); + +/***************************************************************************** + * Conversion functions + *****************************************************************************/ + +extern Temporal *trgeo_to_tpose(const Temporal *temp); +extern Temporal *trgeo_to_tpoint(const Temporal *temp); + +/***************************************************************************** + * Accessor functions + *****************************************************************************/ + +extern TInstant *trgeo_end_instant(const Temporal *temp); +extern TSequence *trgeo_end_sequence(const Temporal *temp); +extern GSERIALIZED *trgeo_end_value(const Temporal *temp); +extern GSERIALIZED *trgeo_geom(const Temporal *temp); +extern TInstant *trgeo_instant_n(const Temporal *temp, int n); +extern TInstant **trgeo_instants(const Temporal *temp, int *count); +extern Set *trgeo_points(const Temporal *temp); +extern Temporal *trgeo_rotation(const Temporal *temp); +extern TSequence **trgeo_segments(const Temporal *temp, int *count); +extern TSequence *trgeo_sequence_n(const Temporal *temp, int i); +extern TSequence **trgeo_sequences(const Temporal *temp, int *count); +extern TInstant *trgeo_start_instant(const Temporal *temp); +extern TSequence *trgeo_start_sequence(const Temporal *temp); +extern GSERIALIZED *trgeo_start_value(const Temporal *temp); +extern bool trgeo_value_n(const Temporal *temp, int n, GSERIALIZED **result); +extern GSERIALIZED *trgeo_traversed_area(const Temporal *temp, bool unary_union); + +/***************************************************************************** + * Transformation functions + *****************************************************************************/ + +extern Temporal *trgeo_append_tinstant(Temporal *temp, const TInstant *inst, interpType interp, double maxdist, const Interval *maxt, bool expand); +extern Temporal *trgeo_append_tsequence(Temporal *temp, const TSequence *seq, bool expand); +extern Temporal *trgeo_delete_timestamptz(const Temporal *temp, TimestampTz t, bool connect); +extern Temporal *trgeo_delete_tstzset(const Temporal *temp, const Set *s, bool connect); +extern Temporal *trgeo_delete_tstzspan(const Temporal *temp, const Span *s, bool connect); +extern Temporal *trgeo_delete_tstzspanset(const Temporal *temp, const SpanSet *ss, bool connect); +extern Temporal *trgeo_round(const Temporal *temp, int maxdd); +extern Temporal *trgeo_set_interp(const Temporal *temp, interpType interp); +extern TInstant *trgeo_to_tinstant(const Temporal *temp); + +/***************************************************************************** + * Restriction functions + *****************************************************************************/ + +extern Temporal *trgeo_after_timestamptz(const Temporal *temp, TimestampTz t, bool strict); +extern Temporal *trgeo_before_timestamptz(const Temporal *temp, TimestampTz t, bool strict); + +extern Temporal *trgeo_restrict_value(const Temporal *temp, Datum value, bool atfunc); +extern Temporal *trgeo_restrict_values(const Temporal *temp, const Set *s, bool atfunc); + +extern Temporal *trgeo_restrict_timestamptz(const Temporal *temp, TimestampTz t, bool atfunc); +extern Temporal *trgeo_restrict_tstzset(const Temporal *temp, const Set *s, bool atfunc); +extern Temporal *trgeo_restrict_tstzspan(const Temporal *temp, const Span *s, bool atfunc); +extern Temporal *trgeo_restrict_tstzspanset(const Temporal *temp, const SpanSet *ss, bool atfunc); + +// extern Temporal *trgeo_at_geom(const Temporal *temp, const GSERIALIZED *gs); +// extern Temporal *trgeo_at_geo(const Temporal *temp, const GSERIALIZED *gs); +// extern Temporal *trgeo_at_stbox(const Temporal *temp, const STBox *box, bool border_inc); +// extern Temporal *trgeo_at_elevation(const Temporal *temp, const Span *s); +// extern Temporal *trgeo_minus_geom(const Temporal *temp, const GSERIALIZED *gs); +// extern Temporal *trgeo_minus_geo(const Temporal *temp, const GSERIALIZED *gs); +// extern Temporal *trgeo_minus_stbox(const Temporal *temp, const STBox *box, bool border_inc); +// extern Temporal *trgeo_minus_elevation(const Temporal *temp, const Span *s); + +/***************************************************************************** + * Distance functions + *****************************************************************************/ + +extern Temporal *tdistance_trgeo_geo(const Temporal *temp, const GSERIALIZED *gs); +extern Temporal *tdistance_trgeo_tpoint(const Temporal *temp1, const Temporal *temp2); +extern Temporal *tdistance_trgeo_trgeo(const Temporal *temp1, const Temporal *temp2); +extern double nad_stbox_trgeo(const STBox *box, const Temporal *temp); +extern double nad_trgeo_geo(const Temporal *temp, const GSERIALIZED *gs); +extern double nad_trgeo_stbox(const Temporal *temp, const STBox *box); +extern double nad_trgeo_tpoint(const Temporal *temp1, const Temporal *temp2); +extern double nad_trgeo_trgeo(const Temporal *temp1, const Temporal *temp2); +extern TInstant *nai_trgeo_geo(const Temporal *temp, const GSERIALIZED *gs); +extern TInstant *nai_trgeo_tpoint(const Temporal *temp1, const Temporal *temp2); +extern TInstant *nai_trgeo_trgeo(const Temporal *temp1, const Temporal *temp2); +extern GSERIALIZED *shortestline_trgeo_geo(const Temporal *temp, const GSERIALIZED *gs); +extern GSERIALIZED *shortestline_trgeo_tpoint(const Temporal *temp1, const Temporal *temp2); +extern GSERIALIZED *shortestline_trgeo_trgeo(const Temporal *temp1, const Temporal *temp2); + +/***************************************************************************** + * Comparison functions + *****************************************************************************/ + +/* Ever/always and temporal comparison functions */ + +extern int always_eq_geo_trgeo(const GSERIALIZED *gs, const Temporal *temp); +extern int always_eq_trgeo_geo(const Temporal *temp, const GSERIALIZED *gs); +extern int always_eq_trgeo_trgeo(const Temporal *temp1, const Temporal *temp2); +extern int always_ne_geo_trgeo(const GSERIALIZED *gs, const Temporal *temp); +extern int always_ne_trgeo_geo(const Temporal *temp, const GSERIALIZED *gs); +extern int always_ne_trgeo_trgeo(const Temporal *temp1, const Temporal *temp2); +extern int ever_eq_geo_trgeo(const GSERIALIZED *gs, const Temporal *temp); +extern int ever_eq_trgeo_geo(const Temporal *temp, const GSERIALIZED *gs); +extern int ever_eq_trgeo_trgeo(const Temporal *temp1, const Temporal *temp2); +extern int ever_ne_geo_trgeo(const GSERIALIZED *gs, const Temporal *temp); +extern int ever_ne_trgeo_geo(const Temporal *temp, const GSERIALIZED *gs); +extern int ever_ne_trgeo_trgeo(const Temporal *temp1, const Temporal *temp2); +extern Temporal *teq_geo_trgeo(const GSERIALIZED *gs, const Temporal *temp); +extern Temporal *teq_trgeo_geo(const Temporal *temp, const GSERIALIZED *gs); +extern Temporal *tne_geo_trgeo(const GSERIALIZED *gs, const Temporal *temp); +extern Temporal *tne_trgeo_geo(const Temporal *temp, const GSERIALIZED *gs); + +/*****************************************************************************/ + +/* Ever and always spatial relationship functions */ + + +/*****************************************************************************/ + +/* Spatiotemporal relationship functions */ + + +/*****************************************************************************/ + +#endif /* __MEOS_RGEO_H__ */ diff --git a/jmeos-core/tools/parity/meos-ref/meos/include/meos_tls.h b/jmeos-core/tools/parity/meos-ref/meos/include/meos_tls.h new file mode 100644 index 00000000..ded25d8d --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/meos/include/meos_tls.h @@ -0,0 +1,60 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2026, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2026, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @file + * @brief Thread-local-storage qualifier macro used by MEOS to mark + * per-thread state. Kept in a stand-alone header so that vendored + * PostgreSQL headers (e.g. pgtime.h) can pick it up without pulling in + * the full meos.h. + */ + +#ifndef __MEOS_TLS_H__ +#define __MEOS_TLS_H__ + +/* + * Thread-local storage qualifier. C11 _Thread_local is supported by GCC, + * Clang, and MSVC 2019 16.10+; older compilers fall back to vendor + * extensions. If none of these is available the macro expands to + * nothing and MEOS state remains process-global (legacy behaviour). + */ +#if defined(__cplusplus) && __cplusplus >= 201103L +#define MEOS_TLS thread_local +#elif defined(__STDC_VERSION__) && __STDC_VERSION__ >= 201112L && \ + !defined(__STDC_NO_THREADS__) +#define MEOS_TLS _Thread_local +#elif defined(_MSC_VER) +#define MEOS_TLS __declspec(thread) +#elif defined(__GNUC__) || defined(__clang__) || defined(__INTEL_COMPILER) +#define MEOS_TLS __thread +#else +#define MEOS_TLS /* not supported; falls back to non-thread-safe globals */ +#endif + +#endif /* __MEOS_TLS_H__ */ diff --git a/jmeos-core/tools/parity/meos-ref/meos/include/npoint/doxygen_meos_internal_npoint.h b/jmeos-core/tools/parity/meos-ref/meos/include/npoint/doxygen_meos_internal_npoint.h new file mode 100644 index 00000000..4c0b46b0 --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/meos/include/npoint/doxygen_meos_internal_npoint.h @@ -0,0 +1,116 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @defgroup meos_internal_npoint_base Functions for static network points + * @ingroup meos_internal_npoint + * @brief Functions for static network points + * + * @defgroup meos_internal_npoint_set Functions for network point sets + * @ingroup meos_internal_npoint + * @brief Functions for network point sets + * + * @defgroup meos_internal_npoint_inout Input and output functions + * @ingroup meos_internal_npoint + * @brief Input and output functions for temporal network points + * + * @defgroup meos_internal_npoint_conversion Conversion functions + * @ingroup meos_internal_npoint + * @brief Conversion functions for temporal network points + * + * @defgroup meos_internal_npoint_accessor Accessor functions + * @ingroup meos_internal_npoint + * @brief Accessor functions for temporal network points + * + * @defgroup meos_internal_npoint_restrict Restriction functions + * @ingroup meos_internal_npoint + * @brief Restriction functions for temporal network points + * + * @defgroup meos_internal_npoint_dist Distance functions + * @ingroup meos_internal_npoint + * @brief Distance functions for temporal network points + * + * @defgroup meos_internal_npoint_agg Aggregate functions + * @ingroup meos_internal_npoint + * @brief Aggregate functions for temporal network points + */ + +/*****************************************************************************/ + +/** + * @defgroup meos_internal_npoint_base_inout Input and output functions + * @ingroup meos_internal_npoint_base + * @brief Input and output functions for static network points + * + * @defgroup meos_internal_npoint_base_constructor Constructor functions + * @ingroup meos_internal_npoint_base + * @brief Constructor functions for static network points + * + * @defgroup meos_internal_npoint_base_conversion Conversion functions + * @ingroup meos_internal_npoint_base + * @brief Conversion functions for static network points + * + * @defgroup meos_internal_npoint_base_accessor Accessor functions + * @ingroup meos_internal_npoint_base + * @brief Accessor functions for static network points + * + * @defgroup meos_internal_npoint_base_transf Transformation functions + * @ingroup meos_internal_npoint_base + * @brief Transformation functions for static network points + * + * @defgroup meos_internal_npoint_base_comp Comparison functions + * @ingroup meos_internal_npoint_base + * @brief Comparison functions for static network points + */ + +/*****************************************************************************/ + +/** + * @defgroup meos_internal_npoint_set_inout Input and output functions + * @ingroup meos_internal_npoint_set + * @brief Input and output functions for network point sets + * + * @defgroup meos_internal_npoint_set_constructor Constructor functions + * @ingroup meos_internal_npoint_set + * @brief Constructor functions for network point sets + * + * @defgroup meos_internal_npoint_set_conversion Conversion functions + * @ingroup meos_internal_npoint_set + * @brief Conversion functions for network point sets + * + * @defgroup meos_internal_npoint_set_accessor Accessor functions + * @ingroup meos_internal_npoint_set + * @brief Accessor functions for network point sets + * + * @defgroup meos_internal_npoint_set_setops Set operations + * @ingroup meos_internal_npoint_set + * @brief Set operations for network point sets + */ + +/*****************************************************************************/ diff --git a/jmeos-core/tools/parity/meos-ref/meos/include/npoint/doxygen_meos_npoint.h b/jmeos-core/tools/parity/meos-ref/meos/include/npoint/doxygen_meos_npoint.h new file mode 100644 index 00000000..e7c1c10a --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/meos/include/npoint/doxygen_meos_npoint.h @@ -0,0 +1,136 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @defgroup meos_npoint_base Functions for static network points + * @ingroup meos_npoint + * @brief Functions for static network points + * + * @defgroup meos_npoint_set Functions for network point sets + * @ingroup meos_npoint + * @brief Functions for network point sets + * + * @defgroup meos_npoint_inout Input and output functions + * @ingroup meos_npoint + * @brief Input and output functions for temporal network points + * + * @defgroup meos_npoint_conversion Conversion functions + * @ingroup meos_npoint + * @brief Conversion functions for temporal network points + * + * @defgroup meos_npoint_accessor Accessor functions + * @ingroup meos_npoint + * @brief Accessor functions for temporal network points + * + * @defgroup meos_npoint_restrict Restriction functions + * @ingroup meos_npoint + * @brief Restriction functions for temporal network points + * + * @defgroup meos_npoint_dist Distance functions + * @ingroup meos_npoint + * @brief Distance functions for temporal network points + * + * @defgroup meos_npoint_agg Aggregate functions + * @ingroup meos_npoint + * @brief Aggregate functions for temporal network points + * + * @defgroup meos_npoint_comp Comparison functions + * @ingroup meos_npoint + * @brief Comparison functions for temporal network points + * + * @defgroup meos_npoint_comp_ever Ever and always comparison functions + * @ingroup meos_npoint_comp + * @brief Ever and always comparison functions for temporal network points + * + * @defgroup meos_npoint_comp_temp Temporal comparison functions + * @ingroup meos_npoint_comp + * @brief Temporal comparison functions for temporal network points + */ + +/*****************************************************************************/ + +/** + * @defgroup meos_npoint_base_inout Input and output functions + * @ingroup meos_npoint_base + * @brief Input and output functions for static network points + * + * @defgroup meos_npoint_base_constructor Constructor functions + * @ingroup meos_npoint_base + * @brief Constructor functions for static network points + * + * @defgroup meos_npoint_base_conversion Conversion functions + * @ingroup meos_npoint_base + * @brief Conversion functions for static network points + * + * @defgroup meos_npoint_base_accessor Accessor functions + * @ingroup meos_npoint_base + * @brief Accessor functions for static network points + * + * @defgroup meos_npoint_base_route Route functions + * @ingroup meos_npoint_base + * @brief Route functions for static network points + * + * @defgroup meos_npoint_base_transf Transformation functions + * @ingroup meos_npoint_base + * @brief Transformation functions for static network points + * + * @defgroup meos_npoint_base_srid Spatial reference system functions + * @ingroup meos_npoint_base + * @brief Spatial reference system functions for static network points + * + * @defgroup meos_npoint_base_comp Comparison functions + * @ingroup meos_npoint_base + * @brief Comparison functions for static network points + */ + +/*****************************************************************************/ + +/** + * @defgroup meos_npoint_set_inout Input and output functions + * @ingroup meos_npoint_set + * @brief Input and output functions for network point sets + * + * @defgroup meos_npoint_set_constructor Constructor functions + * @ingroup meos_npoint_set + * @brief Constructor functions for network point sets + * + * @defgroup meos_npoint_set_conversion Conversion functions + * @ingroup meos_npoint_set + * @brief Conversion functions for network point sets + * + * @defgroup meos_npoint_set_accessor Accessor functions + * @ingroup meos_npoint_set + * @brief Accessor functions for network point sets + * + * @defgroup meos_npoint_set_setops Set operations + * @ingroup meos_npoint_set + * @brief Set operations for network point sets + */ + +/*****************************************************************************/ diff --git a/jmeos-core/tools/parity/meos-ref/meos/include/npoint/tnpoint.h b/jmeos-core/tools/parity/meos-ref/meos/include/npoint/tnpoint.h new file mode 100644 index 00000000..47768dd6 --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/meos/include/npoint/tnpoint.h @@ -0,0 +1,153 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @brief Functions for temporal network points. + */ + +#ifndef __TNPOINT_H__ +#define __TNPOINT_H__ + +/* PostgreSQL */ +#include +/* MEOS */ +#include +#include "temporal/temporal.h" + +/***************************************************************************** + * fmgr macros + *****************************************************************************/ + +/* Npoint */ +#define DatumGetNpointP(X) ((Npoint *) DatumGetPointer(X)) +#define NpointPGetDatum(X) PointerGetDatum(X) +#define PG_GETARG_NPOINT_P(X) DatumGetNpointP(PG_GETARG_DATUM(X)) +#define PG_RETURN_NPOINT_P(X) PG_RETURN_POINTER(X) + +/* Nsegment */ +#define DatumGetNsegmentP(X) ((Nsegment *) DatumGetPointer(X)) +#define NsegmentPGetDatum(X) PointerGetDatum(X) +#define PG_GETARG_NSEGMENT_P(X) DatumGetNsegmentP(PG_GETARG_DATUM(X)) +#define PG_RETURN_NSEGMENT_P(X) PG_RETURN_POINTER(X) + +/***************************************************************************** + * Npoint functions + *****************************************************************************/ + +/* Validity functions */ + +extern bool ensure_valid_tnpoint_npoint(const Temporal *temp, + const Npoint *np); +extern bool ensure_valid_tnpoint_npointset(const Temporal *temp, const Set *s); +extern bool ensure_valid_tnpoint_geo(const Temporal *temp, + const GSERIALIZED *gs); +extern bool ensure_valid_tnpoint_stbox(const Temporal *temp, const STBox *box); +extern bool ensure_valid_tnpoint_tnpoint(const Temporal *temp1, + const Temporal *temp2); + +extern int tnpointsegm_intersection(Datum start1, Datum end1, Datum start2, + Datum end2, TimestampTz lower, TimestampTz upper, TimestampTz *t1, + TimestampTz *t2); + +extern bool common_rid_tnpoint_npoint(const Temporal *temp, const Npoint *np); +extern bool common_rid_tnpoint_npointset(const Temporal *temp, const Set *s); +extern bool common_rid_tnpoint_tnpoint(const Temporal *temp1, + const Temporal *temp2); + +/* Collinear functions */ + +extern bool npoint_collinear(const Npoint *np1, const Npoint *np2, + const Npoint *np3, double ratio); + +/* Interpolation functions */ + +extern Npoint *npointsegm_interpolate(const Npoint *start, const Npoint *end, + long double ratio); +extern long double npointsegm_locate(const Npoint *start, const Npoint *end, + const Npoint *value); + +/* General functions */ + +extern GSERIALIZED *npointarr_geom(Npoint **points, int count); +extern GSERIALIZED *nsegmentarr_geom(Nsegment **segments, int count); +extern Nsegment **nsegmentarr_normalize(Nsegment **segments, int *count); + +/* Input/output functions */ + +extern char *npoint_wkt_out(Datum value, int maxdd); + +/* Constructor functions */ + +extern void npoint_set(int64 rid, double pos, Npoint *np); +extern void nsegment_set(int64 rid, double pos1, double pos2, Nsegment *ns); + +/* Transformation functions */ + +extern Datum datum_npoint_round(Datum npoint, Datum size); + +/***************************************************************************** + * Temporal network point functions + *****************************************************************************/ + +/* Input/output functions */ + +/* Conversion functions */ + +extern TInstant *tnpointinst_tgeompointinst(const TInstant *inst); +extern TSequence *tnpointseq_tgeompointseq_disc(const TSequence *is); +extern TSequence *tnpointseq_tgeompointseq_cont(const TSequence *seq); +extern TSequenceSet *tnpointseqset_tgeompointseqset(const TSequenceSet *ss); + +extern TInstant *tgeompointinst_tnpointinst(const TInstant *inst); +extern TSequence *tgeompointseq_tnpointseq(const TSequence *seq); +extern TSequenceSet *tgeompointseqset_tnpointseqset(const TSequenceSet *ss); + +/* Accessor functions */ + +extern Nsegment **tnpointinst_positions(const TInstant *inst); +extern Nsegment **tnpointseq_positions(const TSequence *seq, int *count); +extern Nsegment **tnpointseqset_positions(const TSequenceSet *ss, int *count); +extern int64 tnpointinst_route(const TInstant *inst); +extern Set *tnpointinst_routes(const TInstant *inst); +extern Set *tnpointseq_disc_routes(const TSequence *is); +extern Set *tnpointseq_cont_routes(const TSequence *seq); +extern Set *tnpointseqset_routes(const TSequenceSet *ss); + +extern Nsegment *tnpointseq_linear_positions(const TSequence *seq); + +extern Temporal *tnpoint_restrict_stbox(const Temporal *temp, const STBox *box, + bool border_inc, bool atfunc); +extern Temporal *tnpoint_restrict_npoint(const Temporal *temp, const Npoint + *np, bool atfunc); +extern Temporal *tnpoint_restrict_npointset(const Temporal *temp, const Set *s, + bool atfunc); + +/*****************************************************************************/ + +#endif /* __TNPOINT_H__ */ diff --git a/jmeos-core/tools/parity/meos-ref/meos/include/npoint/tnpoint_boxops.h b/jmeos-core/tools/parity/meos-ref/meos/include/npoint/tnpoint_boxops.h new file mode 100644 index 00000000..18370fae --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/meos/include/npoint/tnpoint_boxops.h @@ -0,0 +1,60 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @brief Bounding box operators for temporal network points. + */ + +#ifndef __TNPOINT_BOXOPS_H__ +#define __TNPOINT_BOXOPS_H__ + +/* PostgreSQL */ +#include +/* MEOS */ +#include "temporal/temporal.h" +#include "npoint/tnpoint.h" + +/*****************************************************************************/ + +extern bool npoint_set_stbox(const Npoint *np, STBox *box); +extern void npointarr_set_stbox(const Datum *values, int count, STBox *box); +extern bool nsegment_set_stbox(const Nsegment *ns, STBox *box); +extern bool npoint_timestamptz_set_stbox(const Npoint *np, TimestampTz t, + STBox *box); +extern bool npoint_tstzspan_set_stbox(const Npoint *np, const Span *s, + STBox *box); + +extern void tnpointinst_set_stbox(const TInstant *inst, STBox *box); +extern void tnpointinstarr_set_stbox(TInstant **inst, int count, + interpType interp, STBox *box); +extern void tnpointseq_expand_stbox(const TSequence *seq, const TInstant *inst); + +/*****************************************************************************/ + +#endif /* __TNPOINT_BOXOPS_H__ */ diff --git a/jmeos-core/tools/parity/meos-ref/meos/include/npoint/tnpoint_distance.h b/jmeos-core/tools/parity/meos-ref/meos/include/npoint/tnpoint_distance.h new file mode 100644 index 00000000..1a7ece4a --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/meos/include/npoint/tnpoint_distance.h @@ -0,0 +1,48 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @brief Temporal distance for temporal circular buffers. + */ + +#ifndef __TNPOINT_DISTANCE_H__ +#define __TNPOINT_DISTANCE_H__ + +/* PostgreSQL */ +#include +/* MEOS */ +#include "temporal/temporal.h" + +/*****************************************************************************/ + +extern Datum datum_npoint_distance(Datum np1, Datum np2); + +/*****************************************************************************/ + +#endif /* __TNPOINT_DISTANCE_H__ */ diff --git a/jmeos-core/tools/parity/meos-ref/meos/include/npoint/tnpoint_parser.h b/jmeos-core/tools/parity/meos-ref/meos/include/npoint/tnpoint_parser.h new file mode 100644 index 00000000..05641001 --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/meos/include/npoint/tnpoint_parser.h @@ -0,0 +1,47 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @brief Functions for parsing static and temporal network points. + */ + +#ifndef __TNPOINT_PARSER_H__ +#define __TNPOINT_PARSER_H__ + +/* MEOS */ +#include "npoint/tnpoint.h" + +/*****************************************************************************/ + +extern Npoint *npoint_parse(const char **str, bool end); +extern Nsegment *nsegment_parse(const char **str); + +/*****************************************************************************/ + +#endif /* __TNPOINT_PARSER_H__ */ diff --git a/jmeos-core/tools/parity/meos-ref/meos/include/npoint/tnpoint_routeops.h b/jmeos-core/tools/parity/meos-ref/meos/include/npoint/tnpoint_routeops.h new file mode 100644 index 00000000..d2c92451 --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/meos/include/npoint/tnpoint_routeops.h @@ -0,0 +1,79 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @file + * @brief Route identifier operators for temporal network points. + */ + +#ifndef __TNPOINT_ROUTEOPS_H__ +#define __TNPOINT_ROUTEOPS_H__ + +/* PostgreSQL */ +#include +#if ! MEOS + #include +#endif /* ! MEOS */ +/* MEOS */ +#include "npoint/tnpoint.h" + +/*****************************************************************************/ + +extern bool contains_rid_tnpoint_bigint(const Temporal *temp, int64 rid, + bool invert UNUSED); +extern bool contained_rid_tnpoint_bigint(const Temporal *temp, int64 rid, + bool invert); +extern bool same_rid_tnpoint_bigint(const Temporal *temp, int64 rid, + bool invert UNUSED); +extern bool overlaps_rid_tnpoint_bigintset(const Temporal *temp, const Set *s, + bool invert UNUSED); +extern bool contains_rid_tnpoint_bigintset(const Temporal *temp, const Set *s, + bool invert); +extern bool contained_rid_tnpoint_bigintset(const Temporal *temp, const Set *s, + bool invert); +extern bool same_rid_tnpoint_bigintset(const Temporal *temp, const Set *s, + bool invert UNUSED); +extern bool contains_rid_tnpoint_npoint(const Temporal *temp, const Npoint *np, + bool invert UNUSED); +extern bool contained_rid_npoint_tnpoint(const Temporal *temp, const Npoint *np, + bool invert); +extern bool same_rid_tnpoint_npoint(const Temporal *temp, const Npoint *np, + bool invert UNUSED); +extern bool overlaps_rid_tnpoint_tnpoint(const Temporal *temp1, + const Temporal *temp2); +extern bool contains_rid_tnpoint_tnpoint(const Temporal *temp1, + const Temporal *temp2); +extern bool contained_rid_tnpoint_tnpoint(const Temporal *temp1, + const Temporal *temp2); +extern bool same_rid_tnpoint_tnpoint(const Temporal *temp1, + const Temporal *temp2); + +/*****************************************************************************/ + +#endif /* __TNPOINT_ROUTEOPS_H__ */ diff --git a/jmeos-core/tools/parity/meos-ref/meos/include/npoint/tnpoint_spatialfuncs.h b/jmeos-core/tools/parity/meos-ref/meos/include/npoint/tnpoint_spatialfuncs.h new file mode 100644 index 00000000..f4cdcb0f --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/meos/include/npoint/tnpoint_spatialfuncs.h @@ -0,0 +1,61 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @brief Geospatial functions for temporal network points. + */ + +#ifndef __TNPOINT_SPATIALFUNCS_H__ +#define __TNPOINT_SPATIALFUNCS_H__ + +/* PostgreSQL */ +#include +/* MEOS */ +#include +#include +#include "temporal/temporal.h" + +/*****************************************************************************/ + +/* Parameter tests */ + +extern bool ensure_same_rid_tnpointinst(const TInstant *inst1, + const TInstant *inst2); + +/* Restriction functions */ + +extern Temporal *tnpoint_restrict_geom(const Temporal *temp, + const GSERIALIZED *gs, bool atfunc); +extern Temporal *tnpoint_restrict_stbox(const Temporal *temp, const STBox *box, + bool border_inc, bool atfunc); + + +/*****************************************************************************/ + +#endif /* __TNPOINT_SPATIALFUNCS_H__ */ diff --git a/jmeos-core/tools/parity/meos-ref/meos/include/pose/doxygen_meos_internal_pose.h b/jmeos-core/tools/parity/meos-ref/meos/include/pose/doxygen_meos_internal_pose.h new file mode 100644 index 00000000..77c36ea1 --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/meos/include/pose/doxygen_meos_internal_pose.h @@ -0,0 +1,124 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @defgroup meos_internal_pose_base Functions for static poses + * @ingroup meos_internal_pose + * @brief Functions for static poses + * + * @defgroup meos_internal_pose_set Functions for pose sets + * @ingroup meos_internal_pose + * @brief Functions for pose sets + * + * @defgroup meos_internal_pose_inout Input and output functions + * @ingroup meos_internal_pose + * @brief Input and output functions for temporal poses + * + * @defgroup meos_internal_pose_conversion Conversion functions + * @ingroup meos_internal_pose + * @brief Conversion functions for temporal poses + * + * @defgroup meos_internal_pose_accessor Accessor functions + * @ingroup meos_internal_pose + * @brief Accessor functions for temporal poses + * + * @defgroup meos_internal_pose_restrict Restriction functions + * @ingroup meos_internal_pose + * @brief Restriction functions for temporal poses + * + * @defgroup meos_internal_pose_comp Comparison functions + * @ingroup meos_internal_pose + * @brief Comparison functions for temporal poses + * + * @defgroup meos_internal_pose_comp_ever Ever and always comparison functions + * @ingroup meos_internal_pose_comp + * @brief Ever and always comparison functions for temporal poses + * + * @defgroup meos_internal_pose_comp_temp Temporal comparison functions + * @ingroup meos_internal_pose_comp + * @brief Temporal comparison functions for temporal poses + */ + +/*****************************************************************************/ + +/** + * @defgroup meos_internal_pose_base_inout Input and output functions + * @ingroup meos_internal_pose_base + * @brief Input and output functions for static poses + * + * @defgroup meos_internal_pose_base_constructor Constructor functions + * @ingroup meos_internal_pose_base + * @brief Constructor functions for static poses + * + * @defgroup meos_internal_pose_base_conversion Conversion functions + * @ingroup meos_internal_pose_base + * @brief Conversion functions for static poses + * + * @defgroup meos_internal_pose_base_accessor Accessor functions + * @ingroup meos_internal_pose_base + * @brief Accessor functions for static poses + * + * @defgroup meos_internal_pose_base_transf Transformation functions + * @ingroup meos_internal_pose_base + * @brief Transformation functions for static poses + * + * @defgroup meos_internal_pose_base_srid Spatial reference system functions + * @ingroup meos_internal_pose_base + * @brief Spatial reference system functions for static poses + * + * @defgroup meos_internal_pose_base_comp Comparison functions + * @ingroup meos_internal_pose_base + * @brief Comparison functions for static poses + */ + +/*****************************************************************************/ + +/** + * @defgroup meos_internal_pose_set_inout Input and output functions + * @ingroup meos_internal_pose_set + * @brief Input and output functions for pose sets + * + * @defgroup meos_internal_pose_set_constructor Constructor functions + * @ingroup meos_internal_pose_set + * @brief Constructor functions for pose sets + * + * @defgroup meos_internal_pose_set_conversion Conversion functions + * @ingroup meos_internal_pose_set + * @brief Conversion functions for pose sets + * + * @defgroup meos_internal_pose_set_accessor Accessor functions + * @ingroup meos_internal_pose_set + * @brief Accessor functions for pose sets + * + * @defgroup meos_internal_pose_set_setops Set operations + * @ingroup meos_internal_pose_set + * @brief Set operations for pose sets + */ + +/*****************************************************************************/ diff --git a/jmeos-core/tools/parity/meos-ref/meos/include/pose/doxygen_meos_pose.h b/jmeos-core/tools/parity/meos-ref/meos/include/pose/doxygen_meos_pose.h new file mode 100644 index 00000000..9fd5b02e --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/meos/include/pose/doxygen_meos_pose.h @@ -0,0 +1,136 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @defgroup meos_pose_base Functions for static poses + * @ingroup meos_pose + * @brief Functions for static poses + * + * @defgroup meos_pose_set Functions for pose sets + * @ingroup meos_pose + * @brief Functions for pose sets + * + * @defgroup meos_pose_inout Input and output functions + * @ingroup meos_pose + * @brief Input and output functions for temporal poses + * + * @defgroup meos_geo_constructor Constructor functions + * @ingroup meos_geo + * @brief Constructor functions for temporal geometries + * + * @defgroup meos_pose_conversion Conversion functions + * @ingroup meos_pose + * @brief Conversion functions for temporal poses + * + * @defgroup meos_pose_accessor Accessor functions + * @ingroup meos_pose + * @brief Accessor functions for temporal poses + * + * @defgroup meos_pose_restrict Restriction functions + * @ingroup meos_pose + * @brief Restriction functions for temporal poses + * + * @defgroup meos_pose_comp Comparison functions + * @ingroup meos_pose + * @brief Comparison functions for temporal poses + * + * @defgroup meos_pose_comp_ever Ever and always comparison functions + * @ingroup meos_pose_comp + * @brief Ever and always comparison functions for temporal poses + * + * @defgroup meos_pose_comp_temp Temporal comparison functions + * @ingroup meos_pose_comp + * @brief Temporal comparison functions for temporal poses + * + * @defgroup meos_pose_distance Distance functions + * @ingroup meos_pose + * @brief Distance functions for temporal poses + */ + +/*****************************************************************************/ + +/** + * @defgroup meos_pose_base_inout Input and output functions + * @ingroup meos_pose_base + * @brief Input and output functions for static poses + * + * @defgroup meos_pose_base_constructor Constructor functions + * @ingroup meos_pose_base + * @brief Constructor functions for static poses + * + * @defgroup meos_pose_base_conversion Conversion functions + * @ingroup meos_pose_base + * @brief Conversion functions for static poses + * + * @defgroup meos_pose_base_accessor Accessor functions + * @ingroup meos_pose_base + * @brief Accessor functions for static poses + * + * @defgroup meos_pose_base_transf Transformation functions + * @ingroup meos_pose_base + * @brief Transformation functions for static poses + * + * @defgroup meos_pose_base_srid Spatial reference system functions + * @ingroup meos_pose_base + * @brief Spatial reference system functions for static poses + * + * @defgroup meos_pose_base_bbox Bounding box functions + * @ingroup meos_pose_base + * @brief Bounding box functions for static poses + * + * @defgroup meos_pose_base_comp Comparison functions + * @ingroup meos_pose_base + * @brief Comparison functions for static poses + */ + +/*****************************************************************************/ + +/** + * @defgroup meos_pose_set_inout Input and output functions + * @ingroup meos_pose_set + * @brief Input and output functions for pose sets + * + * @defgroup meos_pose_set_constructor Constructor functions + * @ingroup meos_pose_set + * @brief Constructor functions for pose sets + * + * @defgroup meos_pose_set_conversion Conversion functions + * @ingroup meos_pose_set + * @brief Conversion functions for pose sets + * + * @defgroup meos_pose_set_accessor Accessor functions + * @ingroup meos_pose_set + * @brief Accessor functions for pose sets + * + * @defgroup meos_pose_set_setops Set operations + * @ingroup meos_pose_set + * @brief Set operations for pose sets + */ + +/*****************************************************************************/ diff --git a/jmeos-core/tools/parity/meos-ref/meos/include/pose/pose.h b/jmeos-core/tools/parity/meos-ref/meos/include/pose/pose.h new file mode 100644 index 00000000..0c9d5449 --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/meos/include/pose/pose.h @@ -0,0 +1,118 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @brief Basic functions for static pose objects. + */ + +#ifndef __POSE_H__ +#define __POSE_H__ + +/* PostgreSQL */ +#include +/* MEOS */ +#include +#include + +/***************************************************************************** + * Struct definitions + *****************************************************************************/ + +/** + * @brief Structure to represent pose values + * @details + * flags (8 bits, x = unused): xxZXxxxx + * data: 2D: [x, y, theta] + * 3D: [x, y, z, W, X, Z, Y] + * + */ +struct Pose +{ + int32 vl_len_; /**< varlena header (do not touch directly!) */ + int8 flags; /**< flags */ + uint8_t srid[3]; /**< srid */ + double data[]; /**< position and orientation values */ +}; + +/***************************************************************************** + * fmgr macros + *****************************************************************************/ + +#define DatumGetPoseP(X) ((Pose *) DatumGetPointer(X)) +#define PosePGetDatum(X) PointerGetDatum(X) +#define PG_GETARG_POSE_P(X) DatumGetPoseP(PG_GETARG_DATUM(X)) +#define PG_RETURN_POSE_P(X) PG_RETURN_POINTER(X) + +/*****************************************************************************/ + +/* Validity functions */ + +extern bool ensure_valid_pose_geo(const Pose *pose, const GSERIALIZED *gs); +extern bool ensure_valid_pose_stbox(const Pose *pose, const STBox *box); +extern bool ensure_valid_pose_pose(const Pose *pose1, const Pose *pose2); +extern bool ensure_valid_poseset_pose(const Set *s, const Pose *pose); + +/* Collinear and interpolation functions */ + +extern bool pose_collinear(const Pose *pose1, const Pose *pose2, + const Pose *pose3, double ratio); +extern Pose *posesegm_interpolate(const Pose *start, const Pose *end, + double ratio); +extern long double posesegm_locate(const Pose *start, const Pose *end, + const Pose *value); + +/* Input/output functions */ + +extern char *pose_wkt_out(const Pose *pose, bool extended, int maxdd); + +extern Pose *pose_parse(const char **str, bool end); + +extern Datum datum_pose_point(Datum pose); +extern Datum datum_pose_rotation(Datum pose); + +/* Transformation functions */ + +extern Datum datum_pose_round(Datum pose, Datum size); + +/* Distance */ + +extern Datum pose_distance(Datum pose1, Datum pose2); + +/* Box functions */ + +extern bool pose_set_stbox(const Pose *pose, STBox *box); +extern void posearr_set_stbox(const Datum *values, int count, STBox *box); +extern bool pose_timestamptz_set_stbox(const Pose *pose, TimestampTz t, + STBox *box); +extern bool pose_tstzspan_set_stbox(const Pose *pose, const Span *p, + STBox *box); + +/*****************************************************************************/ + +#endif /* __POSE_H__ */ diff --git a/jmeos-core/tools/parity/meos-ref/meos/include/pose/tpose.h b/jmeos-core/tools/parity/meos-ref/meos/include/pose/tpose.h new file mode 100644 index 00000000..3bf57ff5 --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/meos/include/pose/tpose.h @@ -0,0 +1,61 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @brief General functions for temporal pose objects. + */ + +#ifndef __TPOSE_H__ +#define __TPOSE_H__ + +#include "temporal/temporal.h" +#include "pose/pose.h" + +/*****************************************************************************/ + +/* Validity functions */ + +extern bool ensure_valid_tpose_geo(const Temporal *temp, + const GSERIALIZED *gs); +extern bool ensure_valid_tpose_pose(const Temporal *temp, const Pose *pose); +extern bool ensure_valid_tpose_stbox(const Temporal *temp, const STBox *box); +extern bool ensure_valid_tpose_tpose(const Temporal *temp1, + const Temporal *temp2); + +/* Interpolation functions */ + +extern int tposesegm_intersection_value(Datum start, Datum end, Datum value, + TimestampTz lower, TimestampTz upper, TimestampTz *t1, TimestampTz *t2); +extern int tposesegm_intersection(Datum start1, Datum end1, Datum start2, + Datum end2, TimestampTz lower, TimestampTz upper, TimestampTz *t1, + TimestampTz *t2); + +/*****************************************************************************/ + +#endif /* __TPOSE_H__ */ diff --git a/jmeos-core/tools/parity/meos-ref/meos/include/pose/tpose_boxops.h b/jmeos-core/tools/parity/meos-ref/meos/include/pose/tpose_boxops.h new file mode 100644 index 00000000..a2629c9a --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/meos/include/pose/tpose_boxops.h @@ -0,0 +1,54 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @brief Bounding box operators for temporal pose objects. + */ + +#ifndef __TPOSE_BOXOPS_H__ +#define __TPOSE_BOXOPS_H__ + +#include "temporal/temporal.h" +#include + +/*****************************************************************************/ + +/* Functions computing the bounding box at the creation of a temporal pose */ + +extern bool pose_set_stbox(const Pose *pose, STBox *box); +extern void posearr_set_stbox(const Datum *values, int count, STBox *box); + +extern void tposeinst_set_stbox(const TInstant *inst, STBox *box); +extern void tposeinstarr_set_stbox(TInstant **instants, int count, + STBox *box); +extern void tposeseq_expand_stbox(TSequence *seq, const TInstant *inst); + +/*****************************************************************************/ + +#endif /* __TPOSE_BOXOPS_H__ */ diff --git a/jmeos-core/tools/parity/meos-ref/meos/include/pose/tpose_spatialfuncs.h b/jmeos-core/tools/parity/meos-ref/meos/include/pose/tpose_spatialfuncs.h new file mode 100644 index 00000000..6076e958 --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/meos/include/pose/tpose_spatialfuncs.h @@ -0,0 +1,57 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @brief Spatial functions for temporal pose objects. + */ + +#ifndef __TPOSE_SPATIALFUNCS_H__ +#define __TPOSE_SPATIALFUNCS_H__ + +#include "temporal/temporal.h" +#include "pose/pose.h" + +/*****************************************************************************/ + +/* Trajectory function */ + +extern GSERIALIZED *tpose_trajectory(const Temporal *temp); + +/* Restriction functions */ + +extern Temporal *tpose_restrict_geom(const Temporal *temp, + const GSERIALIZED *gs, bool atfunc); +extern Temporal *tpose_restrict_stbox(const Temporal *temp, const STBox *box, + bool border_inc, bool atfunc); +extern Temporal *tpose_restrict_elevation(const Temporal *temp, const Span *s, + bool atfunc); + +/*****************************************************************************/ + +#endif /* __TPOSE_SPATIALFUNCS_H__ */ diff --git a/jmeos-core/tools/parity/meos-ref/meos/include/postgis_ext_defs.in.h b/jmeos-core/tools/parity/meos-ref/meos/include/postgis_ext_defs.in.h new file mode 100644 index 00000000..243d0fbf --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/meos/include/postgis_ext_defs.in.h @@ -0,0 +1,420 @@ +#ifndef _LIBLWGEOM_H +#define _LIBLWGEOM_H + +/******************************************************************/ + +/** +* Macros for manipulating the 'flags' byte. A uint8_t used as follows: +* VVSRGBMZ +* Version bit, followed by +* Validty, Solid, ReadOnly, Geodetic, HasBBox, HasM and HasZ flags. +*/ +#define LWFLAG_Z 0x01 +#define LWFLAG_M 0x02 +#define LWFLAG_BBOX 0x04 +#define LWFLAG_GEODETIC 0x08 +#define LWFLAG_READONLY 0x10 +#define LWFLAG_SOLID 0x20 + +#define FLAGS_GET_Z(flags) ((flags) & LWFLAG_Z) +#define FLAGS_GET_M(flags) (((flags) & LWFLAG_M)>>1) +#define FLAGS_GET_BBOX(flags) (((flags) & LWFLAG_BBOX)>>2) +#define FLAGS_GET_GEODETIC(flags) (((flags) & LWFLAG_GEODETIC)>>3) +#define FLAGS_GET_READONLY(flags) (((flags) & LWFLAG_READONLY)>>4) +#define FLAGS_GET_SOLID(flags) (((flags) & LWFLAG_SOLID)>>5) + +#define FLAGS_SET_Z(flags, value) ((flags) = (value) ? ((flags) | LWFLAG_Z) : ((flags) & ~LWFLAG_Z)) +#define FLAGS_SET_M(flags, value) ((flags) = (value) ? ((flags) | LWFLAG_M) : ((flags) & ~LWFLAG_M)) +#define FLAGS_SET_BBOX(flags, value) ((flags) = (value) ? ((flags) | LWFLAG_BBOX) : ((flags) & ~LWFLAG_BBOX)) +#define FLAGS_SET_GEODETIC(flags, value) ((flags) = (value) ? ((flags) | LWFLAG_GEODETIC) : ((flags) & ~LWFLAG_GEODETIC)) +#define FLAGS_SET_READONLY(flags, value) ((flags) = (value) ? ((flags) | LWFLAG_READONLY) : ((flags) & ~LWFLAG_READONLY)) +#define FLAGS_SET_SOLID(flags, value) ((flags) = (value) ? ((flags) | LWFLAG_SOLID) : ((flags) & ~LWFLAG_SOLID)) + +#define FLAGS_NDIMS(flags) (2 + FLAGS_GET_Z(flags) + FLAGS_GET_M(flags)) +#define FLAGS_GET_ZM(flags) (FLAGS_GET_M(flags) + FLAGS_GET_Z(flags) * 2) +#define FLAGS_NDIMS_BOX(flags) (FLAGS_GET_GEODETIC(flags) ? 3 : FLAGS_NDIMS(flags)) + +/* +** Variants available for WKB and WKT output types +*/ + +#define WKB_ISO 0x01 +#define WKB_SFSQL 0x02 +#define WKB_EXTENDED 0x04 +#define WKB_NDR 0x08 +#define WKB_XDR 0x10 +#define WKB_HEX 0x20 +#define WKB_NO_NPOINTS 0x40 /* Internal use only */ +#define WKB_NO_SRID 0x80 /* Internal use only */ + +#define WKT_ISO 0x01 +#define WKT_SFSQL 0x02 +#define WKT_EXTENDED 0x04 + +typedef uint16_t lwflags_t; + +/******************************************************************/ + +typedef struct { + double afac, bfac, cfac, dfac, efac, ffac, gfac, hfac, ifac, xoff, yoff, zoff; +} AFFINE; + +/******************************************************************/ + +typedef struct +{ + double xmin, ymin, zmin; + double xmax, ymax, zmax; + int32_t srid; +} +BOX3D; + +/****************************************************************** +* GBOX structure. +* We include the flags (information about dimensionality), +* so we don't have to constantly pass them +* into functions that use the GBOX. +*/ +typedef struct +{ + lwflags_t flags; + double xmin; + double xmax; + double ymin; + double ymax; + double zmin; + double zmax; + double mmin; + double mmax; +} GBOX; + + +/****************************************************************** +* SPHEROID +* +* Standard definition of an ellipsoid (what wkt calls a spheroid) +* f = (a-b)/a +* e_sq = (a*a - b*b)/(a*a) +* b = a - fa +*/ +typedef struct +{ + double a; /* semimajor axis */ + double b; /* semiminor axis b = (a - fa) */ + double f; /* flattening f = (a-b)/a */ + double e; /* eccentricity (first) */ + double e_sq; /* eccentricity squared (first) e_sq = (a*a-b*b)/(a*a) */ + double radius; /* spherical average radius = (2*a+b)/3 */ + char name[20]; /* name of ellipse */ +} +SPHEROID; + +/****************************************************************** +* POINT2D, POINT3D, POINT3DM, POINT4D +*/ +typedef struct +{ + double x, y; +} +POINT2D; + +typedef struct +{ + double x, y, z; +} +POINT3DZ; + +typedef struct +{ + double x, y, z; +} +POINT3D; + +typedef struct +{ + double x, y, m; +} +POINT3DM; + +typedef struct +{ + double x, y, z, m; +} +POINT4D; + +/****************************************************************** +* POINTARRAY +* Point array abstracts a lot of the complexity of points and point lists. +* It handles 2d/3d translation +* (2d points converted to 3d will have z=0 or NaN) +* DO NOT MIX 2D and 3D POINTS! EVERYTHING* is either one or the other +*/ +typedef struct +{ + uint32_t npoints; /* how many points we are currently storing */ + uint32_t maxpoints; /* how many points we have space for in serialized_pointlist */ + + /* Use FLAGS_* macros to handle */ + lwflags_t flags; + + /* Array of POINT 2D, 3D or 4D, possibly misaligned. */ + uint8_t *serialized_pointlist; +} +POINTARRAY; + +/****************************************************************** +* GSERIALIZED +*/ + +typedef struct +{ + uint32_t size; /* For PgSQL use only, use VAR* macros to manipulate. */ + uint8_t srid[3]; /* 24 bits of SRID */ + uint8_t gflags; /* HasZ, HasM, HasBBox, IsGeodetic */ + uint8_t data[1]; /* See gserialized.txt */ +} GSERIALIZED; + +/****************************************************************** +* LWGEOM (any geometry type) +* +* Abstract type, note that 'type', 'bbox' and 'srid' are available in +* all geometry variants. +*/ +typedef struct +{ + GBOX *bbox; + void *data; + int32_t srid; + lwflags_t flags; + uint8_t type; + char pad[1]; /* Padding to 24 bytes (unused) */ +} +LWGEOM; + +/* POINTYPE */ +typedef struct +{ + GBOX *bbox; + POINTARRAY *point; /* hide 2d/3d (this will be an array of 1 point) */ + int32_t srid; + lwflags_t flags; + uint8_t type; /* POINTTYPE */ + char pad[1]; /* Padding to 24 bytes (unused) */ +} +LWPOINT; /* "light-weight point" */ + +/* LINETYPE */ +typedef struct +{ + GBOX *bbox; + POINTARRAY *points; /* array of POINT3D */ + int32_t srid; + lwflags_t flags; + uint8_t type; /* LINETYPE */ + char pad[1]; /* Padding to 24 bytes (unused) */ +} +LWLINE; /* "light-weight line" */ + +/* TRIANGLE */ +typedef struct +{ + GBOX *bbox; + POINTARRAY *points; + int32_t srid; + lwflags_t flags; + uint8_t type; + char pad[1]; /* Padding to 24 bytes (unused) */ +} +LWTRIANGLE; + +/* CIRCSTRINGTYPE */ +typedef struct +{ + GBOX *bbox; + POINTARRAY *points; /* array of POINT(3D/3DM) */ + int32_t srid; + lwflags_t flags; + uint8_t type; /* CIRCSTRINGTYPE */ + char pad[1]; /* Padding to 24 bytes (unused) */ +} +LWCIRCSTRING; /* "light-weight circularstring" */ + +/* POLYGONTYPE */ +typedef struct +{ + GBOX *bbox; + POINTARRAY **rings; /* list of rings (list of points) */ + int32_t srid; + lwflags_t flags; + uint8_t type; /* POLYGONTYPE */ + char pad[1]; /* Padding to 24 bytes (unused) */ + uint32_t nrings; /* how many rings we are currently storing */ + uint32_t maxrings; /* how many rings we have space for in **rings */ +} +LWPOLY; /* "light-weight polygon" */ + +/* MULTIPOINTTYPE */ +typedef struct +{ + GBOX *bbox; + LWPOINT **geoms; + int32_t srid; + lwflags_t flags; + uint8_t type; /* MULTYPOINTTYPE */ + char pad[1]; /* Padding to 24 bytes (unused) */ + uint32_t ngeoms; /* how many geometries we are currently storing */ + uint32_t maxgeoms; /* how many geometries we have space for in **geoms */ +} +LWMPOINT; + +/* MULTILINETYPE */ +typedef struct +{ + GBOX *bbox; + LWLINE **geoms; + int32_t srid; + lwflags_t flags; + uint8_t type; /* MULTILINETYPE */ + char pad[1]; /* Padding to 24 bytes (unused) */ + uint32_t ngeoms; /* how many geometries we are currently storing */ + uint32_t maxgeoms; /* how many geometries we have space for in **geoms */ +} +LWMLINE; + +/* MULTIPOLYGONTYPE */ +typedef struct +{ + GBOX *bbox; + LWPOLY **geoms; + int32_t srid; + lwflags_t flags; + uint8_t type; /* MULTIPOLYGONTYPE */ + char pad[1]; /* Padding to 24 bytes (unused) */ + uint32_t ngeoms; /* how many geometries we are currently storing */ + uint32_t maxgeoms; /* how many geometries we have space for in **geoms */ +} +LWMPOLY; + +/* COLLECTIONTYPE */ +typedef struct +{ + GBOX *bbox; + LWGEOM **geoms; + int32_t srid; + lwflags_t flags; + uint8_t type; /* COLLECTIONTYPE */ + char pad[1]; /* Padding to 24 bytes (unused) */ + uint32_t ngeoms; /* how many geometries we are currently storing */ + uint32_t maxgeoms; /* how many geometries we have space for in **geoms */ +} +LWCOLLECTION; + +/* COMPOUNDTYPE */ +typedef struct +{ + GBOX *bbox; + LWGEOM **geoms; + int32_t srid; + lwflags_t flags; + uint8_t type; /* COLLECTIONTYPE */ + char pad[1]; /* Padding to 24 bytes (unused) */ + uint32_t ngeoms; /* how many geometries we are currently storing */ + uint32_t maxgeoms; /* how many geometries we have space for in **geoms */ +} +LWCOMPOUND; /* "light-weight compound line" */ + +/* CURVEPOLYTYPE */ +typedef struct +{ + GBOX *bbox; + LWGEOM **rings; + int32_t srid; + lwflags_t flags; + uint8_t type; /* CURVEPOLYTYPE */ + char pad[1]; /* Padding to 24 bytes (unused) */ + uint32_t nrings; /* how many rings we are currently storing */ + uint32_t maxrings; /* how many rings we have space for in **rings */ +} +LWCURVEPOLY; /* "light-weight polygon" */ + +/* MULTICURVE */ +typedef struct +{ + GBOX *bbox; + LWGEOM **geoms; + int32_t srid; + lwflags_t flags; + uint8_t type; /* MULTICURVE */ + char pad[1]; /* Padding to 24 bytes (unused) */ + uint32_t ngeoms; /* how many geometries we are currently storing */ + uint32_t maxgeoms; /* how many geometries we have space for in **geoms */ +} +LWMCURVE; + +/* MULTISURFACETYPE */ +typedef struct +{ + GBOX *bbox; + LWGEOM **geoms; + int32_t srid; + lwflags_t flags; + uint8_t type; /* MULTISURFACETYPE */ + char pad[1]; /* Padding to 24 bytes (unused) */ + uint32_t ngeoms; /* how many geometries we are currently storing */ + uint32_t maxgeoms; /* how many geometries we have space for in **geoms */ +} +LWMSURFACE; + +/* POLYHEDRALSURFACETYPE */ +typedef struct +{ + GBOX *bbox; + LWPOLY **geoms; + int32_t srid; + lwflags_t flags; + uint8_t type; /* POLYHEDRALSURFACETYPE */ + char pad[1]; /* Padding to 24 bytes (unused) */ + uint32_t ngeoms; /* how many geometries we are currently storing */ + uint32_t maxgeoms; /* how many geometries we have space for in **geoms */ +} +LWPSURFACE; + +/* TINTYPE */ +typedef struct +{ + GBOX *bbox; + LWTRIANGLE **geoms; + int32_t srid; + lwflags_t flags; + uint8_t type; /* TINTYPE */ + char pad[1]; /* Padding to 24 bytes (unused) */ + uint32_t ngeoms; /* how many geometries we are currently storing */ + uint32_t maxgeoms; /* how many geometries we have space for in **geoms */ +} +LWTIN; + +/* Functions */ + +extern int32 geo_get_srid(const GSERIALIZED *g); + +/* PROJ */ + +struct PJconsts; +typedef struct PJconsts PJ; + +typedef struct LWPROJ +{ + PJ* pj; + + /* for pipeline transforms, whether to do a forward or inverse */ + bool pipeline_is_forward; + + /* Source crs is geographic: Used in geography calls (source srid == dst srid) */ + uint8_t source_is_latlong; + /* Source ellipsoid parameters */ + double source_semi_major_metre; + double source_semi_minor_metre; +} LWPROJ; + + +#endif /* _LIBLWGEOM_H */ diff --git a/jmeos-core/tools/parity/meos-ref/meos/include/postgres_int_defs.h b/jmeos-core/tools/parity/meos-ref/meos/include/postgres_int_defs.h new file mode 100644 index 00000000..4d9087ab --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/meos/include/postgres_int_defs.h @@ -0,0 +1,3 @@ +#include "../postgres/postgres.h" +#include "../postgres/utils/timestamp_def.h" +#include "../postgres/utils/date.h" diff --git a/jmeos-core/tools/parity/meos-ref/meos/include/rgeo/doxygen_meos_internal_rgeo.h b/jmeos-core/tools/parity/meos-ref/meos/include/rgeo/doxygen_meos_internal_rgeo.h new file mode 100644 index 00000000..d03950e8 --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/meos/include/rgeo/doxygen_meos_internal_rgeo.h @@ -0,0 +1,60 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @defgroup meos_internal_rgeo_inout Input and output functions + * @ingroup meos_internal_rgeo + * @brief Input and output functions for temporal rigid geometries + * + * @defgroup meos_internal_rgeo_conversion Conversion functions + * @ingroup meos_internal_rgeo + * @brief Conversion functions for temporal rigid geometries + * + * @defgroup meos_internal_rgeo_accessor Accessor functions + * @ingroup meos_internal_rgeo + * @brief Accessor functions for temporal rigid geometries + * + * @defgroup meos_internal_rgeo_restrict Restriction functions + * @ingroup meos_internal_rgeo + * @brief Restriction functions for temporal rigid geometries + * + * @defgroup meos_internal_rgeo_comp Comparison functions + * @ingroup meos_internal_rgeo + * @brief Comparison functions for temporal rigid geometries + * + * @defgroup meos_internal_rgeo_comp_ever Ever and always comparison functions + * @ingroup meos_internal_rgeo_comp + * @brief Ever and always comparison functions for temporal rigid geometries + * + * @defgroup meos_internal_rgeo_comp_temp Temporal comparison functions + * @ingroup meos_internal_rgeo_comp + * @brief Temporal comparison functions for temporal rigid geometries + */ + +/*****************************************************************************/ diff --git a/jmeos-core/tools/parity/meos-ref/meos/include/rgeo/doxygen_meos_rgeo.h b/jmeos-core/tools/parity/meos-ref/meos/include/rgeo/doxygen_meos_rgeo.h new file mode 100644 index 00000000..a5bbb631 --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/meos/include/rgeo/doxygen_meos_rgeo.h @@ -0,0 +1,64 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @defgroup meos_rgeo_inout Input and output functions + * @ingroup meos_rgeo + * @brief Input and output functions for temporal rigid geometries + * + * @defgroup meos_rgeo_conversion Conversion functions + * @ingroup meos_rgeo + * @brief Conversion functions for temporal rigid geometries + * + * @defgroup meos_rgeo_accessor Accessor functions + * @ingroup meos_rgeo + * @brief Accessor functions for temporal rigid geometries + * + * @defgroup meos_rgeo_restrict Restriction functions + * @ingroup meos_rgeo + * @brief Restriction functions for temporal rigid geometries + * + * @defgroup meos_rgeo_dist Distance functions + * @ingroup meos_rgeo + * @brief Distance functions for temporal rigid geometries + * + * @defgroup meos_rgeo_comp Comparison functions + * @ingroup meos_rgeo + * @brief Comparison functions for temporal rigid geometries + * + * @defgroup meos_rgeo_comp_ever Ever and always comparison functions + * @ingroup meos_rgeo_comp + * @brief Ever and always comparison functions for temporal rigid geometries + * + * @defgroup meos_rgeo_comp_temp Temporal comparison functions + * @ingroup meos_rgeo_comp + * @brief Temporal comparison functions for temporal rigid geometries + */ + +/*****************************************************************************/ diff --git a/jmeos-core/tools/parity/meos-ref/meos/include/rgeo/trgeo.h b/jmeos-core/tools/parity/meos-ref/meos/include/rgeo/trgeo.h new file mode 100644 index 00000000..55b0a59b --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/meos/include/rgeo/trgeo.h @@ -0,0 +1,88 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.  + * + *****************************************************************************/ + +/** + * @file + * @brief General functions for temporal rigid geometries + */ + +#ifndef __TRGEO_H__ +#define __TRGEO_H__ + +/* PostgreSQL */ +#include +/* MEOS */ +#include "temporal/temporal.h" + +/** Symbolic constants for the temporal instant geometry constuctor */ +#define WITH_GEOM true +#define NO_GEOM false + +/***************************************************************************** + * Miscellaneous functions defined in trgeo.c + *****************************************************************************/ + +extern bool ensure_has_geom(int16 flags); +extern bool ensure_valid_trgeo_geo(const Temporal *temp, + const GSERIALIZED *gs); +extern bool ensure_valid_trgeo_stbox(const Temporal *temp, + const STBox *box); +extern bool ensure_valid_trgeo_trgeo(const Temporal *temp1, + const Temporal *temp2); +extern bool ensure_valid_trgeo_tpoint(const Temporal *temp1, + const Temporal *temp2); +extern const GSERIALIZED *trgeo_geom_p(const Temporal *temp); + +/* Input/output functions */ + +extern char *trgeo_wkt_out(const Temporal *temp, int maxdd, bool extended); + +/* Constructor functions */ + +extern TInstant *geo_tposeinst_to_trgeo(const GSERIALIZED *gs, + const TInstant *inst); +extern TSequence *geo_tposeseq_to_trgeo(const GSERIALIZED *gs, + const TSequence *seq); +extern TSequenceSet *geo_tposeseqset_to_trgeo(const GSERIALIZED *gs, + const TSequenceSet *ss); + +/* Conversion functions */ + + +/* Accessor functions */ + +extern bool trgeo_value_at_timestamptz(const Temporal *temp, TimestampTz t, + bool strict, Datum *result); + +/* Transformation functions */ + + +/*****************************************************************************/ + +#endif /* __TRGEO_H__ */ diff --git a/jmeos-core/tools/parity/meos-ref/meos/include/rgeo/trgeo_all.h b/jmeos-core/tools/parity/meos-ref/meos/include/rgeo/trgeo_all.h new file mode 100644 index 00000000..4e3be67d --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/meos/include/rgeo/trgeo_all.h @@ -0,0 +1,46 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.  + * + *****************************************************************************/ + +/** + * @file + * @brief General functions for temporal rigid geometries + */ + +#ifndef __TRGEO_ALL_H__ +#define __TRGEO_ALL_H__ + +/* MEOS */ +#include "rgeo/trgeo.h" +#include "rgeo/trgeo_inst.h" +#include "rgeo/trgeo_seq.h" +#include "rgeo/trgeo_seqset.h" + +/*****************************************************************************/ + +#endif /* __TRGEO_ALL_H__ */ diff --git a/jmeos-core/tools/parity/meos-ref/meos/include/rgeo/trgeo_boxops.h b/jmeos-core/tools/parity/meos-ref/meos/include/rgeo/trgeo_boxops.h new file mode 100644 index 00000000..b75e43db --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/meos/include/rgeo/trgeo_boxops.h @@ -0,0 +1,60 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.  + * + *****************************************************************************/ + +/** + * @file + * @brief Bounding box operators for temporal rigid geometries + */ + +#ifndef __TRGEO_BOXOPS_H__ +#define __TRGEO_BOXOPS_H__ + +/* Postgres */ +#include +/* MEOS */ +#include "temporal/temporal.h" +#include "geo/stbox.h" + +/*****************************************************************************/ + +/* Functions computing the bounding box at the creation of the temporal rigid + * geometry */ + +extern void trgeoinst_set_stbox(const GSERIALIZED *geom, const TInstant *inst, + STBox *box); +extern void trgeoinstarr_static_stbox(const GSERIALIZED *geom, + TInstant **instants, int count, STBox *box); +extern void trgeoinstarr_rotating_stbox(const GSERIALIZED *geom, + TInstant **instants, int count, STBox *box); +extern void trgeoinstarr_compute_bbox(const GSERIALIZED *geom, + TInstant **instants, int count, interpType interp, void *box); + +/*****************************************************************************/ + +#endif /* __TRGEO_BOXOPS_H__ */ diff --git a/jmeos-core/tools/parity/meos-ref/meos/include/rgeo/trgeo_distance.h b/jmeos-core/tools/parity/meos-ref/meos/include/rgeo/trgeo_distance.h new file mode 100644 index 00000000..db8439c5 --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/meos/include/rgeo/trgeo_distance.h @@ -0,0 +1,106 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.  + * + *****************************************************************************/ + +/** + * @file + * @brief Distance functions for temporal rigid geometries + */ + +#ifndef __TRGEO_DISTANCE_H__ +#define __TRGEO_DISTANCE_H__ + +/* PostgreSQL */ +#include +/* PostGIS */ +#include +/* MEOS */ +#include "temporal/temporal.h" +#include "pose/pose.h" + +/***************************************************************************** + * Struct definitions + *****************************************************************************/ + +/** Symbolic constants for temporal distance */ +#define MEOS_ANY 0 +#define MEOS_RIGHT 1 +#define MEOS_LEFT 2 + +/** Symbolic constants for equation solving */ +#define MEOS_SOLVE_0 true +#define MEOS_SOLVE_1 false + +/** Symbolic constants for cfp_elem */ +#define MEOS_CFP_STORE true +#define MEOS_CFP_STORE_NO false + +#define MEOS_CFP_FREE true +#define MEOS_CFP_FREE_NO false + +/* Closest features pair */ + +typedef struct { + LWGEOM *geom_1; + LWGEOM *geom_2; + Pose *pose_1; + Pose *pose_2; + bool free_pose_1; + bool free_pose_2; + uint32_t cf_1; + uint32_t cf_2; + TimestampTz t; + bool store; +} cfp_elem; + +/* List of CFPs */ + +typedef struct { + size_t count; + size_t size; + cfp_elem *arr; +} cfp_array; + +/* Closest features pair */ + +typedef struct { + double dist;; + TimestampTz t; +} tdist_elem; + +/* List of CFPs */ + +typedef struct { + size_t count; + size_t size; + tdist_elem *arr; +} tdist_array; + +/*****************************************************************************/ + +#endif /* __TRGEO_DISTANCE_H__ */ diff --git a/jmeos-core/tools/parity/meos-ref/meos/include/rgeo/trgeo_inst.h b/jmeos-core/tools/parity/meos-ref/meos/include/rgeo/trgeo_inst.h new file mode 100644 index 00000000..e1f25277 --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/meos/include/rgeo/trgeo_inst.h @@ -0,0 +1,64 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.  + * + *****************************************************************************/ + +/** + * @brief Functions for temporal rigid instant geometries. + */ + +#ifndef __TRGEO_INST_H__ +#define __TRGEO_INST_H__ + +/* PostgreSQL */ +#include +/* MEOS */ +#include "temporal/temporal.h" +#include "pose/pose.h" + +/***************************************************************************** + * General functions + *****************************************************************************/ + +extern const GSERIALIZED *trgeoinst_geom_p(const TInstant *inst); +extern size_t trgeoinst_pose_varsize(const TInstant *inst); +extern void trgeoinst_set_pose(TInstant *inst); +extern TInstant *trgeoinst_tposeinst(const TInstant *inst); + +/* Constructor functions */ + +extern TInstant *trgeoinst_make1(const GSERIALIZED *geom, const Pose *pose, + TimestampTz t); + +/* Transformation functions */ + +extern TInstant *trgeoseq_to_tinstant(const TSequence *seq); +extern TInstant *trgeoseqset_to_tinstant(const TSequenceSet *ts); + +/*****************************************************************************/ + +#endif /* __TRGEO_INST_H__ */ diff --git a/jmeos-core/tools/parity/meos-ref/meos/include/rgeo/trgeo_parser.h b/jmeos-core/tools/parity/meos-ref/meos/include/rgeo/trgeo_parser.h new file mode 100644 index 00000000..bf16981e --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/meos/include/rgeo/trgeo_parser.h @@ -0,0 +1,49 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.  + * + *****************************************************************************/ + +/** + * @file + * @brief Functions for parsing temporal rigid geometries + */ + +#ifndef __TRGEO_PARSER_H__ +#define __TRGEO_PARSER_H__ + +/* PostgreSQL */ +#include +/* MEOS */ +#include "temporal/temporal.h" + +/*****************************************************************************/ + +extern Temporal *trgeo_parse(const char **str, MeosType temptype); + +/*****************************************************************************/ + +#endif /* __TRGEO_PARSER_H__ */ diff --git a/jmeos-core/tools/parity/meos-ref/meos/include/rgeo/trgeo_seq.h b/jmeos-core/tools/parity/meos-ref/meos/include/rgeo/trgeo_seq.h new file mode 100644 index 00000000..aa181ad8 --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/meos/include/rgeo/trgeo_seq.h @@ -0,0 +1,77 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.  + * + *****************************************************************************/ + +/** + * @file + * @brief Functions for temporal rigid geometries with sequence subtype + */ + +#ifndef __TRGEO_SEQ_H__ +#define __TRGEO_SEQ_H__ + +/* PostgreSQL */ +#include +/* MEOS */ +#include "temporal/temporal.h" + +/***************************************************************************** + * General functions + *****************************************************************************/ + +extern const GSERIALIZED *trgeoseq_geom_p(const TSequence *seq); + +extern size_t trgeoseq_pose_varsize(const TSequence *seq); +extern void trgeoseq_set_pose(TSequence *seq); +extern TSequence *trgeoseq_tposeseq(const TSequence *seq); + +/* Constructor functions */ + +extern bool trgeoseq_make_valid(const GSERIALIZED *geom, TInstant **instants, + int count, bool lower_inc, bool upper_inc, bool linear); +extern TSequence *trgeoseq_make1_exp(const GSERIALIZED *geom, TInstant **instants, + int count, int maxcount, bool lower_inc, bool upper_inc, interpType interp, bool normalize); +extern TSequence *trgeoseq_make1(const GSERIALIZED *geom, TInstant **instants, + int count, bool lower_inc, bool upper_inc, interpType interp, bool normalize); +extern TSequence *trgeoseq_make_exp(const GSERIALIZED *geom, TInstant **instants, + int count, int maxcount, bool lower_inc, bool upper_inc, interpType interp, bool normalize); +extern TSequence *trgeoseq_make(const GSERIALIZED *geom, TInstant **instants, + int count, bool lower_inc, bool upper_inc, interpType interp, bool normalize); +extern TSequence *trgeoseq_make_free_exp(const GSERIALIZED *geom, TInstant **instants, + int count, int maxcount, bool lower_inc, bool upper_inc, interpType interp, bool normalize); +extern TSequence *trgeoseq_make_free(const GSERIALIZED *geom, TInstant **instants, + int count, bool lower_inc, bool upper_inc, interpType interp, bool normalize); + +/* Transformation functions */ + +extern TSequence *trgeoinst_to_tsequence(const TInstant *inst, interpType interp); +extern TInstant *trgeoseq_to_tinstant(const TSequence *seq); + +/*****************************************************************************/ + +#endif /* __TRGEO_SEQ_H__ */ diff --git a/jmeos-core/tools/parity/meos-ref/meos/include/rgeo/trgeo_seqset.h b/jmeos-core/tools/parity/meos-ref/meos/include/rgeo/trgeo_seqset.h new file mode 100644 index 00000000..6437b351 --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/meos/include/rgeo/trgeo_seqset.h @@ -0,0 +1,74 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.  + * + *****************************************************************************/ + +/** + * @file + * @brief Functions for temporal rigid geometries with sequence set subtype + */ + +#ifndef __TRGEO_SEQSET_H__ +#define __TRGEO_SEQSET_H__ + +/* PostgreSQL */ +#include +/* MEOS */ +#include "temporal/temporal.h" + +/***************************************************************************** + * General functions + *****************************************************************************/ + +extern const GSERIALIZED *trgeoseqset_geom_p(const TSequenceSet *ts); +extern TSequenceSet *trgeoseqset_tposeseqset(const TSequenceSet *ss); + +/* Constructor functions */ + +extern TSequenceSet *trgeoseqset_make1_exp(const GSERIALIZED *geom, + TSequence **sequences, int count, int maxcount, bool normalize); +extern TSequenceSet *trgeoseqset_make_exp(const GSERIALIZED *geom, + TSequence **sequences, int count, int maxcount, bool normalize); +extern TSequenceSet *trgeoseqset_make(const GSERIALIZED *geom, + TSequence **sequences, int count, bool normalize); +extern TSequenceSet *trgeoseqset_make_free(const GSERIALIZED *geom, + TSequence **sequences, int count, bool normalize); +extern TSequenceSet *trgeoseqset_make_gaps(const GSERIALIZED *geom, + TInstant **instants, int count, interpType interp, Interval *maxt, + double maxdist); + +/* Transformation functions */ + +extern TSequence *trgeoseqset_to_tsequence(const TSequenceSet *ss); +extern TSequence *trgeo_to_tsequence(const Temporal *temp, + const char *interp_str); +extern TSequenceSet *trgeo_to_tsequenceset(const Temporal *temp, + const char *interp_str); + +/*****************************************************************************/ + +#endif /* __TRGEO_SEQSET_H__ */ diff --git a/jmeos-core/tools/parity/meos-ref/meos/include/rgeo/trgeo_spatialrels.h b/jmeos-core/tools/parity/meos-ref/meos/include/rgeo/trgeo_spatialrels.h new file mode 100644 index 00000000..51b71ea0 --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/meos/include/rgeo/trgeo_spatialrels.h @@ -0,0 +1,59 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.  + * + *****************************************************************************/ + +/** + * @file + * @brief Distance functions for temporal rigid geometries + */ + +#ifndef __TRGEO_SPATIALRELS_H__ +#define __TRGEO_SPATIALRELS_H__ + +/* PostgreSQL */ +#include +/* PostGIS */ +#include +/* MEOS */ +#include "temporal/temporal.h" +#include "pose/pose.h" + +/*****************************************************************************/ + +extern int ea_contains_geo_trgeo(const GSERIALIZED *gs, const Temporal *temp, + bool ever); +extern int ea_covers_geo_trgeo(const GSERIALIZED *gs, const Temporal *temp, + bool ever) +extern int ea_covers_trgeo_geo(const Temporal *temp, const GSERIALIZED *gs, + bool ever); +extern int ea_disjoint_trgeo_geo(const Temporal *temp, const GSERIALIZED *gs, + bool ever) + +/*****************************************************************************/ + +#endif /* __TRGEO_SPATIALRELS_H__ */ diff --git a/jmeos-core/tools/parity/meos-ref/meos/include/rgeo/trgeo_utils.h b/jmeos-core/tools/parity/meos-ref/meos/include/rgeo/trgeo_utils.h new file mode 100644 index 00000000..63908f8a --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/meos/include/rgeo/trgeo_utils.h @@ -0,0 +1,52 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.  + * + *****************************************************************************/ + +/** + * @file + * @brief Utility functions for temporal rigid geometries + */ + +#ifndef __TRGEO_UTILS_H__ +#define __TRGEO_UTILS_H__ + +/* Postgres */ +#include +/* MEOS */ +#include "temporal/temporal.h" +#include "pose/pose.h" + +/*****************************************************************************/ + +extern bool ensure_same_geom(const GSERIALIZED *gs1, const GSERIALIZED *gs2); +extern void lwgeom_apply_pose(const Pose *pose, LWGEOM *geom); +extern double geom_radius(const GSERIALIZED *gs); + +/*****************************************************************************/ + +#endif /* __TRGEO_UTILS_H__ */ diff --git a/jmeos-core/tools/parity/meos-ref/meos/include/rgeo/trgeo_vclip.h b/jmeos-core/tools/parity/meos-ref/meos/include/rgeo/trgeo_vclip.h new file mode 100644 index 00000000..30a450a7 --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/meos/include/rgeo/trgeo_vclip.h @@ -0,0 +1,74 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.  + * + *****************************************************************************/ + +/** + * @file + * @brief Distance functions for temporal rigid geometries. + */ + +#ifndef __TRGEO_VCLIP_H__ +#define __TRGEO_VCLIP_H__ + +/* C */ +#include +/* PostgreSQL */ +#include +/* PostGIS */ +#include +/* MEOS */ +#include "temporal/temporal.h" +#include "pose/pose.h" + +/***************************************************************************** + * Struct definitions + *****************************************************************************/ + +/** Max iterations to avoid infinite loops */ +#define MEOS_MAX_ITERS 1000 + +/** Symbolic constants for v-clip */ +#define MEOS_CONTINUE 0 +#define MEOS_DISJOINT 1 +#define MEOS_INTERSECT -1 + +/*****************************************************************************/ + +/* V-clip functions */ + +extern int v_clip_tpoly_point(const LWPOLY *poly, const LWPOINT *point, + const Pose *pose, uint32_t *poly_feature, double *dist); +extern int v_clip_tpoly_tpoly(const LWPOLY *poly1, const LWPOLY *poly2, + const Pose *pose1, const Pose *pose2, uint32_t *poly1_feature, + uint32_t *poly2_feature, double *dist); + +extern void apply_pose_point4d(POINT4D *p, const Pose *pose); + +/*****************************************************************************/ + +#endif diff --git a/jmeos-core/tools/parity/meos-ref/meos/include/temporal/doublen.h b/jmeos-core/tools/parity/meos-ref/meos/include/temporal/doublen.h new file mode 100644 index 00000000..0471bf31 --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/meos/include/temporal/doublen.h @@ -0,0 +1,109 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @brief Internal types used in particular for computing the average and + * centroid temporal aggregates. + */ + +#ifndef __DOUBLEN_H__ +#define __DOUBLEN_H__ + +/* C */ +#include + +/*****************************************************************************/ + +/** + * Structure to represent values of the internal type for computing aggregates + * for temporal number types + */ +typedef struct +{ + double a; + double b; +} double2; + +/** + * Structure to represent values of the internal type for computing aggregates + * for 2D temporal points + */ +typedef struct +{ + double a; + double b; + double c; +} double3; + +/** + * Structure to represent values of the internal type for computing aggregates + * for 3D temporal points + */ +typedef struct +{ + double a; + double b; + double c; + double d; +} double4; + +/*****************************************************************************/ + +extern char *double2_out(const double2 *d, int maxdd); +extern void double2_set(double a, double b, double2 *result); +extern double2 *double2_add(const double2 *d1, const double2 *d2); +extern bool double2_eq(const double2 *d1, const double2 *d2); + +extern char *double3_out(const double3 *d, int maxdd); +extern void double3_set(double a, double b, double c, double3 *result); +extern double3 *double3_add(const double3 *d1, const double3 *d2); +extern bool double3_eq(const double3 *d1, const double3 *d2); + +extern char *double4_out(const double4 *d, int maxdd); +extern void double4_set(double a, double b, double c, double d, double4 *result); +extern double4 *double4_add(const double4 *d1, const double4 *d2); +extern bool double4_eq(const double4 *d1, const double4 *d2); + +extern bool double2_collinear(const double2 *x1, const double2 *x2, + const double2 *x3, double ratio); +extern bool double3_collinear(const double3 *x1, const double3 *x2, + const double3 *x3, double ratio); +extern bool double4_collinear(const double4 *x1, const double4 *x2, + const double4 *x3, double ratio); + +extern double2 *double2segm_interpolate(const double2 *start, + const double2 *end, long double ratio); +extern double3 *double3segm_interpolate(const double3 *start, + const double3 *end, long double ratio); +extern double4 *double4segm_interpolate(const double4 *start, + const double4 *end, long double ratio); + +/*****************************************************************************/ + +#endif /* __DOUBLEN_H__ */ diff --git a/jmeos-core/tools/parity/meos-ref/meos/include/temporal/doxygen_meos.h b/jmeos-core/tools/parity/meos-ref/meos/include/temporal/doxygen_meos.h new file mode 100644 index 00000000..68a88560 --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/meos/include/temporal/doxygen_meos.h @@ -0,0 +1,341 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @file + * @mainpage MEOS and MobilityDB Developer's Documentation + * + * \htmlonly + *
+ *
+ * MEOS logo + *
+ *
+ * MobilityDB logo + *
+ *
+ * \endhtmlonly + * + * @image latex meos-logo.png width=10% + * @image latex mobilitydb-logo.png width=10% + * + * This document defines the developer's documentation of both the MEOS library + * and MobilityDB. The documentation is divided into modules, where the + * top-level modules are as follows: + * + * - MEOS library + * - MEOS API + * - Internal functions + * - MobilityDB API + * + * \tableofcontents + * + * Please refer to the Modules tab for a detailed account of these modules. + */ + +/***************************************************************************** + * Sections of the external MEOS API + * These sections follow the ones of the MobilityDB documentation although + * some subsections are merged into a single one + *****************************************************************************/ + +/** + * @defgroup meos MEOS library + * @brief Mobility Engine Open Source (MEOS) library + * + * @defgroup meos_api External API + * @ingroup meos + * @brief External API of the Mobility Engine Open Source (MEOS) library + * + * @defgroup meos_internal Internal API + * @ingroup meos + * @brief Internal API of the Mobility Engine Open Source (MEOS) library + */ + +/*****************************************************************************/ + +/** + * @defgroup meos_base_types Functions for base and time types + * @ingroup meos_api + * @brief Functions for base and time types + * + * @defgroup meos_setspan Functions for set and span types + * @ingroup meos_api + * @brief Functions for set and span types + * + * @defgroup meos_box Functions for temporal boxes + * @ingroup meos_api + * @brief Functions for temporal boxes + * + * @defgroup meos_temporal Functions for temporal types + * @ingroup meos_api + * @brief Functions for temporal types + * + * @defgroup meos_geo Functions for temporal geometries + * @ingroup meos_api + * @brief Functions for temporal geometries + * + * @defgroup meos_cbuffer Functions for temporal circular buffers + * @ingroup meos_api + * @brief Functions for temporal temporal circular buffers + * + * @defgroup meos_npoint Functions for temporal network points + * @ingroup meos_api + * @brief Functions for temporal network points + * + * @defgroup meos_pose Functions for temporal poses + * @ingroup meos_api + * @brief Functions for temporal poses + * + * @defgroup meos_rgeo Functions for temporal rigid geometries + * @ingroup meos_api + * @brief Functions for temporal rigid geometries + * + * @defgroup meos_misc Miscellaneous functions + * @ingroup meos_api + * @brief Miscellaneous functions + */ + +/*****************************************************************************/ + +/** + * @defgroup meos_setspan_inout Input and output functions + * @ingroup meos_setspan + * @brief Input and output functions for set and span types + * + * @defgroup meos_setspan_constructor Constructor functions + * @ingroup meos_setspan + * @brief Constructor functions for set and span types + * + * @defgroup meos_setspan_conversion Conversion functions + * @ingroup meos_setspan + * @brief Conversion functions for set and span types + * + * @defgroup meos_setspan_accessor Accessor functions + * @ingroup meos_setspan + * @brief Accessor functions for set and span types + * + * @defgroup meos_setspan_transf Transformation functions + * @ingroup meos_setspan + * @brief Transformation functions for set and span types + * + * @defgroup meos_setspan_srid Spatial reference system functions + * @ingroup meos_setspan + * @brief Spatial reference system functions for set and span types + * + * @defgroup meos_setspan_comp Comparison functions + * @ingroup meos_setspan + * @brief Comparison functions for set and span types + * + * @defgroup meos_setspan_bbox Bounding box functions + * @ingroup meos_setspan + * @brief Bounding box functions for set and span types + * + * @defgroup meos_setspan_bbox_split Split functions + * @ingroup meos_setspan_bbox + * @brief Split functions for set and span types + * + * @defgroup meos_setspan_topo Topological functions + * @ingroup meos_setspan_bbox + * @brief Topological functions for set and span types + * + * @defgroup meos_setspan_pos Position functions + * @ingroup meos_setspan_bbox + * @brief Position functions for set and span types + * + * @defgroup meos_setspan_set Set functions + * @ingroup meos_setspan + * @brief Set functions for set and span types + * + * @defgroup meos_setspan_dist Distance functions + * @ingroup meos_setspan + * @brief Distance functions for set and span types + * + * @defgroup meos_setspan_agg Aggregate functions + * @ingroup meos_setspan + * @brief Aggregate functions for set and span types + * + * @defgroup meos_setspan_bin Bin functions + * @ingroup meos_setspan + * @brief Bin functions for set and span types + */ + +/*****************************************************************************/ + +/** + * @defgroup meos_box_inout Input and output functions + * @ingroup meos_box + * @brief Input and output functions for temporal boxes + * + * @defgroup meos_box_constructor Constructor functions + * @ingroup meos_box + * @brief Constructor functions for temporal boxes + * + * @defgroup meos_box_conversion Conversion functions + * @ingroup meos_box + * @brief Conversion functions for temporal boxes + * + * @defgroup meos_box_accessor Accessor functions + * @ingroup meos_box + * @brief Accessor functions for temporal boxes + * + * @defgroup meos_box_transf Transformation functions + * @ingroup meos_box + * @brief Transformation functions for temporal boxes + * + * @defgroup meos_box_srid Spatial reference system functions + * @ingroup meos_box + * @brief Spatial reference system functions for temporal boxes + * + * @defgroup meos_box_set Set functions + * @ingroup meos_box + * @brief Set functions for temporal boxes + * + * @defgroup meos_box_bbox Bounding box functions + * @ingroup meos_box + * @brief Bounding box functions for temporal boxes + * + * @defgroup meos_box_bbox_topo Topological functions + * @ingroup meos_box_bbox + * @brief Topological functions for temporal boxes + * + * @defgroup meos_box_bbox_pos Position functions + * @ingroup meos_box_bbox + * @brief Position functions for temporal boxes + * + * @defgroup meos_box_comp Comparison functions + * @ingroup meos_box + * @brief Comparison functions for temporal boxes + */ + +/*****************************************************************************/ + +/** + * @defgroup meos_temporal_inout Input and output functions + * @ingroup meos_temporal + * @brief Input and output functions for temporal types + * + * @defgroup meos_temporal_constructor Constructor functions + * @ingroup meos_temporal + * @brief Constructor functions for temporal types + * + * @defgroup meos_temporal_conversion Conversion functions + * @ingroup meos_temporal + * @brief Conversion functions for temporal types + * + * @defgroup meos_temporal_accessor Accessor functions + * @ingroup meos_temporal + * @brief Accessor functions for temporal types + * + * @defgroup meos_temporal_transf Transformation functions + * @ingroup meos_temporal + * @brief Transformation functions for temporal types + * + * @defgroup meos_temporal_modif Modification functions + * @ingroup meos_temporal + * @brief Modification functions for temporal types + * + * @defgroup meos_temporal_restrict Restriction functions + * @ingroup meos_temporal + * @brief Restriction functions for temporal types + * + * @defgroup meos_temporal_comp Comparison functions + * @ingroup meos_temporal + * @brief Comparison functions for temporal types + * + * @defgroup meos_temporal_comp_trad Traditional comparison functions + * @ingroup meos_temporal_comp + * @brief Traditional comparison functions for temporal types + * + * @defgroup meos_temporal_comp_ever Ever and always comparison functions + * @ingroup meos_temporal_comp + * @brief Ever and always comparison functions for temporal types + * + * @defgroup meos_temporal_comp_temp Temporal comparison functions + * @ingroup meos_temporal_comp + * @brief Temporal comparison functions for temporal types + * + * @defgroup meos_temporal_bbox Bounding box functions + * @ingroup meos_temporal + * @brief Bounding box functions for temporal types + * + * @defgroup meos_temporal_bbox_split Split functions + * @ingroup meos_temporal_bbox + * @brief Split functions for temporal types + * + * @defgroup meos_temporal_bbox_topo Topological functions + * @ingroup meos_temporal_bbox + * @brief Topological functions for temporal types + * + * @defgroup meos_temporal_bbox_pos Position functions + * @ingroup meos_temporal_bbox + * @brief Position functions for temporal types + * + * @defgroup meos_temporal_bool Boolean functions + * @ingroup meos_temporal + * @brief Boolean functions for temporal types + * + * @defgroup meos_temporal_math Mathematical functions + * @ingroup meos_temporal + * @brief Mathematical functions for temporal types + * + * @defgroup meos_temporal_text Text functions + * @ingroup meos_temporal + * @brief Text functions for temporal types + * + * @defgroup meos_temporal_dist Distance functions + * @ingroup meos_temporal + * @brief Distance functions for temporal types + * + * @defgroup meos_temporal_agg Aggregate functions + * @ingroup meos_temporal + * @brief Aggregate functions for temporal types + * + * @defgroup meos_temporal_analytics Analytics functions + * @ingroup meos_temporal + * @brief Analytics functions for temporal types + * + * @defgroup meos_temporal_analytics_simplify Simplification functions + * @ingroup meos_temporal_analytics + * @brief Simplification functions for temporal types + * + * @defgroup meos_temporal_analytics_reduction Reduction functions + * @ingroup meos_temporal_analytics + * @brief Reduction functions for temporal types + * + * @defgroup meos_temporal_analytics_similarity Similarity functions + * @ingroup meos_temporal_analytics + * @brief Similarity functions for temporal types + * + * @defgroup meos_temporal_analytics_tile Tile functions + * @ingroup meos_temporal_analytics + * @brief Tile functions for temporal types + */ + +/*****************************************************************************/ diff --git a/jmeos-core/tools/parity/meos-ref/meos/include/temporal/doxygen_meos_internal.h b/jmeos-core/tools/parity/meos-ref/meos/include/temporal/doxygen_meos_internal.h new file mode 100644 index 00000000..59966d57 --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/meos/include/temporal/doxygen_meos_internal.h @@ -0,0 +1,217 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @file + * @brief MEOS Developer's Documentation: Internal API + */ + +/***************************************************************************** + * Sections of the MEOS internal API + *****************************************************************************/ + +/** + * @defgroup meos_internal_setspan Functions for set and span types + * @ingroup meos_internal + * @brief Functions for set and span types + * + * @defgroup meos_internal_box Functions for temporal boxes + * @ingroup meos_internal + * @brief Functions for temporal boxes + * + * @defgroup meos_internal_temporal Functions for temporal types + * @ingroup meos_internal + * @brief Functions for temporal types + * + * @defgroup meos_internal_geo Functions for temporal geometries + * @ingroup meos_internal + * @brief Functions for temporal geometries + * + * @defgroup meos_internal_cbuffer Functions for temporal circular buffers + * @ingroup meos_internal + * @brief Functions for temporal circular buffers + * + * @defgroup meos_internal_npoint Functions for temporal network points + * @ingroup meos_internal + * @brief Functions for temporal network points + * + * @defgroup meos_internal_pose Functions for temporal poses + * @ingroup meos_internal + * @brief Functions for temporal poses + * + * @defgroup meos_internal_rgeo Functions for temporal rigid geometries + * @ingroup meos_internal + * @brief Functions for temporal rigid geometries + */ + +/*****************************************************************************/ + +/** + * @defgroup meos_internal_setspan_inout Input and output functions + * @ingroup meos_internal_setspan + * @brief Input and output functions for set and span types + * + * @defgroup meos_internal_setspan_constructor Constructor functions + * @ingroup meos_internal_setspan + * @brief Constructor functions for set and span types + * + * @defgroup meos_internal_setspan_conversion Conversion functions + * @ingroup meos_internal_setspan + * @brief Conversion functions for set and span types + * + * @defgroup meos_internal_setspan_accessor Accessor functions + * @ingroup meos_internal_setspan + * @brief Accessor functions for set and span types + * + * @defgroup meos_internal_setspan_transf Transformation functions + * @ingroup meos_internal_setspan + * @brief Transformation functions for set and span types + * + * @defgroup meos_internal_setspan_bbox Bounding box functions + * @ingroup meos_internal_setspan + * @brief Bounding box functions for set and span types + * + * @defgroup meos_internal_setspan_topo Topological functions + * @ingroup meos_internal_setspan_bbox + * @brief Topological functions for set and span types + * + * @defgroup meos_internal_setspan_pos Position functions + * @ingroup meos_internal_setspan_bbox + * @brief Position functions for set and span types + * + * @defgroup meos_internal_setspan_set Set functions + * @ingroup meos_internal_setspan + * @brief Set functions for set and span types + * + * @defgroup meos_internal_setspan_dist Distance functions + * @ingroup meos_internal_setspan + * @brief Distance functions for set and span types + * + * @defgroup meos_internal_setspan_agg Aggregate functions + * @ingroup meos_internal_setspan + * @brief Aggregate functions for set and span types + */ + +/*****************************************************************************/ + +/** + * @defgroup meos_internal_box_constructor Constructor functions + * @ingroup meos_internal_box + * @brief Constructor functions for box types + * + * @defgroup meos_internal_box_conversion Conversion functions + * @ingroup meos_internal_box + * @brief Conversion functions for box types + * + * @defgroup meos_internal_box_transf Transformation functions + * @ingroup meos_internal_box + * @brief Transformation functions for box types + * + * @defgroup meos_internal_box_set Set functions + * @ingroup meos_internal_box + * @brief Set functions for box types + */ + +/*****************************************************************************/ + +/** + * @defgroup meos_internal_temporal_inout Input and output functions + * @ingroup meos_internal_temporal + * @brief Input and output functions for temporal types + * + * @defgroup meos_internal_temporal_constructor Constructor functions + * @ingroup meos_internal_temporal + * @brief Constructor functions for temporal types + * + * @defgroup meos_internal_temporal_conversion Conversion functions + * @ingroup meos_internal_temporal + * @brief Conversion functions for temporal types + * + * @defgroup meos_internal_temporal_accessor Accessor functions + * @ingroup meos_internal_temporal + * @brief Accessor functions for temporal types + * + * @defgroup meos_internal_temporal_transf Transformation functions + * @ingroup meos_internal_temporal + * @brief Transformation functions for temporal types + * + * @defgroup meos_internal_temporal_modif Modification functions + * @ingroup meos_internal_temporal + * @brief Modification functions for temporal types + * + * @defgroup meos_internal_temporal_restrict Restriction functions + * @ingroup meos_internal_temporal + * @brief Restriction functions for temporal types + * + * @defgroup meos_internal_temporal_comp Comparison functions + * @ingroup meos_internal_temporal + * @brief Comparison functions for temporal types + * + * @defgroup meos_internal_temporal_bbox Bounding box functions + * @ingroup meos_internal_temporal + * @brief Bounding box functions for temporal types + * + * @defgroup meos_internal_temporal_math Mathematical functions + * @ingroup meos_internal_temporal + * @brief Mathematical functions for temporal types + * + * @defgroup meos_internal_temporal_dist Distance functions + * @ingroup meos_internal_temporal + * @brief Distance functions for temporal types + * + * @defgroup meos_internal_temporal_comp_trad Traditional comparison functions + * @ingroup meos_internal_temporal_comp + * @brief Tranditional comparison functions for temporal types + * + * @defgroup meos_internal_temporal_comp_ever Ever/always comparison functions + * @ingroup meos_internal_temporal_comp + * @brief Ever and always comparison functions for temporal types + * + * @defgroup meos_internal_temporal_comp_temp Temporal comparison functions + * @ingroup meos_internal_temporal_comp + * @brief Temporal comparison functions for temporal types + * + * @defgroup meos_internal_temporal_spatial Spatial functions + * @ingroup meos_internal_temporal + * @brief Spatial functions for temporal geos + * + * @defgroup meos_internal_temporal_spatial_accessor Spatial accessor functions + * @ingroup meos_internal_temporal_spatial + * @brief Spatial accessor functions for temporal geos + * + * @defgroup meos_internal_temporal_spatial_transf Spatial transformation functions + * @ingroup meos_internal_temporal_spatial + * @brief Spatial transformation functions for temporal geos + * + * @defgroup meos_internal_temporal_agg Aggregate functions + * @ingroup meos_internal_temporal + * @brief Aggregate functions for temporal types + */ + +/*****************************************************************************/ diff --git a/jmeos-core/tools/parity/meos-ref/meos/include/temporal/lifting.h b/jmeos-core/tools/parity/meos-ref/meos/include/temporal/lifting.h new file mode 100644 index 00000000..0a93af83 --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/meos/include/temporal/lifting.h @@ -0,0 +1,112 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @brief Generic functions for lifting functions and operators on temporal + * types. + */ + +#ifndef __LIFTING_H__ +#define __LIFTING_H__ + +/* MEOS */ +#include +#include "temporal/temporal.h" +#include "temporal/meos_catalog.h" + +/** + * Structure to represent the information about lifted functions + * + * The mandatory parameters are `func`, `numparam`, and `restype`. These + * parameters are used by function `tfunc_temporal`, which applies the lifted + * function to every instant of the temporal value. The remaining parameters + * are used by functions `tfunc_temporal_base` and `tfunc_temporal_temporal` + * that apply the lifted function to two base values. + */ + +#define MAX_PARAMS 1 +#define MAX_ARGS 2 + +typedef struct +{ + varfunc func; /**< Variadic function that is lifted */ + int numparam; /**< Number of parameters of the function */ + Datum param[MAX_PARAMS]; /**< Datum array for the parameters of the function */ + MeosType argtype[MAX_ARGS]; /**< Type of the arguments of the function */ + MeosType restype; /**< Type of the result of the function */ + bool reslinear; /**< True if the result has linear interpolation */ + bool invert; /**< True if the arguments of the function must be inverted */ + bool discont; /**< True if the function has instantaneous discontinuities */ + bool ever; /**< True/false when computing the ever/always semantics */ + tpfunc_unary tpfn_unary; /**< Turning point function for unary lifts */ + tpfunc_base tpfn_base; /**< Turning point function for temporal and base types*/ + tpfunc_temp tpfn_temp; /**< Turning point function for two temporal types */ +} LiftedFunctionInfo; + +/*****************************************************************************/ + +extern TInstant *tfunc_tinstant(const TInstant *inst, + LiftedFunctionInfo *lfinfo); +extern TSequence *tfunc_tsequence(const TSequence *seq, + LiftedFunctionInfo *lfinfo); +extern TSequenceSet *tfunc_tsequenceset(const TSequenceSet *ss, + LiftedFunctionInfo *lfinfo); +extern Temporal *tfunc_temporal(const Temporal *temp, + LiftedFunctionInfo *lfinfo); + +extern TInstant *tfunc_tinstant_base(const TInstant *inst, Datum value, + LiftedFunctionInfo *lfinfo); +extern TSequence *tfunc_tsequence_base(const TSequence *seq, Datum value, + LiftedFunctionInfo *lfinfo); +extern TSequenceSet *tfunc_tsequenceset_base(const TSequenceSet *ss, Datum value, + LiftedFunctionInfo *lfinfo); +extern Temporal *tfunc_temporal_base(const Temporal *temp, Datum value, + LiftedFunctionInfo *lfinfo); + +extern TInstant *tfunc_tinstant_tinstant(const TInstant *inst1, + const TInstant *inst2, LiftedFunctionInfo *lfinfo); +extern TSequence *tfunc_tdiscseq_tdiscseq(const TSequence *seq1, + const TSequence *seq2, LiftedFunctionInfo *lfinfo); +extern Temporal *tfunc_tcontseq_tcontseq(const TSequence *seq1, + const TSequence *seq2, LiftedFunctionInfo *lfinfo); +extern TSequenceSet *tfunc_tsequenceset_tsequenceset(const TSequenceSet *ss1, + const TSequenceSet *ss2, LiftedFunctionInfo *lfinfo); +extern Temporal *tfunc_temporal_temporal(const Temporal *temp1, + const Temporal *temp2, LiftedFunctionInfo *lfinfo); + +/*****************************************************************************/ + +extern int eafunc_temporal_base(const Temporal *temp, Datum value, + LiftedFunctionInfo *lfinfo); +extern int eafunc_temporal_temporal(const Temporal *temp1, + const Temporal *temp2, LiftedFunctionInfo *lfinfo); + +/*****************************************************************************/ + +#endif diff --git a/jmeos-core/tools/parity/meos-ref/meos/include/temporal/meos_catalog.h b/jmeos-core/tools/parity/meos-ref/meos/include/temporal/meos_catalog.h new file mode 100644 index 00000000..ffdf54d9 --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/meos/include/temporal/meos_catalog.h @@ -0,0 +1,311 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @brief Functions for building a cache of temporal types and operators. + */ + +#ifndef __MEOS_CATALOG_H__ +#define __MEOS_CATALOG_H__ + +/* C */ +#include +/* PostgreSQL */ +#ifndef int16 +typedef signed short int16; +#endif +/* MEOS */ +#include + +/***************************************************************************** + * Data structures + *****************************************************************************/ + +/** + * @brief Enumeration that defines the built-in and temporal types used in + * MobilityDB. + */ +typedef enum +{ + T_UNKNOWN = 0, /**< unknown type */ + T_BOOL = 1, /**< boolean type */ + T_DATE = 2, /**< date type */ + T_DATEMULTIRANGE = 3, /**< PostgreSQL date multirange type */ + T_DATERANGE = 4, /**< PostgreSQL date range type */ + T_DATESET = 5, /**< date set type */ + T_DATESPAN = 6, /**< date span type */ + T_DATESPANSET = 7, /**< date span set type */ + T_DOUBLE2 = 8, /**< double2 type */ + T_DOUBLE3 = 9, /**< double3 type */ + T_DOUBLE4 = 10, /**< double4 type */ + T_FLOAT8 = 11, /**< float8 type */ + T_FLOATSET = 12, /**< float8 set type */ + T_FLOATSPAN = 13, /**< float8 span type */ + T_FLOATSPANSET = 14, /**< float8 span set type */ + T_INT4 = 15, /**< int4 type */ + T_INT4MULTIRANGE = 16, /**< PostgreSQL int4 multirange type */ + T_INT4RANGE = 17, /**< PostgreSQL int4 range type */ + T_INTSET = 18, /**< int4 set type */ + T_INTSPAN = 19, /**< int4 span type */ + T_INTSPANSET = 20, /**< int4 span set type */ + T_INT8 = 21, /**< int8 type */ + T_INT8MULTIRANGE = 52, /**< PostgreSQL int8 multirange type */ + T_INT8RANGE = 53, /**< PostgreSQL int8 range type */ + T_BIGINTSET = 22, /**< int8 set type */ + T_BIGINTSPAN = 23, /**< int8 span type */ + T_BIGINTSPANSET = 24, /**< int8 span set type */ + T_STBOX = 25, /**< spatiotemporal box type */ + T_TBOOL = 26, /**< temporal boolean type */ + T_TBOX = 27, /**< temporal box type */ + T_TDOUBLE2 = 28, /**< temporal double2 type */ + T_TDOUBLE3 = 29, /**< temporal double3 type */ + T_TDOUBLE4 = 30, /**< temporal double4 type */ + T_TEXT = 31, /**< text type */ + T_TEXTSET = 32, /**< text type */ + T_TFLOAT = 33, /**< temporal float type */ + T_TIMESTAMPTZ = 34, /**< timestamp with time zone type */ + T_TINT = 35, /**< temporal integer type */ + T_TSTZMULTIRANGE = 36, /**< PostgreSQL timestamp with time zone multirange type */ + T_TSTZRANGE = 37, /**< PostgreSQL timestamp with time zone range type */ + T_TSTZSET = 38, /**< timestamptz set type */ + T_TSTZSPAN = 39, /**< timestamptz span type */ + T_TSTZSPANSET = 40, /**< timestamptz span set type */ + T_TTEXT = 41, /**< temporal text type */ + T_GEOMETRY = 42, /**< geometry type */ + T_GEOMSET = 43, /**< geometry set type */ + T_GEOGRAPHY = 44, /**< geography type */ + T_GEOGSET = 45, /**< geography set type */ + T_TGEOMPOINT = 46, /**< temporal geometry point type */ + T_TGEOGPOINT = 47, /**< temporal geography point type */ + T_NPOINT = 48, /**< network point type */ + T_NPOINTSET = 49, /**< network point set type */ + T_NSEGMENT = 50, /**< network segment type */ + T_TNPOINT = 51, /**< temporal network point type */ + T_POSE = 54, /**< pose type */ + T_POSESET = 55, /**< pose set type */ + T_TPOSE = 56, /**< temporal pose type */ + T_CBUFFER = 57, /**< buffer type */ + T_CBUFFERSET = 58, /**< buffer set type */ + T_TCBUFFER = 59, /**< temporal buffer type */ + T_TGEOMETRY = 60, /**< temporal geometry type */ + T_TGEOGRAPHY = 61, /**< temporal geography type */ + T_TRGEOMETRY = 62, /**< temporal rigid geometry type */ + NUM_MEOS_TYPES /* Dummy value that determines the size of the + * lookup array MeosType -> Oid */ +} MeosType; + +/** + * Enumeration that defines the classes of Boolean operators used in + * MobilityDB. + */ +typedef enum +{ + UNKNOWN_OP = 0, + EQ_OP = 1, /**< Equality `=` operator */ + NE_OP = 2, /**< Distinct `!=` operator */ + LT_OP = 3, /**< Less than `<` operator */ + LE_OP = 4, /**< Less than or equal to `<=` operator */ + GT_OP = 5, /**< Greater than `<` operator */ + GE_OP = 6, /**< Greater than or equal to `>=` operator */ + ADJACENT_OP = 7, /**< Adjacent `-|-` operator */ + UNION_OP = 8, /**< Union `+` operator */ + MINUS_OP = 9, /**< Minus `-` operator */ + INTERSECT_OP = 10, /**< Intersection `*` operator */ + OVERLAPS_OP = 11, /**< Overlaps `&&` operator */ + CONTAINS_OP = 12, /**< Contains `@>` operator */ + CONTAINED_OP = 13, /**< Contained `<@` operator */ + SAME_OP = 14, /**< Same `~=` operator */ + LEFT_OP = 15, /**< Left `<<` operator */ + OVERLEFT_OP = 16, /**< Overleft `&<` operator */ + RIGHT_OP = 17, /**< Right `>>` operator */ + OVERRIGHT_OP = 18, /**< Overright `&>` operator */ + BELOW_OP = 19, /**< Below `<<|` operator */ + OVERBELOW_OP = 20, /**< Overbelow `&<|` operator */ + ABOVE_OP = 21, /**< Above `|>>` operator */ + OVERABOVE_OP = 22, /**< Overbove `|&>` operator */ + FRONT_OP = 23, /**< Front `<>` operator */ + OVERBACK_OP = 26, /**< Overback `/&>` operator */ + BEFORE_OP = 27, /**< Before `<<#` operator */ + OVERBEFORE_OP = 28, /**< Overbefore `&<#` operator */ + AFTER_OP = 29, /**< After `#>>` operator */ + OVERAFTER_OP = 30, /**< Overafter `#&>` operator */ + EVEREQ_OP = 31, /**< Evereq `?=` operator */ + EVERNE_OP = 32, /**< Everne `?<>` operator */ + EVERLT_OP = 33, /**< Everlt `?<` operator */ + EVERLE_OP = 34, /**< Everle `?<=` operator */ + EVERGT_OP = 35, /**< Evergt `?>` operator */ + EVERGE_OP = 36, /**< Everge `?>=` operator */ + ALWAYSEQ_OP = 37, /**< Alwayseq `%=` operator */ + ALWAYSNE_OP = 38, /**< Alwaysne `%<>` operator */ + ALWAYSLT_OP = 39, /**< Alwayslt `%<` operator */ + ALWAYSLE_OP = 40, /**< Alwaysle `%<=` operator */ + ALWAYSGT_OP = 41, /**< Alwaysgt `%>` operator */ + ALWAYSGE_OP = 42, /**< Alwaysge `%>=` operator */ +} meosOper; + +/** + * Structure to represent the temporal type cache array. + */ +typedef struct +{ + MeosType temptype; /**< Enum value of the temporal type */ + MeosType basetype; /**< Enum value of the base type */ +} temptype_catalog_struct; + +/** + * Structure to represent the span type cache array. + */ +typedef struct +{ + MeosType settype; /**< Enum value of the set type */ + MeosType basetype; /**< Enum value of the base type */ +} settype_catalog_struct; + +/** + * Structure to represent the span type cache array. + */ +typedef struct +{ + MeosType spantype; /**< Enum value of the span type */ + MeosType basetype; /**< Enum value of the base type */ +} spantype_catalog_struct; + +/** + * Structure to represent the spanset type cache array. + */ +typedef struct +{ + MeosType spansettype; /**< Enum value of the span type */ + MeosType spantype; /**< Enum value of the base type */ +} spansettype_catalog_struct; + +/*****************************************************************************/ + +#ifndef NDEBUG +extern bool temptype_subtype(tempSubtype subtype); +extern bool temptype_subtype_all(tempSubtype subtype); +#endif +extern const char *tempsubtype_name(tempSubtype subtype); +extern bool tempsubtype_from_string(const char *str, int16 *subtype); +extern const char *meosoper_name(meosOper oper); +extern meosOper meosoper_from_string(const char *name); +extern const char *interptype_name(interpType interp); +extern interpType interptype_from_string(const char *interp_str); + +/* Type conversion functions */ + +extern const char *meostype_name(MeosType type); +extern MeosType temptype_basetype(MeosType type); +extern MeosType settype_basetype(MeosType type); +extern MeosType spantype_basetype(MeosType type); +extern MeosType spantype_spansettype(MeosType type); +extern MeosType spansettype_spantype(MeosType type); +extern MeosType basetype_spantype(MeosType type); +extern MeosType basetype_settype(MeosType type); + +/* Catalog functions */ + +extern bool tnumber_basetype(MeosType type); +extern bool geo_basetype(MeosType type); +#ifndef NDEBUG +extern bool meos_basetype(MeosType type); +extern bool alphanum_basetype(MeosType type); +extern bool alphanum_temptype(MeosType type); +#endif + +extern bool time_type(MeosType type); +#ifndef NDEBUG +extern bool set_basetype(MeosType type); +#endif + +extern bool set_type(MeosType type); +extern bool numset_type(MeosType type); +extern bool ensure_numset_type(MeosType type); +extern bool timeset_type(MeosType type); +extern bool set_spantype(MeosType type); +extern bool ensure_set_spantype(MeosType type); +extern bool alphanumset_type(MeosType settype); +extern bool geoset_type(MeosType type); +extern bool ensure_geoset_type(MeosType type); +extern bool spatialset_type(MeosType type); +extern bool ensure_spatialset_type(MeosType type); + +extern bool span_basetype(MeosType type); +extern bool span_canon_basetype(MeosType type); +extern bool span_type(MeosType type); +extern bool type_span_bbox(MeosType type); +extern bool span_tbox_type(MeosType type); +extern bool ensure_span_tbox_type(MeosType type); +extern bool numspan_basetype(MeosType type); +extern bool numspan_type(MeosType type); +extern bool ensure_numspan_type(MeosType type); +extern bool timespan_basetype(MeosType type); +extern bool timespan_type(MeosType type); + +extern bool spanset_type(MeosType type); +extern bool timespanset_type(MeosType type); +extern bool ensure_timespanset_type(MeosType type); + +extern bool temporal_type(MeosType type); +#ifndef NDEBUG +extern bool temporal_basetype(MeosType type); +#endif +extern bool temptype_supports_linear(MeosType type); +extern bool basetype_byvalue(MeosType type); +extern bool basetype_varlength(MeosType type); +extern int16 meostype_length(MeosType type); +#ifndef NDEBUG +extern bool talphanum_type(MeosType type); +#endif +extern bool talpha_type(MeosType type); +extern bool tnumber_type(MeosType type); +extern bool ensure_tnumber_type(MeosType type); +extern bool ensure_tnumber_basetype(MeosType type); +extern bool tnumber_spantype(MeosType type); +extern bool spatial_basetype(MeosType type); +extern bool tspatial_type(MeosType type); +extern bool ensure_tspatial_type(MeosType type); +extern bool tpoint_type(MeosType type); +extern bool ensure_tpoint_type(MeosType type); +extern bool tgeo_type(MeosType type); +extern bool ensure_tgeo_type(MeosType type); +extern bool tgeo_type_all(MeosType type); +extern bool ensure_tgeo_type_all(MeosType type); +extern bool tgeometry_type(MeosType type); +extern bool ensure_tgeometry_type(MeosType type); +extern bool tgeodetic_type(MeosType type); +extern bool ensure_tgeodetic_type(MeosType type); +extern bool ensure_tnumber_tpoint_type(MeosType type); + +/*****************************************************************************/ + +#endif /* __MEOS_CATALOG_H__ */ + diff --git a/jmeos-core/tools/parity/meos-ref/meos/include/temporal/postgres_types.h b/jmeos-core/tools/parity/meos-ref/meos/include/temporal/postgres_types.h new file mode 100644 index 00000000..7c671abd --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/meos/include/temporal/postgres_types.h @@ -0,0 +1,114 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @file + * @brief Functions for base and time types corresponding to external + * PostgreSQL functions in order to bypass the function manager @p fmgr.c. + */ + +#ifndef POSTGRES_TYPES_H +#define POSTGRES_TYPES_H + +/* PostgreSQL */ +#include +#if MEOS +#include "postgres_int_defs.h" +#else +#include +#include +#endif /* MEOS */ + +#if POSTGRESQL_VERSION_NUMBER < 170000 +/* + * Infinite intervals are represented by setting all fields to the minimum or + * maximum integer values. + */ +#define INTERVAL_NOBEGIN(i) \ + do { \ + (i)->time = PG_INT64_MIN; \ + (i)->day = PG_INT32_MIN; \ + (i)->month = PG_INT32_MIN; \ + } while (0) + +#define INTERVAL_IS_NOBEGIN(i) \ + ((i)->month == PG_INT32_MIN && (i)->day == PG_INT32_MIN && (i)->time == PG_INT64_MIN) + +#define INTERVAL_NOEND(i) \ + do { \ + (i)->time = PG_INT64_MAX; \ + (i)->day = PG_INT32_MAX; \ + (i)->month = PG_INT32_MAX; \ + } while (0) + +#define INTERVAL_IS_NOEND(i) \ + ((i)->month == PG_INT32_MAX && (i)->day == PG_INT32_MAX && (i)->time == PG_INT64_MAX) + +#define INTERVAL_NOT_FINITE(i) (INTERVAL_IS_NOBEGIN(i) || INTERVAL_IS_NOEND(i)) +#endif /* POSTGRESQL_VERSION_NUMBER < 170000 */ + +/* Functions adapted from int.c */ + +extern int32 int4_in(const char *str); +extern char *int4_out(int32 val); + +/* Functions adapted from int8.c */ + +extern int64 int8_in(const char *str); +extern char *int8_out(int64 val); + +/* Functions adapted from float.c */ + +extern float8 float8_in(const char *num, const char *type_name, + const char *orig_string); +extern char *float8_out(double num, int maxdd); +extern float8 pg_dsin(float8 arg1); +extern float8 pg_dcos(float8 arg1); +extern float8 pg_datan(float8 arg1); +extern float8 pg_datan2(float8 arg1, float8 arg2); + +/* Functions adadpted from timestamp.c */ + +extern Interval *interval_negate(const Interval *interval); +extern Interval *pg_interval_justify_hours(const Interval *span); + +/* Functions adapted from hashfn.h and hashfn.c */ + +extern uint32 hash_bytes_uint32(uint32 k); +extern uint32 pg_hashint8(int64 val); +extern uint32 pg_hashfloat8(float8 key); +extern uint64 hash_bytes_uint32_extended(uint32 k, uint64 seed); +extern uint64 pg_hashint8extended(int64 val, uint64 seed); +extern uint64 pg_hashfloat8extended(float8 key, uint64 seed); +extern uint32 pg_hashtext(text *key); +extern uint64 pg_hashtextextended(text *key, uint64 seed); + +/*****************************************************************************/ + +#endif /* POSTGRES_TYPES_H */ diff --git a/jmeos-core/tools/parity/meos-ref/meos/include/temporal/set.h b/jmeos-core/tools/parity/meos-ref/meos/include/temporal/set.h new file mode 100644 index 00000000..3a5bf71b --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/meos/include/temporal/set.h @@ -0,0 +1,95 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @brief Basic functions for set of (distinct) timestamps. + */ + +#ifndef __SET_H__ +#define __SET_H__ + +/*****************************************************************************/ + +/* + * fmgr macros for ordered set types + */ + +/* PostgreSQL */ +#include +/* MEOS */ +#include +#include "temporal/meos_catalog.h" +#include "temporal/temporal.h" + +#if MEOS + #define DatumGetSetP(X) ((Set *) DatumGetPointer(X)) +#else + #define DatumGetSetP(X) ((Set *) PG_DETOAST_DATUM(X)) +#endif /* MEOS */ +#define SetPGetDatum(X) PointerGetDatum(X) +#define PG_GETARG_SET_P(X) ((Set *) PG_GETARG_VARLENA_P(X)) +#define PG_RETURN_SET_P(X) PG_RETURN_POINTER(X) + +#define MINIDX 0 +#define MAXIDX count - 1 + +/***************************************************************************** + * Struct definition for the unnest operation + *****************************************************************************/ + +/** + * Structure to represent information about an entry that can be placed + * to either group without affecting overlap over selected axis ("common entry"). + */ +typedef struct +{ + bool done; + int i; + int count; + Set *set; /* Set to unnest */ + Datum *values; /* Values obtained by getValues(temp) */ +} SetUnnestState; + +/*****************************************************************************/ + +/* General functions */ + +extern char *set_out_fn(const Set *s, int maxdd, outfunc value_out); + +extern bool ensure_set_isof_type(const Set *s, MeosType settype); +extern bool ensure_valid_set_set(const Set *s1, const Set *s2); + +extern bool set_find_value(const Set *s, Datum, int *loc); + +extern SetUnnestState *set_unnest_state_make(const Set *set); +extern void set_unnest_state_next(SetUnnestState *state); + +/*****************************************************************************/ + +#endif /* __SET_H__ */ diff --git a/jmeos-core/tools/parity/meos-ref/meos/include/temporal/skiplist.h b/jmeos-core/tools/parity/meos-ref/meos/include/temporal/skiplist.h new file mode 100644 index 00000000..546c5ba0 --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/meos/include/temporal/skiplist.h @@ -0,0 +1,62 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @brief Skiplist data structure used for performing temporal aggregates + */ + +#ifndef __SKIPLIST_H__ +#define __SKIPLIST_H__ + +/* PostgreSQL */ +#include +/* MEOS */ +#include +#include "temporal/temporal.h" + +/***************************************************************************** + * fmgr macros + *****************************************************************************/ + +#define DatumGetSkipListP(X) ((SkipList *) DatumGetPointer(X)) +#define SkipListPGetDatum(X) PointerGetDatum(X) +#define PG_GETARG_SKIPLIST_P(n) DatumGetSkipListP(PG_GETARG_DATUM(n)) +#define PG_RETURN_SKIPLIST_P(x) return SkipListPGetDatum(x) + +/*****************************************************************************/ + +extern bool ensure_same_skiplist_subtype(SkipList *state, uint8 subtype); + +extern void skiplist_set_extra(SkipList *state, void *data, size_t size); +extern void *skiplist_headval(SkipList *list); + + +/*****************************************************************************/ + +#endif diff --git a/jmeos-core/tools/parity/meos-ref/meos/include/temporal/span.h b/jmeos-core/tools/parity/meos-ref/meos/include/temporal/span.h new file mode 100644 index 00000000..c38c66e7 --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/meos/include/temporal/span.h @@ -0,0 +1,117 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @brief Basic routines for spans (a.k.a. ranges) composed of two `Datum` + * values and two Boolean values stating whether the bounds are inclusive. + */ + +#ifndef __SPAN_H__ +#define __SPAN_H__ + +/* PostgreSQL */ +#include +/* MEOS */ +#include +#include "temporal/temporal.h" +#include "temporal/meos_catalog.h" + +/*****************************************************************************/ + +/** + * Internal representation of either bound of a span (not what's on disk) + */ +typedef struct +{ + Datum val; /**< bound value */ + bool inclusive; /**< bound is inclusive (vs exclusive) */ + bool lower; /**< this is the lower (vs upper) bound */ + uint8 spantype; /**< span type */ + uint8 basetype; /**< span basetype */ +} SpanBound; + +/* + * fmgr macros for span types + */ + +#define DatumGetSpanP(X) ((Span *) DatumGetPointer(X)) +#define SpanPGetDatum(X) PointerGetDatum(X) +#define PG_GETARG_SPAN_P(X) DatumGetSpanP(PG_GETARG_DATUM(X)) +#define PG_RETURN_SPAN_P(X) PG_RETURN_POINTER(X) + +#if MEOS + #define DatumGetSpanSetP(X) ((SpanSet *) DatumGetPointer(X)) +#else + #define DatumGetSpanSetP(X) ((SpanSet *) PG_DETOAST_DATUM(X)) +#endif /* MEOS */ +#define SpanSetPGetDatum(X) PointerGetDatum(X) +#define PG_GETARG_SPANSET_P(X) ((SpanSet *) PG_GETARG_VARLENA_P(X)) +#define PG_RETURN_SPANSET_P(X) PG_RETURN_POINTER(X) + +/*****************************************************************************/ + +/* General functions */ + +extern bool ensure_span_isof_type(const Span *s, MeosType spantype); +extern bool ensure_span_isof_basetype(const Span *s, MeosType basetype); +extern bool ensure_same_span_type(const Span *s1, const Span *s2); +extern bool ensure_valid_span_span(const Span *s1, const Span *s2); + +extern void span_deserialize(const Span *s, SpanBound *lower, + SpanBound *upper); +extern int span_bound_cmp(const SpanBound *b1, const SpanBound *b2); +extern int span_bound_qsort_cmp(const void *s1, const void *s2); +extern int span_lower_cmp(const Span *s1, const Span *s2); +extern int span_upper_cmp(const Span *s1, const Span *s2); +extern Datum span_decr_bound(Datum upper, MeosType basetype); +extern Datum span_incr_bound(Datum upper, MeosType basetype); +extern Span *spanarr_normalize(Span *spans, int count, bool sort, + int *newcount); +extern void span_bounds_shift_scale_value(Datum shift, Datum width, + MeosType type, bool hasshift, bool haswidth, Datum *lower, Datum *upper); +extern void span_bounds_shift_scale_time(const Interval *shift, + const Interval *duration, TimestampTz *lower, TimestampTz *upper); +extern void floatspan_floor_ceil_iter(Span *s, datum_func1 func); +extern void numspan_delta_scale_iter(Span *s, Datum origin, Datum delta, + bool hasdelta, double scale); +extern void tstzspan_delta_scale_iter(Span *s, TimestampTz origin, + TimestampTz delta, double scale); +extern void numspan_shift_scale_iter(Span *s, Datum shift, Datum width, + bool hasshift, bool haswidth, Datum *delta, double *scale); +extern void tstzspan_shift_scale1(Span *s, const Interval *shift, + const Interval *duration, TimestampTz *delta, double *scale); + +extern int mi_span_span(const Span *s1, const Span *s2, Span *result); +extern int mi_span_value(const Span *s, Datum value, Span *result); + +extern double dist_double_value_value(Datum l, Datum r, MeosType type); + +/*****************************************************************************/ + +#endif /* __SPAN_H__ */ diff --git a/jmeos-core/tools/parity/meos-ref/meos/include/temporal/span_index.h b/jmeos-core/tools/parity/meos-ref/meos/include/temporal/span_index.h new file mode 100644 index 00000000..7f91674f --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/meos/include/temporal/span_index.h @@ -0,0 +1,56 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @brief Basic routines for indexing spans + */ + +#ifndef __SPAN_INDEX_H__ +#define __SPAN_INDEX_H__ + +/* PostgreSQL */ +#include +#include +/* MEOS */ +#include +#include "temporal/temporal.h" + +/*****************************************************************************/ + +extern int common_entry_cmp(const void *i1, const void *i2); + +extern bool span_index_leaf_consistent(const Span *key, const Span *query, + StrategyNumber strategy); +extern bool span_gist_inner_consistent(const Span *key, const Span *query, + StrategyNumber strategy); +extern bool span_index_recheck(StrategyNumber strategy); + +/*****************************************************************************/ + +#endif /* __SPAN_INDEX_H__ */ diff --git a/jmeos-core/tools/parity/meos-ref/meos/include/temporal/spanset.h b/jmeos-core/tools/parity/meos-ref/meos/include/temporal/spanset.h new file mode 100644 index 00000000..c0bae9af --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/meos/include/temporal/spanset.h @@ -0,0 +1,58 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @brief Basic functions for set of disjoint spans. + */ + +#ifndef __SPANSET_H__ +#define __SPANSET_H__ + +/* PostgreSQL */ +#include +/* MEOS */ +#include +#include "temporal/meos_catalog.h" + +/*****************************************************************************/ + +/* General functions */ + +extern bool ensure_spanset_isof_type(const SpanSet *ss, MeosType spansettype); +extern bool ensure_same_spanset_type(const SpanSet *ss1, const SpanSet *ss2); +extern bool ensure_same_spanset_span_type(const SpanSet *ss, const Span *s); +extern bool ensure_valid_spanset_span(const SpanSet *ss, const Span *s); +extern bool ensure_valid_spanset_spanset(const SpanSet *ss1, + const SpanSet *ss2); + +extern bool spanset_find_value(const SpanSet *ss, Datum v, int *loc); + +/*****************************************************************************/ + +#endif diff --git a/jmeos-core/tools/parity/meos-ref/meos/include/temporal/stratnum.h b/jmeos-core/tools/parity/meos-ref/meos/include/temporal/stratnum.h new file mode 100644 index 00000000..8fd50ef9 --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/meos/include/temporal/stratnum.h @@ -0,0 +1,105 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @brief Strategy numbers for MEOS indexes + * @note Definitions borrowed from startnum.h + */ + +#ifndef __STRATNUM_H__ +#define __STRATNUM_H__ + +/* PostgreSQL */ +#include + +/*****************************************************************************/ + +#if ! MEOS +/* + * Strategy numbers identify the semantics that particular operators have + * with respect to particular operator classes. In some cases a strategy + * subtype (an OID) is used as further information. + */ +typedef uint16 StrategyNumber; + +#define InvalidStrategy ((StrategyNumber) 0) + +/* + * Strategy numbers common to (some) GiST, SP-GiST and BRIN opclasses. + * + * The first few of these come from the R-Tree indexing method (hence the + * names); the others have been added over time as they have been needed. + */ +#define RTLeftStrategyNumber 1 /* for << */ +#define RTOverLeftStrategyNumber 2 /* for &< */ +#define RTOverlapStrategyNumber 3 /* for && */ +#define RTOverRightStrategyNumber 4 /* for &> */ +#define RTRightStrategyNumber 5 /* for >> */ +#define RTSameStrategyNumber 6 /* for ~= */ +#define RTContainsStrategyNumber 7 /* for @> */ +#define RTContainedByStrategyNumber 8 /* for <@ */ +#define RTOverBelowStrategyNumber 9 /* for &<| */ +#define RTBelowStrategyNumber 10 /* for <<| */ +#define RTAboveStrategyNumber 11 /* for |>> */ +#define RTOverAboveStrategyNumber 12 /* for |&> */ +#define RTOldContainsStrategyNumber 13 /* for old spelling of @> */ +#define RTOldContainedByStrategyNumber 14 /* for old spelling of <@ */ +#define RTKNNSearchStrategyNumber 15 /* for <-> (distance) */ +#define RTContainsElemStrategyNumber 16 /* for range types @> elem */ +#define RTAdjacentStrategyNumber 17 /* for -|- */ +#define RTEqualStrategyNumber 18 /* for = */ +#define RTNotEqualStrategyNumber 19 /* for != */ +#define RTLessStrategyNumber 20 /* for < */ +#define RTLessEqualStrategyNumber 21 /* for <= */ +#define RTGreaterStrategyNumber 22 /* for > */ +#define RTGreaterEqualStrategyNumber 23 /* for >= */ +#define RTSubStrategyNumber 24 /* for inet >> */ +#define RTSubEqualStrategyNumber 25 /* for inet <<= */ +#define RTSuperStrategyNumber 26 /* for inet << */ +#define RTSuperEqualStrategyNumber 27 /* for inet >>= */ +#define RTPrefixStrategyNumber 28 /* for text ^@ */ +#define RTOldBelowStrategyNumber 29 /* for old spelling of <<| */ +#define RTOldAboveStrategyNumber 30 /* for old spelling of |>> */ + +#endif /* ! MEOS */ + +/* Additional operator strategy numbers used for temporal types */ + +#define RTOverBeforeStrategyNumber 28 /* for &<# */ +#define RTBeforeStrategyNumber 29 /* for <<# */ +#define RTAfterStrategyNumber 30 /* for #>> */ +#define RTOverAfterStrategyNumber 31 /* for #&> */ +#define RTOverFrontStrategyNumber 32 /* for &> */ +#define RTOverBackStrategyNumber 35 /* for /&> */ + +/*****************************************************************************/ + +#endif /* __STRATNUM_H__ */ diff --git a/jmeos-core/tools/parity/meos-ref/meos/include/temporal/tbool_ops.h b/jmeos-core/tools/parity/meos-ref/meos/include/temporal/tbool_ops.h new file mode 100644 index 00000000..ed0a7cb7 --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/meos/include/temporal/tbool_ops.h @@ -0,0 +1,55 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @brief Temporal Boolean operators (and, or, not). + */ + +#ifndef __TBOOL_BOOLOPS_H__ +#define __TBOOL_BOOLOPS_H__ + +/* PostgreSQL */ +#include +/* MEOS */ +#include +#include "temporal/temporal.h" + +/*****************************************************************************/ + +extern Datum datum_and(Datum l, Datum r); +extern Datum datum_or(Datum l, Datum r); + +extern Temporal *boolop_tbool_bool(const Temporal *temp, Datum b, + datum_func2 func, bool invert); +extern Temporal *boolop_tbool_tbool(const Temporal *temp1, + const Temporal *temp2, datum_func2 func); + +/*****************************************************************************/ + +#endif diff --git a/jmeos-core/tools/parity/meos-ref/meos/include/temporal/tbox.h b/jmeos-core/tools/parity/meos-ref/meos/include/temporal/tbox.h new file mode 100644 index 00000000..305d99c8 --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/meos/include/temporal/tbox.h @@ -0,0 +1,67 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @brief Functions for temporal bounding boxes. + */ + +#ifndef __TBOX_H__ +#define __TBOX_H__ + +/* PostgreSQL */ +#include +/* MEOS */ +#include + +/*****************************************************************************/ + +/* fmgr macros temporal types */ + +#define DatumGetTboxP(X) ((TBox *) DatumGetPointer(X)) +#define TboxPGetDatum(X) PointerGetDatum(X) +#define PG_GETARG_TBOX_P(n) DatumGetTboxP(PG_GETARG_DATUM(n)) +#define PG_RETURN_TBOX_P(x) return TboxPGetDatum(x) + +/*****************************************************************************/ + +/* Parameter tests */ + +extern bool ensure_same_dimensionality_tbox(const TBox *box1, const TBox *box2); + +/* Conversion */ + +extern TBox *set_tbox(const Set *s); +extern TBox *span_tbox(const Span *s); +extern Span *tbox_tstzspan(const TBox *box); +extern Span *tbox_intspan(const TBox *box); +extern Span *tbox_floatspan(const TBox *box); + +/*****************************************************************************/ + +#endif diff --git a/jmeos-core/tools/parity/meos-ref/meos/include/temporal/tbox_index.h b/jmeos-core/tools/parity/meos-ref/meos/include/temporal/tbox_index.h new file mode 100644 index 00000000..44bee077 --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/meos/include/temporal/tbox_index.h @@ -0,0 +1,54 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @brief Basic routines for indexing temporal values + */ + +#ifndef __TBOX_INDEX_H__ +#define __TBOX_INDEX_H__ + +/* PostgreSQL */ +#include +#include +/* MEOS */ +#include +#include "temporal/temporal.h" + +/*****************************************************************************/ + +extern bool tbox_index_leaf_consistent(const TBox *key, const TBox *query, + StrategyNumber strategy); +extern bool tbox_gist_inner_consistent(const TBox *key, const TBox *query, + StrategyNumber strategy); +extern bool tbox_index_recheck(StrategyNumber strategy); + +/*****************************************************************************/ + +#endif /* __TBOX_INDEX_H__ */ diff --git a/jmeos-core/tools/parity/meos-ref/meos/include/temporal/temporal.h b/jmeos-core/tools/parity/meos-ref/meos/include/temporal/temporal.h new file mode 100644 index 00000000..ceff7374 --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/meos/include/temporal/temporal.h @@ -0,0 +1,444 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @brief Basic functions for temporal types of any subtype. + */ + +#ifndef __TEMPORAL_H__ +#define __TEMPORAL_H__ + +/* PostgreSQL */ +#include +#if POSTGRESQL_VERSION_NUMBER >= 160000 + #include "varatt.h" +#endif +/* MEOS */ +#include +#include +#include +#include "temporal/doublen.h" +#include "temporal/meos_catalog.h" + +/* To avoid including pg_collation_d */ +#define DEFAULT_COLLATION_OID 100 +#define C_COLLATION_OID 950 +#define POSIX_COLLATION_OID 951 + +#ifndef FMGR_H + /* To avoid including fmgr.h However this implies that the text values must + * be ALWAYS detoasted */ + #define DatumGetTextP(X) ((text *) DatumGetPointer(X)) // ((text *) PG_DETOAST_DATUM(X)) +#endif /* FMGR_H */ + +/** + * Floating point precision + */ +#define MEOS_EPSILON 1.0e-06 +#define MEOS_FP_EQ(A, B) (fabs((A)-(B)) <= MEOS_EPSILON) +#define MEOS_FP_NE(A, B) (fabs((A)-(B)) > MEOS_EPSILON) +#define MEOS_FP_LT(A, B) (((A) + MEOS_EPSILON) < (B)) +#define MEOS_FP_LE(A, B) (((A) - MEOS_EPSILON) <= (B)) +#define MEOS_FP_GT(A, B) (((A) - MEOS_EPSILON) > (B)) +#define MEOS_FP_GE(A, B) (((A) + MEOS_EPSILON) >= (B)) + +/** + * Precision for distance operations + */ +#define DIST_EPSILON 1.0e-06 + +#define UNUSED __attribute__((unused)) + +/** Symbolic constants for lifting */ +#define DISCONTINUOUS true +#define CONTINUOUS false + +/** Symbolic constants for sets and for normalizing spans */ +#define ORDER true +#define ORDER_NO false + +/** Symbolic constants for the output of string elements */ +#define QUOTES true +#define QUOTES_NO false + +/** Symbolic constants for the output of string elements */ +#define SPACES true +#define SPACES_NO false + +/** Symbolic constants for lifting */ +#define INVERT true +#define INVERT_NO false + +/** Symbolic constants for the restriction functions */ +#define REST_AT true +#define REST_MINUS false + +/** Symbolic constants for the restriction functions with boxes */ +#define BORDER_INC true +#define BORDER_EXC false + +/** Symbolic constants for the ever/always functions */ +#define EVER true +#define ALWAYS false + +/** Symbolic constants for the temporal point/geo functions */ +#define TPOINT true +#define TGEO false + +/** Symbolic constants for the restriction and the aggregation functions */ +#define GET_MIN true +#define GET_MAX false + +/** Symbolic constants for the synchronization and the aggregation functions */ +#define CROSSINGS true +#define CROSSINGS_NO false + +/** Symbolic constants for the synchronization and the aggregation functions */ +#define BBOX_TEST true +#define BBOX_TEST_NO false + +/** Symbolic constants for the make functions */ +#define MERGE true +#define MERGE_NO false + +#define NORMALIZE true +#define NORMALIZE_NO false + +/** Symbolic constants for spatial relationships */ +#define WITH_Z true +#define NO_Z false + +/** Symbolic constants for the span selectivity functions */ +#define VALUE_SEL true +#define TIME_SEL false + +/** Symbolic constants for the restriction functions */ +#define UPPER_EXC true +#define TIME_SEL false + +/** Symbolic constants for trajectory function */ +#define UNARY_UNION true +#define UNARY_UNION_NO false + +/** Enumeration for the intersection/synchronization functions */ +typedef enum +{ + SYNCHRONIZE_NOCROSS, + SYNCHRONIZE_CROSS, +} SyncMode; + +/** Enumeration for the families of temporal types */ +typedef enum +{ + TEMPORALTYPE, + TNUMBERTYPE, + TSPATIALTYPE, +} TemporalFamily; + +/** Enumeration for the set operations of span and temporal types */ +typedef enum +{ + UNION, + INTER, + MINUS +} SetOper; + +/** Enumeration for the comparison operations */ +typedef enum +{ + EQ, + NE, + LT, + LE, + GT, + GE +} CompOper; + +/* PostgreSQL removed pg_atoi in version 15 */ +#if POSTGRESQL_VERSION_NUMBER >= 150000 + extern int32 pg_strtoint32(const char *s); +#else + /* To avoid including */ + extern int32 pg_atoi(const char *s, int size, int c); +#endif /* POSTGRESQL_VERSION_NUMBER >= 150000 */ + +/***************************************************************************** + * Additional operator strategy numbers used in the GiST and SP-GiST temporal + * opclasses with respect to those defined in the file stratnum.h + *****************************************************************************/ + +#define RTOverBeforeStrategyNumber 28 /* for &<# */ +#define RTBeforeStrategyNumber 29 /* for <<# */ +#define RTAfterStrategyNumber 30 /* for #>> */ +#define RTOverAfterStrategyNumber 31 /* for #&> */ +#define RTOverFrontStrategyNumber 32 /* for &> */ +#define RTOverBackStrategyNumber 35 /* for /&> */ + +/***************************************************************************** + * Well-Known Binary (WKB) + *****************************************************************************/ + +/* Data type size */ +#define MEOS_WKB_BYTE_SIZE 1 +#define MEOS_WKB_INT2_SIZE 2 +#define MEOS_WKB_INT4_SIZE 4 +#define MEOS_WKB_INT8_SIZE 8 +#define MEOS_WKB_DOUBLE_SIZE 8 +#define MEOS_WKB_DATE_SIZE 4 +#define MEOS_WKB_TIMESTAMP_SIZE 8 + +/* Temporal subtype */ +enum MEOS_WKB_TSUBTYPE +{ + MEOS_WKB_TINSTANT = 1, /**< temporal instant subtype */ + MEOS_WKB_TSEQUENCE = 2, /**< temporal sequence subtype */ + MEOS_WKB_TSEQUENCESET = 3, /**< temporal sequence set subtype */ +}; + +/* Span bounds */ +#define MEOS_WKB_LOWER_INC 0x01 +#define MEOS_WKB_UPPER_INC 0x02 + +/* Machine endianness */ +#define XDR 0 /* big endian */ +#define NDR 1 /* little endian */ + +/* Variation flags + * The first byte of the variation flag depends on the type we are sending + * - Set types: xxxO where O states whether the set is ordered or not + * - Box types: xxTX where X and T state whether the corresponding dimensions + * are present + * - Temporal types: xxSS where SS correspond to the subtype + * and x are unused bits + */ +#define MEOS_WKB_ORDERED 0x01 // 1 +#define MEOS_WKB_XFLAG 0x01 // 1 +#define MEOS_WKB_TFLAG 0x02 // 2 +#define MEOS_WKB_INTERPFLAGS 0x0C // 4 + 8 +#define MEOS_WKB_ZFLAG 0x10 // 16 +#define MEOS_WKB_GEODETICFLAG 0x20 // 32 +#define MEOS_WKB_SRIDFLAG 0x40 // 64 + +#define MEOS_WKB_GET_INTERP(flags) (((flags) & MEOS_WKB_INTERPFLAGS) >> 2) +#define MEOS_WKB_SET_INTERP(flags, value) ((flags) = (((flags) & ~MEOS_WKB_INTERPFLAGS) | ((value & 0x0003) << 2))) + +// #define MEOS_WKB_GET_LINEAR(flags) ((bool) (((flags) & MEOS_WKB_LINEARFLAG)>>3)) + +/***************************************************************************** + * Definitions for binning and tiling + *****************************************************************************/ + +/* + * The default origin is Monday 2000-01-03. We don't use PG epoch since it + * starts on a Saturday. This makes time bins by a week more intuitive and + * aligns it with date_trunc. + */ +#define JAN_3_2000 (2 * USECS_PER_DAY) +#define DEFAULT_TIME_ORIGIN (JAN_3_2000) +#define DEFAULT_FLOATSPAN_ORIGIN (0.0) +#define DEFAULT_INTSPAN_ORIGIN (0) +#define DEFAULT_BIGINTSPAN_ORIGIN (0) + +/***************************************************************************** + * Additional struct definitions for temporal types + *****************************************************************************/ + +/** + * Structure to represent all types of bounding boxes + */ +typedef union bboxunion +{ + Span p; /**< Span */ + TBox b; /**< Temporal box */ + STBox g; /**< Spatiotemporal box */ +} bboxunion; + +/***************************************************************************** + * Miscellaneous + *****************************************************************************/ + +/* Definition of output function */ +typedef char *(*outfunc)(Datum value, MeosType type, int maxdd); + +/* Definition of qsort comparator for integers */ +typedef int (*qsort_comparator) (const void *a, const void *b); + +/* Definition of a variadic function type for temporal lifting */ +typedef Datum (*varfunc) (Datum, ...); + +/* Definition of a turning point function for a unary temporal lift */ +typedef int (*tpfunc_unary)(Datum, Datum, TimestampTz, TimestampTz, + TimestampTz *, TimestampTz *); + +/* Definition of a turning point function for a temporal and a base types */ +typedef int (*tpfunc_base)(Datum, Datum, Datum, TimestampTz, TimestampTz, + TimestampTz *, TimestampTz *); + +/* Definition of a turning point function for two temporal types */ +typedef int (*tpfunc_temp)(Datum, Datum, Datum, Datum, Datum, TimestampTz, + TimestampTz, TimestampTz *, TimestampTz *); + +/***************************************************************************** + * fmgr macros temporal types + *****************************************************************************/ + +/* doubleN */ + +#define DatumGetDouble2P(X) ((double2 *) DatumGetPointer(X)) +#define Double2PGetDatum(X) PointerGetDatum(X) +#define DatumGetDouble3P(X) ((double3 *) DatumGetPointer(X)) +#define Double3PGetDatum(X) PointerGetDatum(X) +#define DatumGetDouble4P(X) ((double4 *) DatumGetPointer(X)) +#define Double4PGetDatum(X) PointerGetDatum(X) + +/* Temporal types */ + +#if MEOS + #define DatumGetTemporalP(X) ((Temporal *) DatumGetPointer(X)) + #define DatumGetTInstantP(X) ((TInstant *) DatumGetPointer(X)) + #define DatumGetTSequenceP(X) ((TSequence *) DatumGetPointer(X)) + #define DatumGetTSequenceSetP(X) ((TSequenceSet *) DatumGetPointer(X)) +#else + #define DatumGetTemporalP(X) ((Temporal *) PG_DETOAST_DATUM(X)) + #define DatumGetTInstantP(X) ((TInstant *) PG_DETOAST_DATUM(X)) + #define DatumGetTSequenceP(X) ((TSequence *) PG_DETOAST_DATUM(X)) + #define DatumGetTSequenceSetP(X) ((TSequenceSet *) PG_DETOAST_DATUM(X)) +#endif /* MEOS */ + +#define PG_GETARG_TEMPORAL_P(X) ((Temporal *) PG_GETARG_VARLENA_P(X)) +#define PG_GETARG_TINSTANT_P(X) ((TInstant *) PG_GETARG_VARLENA_P(X)) +#define PG_GETARG_TSEQUENCE_P(X) ((TSequence *) PG_GETARG_VARLENA_P(X)) +#define PG_GETARG_TSEQUENCESET_P(X) ((TSequenceSet *) PG_GETARG_VARLENA_P(X)) + +#define PG_RETURN_TEMPORAL_P(X) PG_RETURN_POINTER(X) +#define PG_RETURN_TINSTANT_P(X) PG_RETURN_POINTER(X) +#define PG_RETURN_TSEQUENCE_P(X) PG_RETURN_POINTER(X) +#define PG_RETURN_TSEQUENCESET_P(X) PG_RETURN_POINTER(X) + +#define TemporalPGetDatum(X) PointerGetDatum(X) +#define TInstantPGetDatum(X) PointerGetDatum(X) +#define TSequencePGetDatum(X) PointerGetDatum(X) +#define TSequenceSetPGetDatum(X) PointerGetDatum(X) + +#define DATUM_FREE(value, basetype) \ + do { \ + if (! basetype_byvalue(basetype)) \ + pfree(DatumGetPointer(value)); \ + } while (0) + +#define DATUM_FREE_IF_COPY(value, basetype, n) \ + do { \ + if (! basetype_byvalue(basetype) && DatumGetPointer(value) != PG_GETARG_POINTER(n)) \ + pfree(DatumGetPointer(value)); \ + } while (0) + +/** + * This macro is based on PG_FREE_IF_COPY, except that it accepts two pointers. + * See PG_FREE_IF_COPY comment in src/include/fmgr.h in postgres source code + * for more details. + * This macro is the same as POSTGIS_FREE_IF_COPY_P. + */ +#define PG_FREE_IF_COPY_P(ptrsrc, ptrori) \ + do { \ + if ((Pointer) (ptrsrc) != (Pointer) (ptrori)) \ + pfree(ptrsrc); \ + } while (0) + +#define PG_DATUM_NEEDS_DETOAST(datum) \ + (VARATT_IS_EXTENDED((datum)) || VARATT_IS_EXTERNAL((datum)) || \ + VARATT_IS_COMPRESSED((datum))) + +/*****************************************************************************/ + +/* Parameter tests */ + +extern bool ensure_has_X(MeosType type, int16 flags); +extern bool ensure_has_Z(MeosType type, int16 flags); +extern bool ensure_has_T(MeosType type, int16 flags); +extern bool ensure_has_not_Z(MeosType type, int16 flags); +extern bool ensure_not_null(void *ptr); +extern bool ensure_one_not_null(void *ptr1, void *ptr2); +extern bool ensure_one_true(bool hasshift, bool haswidth); +extern bool ensure_valid_interp(MeosType temptype, interpType interp); +extern bool ensure_continuous(const Temporal *temp); +extern bool ensure_same_interp(const Temporal *temp1, const Temporal *temp2); +extern bool ensure_same_continuous_interp(int16 flags1, int16 flags2); +extern bool ensure_linear_interp(int16 flags); +extern bool ensure_nonlinear_interp(int16 flags); +extern bool ensure_common_dimension(int16 flags1, int16 flags2); +extern bool ensure_temporal_isof_type(const Temporal *temp, MeosType type); +extern bool ensure_temporal_isof_basetype(const Temporal *temp, + MeosType basetype); +extern bool ensure_temporal_isof_subtype(const Temporal *temp, + tempSubtype type); +extern bool ensure_same_temporal_type(const Temporal *temp1, + const Temporal *temp2); + +extern bool ensure_valid_tnumber_numspan(const Temporal *temp, const Span *s); +extern bool ensure_valid_tnumber_numspanset(const Temporal *temp, + const SpanSet *ss); +extern bool ensure_valid_tnumber_tbox(const Temporal *temp, const TBox *box); +extern bool ensure_valid_temporal_set(const Temporal *temp, const Set *s); +extern bool ensure_valid_temporal_temporal(const Temporal *temp1, const Temporal *temp2); +extern bool ensure_valid_tnumber_tnumber(const Temporal *temp1, const Temporal *temp2); +extern bool ensure_not_negative(int i); +extern bool ensure_positive(int i); +extern bool not_negative_datum(Datum size, MeosType basetype); +extern bool ensure_not_negative_datum(Datum size, MeosType basetype); +extern bool positive_datum(Datum size, MeosType basetype); +extern bool ensure_positive_datum(Datum size, MeosType basetype); +extern bool ensure_valid_day_duration(const Interval *duration); +extern bool positive_duration(const Interval *duration); +extern bool ensure_positive_duration(const Interval *duration); + +/* General functions */ + +extern void *temporal_bbox_ptr(const Temporal *temp); + +extern bool intersection_temporal_temporal(const Temporal *temp1, +const Temporal *temp2, SyncMode mode, Temporal **inter1, Temporal **inter2); + +/* Version functions */ + +extern char *mobilitydb_version(void); +extern char *mobilitydb_full_version(void); + +/* Transformations */ + +extern datum_func2 round_fn(MeosType basetype); + +/* Restriction functions */ + +extern bool temporal_bbox_restrict_value(const Temporal *temp, Datum value); + +/*****************************************************************************/ + +#endif diff --git a/jmeos-core/tools/parity/meos-ref/meos/include/temporal/temporal_aggfuncs.h b/jmeos-core/tools/parity/meos-ref/meos/include/temporal/temporal_aggfuncs.h new file mode 100644 index 00000000..10812a99 --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/meos/include/temporal/temporal_aggfuncs.h @@ -0,0 +1,102 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @brief Temporal aggregate functions + */ + +#ifndef __TEMPORAL_AGGFUNCS_H__ +#define __TEMPORAL_AGGFUNCS_H__ + +/* PostgreSQL */ +#include +/* MEOS */ +#include +#include "temporal/temporal.h" + +/*****************************************************************************/ + +extern Datum datum_min_int32(Datum l, Datum r); +extern Datum datum_max_int32(Datum l, Datum r); +extern Datum datum_min_float8(Datum l, Datum r); +extern Datum datum_max_float8(Datum l, Datum r); +extern Datum datum_sum_int32(Datum l, Datum r); +extern Datum datum_sum_float8(Datum l, Datum r); +extern Datum datum_min_text(Datum l, Datum r); +extern Datum datum_max_text(Datum l, Datum r); +extern Datum datum_sum_double2(Datum l, Datum r); +extern Datum datum_sum_double3(Datum l, Datum r); +extern Datum datum_sum_double4(Datum l, Datum r); + +/* Specific skiplist functions for temporal aggregations */ + +extern int temporal_skiplist_common(SkipList *list, void **values, int count, + int *lower, int *upper, int update[SKIPLIST_MAXLEVEL]); +extern void **temporal_skiplist_merge(void **spliced, int spliced_count, + void **values, int count, datum_func2 func, bool crossings, int *newcount, + void ***tofree, int *nfree); +extern void temporal_skiplist_splice(SkipList *list, void **values, int count, + datum_func2 func, bool crossings); + +/* Generic aggregation functions */ + +extern TInstant **tinstant_tagg(TInstant **instants1, int count1, + TInstant **instants2, int count2, datum_func2 func, int *newcount, + void ***tofree, int *nfree); +extern TSequence **tsequence_tagg(TSequence **sequences1, int count1, + TSequence **sequences2, int count2, datum_func2 func, bool crossings, + int *newcount); +extern SkipList *tcontseq_tagg_transfn(SkipList *state, const TSequence *seq, + datum_func2 func, bool interpoint); +extern SkipList *temporal_tagg_combinefn(SkipList *state1, SkipList *state2, + datum_func2 func, bool crossings); + +extern SkipList *tinstant_tagg_transfn(SkipList *state, const TInstant *inst, + datum_func2 func); +extern TSequence *tinstant_tavg_finalfn(TInstant **instants, int count); +extern TSequenceSet *tsequence_tavg_finalfn(TSequence **sequences, int count); +extern TInstant *tnumberinst_transform_tavg(const TInstant *inst); +extern Temporal **temporal_transform_tcount(const Temporal *temp, int *count); +extern Temporal **temporal_transform_tagg(const Temporal *temp, int *count, + TInstant *(*func)(const TInstant *)); +extern SkipList *tsequenceset_tagg_transfn(SkipList *state, + const TSequenceSet *ss, datum_func2 func, bool crossings); +extern SkipList *tdiscseq_tagg_transfn(SkipList *state, const TSequence *seq, + datum_func2 func); + +extern SkipList *temporal_tagg_transfn(SkipList *state, const Temporal *temp, + datum_func2, bool crossings); +extern SkipList *temporal_tagg_combinefn(SkipList *state1, SkipList *state2, + datum_func2 func, bool crossings); +extern SkipList *temporal_tagg_transform_transfn(SkipList *state, const Temporal *temp, + datum_func2 func, bool crossings, TInstant *(*transform)(const TInstant *)); + +/*****************************************************************************/ + +#endif diff --git a/jmeos-core/tools/parity/meos-ref/meos/include/temporal/temporal_analytics.h b/jmeos-core/tools/parity/meos-ref/meos/include/temporal/temporal_analytics.h new file mode 100644 index 00000000..8c4374e5 --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/meos/include/temporal/temporal_analytics.h @@ -0,0 +1,67 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +#ifndef __TEMPORAL_ANALYTICS_H__ +#define __TEMPORAL_ANALYTICS_H__ + +/* MEOS */ +#include + +/*****************************************************************************/ + +typedef enum +{ + FRECHET, + DYNTIMEWARP, + HAUSDORFF +} SimFunc; + +/** + * Struct for storing the state that persists across multiple calls generating + * the path + */ +typedef struct +{ + bool done; + int i; + int size; + Match *path; +} SimilarityPathState; + +/*****************************************************************************/ + +extern double temporal_similarity(const Temporal *temp1, const Temporal *temp2, + SimFunc simfunc); +extern Match *temporal_similarity_path(const Temporal *temp1, + const Temporal *temp2, int *count, SimFunc simfunc); + +/*****************************************************************************/ + +#endif /* __TEMPORAL_ANALYTICS_H__ */ + diff --git a/jmeos-core/tools/parity/meos-ref/meos/include/temporal/temporal_boxops.h b/jmeos-core/tools/parity/meos-ref/meos/include/temporal/temporal_boxops.h new file mode 100644 index 00000000..9145a4cc --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/meos/include/temporal/temporal_boxops.h @@ -0,0 +1,82 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @brief Bounding box operators for temporal types. + */ + +#ifndef __TEMPORAL_BOXOPS_H__ +#define __TEMPORAL_BOXOPS_H__ + +/* PostgreSQL */ +#include +/* MEOS */ +#include +#include "temporal/meos_catalog.h" + +/*****************************************************************************/ + +/** + * @brief Return the size in bytes to read from toast to get the basic + * information from a temporal: Temporal struct (i.e., TInstant, TSequence, + * or TSequenceSet) and bounding box size +*/ +#define TEMPORAL_MAX_HEADER_SIZE \ + DOUBLE_PAD(Max(Max(sizeof(TInstant), sizeof(TSequence)), \ + sizeof(TSequenceSet))) + DOUBLE_PAD(sizeof(bboxunion)) + +/*****************************************************************************/ + +/* Compute the bounding box at the creation of temporal values */ + +extern size_t temporal_bbox_size(MeosType tempype); +extern void tinstant_set_bbox(const TInstant *inst, void *bbox); +extern void tinstarr_set_bbox(TInstant **instants, int count, + bool lower_inc, bool upper_inc, interpType interp, void *bbox); +extern void tsequence_compute_bbox(TSequence *seq); +extern void tseqarr_compute_bbox(TSequence **sequences, int count, void *bbox); +extern void tsequenceset_compute_bbox(TSequenceSet *ss); + +/* Bounding box operators for temporal types */ + +extern bool boxop_temporal_tstzspan(const Temporal *temp, const Span *s, + bool (*func)(const Span *, const Span *), bool invert); +extern bool boxop_temporal_temporal(const Temporal *temp1, + const Temporal *temp2, bool (*func)(const Span *, const Span *)); + +extern bool boxop_tnumber_numspan(const Temporal *temp, const Span *span, + bool (*func)(const Span *, const Span *), bool invert); +extern bool boxop_tnumber_tbox(const Temporal *temp, const TBox *box, + bool (*func)(const TBox *, const TBox *), bool invert); +extern bool boxop_tnumber_tnumber(const Temporal *temp1, const Temporal *temp2, + bool (*func)(const TBox *, const TBox *)); + +/*****************************************************************************/ + +#endif /* __TEMPORAL_BOXOPS_H__ */ diff --git a/jmeos-core/tools/parity/meos-ref/meos/include/temporal/temporal_compops.h b/jmeos-core/tools/parity/meos-ref/meos/include/temporal/temporal_compops.h new file mode 100644 index 00000000..02a975ac --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/meos/include/temporal/temporal_compops.h @@ -0,0 +1,64 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @file + * @brief Ever comparison operators (?=, ?<>, ?<, ?>, ?<=, ?>=), + * always comparison operators (%=, %<>, %<, %>, %<=, %>=), and + * temporal comparison operators (#=, #<>, #<, #>, #<=, #>=). + */ + +#ifndef __TEMPORAL_COMPOPS_H__ +#define __TEMPORAL_COMPOPS_H__ + +/* PostgreSQL */ +#include +/* MEOS */ +#include +#include "temporal/meos_catalog.h" + +/*****************************************************************************/ + +extern int eacomp_base_temporal(Datum value, const Temporal *temp, + Datum (*func)(Datum, Datum, MeosType), bool ever); +extern int eacomp_temporal_base(const Temporal *temp, Datum value, + Datum (*func)(Datum, Datum, MeosType), bool ever); +extern int eacomp_temporal_temporal(const Temporal *temp1, + const Temporal *temp2, Datum (*func)(Datum, Datum, MeosType), bool ever); + +extern Temporal *tcomp_base_temporal(Datum value, const Temporal *temp, + Datum (*func)(Datum, Datum, MeosType)); +extern Temporal *tcomp_temporal_base(const Temporal *temp, Datum value, + Datum (*func)(Datum, Datum, MeosType)); +extern Temporal *tcomp_temporal_temporal(const Temporal *temp1, + const Temporal *temp2, Datum (*func)(Datum, Datum, MeosType)); + +/*****************************************************************************/ + +#endif /* __TEMPORAL_COMPOPS_H__ */ diff --git a/jmeos-core/tools/parity/meos-ref/meos/include/temporal/temporal_restrict.h b/jmeos-core/tools/parity/meos-ref/meos/include/temporal/temporal_restrict.h new file mode 100644 index 00000000..559ea97e --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/meos/include/temporal/temporal_restrict.h @@ -0,0 +1,121 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @brief Restriction functions for temporal value. + */ + +#ifndef __TEMPORAL_RESTRICT_H__ +#define __TEMPORAL_RESTRICT_H__ + +/* PostgreSQL */ +#include +/* MEOS */ +#include +#include "temporal/meos_catalog.h" +#include "temporal/temporal.h" + +/*****************************************************************************/ + +/* Restriction Functions */ + +extern TSequence *tcontseq_after_timestamptz(const TSequence *seq, TimestampTz t, bool strict); +extern TSequence *tcontseq_before_timestamptz(const TSequence *seq, TimestampTz t, bool strict); +extern TSequence *tdiscseq_after_timestamptz(const TSequence *seq, TimestampTz t, bool strict); +extern TSequence *tdiscseq_before_timestamptz(const TSequence *seq, TimestampTz t, bool strict); + +extern TInstant *tdiscseq_at_timestamptz(const TSequence *seq, TimestampTz t); +extern TSequence *tdiscseq_restrict_value(const TSequence *seq, Datum value, + bool atfunc); +extern TSequence *tdiscseq_restrict_values(const TSequence *seq, const Set *s, + bool atfunc); +extern TSequence *tdiscseq_restrict_minmax(const TSequence *seq, bool min, + bool atfunc); +extern TSequence *tdiscseq_minus_timestamptz(const TSequence *seq, + TimestampTz t); +extern TSequence *tdiscseq_restrict_tstzset(const TSequence *seq, + const Set *s, bool atfunc); +extern TSequence *tdiscseq_restrict_tstzspanset(const TSequence *seq, + const SpanSet *ss, bool atfunc); +extern int tcontseq_restrict_value_iter(const TSequence *seq, Datum value, + bool atfunc, TSequence **result); +extern TSequenceSet *tcontseq_restrict_minmax(const TSequence *seq, bool min, + bool atfunc); +extern TSequence *tcontseq_delete_timestamptz(const TSequence *seq, + TimestampTz t); +extern TSequence *tcontseq_delete_tstzset(const TSequence *seq, + const Set *s); +extern TSequence *tcontseq_delete_tstzspanset(const TSequence *seq, + const SpanSet *ss); +extern TSequence *tcontseq_at_tstzset(const TSequence *seq, const Set *s); +extern TSequenceSet *tcontseq_minus_timestamptz(const TSequence *seq, + TimestampTz t); +extern TSequenceSet *tcontseq_minus_tstzset(const TSequence *seq, + const Set *s); +extern TSequenceSet *tcontseq_minus_tstzspan(const TSequence *seq, + const Span *s); +extern TSequenceSet *tcontseq_restrict_value(const TSequence *seq, Datum value, + bool atfunc); +extern TSequenceSet *tcontseq_restrict_values(const TSequence *seq, + const Set *s, bool atfunc); +extern int tsequence_at_values_iter(const TSequence *seq, const Set *set, + TSequence **result); +extern int tnumberseq_cont_restrict_span_iter(const TSequence *seq, + const Span *span, bool atfunc, TSequence **result); +extern int tnumberseq_cont_restrict_spanset_iter(const TSequence *seq, + const SpanSet *ss, bool atfunc, TSequence **result); +extern TInstant *tsegment_at_timestamptz(const TInstant *inst1, + const TInstant *inst2, interpType interp, TimestampTz t); +extern int tcontseq_minus_timestamp_iter(const TSequence *seq, TimestampTz t, + TSequence **result); +extern int tcontseq_minus_tstzset_iter(const TSequence *seq, const Set *s, + TSequence **result); +extern int tcontseq_at_tstzspanset1(const TSequence *seq, const SpanSet *ss, + TSequence **result); +extern int tcontseq_minus_tstzspanset_iter(const TSequence *seq, const SpanSet *ss, + TSequence **result); +extern TSequence *tcontseq_at_tstzspan(const TSequence *seq, const Span *s); +extern TInstant *tcontseq_at_timestamptz(const TSequence *seq, TimestampTz t); +extern TSequenceSet *tcontseq_restrict_tstzspanset(const TSequence *seq, + const SpanSet *ss, bool atfunc); +extern bool tdiscseq_value_at_timestamptz(const TSequence *seq, TimestampTz t, + Datum *result); +extern TSequence *tnumberseq_disc_restrict_span(const TSequence *seq, + const Span *span, bool atfunc); +extern TSequence *tnumberseq_disc_restrict_spanset(const TSequence *seq, + const SpanSet *ss, bool atfunc); +extern TSequenceSet *tnumberseq_cont_restrict_span(const TSequence *seq, + const Span *span, bool atfunc); +extern TSequenceSet *tnumberseq_cont_restrict_spanset(const TSequence *seq, + const SpanSet *ss, bool atfunc); +extern double tnumberseq_cont_twavg(const TSequence *seq); + +/*****************************************************************************/ + +#endif /* __TEMPORAL_RESTRICT_H__ */ diff --git a/jmeos-core/tools/parity/meos-ref/meos/include/temporal/temporal_rtree.h b/jmeos-core/tools/parity/meos-ref/meos/include/temporal/temporal_rtree.h new file mode 100644 index 00000000..66d650e3 --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/meos/include/temporal/temporal_rtree.h @@ -0,0 +1,106 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @brief In memory index for STBox based on RTree + */ + +#ifndef __TEMPORAL_RTREE__ +#define __TEMPORAL_RTREE__ + +/* MEOS */ +#include + +#include "temporal/meos_catalog.h" + +/***************************************************************************** + * RTree + *****************************************************************************/ + +#define MAXITEMS 64 +#define MINITEMS_PERCENTAGE 10 +#define MINITEMS ((MAXITEMS) * (MINITEMS_PERCENTAGE) / 100 + 1) + +/** + * @brief Enumeration that defines the node types for an RTree. + */ +typedef enum +{ + RTREE_LEAF, + RTREE_INNER +} RTreeNodeType; + +/** + * @brief Internal representation of an RTree node. + */ +typedef struct RTreeNode +{ + size_t bboxsize; /**< Size of the bouding box */ + int count; /**< Number of bouding boxes */ + RTreeNodeType node_type; + union + { + struct RTreeNode *nodes[MAXITEMS]; + int ids[MAXITEMS]; + }; + /* The bounding boxes can be of type Span, TBox, or STBox */ + char boxes[]; +} RTreeNode; + +/** + * @brief Rtree in-memory index basic structure. + * @details It works based on Span, TBox and STBox. + * - The spliting criteria is based on the largest axis. + * - The inserting criteria is based on least enlarging square. + * - The get axis function makes it ease to implement with X,Y,Z and time or any + * combination that you may want. + */ +struct RTree +{ + size_t bboxsize; /**< Size of the bouding box */ + MeosType bboxtype; /**< Type of the bouding box */ + int dims; + RTreeNode *root; + double (*get_axis)(const void *, int, bool); + void (*bbox_expand)(const void *, void *); + bool (*bbox_contains)(const void *, const void *); + bool (*bbox_overlaps)(const void *, const void *); + char box[]; +}; + +/** + * @brief Return a pointer to the n-th bounding box of a node + * @details The bouding boxes of a node can be of type Span, TBox, or STBox + */ +#define RTREE_NODE_BBOX_N(node, n) ( (void *)( \ + ((char *) &((node)->boxes)) + (n) * (node)->bboxsize ) ) + +/*****************************************************************************/ + +#endif /* __TEMPORAL_RTREE__ */ diff --git a/jmeos-core/tools/parity/meos-ref/meos/include/temporal/temporal_tile.h b/jmeos-core/tools/parity/meos-ref/meos/include/temporal/temporal_tile.h new file mode 100644 index 00000000..276cec4e --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/meos/include/temporal/temporal_tile.h @@ -0,0 +1,110 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +#ifndef __TEMPORAL_TILE_H__ +#define __TEMPORAL_TILE_H__ + +/* MEOS */ +#include +#include "temporal/meos_catalog.h" + +#define MAXDIMS 4 + +/*****************************************************************************/ + +/** + * Struct for storing the state that persists across multiple calls generating + * the bin list + */ +typedef struct SpanBinState +{ + bool done; /**< True when the state is consumed */ + uint8 basetype; /**< span basetype */ + int i; /**< Current tile number */ + Datum size; /**< Size of the values */ + Datum origin; /**< Origin of the values */ + Span span; /**< Bounding span */ + const void *to_split; /**< NULL when generating bins, used for splitting + * span sets or temporal values*/ + Datum value; /**< Current value */ + int nbins; /**< Total number of bins */ +} SpanBinState; + +/** + * @brief Struct for storing the state for tiling operations + */ +typedef struct TboxGridState +{ + bool done; /**< True when the state is consumed */ + int i; /**< Current tile number */ + Datum vsize; /**< Value size */ + int64 tunits; /**< Time size */ + TBox box; /**< Bounding box */ + const Temporal *temp; /**< Optional temporal number to be split */ + Datum value; /**< Current value */ + TimestampTz t; /**< Current time */ + int ntiles; /**< Total number of tiles */ + int max_coords[2]; /**< Maximum coordinates of the tiles */ + int coords[2]; /**< Coordinates of the current tile */ +} TboxGridState; + +/*****************************************************************************/ + +extern int span_num_bins(const Span *s, Datum size, Datum origin, + Datum *start_bin, Datum *end_bin); + +extern Span *span_bins(const Span *s, Datum size, Datum origin, int *count); +extern Span *spanset_bins(const SpanSet *ss, Datum size, Datum origin, int *count); + +extern SpanBinState *temporal_time_bin_init(const Temporal *temp, + const Interval *duration, TimestampTz torigin, int *nbins); + +extern TboxGridState *tbox_tile_state_make(const Temporal *temp, + const TBox *box, Datum vsize, const Interval *duration, Datum xorigin, + TimestampTz torigin); +extern void tbox_tile_state_next(TboxGridState *state); +extern void tbox_tile_state_set(Datum value, TimestampTz t, Datum vsize, + int64 tunits, MeosType basetype, MeosType spantype, TBox *box); + +/*****************************************************************************/ + +extern int64 interval_units(const Interval *interval); +extern TimestampTz timestamptz_bin_start(TimestampTz timestamp, int64 tunits, + TimestampTz torigin); +extern Datum datum_bin(Datum value, Datum size, Datum offset, + MeosType basetype); + +extern TboxGridState *tnumber_value_time_tile_init(const Temporal *temp, + Datum vsize, const Interval *duration, Datum vorigin, TimestampTz torigin, + int *ntiles); +extern bool tbox_tile_state_get(TboxGridState *state, TBox *box); + +/*****************************************************************************/ +#endif /* __TEMPORAL_TILE_H__ */ + diff --git a/jmeos-core/tools/parity/meos-ref/meos/include/temporal/temporal_waggfuncs.h b/jmeos-core/tools/parity/meos-ref/meos/include/temporal/temporal_waggfuncs.h new file mode 100644 index 00000000..ed14489d --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/meos/include/temporal/temporal_waggfuncs.h @@ -0,0 +1,57 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @brief Temporal aggregate functions + */ + +#ifndef __TEMPORAL_WAGGFUNCS_H__ +#define __TEMPORAL_WAGGFUNCS_H__ + +/* PostgreSQL */ +#include +/* MEOS */ +#include +#include "temporal/temporal.h" + +/*****************************************************************************/ + +extern TSequence **temporal_transform_wcount(const Temporal *temp, + const Interval *interval, int *count); +extern TSequence **tnumber_transform_wavg(const Temporal *temp, + const Interval *interval, int *count); +extern SkipList *temporal_wagg_transfn(SkipList *state, const Temporal *temp, + const Interval *interval, datum_func2 func, bool min, bool crossings); +extern SkipList *temporal_wagg_transform_transfn(SkipList *state, + const Temporal *temp, const Interval *interval, datum_func2 func, + TSequence ** (*transform)(const Temporal *, const Interval *, int *)); + +/*****************************************************************************/ + +#endif diff --git a/jmeos-core/tools/parity/meos-ref/meos/include/temporal/tinstant.h b/jmeos-core/tools/parity/meos-ref/meos/include/temporal/tinstant.h new file mode 100644 index 00000000..6a288971 --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/meos/include/temporal/tinstant.h @@ -0,0 +1,75 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @brief Basic functions for temporal instants. + */ + +#ifndef __TINSTANT_H__ +#define __TINSTANT_H__ + +/* PostgreSQL */ +#include +/* MEOS */ +#include +#include "temporal/temporal.h" + +/*****************************************************************************/ + +/* General functions */ + +extern void tinstant_set(TInstant *inst, Datum value, TimestampTz t); +extern double tnumberinst_double(const TInstant *inst); + +/* Input/output functions */ + +extern char *tinstant_to_string(const TInstant *inst, int maxdd, + outfunc value_out); + +/* Restriction Functions */ + +extern bool tinstant_restrict_values_test(const TInstant *inst, + const Set *s, bool atfunc); +extern bool tnumberinst_restrict_span_test(const TInstant *inst, + const Span *s, bool atfunc); +extern bool tnumberinst_restrict_spanset_test(const TInstant *inst, + const SpanSet *ss, bool atfunc); +extern bool tinstant_restrict_tstzset_test(const TInstant *inst, + const Set *s, bool atfunc); +extern bool tinstant_restrict_tstzspanset_test(const TInstant *inst, + const SpanSet *ss, bool atfunc); + +/* Intersection function */ + +extern bool intersection_tinstant_tinstant(const TInstant *inst1, + const TInstant *inst2, TInstant **inter1, TInstant **inter2); + +/*****************************************************************************/ + +#endif diff --git a/jmeos-core/tools/parity/meos-ref/meos/include/temporal/tnumber_mathfuncs.h b/jmeos-core/tools/parity/meos-ref/meos/include/temporal/tnumber_mathfuncs.h new file mode 100644 index 00000000..fb272ca7 --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/meos/include/temporal/tnumber_mathfuncs.h @@ -0,0 +1,72 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @brief Mathematical operators (+, -, *, /) and functions (round, degrees, ...) + * for temporal numbers. + */ + +#ifndef __TEMPORAL_MATHFUNCS_H__ +#define __TEMPORAL_MATHFUNCS_H__ + +/* PostgreSQL */ +#include +/* MEOS */ +#include +#include "temporal/temporal.h" +#include "temporal/meos_catalog.h" + +/*****************************************************************************/ + +/** Enumeration for the arithmetic functions */ + +typedef enum +{ + ADD, + SUB, + MUL, + DIV, + DIST, +} TArithmetic; + +/*****************************************************************************/ + +extern int tfloat_arithop_turnpt(Datum start1, Datum end1, Datum start2, + Datum end2, Datum param UNUSED, TimestampTz lower, TimestampTz upper, + TimestampTz *t1, TimestampTz *t2); + +extern Temporal *arithop_tnumber_number(const Temporal *temp, Datum value, + TArithmetic oper, Datum (*func)(Datum, Datum, MeosType), bool invert); +extern Temporal *arithop_tnumber_tnumber(const Temporal *temp1, + const Temporal *temp2, TArithmetic oper, + Datum (*func)(Datum, Datum, MeosType), tpfunc_temp tpfunc); + +/*****************************************************************************/ + +#endif diff --git a/jmeos-core/tools/parity/meos-ref/meos/include/temporal/tsequence.h b/jmeos-core/tools/parity/meos-ref/meos/include/temporal/tsequence.h new file mode 100644 index 00000000..e5a0942a --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/meos/include/temporal/tsequence.h @@ -0,0 +1,152 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @brief Basic functions for temporal sequences + */ + +#ifndef __TSEQUENCE_H__ +#define __TSEQUENCE_H__ + +/* PostgreSQL */ +#include +/* MEOS */ +#include +#include "temporal/meos_catalog.h" +#include "temporal/temporal.h" + +/*****************************************************************************/ + +/* Collinear function */ + +extern bool float_collinear(double x1, double x2, double x3, double ratio); + +/* Interpolation functions */ + +extern double floatsegm_interpolate(double value1, double value2, + long double value); +extern long double floatsegm_locate(double value1, double value2, + double value); + +extern int tnumbersegm_intersection(Datum start1, Datum end1, Datum start2, + Datum end2, MeosType basetype, TimestampTz lower, TimestampTz upper, + TimestampTz *t1, TimestampTz *t2); + +/* Normalization functions */ + +extern bool tsequence_norm_test(Datum value1, Datum value2, Datum value3, + MeosType basetype, interpType interp, TimestampTz t1, TimestampTz t2, + TimestampTz t3); +extern bool tsequence_join_test(const TSequence *seq1, const TSequence *seq2, + bool *removelast, bool *removefirst); +extern TSequence *tsequence_join(const TSequence *seq1, const TSequence *seq2, + bool removelast, bool removefirst); +extern TInstant **tinstarr_normalize(TInstant **instants, interpType interp, + int count, int *newcount); + +/* General functions */ + +extern int tcontseq_find_timestamptz(const TSequence *seq, TimestampTz t); +extern int tdiscseq_find_timestamptz(const TSequence *seq, TimestampTz t); +extern TSequence **tseqarr2_to_tseqarr(TSequence ***sequences, int *countseqs, + int count, int totalseqs); + +extern bool ensure_valid_tinstarr_common(TInstant **instants, int count, + bool lower_inc, bool upper_inc, interpType interp); +extern TSequence *tsequence_make_exp1(TInstant **instants, int count, + int maxcount, bool lower_inc, bool upper_inc, interpType interp, + bool normalize, void *bbox); + +/* Synchronization functions */ + +extern bool synchronize_tsequence_tsequence(const TSequence *seq1, + const TSequence *seq2, TSequence **sync1, TSequence **sync2, + bool interpoint); + +/* Intersection functions */ + +extern int tfloatsegm_intersection_value(Datum start, Datum end, Datum value, + TimestampTz lower, TimestampTz upper, TimestampTz *t); +extern int tsegment_intersection_value(Datum start, Datum end, Datum value, + MeosType temptype, TimestampTz lower, TimestampTz upper, TimestampTz *t1, + TimestampTz *t2); +extern int tsegment_intersection(Datum start1, Datum end1, Datum start2, + Datum end2, MeosType temptype, TimestampTz lower, TimestampTz upper, + TimestampTz *t1, TimestampTz *t2); +extern Datum tsegment_value_at_timestamptz(Datum start, Datum end, + MeosType temptype, TimestampTz lower, TimestampTz upper, TimestampTz t); + +extern bool intersection_tdiscseq_tdiscseq(const TSequence *seq1, + const TSequence *seq2, TSequence **inter1, TSequence **inter2); +extern bool intersection_tcontseq_tdiscseq(const TSequence *seq1, + const TSequence *seq2, TSequence **inter1, TSequence **inter2); +extern bool intersection_tdiscseq_tcontseq(const TSequence *is, + const TSequence *seq2, TSequence **inter1, TSequence **inter2); + +extern bool intersection_tsequence_tinstant(const TSequence *seq, + const TInstant *inst, TInstant **inter1, TInstant **inter2); +extern bool intersection_tinstant_tsequence(const TInstant *inst, + const TSequence *seq, TInstant **inter1, TInstant **inter2); + +/* Input/output functions */ + +extern char *tsequence_to_string(const TSequence *seq, int maxdd, + bool component, outfunc value_out); + +/* Constructor functions */ + +extern bool ensure_increasing_timestamps(const TInstant *inst1, + const TInstant *inst2, bool strict); +extern void bbox_expand(const void *box1, void *box2, MeosType temptype); +extern bool ensure_valid_tinstarr(TInstant **instants, int count, bool merge, + interpType interp); +extern bool tsequence_make_valid(TInstant **instants, int count, + bool lower_inc, bool upper_inc, interpType interp); + +/* Transformation functions */ + +extern void tnumberseq_shift_scale_value_iter(TSequence *seq, Datum origin, + Datum delta, bool hasdelta, double scale); +extern void tsequence_shift_scale_time_iter(TSequence *seq, TimestampTz delta, + double scale); +extern int tstepseq_to_linear_iter(const TSequence *seq, TSequence **result); +extern TSequenceSet *tstepseq_to_linear(const TSequence *seq); + +/* Accessor functions */ + +extern int tsequence_segments_iter(const TSequence *seq, TSequence **result); +extern int tsequence_timestamps_iter(const TSequence *seq, TimestampTz *result); + +/* Local Aggregate Functions */ + +extern double tnumberseq_cont_twavg(const TSequence *seq); + +/*****************************************************************************/ + +#endif diff --git a/jmeos-core/tools/parity/meos-ref/meos/include/temporal/tsequenceset.h b/jmeos-core/tools/parity/meos-ref/meos/include/temporal/tsequenceset.h new file mode 100644 index 00000000..30218e93 --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/meos/include/temporal/tsequenceset.h @@ -0,0 +1,87 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @brief Basic functions for temporal sequence sets. + */ + +#ifndef __TSEQUENCESET_H__ +#define __TSEQUENCESET_H__ + +/* PostgreSQL */ +#include +/* MEOS */ +#include +#include "temporal/temporal.h" + +/*****************************************************************************/ + +/* General functions */ + +extern bool tsequenceset_find_timestamptz(const TSequenceSet *ss, + TimestampTz t, int *loc); +extern TSequence **tseqarr_normalize(TSequence **sequences, int count, + int *newcount); +extern double datum_distance(Datum value1, Datum value2, MeosType basetype, + int16 flags); +extern int *ensure_valid_tinstarr_gaps(TInstant **instants, int count, + bool merge, double maxdist, const Interval *maxt, int *nsplits); +extern bool ensure_valid_tseqarr(TSequence **sequences, int count); + +/* Synchronize functions */ + +extern bool synchronize_tsequenceset_tsequence(const TSequenceSet *ss, + const TSequence *seq, SyncMode mode, + TSequenceSet **inter1, TSequenceSet **inter2); +extern bool synchronize_tsequenceset_tsequenceset(const TSequenceSet *ss1, + const TSequenceSet *ss2, SyncMode mode, + TSequenceSet **inter1, TSequenceSet **inter2); + +/* Intersection functions */ + +extern bool intersection_tsequenceset_tinstant(const TSequenceSet *ss, + const TInstant *inst, TInstant **inter1, TInstant **inter2); +extern bool intersection_tinstant_tsequenceset(const TInstant *inst, + const TSequenceSet *ss, TInstant **inter1, TInstant **inter2); +extern bool intersection_tsequenceset_tdiscseq(const TSequenceSet *ss, + const TSequence *is, TSequence **inter1, TSequence **inter2); +extern bool intersection_tdiscseq_tsequenceset(const TSequence *is, + const TSequenceSet *ss, TSequence **inter1, TSequence **inter2); +extern bool intersection_tsequence_tsequenceset(const TSequence *seq, + const TSequenceSet *ss, SyncMode mode, + TSequenceSet **inter1, TSequenceSet **inter2); + +/* Input/output functions */ + +extern char *tsequenceset_to_string(const TSequenceSet *ss, int maxdd, + outfunc value_out); + +/*****************************************************************************/ + +#endif diff --git a/jmeos-core/tools/parity/meos-ref/meos/include/temporal/ttext_funcs.h b/jmeos-core/tools/parity/meos-ref/meos/include/temporal/ttext_funcs.h new file mode 100644 index 00000000..ff14f39f --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/meos/include/temporal/ttext_funcs.h @@ -0,0 +1,59 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @brief Temporal text functions: `textcat`, `lower`, `upper`. + */ + +#ifndef __TTEXT_TEXTFUNCS_H__ +#define __TTEXT_TEXTFUNCS_H__ + +/* PostgreSQL */ +#include +/* PostgreSQL */ +#include +#include "temporal/temporal.h" + +/*****************************************************************************/ + +extern Datum datum_textcat(Datum l, Datum r); +extern Datum datum_lower(Datum value); +extern Datum datum_upper(Datum value); +extern Datum datum_initcap(Datum value); + +extern Temporal *textfunc_ttext(const Temporal *temp, + datum_func1 func); +extern Temporal *textfunc_ttext_text(const Temporal *temp, Datum value, + datum_func2 func, bool invert); +extern Temporal *textfunc_ttext_ttext(const Temporal *temp1, + const Temporal *temp2, datum_func2 func); + +/*****************************************************************************/ + +#endif diff --git a/jmeos-core/tools/parity/meos-ref/meos/include/temporal/type_inout.h b/jmeos-core/tools/parity/meos-ref/meos/include/temporal/type_inout.h new file mode 100644 index 00000000..fead624d --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/meos/include/temporal/type_inout.h @@ -0,0 +1,75 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @brief Basic routines for spans (a.k.a. ranges) composed of two `Datum` + * values and two Boolean values stating whether the bounds are inclusive. + */ + +#ifndef __TYPE_INOUT_H__ +#define __TYPE_INOUT_H__ + +/* PostgreSQL */ +#include +/* MEOS */ +#include "temporal/meos_catalog.h" + +/***************************************************************************** + * Definitions taken from the file liblwgeom_internal.h + *****************************************************************************/ + +/* Any (absolute) values outside this range will be printed in scientific + * notation */ +#define OUT_MIN_DOUBLE 1E-8 +#define OUT_MAX_DOUBLE 1E15 +#define OUT_DEFAULT_DECIMAL_DIGITS 15 + +/* 17 digits are sufficient for round-tripping + * Then we might add up to 8 (from OUT_MIN_DOUBLE) max leading zeroes (or + * 2 digits for "e+") */ +#define OUT_MAX_DIGITS 17 + 8 + +/* Limit for the max amount of characters that a double can use, including dot + * and sign */ +#define OUT_MAX_BYTES_DOUBLE (1 /* Sign */ + 2 /* 0.x */ + OUT_MAX_DIGITS) +#define OUT_DOUBLE_BUFFER_SIZE OUT_MAX_BYTES_DOUBLE + 1 /* +1 including NULL */ + +/*****************************************************************************/ + +extern uint8_t *datum_as_wkb(Datum value, MeosType type, uint8_t variant, + size_t *size_out); +extern char *datum_as_hexwkb(Datum value, MeosType type, uint8_t variant, + size_t *size); + +extern Datum type_from_wkb(const uint8_t *wkb, size_t size, MeosType type); +extern Datum type_from_hexwkb(const char *hexwkb, size_t size, MeosType type); + +/*****************************************************************************/ + +#endif /* __TYPE_INOUT_H__ */ diff --git a/jmeos-core/tools/parity/meos-ref/meos/include/temporal/type_parser.h b/jmeos-core/tools/parity/meos-ref/meos/include/temporal/type_parser.h new file mode 100644 index 00000000..60f79eba --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/meos/include/temporal/type_parser.h @@ -0,0 +1,77 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @brief Functions for parsing temporal types. + */ + +#ifndef __TYPE_PARSER_H__ +#define __TYPE_PARSER_H__ + +/* MEOS */ +#include +#include "temporal/meos_catalog.h" + +/*****************************************************************************/ + +extern bool ensure_end_input(const char **str, const char *type); +extern void p_whitespace(const char **str); +extern bool p_delimchar(const char **str, char delim); +extern bool p_obrace(const char **str); +extern bool ensure_obrace(const char **str, const char *type); +extern bool p_cbrace(const char **str); +extern bool ensure_cbrace(const char **str, const char *type); +extern bool p_obracket(const char **str); +extern bool p_cbracket(const char **str); +extern bool p_oparen(const char **str); +extern bool ensure_oparen(const char **str, const char *type); +extern bool p_cparen(const char **str); +extern bool ensure_cparen(const char **str, const char *type); +extern bool p_comma(const char **str); +extern bool basetype_parse(const char **str, MeosType basetypid, char delim, + Datum *result); +extern bool double_parse(const char **str, double *result); +extern bool elem_parse(const char **str, MeosType basetype, Datum *result); +extern Set *set_parse(const char **str, MeosType basetype); +extern bool span_parse(const char **str, MeosType spantype, bool end, + Span *span); +extern SpanSet *spanset_parse(const char **str, MeosType spantype); +extern TBox *tbox_parse(const char **str); +extern TimestampTz timestamp_parse(const char **str); +extern TInstant *tinstant_parse(const char **str, MeosType temptype, bool end); +extern TSequence *tdiscseq_parse(const char **str, MeosType temptype); +extern TSequence *tcontseq_parse(const char **str, MeosType temptype, + interpType interp, bool end); +extern TSequenceSet *tsequenceset_parse(const char **str, MeosType temptype, + interpType interp); +extern Temporal *temporal_parse(const char **str, MeosType temptype); + +/*****************************************************************************/ + +#endif /* __TYPE_PARSER_H__ */ diff --git a/jmeos-core/tools/parity/meos-ref/meos/include/temporal/type_util.h b/jmeos-core/tools/parity/meos-ref/meos/include/temporal/type_util.h new file mode 100644 index 00000000..0aaeb188 --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/meos/include/temporal/type_util.h @@ -0,0 +1,120 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @brief Miscellaneous utility functions for temporal types. + */ + +#ifndef __TYPE_UTIL_H__ +#define __TYPE_UTIL_H__ + +/* PostgreSQL */ +#include +/* MEOS */ +#include +#include +#include +#include "temporal/doublen.h" +#include "temporal/meos_catalog.h" + +/*****************************************************************************/ + +/** Symbolic constants for the *_to_arr() functions */ +#define FREE_ALL true +#define FREE false + +/*****************************************************************************/ + +/* Miscellaneous functions */ + +extern Datum datum_copy(Datum value, MeosType typid); +extern double datum_double(Datum d, MeosType type); +extern Datum double_datum(double d, MeosType type); +extern bytea *bstring2bytea(const uint8_t *wkb, size_t size); + +/* Input/output functions */ + +extern bool basetype_in(const char *str, MeosType type, bool end, Datum *result); +extern char *basetype_out(Datum value, MeosType type, int maxdd); + +/* Array functions */ + +extern void pfree_array(void **array, int count); +extern char *stringarr_to_string(char **strings, int count, size_t outlen, + char *prefix, char open, char close, bool quotes, bool spaces); + +/* Sort functions */ + +extern void datumarr_sort(Datum *values, int count, MeosType basetype); +extern void tstzarr_sort(TimestampTz *times, int count); +extern void spanarr_sort(Span *spans, int count); +extern void tinstarr_sort(TInstant **instants, int count); +extern void tseqarr_sort(TSequence **sequences, int count); + +/* Remove duplicate functions */ + +extern int datumarr_remove_duplicates(Datum *values, int count, + MeosType basetype); +extern int tstzarr_remove_duplicates(TimestampTz *values, int count); +extern int tinstarr_remove_duplicates(TInstant **instants, int count); + +/* Text functions */ + + +/* Arithmetic functions */ + +extern Datum datum_add(Datum l, Datum r, MeosType type); +extern Datum datum_sub(Datum l, Datum r, MeosType type); +extern Datum datum_mul(Datum l, Datum r, MeosType type); +extern Datum datum_div(Datum l, Datum r, MeosType type); + +/* Comparison functions on datums */ + +extern int datum_cmp(Datum l, Datum r, MeosType type); +extern bool datum_eq(Datum l, Datum r, MeosType type); +extern bool datum_ne(Datum l, Datum r, MeosType type); +extern bool datum_lt(Datum l, Datum r, MeosType type); +extern bool datum_le(Datum l, Datum r, MeosType type); +extern bool datum_gt(Datum l, Datum r, MeosType type); +extern bool datum_ge(Datum l, Datum r, MeosType type); + +extern Datum datum2_eq(Datum l, Datum r, MeosType type); +extern Datum datum2_ne(Datum l, Datum r, MeosType type); +extern Datum datum2_lt(Datum l, Datum r, MeosType type); +extern Datum datum2_le(Datum l, Datum r, MeosType type); +extern Datum datum2_gt(Datum l, Datum r, MeosType type); +extern Datum datum2_ge(Datum l, Datum r, MeosType type); + +/* Hypothenuse functions */ + +extern double hypot3d(double x, double y, double z); + +/*****************************************************************************/ + +#endif /* __TYPE_UTIL_H__ */ diff --git a/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/CMakeLists.txt b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/CMakeLists.txt new file mode 100644 index 00000000..3613ede0 --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/CMakeLists.txt @@ -0,0 +1,101 @@ +set(MOBILITYDB_MODULE_PATHNAME "$libdir/lib${MOBILITYDB_LIB_NAME}") +set(extschema "@extschema@") + +configure_file(mobilitydb.in.control ${CMAKE_BINARY_DIR}/mobilitydb.control) + +macro(process_file f srcdir bindir) + file(READ ${srcdir}/${f}.in.sql CURR_CONTENTS) + + if (${POSTGRESQL_VERSION_NUMBER} GREATER_EQUAL 130000) + string(REPLACE "#if POSTGRESQL_VERSION_NUMBER >= 130000" "-- if POSTGRESQL_VERSION_NUMBER >= 130000" CURR_CONTENTS "${CURR_CONTENTS}") + string(REPLACE "#endif //POSTGRESQL_VERSION_NUMBER >= 130000" "-- endif POSTGRESQL_VERSION_NUMBER >= 130000" CURR_CONTENTS "${CURR_CONTENTS}") + + string(REPLACE "#if POSTGRESQL_VERSION_NUMBER < 130000" "/* --if POSTGRESQL_VERSION_NUMBER < 130000" CURR_CONTENTS "${CURR_CONTENTS}") + string(REPLACE "#endif //POSTGRESQL_VERSION_NUMBER < 130000" "-- endif POSTGRESQL_VERSION_NUMBER < 130000 */" CURR_CONTENTS "${CURR_CONTENTS}") + else() + string(REPLACE "#if POSTGRESQL_VERSION_NUMBER >= 130000" "/* -- if POSTGRESQL_VERSION_NUMBER >= 130000" CURR_CONTENTS "${CURR_CONTENTS}") + string(REPLACE "#endif //POSTGRESQL_VERSION_NUMBER >= 130000" "-- endif POSTGRESQL_VERSION_NUMBER >= 130000 */" CURR_CONTENTS "${CURR_CONTENTS}") + + string(REPLACE "#if POSTGRESQL_VERSION_NUMBER < 130000" " -- if POSTGRESQL_VERSION_NUMBER >= 130000" CURR_CONTENTS "${CURR_CONTENTS}") + string(REPLACE "#endif //POSTGRESQL_VERSION_NUMBER < 130000" "-- endif POSTGRESQL_VERSION_NUMBER >= 130000" CURR_CONTENTS "${CURR_CONTENTS}") + endif() + + if (${POSTGRESQL_VERSION_NUMBER} GREATER_EQUAL 140000) + string(REPLACE "#if POSTGRESQL_VERSION_NUMBER >= 140000" "-- if POSTGRESQL_VERSION_NUMBER >= 140000" CURR_CONTENTS "${CURR_CONTENTS}") + string(REPLACE "#endif //POSTGRESQL_VERSION_NUMBER >= 140000" "-- endif POSTGRESQL_VERSION_NUMBER >= 140000" CURR_CONTENTS "${CURR_CONTENTS}") + + string(REPLACE "#if POSTGRESQL_VERSION_NUMBER < 140000" "/* --if POSTGRESQL_VERSION_NUMBER < 140000" CURR_CONTENTS "${CURR_CONTENTS}") + string(REPLACE "#endif //POSTGRESQL_VERSION_NUMBER < 140000" "-- endif POSTGRESQL_VERSION_NUMBER < 140000 */" CURR_CONTENTS "${CURR_CONTENTS}") + else() + string(REPLACE "#if POSTGRESQL_VERSION_NUMBER >= 140000" "/* -- if POSTGRESQL_VERSION_NUMBER >= 140000" CURR_CONTENTS "${CURR_CONTENTS}") + string(REPLACE "#endif //POSTGRESQL_VERSION_NUMBER >= 140000" "-- endif POSTGRESQL_VERSION_NUMBER >= 140000 */" CURR_CONTENTS "${CURR_CONTENTS}") + + string(REPLACE "#if POSTGRESQL_VERSION_NUMBER < 140000" " -- if POSTGRESQL_VERSION_NUMBER >= 140000" CURR_CONTENTS "${CURR_CONTENTS}") + string(REPLACE "#endif //POSTGRESQL_VERSION_NUMBER < 140000" "-- endif POSTGRESQL_VERSION_NUMBER >= 140000" CURR_CONTENTS "${CURR_CONTENTS}") + endif() + + if (${POSTGRESQL_VERSION_NUMBER} GREATER_EQUAL 160000) + string(REPLACE "#if POSTGRESQL_VERSION_NUMBER >= 160000" "-- if POSTGRESQL_VERSION_NUMBER >= 160000" CURR_CONTENTS "${CURR_CONTENTS}") + string(REPLACE "#endif //POSTGRESQL_VERSION_NUMBER >= 160000" "-- endif POSTGRESQL_VERSION_NUMBER >= 160000" CURR_CONTENTS "${CURR_CONTENTS}") + + string(REPLACE "#if POSTGRESQL_VERSION_NUMBER < 160000" "/* --if POSTGRESQL_VERSION_NUMBER < 160000" CURR_CONTENTS "${CURR_CONTENTS}") + string(REPLACE "#endif //POSTGRESQL_VERSION_NUMBER < 160000" "-- endif POSTGRESQL_VERSION_NUMBER < 160000 */" CURR_CONTENTS "${CURR_CONTENTS}") + else() + string(REPLACE "#if POSTGRESQL_VERSION_NUMBER >= 160000" "/* -- if POSTGRESQL_VERSION_NUMBER >= 160000" CURR_CONTENTS "${CURR_CONTENTS}") + string(REPLACE "#endif //POSTGRESQL_VERSION_NUMBER >= 160000" "-- endif POSTGRESQL_VERSION_NUMBER >= 160000 */" CURR_CONTENTS "${CURR_CONTENTS}") + + string(REPLACE "#if POSTGRESQL_VERSION_NUMBER < 160000" " -- if POSTGRESQL_VERSION_NUMBER >= 160000" CURR_CONTENTS "${CURR_CONTENTS}") + string(REPLACE "#endif //POSTGRESQL_VERSION_NUMBER < 160000" "-- endif POSTGRESQL_VERSION_NUMBER >= 160000" CURR_CONTENTS "${CURR_CONTENTS}") + endif() + + file(WRITE ${bindir}/${f}.sql.in "${CURR_CONTENTS}") +endmacro() + +add_subdirectory(temporal) +add_subdirectory(geo) +if(CBUFFER) + add_subdirectory(cbuffer) +endif() +if(NPOINT) + add_subdirectory(npoint) +endif() +if(POSE) + add_subdirectory(pose) +endif() +if(RGEO) + add_subdirectory(rgeo) +endif() + +list(SORT PROJECT_SQL_FILES) + +add_custom_target(all_sql_files ALL + DEPENDS ${PROJECT_SQL_FILES}) + +if (PROJECT_VERBOSE) + message(STATUS "PROJECT_SQL_FILES=${PROJECT_SQL_FILES}") +endif() + +# Truncate first: without this, re-running cmake on an existing build +# directory keeps appending to the previous pass's file, duplicating every +# CREATE FUNCTION / TYPE / OPERATOR and making `CREATE EXTENSION mobilitydb` +# fail with 'already exists' errors on subsequent reconfigures. +file(WRITE ${CMAKE_CURRENT_BINARY_DIR}/${MOBILITYDB_EXTENSION_FILE}.in "") +foreach (f ${PROJECT_SQL_FILES}) + file(READ ${f} CURR_CONTENTS) + file(APPEND ${CMAKE_CURRENT_BINARY_DIR}/${MOBILITYDB_EXTENSION_FILE}.in "${CURR_CONTENTS}") +endforeach() + +configure_file(${CMAKE_CURRENT_BINARY_DIR}/${MOBILITYDB_EXTENSION_FILE}.in ${CMAKE_BINARY_DIR}/${MOBILITYDB_EXTENSION_FILE} COPYONLY) + +# Set the library name extension according to the platform +if(WIN32) + set(LIB_NAME_EXT ".dll") +else() + set(LIB_NAME_EXT ".so") +endif() +message(STATUS "Library name extension: '${LIB_NAME_EXT}'") + +file(READ "${CMAKE_BINARY_DIR}/${MOBILITYDB_EXTENSION_FILE}" sql_commands) +string(REPLACE "MODULE_PATHNAME" "${CMAKE_BINARY_DIR}/lib${MOBILITYDB_LIB_NAME}${LIB_NAME_EXT}" sql_commands "${sql_commands}") +message(STATUS "Substitution: ${CMAKE_BINARY_DIR}/lib${MOBILITYDB_LIB_NAME}${LIB_NAME_EXT}") +string(REPLACE "@extschema@" "public" sql_commands "${sql_commands}") diff --git a/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/cbuffer/150_cbuffer.in.sql b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/cbuffer/150_cbuffer.in.sql new file mode 100644 index 00000000..45933810 --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/cbuffer/150_cbuffer.in.sql @@ -0,0 +1,313 @@ + + +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @file cbuffer.sql + * @brief Static circular buffer type + */ + +CREATE TYPE cbuffer; + +/****************************************************************************** + * Input/Output + ******************************************************************************/ + +CREATE FUNCTION cbuffer_in(cstring) + RETURNS cbuffer + AS 'MODULE_PATHNAME', 'Cbuffer_in' + LANGUAGE C IMMUTABLE STRICT; + +CREATE FUNCTION cbuffer_out(cbuffer) + RETURNS cstring + AS 'MODULE_PATHNAME', 'Cbuffer_out' + LANGUAGE C IMMUTABLE STRICT; + +CREATE FUNCTION cbuffer_recv(internal) + RETURNS cbuffer + AS 'MODULE_PATHNAME', 'Cbuffer_recv' + LANGUAGE C IMMUTABLE STRICT; + +CREATE FUNCTION cbuffer_send(cbuffer) + RETURNS bytea + AS 'MODULE_PATHNAME', 'Cbuffer_send' + LANGUAGE C IMMUTABLE STRICT; + +CREATE TYPE cbuffer ( + internallength = variable, + input = cbuffer_in, + output = cbuffer_out, + receive = cbuffer_recv, + send = cbuffer_send, + storage = plain, + alignment = double +); + +-- Input/output in WKT, WKB and HexWKB representation + +CREATE FUNCTION asText(cbuffer, maxdecimaldigits int4 DEFAULT 15) + RETURNS text + AS 'MODULE_PATHNAME', 'Cbuffer_as_text' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION asText(cbuffer[], maxdecimaldigits int4 DEFAULT 15) + RETURNS text[] + AS 'MODULE_PATHNAME', 'Spatialarr_as_text' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION asEWKT(cbuffer, maxdecimaldigits int4 DEFAULT 15) + RETURNS text + AS 'MODULE_PATHNAME', 'Cbuffer_as_ewkt' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION asEWKT(cbuffer[], maxdecimaldigits int4 DEFAULT 15) + RETURNS text[] + AS 'MODULE_PATHNAME', 'Spatialarr_as_ewkt' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/****************************************************************************** + * Constructors + ******************************************************************************/ + +CREATE FUNCTION cbuffer(geometry, double precision) + RETURNS cbuffer + AS 'MODULE_PATHNAME', 'Cbuffer_constructor' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/***************************************************************************** + * Conversion functions + *****************************************************************************/ + +CREATE FUNCTION geometry(cbuffer) + RETURNS geometry + AS 'MODULE_PATHNAME', 'Cbuffer_to_geom' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION cbuffer(geometry) + RETURNS cbuffer + AS 'MODULE_PATHNAME', 'Geom_to_cbuffer' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE CAST (cbuffer AS geometry) WITH FUNCTION geometry(cbuffer); +CREATE CAST (geometry AS cbuffer) WITH FUNCTION cbuffer(geometry); + +/***************************************************************************** + * Accessor functions + *****************************************************************************/ + +CREATE FUNCTION point(cbuffer) + RETURNS geometry + AS 'MODULE_PATHNAME', 'Cbuffer_point' + LANGUAGE C IMMUTABLE STRICT; + +CREATE FUNCTION radius(cbuffer) + RETURNS float + AS 'MODULE_PATHNAME', 'Cbuffer_radius' + LANGUAGE C IMMUTABLE STRICT; + +/***************************************************************************** + * Transformation functions + *****************************************************************************/ + +CREATE FUNCTION round(cbuffer, integer DEFAULT 0) + RETURNS cbuffer + AS 'MODULE_PATHNAME', 'Cbuffer_round' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/***************************************************************************** + * SRID functions + *****************************************************************************/ + +CREATE FUNCTION SRID(cbuffer) + RETURNS integer + AS 'MODULE_PATHNAME', 'Cbuffer_srid' + LANGUAGE C IMMUTABLE STRICT; + +CREATE FUNCTION setSRID(cbuffer, integer) + RETURNS cbuffer + AS 'MODULE_PATHNAME', 'Cbuffer_set_srid' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION transform(cbuffer, integer) + RETURNS cbuffer + AS 'MODULE_PATHNAME', 'Cbuffer_transform' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION transformPipeline(cbuffer, text, srid integer DEFAULT 0, + is_forward boolean DEFAULT true) + RETURNS cbuffer + AS 'MODULE_PATHNAME', 'Cbuffer_transform_pipeline' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/***************************************************************************** + * Spatial relationships + *****************************************************************************/ + +CREATE FUNCTION cbuffer_contains(cbuffer, cbuffer) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Cbuffer_contains' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION cbuffer_covers(cbuffer, cbuffer) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Cbuffer_covers' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION cbuffer_disjoint(cbuffer, cbuffer) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Cbuffer_disjoint' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION cbuffer_intersects(cbuffer, cbuffer) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Cbuffer_intersects' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION cbuffer_touches(cbuffer, cbuffer) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Cbuffer_touches' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION cbuffer_dwithin(cbuffer, cbuffer, float) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Cbuffer_dwithin' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/***************************************************************************** + * Same + *****************************************************************************/ + +CREATE FUNCTION cbuffer_same(cbuffer, cbuffer) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Cbuffer_same' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR ~= ( + PROCEDURE = cbuffer_same, + LEFTARG = cbuffer, RIGHTARG = cbuffer, + COMMUTATOR = ~=, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +/****************************************************************************** + * Comparisons + ******************************************************************************/ + +CREATE FUNCTION cbuffer_eq(cbuffer, cbuffer) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Cbuffer_eq' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION cbuffer_ne(cbuffer, cbuffer) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Cbuffer_ne' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION cbuffer_lt(cbuffer, cbuffer) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Cbuffer_lt' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION cbuffer_le(cbuffer, cbuffer) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Cbuffer_le' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION cbuffer_ge(cbuffer, cbuffer) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Cbuffer_ge' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION cbuffer_gt(cbuffer, cbuffer) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Cbuffer_gt' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION cbuffer_cmp(cbuffer, cbuffer) + RETURNS int4 + AS 'MODULE_PATHNAME', 'Cbuffer_cmp' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR = ( + PROCEDURE = cbuffer_eq, + LEFTARG = cbuffer, RIGHTARG = cbuffer, + COMMUTATOR = =, NEGATOR = <>, + RESTRICT = eqsel, JOIN = eqjoinsel +); +CREATE OPERATOR <> ( + PROCEDURE = cbuffer_ne, + LEFTARG = cbuffer, RIGHTARG = cbuffer, + COMMUTATOR = <>, NEGATOR = =, + RESTRICT = neqsel, JOIN = neqjoinsel +); +CREATE OPERATOR < ( + PROCEDURE = cbuffer_lt, + LEFTARG = cbuffer, RIGHTARG = cbuffer, + COMMUTATOR = >, NEGATOR = >=, + RESTRICT = scalarltsel, JOIN = scalarltjoinsel +); +CREATE OPERATOR <= ( + PROCEDURE = cbuffer_le, + LEFTARG = cbuffer, RIGHTARG = cbuffer, + COMMUTATOR = >=, NEGATOR = >, + RESTRICT = scalarlesel, JOIN = scalarlejoinsel +); +CREATE OPERATOR >= ( + PROCEDURE = cbuffer_ge, + LEFTARG = cbuffer, RIGHTARG = cbuffer, + COMMUTATOR = <=, NEGATOR = <, + RESTRICT = scalargesel, JOIN = scalargejoinsel +); +CREATE OPERATOR > ( + PROCEDURE = cbuffer_gt, + LEFTARG = cbuffer, RIGHTARG = cbuffer, + COMMUTATOR = <, NEGATOR = <=, + RESTRICT = scalargtsel, JOIN = scalargtjoinsel +); + +CREATE OPERATOR CLASS cbuffer_btree_ops + DEFAULT FOR TYPE cbuffer USING btree AS + OPERATOR 1 < , + OPERATOR 2 <= , + OPERATOR 3 = , + OPERATOR 4 >= , + OPERATOR 5 > , + FUNCTION 1 cbuffer_cmp(cbuffer, cbuffer); + +/******************************************************************************/ + +CREATE FUNCTION cbuffer_hash(cbuffer) + RETURNS integer + AS 'MODULE_PATHNAME', 'Cbuffer_hash' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION cbuffer_hash_extended(cbuffer, bigint) + RETURNS bigint + AS 'MODULE_PATHNAME', 'Cbuffer_hash_extended' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR CLASS cbuffer_hash_ops + DEFAULT FOR TYPE cbuffer USING hash AS + OPERATOR 1 = , + FUNCTION 1 cbuffer_hash(cbuffer), + FUNCTION 2 cbuffer_hash_extended(cbuffer, bigint); + +/******************************************************************************/ diff --git a/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/cbuffer/151_cbufferset.in.sql b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/cbuffer/151_cbufferset.in.sql new file mode 100644 index 00000000..a5cd44b4 --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/cbuffer/151_cbufferset.in.sql @@ -0,0 +1,514 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @file + * @brief Functions for set of poses + */ + +/****************************************************************************** + * Input/Output + ******************************************************************************/ + +CREATE TYPE cbufferset; + +CREATE FUNCTION cbufferset_in(cstring) + RETURNS cbufferset + AS 'MODULE_PATHNAME', 'Set_in' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION cbufferset_out(cbufferset) + RETURNS cstring + AS 'MODULE_PATHNAME', 'Set_out' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION cbufferset_recv(internal) + RETURNS cbufferset + AS 'MODULE_PATHNAME', 'Set_recv' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION cbufferset_send(cbufferset) + RETURNS bytea + AS 'MODULE_PATHNAME', 'Set_send' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE TYPE cbufferset ( + internallength = variable, + input = cbufferset_in, + output = cbufferset_out, + receive = cbufferset_recv, + send = cbufferset_send, + alignment = double, + storage = extended + -- , analyze = geoset_analyze +); + +/******************************************************************************/ + +-- Input/output in WKB and HexWKB representation + +CREATE FUNCTION cbuffersetFromBinary(bytea) + RETURNS cbufferset + AS 'MODULE_PATHNAME', 'Set_from_wkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION cbuffersetFromHexWKB(text) + RETURNS cbufferset + AS 'MODULE_PATHNAME', 'Set_from_hexwkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION asBinary(cbufferset, endianenconding text DEFAULT '') + RETURNS bytea + AS 'MODULE_PATHNAME', 'Set_as_wkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION asHexWKB(cbufferset, endianenconding text DEFAULT '') + RETURNS text + AS 'MODULE_PATHNAME', 'Set_as_hexwkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION asText(cbufferset, maxdecimaldigits int4 DEFAULT 15) + RETURNS text + AS 'MODULE_PATHNAME', 'Spatialset_as_text' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION asEWKT(cbufferset, maxdecimaldigits int4 DEFAULT 15) + RETURNS text + AS 'MODULE_PATHNAME', 'Spatialset_as_ewkt' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/****************************************************************************** + * Constructors + ******************************************************************************/ + +CREATE FUNCTION set(cbuffer[]) + RETURNS cbufferset + AS 'MODULE_PATHNAME', 'Set_constructor' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/****************************************************************************** + * Conversion functions + ******************************************************************************/ + +CREATE FUNCTION set(cbuffer) + RETURNS cbufferset + AS 'MODULE_PATHNAME', 'Value_to_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE CAST (cbuffer AS cbufferset) WITH FUNCTION set(cbuffer); + +CREATE FUNCTION stbox(cbufferset) + RETURNS stbox + AS 'MODULE_PATHNAME', 'Spatialset_to_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE CAST (cbufferset AS stbox) WITH FUNCTION stbox(cbufferset); + +/***************************************************************************** + * Transformation functions + *****************************************************************************/ + +CREATE FUNCTION round(cbufferset, integer DEFAULT 0) + RETURNS cbufferset + AS 'MODULE_PATHNAME', 'Set_round' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/****************************************************************************** + * Accessor functions + ******************************************************************************/ + +CREATE FUNCTION memSize(cbufferset) + RETURNS integer + AS 'MODULE_PATHNAME', 'Set_mem_size' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION numValues(cbufferset) + RETURNS integer + AS 'MODULE_PATHNAME', 'Set_num_values' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION startValue(cbufferset) + RETURNS cbuffer + AS 'MODULE_PATHNAME', 'Set_start_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION endValue(cbufferset) + RETURNS cbuffer + AS 'MODULE_PATHNAME', 'Set_end_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION valueN(cbufferset, integer) + RETURNS cbuffer + AS 'MODULE_PATHNAME', 'Set_value_n' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION getValues(cbufferset) + RETURNS cbuffer[] + AS 'MODULE_PATHNAME', 'Set_values' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/****************************************************************************** + * SRID + ******************************************************************************/ + +CREATE FUNCTION SRID(cbufferset) + RETURNS integer + AS 'MODULE_PATHNAME', 'Spatialset_srid' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION setSRID(cbufferset, integer) + RETURNS cbufferset + AS 'MODULE_PATHNAME', 'Spatialset_set_srid' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION transform(cbufferset, integer) + RETURNS cbufferset + AS 'MODULE_PATHNAME', 'Spatialset_transform' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION transformPipeline(cbufferset, text, srid integer DEFAULT 0, + is_forward boolean DEFAULT true) + RETURNS cbufferset + AS 'MODULE_PATHNAME', 'Spatialset_transform_pipeline' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/****************************************************************************** + * Transformation set of values <-> set + ******************************************************************************/ + +CREATE FUNCTION unnest(cbufferset) + RETURNS SETOF cbuffer + AS 'MODULE_PATHNAME', 'Set_unnest' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/*****************************************************************************/ + +-- The function is not STRICT +CREATE FUNCTION set_union_transfn(internal, cbuffer) + RETURNS internal + AS 'MODULE_PATHNAME', 'Value_union_transfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION set_union_transfn(internal, cbufferset) + RETURNS internal + AS 'MODULE_PATHNAME', 'Set_union_transfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION cbufferset_union_finalfn(internal) + RETURNS cbufferset + AS 'MODULE_PATHNAME', 'Set_union_finalfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; + +CREATE AGGREGATE setUnion(cbuffer) ( + SFUNC = set_union_transfn, + STYPE = internal, + FINALFUNC = cbufferset_union_finalfn +); +CREATE AGGREGATE setUnion(cbufferset) ( + SFUNC = set_union_transfn, + STYPE = internal, + FINALFUNC = cbufferset_union_finalfn +); + +/****************************************************************************** + * Comparison functions and B-tree indexing + ******************************************************************************/ + +CREATE FUNCTION set_eq(cbufferset, cbufferset) + RETURNS bool + AS 'MODULE_PATHNAME', 'Set_eq' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_ne(cbufferset, cbufferset) + RETURNS bool + AS 'MODULE_PATHNAME', 'Set_ne' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_lt(cbufferset, cbufferset) + RETURNS bool + AS 'MODULE_PATHNAME', 'Set_lt' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_le(cbufferset, cbufferset) + RETURNS bool + AS 'MODULE_PATHNAME', 'Set_le' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_ge(cbufferset, cbufferset) + RETURNS bool + AS 'MODULE_PATHNAME', 'Set_ge' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_gt(cbufferset, cbufferset) + RETURNS bool + AS 'MODULE_PATHNAME', 'Set_gt' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_cmp(cbufferset, cbufferset) + RETURNS integer + AS 'MODULE_PATHNAME', 'Set_cmp' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR = ( + LEFTARG = cbufferset, RIGHTARG = cbufferset, + PROCEDURE = set_eq, + COMMUTATOR = =, NEGATOR = <>, + RESTRICT = eqsel, JOIN = eqjoinsel +); +CREATE OPERATOR <> ( + LEFTARG = cbufferset, RIGHTARG = cbufferset, + PROCEDURE = set_ne, + COMMUTATOR = <>, NEGATOR = =, + RESTRICT = neqsel, JOIN = neqjoinsel +); +CREATE OPERATOR < ( + LEFTARG = cbufferset, RIGHTARG = cbufferset, + PROCEDURE = set_lt, + COMMUTATOR = >, NEGATOR = >= + -- RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR <= ( + LEFTARG = cbufferset, RIGHTARG = cbufferset, + PROCEDURE = set_le, + COMMUTATOR = >=, NEGATOR = > + -- RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR >= ( + LEFTARG = cbufferset, RIGHTARG = cbufferset, + PROCEDURE = set_ge, + COMMUTATOR = <=, NEGATOR = < + -- RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR > ( + LEFTARG = cbufferset, RIGHTARG = cbufferset, + PROCEDURE = set_gt, + COMMUTATOR = <, NEGATOR = <= + -- RESTRICT = span_sel, JOIN = span_joinsel +); + +CREATE OPERATOR CLASS cbufferset_btree_ops + DEFAULT FOR TYPE cbufferset USING btree AS + OPERATOR 1 <, + OPERATOR 2 <=, + OPERATOR 3 =, + OPERATOR 4 >=, + OPERATOR 5 >, + FUNCTION 1 set_cmp(cbufferset, cbufferset); + +/******************************************************************************/ + +CREATE FUNCTION set_hash(cbufferset) + RETURNS integer + AS 'MODULE_PATHNAME', 'Set_hash' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_hash_extended(cbufferset, bigint) + RETURNS bigint + AS 'MODULE_PATHNAME', 'Set_hash_extended' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR CLASS cbufferset_hash_ops + DEFAULT FOR TYPE cbufferset USING hash AS + OPERATOR 1 = , + FUNCTION 1 set_hash(cbufferset), + FUNCTION 2 set_hash_extended(cbufferset, bigint); + +/****************************************************************************** + * Operators + ******************************************************************************/ + +CREATE FUNCTION set_contains(cbufferset, cbuffer) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contains_set_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_contains(cbufferset, cbufferset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contains_set_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR @> ( + PROCEDURE = set_contains, + LEFTARG = cbufferset, RIGHTARG = cbuffer, + COMMUTATOR = <@ + -- RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR @> ( + PROCEDURE = set_contains, + LEFTARG = cbufferset, RIGHTARG = cbufferset, + COMMUTATOR = <@ + -- RESTRICT = span_sel, JOIN = span_joinsel +); + +/******************************************************************************/ + +CREATE FUNCTION set_contained(cbuffer, cbufferset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contained_value_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_contained(cbufferset, cbufferset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contained_set_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR <@ ( + PROCEDURE = set_contained, + LEFTARG = cbuffer, RIGHTARG = cbufferset, + COMMUTATOR = @> + -- RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR <@ ( + PROCEDURE = set_contained, + LEFTARG = cbufferset, RIGHTARG = cbufferset, + COMMUTATOR = @> + -- RESTRICT = span_sel, JOIN = span_joinsel +); + +/******************************************************************************/ + +CREATE FUNCTION set_overlaps(cbufferset, cbufferset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overlaps_set_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR && ( + PROCEDURE = set_overlaps, + LEFTARG = cbufferset, RIGHTARG = cbufferset, + COMMUTATOR = && + -- RESTRICT = span_sel, JOIN = span_joinsel +); + +/*****************************************************************************/ + +CREATE FUNCTION set_union(cbuffer, cbufferset) + RETURNS cbufferset + AS 'MODULE_PATHNAME', 'Union_value_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_union(cbufferset, cbuffer) + RETURNS cbufferset + AS 'MODULE_PATHNAME', 'Union_set_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_union(cbufferset, cbufferset) + RETURNS cbufferset + AS 'MODULE_PATHNAME', 'Union_set_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR + ( + PROCEDURE = set_union, + LEFTARG = cbuffer, RIGHTARG = cbufferset, + COMMUTATOR = + +); +CREATE OPERATOR + ( + PROCEDURE = set_union, + LEFTARG = cbufferset, RIGHTARG = cbuffer, + COMMUTATOR = + +); +CREATE OPERATOR + ( + PROCEDURE = set_union, + LEFTARG = cbufferset, RIGHTARG = cbufferset, + COMMUTATOR = + +); + +/*****************************************************************************/ + +CREATE FUNCTION set_minus(cbuffer, cbufferset) + RETURNS cbuffer + AS 'MODULE_PATHNAME', 'Minus_value_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_minus(cbufferset, cbuffer) + RETURNS cbufferset + AS 'MODULE_PATHNAME', 'Minus_set_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_minus(cbufferset, cbufferset) + RETURNS cbufferset + AS 'MODULE_PATHNAME', 'Minus_set_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR - ( + PROCEDURE = set_minus, + LEFTARG = cbuffer, RIGHTARG = cbufferset +); +CREATE OPERATOR - ( + PROCEDURE = set_minus, + LEFTARG = cbufferset, RIGHTARG = cbuffer +); +CREATE OPERATOR - ( + PROCEDURE = set_minus, + LEFTARG = cbufferset, RIGHTARG = cbufferset +); + +/*****************************************************************************/ + +CREATE FUNCTION set_intersection(cbuffer, cbufferset) + RETURNS cbuffer + AS 'MODULE_PATHNAME', 'Intersection_value_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_intersection(cbufferset, cbuffer) + RETURNS cbuffer + AS 'MODULE_PATHNAME', 'Intersection_set_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_intersection(cbufferset, cbufferset) + RETURNS cbufferset + AS 'MODULE_PATHNAME', 'Intersection_set_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR * ( + PROCEDURE = set_intersection, + LEFTARG = cbuffer, RIGHTARG = cbufferset, + COMMUTATOR = * +); +CREATE OPERATOR * ( + PROCEDURE = set_intersection, + LEFTARG = cbufferset, RIGHTARG = cbuffer, + COMMUTATOR = * +); +CREATE OPERATOR * ( + PROCEDURE = set_intersection, + LEFTARG = cbufferset, RIGHTARG = cbufferset, + COMMUTATOR = * +); + +/*****************************************************************************/ + +CREATE FUNCTION set_distance(cbuffer, cbufferset) + RETURNS float + AS 'MODULE_PATHNAME', 'Distance_value_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_distance(cbufferset, cbuffer) + RETURNS float + AS 'MODULE_PATHNAME', 'Distance_set_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_distance(cbufferset, cbufferset) + RETURNS float + AS 'MODULE_PATHNAME', 'Distance_set_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR <-> ( + PROCEDURE = set_distance, + LEFTARG = cbuffer, RIGHTARG = cbufferset, + COMMUTATOR = <-> +); +CREATE OPERATOR <-> ( + PROCEDURE = set_distance, + LEFTARG = cbufferset, RIGHTARG = cbuffer, + COMMUTATOR = <-> +); +CREATE OPERATOR <-> ( + PROCEDURE = set_distance, + LEFTARG = cbufferset, RIGHTARG = cbufferset, + COMMUTATOR = <-> +); + +/*****************************************************************************/ diff --git a/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/cbuffer/152_tcbuffer.in.sql b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/cbuffer/152_tcbuffer.in.sql new file mode 100644 index 00000000..eb2bb753 --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/cbuffer/152_tcbuffer.in.sql @@ -0,0 +1,715 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @file + * @brief Basic functions for temporal circular buffers + */ + +CREATE TYPE tcbuffer; + +/***************************************************************************** + * Input/Output + *****************************************************************************/ + +CREATE FUNCTION tcbuffer_in(cstring, oid, integer) + RETURNS tcbuffer + AS 'MODULE_PATHNAME', 'Tcbuffer_in' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION Temporal_out(tcbuffer) + RETURNS cstring + AS 'MODULE_PATHNAME', 'Temporal_out' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tcbuffer_recv(internal, oid, integer) + RETURNS tcbuffer + AS 'MODULE_PATHNAME', 'Temporal_recv' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_send(tcbuffer) + RETURNS bytea + AS 'MODULE_PATHNAME', 'Temporal_send' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION tcbuffer_typmod_in(cstring[]) + RETURNS integer + AS 'MODULE_PATHNAME', 'Tcbuffer_typmod_in' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE TYPE tcbuffer ( + internallength = variable, + input = tcbuffer_in, + output = temporal_out, + receive = tcbuffer_recv, + send = temporal_send, + typmod_in = tcbuffer_typmod_in, + typmod_out = tspatial_typmod_out, + storage = extended, + alignment = double, + analyze = tspatial_analyze +); + +-- Special cast for enforcing the typmod restrictions +CREATE FUNCTION tcbuffer(tcbuffer, integer) + RETURNS tcbuffer + AS 'MODULE_PATHNAME','Tcbuffer_enforce_typmod' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE CAST (tcbuffer AS tcbuffer) WITH FUNCTION tcbuffer(tcbuffer, integer) AS IMPLICIT; + +/***************************************************************************** + * Input/output from (E)WKT, (E)WKB, HexEWKB, and MFJSON representation + *****************************************************************************/ + +CREATE FUNCTION tcbufferFromText(text) + RETURNS tcbuffer + AS 'MODULE_PATHNAME', 'Tspatial_from_ewkt' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION tcbufferFromEWKT(text) + RETURNS tcbuffer + AS 'MODULE_PATHNAME', 'Tspatial_from_ewkt' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION tcbufferFromBinary(bytea) + RETURNS tcbuffer + AS 'MODULE_PATHNAME', 'Temporal_from_wkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION tcbufferFromEWKB(bytea) + RETURNS tcbuffer + AS 'MODULE_PATHNAME', 'Temporal_from_wkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION tcbufferFromHexEWKB(text) + RETURNS tcbuffer + AS 'MODULE_PATHNAME', 'Temporal_from_hexwkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/*****************************************************************************/ + +CREATE FUNCTION asText(tcbuffer, maxdecimaldigits int4 DEFAULT 15) + RETURNS text + AS 'MODULE_PATHNAME', 'Tspatial_as_text' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION asText(tcbuffer[], maxdecimaldigits int4 DEFAULT 15) + RETURNS text[] + AS 'MODULE_PATHNAME', 'Spatialarr_as_text' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION asEWKT(tcbuffer, maxdecimaldigits int4 DEFAULT 15) + RETURNS text + AS 'MODULE_PATHNAME', 'Tspatial_as_ewkt' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION asEWKT(tcbuffer[], maxdecimaldigits int4 DEFAULT 15) + RETURNS text[] + AS 'MODULE_PATHNAME', 'Spatialarr_as_ewkt' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION asBinary(tcbuffer, endianenconding text DEFAULT '') + RETURNS bytea + AS 'MODULE_PATHNAME', 'Temporal_as_wkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION asEWKB(tcbuffer, endianenconding text DEFAULT '') + RETURNS bytea + AS 'MODULE_PATHNAME', 'Tspatial_as_ewkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION asHexEWKB(tcbuffer, endianenconding text DEFAULT '') + RETURNS text + AS 'MODULE_PATHNAME', 'Temporal_as_hexwkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/***************************************************************************** + * Constructors + *****************************************************************************/ + +CREATE FUNCTION tcbuffer(cbuffer, timestamptz) + RETURNS tcbuffer + AS 'MODULE_PATHNAME', 'Tinstant_constructor' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION tcbuffer(cbuffer, tstzset) + RETURNS tcbuffer + AS 'MODULE_PATHNAME', 'Tsequence_from_base_tstzset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION tcbuffer(cbuffer, tstzspan, text DEFAULT 'linear') + RETURNS tcbuffer + AS 'MODULE_PATHNAME', 'Tsequence_from_base_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION tcbuffer(cbuffer, tstzspanset, text DEFAULT 'linear') + RETURNS tcbuffer + AS 'MODULE_PATHNAME', 'Tsequenceset_from_base_tstzspanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/*****************************************************************************/ + +CREATE FUNCTION tcbufferSeq(tcbuffer[], text DEFAULT 'linear', + lower_inc boolean DEFAULT true, upper_inc boolean DEFAULT true) + RETURNS tcbuffer + AS 'MODULE_PATHNAME', 'Tsequence_constructor' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION tcbufferSeqSet(tcbuffer[]) + RETURNS tcbuffer + AS 'MODULE_PATHNAME', 'Tsequenceset_constructor' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +-- The function is not strict +CREATE FUNCTION tcbufferSeqSetGaps(tcbuffer[], maxt interval DEFAULT NULL, + maxdist float DEFAULT NULL, text DEFAULT 'linear') + RETURNS tcbuffer + AS 'MODULE_PATHNAME', 'Tsequenceset_constructor_gaps' + LANGUAGE C IMMUTABLE PARALLEL SAFE; + +/*****************************************************************************/ + +CREATE FUNCTION tcbuffer(tgeompoint, tfloat) + RETURNS tcbuffer + AS 'MODULE_PATHNAME', 'Tcbuffer_constructor' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/***************************************************************************** + * Conversions + *****************************************************************************/ + +CREATE FUNCTION timeSpan(tcbuffer) + RETURNS tstzspan + AS 'MODULE_PATHNAME', 'Temporal_to_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tgeompoint(tcbuffer) + RETURNS tgeompoint + AS 'MODULE_PATHNAME', 'Tcbuffer_to_tgeompoint' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tfloat(tcbuffer) + RETURNS tfloat + AS 'MODULE_PATHNAME', 'Tcbuffer_to_tfloat' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION tcbuffer(tgeompoint) + RETURNS tcbuffer + AS 'MODULE_PATHNAME', 'Tgeometry_to_tcbuffer' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tcbuffer(tgeometry) + RETURNS tcbuffer + AS 'MODULE_PATHNAME', 'Tgeometry_to_tcbuffer' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE CAST (tcbuffer AS tstzspan) WITH FUNCTION timeSpan(tcbuffer); +CREATE CAST (tcbuffer AS tgeompoint) WITH FUNCTION tgeompoint(tcbuffer); +CREATE CAST (tcbuffer AS tfloat) WITH FUNCTION tfloat(tcbuffer); +CREATE CAST (tgeompoint AS tcbuffer) WITH FUNCTION tcbuffer(tgeompoint); +CREATE CAST (tgeometry AS tcbuffer) WITH FUNCTION tcbuffer(tgeometry); + +/***************************************************************************** + * Accessor functions + *****************************************************************************/ +-- Specific accessors for temporal circular buffers + +CREATE FUNCTION points(tcbuffer) + RETURNS geomset + AS 'MODULE_PATHNAME', 'Tcbuffer_points' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION radius(tcbuffer) + RETURNS floatset + AS 'MODULE_PATHNAME', 'Tcbuffer_radius' + LANGUAGE C IMMUTABLE STRICT; + +/*****************************************************************************/ +-- Accessors for all temporal types + +CREATE FUNCTION tempSubtype(tcbuffer) + RETURNS text + AS 'MODULE_PATHNAME', 'Temporal_subtype' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION interp(tcbuffer) + RETURNS text + AS 'MODULE_PATHNAME', 'Temporal_interp' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION memSize(tcbuffer) + RETURNS integer + AS 'MODULE_PATHNAME', 'Temporal_mem_size' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +-- value is a reserved word in SQL +CREATE FUNCTION getValue(tcbuffer) + RETURNS cbuffer + AS 'MODULE_PATHNAME', 'Tinstant_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +-- timestamp is a reserved word in SQL +CREATE FUNCTION getTimestamp(tcbuffer) + RETURNS timestamptz + AS 'MODULE_PATHNAME', 'Tinstant_timestamptz' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +-- values is a reserved word in SQL +CREATE FUNCTION getValues(tcbuffer) + RETURNS cbufferset + AS 'MODULE_PATHNAME', 'Temporal_valueset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +-- time is a reserved word in SQL +CREATE FUNCTION getTime(tcbuffer) + RETURNS tstzspanset + AS 'MODULE_PATHNAME', 'Temporal_time' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION startValue(tcbuffer) + RETURNS cbuffer + AS 'MODULE_PATHNAME', 'Temporal_start_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION endValue(tcbuffer) + RETURNS cbuffer + AS 'MODULE_PATHNAME', 'Temporal_end_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION valueN(tcbuffer, int) + RETURNS cbuffer + AS 'MODULE_PATHNAME', 'Temporal_value_n' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION valueAtTimestamp(tcbuffer, timestamptz) + RETURNS cbuffer + AS 'MODULE_PATHNAME', 'Temporal_value_at_timestamptz' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION duration(tcbuffer, boundspan boolean DEFAULT FALSE) + RETURNS interval + AS 'MODULE_PATHNAME', 'Temporal_duration' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION lowerInc(tcbuffer) + RETURNS bool + AS 'MODULE_PATHNAME', 'Temporal_lower_inc' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION upperInc(tcbuffer) + RETURNS bool + AS 'MODULE_PATHNAME', 'Temporal_upper_inc' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION numInstants(tcbuffer) + RETURNS integer + AS 'MODULE_PATHNAME', 'Temporal_num_instants' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION startInstant(tcbuffer) + RETURNS tcbuffer + AS 'MODULE_PATHNAME', 'Temporal_start_instant' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION endInstant(tcbuffer) + RETURNS tcbuffer + AS 'MODULE_PATHNAME', 'Temporal_end_instant' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION instantN(tcbuffer, integer) + RETURNS tcbuffer + AS 'MODULE_PATHNAME', 'Temporal_instant_n' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION instants(tcbuffer) + RETURNS tcbuffer[] + AS 'MODULE_PATHNAME', 'Temporal_instants' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION numTimestamps(tcbuffer) + RETURNS integer + AS 'MODULE_PATHNAME', 'Temporal_num_timestamps' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION startTimestamp(tcbuffer) + RETURNS timestamptz + AS 'MODULE_PATHNAME', 'Temporal_start_timestamptz' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION endTimestamp(tcbuffer) + RETURNS timestamptz + AS 'MODULE_PATHNAME', 'Temporal_end_timestamptz' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION timestampN(tcbuffer, integer) + RETURNS timestamptz + AS 'MODULE_PATHNAME', 'Temporal_timestamptz_n' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION timestamps(tcbuffer) + RETURNS timestamptz[] + AS 'MODULE_PATHNAME', 'Temporal_timestamps' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION numSequences(tcbuffer) + RETURNS integer + AS 'MODULE_PATHNAME', 'Temporal_num_sequences' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION startSequence(tcbuffer) + RETURNS tcbuffer + AS 'MODULE_PATHNAME', 'Temporal_start_sequence' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION endSequence(tcbuffer) + RETURNS tcbuffer + AS 'MODULE_PATHNAME', 'Temporal_end_sequence' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION sequenceN(tcbuffer, integer) + RETURNS tcbuffer + AS 'MODULE_PATHNAME', 'Temporal_sequence_n' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION sequences(tcbuffer) + RETURNS tcbuffer[] + AS 'MODULE_PATHNAME', 'Temporal_sequences' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION segments(tcbuffer) + RETURNS tcbuffer[] + AS 'MODULE_PATHNAME', 'Temporal_segments' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/***************************************************************************** + * Transformation functions + *****************************************************************************/ + +CREATE FUNCTION expand(tcbuffer, float) + RETURNS tcbuffer + AS 'MODULE_PATHNAME', 'Tcbuffer_expand' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/*****************************************************************************/ +-- Transformations for all temporal types + +CREATE FUNCTION tcbufferInst(tcbuffer) + RETURNS tcbuffer + AS 'MODULE_PATHNAME', 'Temporal_to_tinstant' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +-- The function is not strict +CREATE FUNCTION tcbufferSeq(tcbuffer, text DEFAULT NULL) + RETURNS tcbuffer + AS 'MODULE_PATHNAME', 'Temporal_to_tsequence' + LANGUAGE C IMMUTABLE PARALLEL SAFE; +-- The function is not strict +CREATE FUNCTION tcbufferSeqSet(tcbuffer, text DEFAULT NULL) + RETURNS tcbuffer + AS 'MODULE_PATHNAME', 'Temporal_to_tsequenceset' + LANGUAGE C IMMUTABLE PARALLEL SAFE; + +CREATE FUNCTION setInterp(tcbuffer, text) + RETURNS tcbuffer + AS 'MODULE_PATHNAME', 'Temporal_set_interp' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION round(tcbuffer, integer DEFAULT 0) + RETURNS tcbuffer + AS 'MODULE_PATHNAME', 'Temporal_round' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION round(tcbuffer[], integer DEFAULT 0) + RETURNS tcbuffer[] + AS 'MODULE_PATHNAME', 'Temporalarr_round' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION shiftTime(tcbuffer, interval) + RETURNS tcbuffer + AS 'MODULE_PATHNAME', 'Temporal_shift_time' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION scaleTime(tcbuffer, interval) + RETURNS tcbuffer + AS 'MODULE_PATHNAME', 'Temporal_scale_time' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION shiftScaleTime(tcbuffer, interval, interval) + RETURNS tcbuffer + AS 'MODULE_PATHNAME', 'Temporal_shift_scale_time' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/***************************************************************************** + * Restriction functions + *****************************************************************************/ + +CREATE FUNCTION atValues(tcbuffer, cbuffer) + RETURNS tcbuffer + AS 'MODULE_PATHNAME', 'Temporal_at_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION minusValues(tcbuffer, cbuffer) + RETURNS tcbuffer + AS 'MODULE_PATHNAME', 'Temporal_minus_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION atValues(tcbuffer, cbufferset) + RETURNS tcbuffer + AS 'MODULE_PATHNAME', 'Temporal_at_values' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION minusValues(tcbuffer, cbufferset) + RETURNS tcbuffer + AS 'MODULE_PATHNAME', 'Temporal_minus_values' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION atTime(tcbuffer, timestamptz) + RETURNS tcbuffer + AS 'MODULE_PATHNAME', 'Temporal_at_timestamptz' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION minusTime(tcbuffer, timestamptz) + RETURNS tcbuffer + AS 'MODULE_PATHNAME', 'Temporal_minus_timestamptz' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION atTime(tcbuffer, tstzset) + RETURNS tcbuffer + AS 'MODULE_PATHNAME', 'Temporal_at_tstzset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION minusTime(tcbuffer, tstzset) + RETURNS tcbuffer + AS 'MODULE_PATHNAME', 'Temporal_minus_tstzset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION atTime(tcbuffer, tstzspan) + RETURNS tcbuffer + AS 'MODULE_PATHNAME', 'Temporal_at_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION minusTime(tcbuffer, tstzspan) + RETURNS tcbuffer + AS 'MODULE_PATHNAME', 'Temporal_minus_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION atTime(tcbuffer, tstzspanset) + RETURNS tcbuffer + AS 'MODULE_PATHNAME', 'Temporal_at_tstzspanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION minusTime(tcbuffer, tstzspanset) + RETURNS tcbuffer + AS 'MODULE_PATHNAME', 'Temporal_minus_tstzspanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION beforeTimestamp(tcbuffer, timestamptz, strict bool DEFAULT TRUE) + RETURNS tcbuffer + AS 'MODULE_PATHNAME', 'Temporal_before_timestamptz' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION afterTimestamp(tcbuffer, timestamptz, strict bool DEFAULT TRUE) + RETURNS tcbuffer + AS 'MODULE_PATHNAME', 'Temporal_after_timestamptz' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/***************************************************************************** + * Unnest Function + *****************************************************************************/ + +CREATE TYPE cbuffer_tstzspanset AS ( + value cbuffer, + time tstzspanset +); + +CREATE FUNCTION unnest(tcbuffer) + RETURNS SETOF cbuffer_tstzspanset + AS 'MODULE_PATHNAME', 'Temporal_unnest' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/***************************************************************************** + * Stop Function + *****************************************************************************/ + +CREATE FUNCTION stops(tcbuffer, maxdist float DEFAULT 0.0, + minduration interval DEFAULT '0 minutes') + RETURNS tcbuffer + AS 'MODULE_PATHNAME', 'Temporal_stops' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/***************************************************************************** + * Modification Functions + *****************************************************************************/ + +CREATE FUNCTION insert(tcbuffer, tcbuffer, connect boolean DEFAULT TRUE) + RETURNS tcbuffer + AS 'MODULE_PATHNAME', 'Temporal_update' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION update(tcbuffer, tcbuffer, connect boolean DEFAULT TRUE) + RETURNS tcbuffer + AS 'MODULE_PATHNAME', 'Temporal_update' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION deleteTime(tcbuffer, timestamptz, connect boolean DEFAULT TRUE) + RETURNS tcbuffer + AS 'MODULE_PATHNAME', 'Temporal_delete_timestamptz' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION deleteTime(tcbuffer, tstzset, connect boolean DEFAULT TRUE) + RETURNS tcbuffer + AS 'MODULE_PATHNAME', 'Temporal_delete_tstzset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION deleteTime(tcbuffer, tstzspan, connect boolean DEFAULT TRUE) + RETURNS tcbuffer + AS 'MODULE_PATHNAME', 'Temporal_delete_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION deleteTime(tcbuffer, tstzspanset, connect boolean DEFAULT TRUE) + RETURNS tcbuffer + AS 'MODULE_PATHNAME', 'Temporal_delete_tstzspanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION appendInstant(tcbuffer, tcbuffer) + RETURNS tcbuffer + AS 'MODULE_PATHNAME', 'Temporal_append_tinstant' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION appendSequence(tcbuffer, tcbuffer) + RETURNS tcbuffer + AS 'MODULE_PATHNAME', 'Temporal_append_tsequence' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +-- The function is not strict +CREATE FUNCTION merge(tcbuffer, tcbuffer) + RETURNS tcbuffer + AS 'MODULE_PATHNAME', 'Temporal_merge' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION merge(tcbuffer[]) + RETURNS tcbuffer + AS 'MODULE_PATHNAME', 'Temporal_merge_array' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/***************************************************************************** + * Multidimensional tiling + *****************************************************************************/ + +CREATE TYPE time_tcbuffer AS ( + time timestamptz, + temp tcbuffer +); + +CREATE FUNCTION timeSplit(tcbuffer, bin_width interval, + origin timestamptz DEFAULT '2000-01-03') + RETURNS setof time_tcbuffer + AS 'MODULE_PATHNAME', 'Temporal_time_split' + LANGUAGE C IMMUTABLE PARALLEL SAFE STRICT; + +/***************************************************************************** + * Comparison functions and B-tree indexing + *****************************************************************************/ + +CREATE FUNCTION temporal_lt(tcbuffer, tcbuffer) + RETURNS bool + AS 'MODULE_PATHNAME', 'Temporal_lt' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_le(tcbuffer, tcbuffer) + RETURNS bool + AS 'MODULE_PATHNAME', 'Temporal_le' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_eq(tcbuffer, tcbuffer) + RETURNS bool + AS 'MODULE_PATHNAME', 'Temporal_eq' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_ne(tcbuffer, tcbuffer) + RETURNS bool + AS 'MODULE_PATHNAME', 'Temporal_ne' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_ge(tcbuffer, tcbuffer) + RETURNS bool + AS 'MODULE_PATHNAME', 'Temporal_ge' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_gt(tcbuffer, tcbuffer) + RETURNS bool + AS 'MODULE_PATHNAME', 'Temporal_gt' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_cmp(tcbuffer, tcbuffer) + RETURNS int4 + AS 'MODULE_PATHNAME', 'Temporal_cmp' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR < ( + LEFTARG = tcbuffer, RIGHTARG = tcbuffer, + PROCEDURE = temporal_lt, + COMMUTATOR = >, NEGATOR = >=, + RESTRICT = scalarltsel, JOIN = scalarltjoinsel +); +CREATE OPERATOR <= ( + LEFTARG = tcbuffer, RIGHTARG = tcbuffer, + PROCEDURE = temporal_le, + COMMUTATOR = >=, NEGATOR = >, + RESTRICT = scalarltsel, JOIN = scalarltjoinsel +); +CREATE OPERATOR = ( + LEFTARG = tcbuffer, RIGHTARG = tcbuffer, + PROCEDURE = temporal_eq, + COMMUTATOR = =, NEGATOR = <>, + RESTRICT = eqsel, JOIN = eqjoinsel +); +CREATE OPERATOR <> ( + LEFTARG = tcbuffer, RIGHTARG = tcbuffer, + PROCEDURE = temporal_ne, + COMMUTATOR = <>, NEGATOR = =, + RESTRICT = neqsel, JOIN = neqjoinsel +); +CREATE OPERATOR >= ( + LEFTARG = tcbuffer, RIGHTARG = tcbuffer, + PROCEDURE = temporal_ge, + COMMUTATOR = <=, NEGATOR = <, + RESTRICT = scalargtsel, JOIN = scalargtjoinsel +); +CREATE OPERATOR > ( + LEFTARG = tcbuffer, RIGHTARG = tcbuffer, + PROCEDURE = temporal_gt, + COMMUTATOR = <, NEGATOR = <=, + RESTRICT = scalargtsel, JOIN = scalargtjoinsel +); + +CREATE OPERATOR CLASS tcbuffer_btree_ops + DEFAULT FOR TYPE tcbuffer USING btree AS + OPERATOR 1 <, + OPERATOR 2 <=, + OPERATOR 3 =, + OPERATOR 4 >=, + OPERATOR 5 >, + FUNCTION 1 temporal_cmp(tcbuffer, tcbuffer); + +/*****************************************************************************/ + +CREATE FUNCTION temporal_hash(tcbuffer) + RETURNS integer + AS 'MODULE_PATHNAME', 'Temporal_hash' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR CLASS tcbuffer_hash_ops + DEFAULT FOR TYPE tcbuffer USING hash AS + OPERATOR 1 = , + FUNCTION 1 temporal_hash(tcbuffer); + +/*****************************************************************************/ diff --git a/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/cbuffer/154_tcbuffer_compops.in.sql b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/cbuffer/154_tcbuffer_compops.in.sql new file mode 100644 index 00000000..ae0365c3 --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/cbuffer/154_tcbuffer_compops.in.sql @@ -0,0 +1,248 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @file + * @brief Ever/always and temporal comparison functions and operators for + * temporal circular buffers + */ + +/***************************************************************************** + * Ever/Always Comparison Functions + *****************************************************************************/ + +CREATE FUNCTION ever_eq(cbuffer, tcbuffer) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Ever_eq_cbuffer_tcbuffer' + SUPPORT tspatial_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION always_eq(cbuffer, tcbuffer) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Always_eq_cbuffer_tcbuffer' + SUPPORT tspatial_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR ?= ( + LEFTARG = cbuffer, RIGHTARG = tcbuffer, + PROCEDURE = ever_eq, + NEGATOR = %<>, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR %= ( + LEFTARG = cbuffer, RIGHTARG = tcbuffer, + PROCEDURE = always_eq, + NEGATOR = ?<>, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +CREATE FUNCTION ever_ne(cbuffer, tcbuffer) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Ever_ne_cbuffer_tcbuffer' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION always_ne(cbuffer, tcbuffer) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Always_ne_cbuffer_tcbuffer' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR ?<> ( + LEFTARG = cbuffer, RIGHTARG = tcbuffer, + PROCEDURE = ever_ne, + NEGATOR = %=, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR %<> ( + LEFTARG = cbuffer, RIGHTARG = tcbuffer, + PROCEDURE = always_ne, + NEGATOR = ?=, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +/*****************************************************************************/ + +CREATE FUNCTION ever_eq(tcbuffer, cbuffer) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Ever_eq_tcbuffer_cbuffer' + SUPPORT tspatial_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION always_eq(tcbuffer, cbuffer) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Always_eq_tcbuffer_cbuffer' + SUPPORT tspatial_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR ?= ( + LEFTARG = tcbuffer, RIGHTARG = cbuffer, + PROCEDURE = ever_eq, + NEGATOR = %<>, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR %= ( + LEFTARG = tcbuffer, RIGHTARG = cbuffer, + PROCEDURE = always_eq, + NEGATOR = ?<>, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +CREATE FUNCTION ever_ne(tcbuffer, cbuffer) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Ever_ne_tcbuffer_cbuffer' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION always_ne(tcbuffer, cbuffer) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Always_ne_tcbuffer_cbuffer' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR ?<> ( + LEFTARG = tcbuffer, RIGHTARG = cbuffer, + PROCEDURE = ever_ne, + NEGATOR = %=, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR %<> ( + LEFTARG = tcbuffer, RIGHTARG = cbuffer, + PROCEDURE = always_ne, + NEGATOR = ?=, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +/*****************************************************************************/ + +CREATE FUNCTION ever_eq(tcbuffer, tcbuffer) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Ever_eq_tcbuffer_tcbuffer' + SUPPORT tspatial_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION always_eq(tcbuffer, tcbuffer) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Always_eq_tcbuffer_tcbuffer' + SUPPORT tspatial_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR ?= ( + LEFTARG = tcbuffer, RIGHTARG = tcbuffer, + PROCEDURE = ever_eq, + NEGATOR = %<>, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR %= ( + LEFTARG = tcbuffer, RIGHTARG = tcbuffer, + PROCEDURE = always_eq, + NEGATOR = ?<>, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +CREATE FUNCTION ever_ne(tcbuffer, tcbuffer) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Ever_ne_tcbuffer_tcbuffer' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION always_ne(tcbuffer, tcbuffer) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Always_ne_tcbuffer_tcbuffer' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR ?<> ( + LEFTARG = tcbuffer, RIGHTARG = tcbuffer, + PROCEDURE = ever_ne, + NEGATOR = %=, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR %<> ( + LEFTARG = tcbuffer, RIGHTARG = tcbuffer, + PROCEDURE = always_ne, + NEGATOR = ?=, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +/***************************************************************************** + * Temporal equal + *****************************************************************************/ + +CREATE FUNCTION temporal_teq(cbuffer, tcbuffer) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Teq_cbuffer_tcbuffer' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_teq(tcbuffer, cbuffer) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Teq_tcbuffer_cbuffer' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_teq(tcbuffer, tcbuffer) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Teq_temporal_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR #= ( + PROCEDURE = temporal_teq, + LEFTARG = cbuffer, RIGHTARG = tcbuffer, + COMMUTATOR = #= +); +CREATE OPERATOR #= ( + PROCEDURE = temporal_teq, + LEFTARG = tcbuffer, RIGHTARG = cbuffer, + COMMUTATOR = #= +); +CREATE OPERATOR #= ( + PROCEDURE = temporal_teq, + LEFTARG = tcbuffer, RIGHTARG = tcbuffer, + COMMUTATOR = #= +); + +/***************************************************************************** + * Temporal not equal + *****************************************************************************/ + +CREATE FUNCTION temporal_tne(cbuffer, tcbuffer) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Tne_cbuffer_tcbuffer' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_tne(tcbuffer, cbuffer) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Tne_tcbuffer_cbuffer' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_tne(tcbuffer, tcbuffer) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Tne_temporal_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR #<> ( + PROCEDURE = temporal_tne, + LEFTARG = cbuffer, RIGHTARG = tcbuffer, + COMMUTATOR = #<> +); +CREATE OPERATOR #<> ( + PROCEDURE = temporal_tne, + LEFTARG = tcbuffer, RIGHTARG = cbuffer, + COMMUTATOR = #<> +); +CREATE OPERATOR #<> ( + PROCEDURE = temporal_tne, + LEFTARG = tcbuffer, RIGHTARG = tcbuffer, + COMMUTATOR = #<> +); + +/******************************************************************************/ diff --git a/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/cbuffer/155_tcbuffer_spatialfuncs.in.sql b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/cbuffer/155_tcbuffer_spatialfuncs.in.sql new file mode 100644 index 00000000..fe69fa27 --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/cbuffer/155_tcbuffer_spatialfuncs.in.sql @@ -0,0 +1,104 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @file + * @brief Spatial functions for temporal circular buffers + */ + +/***************************************************************************** + * SRID + *****************************************************************************/ + +CREATE FUNCTION SRID(tcbuffer) + RETURNS integer + AS 'MODULE_PATHNAME', 'Tspatial_srid' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION setSRID(tcbuffer, integer) + RETURNS tcbuffer + AS 'MODULE_PATHNAME', 'Tspatial_set_srid' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION transform(tcbuffer, integer) + RETURNS tcbuffer + AS 'MODULE_PATHNAME', 'Tspatial_transform' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION transformPipeline(tcbuffer, text, srid integer DEFAULT 0, + is_forward boolean DEFAULT true) + RETURNS tcbuffer + AS 'MODULE_PATHNAME', 'Tspatial_transform_pipeline' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/***************************************************************************** + * Traversed area + *****************************************************************************/ + +CREATE FUNCTION traversedArea(tcbuffer, bool DEFAULT true) + RETURNS geometry + AS 'MODULE_PATHNAME', 'Tcbuffer_traversed_area' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/***************************************************************************** + * AtGeometry and MinusGeometry + *****************************************************************************/ + +CREATE FUNCTION atValue(tcbuffer, cbuffer) + RETURNS tcbuffer + AS 'MODULE_PATHNAME', 'Tcbuffer_at_cbuffer' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION minusValue(tcbuffer, cbuffer) + RETURNS tcbuffer + AS 'MODULE_PATHNAME', 'Tcbuffer_minus_cbuffer' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION atGeometry(tcbuffer, geometry) + RETURNS tcbuffer + AS 'MODULE_PATHNAME', 'Tcbuffer_at_geom' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION minusGeometry(tcbuffer, geometry) + RETURNS tcbuffer + AS 'MODULE_PATHNAME', 'Tcbuffer_minus_geom' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +-- CREATE FUNCTION atStbox(tcbuffer, stbox, bool DEFAULT TRUE) + -- RETURNS tcbuffer + -- AS 'MODULE_PATHNAME', 'Tcbuffer_at_stbox' + -- LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +-- CREATE FUNCTION minusStbox(tcbuffer, stbox, bool DEFAULT TRUE) + -- RETURNS tcbuffer + -- AS 'MODULE_PATHNAME', 'Tcbuffer_minus_stbox' + -- LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/*****************************************************************************/ + diff --git a/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/cbuffer/158_tcbuffer_topops.in.sql b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/cbuffer/158_tcbuffer_topops.in.sql new file mode 100644 index 00000000..264dd90f --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/cbuffer/158_tcbuffer_topops.in.sql @@ -0,0 +1,379 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @file + * @brief Bounding box operators for temporal circular buffers + */ + +/***************************************************************************** + * Temporal cbuffer to stbox + *****************************************************************************/ + +CREATE FUNCTION stbox(cbuffer) + RETURNS stbox + AS 'MODULE_PATHNAME', 'Cbuffer_to_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION stbox(cbuffer, timestamptz) + RETURNS stbox + AS 'MODULE_PATHNAME', 'Cbuffer_timestamptz_to_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION stbox(cbuffer, tstzspan) + RETURNS stbox + AS 'MODULE_PATHNAME', 'Cbuffer_tstzspan_to_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION stbox(tcbuffer) + RETURNS stbox + AS 'MODULE_PATHNAME', 'Tspatial_to_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE CAST (cbuffer AS stbox) WITH FUNCTION stbox(cbuffer); +CREATE CAST (tcbuffer AS stbox) WITH FUNCTION stbox(tcbuffer); + +/*****************************************************************************/ + +CREATE FUNCTION expandSpace(tcbuffer, float) + RETURNS stbox + AS 'SELECT @extschema@.expandSpace($1::stbox, $2)' + LANGUAGE SQL IMMUTABLE PARALLEL SAFE STRICT; + +/***************************************************************************** + * Contains + *****************************************************************************/ + +CREATE FUNCTION temporal_contains(tstzspan, tcbuffer) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contains_tstzspan_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_contains(tcbuffer, tstzspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contains_temporal_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR @> ( + PROCEDURE = temporal_contains, + LEFTARG = tstzspan, RIGHTARG = tcbuffer, + COMMUTATOR = <@, + RESTRICT = temporal_sel, JOIN = temporal_joinsel +); +CREATE OPERATOR @> ( + PROCEDURE = temporal_contains, + LEFTARG = tcbuffer, RIGHTARG = tstzspan, + COMMUTATOR = <@, + RESTRICT = temporal_sel, JOIN = temporal_joinsel +); + +/*****************************************************************************/ + +CREATE FUNCTION temporal_contains(stbox, tcbuffer) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contains_stbox_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR @> ( + PROCEDURE = temporal_contains, + LEFTARG = stbox, RIGHTARG = tcbuffer, + COMMUTATOR = <@, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +CREATE FUNCTION temporal_contains(tcbuffer, stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contains_tspatial_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_contains(tcbuffer, tcbuffer) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contains_tspatial_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR @> ( + PROCEDURE = temporal_contains, + LEFTARG = tcbuffer, RIGHTARG = stbox, + COMMUTATOR = <@, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR @> ( + PROCEDURE = temporal_contains, + LEFTARG = tcbuffer, RIGHTARG = tcbuffer, + COMMUTATOR = <@, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +/***************************************************************************** + * Contained + *****************************************************************************/ + +CREATE FUNCTION temporal_contained(tstzspan, tcbuffer) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contained_tstzspan_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_contained(tcbuffer, tstzspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contained_temporal_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR <@ ( + PROCEDURE = temporal_contained, + LEFTARG = tstzspan, RIGHTARG = tcbuffer, + COMMUTATOR = @>, + RESTRICT = temporal_sel, JOIN = temporal_joinsel +); +CREATE OPERATOR <@ ( + PROCEDURE = temporal_contained, + LEFTARG = tcbuffer, RIGHTARG = tstzspan, + COMMUTATOR = @>, + RESTRICT = temporal_sel, JOIN = temporal_joinsel +); + +/*****************************************************************************/ + +CREATE FUNCTION temporal_contained(stbox, tcbuffer) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contained_stbox_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR <@ ( + PROCEDURE = temporal_contained, + LEFTARG = stbox, RIGHTARG = tcbuffer, + COMMUTATOR = @>, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +CREATE FUNCTION temporal_contained(tcbuffer, stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contained_tspatial_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_contained(tcbuffer, tcbuffer) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contained_tspatial_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR <@ ( + PROCEDURE = temporal_contained, + LEFTARG = tcbuffer, RIGHTARG = stbox, + COMMUTATOR = @>, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR <@ ( + PROCEDURE = temporal_contained, + LEFTARG = tcbuffer, RIGHTARG = tcbuffer, + COMMUTATOR = @>, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +/***************************************************************************** + * Overlaps + *****************************************************************************/ + +CREATE FUNCTION temporal_overlaps(tstzspan, tcbuffer) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overlaps_tstzspan_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overlaps(tcbuffer, tstzspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overlaps_temporal_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR && ( + PROCEDURE = temporal_overlaps, + LEFTARG = tstzspan, RIGHTARG = tcbuffer, + COMMUTATOR = &&, + RESTRICT = temporal_sel, JOIN = temporal_joinsel +); +CREATE OPERATOR && ( + PROCEDURE = temporal_overlaps, + LEFTARG = tcbuffer, RIGHTARG = tstzspan, + COMMUTATOR = &&, + RESTRICT = temporal_sel, JOIN = temporal_joinsel +); + +/*****************************************************************************/ + +CREATE FUNCTION temporal_overlaps(stbox, tcbuffer) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overlaps_stbox_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR && ( + PROCEDURE = temporal_overlaps, + LEFTARG = stbox, RIGHTARG = tcbuffer, + COMMUTATOR = &&, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +CREATE FUNCTION temporal_overlaps(tcbuffer, stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overlaps_tspatial_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overlaps(tcbuffer, tcbuffer) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overlaps_tspatial_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR && ( + PROCEDURE = temporal_overlaps, + LEFTARG = tcbuffer, RIGHTARG = stbox, + COMMUTATOR = &&, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR && ( + PROCEDURE = temporal_overlaps, + LEFTARG = tcbuffer, RIGHTARG = tcbuffer, + COMMUTATOR = &&, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +/***************************************************************************** + * Same + *****************************************************************************/ + +CREATE FUNCTION temporal_same(tstzspan, tcbuffer) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Same_tstzspan_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_same(tcbuffer, tstzspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Same_temporal_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR ~= ( + PROCEDURE = temporal_same, + LEFTARG = tstzspan, RIGHTARG = tcbuffer, + COMMUTATOR = ~=, + RESTRICT = temporal_sel, JOIN = temporal_joinsel +); +CREATE OPERATOR ~= ( + PROCEDURE = temporal_same, + LEFTARG = tcbuffer, RIGHTARG = tstzspan, + COMMUTATOR = ~=, + RESTRICT = temporal_sel, JOIN = temporal_joinsel +); + +/*****************************************************************************/ + +CREATE FUNCTION temporal_same(stbox, tcbuffer) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Same_stbox_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR ~= ( + PROCEDURE = temporal_same, + LEFTARG = stbox, RIGHTARG = tcbuffer, + COMMUTATOR = ~=, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +CREATE FUNCTION temporal_same(tcbuffer, stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Same_tspatial_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_same(tcbuffer, tcbuffer) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Same_tspatial_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR ~= ( + PROCEDURE = temporal_same, + LEFTARG = tcbuffer, RIGHTARG = stbox, + COMMUTATOR = ~=, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR ~= ( + PROCEDURE = temporal_same, + LEFTARG = tcbuffer, RIGHTARG = tcbuffer, + COMMUTATOR = ~=, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +/***************************************************************************** + * adjacent + *****************************************************************************/ + +CREATE FUNCTION temporal_adjacent(tstzspan, tcbuffer) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Adjacent_tstzspan_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_adjacent(tcbuffer, tstzspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Adjacent_temporal_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR -|- ( + PROCEDURE = temporal_adjacent, + LEFTARG = tstzspan, RIGHTARG = tcbuffer, + COMMUTATOR = -|-, + RESTRICT = temporal_sel, JOIN = temporal_joinsel +); +CREATE OPERATOR -|- ( + PROCEDURE = temporal_adjacent, + LEFTARG = tcbuffer, RIGHTARG = tstzspan, + COMMUTATOR = -|-, + RESTRICT = temporal_sel, JOIN = temporal_joinsel +); + +/*****************************************************************************/ + +CREATE FUNCTION temporal_adjacent(stbox, tcbuffer) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Adjacent_stbox_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR -|- ( + PROCEDURE = temporal_adjacent, + LEFTARG = stbox, RIGHTARG = tcbuffer, + COMMUTATOR = -|-, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +CREATE FUNCTION temporal_adjacent(tcbuffer, stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Adjacent_tspatial_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_adjacent(tcbuffer, tcbuffer) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Adjacent_tspatial_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR -|- ( + PROCEDURE = temporal_adjacent, + LEFTARG = tcbuffer, RIGHTARG = stbox, + COMMUTATOR = -|-, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR -|- ( + PROCEDURE = temporal_adjacent, + LEFTARG = tcbuffer, RIGHTARG = tcbuffer, + COMMUTATOR = -|-, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +/*****************************************************************************/ diff --git a/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/cbuffer/159_tcbuffer_posops.in.sql b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/cbuffer/159_tcbuffer_posops.in.sql new file mode 100644 index 00000000..14a053b7 --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/cbuffer/159_tcbuffer_posops.in.sql @@ -0,0 +1,487 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @file + * @brief Relative position operators for temporal circular buffers + */ + +/***************************************************************************** + * tstzspan + *****************************************************************************/ + +/* tstzspan op tcbuffer */ + +CREATE FUNCTION temporal_before(tstzspan, tcbuffer) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Before_tstzspan_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overbefore(tstzspan, tcbuffer) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overbefore_tstzspan_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_after(tstzspan, tcbuffer) + RETURNS boolean + AS 'MODULE_PATHNAME', 'After_tstzspan_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overafter(tstzspan, tcbuffer) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overafter_tstzspan_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR <<# ( + LEFTARG = tstzspan, RIGHTARG = tcbuffer, + PROCEDURE = temporal_before, + COMMUTATOR = #>>, + RESTRICT = temporal_sel, JOIN = temporal_joinsel +); +CREATE OPERATOR &<# ( + LEFTARG = tstzspan, RIGHTARG = tcbuffer, + PROCEDURE = temporal_overbefore, + RESTRICT = temporal_sel, JOIN = temporal_joinsel +); +CREATE OPERATOR #>> ( + LEFTARG = tstzspan, RIGHTARG = tcbuffer, + PROCEDURE = temporal_after, + COMMUTATOR = <<#, + RESTRICT = temporal_sel, JOIN = temporal_joinsel +); +CREATE OPERATOR #&> ( + LEFTARG = tstzspan, RIGHTARG = tcbuffer, + PROCEDURE = temporal_overafter, + RESTRICT = temporal_sel, JOIN = temporal_joinsel +); + +/***************************************************************************** + * stbox + *****************************************************************************/ + +CREATE FUNCTION temporal_left(stbox, tcbuffer) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Left_stbox_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overleft(stbox, tcbuffer) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overleft_stbox_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_right(stbox, tcbuffer) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Right_stbox_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overright(stbox, tcbuffer) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overright_stbox_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_below(stbox, tcbuffer) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Below_stbox_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overbelow(stbox, tcbuffer) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overbelow_stbox_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_above(stbox, tcbuffer) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Above_stbox_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overabove(stbox, tcbuffer) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overabove_stbox_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_before(stbox, tcbuffer) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Before_stbox_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overbefore(stbox, tcbuffer) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overbefore_stbox_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_after(stbox, tcbuffer) + RETURNS boolean + AS 'MODULE_PATHNAME', 'After_stbox_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overafter(stbox, tcbuffer) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overafter_stbox_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR << ( + LEFTARG = stbox, RIGHTARG = tcbuffer, + PROCEDURE = temporal_left, + COMMUTATOR = '>>', + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR &< ( + LEFTARG = stbox, RIGHTARG = tcbuffer, + PROCEDURE = temporal_overleft, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR >> ( + LEFTARG = stbox, RIGHTARG = tcbuffer, + PROCEDURE = temporal_right, + COMMUTATOR = '<<', + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR &> ( + LEFTARG = stbox, RIGHTARG = tcbuffer, + PROCEDURE = temporal_overright, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR <<| ( + LEFTARG = stbox, RIGHTARG = tcbuffer, + PROCEDURE = temporal_below, + COMMUTATOR = '|>>', + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR &<| ( + LEFTARG = stbox, RIGHTARG = tcbuffer, + PROCEDURE = temporal_overbelow, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR |>> ( + LEFTARG = stbox, RIGHTARG = tcbuffer, + PROCEDURE = temporal_above, + COMMUTATOR = '<<|', + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR |&> ( + LEFTARG = stbox, RIGHTARG = tcbuffer, + PROCEDURE = temporal_overabove, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR <<# ( + LEFTARG = stbox, RIGHTARG = tcbuffer, + PROCEDURE = temporal_before, + COMMUTATOR = '#>>', + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR &<# ( + LEFTARG = stbox, RIGHTARG = tcbuffer, + PROCEDURE = temporal_overbefore, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR #>> ( + LEFTARG = stbox, RIGHTARG = tcbuffer, + PROCEDURE = temporal_after, + COMMUTATOR = '<<#', + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR #&> ( + LEFTARG = stbox, RIGHTARG = tcbuffer, + PROCEDURE = temporal_overafter, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +/***************************************************************************** + * tcbuffer + *****************************************************************************/ + +/* tcbuffer op tstzspan */ + +CREATE FUNCTION temporal_before(tcbuffer, tstzspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Before_temporal_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overbefore(tcbuffer, tstzspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overbefore_temporal_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_after(tcbuffer, tstzspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'After_temporal_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overafter(tcbuffer, tstzspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overafter_temporal_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR <<# ( + LEFTARG = tcbuffer, RIGHTARG = tstzspan, + PROCEDURE = temporal_before, + COMMUTATOR = #>>, + RESTRICT = temporal_sel, JOIN = temporal_joinsel +); +CREATE OPERATOR &<# ( + LEFTARG = tcbuffer, RIGHTARG = tstzspan, + PROCEDURE = temporal_overbefore, + RESTRICT = temporal_sel, JOIN = temporal_joinsel +); +CREATE OPERATOR #>> ( + LEFTARG = tcbuffer, RIGHTARG = tstzspan, + PROCEDURE = temporal_after, + COMMUTATOR = <<#, + RESTRICT = temporal_sel, JOIN = temporal_joinsel +); +CREATE OPERATOR #&> ( + LEFTARG = tcbuffer, RIGHTARG = tstzspan, + PROCEDURE = temporal_overafter, + RESTRICT = temporal_sel, JOIN = temporal_joinsel +); + +/*****************************************************************************/ + +/* tcbuffer op stbox */ + +CREATE FUNCTION temporal_left(tcbuffer, stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Left_tspatial_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overleft(tcbuffer, stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overleft_tspatial_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_right(tcbuffer, stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Right_tspatial_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overright(tcbuffer, stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overright_tspatial_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_below(tcbuffer, stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Below_tspatial_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overbelow(tcbuffer, stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overbelow_tspatial_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_above(tcbuffer, stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Above_tspatial_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overabove(tcbuffer, stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overabove_tspatial_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_before(tcbuffer, stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Before_tspatial_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overbefore(tcbuffer, stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overbefore_tspatial_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_after(tcbuffer, stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'After_tspatial_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overafter(tcbuffer, stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overafter_tspatial_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR << ( + LEFTARG = tcbuffer, RIGHTARG = stbox, + PROCEDURE = temporal_left, + COMMUTATOR = '>>', + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR &< ( + LEFTARG = tcbuffer, RIGHTARG = stbox, + PROCEDURE = temporal_overleft, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR >> ( + LEFTARG = tcbuffer, RIGHTARG = stbox, + PROCEDURE = temporal_right, + COMMUTATOR = '<<', + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR &> ( + LEFTARG = tcbuffer, RIGHTARG = stbox, + PROCEDURE = temporal_overright, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR <<| ( + LEFTARG = tcbuffer, RIGHTARG = stbox, + PROCEDURE = temporal_below, + COMMUTATOR = '|>>', + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR &<| ( + LEFTARG = tcbuffer, RIGHTARG = stbox, + PROCEDURE = temporal_overbelow, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR |>> ( + LEFTARG = tcbuffer, RIGHTARG = stbox, + PROCEDURE = temporal_above, + COMMUTATOR = '<<|', + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR |&> ( + LEFTARG = tcbuffer, RIGHTARG = stbox, + PROCEDURE = temporal_overabove, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR <<# ( + LEFTARG = tcbuffer, RIGHTARG = stbox, + PROCEDURE = temporal_before, + COMMUTATOR = '#>>', + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR &<# ( + LEFTARG = tcbuffer, RIGHTARG = stbox, + PROCEDURE = temporal_overbefore, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR #>> ( + LEFTARG = tcbuffer, RIGHTARG = stbox, + PROCEDURE = temporal_after, + COMMUTATOR = '<<#', + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR #&> ( + LEFTARG = tcbuffer, RIGHTARG = stbox, + PROCEDURE = temporal_overafter, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +/*****************************************************************************/ + +/* tcbuffer op tcbuffer */ + +CREATE FUNCTION temporal_left(tcbuffer, tcbuffer) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Left_tspatial_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overleft(tcbuffer, tcbuffer) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overleft_tspatial_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_right(tcbuffer, tcbuffer) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Right_tspatial_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overright(tcbuffer, tcbuffer) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overright_tspatial_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_below(tcbuffer, tcbuffer) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Below_tspatial_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overbelow(tcbuffer, tcbuffer) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overbelow_tspatial_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_above(tcbuffer, tcbuffer) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Above_tspatial_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overabove(tcbuffer, tcbuffer) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overabove_tspatial_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_before(tcbuffer, tcbuffer) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Before_tspatial_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overbefore(tcbuffer, tcbuffer) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overbefore_tspatial_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_after(tcbuffer, tcbuffer) + RETURNS boolean + AS 'MODULE_PATHNAME', 'After_tspatial_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overafter(tcbuffer, tcbuffer) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overafter_tspatial_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR << ( + LEFTARG = tcbuffer, RIGHTARG = tcbuffer, + PROCEDURE = temporal_left, + COMMUTATOR = '>>', + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR &< ( + LEFTARG = tcbuffer, RIGHTARG = tcbuffer, + PROCEDURE = temporal_overleft, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR >> ( + LEFTARG = tcbuffer, RIGHTARG = tcbuffer, + PROCEDURE = temporal_right, + COMMUTATOR = '<<', + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR &> ( + LEFTARG = tcbuffer, RIGHTARG = tcbuffer, + PROCEDURE = temporal_overright, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR <<| ( + LEFTARG = tcbuffer, RIGHTARG = tcbuffer, + PROCEDURE = temporal_below, + COMMUTATOR = '|>>', + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR &<| ( + LEFTARG = tcbuffer, RIGHTARG = tcbuffer, + PROCEDURE = temporal_overbelow, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR |>> ( + LEFTARG = tcbuffer, RIGHTARG = tcbuffer, + PROCEDURE = temporal_above, + COMMUTATOR = '<<|', + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR |&> ( + LEFTARG = tcbuffer, RIGHTARG = tcbuffer, + PROCEDURE = temporal_overabove, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR <<# ( + LEFTARG = tcbuffer, RIGHTARG = tcbuffer, + PROCEDURE = temporal_before, + COMMUTATOR = '#>>', + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR &<# ( + LEFTARG = tcbuffer, RIGHTARG = tcbuffer, + PROCEDURE = temporal_overbefore, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR #>> ( + LEFTARG = tcbuffer, RIGHTARG = tcbuffer, + PROCEDURE = temporal_after, + COMMUTATOR = '<<#', + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR #&> ( + LEFTARG = tcbuffer, RIGHTARG = tcbuffer, + PROCEDURE = temporal_overafter, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +/*****************************************************************************/ diff --git a/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/cbuffer/160_tcbuffer_distance.in.sql b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/cbuffer/160_tcbuffer_distance.in.sql new file mode 100644 index 00000000..72f8a588 --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/cbuffer/160_tcbuffer_distance.in.sql @@ -0,0 +1,279 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @file + * @brief Distance functions for temporal circular buffers + */ + +/***************************************************************************** + * Distance functions + *****************************************************************************/ + +-- The function is not strict +CREATE FUNCTION distance(geometry, cbuffer) + RETURNS float + AS 'MODULE_PATHNAME', 'Distance_geo_cbuffer' + LANGUAGE C IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION distance(stbox, cbuffer) + RETURNS float + AS 'MODULE_PATHNAME', 'Distance_stbox_cbuffer' + LANGUAGE C IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION distance(cbuffer, geometry) + RETURNS float + AS 'MODULE_PATHNAME', 'Distance_cbuffer_geo' + LANGUAGE C IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION distance(cbuffer, stbox) + RETURNS float + AS 'MODULE_PATHNAME', 'Distance_cbuffer_stbox' + LANGUAGE C IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION distance(cbuffer, cbuffer) + RETURNS tfloat + AS 'MODULE_PATHNAME', 'Distance_cbuffer_cbuffer' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR <-> ( + PROCEDURE = distance, + LEFTARG = geometry, + RIGHTARG = cbuffer, + COMMUTATOR = <-> +); +CREATE OPERATOR <-> ( + PROCEDURE = distance, + LEFTARG = stbox, + RIGHTARG = cbuffer, + COMMUTATOR = <-> +); +CREATE OPERATOR <-> ( + PROCEDURE = distance, + LEFTARG = cbuffer, + RIGHTARG = geometry, + COMMUTATOR = <-> +); +CREATE OPERATOR <-> ( + PROCEDURE = distance, + LEFTARG = cbuffer, + RIGHTARG = stbox, + COMMUTATOR = <-> +); +CREATE OPERATOR <-> ( + PROCEDURE = distance, + LEFTARG = cbuffer, + RIGHTARG = cbuffer, + COMMUTATOR = <-> +); + +/***************************************************************************** + * Temporal distance functions + *****************************************************************************/ + +CREATE FUNCTION tdistance(geometry(Point), tcbuffer) + RETURNS tfloat + AS 'MODULE_PATHNAME', 'Tdistance_geo_tcbuffer' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tdistance(cbuffer, tcbuffer) + RETURNS tfloat + AS 'MODULE_PATHNAME', 'Tdistance_cbuffer_tcbuffer' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tdistance(tcbuffer, geometry(Point)) + RETURNS tfloat + AS 'MODULE_PATHNAME', 'Tdistance_tcbuffer_geo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tdistance(tcbuffer, cbuffer) + RETURNS tfloat + AS 'MODULE_PATHNAME', 'Tdistance_tcbuffer_cbuffer' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tdistance(tcbuffer, tcbuffer) + RETURNS tfloat + AS 'MODULE_PATHNAME', 'Tdistance_tcbuffer_tcbuffer' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR <-> ( + PROCEDURE = tdistance, + LEFTARG = geometry, + RIGHTARG = tcbuffer, + COMMUTATOR = <-> +); +CREATE OPERATOR <-> ( + PROCEDURE = tdistance, + LEFTARG = cbuffer, + RIGHTARG = tcbuffer, + COMMUTATOR = <-> +); +CREATE OPERATOR <-> ( + PROCEDURE = tdistance, + LEFTARG = tcbuffer, + RIGHTARG = geometry, + COMMUTATOR = <-> +); +CREATE OPERATOR <-> ( + PROCEDURE = tdistance, + LEFTARG = tcbuffer, + RIGHTARG = cbuffer, + COMMUTATOR = <-> +); +CREATE OPERATOR <-> ( + PROCEDURE = tdistance, + LEFTARG = tcbuffer, + RIGHTARG = tcbuffer, + COMMUTATOR = <-> +); + +/***************************************************************************** + * Nearest approach instant/distance and shortest line functions + *****************************************************************************/ + +CREATE FUNCTION nearestApproachInstant(geometry, tcbuffer) + RETURNS tcbuffer + AS 'MODULE_PATHNAME', 'NAI_geo_tcbuffer' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION nearestApproachInstant(stbox, tcbuffer) + RETURNS tcbuffer + AS 'SELECT @extschema@.nearestApproachInstant(geometry($1), $2)' + LANGUAGE SQL IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION nearestApproachInstant(cbuffer, tcbuffer) + RETURNS tcbuffer + AS 'SELECT @extschema@.nearestApproachInstant(geometry($1), $2)' + LANGUAGE SQL IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION nearestApproachInstant(tcbuffer, geometry) + RETURNS tcbuffer + AS 'MODULE_PATHNAME', 'NAI_tcbuffer_geo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION nearestApproachInstant(tcbuffer, stbox) + RETURNS tcbuffer + AS 'SELECT @extschema@.nearestApproachInstant($1, geometry($2))' + LANGUAGE SQL IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION nearestApproachInstant(tcbuffer, cbuffer) + RETURNS tcbuffer + AS 'SELECT @extschema@.nearestApproachInstant($1, geometry($2))' + LANGUAGE SQL IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION nearestApproachInstant(tcbuffer, tcbuffer) + RETURNS tcbuffer + AS 'MODULE_PATHNAME', 'NAI_tcbuffer_tcbuffer' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/*****************************************************************************/ + +CREATE FUNCTION nearestApproachDistance(geometry, tcbuffer) + RETURNS float + AS 'MODULE_PATHNAME', 'NAD_geo_tcbuffer' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION nearestApproachDistance(stbox, tcbuffer) + RETURNS float + AS 'SELECT @extschema@.nearestApproachDistance(geometry($1), $2)' + LANGUAGE SQL IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION nearestApproachDistance(cbuffer, tcbuffer) + RETURNS float + AS 'MODULE_PATHNAME', 'NAD_cbuffer_tcbuffer' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION nearestApproachDistance(tcbuffer, geometry) + RETURNS float + AS 'MODULE_PATHNAME', 'NAD_tcbuffer_geo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION nearestApproachDistance(tcbuffer, stbox) + RETURNS float + AS 'SELECT @extschema@.nearestApproachDistance($1, geometry($2))' + LANGUAGE SQL IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION nearestApproachDistance(tcbuffer, cbuffer) + RETURNS float + AS 'SELECT @extschema@.nearestApproachDistance($1, geometry($2))' + LANGUAGE SQL IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION nearestApproachDistance(tcbuffer, tcbuffer) + RETURNS float + AS 'MODULE_PATHNAME', 'NAD_tcbuffer_tcbuffer' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR |=| ( + LEFTARG = geometry, RIGHTARG = tcbuffer, + PROCEDURE = nearestApproachDistance, + COMMUTATOR = '|=|' +); +CREATE OPERATOR |=| ( + LEFTARG = tcbuffer, RIGHTARG = geometry, + PROCEDURE = nearestApproachDistance, + COMMUTATOR = '|=|' +); +CREATE OPERATOR |=| ( + LEFTARG = stbox, RIGHTARG = tcbuffer, + PROCEDURE = nearestApproachDistance, + COMMUTATOR = '|=|' +); +CREATE OPERATOR |=| ( + LEFTARG = tcbuffer, RIGHTARG = stbox, + PROCEDURE = nearestApproachDistance, + COMMUTATOR = '|=|' +); +CREATE OPERATOR |=| ( + LEFTARG = cbuffer, RIGHTARG = tcbuffer, + PROCEDURE = nearestApproachDistance, + COMMUTATOR = '|=|' +); +CREATE OPERATOR |=| ( + LEFTARG = tcbuffer, RIGHTARG = cbuffer, + PROCEDURE = nearestApproachDistance, + COMMUTATOR = '|=|' +); +CREATE OPERATOR |=| ( + LEFTARG = tcbuffer, RIGHTARG = tcbuffer, + PROCEDURE = nearestApproachDistance, + COMMUTATOR = '|=|' +); + +/*****************************************************************************/ + +CREATE FUNCTION shortestLine(geometry, tcbuffer) + RETURNS geometry + AS 'MODULE_PATHNAME', 'Shortestline_geo_tcbuffer' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION shortestLine(stbox, tcbuffer) + RETURNS geometry + AS 'SELECT @extschema@.shortestLine(geometry($1), $2)' + LANGUAGE SQL IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION shortestLine(cbuffer, tcbuffer) + RETURNS geometry + AS 'SELECT @extschema@.shortestLine(geometry($1), $2)' + LANGUAGE SQL IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION shortestLine(tcbuffer, geometry) + RETURNS geometry + AS 'MODULE_PATHNAME', 'Shortestline_tcbuffer_geo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION shortestLine(tcbuffer, stbox) + RETURNS geometry + AS 'SELECT @extschema@.shortestLine($1, geometry($2))' + LANGUAGE SQL IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION shortestLine(tcbuffer, cbuffer) + RETURNS geometry + AS 'SELECT @extschema@.shortestLine($1, geometry($2))' + LANGUAGE SQL IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION shortestLine(tcbuffer, tcbuffer) + RETURNS geometry + AS 'MODULE_PATHNAME', 'Shortestline_tcbuffer_tcbuffer' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/*****************************************************************************/ diff --git a/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/cbuffer/161_tcbuffer_aggfuncs.in.sql b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/cbuffer/161_tcbuffer_aggfuncs.in.sql new file mode 100644 index 00000000..0cea9803 --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/cbuffer/161_tcbuffer_aggfuncs.in.sql @@ -0,0 +1,155 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @file + * @brief Aggregate functions for temporal circular buffers + */ + +-- The function is not strict +CREATE FUNCTION tcount_transfn(internal, tcbuffer) + RETURNS internal + AS 'MODULE_PATHNAME', 'Temporal_tcount_transfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; + +CREATE AGGREGATE tcount(tcbuffer) ( + SFUNC = tcount_transfn, + STYPE = internal, + COMBINEFUNC = tcount_combinefn, + FINALFUNC = tint_tagg_finalfn, + SERIALFUNC = taggstate_serialize, + DESERIALFUNC = taggstate_deserialize, + PARALLEL = SAFE +); + +-- The function is not strict +CREATE FUNCTION wcount_transfn(internal, tcbuffer, interval) + RETURNS internal + AS 'MODULE_PATHNAME', 'Temporal_wcount_transfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; + +CREATE AGGREGATE wcount(tcbuffer, interval) ( + SFUNC = wcount_transfn, + STYPE = internal, + COMBINEFUNC = tint_tsum_combinefn, + FINALFUNC = tint_tagg_finalfn, + SERIALFUNC = taggstate_serialize, + DESERIALFUNC = taggstate_deserialize, + PARALLEL = SAFE +); + +/*****************************************************************************/ + +-- The function is not strict +CREATE FUNCTION temporal_merge_transfn(internal, tcbuffer) + RETURNS internal + AS 'MODULE_PATHNAME', 'Temporal_merge_transfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION tcbuffer_tagg_finalfn(internal) + RETURNS tcbuffer + AS 'MODULE_PATHNAME', 'Temporal_tagg_finalfn' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE AGGREGATE merge(tcbuffer) ( + SFUNC = temporal_merge_transfn, + STYPE = internal, + COMBINEFUNC = temporal_merge_combinefn, + FINALFUNC = tcbuffer_tagg_finalfn, + SERIALFUNC = taggstate_serialize, + DESERIALFUNC = taggstate_deserialize, + PARALLEL = safe +); + +/***************************************************************************** + * Append tinstant aggregate functions + *****************************************************************************/ + +-- The function is not STRICT +CREATE FUNCTION temporal_app_tinst_transfn(tcbuffer, tcbuffer) + RETURNS tcbuffer + AS 'MODULE_PATHNAME', 'Temporal_app_tinst_transfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; + +-- The function is not STRICT +CREATE FUNCTION temporal_app_tinst_transfn(tcbuffer, tcbuffer, + interp text DEFAULT NULL) + RETURNS tcbuffer + AS 'MODULE_PATHNAME', 'Temporal_app_tinst_transfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; + +-- The function is not STRICT +CREATE FUNCTION temporal_app_tinst_transfn(tcbuffer, tcbuffer, + interp text DEFAULT NULL, maxdist float DEFAULT NULL, + maxt interval DEFAULT NULL) + RETURNS tcbuffer + AS 'MODULE_PATHNAME', 'Temporal_app_tinst_transfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; + +CREATE FUNCTION temporal_append_finalfn(tcbuffer) + RETURNS tcbuffer + AS 'MODULE_PATHNAME', 'Temporal_append_finalfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; + +CREATE AGGREGATE appendInstant(tcbuffer) ( + SFUNC = temporal_app_tinst_transfn, + STYPE = tcbuffer, + FINALFUNC = temporal_append_finalfn, + PARALLEL = safe +); + +CREATE AGGREGATE appendInstant(tcbuffer, text) ( + SFUNC = temporal_app_tinst_transfn, + STYPE = tcbuffer, + FINALFUNC = temporal_append_finalfn, + PARALLEL = safe +); + +CREATE AGGREGATE appendInstant(tcbuffer, text, float, interval) ( + SFUNC = temporal_app_tinst_transfn, + STYPE = tcbuffer, + FINALFUNC = temporal_append_finalfn, + PARALLEL = safe +); + +/*****************************************************************************/ + +-- The function is not STRICT +CREATE FUNCTION temporal_app_tseq_transfn(tcbuffer, tcbuffer) + RETURNS tcbuffer + AS 'MODULE_PATHNAME', 'Temporal_app_tseq_transfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; + +CREATE AGGREGATE appendSequence(tcbuffer) ( + SFUNC = temporal_app_tseq_transfn, + STYPE = tcbuffer, + FINALFUNC = temporal_append_finalfn, + PARALLEL = safe +); + +/*****************************************************************************/ diff --git a/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/cbuffer/162_tcbuffer_spatialrels.in.sql b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/cbuffer/162_tcbuffer_spatialrels.in.sql new file mode 100644 index 00000000..1172008f --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/cbuffer/162_tcbuffer_spatialrels.in.sql @@ -0,0 +1,364 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @file + * @brief Spatial relationships for temporal circular buffers + * @details These relationships are generalized to the temporal dimension with + * the "ever" and "always" semantics, and return a Boolean. + * + * The following relationships are supported: + * `eContains`, `aContains`, `eDisjoint`, `aDisjoint`, `eIntersects`, + * `aIntersects`, `eTouches`, `aTouches`, `eDwithin`, and `aDwithin` + * All these relationships, excepted `eDisjoint`, will automatically perform + * a bounding box comparison that will make use of any spatial, temporal, or + * spatiotemporal indexes that are available. + */ + +/***************************************************************************** + * eContains, aContains + *****************************************************************************/ + +/* eContains(geometry, tcbuffer) is not supported */ + +CREATE FUNCTION eContains(cbuffer, tcbuffer) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Econtains_cbuffer_tcbuffer' + SUPPORT tspatial_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION eContains(tcbuffer, geometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Econtains_tcbuffer_geo' + SUPPORT tspatial_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION eContains(tcbuffer, cbuffer) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Econtains_tcbuffer_cbuffer' + SUPPORT tspatial_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/*****************************************************************************/ + +CREATE FUNCTION aContains(geometry, tcbuffer) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Acontains_geo_tcbuffer' + SUPPORT tspatial_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION aContains(cbuffer, tcbuffer) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Acontains_cbuffer_tcbuffer' + SUPPORT tspatial_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION aContains(tcbuffer, geometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Acontains_tcbuffer_geo' + SUPPORT tspatial_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION aContains(tcbuffer, cbuffer) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Acontains_tcbuffer_cbuffer' + SUPPORT tspatial_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/***************************************************************************** + * eCovers, aCovers + *****************************************************************************/ + +/* eCovers(geometry, tcbuffer) is not supported */ + +CREATE FUNCTION eCovers(cbuffer, tcbuffer) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Ecovers_cbuffer_tcbuffer' + SUPPORT tspatial_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION eCovers(tcbuffer, geometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Ecovers_tcbuffer_geo' + SUPPORT tspatial_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION eCovers(tcbuffer, cbuffer) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Ecovers_tcbuffer_cbuffer' + SUPPORT tspatial_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/*****************************************************************************/ + +CREATE FUNCTION aCovers(geometry, tcbuffer) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Acovers_geo_tcbuffer' + SUPPORT tspatial_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION aCovers(cbuffer, tcbuffer) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Acovers_cbuffer_tcbuffer' + SUPPORT tspatial_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION aCovers(tcbuffer, geometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Acovers_tcbuffer_geo' + SUPPORT tspatial_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION aCovers(tcbuffer, cbuffer) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Acovers_tcbuffer_cbuffer' + SUPPORT tspatial_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/***************************************************************************** + * eDisjoint, aDisjoint + *****************************************************************************/ + +CREATE FUNCTION eDisjoint(geometry, tcbuffer) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Edisjoint_geo_tcbuffer' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION eDisjoint(cbuffer, tcbuffer) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Edisjoint_cbuffer_tcbuffer' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION eDisjoint(tcbuffer, geometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Edisjoint_tcbuffer_geo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION eDisjoint(tcbuffer, cbuffer) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Edisjoint_tcbuffer_cbuffer' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION eDisjoint(tcbuffer, tcbuffer) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Edisjoint_tcbuffer_tcbuffer' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/*****************************************************************************/ + +CREATE FUNCTION aDisjoint(geometry, tcbuffer) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Adisjoint_geo_tcbuffer' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION aDisjoint(cbuffer, tcbuffer) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Adisjoint_cbuffer_tcbuffer' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION aDisjoint(tcbuffer, geometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Adisjoint_tcbuffer_geo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION aDisjoint(tcbuffer, cbuffer) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Adisjoint_tcbuffer_cbuffer' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION aDisjoint(tcbuffer, tcbuffer) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Adisjoint_tcbuffer_tcbuffer' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/***************************************************************************** + * eIntersects, aIntersects + *****************************************************************************/ + +CREATE FUNCTION eintersects(cbuffer, tcbuffer) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Eintersects_cbuffer_tcbuffer' + SUPPORT tspatial_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION eintersects(tcbuffer, cbuffer) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Eintersects_tcbuffer_cbuffer' + SUPPORT tspatial_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION eIntersects(geometry, tcbuffer) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Eintersects_geo_tcbuffer' + SUPPORT tspatial_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION eIntersects(tcbuffer, geometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Eintersects_tcbuffer_geo' + SUPPORT tspatial_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION eIntersects(tcbuffer, tcbuffer) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Eintersects_tcbuffer_tcbuffer' + SUPPORT tspatial_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/*****************************************************************************/ + +CREATE FUNCTION aIntersects(cbuffer, tcbuffer) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Aintersects_cbuffer_tcbuffer' + SUPPORT tspatial_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION aIntersects(tcbuffer, cbuffer) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Aintersects_tcbuffer_cbuffer' + SUPPORT tspatial_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION aIntersects(geometry, tcbuffer) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Aintersects_geo_tcbuffer' + SUPPORT tspatial_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION aIntersects(tcbuffer, geometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Aintersects_tcbuffer_geo' + SUPPORT tspatial_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION aIntersects(tcbuffer, tcbuffer) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Aintersects_tcbuffer_tcbuffer' + SUPPORT tspatial_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/***************************************************************************** + * eTouches, aTouches + *****************************************************************************/ + +CREATE FUNCTION eTouches(cbuffer, tcbuffer) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Etouches_cbuffer_tcbuffer' + SUPPORT tspatial_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION eTouches(tcbuffer, cbuffer) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Etouches_tcbuffer_cbuffer' + SUPPORT tspatial_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION eTouches(geometry, tcbuffer) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Etouches_geo_tcbuffer' + SUPPORT tspatial_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION eTouches(tcbuffer, geometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Etouches_tcbuffer_geo' + SUPPORT tspatial_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/*****************************************************************************/ + +CREATE FUNCTION aTouches(cbuffer, tcbuffer) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Atouches_cbuffer_tcbuffer' + SUPPORT tspatial_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION aTouches(tcbuffer, cbuffer) + RETURNS boolean + SUPPORT tspatial_supportfn + AS 'MODULE_PATHNAME', 'Atouches_tcbuffer_cbuffer' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION aTouches(geometry, tcbuffer) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Atouches_geo_tcbuffer' + SUPPORT tspatial_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION aTouches(tcbuffer, geometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Atouches_tcbuffer_geo' + SUPPORT tspatial_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/***************************************************************************** + * eDwithin, aDwithin + *****************************************************************************/ + +CREATE FUNCTION eDwithin(cbuffer, tcbuffer, dist float) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Edwithin_cbuffer_tcbuffer' + SUPPORT tspatial_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION eDwithin(tcbuffer, cbuffer, dist float) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Edwithin_tcbuffer_cbuffer' + SUPPORT tspatial_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION eDwithin(geometry, tcbuffer, dist float) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Edwithin_geo_tcbuffer' + SUPPORT tspatial_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION eDwithin(tcbuffer, geometry, dist float) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Edwithin_tcbuffer_geo' + SUPPORT tspatial_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION eDwithin(tcbuffer, tcbuffer, dist float) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Edwithin_tcbuffer_tcbuffer' + SUPPORT tspatial_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/*****************************************************************************/ + +CREATE FUNCTION aDwithin(cbuffer, tcbuffer, dist float) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Adwithin_cbuffer_tcbuffer' + SUPPORT tspatial_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION aDwithin(tcbuffer, cbuffer, dist float) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Adwithin_tcbuffer_cbuffer' + SUPPORT tspatial_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION aDwithin(geometry, tcbuffer, dist float) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Adwithin_geo_tcbuffer' + SUPPORT tspatial_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION aDwithin(tcbuffer, geometry, dist float) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Adwithin_tcbuffer_geo' + SUPPORT tspatial_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION aDwithin(tcbuffer, tcbuffer, dist float) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Adwithin_tcbuffer_tcbuffer' + SUPPORT tspatial_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/*****************************************************************************/ diff --git a/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/cbuffer/164_tcbuffer_tempspatialrels.in.sql b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/cbuffer/164_tcbuffer_tempspatialrels.in.sql new file mode 100644 index 00000000..60814347 --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/cbuffer/164_tcbuffer_tempspatialrels.in.sql @@ -0,0 +1,186 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @file + * @brief Temporal spatial relationships for temporal circurlar buffers + */ + +/***************************************************************************** + * tContains + *****************************************************************************/ + +CREATE FUNCTION tContains(cbuffer, tcbuffer) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Tcontains_cbuffer_tcbuffer' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tContains(tcbuffer, cbuffer) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Tcontains_tcbuffer_cbuffer' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tContains(geometry, tcbuffer) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Tcontains_geo_tcbuffer' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tContains(tcbuffer, geometry) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Tcontains_tcbuffer_geo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tContains(tcbuffer, tcbuffer) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Tcontains_tcbuffer_tcbuffer' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/***************************************************************************** + * tContains + *****************************************************************************/ + +CREATE FUNCTION tCovers(cbuffer, tcbuffer) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Tcovers_cbuffer_tcbuffer' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tCovers(tcbuffer, cbuffer) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Tcovers_tcbuffer_cbuffer' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tCovers(geometry, tcbuffer) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Tcovers_geo_tcbuffer' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tCovers(tcbuffer, geometry) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Tcovers_tcbuffer_geo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tCovers(tcbuffer, tcbuffer) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Tcovers_tcbuffer_tcbuffer' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/***************************************************************************** + * tDisjoint + *****************************************************************************/ + +CREATE FUNCTION tDisjoint(cbuffer, tcbuffer) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Tdisjoint_cbuffer_tcbuffer' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tDisjoint(tcbuffer, cbuffer) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Tdisjoint_tcbuffer_cbuffer' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tDisjoint(geometry, tcbuffer) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Tdisjoint_geo_tcbuffer' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tDisjoint(tcbuffer, geometry) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Tdisjoint_tcbuffer_geo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tDisjoint(tcbuffer, tcbuffer) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Tdisjoint_tcbuffer_tcbuffer' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/***************************************************************************** + * tIntersects + *****************************************************************************/ + +CREATE FUNCTION tIntersects(cbuffer, tcbuffer) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Tintersects_cbuffer_tcbuffer' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tIntersects(tcbuffer, cbuffer) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Tintersects_tcbuffer_cbuffer' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tIntersects(geometry, tcbuffer) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Tintersects_geo_tcbuffer' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tIntersects(tcbuffer, geometry) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Tintersects_tcbuffer_geo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tIntersects(tcbuffer, tcbuffer) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Tintersects_tcbuffer_tcbuffer' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/***************************************************************************** + * tTouches + *****************************************************************************/ + +CREATE FUNCTION tTouches(cbuffer, tcbuffer) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Ttouches_cbuffer_tcbuffer' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tTouches(tcbuffer, cbuffer) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Ttouches_tcbuffer_cbuffer' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tTouches(geometry, tcbuffer) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Ttouches_geo_tcbuffer' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tTouches(tcbuffer, geometry) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Ttouches_tcbuffer_geo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tTouches(tcbuffer, tcbuffer) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Ttouches_tcbuffer_tcbuffer' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/***************************************************************************** + * tDwithin + *****************************************************************************/ + +CREATE FUNCTION tDwithin(cbuffer, tcbuffer, dist float) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Tdwithin_cbuffer_tcbuffer' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +-- The function is not strict +CREATE FUNCTION tDwithin(tcbuffer, cbuffer, dist float) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Tdwithin_tcbuffer_cbuffer' + LANGUAGE C IMMUTABLE PARALLEL SAFE; +-- CREATE FUNCTION tDwithin(geometry, tcbuffer, dist float) + -- RETURNS tbool + -- AS 'MODULE_PATHNAME', 'Tdwithin_geo_tcbuffer' + -- LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +-- CREATE FUNCTION tDwithin(tcbuffer, geometry, dist float) + -- RETURNS tbool + -- AS 'MODULE_PATHNAME', 'Tdwithin_tcbuffer_geo' + -- LANGUAGE C IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION tDwithin(tcbuffer, tcbuffer, dist float) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Tdwithin_tcbuffer_tcbuffer' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/*****************************************************************************/ diff --git a/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/cbuffer/166_tcbuffer_indexes.in.sql b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/cbuffer/166_tcbuffer_indexes.in.sql new file mode 100644 index 00000000..61dda3e3 --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/cbuffer/166_tcbuffer_indexes.in.sql @@ -0,0 +1,266 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @file + * @brief R-tree GiST and SP-GiST indexes for temporal circular buffers + */ + +/******************************************************************************/ + +CREATE FUNCTION tcbuffer_gist_consistent(internal, tcbuffer, smallint, oid, internal) + RETURNS bool + AS 'MODULE_PATHNAME', 'Stbox_gist_consistent' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/******************************************************************************/ + +CREATE OPERATOR CLASS tcbuffer_rtree_ops + DEFAULT FOR TYPE tcbuffer USING gist AS + STORAGE stbox, + -- strictly left + OPERATOR 1 << (tcbuffer, stbox), + OPERATOR 1 << (tcbuffer, tcbuffer), + -- overlaps or left + OPERATOR 2 &< (tcbuffer, stbox), + OPERATOR 2 &< (tcbuffer, tcbuffer), + -- overlaps + OPERATOR 3 && (tcbuffer, tstzspan), + OPERATOR 3 && (tcbuffer, stbox), + OPERATOR 3 && (tcbuffer, tcbuffer), + -- overlaps or right + OPERATOR 4 &> (tcbuffer, stbox), + OPERATOR 4 &> (tcbuffer, tcbuffer), + -- strictly right + OPERATOR 5 >> (tcbuffer, stbox), + OPERATOR 5 >> (tcbuffer, tcbuffer), + -- same + OPERATOR 6 ~= (tcbuffer, tstzspan), + OPERATOR 6 ~= (tcbuffer, stbox), + OPERATOR 6 ~= (tcbuffer, tcbuffer), + -- contains + OPERATOR 7 @> (tcbuffer, tstzspan), + OPERATOR 7 @> (tcbuffer, stbox), + OPERATOR 7 @> (tcbuffer, tcbuffer), + -- contained by + OPERATOR 8 <@ (tcbuffer, tstzspan), + OPERATOR 8 <@ (tcbuffer, stbox), + OPERATOR 8 <@ (tcbuffer, tcbuffer), + -- overlaps or below + OPERATOR 9 &<| (tcbuffer, stbox), + OPERATOR 9 &<| (tcbuffer, tcbuffer), + -- strictly below + OPERATOR 10 <<| (tcbuffer, stbox), + OPERATOR 10 <<| (tcbuffer, tcbuffer), + -- strictly above + OPERATOR 11 |>> (tcbuffer, stbox), + OPERATOR 11 |>> (tcbuffer, tcbuffer), + -- overlaps or above + OPERATOR 12 |&> (tcbuffer, stbox), + OPERATOR 12 |&> (tcbuffer, tcbuffer), + -- adjacent + OPERATOR 17 -|- (tcbuffer, tstzspan), + OPERATOR 17 -|- (tcbuffer, stbox), + OPERATOR 17 -|- (tcbuffer, tcbuffer), + -- nearest approach distance +-- OPERATOR 25 |=| (tcbuffer, stbox) FOR ORDER BY pg_catalog.float_ops, + -- overlaps or before + OPERATOR 28 &<# (tcbuffer, tstzspan), + OPERATOR 28 &<# (tcbuffer, stbox), + OPERATOR 28 &<# (tcbuffer, tcbuffer), + -- strictly before + OPERATOR 29 <<# (tcbuffer, tstzspan), + OPERATOR 29 <<# (tcbuffer, stbox), + OPERATOR 29 <<# (tcbuffer, tcbuffer), + -- strictly after + OPERATOR 30 #>> (tcbuffer, tstzspan), + OPERATOR 30 #>> (tcbuffer, stbox), + OPERATOR 30 #>> (tcbuffer, tcbuffer), + -- overlaps or after + OPERATOR 31 #&> (tcbuffer, tstzspan), + OPERATOR 31 #&> (tcbuffer, stbox), + OPERATOR 31 #&> (tcbuffer, tcbuffer), + -- functions + FUNCTION 1 tcbuffer_gist_consistent(internal, tcbuffer, smallint, oid, internal), + FUNCTION 2 stbox_gist_union(internal, internal), + FUNCTION 3 tspatial_gist_compress(internal), + FUNCTION 5 stbox_gist_penalty(internal, internal, internal), + FUNCTION 6 stbox_gist_picksplit(internal, internal), + FUNCTION 7 stbox_gist_same(stbox, stbox, internal); +-- FUNCTION 8 gist_tcbuffer_distance(internal, tcbuffer, smallint, oid, internal), + +/******************************************************************************/ + +CREATE OPERATOR CLASS tcbuffer_quadtree_ops + DEFAULT FOR TYPE tcbuffer USING spgist AS + -- strictly left + OPERATOR 1 << (tcbuffer, stbox), + OPERATOR 1 << (tcbuffer, tcbuffer), + -- overlaps or left + OPERATOR 2 &< (tcbuffer, stbox), + OPERATOR 2 &< (tcbuffer, tcbuffer), + -- overlaps + OPERATOR 3 && (tcbuffer, tstzspan), + OPERATOR 3 && (tcbuffer, stbox), + OPERATOR 3 && (tcbuffer, tcbuffer), + -- overlaps or right + OPERATOR 4 &> (tcbuffer, stbox), + OPERATOR 4 &> (tcbuffer, tcbuffer), + -- strictly right + OPERATOR 5 >> (tcbuffer, stbox), + OPERATOR 5 >> (tcbuffer, tcbuffer), + -- same + OPERATOR 6 ~= (tcbuffer, tstzspan), + OPERATOR 6 ~= (tcbuffer, stbox), + OPERATOR 6 ~= (tcbuffer, tcbuffer), + -- contains + OPERATOR 7 @> (tcbuffer, tstzspan), + OPERATOR 7 @> (tcbuffer, stbox), + OPERATOR 7 @> (tcbuffer, tcbuffer), + -- contained by + OPERATOR 8 <@ (tcbuffer, tstzspan), + OPERATOR 8 <@ (tcbuffer, stbox), + OPERATOR 8 <@ (tcbuffer, tcbuffer), + -- overlaps or below + OPERATOR 9 &<| (tcbuffer, stbox), + OPERATOR 9 &<| (tcbuffer, tcbuffer), + -- strictly below + OPERATOR 10 <<| (tcbuffer, stbox), + OPERATOR 10 <<| (tcbuffer, tcbuffer), + -- strictly above + OPERATOR 11 |>> (tcbuffer, stbox), + OPERATOR 11 |>> (tcbuffer, tcbuffer), + -- overlaps or above + OPERATOR 12 |&> (tcbuffer, stbox), + OPERATOR 12 |&> (tcbuffer, tcbuffer), + -- adjacent + OPERATOR 17 -|- (tcbuffer, tstzspan), + OPERATOR 17 -|- (tcbuffer, stbox), + OPERATOR 17 -|- (tcbuffer, tcbuffer), + -- nearest approach distance +-- OPERATOR 25 |=| (tcbuffer, stbox) FOR ORDER BY pg_catalog.float_ops, + -- overlaps or before + OPERATOR 28 &<# (tcbuffer, tstzspan), + OPERATOR 28 &<# (tcbuffer, stbox), + OPERATOR 28 &<# (tcbuffer, tcbuffer), + -- strictly before + OPERATOR 29 <<# (tcbuffer, tstzspan), + OPERATOR 29 <<# (tcbuffer, stbox), + OPERATOR 29 <<# (tcbuffer, tcbuffer), + -- strictly after + OPERATOR 30 #>> (tcbuffer, tstzspan), + OPERATOR 30 #>> (tcbuffer, stbox), + OPERATOR 30 #>> (tcbuffer, tcbuffer), + -- overlaps or after + OPERATOR 31 #&> (tcbuffer, tstzspan), + OPERATOR 31 #&> (tcbuffer, stbox), + OPERATOR 31 #&> (tcbuffer, tcbuffer), + -- functions + FUNCTION 1 stbox_spgist_config(internal, internal), + FUNCTION 2 stbox_quadtree_choose(internal, internal), + FUNCTION 3 stbox_quadtree_picksplit(internal, internal), + FUNCTION 4 stbox_quadtree_inner_consistent(internal, internal), + FUNCTION 5 stbox_spgist_leaf_consistent(internal, internal), + FUNCTION 6 tspatial_spgist_compress(internal); + +/******************************************************************************/ + +CREATE OPERATOR CLASS tcbuffer_kdtree_ops + FOR TYPE tcbuffer USING spgist AS + -- strictly left + OPERATOR 1 << (tcbuffer, stbox), + OPERATOR 1 << (tcbuffer, tcbuffer), + -- overlaps or left + OPERATOR 2 &< (tcbuffer, stbox), + OPERATOR 2 &< (tcbuffer, tcbuffer), + -- overlaps + OPERATOR 3 && (tcbuffer, tstzspan), + OPERATOR 3 && (tcbuffer, stbox), + OPERATOR 3 && (tcbuffer, tcbuffer), + -- overlaps or right + OPERATOR 4 &> (tcbuffer, stbox), + OPERATOR 4 &> (tcbuffer, tcbuffer), + -- strictly right + OPERATOR 5 >> (tcbuffer, stbox), + OPERATOR 5 >> (tcbuffer, tcbuffer), + -- same + OPERATOR 6 ~= (tcbuffer, tstzspan), + OPERATOR 6 ~= (tcbuffer, stbox), + OPERATOR 6 ~= (tcbuffer, tcbuffer), + -- contains + OPERATOR 7 @> (tcbuffer, tstzspan), + OPERATOR 7 @> (tcbuffer, stbox), + OPERATOR 7 @> (tcbuffer, tcbuffer), + -- contained by + OPERATOR 8 <@ (tcbuffer, tstzspan), + OPERATOR 8 <@ (tcbuffer, stbox), + OPERATOR 8 <@ (tcbuffer, tcbuffer), + -- overlaps or below + OPERATOR 9 &<| (tcbuffer, stbox), + OPERATOR 9 &<| (tcbuffer, tcbuffer), + -- strictly below + OPERATOR 10 <<| (tcbuffer, stbox), + OPERATOR 10 <<| (tcbuffer, tcbuffer), + -- strictly above + OPERATOR 11 |>> (tcbuffer, stbox), + OPERATOR 11 |>> (tcbuffer, tcbuffer), + -- overlaps or above + OPERATOR 12 |&> (tcbuffer, stbox), + OPERATOR 12 |&> (tcbuffer, tcbuffer), + -- adjacent + OPERATOR 17 -|- (tcbuffer, tstzspan), + OPERATOR 17 -|- (tcbuffer, stbox), + OPERATOR 17 -|- (tcbuffer, tcbuffer), + -- nearest approach distance +-- OPERATOR 25 |=| (tcbuffer, stbox) FOR ORDER BY pg_catalog.float_ops, + -- overlaps or before + OPERATOR 28 &<# (tcbuffer, tstzspan), + OPERATOR 28 &<# (tcbuffer, stbox), + OPERATOR 28 &<# (tcbuffer, tcbuffer), + -- strictly before + OPERATOR 29 <<# (tcbuffer, tstzspan), + OPERATOR 29 <<# (tcbuffer, stbox), + OPERATOR 29 <<# (tcbuffer, tcbuffer), + -- strictly after + OPERATOR 30 #>> (tcbuffer, tstzspan), + OPERATOR 30 #>> (tcbuffer, stbox), + OPERATOR 30 #>> (tcbuffer, tcbuffer), + -- overlaps or after + OPERATOR 31 #&> (tcbuffer, tstzspan), + OPERATOR 31 #&> (tcbuffer, stbox), + OPERATOR 31 #&> (tcbuffer, tcbuffer), + -- functions + FUNCTION 1 stbox_spgist_config(internal, internal), + FUNCTION 2 stbox_kdtree_choose(internal, internal), + FUNCTION 3 stbox_kdtree_picksplit(internal, internal), + FUNCTION 4 stbox_kdtree_inner_consistent(internal, internal), + FUNCTION 5 stbox_spgist_leaf_consistent(internal, internal), + FUNCTION 6 tspatial_spgist_compress(internal); + +/******************************************************************************/ diff --git a/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/cbuffer/CMakeLists.txt b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/cbuffer/CMakeLists.txt new file mode 100644 index 00000000..7cade2db --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/cbuffer/CMakeLists.txt @@ -0,0 +1,23 @@ +SET(LOCAL_FILES + 150_cbuffer + 151_cbufferset + 152_tcbuffer + # 153_tcbuffer_inout + 154_tcbuffer_compops + 155_tcbuffer_spatialfuncs + 158_tcbuffer_topops + 159_tcbuffer_posops + 160_tcbuffer_distance + 161_tcbuffer_aggfuncs + 162_tcbuffer_spatialrels + 164_tcbuffer_tempspatialrels + 166_tcbuffer_indexes + ) + +foreach (f ${LOCAL_FILES}) + process_file(${f} ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR}) + configure_file(${CMAKE_CURRENT_BINARY_DIR}/${f}.sql.in ${CMAKE_BINARY_DIR}/MobilityDB/sql/${f}.sql @ONLY) + list(APPEND PACKAGE_SQL_FILES ${CMAKE_BINARY_DIR}/MobilityDB/sql/${f}.sql) +endforeach() + +set(PROJECT_SQL_FILES ${PROJECT_SQL_FILES} ${PACKAGE_SQL_FILES} PARENT_SCOPE) diff --git a/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/geo/050_geoset.in.sql b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/geo/050_geoset.in.sql new file mode 100644 index 00000000..2404117e --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/geo/050_geoset.in.sql @@ -0,0 +1,944 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @file + * @brief Functions for set of geometry/geography values + */ + +/****************************************************************************** + * Input/Output + ******************************************************************************/ + +CREATE TYPE geomset; +CREATE TYPE geogset; + +CREATE FUNCTION geomset_in(cstring) + RETURNS geomset + AS 'MODULE_PATHNAME', 'Set_in' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION geomset_out(geomset) + RETURNS cstring + AS 'MODULE_PATHNAME', 'Set_out' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION geomset_recv(internal) + RETURNS geomset + AS 'MODULE_PATHNAME', 'Set_recv' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION geomset_send(geomset) + RETURNS bytea + AS 'MODULE_PATHNAME', 'Set_send' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION geogset_in(cstring) + RETURNS geogset + AS 'MODULE_PATHNAME', 'Set_in' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION geogset_out(geogset) + RETURNS cstring + AS 'MODULE_PATHNAME', 'Set_out' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION geogset_recv(internal) + RETURNS geogset + AS 'MODULE_PATHNAME', 'Set_recv' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION geogset_send(geogset) + RETURNS bytea + AS 'MODULE_PATHNAME', 'Set_send' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION spatialset_analyze(internal) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Spatialset_analyze' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE TYPE geomset ( + internallength = variable, + input = geomset_in, + output = geomset_out, + receive = geomset_recv, + send = geomset_send, + alignment = double, + storage = extended, + analyze = spatialset_analyze +); + +CREATE TYPE geogset ( + internallength = variable, + input = geogset_in, + output = geogset_out, + receive = geogset_recv, + send = geogset_send, + alignment = double, + storage = extended, + analyze = spatialset_analyze +); + +/******************************************************************************/ + +-- Input/output in WKB and HexWKB representation + +CREATE FUNCTION geomsetFromText(text) + RETURNS geomset + AS 'MODULE_PATHNAME', 'Spatialset_from_ewkt' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION geomsetFromEWKT(text) + RETURNS geomset + AS 'MODULE_PATHNAME', 'Spatialset_from_ewkt' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION geogsetFromText(text) + RETURNS geogset + AS 'MODULE_PATHNAME', 'Spatialset_from_ewkt' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION geogsetFromEWKT(text) + RETURNS geogset + AS 'MODULE_PATHNAME', 'Spatialset_from_ewkt' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION geomsetFromBinary(bytea) + RETURNS geomset + AS 'MODULE_PATHNAME', 'Set_from_wkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION geomsetFromEWKB(bytea) + RETURNS geomset + AS 'MODULE_PATHNAME', 'Set_from_wkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION geomsetFromHexWKB(text) + RETURNS geomset + AS 'MODULE_PATHNAME', 'Set_from_hexwkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION geogsetFromBinary(bytea) + RETURNS geogset + AS 'MODULE_PATHNAME', 'Set_from_wkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION geogsetFromEWKB(bytea) + RETURNS geogset + AS 'MODULE_PATHNAME', 'Set_from_wkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION geogsetFromHexWKB(text) + RETURNS geogset + AS 'MODULE_PATHNAME', 'Set_from_hexwkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION asText(geomset, maxdecimaldigits int4 DEFAULT 15) + RETURNS text + AS 'MODULE_PATHNAME', 'Spatialset_as_text' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION asEWKT(geomset, maxdecimaldigits int4 DEFAULT 15) + RETURNS text + AS 'MODULE_PATHNAME', 'Spatialset_as_ewkt' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION asText(geogset, maxdecimaldigits int4 DEFAULT 15) + RETURNS text + AS 'MODULE_PATHNAME', 'Spatialset_as_text' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION asEWKT(geogset, maxdecimaldigits int4 DEFAULT 15) + RETURNS text + AS 'MODULE_PATHNAME', 'Spatialset_as_ewkt' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION asBinary(geomset, endianenconding text DEFAULT '') + RETURNS bytea + AS 'MODULE_PATHNAME', 'Set_as_wkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION asHexWKB(geomset, endianenconding text DEFAULT '') + RETURNS text + AS 'MODULE_PATHNAME', 'Set_as_hexwkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION asBinary(geogset, endianenconding text DEFAULT '') + RETURNS bytea + AS 'MODULE_PATHNAME', 'Set_as_wkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION asHexWKB(geogset, endianenconding text DEFAULT '') + RETURNS text + AS 'MODULE_PATHNAME', 'Set_as_hexwkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/****************************************************************************** + * Constructor + ******************************************************************************/ + +CREATE FUNCTION set(geometry[]) + RETURNS geomset + AS 'MODULE_PATHNAME', 'Set_constructor' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set(geography[]) + RETURNS geogset + AS 'MODULE_PATHNAME', 'Set_constructor' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/****************************************************************************** + * Conversion functions + ******************************************************************************/ + +CREATE FUNCTION set(geometry) + RETURNS geomset + AS 'MODULE_PATHNAME', 'Value_to_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set(geography) + RETURNS geogset + AS 'MODULE_PATHNAME', 'Value_to_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE CAST (geometry AS geomset) WITH FUNCTION set(geometry); +CREATE CAST (geography AS geogset) WITH FUNCTION set(geography); + +/****************************************************************************** + * Accessor functions + ******************************************************************************/ + +CREATE FUNCTION memSize(geomset) + RETURNS integer + AS 'MODULE_PATHNAME', 'Set_mem_size' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION memSize(geogset) + RETURNS integer + AS 'MODULE_PATHNAME', 'Set_mem_size' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION numValues(geomset) + RETURNS integer + AS 'MODULE_PATHNAME', 'Set_num_values' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION numValues(geogset) + RETURNS integer + AS 'MODULE_PATHNAME', 'Set_num_values' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION startValue(geomset) + RETURNS geometry + AS 'MODULE_PATHNAME', 'Set_start_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION startValue(geogset) + RETURNS geography + AS 'MODULE_PATHNAME', 'Set_start_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION endValue(geomset) + RETURNS geometry + AS 'MODULE_PATHNAME', 'Set_end_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION endValue(geogset) + RETURNS geography + AS 'MODULE_PATHNAME', 'Set_end_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION valueN(geomset, integer) + RETURNS geometry + AS 'MODULE_PATHNAME', 'Set_value_n' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION valueN(geogset, integer) + RETURNS geography + AS 'MODULE_PATHNAME', 'Set_value_n' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION getValues(geomset) + RETURNS geometry[] + AS 'MODULE_PATHNAME', 'Set_values' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION getValues(geogset) + RETURNS geography[] + AS 'MODULE_PATHNAME', 'Set_values' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/***************************************************************************** + * SRID functions + *****************************************************************************/ + +CREATE FUNCTION SRID(geomset) + RETURNS integer + AS 'MODULE_PATHNAME', 'Spatialset_srid' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION SRID(geogset) + RETURNS integer + AS 'MODULE_PATHNAME', 'Spatialset_srid' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION setSRID(geomset, integer) + RETURNS geomset + AS 'MODULE_PATHNAME', 'Spatialset_set_srid' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION setSRID(geogset, integer) + RETURNS geogset + AS 'MODULE_PATHNAME', 'Spatialset_set_srid' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION transform(geomset, integer) + RETURNS geomset + AS 'MODULE_PATHNAME', 'Spatialset_transform' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION transform(geogset, integer) + RETURNS geogset + AS 'MODULE_PATHNAME', 'Spatialset_transform' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION transformPipeline(geomset, text, srid integer DEFAULT 0, + is_forward boolean DEFAULT true) + RETURNS geomset + AS 'MODULE_PATHNAME', 'Spatialset_transform_pipeline' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION transformPipeline(geogset, text, srid integer DEFAULT 0, + is_forward boolean DEFAULT true) + RETURNS geogset + AS 'MODULE_PATHNAME', 'Spatialset_transform_pipeline' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/***************************************************************************** + * Transformation functions + *****************************************************************************/ + +CREATE FUNCTION round(geomset, integer DEFAULT 0) + RETURNS geomset + AS 'MODULE_PATHNAME', 'Set_round' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION round(geogset, integer DEFAULT 0) + RETURNS geogset + AS 'MODULE_PATHNAME', 'Set_round' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/****************************************************************************** + * Transformation set of values <-> set + ******************************************************************************/ + +CREATE FUNCTION unnest(geomset) + RETURNS SETOF geometry + AS 'MODULE_PATHNAME', 'Set_unnest' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION unnest(geogset) + RETURNS SETOF geography + AS 'MODULE_PATHNAME', 'Set_unnest' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/*****************************************************************************/ + +-- The function is not STRICT +CREATE FUNCTION set_union_transfn(internal, geometry) + RETURNS internal + AS 'MODULE_PATHNAME', 'Value_union_transfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION set_union_transfn(internal, geography) + RETURNS internal + AS 'MODULE_PATHNAME', 'Value_union_transfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; + +CREATE FUNCTION set_union_transfn(internal, geomset) + RETURNS internal + AS 'MODULE_PATHNAME', 'Set_union_transfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION set_union_transfn(internal, geogset) + RETURNS internal + AS 'MODULE_PATHNAME', 'Set_union_transfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; + +CREATE FUNCTION geomset_union_finalfn(internal) + RETURNS geomset + AS 'MODULE_PATHNAME', 'Set_union_finalfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION geogset_union_finalfn(internal) + RETURNS geogset + AS 'MODULE_PATHNAME', 'Set_union_finalfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; + +CREATE AGGREGATE setUnion(geometry) ( + SFUNC = set_union_transfn, + STYPE = internal, + FINALFUNC = geomset_union_finalfn +); +CREATE AGGREGATE setUnion(geography) ( + SFUNC = set_union_transfn, + STYPE = internal, + FINALFUNC = geogset_union_finalfn +); + +CREATE AGGREGATE setUnion(geomset) ( + SFUNC = set_union_transfn, + STYPE = internal, + FINALFUNC = geomset_union_finalfn +); +CREATE AGGREGATE setUnion(geogset) ( + SFUNC = set_union_transfn, + STYPE = internal, + FINALFUNC = geogset_union_finalfn +); + +/***************************************************************************** + * Selectivity functions + *****************************************************************************/ + +-- CREATE FUNCTION spatialset_sel(internal, oid, internal, integer) + -- RETURNS float + -- AS 'MODULE_PATHNAME', 'Spatialset_sel' + -- LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/****************************************************************************** + * Comparison functions and B-tree indexing + ******************************************************************************/ + +CREATE FUNCTION set_eq(geomset, geomset) + RETURNS bool + AS 'MODULE_PATHNAME', 'Set_eq' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_eq(geogset, geogset) + RETURNS bool + AS 'MODULE_PATHNAME', 'Set_eq' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION set_ne(geomset, geomset) + RETURNS bool + AS 'MODULE_PATHNAME', 'Set_ne' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_ne(geogset, geogset) + RETURNS bool + AS 'MODULE_PATHNAME', 'Set_ne' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION set_lt(geomset, geomset) + RETURNS bool + AS 'MODULE_PATHNAME', 'Set_lt' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_lt(geogset, geogset) + RETURNS bool + AS 'MODULE_PATHNAME', 'Set_lt' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION set_le(geomset, geomset) + RETURNS bool + AS 'MODULE_PATHNAME', 'Set_le' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_le(geogset, geogset) + RETURNS bool + AS 'MODULE_PATHNAME', 'Set_le' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION set_ge(geomset, geomset) + RETURNS bool + AS 'MODULE_PATHNAME', 'Set_ge' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_ge(geogset, geogset) + RETURNS bool + AS 'MODULE_PATHNAME', 'Set_ge' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION set_gt(geomset, geomset) + RETURNS bool + AS 'MODULE_PATHNAME', 'Set_gt' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_gt(geogset, geogset) + RETURNS bool + AS 'MODULE_PATHNAME', 'Set_gt' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION set_cmp(geomset, geomset) + RETURNS integer + AS 'MODULE_PATHNAME', 'Set_cmp' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_cmp(geogset, geogset) + RETURNS integer + AS 'MODULE_PATHNAME', 'Set_cmp' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR = ( + LEFTARG = geomset, RIGHTARG = geomset, + PROCEDURE = set_eq, + COMMUTATOR = =, NEGATOR = <>, + RESTRICT = eqsel, JOIN = eqjoinsel +); +CREATE OPERATOR = ( + LEFTARG = geogset, RIGHTARG = geogset, + PROCEDURE = set_eq, + COMMUTATOR = =, NEGATOR = <>, + RESTRICT = eqsel, JOIN = eqjoinsel +); + +CREATE OPERATOR <> ( + LEFTARG = geomset, RIGHTARG = geomset, + PROCEDURE = set_ne, + COMMUTATOR = <>, NEGATOR = =, + RESTRICT = neqsel, JOIN = neqjoinsel +); +CREATE OPERATOR <> ( + LEFTARG = geogset, RIGHTARG = geogset, + PROCEDURE = set_ne, + COMMUTATOR = <>, NEGATOR = =, + RESTRICT = neqsel, JOIN = neqjoinsel +); + +CREATE OPERATOR < ( + LEFTARG = geomset, RIGHTARG = geomset, + PROCEDURE = set_lt, + COMMUTATOR = >, NEGATOR = >= + -- RESTRICT = stbox_sel, JOIN = stbox_joinsel +); +CREATE OPERATOR < ( + LEFTARG = geogset, RIGHTARG = geogset, + PROCEDURE = set_lt, + COMMUTATOR = >, NEGATOR = >= + -- RESTRICT = stbox_sel, JOIN = stbox_joinsel +); + +CREATE OPERATOR <= ( + LEFTARG = geomset, RIGHTARG = geomset, + PROCEDURE = set_le, + COMMUTATOR = >=, NEGATOR = > + -- RESTRICT = stbox_sel, JOIN = stbox_joinsel +); +CREATE OPERATOR <= ( + LEFTARG = geogset, RIGHTARG = geogset, + PROCEDURE = set_le, + COMMUTATOR = >=, NEGATOR = > + -- RESTRICT = stbox_sel, JOIN = stbox_joinsel +); + +CREATE OPERATOR >= ( + LEFTARG = geomset, RIGHTARG = geomset, + PROCEDURE = set_ge, + COMMUTATOR = <=, NEGATOR = < + -- RESTRICT = stbox_sel, JOIN = stbox_joinsel +); +CREATE OPERATOR >= ( + LEFTARG = geogset, RIGHTARG = geogset, + PROCEDURE = set_ge, + COMMUTATOR = <=, NEGATOR = < + -- RESTRICT = stbox_sel, JOIN = stbox_joinsel +); + +CREATE OPERATOR > ( + LEFTARG = geomset, RIGHTARG = geomset, + PROCEDURE = set_gt, + COMMUTATOR = <, NEGATOR = <= + -- RESTRICT = stbox_sel, JOIN = stbox_joinsel +); +CREATE OPERATOR > ( + LEFTARG = geogset, RIGHTARG = geogset, + PROCEDURE = set_gt, + COMMUTATOR = <, NEGATOR = <= + -- RESTRICT = stbox_sel, JOIN = stbox_joinsel +); + +CREATE OPERATOR CLASS geomset_btree_ops + DEFAULT FOR TYPE geomset USING btree AS + OPERATOR 1 <, + OPERATOR 2 <=, + OPERATOR 3 =, + OPERATOR 4 >=, + OPERATOR 5 >, + FUNCTION 1 set_cmp(geomset, geomset); +CREATE OPERATOR CLASS geogset_btree_ops + DEFAULT FOR TYPE geogset USING btree AS + OPERATOR 1 <, + OPERATOR 2 <=, + OPERATOR 3 =, + OPERATOR 4 >=, + OPERATOR 5 >, + FUNCTION 1 set_cmp(geogset, geogset); + +/******************************************************************************/ + +CREATE FUNCTION set_hash(geomset) + RETURNS integer + AS 'MODULE_PATHNAME', 'Set_hash' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_hash(geogset) + RETURNS integer + AS 'MODULE_PATHNAME', 'Set_hash' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION set_hash_extended(geomset, bigint) + RETURNS bigint + AS 'MODULE_PATHNAME', 'Set_hash_extended' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_hash_extended(geogset, bigint) + RETURNS bigint + AS 'MODULE_PATHNAME', 'Set_hash_extended' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR CLASS geomset_hash_ops + DEFAULT FOR TYPE geomset USING hash AS + OPERATOR 1 = , + FUNCTION 1 set_hash(geomset), + FUNCTION 2 set_hash_extended(geomset, bigint); +CREATE OPERATOR CLASS geogset_hash_ops + DEFAULT FOR TYPE geogset USING hash AS + OPERATOR 1 = , + FUNCTION 1 set_hash(geogset), + FUNCTION 2 set_hash_extended(geogset, bigint); + +/****************************************************************************** + * Operators + ******************************************************************************/ + +CREATE FUNCTION set_contains(geomset, geometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contains_set_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_contains(geomset, geomset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contains_set_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_contains(geogset, geography) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contains_set_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_contains(geogset, geogset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contains_set_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR @> ( + PROCEDURE = set_contains, + LEFTARG = geomset, RIGHTARG = geometry, + COMMUTATOR = <@ + -- RESTRICT = stbox_sel, JOIN = stbox_joinsel +); +CREATE OPERATOR @> ( + PROCEDURE = set_contains, + LEFTARG = geomset, RIGHTARG = geomset, + COMMUTATOR = <@ + -- RESTRICT = stbox_sel, JOIN = stbox_joinsel +); +CREATE OPERATOR @> ( + PROCEDURE = set_contains, + LEFTARG = geogset, RIGHTARG = geography, + COMMUTATOR = <@ + -- RESTRICT = stbox_sel, JOIN = stbox_joinsel +); +CREATE OPERATOR @> ( + PROCEDURE = set_contains, + LEFTARG = geogset, RIGHTARG = geogset, + COMMUTATOR = <@ + -- RESTRICT = stbox_sel, JOIN = stbox_joinsel +); + +/******************************************************************************/ + +CREATE FUNCTION set_contained(geometry, geomset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contained_value_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_contained(geomset, geomset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contained_set_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_contained(geography, geogset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contained_value_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_contained(geogset, geogset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contained_set_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR <@ ( + PROCEDURE = set_contained, + LEFTARG = geometry, RIGHTARG = geomset, + COMMUTATOR = @> + -- RESTRICT = stbox_sel, JOIN = stbox_joinsel +); +CREATE OPERATOR <@ ( + PROCEDURE = set_contained, + LEFTARG = geomset, RIGHTARG = geomset, + COMMUTATOR = @> + -- RESTRICT = stbox_sel, JOIN = stbox_joinsel +); +CREATE OPERATOR <@ ( + PROCEDURE = set_contained, + LEFTARG = geography, RIGHTARG = geogset, + COMMUTATOR = @> + -- RESTRICT = stbox_sel, JOIN = stbox_joinsel +); +CREATE OPERATOR <@ ( + PROCEDURE = set_contained, + LEFTARG = geogset, RIGHTARG = geogset, + COMMUTATOR = @> + -- RESTRICT = stbox_sel, JOIN = stbox_joinsel +); + +/******************************************************************************/ + +CREATE FUNCTION set_overlaps(geomset, geomset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overlaps_set_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_overlaps(geogset, geogset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overlaps_set_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR && ( + PROCEDURE = set_overlaps, + LEFTARG = geomset, RIGHTARG = geomset, + COMMUTATOR = && + -- RESTRICT = stbox_sel, JOIN = stbox_joinsel +); +CREATE OPERATOR && ( + PROCEDURE = set_overlaps, + LEFTARG = geogset, RIGHTARG = geogset, + COMMUTATOR = && + -- RESTRICT = stbox_sel, JOIN = stbox_joinsel +); + +/*****************************************************************************/ + +CREATE FUNCTION set_union(geometry, geomset) + RETURNS geomset + AS 'MODULE_PATHNAME', 'Union_value_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_union(geomset, geometry) + RETURNS geomset + AS 'MODULE_PATHNAME', 'Union_set_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_union(geomset, geomset) + RETURNS geomset + AS 'MODULE_PATHNAME', 'Union_set_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION set_union(geography, geogset) + RETURNS geogset + AS 'MODULE_PATHNAME', 'Union_value_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_union(geogset, geography) + RETURNS geogset + AS 'MODULE_PATHNAME', 'Union_set_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_union(geogset, geogset) + RETURNS geogset + AS 'MODULE_PATHNAME', 'Union_set_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR + ( + PROCEDURE = set_union, + LEFTARG = geometry, RIGHTARG = geomset, + COMMUTATOR = + +); +CREATE OPERATOR + ( + PROCEDURE = set_union, + LEFTARG = geomset, RIGHTARG = geometry, + COMMUTATOR = + +); +CREATE OPERATOR + ( + PROCEDURE = set_union, + LEFTARG = geomset, RIGHTARG = geomset, + COMMUTATOR = + +); + +CREATE OPERATOR + ( + PROCEDURE = set_union, + LEFTARG = geography, RIGHTARG = geogset, + COMMUTATOR = + +); +CREATE OPERATOR + ( + PROCEDURE = set_union, + LEFTARG = geogset, RIGHTARG = geography, + COMMUTATOR = + +); +CREATE OPERATOR + ( + PROCEDURE = set_union, + LEFTARG = geogset, RIGHTARG = geogset, + COMMUTATOR = + +); + +/*****************************************************************************/ + +CREATE FUNCTION set_minus(geometry, geomset) + RETURNS geometry + AS 'MODULE_PATHNAME', 'Minus_value_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_minus(geomset, geometry) + RETURNS geomset + AS 'MODULE_PATHNAME', 'Minus_set_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_minus(geomset, geomset) + RETURNS geomset + AS 'MODULE_PATHNAME', 'Minus_set_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION set_minus(geography, geogset) + RETURNS geography + AS 'MODULE_PATHNAME', 'Minus_value_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_minus(geogset, geography) + RETURNS geogset + AS 'MODULE_PATHNAME', 'Minus_set_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_minus(geogset, geogset) + RETURNS geogset + AS 'MODULE_PATHNAME', 'Minus_set_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR - ( + PROCEDURE = set_minus, + LEFTARG = geometry, RIGHTARG = geomset +); +CREATE OPERATOR - ( + PROCEDURE = set_minus, + LEFTARG = geomset, RIGHTARG = geometry +); +CREATE OPERATOR - ( + PROCEDURE = set_minus, + LEFTARG = geomset, RIGHTARG = geomset +); + +CREATE OPERATOR - ( + PROCEDURE = set_minus, + LEFTARG = geography, RIGHTARG = geogset +); +CREATE OPERATOR - ( + PROCEDURE = set_minus, + LEFTARG = geogset, RIGHTARG = geography +); +CREATE OPERATOR - ( + PROCEDURE = set_minus, + LEFTARG = geogset, RIGHTARG = geogset +); + +/*****************************************************************************/ + +CREATE FUNCTION set_intersection(geometry, geomset) + RETURNS geometry + AS 'MODULE_PATHNAME', 'Intersection_value_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_intersection(geomset, geometry) + RETURNS geometry + AS 'MODULE_PATHNAME', 'Intersection_set_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_intersection(geomset, geomset) + RETURNS geomset + AS 'MODULE_PATHNAME', 'Intersection_set_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION set_intersection(geography, geogset) + RETURNS geography + AS 'MODULE_PATHNAME', 'Intersection_value_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_intersection(geogset, geography) + RETURNS geography + AS 'MODULE_PATHNAME', 'Intersection_set_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_intersection(geogset, geogset) + RETURNS geogset + AS 'MODULE_PATHNAME', 'Intersection_set_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR * ( + PROCEDURE = set_intersection, + LEFTARG = geometry, RIGHTARG = geomset, + COMMUTATOR = * +); +CREATE OPERATOR * ( + PROCEDURE = set_intersection, + LEFTARG = geomset, RIGHTARG = geometry, + COMMUTATOR = * +); +CREATE OPERATOR * ( + PROCEDURE = set_intersection, + LEFTARG = geomset, RIGHTARG = geomset, + COMMUTATOR = * +); + +CREATE OPERATOR * ( + PROCEDURE = set_intersection, + LEFTARG = geography, RIGHTARG = geogset, + COMMUTATOR = * +); +CREATE OPERATOR * ( + PROCEDURE = set_intersection, + LEFTARG = geogset, RIGHTARG = geography, + COMMUTATOR = * +); +CREATE OPERATOR * ( + PROCEDURE = set_intersection, + LEFTARG = geogset, RIGHTARG = geogset, + COMMUTATOR = * +); + +/*****************************************************************************/ + +CREATE FUNCTION set_distance(geometry, geomset) + RETURNS float + AS 'MODULE_PATHNAME', 'Distance_value_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_distance(geomset, geometry) + RETURNS float + AS 'MODULE_PATHNAME', 'Distance_set_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_distance(geomset, geomset) + RETURNS float + AS 'MODULE_PATHNAME', 'Distance_set_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION set_distance(geography, geogset) + RETURNS float + AS 'MODULE_PATHNAME', 'Distance_value_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_distance(geogset, geography) + RETURNS float + AS 'MODULE_PATHNAME', 'Distance_set_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_distance(geogset, geogset) + RETURNS float + AS 'MODULE_PATHNAME', 'Distance_set_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR <-> ( + PROCEDURE = set_distance, + LEFTARG = geometry, RIGHTARG = geomset, + COMMUTATOR = <-> +); +CREATE OPERATOR <-> ( + PROCEDURE = set_distance, + LEFTARG = geomset, RIGHTARG = geometry, + COMMUTATOR = <-> +); +CREATE OPERATOR <-> ( + PROCEDURE = set_distance, + LEFTARG = geomset, RIGHTARG = geomset, + COMMUTATOR = <-> +); + +CREATE OPERATOR <-> ( + PROCEDURE = set_distance, + LEFTARG = geography, RIGHTARG = geogset, + COMMUTATOR = <-> +); +CREATE OPERATOR <-> ( + PROCEDURE = set_distance, + LEFTARG = geogset, RIGHTARG = geography, + COMMUTATOR = <-> +); +CREATE OPERATOR <-> ( + PROCEDURE = set_distance, + LEFTARG = geogset, RIGHTARG = geogset, + COMMUTATOR = <-> +); + +/*****************************************************************************/ diff --git a/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/geo/051_stbox.in.sql b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/geo/051_stbox.in.sql new file mode 100644 index 00000000..5ad6fff8 --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/geo/051_stbox.in.sql @@ -0,0 +1,763 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @file + * @brief Functions for spatiotemporal bounding boxes + */ + +/****************************************************************************** + * Input/Output + ******************************************************************************/ + +CREATE TYPE stbox; + +CREATE FUNCTION stbox_in(cstring) + RETURNS stbox + AS 'MODULE_PATHNAME', 'Stbox_in' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION stbox_out(stbox) + RETURNS cstring + AS 'MODULE_PATHNAME', 'Stbox_out' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION stbox_recv(internal) + RETURNS stbox + AS 'MODULE_PATHNAME', 'Stbox_recv' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION stbox_send(stbox) + RETURNS bytea + AS 'MODULE_PATHNAME', 'Stbox_send' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE TYPE stbox ( + internallength = 80, + input = stbox_in, + output = stbox_out, + receive = stbox_recv, + send = stbox_send, + storage = plain, + alignment = double +); + +-- Input/output in WKB and HexWKB representation + +CREATE FUNCTION stboxFromBinary(bytea) + RETURNS stbox + AS 'MODULE_PATHNAME', 'Stbox_from_wkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION stboxFromHexWKB(text) + RETURNS stbox + AS 'MODULE_PATHNAME', 'Stbox_from_hexwkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION asText(stbox, maxdecimaldigits int4 DEFAULT 15) + RETURNS text + AS 'MODULE_PATHNAME', 'Stbox_as_text' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION asBinary(stbox, endianenconding text DEFAULT '') + RETURNS bytea + AS 'MODULE_PATHNAME', 'Stbox_as_wkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION asHexWKB(stbox, endianenconding text DEFAULT '') + RETURNS text + AS 'MODULE_PATHNAME', 'Stbox_as_hexwkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/****************************************************************************** + * Constructors + ******************************************************************************/ + +CREATE FUNCTION stboxX(float, float, float, float, srid integer DEFAULT 0) + RETURNS stbox + AS 'MODULE_PATHNAME', 'Stbox_constructor_x' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION stboxZ(float, float, float, float, float, float, + srid integer DEFAULT 0) + RETURNS stbox + AS 'MODULE_PATHNAME', 'Stbox_constructor_z' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION stboxT(timestamptz) + RETURNS stbox + AS 'MODULE_PATHNAME', 'Stbox_constructor_t' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION stboxT(tstzspan) + RETURNS stbox + AS 'MODULE_PATHNAME', 'Stbox_constructor_t' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION stboxXT(float, float, float, float, timestamptz, + srid integer DEFAULT 0) + RETURNS stbox + AS 'MODULE_PATHNAME', 'Stbox_constructor_xt' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION stboxXT(float, float, float, float, tstzspan, + srid integer DEFAULT 0) + RETURNS stbox + AS 'MODULE_PATHNAME', 'Stbox_constructor_xt' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION stboxZT(float, float, float, float, float, float, + timestamptz, srid integer DEFAULT 0) + RETURNS stbox + AS 'MODULE_PATHNAME', 'Stbox_constructor_zt' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION stboxZT(float, float, float, float, float, float, + tstzspan, srid integer DEFAULT 0) + RETURNS stbox + AS 'MODULE_PATHNAME', 'Stbox_constructor_zt' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION geodstboxT(timestamptz) + RETURNS stbox + AS 'MODULE_PATHNAME', 'Geodstbox_constructor_t' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION geodstboxT(tstzspan) + RETURNS stbox + AS 'MODULE_PATHNAME', 'Geodstbox_constructor_t' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION geodstboxZ(float, float, float, float, float, float, + srid integer DEFAULT 4326) + RETURNS stbox + AS 'MODULE_PATHNAME', 'Geodstbox_constructor_z' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION geodstboxZT(float, float, float, float, float, float, + timestamptz, srid integer DEFAULT 4326) + RETURNS stbox + AS 'MODULE_PATHNAME', 'Geodstbox_constructor_zt' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION geodstboxZT(float, float, float, float, float, float, + tstzspan, srid integer DEFAULT 4326) + RETURNS stbox + AS 'MODULE_PATHNAME', 'Geodstbox_constructor_zt' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/*****************************************************************************/ + +CREATE FUNCTION stbox(geometry, timestamptz) + RETURNS stbox + AS 'MODULE_PATHNAME', 'Geo_timestamptz_to_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION stbox(geography, timestamptz) + RETURNS stbox + AS 'MODULE_PATHNAME', 'Geo_timestamptz_to_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION stbox(geometry, tstzspan) + RETURNS stbox + AS 'MODULE_PATHNAME', 'Geo_tstzspan_to_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION stbox(geography, tstzspan) + RETURNS stbox + AS 'MODULE_PATHNAME', 'Geo_tstzspan_to_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/***************************************************************************** + * Conversion + *****************************************************************************/ + +CREATE FUNCTION stbox(box2d) + RETURNS stbox + AS 'MODULE_PATHNAME', 'Box2d_to_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION stbox(box3d) + RETURNS stbox + AS 'MODULE_PATHNAME', 'Box3d_to_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION stbox(geometry) + RETURNS stbox + AS 'MODULE_PATHNAME', 'Geo_to_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION stbox(geography) + RETURNS stbox + AS 'MODULE_PATHNAME', 'Geo_to_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION stbox(geomset) + RETURNS stbox + AS 'MODULE_PATHNAME', 'Spatialset_to_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION stbox(geogset) + RETURNS stbox + AS 'MODULE_PATHNAME', 'Spatialset_to_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION stbox(timestamptz) + RETURNS stbox + AS 'MODULE_PATHNAME', 'Timestamptz_to_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION stbox(tstzset) + RETURNS stbox + AS 'MODULE_PATHNAME', 'Tstzset_to_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION stbox(tstzspan) + RETURNS stbox + AS 'MODULE_PATHNAME', 'Tstzspan_to_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION stbox(tstzspanset) + RETURNS stbox + AS 'MODULE_PATHNAME', 'Tstzspanset_to_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE CAST (box2d AS stbox) WITH FUNCTION stbox(box2d); +CREATE CAST (box3d AS stbox) WITH FUNCTION stbox(box3d); +CREATE CAST (geometry AS stbox) WITH FUNCTION stbox(geometry); +CREATE CAST (geography AS stbox) WITH FUNCTION stbox(geography); +CREATE CAST (geomset AS stbox) WITH FUNCTION stbox(geomset); +CREATE CAST (geogset AS stbox) WITH FUNCTION stbox(geogset); +CREATE CAST (timestamptz AS stbox) WITH FUNCTION stbox(timestamptz); +CREATE CAST (tstzset AS stbox) WITH FUNCTION stbox(tstzset); +CREATE CAST (tstzspan AS stbox) WITH FUNCTION stbox(tstzspan); +CREATE CAST (tstzspanset AS stbox) WITH FUNCTION stbox(tstzspanset); + +/*****************************************************************************/ + +CREATE FUNCTION box2d(stbox) + RETURNS box2d + AS 'MODULE_PATHNAME', 'Stbox_to_box2d' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION box3d(stbox) + RETURNS box3d + AS 'MODULE_PATHNAME', 'Stbox_to_box3d' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION geometry(stbox) + RETURNS geometry + AS 'MODULE_PATHNAME', 'Stbox_to_geo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION geography(stbox) + RETURNS geography + AS 'MODULE_PATHNAME', 'Stbox_to_geo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION timeSpan(stbox) + RETURNS tstzspan + AS 'MODULE_PATHNAME', 'Stbox_to_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE CAST (stbox AS box2d) WITH FUNCTION box2d(stbox); +CREATE CAST (stbox AS box3d) WITH FUNCTION box3d(stbox); +CREATE CAST (stbox AS geometry) WITH FUNCTION geometry(stbox); +CREATE CAST (stbox AS geography) WITH FUNCTION geography(stbox); +CREATE CAST (stbox AS tstzspan) WITH FUNCTION timeSpan(stbox); + +/***************************************************************************** + * Accessor functions + *****************************************************************************/ + +CREATE FUNCTION hasX(stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Stbox_hasx' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION hasZ(stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Stbox_hasz' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION hasT(stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Stbox_hast' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION isGeodetic(stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Stbox_isgeodetic' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION Xmin(stbox) + RETURNS float + AS 'MODULE_PATHNAME', 'Stbox_xmin' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION Ymin(stbox) + RETURNS float + AS 'MODULE_PATHNAME', 'Stbox_ymin' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION Zmin(stbox) + RETURNS float + AS 'MODULE_PATHNAME', 'Stbox_zmin' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION Tmin(stbox) + RETURNS timestamptz + AS 'MODULE_PATHNAME', 'Stbox_tmin' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION TminInc(stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Stbox_tmin_inc' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION Xmax(stbox) + RETURNS float + AS 'MODULE_PATHNAME', 'Stbox_xmax' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION Ymax(stbox) + RETURNS float + AS 'MODULE_PATHNAME', 'Stbox_ymax' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION Zmax(stbox) + RETURNS float + AS 'MODULE_PATHNAME', 'Stbox_zmax' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION Tmax(stbox) + RETURNS timestamptz + AS 'MODULE_PATHNAME', 'Stbox_tmax' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION TmaxInc(stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Stbox_tmax_inc' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION area(stbox, spheroid bool DEFAULT true) + RETURNS float + AS 'MODULE_PATHNAME', 'Stbox_area' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION volume(stbox) + RETURNS float + AS 'MODULE_PATHNAME', 'Stbox_volume' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION perimeter(stbox, spheroid bool DEFAULT true) + RETURNS float + AS 'MODULE_PATHNAME', 'Stbox_perimeter' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/***************************************************************************** + * Transformation functions + *****************************************************************************/ + +CREATE FUNCTION shiftTime(stbox, interval) + RETURNS stbox + AS 'MODULE_PATHNAME', 'Stbox_shift_time' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION scaleTime(stbox, interval) + RETURNS stbox + AS 'MODULE_PATHNAME', 'Stbox_scale_time' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION shiftScaleTime(stbox, interval, interval) + RETURNS stbox + AS 'MODULE_PATHNAME', 'Stbox_shift_scale_time' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION getSpace(stbox) + RETURNS stbox + AS 'MODULE_PATHNAME', 'Stbox_get_space' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION expandSpace(stbox, float) + RETURNS stbox + AS 'MODULE_PATHNAME', 'Stbox_expand_space' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION expandTime(stbox, interval) + RETURNS stbox + AS 'MODULE_PATHNAME', 'Stbox_expand_time' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/***************************************************************************** + * Selectively functions for operators + *****************************************************************************/ + +CREATE FUNCTION tspatial_sel(internal, oid, internal, integer) + RETURNS float +AS 'MODULE_PATHNAME', 'Tspatial_sel' + LANGUAGE C IMMUTABLE STRICT; + +CREATE FUNCTION tspatial_joinsel(internal, oid, internal, smallint, internal) + RETURNS float +AS 'MODULE_PATHNAME', 'Tspatial_joinsel' + LANGUAGE C IMMUTABLE STRICT; + +/***************************************************************************** +* Topological operators +*****************************************************************************/ + +CREATE FUNCTION stbox_contains(stbox, stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contains_stbox_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION stbox_contained(stbox, stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contained_stbox_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION stbox_overlaps(stbox, stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overlaps_stbox_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION stbox_same(stbox, stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Same_stbox_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION stbox_adjacent(stbox, stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Adjacent_stbox_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR @> ( + PROCEDURE = stbox_contains, + LEFTARG = stbox, RIGHTARG = stbox, + COMMUTATOR = <@, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR <@ ( + PROCEDURE = stbox_contained, + LEFTARG = stbox, RIGHTARG = stbox, + COMMUTATOR = @>, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR && ( + PROCEDURE = stbox_overlaps, + LEFTARG = stbox, RIGHTARG = stbox, + COMMUTATOR = &&, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR ~= ( + PROCEDURE = stbox_same, + LEFTARG = stbox, RIGHTARG = stbox, + COMMUTATOR = ~=, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR -|- ( + PROCEDURE = stbox_adjacent, + LEFTARG = stbox, RIGHTARG = stbox, + COMMUTATOR = -|-, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +/***************************************************************************** +* Position operators +*****************************************************************************/ + +CREATE FUNCTION stbox_left(stbox, stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Left_stbox_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION stbox_overleft(stbox, stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overleft_stbox_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION stbox_right(stbox, stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Right_stbox_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION stbox_overright(stbox, stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overright_stbox_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION stbox_below(stbox, stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Below_stbox_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION stbox_overbelow(stbox, stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overbelow_stbox_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION stbox_above(stbox, stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Above_stbox_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION stbox_overabove(stbox, stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overabove_stbox_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION stbox_before(stbox, stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Before_stbox_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION stbox_overbefore(stbox, stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overbefore_stbox_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION stbox_after(stbox, stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'After_stbox_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION stbox_overafter(stbox, stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overafter_stbox_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION stbox_front(stbox, stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Front_stbox_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION stbox_overfront(stbox, stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overfront_stbox_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION stbox_back(stbox, stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Back_stbox_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION stbox_overback(stbox, stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overback_stbox_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR << ( + PROCEDURE = stbox_left, + LEFTARG = stbox, RIGHTARG = stbox, + COMMUTATOR = >>, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR &< ( + PROCEDURE = stbox_overleft, + LEFTARG = stbox, RIGHTARG = stbox, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR >> ( + LEFTARG = stbox, RIGHTARG = stbox, + PROCEDURE = stbox_right, + COMMUTATOR = <<, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR &> ( + PROCEDURE = stbox_overright, + LEFTARG = stbox, RIGHTARG = stbox, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR <<| ( + PROCEDURE = stbox_below, + LEFTARG = stbox, RIGHTARG = stbox, + COMMUTATOR = |>>, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR &<| ( + PROCEDURE = stbox_overbelow, + LEFTARG = stbox, RIGHTARG = stbox, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR |>> ( + PROCEDURE = stbox_above, + LEFTARG = stbox, RIGHTARG = stbox, + COMMUTATOR = <<|, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR |&> ( + PROCEDURE = stbox_overabove, + LEFTARG = stbox, RIGHTARG = stbox, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR <>, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR &> ( + LEFTARG = stbox, RIGHTARG = stbox, + PROCEDURE = stbox_back, + COMMUTATOR = < ( + LEFTARG = stbox, RIGHTARG = stbox, + PROCEDURE = stbox_overback, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR <<# ( + PROCEDURE = stbox_before, + LEFTARG = stbox, RIGHTARG = stbox, + COMMUTATOR = #>>, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR &<# ( + PROCEDURE = stbox_overbefore, + LEFTARG = stbox, RIGHTARG = stbox, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR #>> ( + PROCEDURE = stbox_after, + LEFTARG = stbox, RIGHTARG = stbox, + COMMUTATOR = <<#, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR #&> ( + PROCEDURE = stbox_overafter, + LEFTARG = stbox, RIGHTARG = stbox, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +/***************************************************************************** + * Set operators + *****************************************************************************/ + +CREATE FUNCTION stbox_union(stbox, stbox) + RETURNS stbox + AS 'MODULE_PATHNAME', 'Union_stbox_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION stbox_intersection(stbox, stbox) + RETURNS stbox + AS 'MODULE_PATHNAME', 'Intersection_stbox_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR + ( + PROCEDURE = stbox_union, + LEFTARG = stbox, RIGHTARG = stbox, + COMMUTATOR = + +); +CREATE OPERATOR * ( + PROCEDURE = stbox_intersection, + LEFTARG = stbox, RIGHTARG = stbox, + COMMUTATOR = * +); + +/***************************************************************************** + * Split functions + *****************************************************************************/ + +CREATE FUNCTION quadSplit(stbox) + RETURNS stbox[] + AS 'MODULE_PATHNAME', 'Stbox_quad_split' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/***************************************************************************** + * Extent aggreation + *****************************************************************************/ + +-- The function is not strict +CREATE FUNCTION stbox_extent_transfn(stbox, stbox) + RETURNS stbox + AS 'MODULE_PATHNAME', 'Stbox_extent_transfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION stbox_extent_combinefn(stbox, stbox) + RETURNS stbox + AS 'MODULE_PATHNAME', 'Stbox_extent_combinefn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; + +CREATE AGGREGATE extent(stbox) ( + SFUNC = stbox_extent_transfn, + STYPE = stbox, + COMBINEFUNC = stbox_extent_combinefn, + PARALLEL = safe +); + +/***************************************************************************** + * Comparison + *****************************************************************************/ + +CREATE FUNCTION stbox_eq(stbox, stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Stbox_eq' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION stbox_ne(stbox, stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Stbox_ne' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION stbox_lt(stbox, stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Stbox_lt' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION stbox_le(stbox, stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Stbox_le' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION stbox_ge(stbox, stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Stbox_ge' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION stbox_gt(stbox, stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Stbox_gt' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION stbox_cmp(stbox, stbox) + RETURNS int4 + AS 'MODULE_PATHNAME', 'Stbox_cmp' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR = ( + LEFTARG = stbox, RIGHTARG = stbox, + PROCEDURE = stbox_eq, + COMMUTATOR = =, NEGATOR = <>, + RESTRICT = eqsel, JOIN = eqjoinsel +); +CREATE OPERATOR <> ( + LEFTARG = stbox, RIGHTARG = stbox, + PROCEDURE = stbox_ne, + COMMUTATOR = <>, NEGATOR = =, + RESTRICT = neqsel, JOIN = neqjoinsel +); +CREATE OPERATOR < ( + PROCEDURE = stbox_lt, + LEFTARG = stbox, RIGHTARG = stbox, + COMMUTATOR = >, NEGATOR = >=, + RESTRICT = areasel, JOIN = areajoinsel +); +CREATE OPERATOR <= ( + PROCEDURE = stbox_le, + LEFTARG = stbox, RIGHTARG = stbox, + COMMUTATOR = >=, NEGATOR = >, + RESTRICT = areasel, JOIN = areajoinsel +); +CREATE OPERATOR >= ( + PROCEDURE = stbox_ge, + LEFTARG = stbox, RIGHTARG = stbox, + COMMUTATOR = <=, NEGATOR = <, + RESTRICT = areasel, JOIN = areajoinsel +); +CREATE OPERATOR > ( + PROCEDURE = stbox_gt, + LEFTARG = stbox, RIGHTARG = stbox, + COMMUTATOR = <, NEGATOR = <=, + RESTRICT = areasel, JOIN = areajoinsel +); + +CREATE OPERATOR CLASS stbox_btree_ops + DEFAULT FOR TYPE stbox USING btree AS + OPERATOR 1 < , + OPERATOR 2 <= , + OPERATOR 3 = , + OPERATOR 4 >= , + OPERATOR 5 > , + FUNCTION 1 stbox_cmp(stbox, stbox); + +/*****************************************************************************/ + +CREATE FUNCTION stbox_hash(stbox) + RETURNS integer + AS 'MODULE_PATHNAME', 'Stbox_hash' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION stbox_hash_extended(stbox, bigint) + RETURNS bigint + AS 'MODULE_PATHNAME', 'Stbox_hash_extended' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR CLASS stbox_hash_ops + DEFAULT FOR TYPE stbox USING hash AS + OPERATOR 1 = , + FUNCTION 1 stbox_hash(stbox), + FUNCTION 2 stbox_hash_extended(stbox, bigint); + +/*****************************************************************************/ diff --git a/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/geo/052_tgeo.in.sql b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/geo/052_tgeo.in.sql new file mode 100644 index 00000000..b705b6bd --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/geo/052_tgeo.in.sql @@ -0,0 +1,1081 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @file + * @brief Basic functions for temporal geometry/geographies + */ + +CREATE TYPE tgeometry; +CREATE TYPE tgeography; + +/****************************************************************************** + * Input/Output + ******************************************************************************/ + +CREATE FUNCTION tgeometry_in(cstring, oid, integer) + RETURNS tgeometry + AS 'MODULE_PATHNAME', 'Tgeo_in' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_out(tgeometry) + RETURNS cstring + AS 'MODULE_PATHNAME', 'Temporal_out' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tgeometry_recv(internal, oid, integer) + RETURNS tgeometry + AS 'MODULE_PATHNAME', 'Temporal_recv' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_send(tgeometry) + RETURNS bytea + AS 'MODULE_PATHNAME', 'Temporal_send' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION tgeometry_typmod_in(cstring[]) + RETURNS integer + AS 'MODULE_PATHNAME', 'Tgeometry_typmod_in' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tgeography_typmod_in(cstring[]) + RETURNS integer + AS 'MODULE_PATHNAME', 'Tgeography_typmod_in' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tspatial_typmod_out(integer) + RETURNS cstring + AS 'MODULE_PATHNAME', 'Tspatial_typmod_out' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION tspatial_analyze(internal) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Tspatial_analyze' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE TYPE tgeometry ( + internallength = variable, + input = tgeometry_in, + output = temporal_out, + send = temporal_send, + receive = tgeometry_recv, + typmod_in = tgeometry_typmod_in, + typmod_out = tspatial_typmod_out, + storage = extended, + alignment = double, + analyze = tspatial_analyze +); + +CREATE FUNCTION tgeography_in(cstring, oid, integer) + RETURNS tgeography + AS 'MODULE_PATHNAME', 'Tgeo_in' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_out(tgeography) + RETURNS cstring + AS 'MODULE_PATHNAME', 'Temporal_out' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tgeography_recv(internal, oid, integer) + RETURNS tgeography + AS 'MODULE_PATHNAME', 'Temporal_recv' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_send(tgeography) + RETURNS bytea + AS 'MODULE_PATHNAME', 'Temporal_send' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE TYPE tgeography ( + internallength = variable, + input = tgeography_in, + output = temporal_out, + send = temporal_send, + receive = tgeography_recv, + typmod_in = tgeography_typmod_in, + typmod_out = tspatial_typmod_out, + storage = extended, + alignment = double, + analyze = tspatial_analyze +); + +-- Special cast for enforcing the typmod restrictions +CREATE FUNCTION tgeometry(tgeometry, integer) + RETURNS tgeometry + AS 'MODULE_PATHNAME', 'Tspatial_enforce_typmod' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tgeography(tgeography, integer) + RETURNS tgeography + AS 'MODULE_PATHNAME', 'Tspatial_enforce_typmod' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE CAST (tgeometry AS tgeometry) WITH FUNCTION tgeometry(tgeometry, integer) AS IMPLICIT; +CREATE CAST (tgeography AS tgeography) WITH FUNCTION tgeography(tgeography, integer) AS IMPLICIT; + +/****************************************************************************** + * Constructors + ******************************************************************************/ + +CREATE FUNCTION tgeometry(geometry, timestamptz) + RETURNS tgeometry + AS 'MODULE_PATHNAME', 'Tgeoinst_constructor' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tgeography(geography, timestamptz) + RETURNS tgeography + AS 'MODULE_PATHNAME', 'Tgeoinst_constructor' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION tgeometry(geometry, tstzset) + RETURNS tgeometry + AS 'MODULE_PATHNAME', 'Tsequence_from_base_tstzset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tgeography(geography, tstzset) + RETURNS tgeography + AS 'MODULE_PATHNAME', 'Tsequence_from_base_tstzset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION tgeometry(geometry, tstzspan, text DEFAULT 'step') + RETURNS tgeometry + AS 'MODULE_PATHNAME', 'Tsequence_from_base_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tgeography(geography, tstzspan, text DEFAULT 'step') + RETURNS tgeography + AS 'MODULE_PATHNAME', 'Tsequence_from_base_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION tgeometry(geometry, tstzspanset, text DEFAULT 'step') + RETURNS tgeometry + AS 'MODULE_PATHNAME', 'Tsequenceset_from_base_tstzspanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tgeography(geography, tstzspanset, text DEFAULT 'step') + RETURNS tgeometry + AS 'MODULE_PATHNAME', 'Tsequenceset_from_base_tstzspanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/******************************************************************************/ + +CREATE FUNCTION tgeometrySeq(tgeometry[], text DEFAULT 'step', + lower_inc boolean DEFAULT true, upper_inc boolean DEFAULT true) + RETURNS tgeometry + AS 'MODULE_PATHNAME', 'Tsequence_constructor' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tgeographySeq(tgeography[], text DEFAULT 'step', + lower_inc boolean DEFAULT true, upper_inc boolean DEFAULT true) + RETURNS tgeography + AS 'MODULE_PATHNAME', 'Tsequence_constructor' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION tgeometrySeqSet(tgeometry[]) + RETURNS tgeometry + AS 'MODULE_PATHNAME', 'Tsequenceset_constructor' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tgeographySeqSet(tgeography[]) + RETURNS tgeography + AS 'MODULE_PATHNAME', 'Tsequenceset_constructor' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +-- The function is not strict +CREATE FUNCTION tgeometrySeqSetGaps(tgeometry[], maxt interval DEFAULT NULL, + maxdist float DEFAULT NULL, text DEFAULT 'step') + RETURNS tgeometry + AS 'MODULE_PATHNAME', 'Tsequenceset_constructor_gaps' + LANGUAGE C IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION tgeographySeqSetGaps(tgeography[], maxt interval DEFAULT NULL, + maxdist float DEFAULT NULL, text DEFAULT 'step') + RETURNS tgeography + AS 'MODULE_PATHNAME', 'Tsequenceset_constructor_gaps' + LANGUAGE C IMMUTABLE PARALLEL SAFE; + +/****************************************************************************** + * Conversions + ******************************************************************************/ + +CREATE FUNCTION timeSpan(tgeometry) + RETURNS tstzspan + AS 'MODULE_PATHNAME', 'Temporal_to_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION timeSpan(tgeography) + RETURNS tstzspan + AS 'MODULE_PATHNAME', 'Temporal_to_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE CAST (tgeometry AS tstzspan) WITH FUNCTION timeSpan(tgeometry); +CREATE CAST (tgeography AS tstzspan) WITH FUNCTION timeSpan(tgeography); + +/****************************************************************************** + * Transformations + ******************************************************************************/ + +CREATE FUNCTION tgeometryInst(tgeometry) + RETURNS tgeometry + AS 'MODULE_PATHNAME', 'Temporal_to_tinstant' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +-- The function is not strict +CREATE FUNCTION tgeometrySeq(tgeometry, text) + RETURNS tgeometry + AS 'MODULE_PATHNAME', 'Temporal_to_tsequence' + LANGUAGE C IMMUTABLE PARALLEL SAFE; +-- The function is not strict +CREATE FUNCTION tgeometrySeq(tgeometry) + RETURNS tgeometry + AS 'SELECT @extschema@.tgeometrySeq($1, NULL)' + LANGUAGE SQL IMMUTABLE PARALLEL SAFE; +-- The function is not strict +CREATE FUNCTION tgeometrySeqSet(tgeometry, text) + RETURNS tgeometry + AS 'MODULE_PATHNAME', 'Temporal_to_tsequenceset' + LANGUAGE C IMMUTABLE PARALLEL SAFE; +-- The function is not strict +CREATE FUNCTION tgeometrySeqSet(tgeometry) + RETURNS tgeometry + AS 'SELECT @extschema@.tgeometrySeqSet($1, NULL)' + LANGUAGE SQL IMMUTABLE PARALLEL SAFE; + +CREATE FUNCTION tgeographyInst(tgeography) + RETURNS tgeography + AS 'MODULE_PATHNAME', 'Temporal_to_tinstant' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +-- The function is not strict +CREATE FUNCTION tgeographySeq(tgeography, text) + RETURNS tgeography + AS 'MODULE_PATHNAME', 'Temporal_to_tsequence' + LANGUAGE C IMMUTABLE PARALLEL SAFE; +-- The function is not strict +CREATE FUNCTION tgeographySeq(tgeography) + RETURNS tgeography + AS 'SELECT @extschema@.tgeographySeq($1, NULL)' + LANGUAGE SQL IMMUTABLE PARALLEL SAFE; +-- The function is not strict +CREATE FUNCTION tgeographySeqSet(tgeography, text) + RETURNS tgeography + AS 'MODULE_PATHNAME', 'Temporal_to_tsequenceset' + LANGUAGE C IMMUTABLE PARALLEL SAFE; +-- The function is not strict +CREATE FUNCTION tgeographySeqSet(tgeography) + RETURNS tgeography + AS 'SELECT @extschema@.tgeographySeqSet($1, NULL)' + LANGUAGE SQL IMMUTABLE PARALLEL SAFE; + +CREATE FUNCTION setInterp(tgeometry, text) + RETURNS tgeometry + AS 'MODULE_PATHNAME', 'Temporal_set_interp' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION setInterp(tgeography, text) + RETURNS tgeography + AS 'MODULE_PATHNAME', 'Temporal_set_interp' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION appendInstant(tgeometry, tgeometry) + RETURNS tgeometry + AS 'MODULE_PATHNAME', 'Temporal_append_tinstant' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION appendInstant(tgeography, tgeography) + RETURNS tgeography + AS 'MODULE_PATHNAME', 'Temporal_append_tinstant' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION appendSequence(tgeometry, tgeometry) + RETURNS tgeometry + AS 'MODULE_PATHNAME', 'Temporal_append_tsequence' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION appendSequence(tgeography, tgeography) + RETURNS tgeography + AS 'MODULE_PATHNAME', 'Temporal_append_tsequence' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +-- The function is not strict +CREATE FUNCTION merge(tgeometry, tgeometry) + RETURNS tgeometry + AS 'MODULE_PATHNAME', 'Temporal_merge' + LANGUAGE C IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION merge(tgeography, tgeography) + RETURNS tgeography + AS 'MODULE_PATHNAME', 'Temporal_merge' + LANGUAGE C IMMUTABLE PARALLEL SAFE; + +CREATE FUNCTION merge(tgeometry[]) + RETURNS tgeometry +AS 'MODULE_PATHNAME', 'Temporal_merge_array' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION merge(tgeography[]) + RETURNS tgeography +AS 'MODULE_PATHNAME', 'Temporal_merge_array' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/****************************************************************************** + * Accessor Functions + ******************************************************************************/ + +CREATE FUNCTION tempSubtype(tgeometry) + RETURNS text + AS 'MODULE_PATHNAME', 'Temporal_subtype' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tempSubtype(tgeography) + RETURNS text + AS 'MODULE_PATHNAME', 'Temporal_subtype' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION interp(tgeometry) + RETURNS text + AS 'MODULE_PATHNAME', 'Temporal_interp' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION interp(tgeography) + RETURNS text + AS 'MODULE_PATHNAME', 'Temporal_interp' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION memSize(tgeometry) + RETURNS integer + AS 'MODULE_PATHNAME', 'Temporal_mem_size' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION memSize(tgeography) + RETURNS integer + AS 'MODULE_PATHNAME', 'Temporal_mem_size' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +-- value is a reserved word in SQL +CREATE FUNCTION getValue(tgeometry) + RETURNS geometry + AS 'MODULE_PATHNAME', 'Tinstant_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION getValue(tgeography) + RETURNS geography + AS 'MODULE_PATHNAME', 'Tinstant_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +-- There is no getValues() function for temporal geos, +-- it is called traversedArea() for temporal geos + +CREATE FUNCTION getTimestamp(tgeometry) + RETURNS timestamptz + AS 'MODULE_PATHNAME', 'Tinstant_timestamptz' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION getTimestamp(tgeography) + RETURNS timestamptz + AS 'MODULE_PATHNAME', 'Tinstant_timestamptz' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION valueSet(tgeometry) + RETURNS geomset + AS 'MODULE_PATHNAME', 'Temporal_valueset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION valueSet(tgeography) + RETURNS geogset + AS 'MODULE_PATHNAME', 'Temporal_valueset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION valueN(tgeometry, integer) + RETURNS geometry + AS 'MODULE_PATHNAME', 'Temporal_value_n' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION valueN(tgeography, integer) + RETURNS geography + AS 'MODULE_PATHNAME', 'Temporal_value_n' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +-- time is a reserved word in SQL +CREATE FUNCTION getTime(tgeometry) + RETURNS tstzspanset + AS 'MODULE_PATHNAME', 'Temporal_time' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION getTime(tgeography) + RETURNS tstzspanset + AS 'MODULE_PATHNAME', 'Temporal_time' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION startValue(tgeometry) + RETURNS geometry + AS 'MODULE_PATHNAME', 'Temporal_start_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION startValue(tgeography) + RETURNS geography + AS 'MODULE_PATHNAME', 'Temporal_start_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION endValue(tgeometry) + RETURNS geometry + AS 'MODULE_PATHNAME', 'Temporal_end_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION endValue(tgeography) + RETURNS geography + AS 'MODULE_PATHNAME', 'Temporal_end_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION duration(tgeometry, boundspan boolean DEFAULT FALSE) + RETURNS interval + AS 'MODULE_PATHNAME', 'Temporal_duration' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION duration(tgeography, boundspan boolean DEFAULT FALSE) + RETURNS interval + AS 'MODULE_PATHNAME', 'Temporal_duration' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION lowerInc(tgeometry) + RETURNS bool + AS 'MODULE_PATHNAME', 'Temporal_lower_inc' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION lowerInc(tgeography) + RETURNS bool + AS 'MODULE_PATHNAME', 'Temporal_lower_inc' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION upperInc(tgeometry) + RETURNS bool + AS 'MODULE_PATHNAME', 'Temporal_upper_inc' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION upperInc(tgeography) + RETURNS bool + AS 'MODULE_PATHNAME', 'Temporal_upper_inc' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION numInstants(tgeometry) + RETURNS integer + AS 'MODULE_PATHNAME', 'Temporal_num_instants' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION numInstants(tgeography) + RETURNS integer + AS 'MODULE_PATHNAME', 'Temporal_num_instants' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION startInstant(tgeometry) + RETURNS tgeometry + AS 'MODULE_PATHNAME', 'Temporal_start_instant' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION startInstant(tgeography) + RETURNS tgeography + AS 'MODULE_PATHNAME', 'Temporal_start_instant' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION endInstant(tgeometry) + RETURNS tgeometry + AS 'MODULE_PATHNAME', 'Temporal_end_instant' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION endInstant(tgeography) + RETURNS tgeography + AS 'MODULE_PATHNAME', 'Temporal_end_instant' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION instantN(tgeometry, integer) + RETURNS tgeometry + AS 'MODULE_PATHNAME', 'Temporal_instant_n' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION instantN(tgeography, integer) + RETURNS tgeography + AS 'MODULE_PATHNAME', 'Temporal_instant_n' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION instants(tgeometry) + RETURNS tgeometry[] + AS 'MODULE_PATHNAME', 'Temporal_instants' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION instants(tgeography) + RETURNS tgeography[] + AS 'MODULE_PATHNAME', 'Temporal_instants' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION numTimestamps(tgeometry) + RETURNS integer + AS 'MODULE_PATHNAME', 'Temporal_num_timestamps' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION numTimestamps(tgeography) + RETURNS integer + AS 'MODULE_PATHNAME', 'Temporal_num_timestamps' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION startTimestamp(tgeometry) + RETURNS timestamptz + AS 'MODULE_PATHNAME', 'Temporal_start_timestamptz' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION startTimestamp(tgeography) + RETURNS timestamptz + AS 'MODULE_PATHNAME', 'Temporal_start_timestamptz' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION endTimestamp(tgeometry) + RETURNS timestamptz + AS 'MODULE_PATHNAME', 'Temporal_end_timestamptz' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION endTimestamp(tgeography) + RETURNS timestamptz + AS 'MODULE_PATHNAME', 'Temporal_end_timestamptz' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION timestampN(tgeometry, integer) + RETURNS timestamptz + AS 'MODULE_PATHNAME', 'Temporal_timestamptz_n' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION timestampN(tgeography, integer) + RETURNS timestamptz + AS 'MODULE_PATHNAME', 'Temporal_timestamptz_n' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION timestamps(tgeometry) + RETURNS timestamptz[] + AS 'MODULE_PATHNAME', 'Temporal_timestamps' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION timestamps(tgeography) + RETURNS timestamptz[] + AS 'MODULE_PATHNAME', 'Temporal_timestamps' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION numSequences(tgeometry) + RETURNS integer + AS 'MODULE_PATHNAME', 'Temporal_num_sequences' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION numSequences(tgeography) + RETURNS integer + AS 'MODULE_PATHNAME', 'Temporal_num_sequences' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION startSequence(tgeometry) + RETURNS tgeometry + AS 'MODULE_PATHNAME', 'Temporal_start_sequence' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION startSequence(tgeography) + RETURNS tgeography + AS 'MODULE_PATHNAME', 'Temporal_start_sequence' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION endSequence(tgeometry) + RETURNS tgeometry + AS 'MODULE_PATHNAME', 'Temporal_end_sequence' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION endSequence(tgeography) + RETURNS tgeography + AS 'MODULE_PATHNAME', 'Temporal_end_sequence' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION sequenceN(tgeometry, integer) + RETURNS tgeometry + AS 'MODULE_PATHNAME', 'Temporal_sequence_n' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION sequenceN(tgeography, integer) + RETURNS tgeography + AS 'MODULE_PATHNAME', 'Temporal_sequence_n' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION sequences(tgeometry) + RETURNS tgeometry[] + AS 'MODULE_PATHNAME', 'Temporal_sequences' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION sequences(tgeography) + RETURNS tgeography[] + AS 'MODULE_PATHNAME', 'Temporal_sequences' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION segments(tgeometry) + RETURNS tgeometry[] + AS 'MODULE_PATHNAME', 'Temporal_segments' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION segments(tgeography) + RETURNS tgeography[] + AS 'MODULE_PATHNAME', 'Temporal_segments' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/***************************************************************************** + * Shift and scale functions + *****************************************************************************/ + +CREATE FUNCTION shiftTime(tgeometry, interval) + RETURNS tgeometry + AS 'MODULE_PATHNAME', 'Temporal_shift_time' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION shiftTime(tgeography, interval) + RETURNS tgeography + AS 'MODULE_PATHNAME', 'Temporal_shift_time' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION scaleTime(tgeometry, interval) + RETURNS tgeometry + AS 'MODULE_PATHNAME', 'Temporal_scale_time' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION scaleTime(tgeography, interval) + RETURNS tgeography + AS 'MODULE_PATHNAME', 'Temporal_scale_time' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION shiftScaleTime(tgeometry, interval, interval) + RETURNS tgeometry + AS 'MODULE_PATHNAME', 'Temporal_shift_scale_time' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION shiftScaleTime(tgeography, interval, interval) + RETURNS tgeography + AS 'MODULE_PATHNAME', 'Temporal_shift_scale_time' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION tprecision(tgeometry, duration interval, + origin timestamptz DEFAULT '2000-01-03') + RETURNS tgeometry + AS 'MODULE_PATHNAME', 'Temporal_tprecision' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tprecision(tgeography, duration interval, + origin timestamptz DEFAULT '2000-01-03') + RETURNS tgeography + AS 'MODULE_PATHNAME', 'Temporal_tprecision' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION tsample(tgeometry, duration interval, + origin timestamptz DEFAULT '2000-01-03', interp text DEFAULT 'discrete') + RETURNS tgeometry + AS 'MODULE_PATHNAME', 'Temporal_tsample' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tsample(tgeography, duration interval, + origin timestamptz DEFAULT '2000-01-03', interp text DEFAULT 'discrete') + RETURNS tgeography + AS 'MODULE_PATHNAME', 'Temporal_tsample' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/***************************************************************************** + * Unnest Function + *****************************************************************************/ + +CREATE FUNCTION unnest(tgeometry) + RETURNS SETOF geom_tstzspanset + AS 'MODULE_PATHNAME', 'Temporal_unnest' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION unnest(tgeography) + RETURNS SETOF geog_tstzspanset + AS 'MODULE_PATHNAME', 'Temporal_unnest' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/***************************************************************************** + * Restriction Functions + *****************************************************************************/ + +CREATE FUNCTION atValues(tgeometry, geometry) + RETURNS tgeometry + AS 'MODULE_PATHNAME', 'Temporal_at_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION atValues(tgeography, geography) + RETURNS tgeography + AS 'MODULE_PATHNAME', 'Temporal_at_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION minusValues(tgeometry, geometry) + RETURNS tgeometry + AS 'MODULE_PATHNAME', 'Temporal_minus_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION minusValues(tgeography, geography) + RETURNS tgeography + AS 'MODULE_PATHNAME', 'Temporal_minus_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION atValues(tgeometry, geomset) + RETURNS tgeometry + AS 'MODULE_PATHNAME', 'Temporal_at_values' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION atValues(tgeography, geogset) + RETURNS tgeography + AS 'MODULE_PATHNAME', 'Temporal_at_values' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION minusValues(tgeometry, geomset) + RETURNS tgeometry + AS 'MODULE_PATHNAME', 'Temporal_minus_values' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION minusValues(tgeography, geogset) + RETURNS tgeography + AS 'MODULE_PATHNAME', 'Temporal_minus_values' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION atTime(tgeometry, timestamptz) + RETURNS tgeometry + AS 'MODULE_PATHNAME', 'Temporal_at_timestamptz' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION atTime(tgeography, timestamptz) + RETURNS tgeography + AS 'MODULE_PATHNAME', 'Temporal_at_timestamptz' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION minusTime(tgeometry, timestamptz) + RETURNS tgeometry + AS 'MODULE_PATHNAME', 'Temporal_minus_timestamptz' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION minusTime(tgeography, timestamptz) + RETURNS tgeography + AS 'MODULE_PATHNAME', 'Temporal_minus_timestamptz' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION valueAtTimestamp(tgeometry, timestamptz) + RETURNS geometry + AS 'MODULE_PATHNAME', 'Temporal_value_at_timestamptz' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION valueAtTimestamp(tgeography, timestamptz) + RETURNS geography + AS 'MODULE_PATHNAME', 'Temporal_value_at_timestamptz' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION atTime(tgeometry, tstzset) + RETURNS tgeometry + AS 'MODULE_PATHNAME', 'Temporal_at_tstzset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION atTime(tgeography, tstzset) + RETURNS tgeography + AS 'MODULE_PATHNAME', 'Temporal_at_tstzset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION minusTime(tgeometry, tstzset) + RETURNS tgeometry + AS 'MODULE_PATHNAME', 'Temporal_minus_tstzset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION minusTime(tgeography, tstzset) + RETURNS tgeography + AS 'MODULE_PATHNAME', 'Temporal_minus_tstzset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION atTime(tgeometry, tstzspan) + RETURNS tgeometry + AS 'MODULE_PATHNAME', 'Temporal_at_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION atTime(tgeography, tstzspan) + RETURNS tgeography + AS 'MODULE_PATHNAME', 'Temporal_at_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION minusTime(tgeometry, tstzspan) + RETURNS tgeometry + AS 'MODULE_PATHNAME', 'Temporal_minus_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION minusTime(tgeography, tstzspan) + RETURNS tgeography + AS 'MODULE_PATHNAME', 'Temporal_minus_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION atTime(tgeometry, tstzspanset) + RETURNS tgeometry + AS 'MODULE_PATHNAME', 'Temporal_at_tstzspanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION atTime(tgeography, tstzspanset) + RETURNS tgeography + AS 'MODULE_PATHNAME', 'Temporal_at_tstzspanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION minusTime(tgeometry, tstzspanset) + RETURNS tgeometry + AS 'MODULE_PATHNAME', 'Temporal_minus_tstzspanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION minusTime(tgeography, tstzspanset) + RETURNS tgeography + AS 'MODULE_PATHNAME', 'Temporal_minus_tstzspanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION beforeTimestamp(tgeometry, timestamptz, strict bool DEFAULT TRUE) + RETURNS tgeometry + AS 'MODULE_PATHNAME', 'Temporal_before_timestamptz' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION beforeTimestamp(tgeography, timestamptz, strict bool DEFAULT TRUE) + RETURNS tgeography + AS 'MODULE_PATHNAME', 'Temporal_before_timestamptz' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION afterTimestamp(tgeometry, timestamptz, strict bool DEFAULT TRUE) + RETURNS tgeometry + AS 'MODULE_PATHNAME', 'Temporal_after_timestamptz' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION afterTimestamp(tgeography, timestamptz, strict bool DEFAULT TRUE) + RETURNS tgeography + AS 'MODULE_PATHNAME', 'Temporal_after_timestamptz' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/***************************************************************************** + * Modification Functions + *****************************************************************************/ + +CREATE FUNCTION insert(tgeometry, tgeometry, connect boolean DEFAULT TRUE) + RETURNS tgeometry + AS 'MODULE_PATHNAME', 'Temporal_update' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION insert(tgeography, tgeometry, connect boolean DEFAULT TRUE) + RETURNS tgeography + AS 'MODULE_PATHNAME', 'Temporal_update' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION update(tgeometry, tgeometry, connect boolean DEFAULT TRUE) + RETURNS tgeometry + AS 'MODULE_PATHNAME', 'Temporal_update' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION update(tgeography, tgeography, connect boolean DEFAULT TRUE) + RETURNS tgeography + AS 'MODULE_PATHNAME', 'Temporal_update' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION deleteTime(tgeometry, timestamptz, connect boolean DEFAULT TRUE) + RETURNS tgeometry + AS 'MODULE_PATHNAME', 'Temporal_delete_timestamptz' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION deleteTime(tgeography, timestamptz, connect boolean DEFAULT TRUE) + RETURNS tgeography + AS 'MODULE_PATHNAME', 'Temporal_delete_timestamptz' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION deleteTime(tgeometry, tstzset, connect boolean DEFAULT TRUE) + RETURNS tgeometry + AS 'MODULE_PATHNAME', 'Temporal_delete_tstzset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION deleteTime(tgeography, tstzset, connect boolean DEFAULT TRUE) + RETURNS tgeography + AS 'MODULE_PATHNAME', 'Temporal_delete_tstzset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION deleteTime(tgeometry, tstzspan, connect boolean DEFAULT TRUE) + RETURNS tgeometry + AS 'MODULE_PATHNAME', 'Temporal_delete_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION deleteTime(tgeography, tstzspan, connect boolean DEFAULT TRUE) + RETURNS tgeography + AS 'MODULE_PATHNAME', 'Temporal_delete_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION deleteTime(tgeometry, tstzspanset, connect boolean DEFAULT TRUE) + RETURNS tgeometry + AS 'MODULE_PATHNAME', 'Temporal_delete_tstzspanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION deleteTime(tgeography, tstzspanset, connect boolean DEFAULT TRUE) + RETURNS tgeography + AS 'MODULE_PATHNAME', 'Temporal_delete_tstzspanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/***************************************************************************** + * Stops Function + *****************************************************************************/ + +-- CREATE FUNCTION stops(tgeometry, maxdist float DEFAULT 0.0, + -- minduration interval DEFAULT '0 minutes') + -- RETURNS tgeometry + -- AS 'MODULE_PATHNAME', 'Temporal_stops' + -- LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +-- CREATE FUNCTION stops(tgeography, maxdist float DEFAULT 0.0, + -- minduration interval DEFAULT '0 minutes') + -- RETURNS tgeography + -- AS 'MODULE_PATHNAME', 'Temporal_stops' + -- LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +-- CREATE FUNCTION stops(tgeometry, minduration interval DEFAULT '0 minutes') + -- RETURNS tgeometry + -- AS 'SELECT @extschema@.stops($1, 0.0, $2)' + -- LANGUAGE SQL IMMUTABLE STRICT PARALLEL SAFE; +-- CREATE FUNCTION stops(tgeography, minduration interval DEFAULT '0 minutes') + -- RETURNS tgeography + -- AS 'SELECT @extschema@.stops($1, 0.0, $2)' + -- LANGUAGE SQL IMMUTABLE STRICT PARALLEL SAFE; + +/****************************************************************************** + * Multidimensional tiling + ******************************************************************************/ + +CREATE TYPE time_tgeom AS ( + time timestamptz, + tgeom tgeometry +); +CREATE TYPE time_tgeog AS ( + time timestamptz, + tgeog tgeography +); + +CREATE FUNCTION timeSplit(tgeometry, bin_width interval, + origin timestamptz DEFAULT '2000-01-03') + RETURNS setof time_tgeom + AS 'MODULE_PATHNAME', 'Temporal_time_split' + LANGUAGE C IMMUTABLE PARALLEL SAFE STRICT; +CREATE FUNCTION timeSplit(tgeography, bin_width interval, + origin timestamptz DEFAULT '2000-01-03') + RETURNS setof time_tgeog + AS 'MODULE_PATHNAME', 'Temporal_time_split' + LANGUAGE C IMMUTABLE PARALLEL SAFE STRICT; + +/****************************************************************************** + * Comparison functions and B-tree indexing + ******************************************************************************/ + +CREATE FUNCTION temporal_lt(tgeometry, tgeometry) + RETURNS bool + AS 'MODULE_PATHNAME', 'Temporal_lt' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_le(tgeometry, tgeometry) + RETURNS bool + AS 'MODULE_PATHNAME', 'Temporal_le' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_eq(tgeometry, tgeometry) + RETURNS bool + AS 'MODULE_PATHNAME', 'Temporal_eq' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_ne(tgeometry, tgeometry) + RETURNS bool + AS 'MODULE_PATHNAME', 'Temporal_ne' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_ge(tgeometry, tgeometry) + RETURNS bool + AS 'MODULE_PATHNAME', 'Temporal_ge' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_gt(tgeometry, tgeometry) + RETURNS bool + AS 'MODULE_PATHNAME', 'Temporal_gt' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_cmp(tgeometry, tgeometry) + RETURNS int4 + AS 'MODULE_PATHNAME', 'Temporal_cmp' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR < ( + LEFTARG = tgeometry, RIGHTARG = tgeometry, + PROCEDURE = temporal_lt, + COMMUTATOR = >, NEGATOR = >=, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR <= ( + LEFTARG = tgeometry, RIGHTARG = tgeometry, + PROCEDURE = temporal_le, + COMMUTATOR = >=, NEGATOR = >, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR = ( + LEFTARG = tgeometry, RIGHTARG = tgeometry, + PROCEDURE = temporal_eq, + COMMUTATOR = =, NEGATOR = <>, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR <> ( + LEFTARG = tgeometry, RIGHTARG = tgeometry, + PROCEDURE = temporal_ne, + COMMUTATOR = <>, NEGATOR = =, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR >= ( + LEFTARG = tgeometry, RIGHTARG = tgeometry, + PROCEDURE = temporal_ge, + COMMUTATOR = <=, NEGATOR = <, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR > ( + LEFTARG = tgeometry, RIGHTARG = tgeometry, + PROCEDURE = temporal_gt, + COMMUTATOR = <, NEGATOR = <=, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +CREATE OPERATOR CLASS tgeometry_btree_ops + DEFAULT FOR TYPE tgeometry USING btree AS + OPERATOR 1 <, + OPERATOR 2 <=, + OPERATOR 3 =, + OPERATOR 4 >=, + OPERATOR 5 >, + FUNCTION 1 temporal_cmp(tgeometry, tgeometry); + +/******************************************************************************/ + +CREATE FUNCTION temporal_lt(tgeography, tgeography) + RETURNS bool + AS 'MODULE_PATHNAME', 'Temporal_lt' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_le(tgeography, tgeography) + RETURNS bool + AS 'MODULE_PATHNAME', 'Temporal_le' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_eq(tgeography, tgeography) + RETURNS bool + AS 'MODULE_PATHNAME', 'Temporal_eq' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_ne(tgeography, tgeography) + RETURNS bool + AS 'MODULE_PATHNAME', 'Temporal_ne' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_ge(tgeography, tgeography) + RETURNS bool + AS 'MODULE_PATHNAME', 'Temporal_ge' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_gt(tgeography, tgeography) + RETURNS bool + AS 'MODULE_PATHNAME', 'Temporal_gt' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_cmp(tgeography, tgeography) + RETURNS int4 + AS 'MODULE_PATHNAME', 'Temporal_cmp' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR < ( + LEFTARG = tgeography, RIGHTARG = tgeography, + PROCEDURE = temporal_lt, + COMMUTATOR = >, NEGATOR = >=, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR <= ( + LEFTARG = tgeography, RIGHTARG = tgeography, + PROCEDURE = temporal_le, + COMMUTATOR = >=, NEGATOR = >, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR = ( + LEFTARG = tgeography, RIGHTARG = tgeography, + PROCEDURE = temporal_eq, + COMMUTATOR = =, NEGATOR = <>, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR <> ( + LEFTARG = tgeography, RIGHTARG = tgeography, + PROCEDURE = temporal_ne, + COMMUTATOR = <>, NEGATOR = =, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR >= ( + LEFTARG = tgeography, RIGHTARG = tgeography, + PROCEDURE = temporal_ge, + COMMUTATOR = <=, NEGATOR = <, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR > ( + LEFTARG = tgeography, RIGHTARG = tgeography, + PROCEDURE = temporal_gt, + COMMUTATOR = <, NEGATOR = <=, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +CREATE OPERATOR CLASS tgeography_btree_ops + DEFAULT FOR TYPE tgeography USING btree AS + OPERATOR 1 <, + OPERATOR 2 <=, + OPERATOR 3 =, + OPERATOR 4 >=, + OPERATOR 5 >, + FUNCTION 1 temporal_cmp(tgeography, tgeography); + +/******************************************************************************/ + +CREATE FUNCTION temporal_hash(tgeometry) + RETURNS integer + AS 'MODULE_PATHNAME', 'Temporal_hash' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_hash(tgeography) + RETURNS integer + AS 'MODULE_PATHNAME', 'Temporal_hash' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR CLASS tgeometry_hash_ops + DEFAULT FOR TYPE tgeometry USING hash AS + OPERATOR 1 = , + FUNCTION 1 temporal_hash(tgeometry); +CREATE OPERATOR CLASS tgeography_hash_ops + DEFAULT FOR TYPE tgeography USING hash AS + OPERATOR 1 = , + FUNCTION 1 temporal_hash(tgeography); + +/******************************************************************************/ + diff --git a/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/geo/052_tpoint.in.sql b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/geo/052_tpoint.in.sql new file mode 100644 index 00000000..4d3383e7 --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/geo/052_tpoint.in.sql @@ -0,0 +1,1082 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @file + * @brief Basic functions for temporal geometry/geography points + */ + +CREATE TYPE tgeompoint; +CREATE TYPE tgeogpoint; + +/****************************************************************************** + * Input/Output + ******************************************************************************/ + +CREATE FUNCTION tgeompoint_in(cstring, oid, integer) + RETURNS tgeompoint + AS 'MODULE_PATHNAME', 'Tpoint_in' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_out(tgeompoint) + RETURNS cstring + AS 'MODULE_PATHNAME', 'Temporal_out' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tgeompoint_recv(internal, oid, integer) + RETURNS tgeompoint + AS 'MODULE_PATHNAME', 'Temporal_recv' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_send(tgeompoint) + RETURNS bytea + AS 'MODULE_PATHNAME', 'Temporal_send' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION tgeompoint_typmod_in(cstring[]) + RETURNS integer + AS 'MODULE_PATHNAME', 'Tgeompoint_typmod_in' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE TYPE tgeompoint ( + internallength = variable, + input = tgeompoint_in, + output = temporal_out, + send = temporal_send, + receive = tgeompoint_recv, + typmod_in = tgeompoint_typmod_in, + typmod_out = tspatial_typmod_out, + storage = extended, + alignment = double, + analyze = tspatial_analyze +); + +CREATE FUNCTION tgeogpoint_in(cstring, oid, integer) + RETURNS tgeogpoint + AS 'MODULE_PATHNAME', 'Tpoint_in' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_out(tgeogpoint) + RETURNS cstring + AS 'MODULE_PATHNAME', 'Temporal_out' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tgeogpoint_recv(internal, oid, integer) + RETURNS tgeogpoint + AS 'MODULE_PATHNAME', 'Temporal_recv' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_send(tgeogpoint) + RETURNS bytea + AS 'MODULE_PATHNAME', 'Temporal_send' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION tgeogpoint_typmod_in(cstring[]) + RETURNS integer + AS 'MODULE_PATHNAME', 'Tgeogpoint_typmod_in' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE TYPE tgeogpoint ( + internallength = variable, + input = tgeogpoint_in, + output = temporal_out, + send = temporal_send, + receive = tgeogpoint_recv, + typmod_in = tgeogpoint_typmod_in, + typmod_out = tspatial_typmod_out, + storage = extended, + alignment = double, + analyze = tspatial_analyze +); + +-- Special cast for enforcing the typmod restrictions +CREATE FUNCTION tgeompoint(tgeompoint, integer) + RETURNS tgeompoint + AS 'MODULE_PATHNAME', 'Tspatial_enforce_typmod' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tgeogpoint(tgeogpoint, integer) + RETURNS tgeogpoint + AS 'MODULE_PATHNAME', 'Tspatial_enforce_typmod' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE CAST (tgeompoint AS tgeompoint) WITH FUNCTION tgeompoint(tgeompoint, integer) AS IMPLICIT; +CREATE CAST (tgeogpoint AS tgeogpoint) WITH FUNCTION tgeogpoint(tgeogpoint, integer) AS IMPLICIT; + +/****************************************************************************** + * Constructors + ******************************************************************************/ + +CREATE FUNCTION tgeompoint(geometry(Point), timestamptz) + RETURNS tgeompoint + AS 'MODULE_PATHNAME', 'Tpointinst_constructor' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tgeogpoint(geography(Point), timestamptz) + RETURNS tgeogpoint + AS 'MODULE_PATHNAME', 'Tpointinst_constructor' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION tgeompoint(geometry, tstzset) + RETURNS tgeompoint + AS 'MODULE_PATHNAME', 'Tsequence_from_base_tstzset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tgeogpoint(geography, tstzset) + RETURNS tgeogpoint + AS 'MODULE_PATHNAME', 'Tsequence_from_base_tstzset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION tgeompoint(geometry, tstzspan, text DEFAULT 'linear') + RETURNS tgeompoint + AS 'MODULE_PATHNAME', 'Tsequence_from_base_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tgeogpoint(geography, tstzspan, text DEFAULT 'linear') + RETURNS tgeogpoint + AS 'MODULE_PATHNAME', 'Tsequence_from_base_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION tgeompoint(geometry, tstzspanset, text DEFAULT 'linear') + RETURNS tgeompoint + AS 'MODULE_PATHNAME', 'Tsequenceset_from_base_tstzspanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tgeogpoint(geography, tstzspanset, text DEFAULT 'linear') + RETURNS tgeompoint + AS 'MODULE_PATHNAME', 'Tsequenceset_from_base_tstzspanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/******************************************************************************/ + +CREATE FUNCTION tgeompointSeq(tgeompoint[], text DEFAULT 'linear', + lower_inc boolean DEFAULT true, upper_inc boolean DEFAULT true) + RETURNS tgeompoint + AS 'MODULE_PATHNAME', 'Tsequence_constructor' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tgeogpointSeq(tgeogpoint[], text DEFAULT 'linear', + lower_inc boolean DEFAULT true, upper_inc boolean DEFAULT true) + RETURNS tgeogpoint + AS 'MODULE_PATHNAME', 'Tsequence_constructor' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION tgeompointSeqSet(tgeompoint[]) + RETURNS tgeompoint + AS 'MODULE_PATHNAME', 'Tsequenceset_constructor' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tgeogpointSeqSet(tgeogpoint[]) + RETURNS tgeogpoint + AS 'MODULE_PATHNAME', 'Tsequenceset_constructor' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +-- The function is not strict +CREATE FUNCTION tgeompointSeqSetGaps(tgeompoint[], maxt interval DEFAULT NULL, + maxdist float DEFAULT NULL, text DEFAULT 'linear') + RETURNS tgeompoint + AS 'MODULE_PATHNAME', 'Tsequenceset_constructor_gaps' + LANGUAGE C IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION tgeogpointSeqSetGaps(tgeogpoint[], maxt interval DEFAULT NULL, + maxdist float DEFAULT NULL, text DEFAULT 'linear') + RETURNS tgeogpoint + AS 'MODULE_PATHNAME', 'Tsequenceset_constructor_gaps' + LANGUAGE C IMMUTABLE PARALLEL SAFE; + +/****************************************************************************** + * Conversions + ******************************************************************************/ + +CREATE FUNCTION timeSpan(tgeompoint) + RETURNS tstzspan + AS 'MODULE_PATHNAME', 'Temporal_to_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION timeSpan(tgeogpoint) + RETURNS tstzspan + AS 'MODULE_PATHNAME', 'Temporal_to_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE CAST (tgeompoint AS tstzspan) WITH FUNCTION timeSpan(tgeompoint); +CREATE CAST (tgeogpoint AS tstzspan) WITH FUNCTION timeSpan(tgeogpoint); + +/****************************************************************************** + * Transformations + ******************************************************************************/ + +CREATE FUNCTION tgeompointInst(tgeompoint) + RETURNS tgeompoint + AS 'MODULE_PATHNAME', 'Temporal_to_tinstant' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +-- The function is not strict +CREATE FUNCTION tgeompointSeq(tgeompoint, text) + RETURNS tgeompoint + AS 'MODULE_PATHNAME', 'Temporal_to_tsequence' + LANGUAGE C IMMUTABLE PARALLEL SAFE; +-- The function is not strict +CREATE FUNCTION tgeompointSeq(tgeompoint) + RETURNS tgeompoint + AS 'SELECT @extschema@.tgeompointSeq($1, NULL)' + LANGUAGE SQL IMMUTABLE PARALLEL SAFE; +-- The function is not strict +CREATE FUNCTION tgeompointSeqSet(tgeompoint, text) + RETURNS tgeompoint + AS 'MODULE_PATHNAME', 'Temporal_to_tsequenceset' + LANGUAGE C IMMUTABLE PARALLEL SAFE; +-- The function is not strict +CREATE FUNCTION tgeompointSeqSet(tgeompoint) + RETURNS tgeompoint + AS 'SELECT @extschema@.tgeompointSeqSet($1, NULL)' + LANGUAGE SQL IMMUTABLE PARALLEL SAFE; + +CREATE FUNCTION tgeogpointInst(tgeogpoint) + RETURNS tgeogpoint + AS 'MODULE_PATHNAME', 'Temporal_to_tinstant' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +-- The function is not strict +CREATE FUNCTION tgeogpointSeq(tgeogpoint, text) + RETURNS tgeogpoint + AS 'MODULE_PATHNAME', 'Temporal_to_tsequence' + LANGUAGE C IMMUTABLE PARALLEL SAFE; +-- The function is not strict +CREATE FUNCTION tgeogpointSeq(tgeogpoint) + RETURNS tgeogpoint + AS 'SELECT @extschema@.tgeogpointSeq($1, NULL)' + LANGUAGE SQL IMMUTABLE PARALLEL SAFE; +-- The function is not strict +CREATE FUNCTION tgeogpointSeqSet(tgeogpoint, text) + RETURNS tgeogpoint + AS 'MODULE_PATHNAME', 'Temporal_to_tsequenceset' + LANGUAGE C IMMUTABLE PARALLEL SAFE; +-- The function is not strict +CREATE FUNCTION tgeogpointSeqSet(tgeogpoint) + RETURNS tgeogpoint + AS 'SELECT @extschema@.tgeogpointSeqSet($1, NULL)' + LANGUAGE SQL IMMUTABLE PARALLEL SAFE; + +CREATE FUNCTION setInterp(tgeompoint, text) + RETURNS tgeompoint + AS 'MODULE_PATHNAME', 'Temporal_set_interp' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION setInterp(tgeogpoint, text) + RETURNS tgeogpoint + AS 'MODULE_PATHNAME', 'Temporal_set_interp' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION appendInstant(tgeompoint, tgeompoint) + RETURNS tgeompoint + AS 'MODULE_PATHNAME', 'Temporal_append_tinstant' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION appendInstant(tgeogpoint, tgeogpoint) + RETURNS tgeogpoint + AS 'MODULE_PATHNAME', 'Temporal_append_tinstant' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION appendSequence(tgeompoint, tgeompoint) + RETURNS tgeompoint + AS 'MODULE_PATHNAME', 'Temporal_append_tsequence' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION appendSequence(tgeogpoint, tgeogpoint) + RETURNS tgeogpoint + AS 'MODULE_PATHNAME', 'Temporal_append_tsequence' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +-- The function is not strict +CREATE FUNCTION merge(tgeompoint, tgeompoint) + RETURNS tgeompoint + AS 'MODULE_PATHNAME', 'Temporal_merge' + LANGUAGE C IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION merge(tgeogpoint, tgeogpoint) + RETURNS tgeogpoint + AS 'MODULE_PATHNAME', 'Temporal_merge' + LANGUAGE C IMMUTABLE PARALLEL SAFE; + +CREATE FUNCTION merge(tgeompoint[]) + RETURNS tgeompoint +AS 'MODULE_PATHNAME', 'Temporal_merge_array' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION merge(tgeogpoint[]) + RETURNS tgeogpoint +AS 'MODULE_PATHNAME', 'Temporal_merge_array' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/****************************************************************************** + * Accessor Functions + ******************************************************************************/ + +CREATE FUNCTION tempSubtype(tgeompoint) + RETURNS text + AS 'MODULE_PATHNAME', 'Temporal_subtype' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tempSubtype(tgeogpoint) + RETURNS text + AS 'MODULE_PATHNAME', 'Temporal_subtype' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION interp(tgeompoint) + RETURNS text + AS 'MODULE_PATHNAME', 'Temporal_interp' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION interp(tgeogpoint) + RETURNS text + AS 'MODULE_PATHNAME', 'Temporal_interp' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION memSize(tgeompoint) + RETURNS integer + AS 'MODULE_PATHNAME', 'Temporal_mem_size' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION memSize(tgeogpoint) + RETURNS integer + AS 'MODULE_PATHNAME', 'Temporal_mem_size' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +-- value is a reserved word in SQL +CREATE FUNCTION getValue(tgeompoint) + RETURNS geometry(Point) + AS 'MODULE_PATHNAME', 'Tinstant_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION getValue(tgeogpoint) + RETURNS geography(Point) + AS 'MODULE_PATHNAME', 'Tinstant_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +-- There is no getValues() function for temporal points, +-- it is called trajectory() for temporal points + +CREATE FUNCTION getTimestamp(tgeompoint) + RETURNS timestamptz + AS 'MODULE_PATHNAME', 'Tinstant_timestamptz' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION getTimestamp(tgeogpoint) + RETURNS timestamptz + AS 'MODULE_PATHNAME', 'Tinstant_timestamptz' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION valueSet(tgeompoint) + RETURNS geomset + AS 'MODULE_PATHNAME', 'Temporal_valueset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION valueSet(tgeogpoint) + RETURNS geogset + AS 'MODULE_PATHNAME', 'Temporal_valueset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION valueN(tgeompoint, integer) + RETURNS geometry + AS 'MODULE_PATHNAME', 'Temporal_value_n' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION valueN(tgeogpoint, integer) + RETURNS geography + AS 'MODULE_PATHNAME', 'Temporal_value_n' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +-- time is a reserved word in SQL +CREATE FUNCTION getTime(tgeompoint) + RETURNS tstzspanset + AS 'MODULE_PATHNAME', 'Temporal_time' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION getTime(tgeogpoint) + RETURNS tstzspanset + AS 'MODULE_PATHNAME', 'Temporal_time' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION startValue(tgeompoint) + RETURNS geometry(Point) + AS 'MODULE_PATHNAME', 'Temporal_start_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION startValue(tgeogpoint) + RETURNS geography(Point) + AS 'MODULE_PATHNAME', 'Temporal_start_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION endValue(tgeompoint) + RETURNS geometry(Point) + AS 'MODULE_PATHNAME', 'Temporal_end_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION endValue(tgeogpoint) + RETURNS geography(Point) + AS 'MODULE_PATHNAME', 'Temporal_end_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION duration(tgeompoint, boundspan boolean DEFAULT FALSE) + RETURNS interval + AS 'MODULE_PATHNAME', 'Temporal_duration' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION duration(tgeogpoint, boundspan boolean DEFAULT FALSE) + RETURNS interval + AS 'MODULE_PATHNAME', 'Temporal_duration' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION lowerInc(tgeompoint) + RETURNS bool + AS 'MODULE_PATHNAME', 'Temporal_lower_inc' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION lowerInc(tgeogpoint) + RETURNS bool + AS 'MODULE_PATHNAME', 'Temporal_lower_inc' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION upperInc(tgeompoint) + RETURNS bool + AS 'MODULE_PATHNAME', 'Temporal_upper_inc' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION upperInc(tgeogpoint) + RETURNS bool + AS 'MODULE_PATHNAME', 'Temporal_upper_inc' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION numInstants(tgeompoint) + RETURNS integer + AS 'MODULE_PATHNAME', 'Temporal_num_instants' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION numInstants(tgeogpoint) + RETURNS integer + AS 'MODULE_PATHNAME', 'Temporal_num_instants' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION startInstant(tgeompoint) + RETURNS tgeompoint + AS 'MODULE_PATHNAME', 'Temporal_start_instant' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION startInstant(tgeogpoint) + RETURNS tgeogpoint + AS 'MODULE_PATHNAME', 'Temporal_start_instant' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION endInstant(tgeompoint) + RETURNS tgeompoint + AS 'MODULE_PATHNAME', 'Temporal_end_instant' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION endInstant(tgeogpoint) + RETURNS tgeogpoint + AS 'MODULE_PATHNAME', 'Temporal_end_instant' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION instantN(tgeompoint, integer) + RETURNS tgeompoint + AS 'MODULE_PATHNAME', 'Temporal_instant_n' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION instantN(tgeogpoint, integer) + RETURNS tgeogpoint + AS 'MODULE_PATHNAME', 'Temporal_instant_n' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION instants(tgeompoint) + RETURNS tgeompoint[] + AS 'MODULE_PATHNAME', 'Temporal_instants' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION instants(tgeogpoint) + RETURNS tgeogpoint[] + AS 'MODULE_PATHNAME', 'Temporal_instants' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION numTimestamps(tgeompoint) + RETURNS integer + AS 'MODULE_PATHNAME', 'Temporal_num_timestamps' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION numTimestamps(tgeogpoint) + RETURNS integer + AS 'MODULE_PATHNAME', 'Temporal_num_timestamps' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION startTimestamp(tgeompoint) + RETURNS timestamptz + AS 'MODULE_PATHNAME', 'Temporal_start_timestamptz' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION startTimestamp(tgeogpoint) + RETURNS timestamptz + AS 'MODULE_PATHNAME', 'Temporal_start_timestamptz' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION endTimestamp(tgeompoint) + RETURNS timestamptz + AS 'MODULE_PATHNAME', 'Temporal_end_timestamptz' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION endTimestamp(tgeogpoint) + RETURNS timestamptz + AS 'MODULE_PATHNAME', 'Temporal_end_timestamptz' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION timestampN(tgeompoint, integer) + RETURNS timestamptz + AS 'MODULE_PATHNAME', 'Temporal_timestamptz_n' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION timestampN(tgeogpoint, integer) + RETURNS timestamptz + AS 'MODULE_PATHNAME', 'Temporal_timestamptz_n' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION timestamps(tgeompoint) + RETURNS timestamptz[] + AS 'MODULE_PATHNAME', 'Temporal_timestamps' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION timestamps(tgeogpoint) + RETURNS timestamptz[] + AS 'MODULE_PATHNAME', 'Temporal_timestamps' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION numSequences(tgeompoint) + RETURNS integer + AS 'MODULE_PATHNAME', 'Temporal_num_sequences' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION numSequences(tgeogpoint) + RETURNS integer + AS 'MODULE_PATHNAME', 'Temporal_num_sequences' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION startSequence(tgeompoint) + RETURNS tgeompoint + AS 'MODULE_PATHNAME', 'Temporal_start_sequence' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION startSequence(tgeogpoint) + RETURNS tgeogpoint + AS 'MODULE_PATHNAME', 'Temporal_start_sequence' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION endSequence(tgeompoint) + RETURNS tgeompoint + AS 'MODULE_PATHNAME', 'Temporal_end_sequence' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION endSequence(tgeogpoint) + RETURNS tgeogpoint + AS 'MODULE_PATHNAME', 'Temporal_end_sequence' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION sequenceN(tgeompoint, integer) + RETURNS tgeompoint + AS 'MODULE_PATHNAME', 'Temporal_sequence_n' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION sequenceN(tgeogpoint, integer) + RETURNS tgeogpoint + AS 'MODULE_PATHNAME', 'Temporal_sequence_n' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION sequences(tgeompoint) + RETURNS tgeompoint[] + AS 'MODULE_PATHNAME', 'Temporal_sequences' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION sequences(tgeogpoint) + RETURNS tgeogpoint[] + AS 'MODULE_PATHNAME', 'Temporal_sequences' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION segments(tgeompoint) + RETURNS tgeompoint[] + AS 'MODULE_PATHNAME', 'Temporal_segments' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION segments(tgeogpoint) + RETURNS tgeogpoint[] + AS 'MODULE_PATHNAME', 'Temporal_segments' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/***************************************************************************** + * Shift and scale functions + *****************************************************************************/ + +CREATE FUNCTION shiftTime(tgeompoint, interval) + RETURNS tgeompoint + AS 'MODULE_PATHNAME', 'Temporal_shift_time' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION shiftTime(tgeogpoint, interval) + RETURNS tgeogpoint + AS 'MODULE_PATHNAME', 'Temporal_shift_time' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION scaleTime(tgeompoint, interval) + RETURNS tgeompoint + AS 'MODULE_PATHNAME', 'Temporal_scale_time' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION scaleTime(tgeogpoint, interval) + RETURNS tgeogpoint + AS 'MODULE_PATHNAME', 'Temporal_scale_time' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION shiftScaleTime(tgeompoint, interval, interval) + RETURNS tgeompoint + AS 'MODULE_PATHNAME', 'Temporal_shift_scale_time' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION shiftScaleTime(tgeogpoint, interval, interval) + RETURNS tgeogpoint + AS 'MODULE_PATHNAME', 'Temporal_shift_scale_time' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION tprecision(tgeompoint, duration interval, + origin timestamptz DEFAULT '2000-01-03') + RETURNS tgeompoint + AS 'MODULE_PATHNAME', 'Temporal_tprecision' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tprecision(tgeogpoint, duration interval, + origin timestamptz DEFAULT '2000-01-03') + RETURNS tgeogpoint + AS 'MODULE_PATHNAME', 'Temporal_tprecision' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION tsample(tgeompoint, duration interval, + origin timestamptz DEFAULT '2000-01-03', interp text DEFAULT 'discrete') + RETURNS tgeompoint + AS 'MODULE_PATHNAME', 'Temporal_tsample' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tsample(tgeogpoint, duration interval, + origin timestamptz DEFAULT '2000-01-03', interp text DEFAULT 'discrete') + RETURNS tgeogpoint + AS 'MODULE_PATHNAME', 'Temporal_tsample' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/***************************************************************************** + * Unnest Function + *****************************************************************************/ + +CREATE TYPE geom_tstzspanset AS ( + value geometry, + time tstzspanset +); +CREATE TYPE geog_tstzspanset AS ( + value geography, + time tstzspanset +); + +CREATE FUNCTION unnest(tgeompoint) + RETURNS SETOF geom_tstzspanset + AS 'MODULE_PATHNAME', 'Temporal_unnest' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION unnest(tgeogpoint) + RETURNS SETOF geog_tstzspanset + AS 'MODULE_PATHNAME', 'Temporal_unnest' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/***************************************************************************** + * Restriction Functions + *****************************************************************************/ + +CREATE FUNCTION atValues(tgeompoint, geometry(Point)) + RETURNS tgeompoint + AS 'MODULE_PATHNAME', 'Temporal_at_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION atValues(tgeogpoint, geography(Point)) + RETURNS tgeogpoint + AS 'MODULE_PATHNAME', 'Temporal_at_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION minusValues(tgeompoint, geometry(Point)) + RETURNS tgeompoint + AS 'MODULE_PATHNAME', 'Temporal_minus_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION minusValues(tgeogpoint, geography(Point)) + RETURNS tgeogpoint + AS 'MODULE_PATHNAME', 'Temporal_minus_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION atValues(tgeompoint, geomset) + RETURNS tgeompoint + AS 'MODULE_PATHNAME', 'Temporal_at_values' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION atValues(tgeogpoint, geogset) + RETURNS tgeogpoint + AS 'MODULE_PATHNAME', 'Temporal_at_values' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION minusValues(tgeompoint, geomset) + RETURNS tgeompoint + AS 'MODULE_PATHNAME', 'Temporal_minus_values' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION minusValues(tgeogpoint, geogset) + RETURNS tgeogpoint + AS 'MODULE_PATHNAME', 'Temporal_minus_values' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION atTime(tgeompoint, timestamptz) + RETURNS tgeompoint + AS 'MODULE_PATHNAME', 'Temporal_at_timestamptz' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION atTime(tgeogpoint, timestamptz) + RETURNS tgeogpoint + AS 'MODULE_PATHNAME', 'Temporal_at_timestamptz' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION minusTime(tgeompoint, timestamptz) + RETURNS tgeompoint + AS 'MODULE_PATHNAME', 'Temporal_minus_timestamptz' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION minusTime(tgeogpoint, timestamptz) + RETURNS tgeogpoint + AS 'MODULE_PATHNAME', 'Temporal_minus_timestamptz' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION valueAtTimestamp(tgeompoint, timestamptz) + RETURNS geometry(Point) + AS 'MODULE_PATHNAME', 'Temporal_value_at_timestamptz' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION valueAtTimestamp(tgeogpoint, timestamptz) + RETURNS geography(Point) + AS 'MODULE_PATHNAME', 'Temporal_value_at_timestamptz' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION atTime(tgeompoint, tstzset) + RETURNS tgeompoint + AS 'MODULE_PATHNAME', 'Temporal_at_tstzset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION atTime(tgeogpoint, tstzset) + RETURNS tgeogpoint + AS 'MODULE_PATHNAME', 'Temporal_at_tstzset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION minusTime(tgeompoint, tstzset) + RETURNS tgeompoint + AS 'MODULE_PATHNAME', 'Temporal_minus_tstzset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION minusTime(tgeogpoint, tstzset) + RETURNS tgeogpoint + AS 'MODULE_PATHNAME', 'Temporal_minus_tstzset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION atTime(tgeompoint, tstzspan) + RETURNS tgeompoint + AS 'MODULE_PATHNAME', 'Temporal_at_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION atTime(tgeogpoint, tstzspan) + RETURNS tgeogpoint + AS 'MODULE_PATHNAME', 'Temporal_at_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION minusTime(tgeompoint, tstzspan) + RETURNS tgeompoint + AS 'MODULE_PATHNAME', 'Temporal_minus_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION minusTime(tgeogpoint, tstzspan) + RETURNS tgeogpoint + AS 'MODULE_PATHNAME', 'Temporal_minus_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION atTime(tgeompoint, tstzspanset) + RETURNS tgeompoint + AS 'MODULE_PATHNAME', 'Temporal_at_tstzspanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION atTime(tgeogpoint, tstzspanset) + RETURNS tgeogpoint + AS 'MODULE_PATHNAME', 'Temporal_at_tstzspanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION minusTime(tgeompoint, tstzspanset) + RETURNS tgeompoint + AS 'MODULE_PATHNAME', 'Temporal_minus_tstzspanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION minusTime(tgeogpoint, tstzspanset) + RETURNS tgeogpoint + AS 'MODULE_PATHNAME', 'Temporal_minus_tstzspanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION beforeTimestamp(tgeompoint, timestamptz, strict bool DEFAULT TRUE) + RETURNS tgeompoint + AS 'MODULE_PATHNAME', 'Temporal_before_timestamptz' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION beforeTimestamp(tgeogpoint, timestamptz, strict bool DEFAULT TRUE) + RETURNS tgeogpoint + AS 'MODULE_PATHNAME', 'Temporal_before_timestamptz' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION afterTimestamp(tgeompoint, timestamptz, strict bool DEFAULT TRUE) + RETURNS tgeompoint + AS 'MODULE_PATHNAME', 'Temporal_after_timestamptz' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION afterTimestamp(tgeogpoint, timestamptz, strict bool DEFAULT TRUE) + RETURNS tgeogpoint + AS 'MODULE_PATHNAME', 'Temporal_after_timestamptz' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/***************************************************************************** + * Modification Functions + *****************************************************************************/ + +CREATE FUNCTION insert(tgeompoint, tgeompoint, connect boolean DEFAULT TRUE) + RETURNS tgeompoint + AS 'MODULE_PATHNAME', 'Temporal_update' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION insert(tgeogpoint, tgeompoint, connect boolean DEFAULT TRUE) + RETURNS tgeogpoint + AS 'MODULE_PATHNAME', 'Temporal_update' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION update(tgeompoint, tgeompoint, connect boolean DEFAULT TRUE) + RETURNS tgeompoint + AS 'MODULE_PATHNAME', 'Temporal_update' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION update(tgeogpoint, tgeogpoint, connect boolean DEFAULT TRUE) + RETURNS tgeogpoint + AS 'MODULE_PATHNAME', 'Temporal_update' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION deleteTime(tgeompoint, timestamptz, connect boolean DEFAULT TRUE) + RETURNS tgeompoint + AS 'MODULE_PATHNAME', 'Temporal_delete_timestamptz' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION deleteTime(tgeogpoint, timestamptz, connect boolean DEFAULT TRUE) + RETURNS tgeogpoint + AS 'MODULE_PATHNAME', 'Temporal_delete_timestamptz' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION deleteTime(tgeompoint, tstzset, connect boolean DEFAULT TRUE) + RETURNS tgeompoint + AS 'MODULE_PATHNAME', 'Temporal_delete_tstzset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION deleteTime(tgeogpoint, tstzset, connect boolean DEFAULT TRUE) + RETURNS tgeogpoint + AS 'MODULE_PATHNAME', 'Temporal_delete_tstzset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION deleteTime(tgeompoint, tstzspan, connect boolean DEFAULT TRUE) + RETURNS tgeompoint + AS 'MODULE_PATHNAME', 'Temporal_delete_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION deleteTime(tgeogpoint, tstzspan, connect boolean DEFAULT TRUE) + RETURNS tgeogpoint + AS 'MODULE_PATHNAME', 'Temporal_delete_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION deleteTime(tgeompoint, tstzspanset, connect boolean DEFAULT TRUE) + RETURNS tgeompoint + AS 'MODULE_PATHNAME', 'Temporal_delete_tstzspanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION deleteTime(tgeogpoint, tstzspanset, connect boolean DEFAULT TRUE) + RETURNS tgeogpoint + AS 'MODULE_PATHNAME', 'Temporal_delete_tstzspanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/***************************************************************************** + * Stops Function + *****************************************************************************/ + +CREATE FUNCTION stops(tgeompoint, maxdist float DEFAULT 0.0, + minduration interval DEFAULT '0 minutes') + RETURNS tgeompoint + AS 'MODULE_PATHNAME', 'Temporal_stops' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION stops(tgeogpoint, maxdist float DEFAULT 0.0, + minduration interval DEFAULT '0 minutes') + RETURNS tgeogpoint + AS 'MODULE_PATHNAME', 'Temporal_stops' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION stops(tgeompoint, minduration interval) + RETURNS tgeompoint + AS 'SELECT @extschema@.stops($1, 0.0, $2)' + LANGUAGE SQL IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION stops(tgeogpoint, minduration interval) + RETURNS tgeogpoint + AS 'SELECT @extschema@.stops($1, 0.0, $2)' + LANGUAGE SQL IMMUTABLE STRICT PARALLEL SAFE; + +/****************************************************************************** + * Multidimensional tiling + ******************************************************************************/ + +CREATE TYPE time_tgeompoint AS ( + time timestamptz, + temp tgeompoint +); +CREATE TYPE time_tgeogpoint AS ( + time timestamptz, + temp tgeogpoint +); + +CREATE FUNCTION timeSplit(tgeompoint, bin_width interval, + origin timestamptz DEFAULT '2000-01-03') + RETURNS setof time_tgeompoint + AS 'MODULE_PATHNAME', 'Temporal_time_split' + LANGUAGE C IMMUTABLE PARALLEL SAFE STRICT; +CREATE FUNCTION timeSplit(tgeogpoint, bin_width interval, + origin timestamptz DEFAULT '2000-01-03') + RETURNS setof time_tgeogpoint + AS 'MODULE_PATHNAME', 'Temporal_time_split' + LANGUAGE C IMMUTABLE PARALLEL SAFE STRICT; + +/****************************************************************************** + * Comparison functions and B-tree indexing + ******************************************************************************/ + +CREATE FUNCTION temporal_lt(tgeompoint, tgeompoint) + RETURNS bool + AS 'MODULE_PATHNAME', 'Temporal_lt' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_le(tgeompoint, tgeompoint) + RETURNS bool + AS 'MODULE_PATHNAME', 'Temporal_le' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_eq(tgeompoint, tgeompoint) + RETURNS bool + AS 'MODULE_PATHNAME', 'Temporal_eq' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_ne(tgeompoint, tgeompoint) + RETURNS bool + AS 'MODULE_PATHNAME', 'Temporal_ne' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_ge(tgeompoint, tgeompoint) + RETURNS bool + AS 'MODULE_PATHNAME', 'Temporal_ge' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_gt(tgeompoint, tgeompoint) + RETURNS bool + AS 'MODULE_PATHNAME', 'Temporal_gt' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_cmp(tgeompoint, tgeompoint) + RETURNS int4 + AS 'MODULE_PATHNAME', 'Temporal_cmp' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR < ( + LEFTARG = tgeompoint, RIGHTARG = tgeompoint, + PROCEDURE = temporal_lt, + COMMUTATOR = >, NEGATOR = >=, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR <= ( + LEFTARG = tgeompoint, RIGHTARG = tgeompoint, + PROCEDURE = temporal_le, + COMMUTATOR = >=, NEGATOR = >, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR = ( + LEFTARG = tgeompoint, RIGHTARG = tgeompoint, + PROCEDURE = temporal_eq, + COMMUTATOR = =, NEGATOR = <>, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR <> ( + LEFTARG = tgeompoint, RIGHTARG = tgeompoint, + PROCEDURE = temporal_ne, + COMMUTATOR = <>, NEGATOR = =, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR >= ( + LEFTARG = tgeompoint, RIGHTARG = tgeompoint, + PROCEDURE = temporal_ge, + COMMUTATOR = <=, NEGATOR = <, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR > ( + LEFTARG = tgeompoint, RIGHTARG = tgeompoint, + PROCEDURE = temporal_gt, + COMMUTATOR = <, NEGATOR = <=, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +CREATE OPERATOR CLASS tgeompoint_btree_ops + DEFAULT FOR TYPE tgeompoint USING btree AS + OPERATOR 1 <, + OPERATOR 2 <=, + OPERATOR 3 =, + OPERATOR 4 >=, + OPERATOR 5 >, + FUNCTION 1 temporal_cmp(tgeompoint, tgeompoint); + +/******************************************************************************/ + +CREATE FUNCTION temporal_lt(tgeogpoint, tgeogpoint) + RETURNS bool + AS 'MODULE_PATHNAME', 'Temporal_lt' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_le(tgeogpoint, tgeogpoint) + RETURNS bool + AS 'MODULE_PATHNAME', 'Temporal_le' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_eq(tgeogpoint, tgeogpoint) + RETURNS bool + AS 'MODULE_PATHNAME', 'Temporal_eq' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_ne(tgeogpoint, tgeogpoint) + RETURNS bool + AS 'MODULE_PATHNAME', 'Temporal_ne' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_ge(tgeogpoint, tgeogpoint) + RETURNS bool + AS 'MODULE_PATHNAME', 'Temporal_ge' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_gt(tgeogpoint, tgeogpoint) + RETURNS bool + AS 'MODULE_PATHNAME', 'Temporal_gt' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_cmp(tgeogpoint, tgeogpoint) + RETURNS int4 + AS 'MODULE_PATHNAME', 'Temporal_cmp' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR < ( + LEFTARG = tgeogpoint, RIGHTARG = tgeogpoint, + PROCEDURE = temporal_lt, + COMMUTATOR = >, NEGATOR = >=, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR <= ( + LEFTARG = tgeogpoint, RIGHTARG = tgeogpoint, + PROCEDURE = temporal_le, + COMMUTATOR = >=, NEGATOR = >, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR = ( + LEFTARG = tgeogpoint, RIGHTARG = tgeogpoint, + PROCEDURE = temporal_eq, + COMMUTATOR = =, NEGATOR = <>, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR <> ( + LEFTARG = tgeogpoint, RIGHTARG = tgeogpoint, + PROCEDURE = temporal_ne, + COMMUTATOR = <>, NEGATOR = =, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR >= ( + LEFTARG = tgeogpoint, RIGHTARG = tgeogpoint, + PROCEDURE = temporal_ge, + COMMUTATOR = <=, NEGATOR = <, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR > ( + LEFTARG = tgeogpoint, RIGHTARG = tgeogpoint, + PROCEDURE = temporal_gt, + COMMUTATOR = <, NEGATOR = <=, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +CREATE OPERATOR CLASS tgeogpoint_btree_ops + DEFAULT FOR TYPE tgeogpoint USING btree AS + OPERATOR 1 <, + OPERATOR 2 <=, + OPERATOR 3 =, + OPERATOR 4 >=, + OPERATOR 5 >, + FUNCTION 1 temporal_cmp(tgeogpoint, tgeogpoint); + +/******************************************************************************/ + +CREATE FUNCTION temporal_hash(tgeompoint) + RETURNS integer + AS 'MODULE_PATHNAME', 'Temporal_hash' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_hash(tgeogpoint) + RETURNS integer + AS 'MODULE_PATHNAME', 'Temporal_hash' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR CLASS tgeompoint_hash_ops + DEFAULT FOR TYPE tgeompoint USING hash AS + OPERATOR 1 = , + FUNCTION 1 temporal_hash(tgeompoint); +CREATE OPERATOR CLASS tgeogpoint_hash_ops + DEFAULT FOR TYPE tgeogpoint USING hash AS + OPERATOR 1 = , + FUNCTION 1 temporal_hash(tgeogpoint); + +/******************************************************************************/ + diff --git a/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/geo/053_tgeo_inout.in.sql b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/geo/053_tgeo_inout.in.sql new file mode 100644 index 00000000..dd3ff9da --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/geo/053_tgeo_inout.in.sql @@ -0,0 +1,172 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @file + * @brief Input/output of temporal geometries/geographies in WKT, EWKT, and + * MF-JSON representation + */ + +/***************************************************************************** + * Input + *****************************************************************************/ + +CREATE FUNCTION tgeometryFromText(text) + RETURNS tgeometry + AS 'MODULE_PATHNAME', 'Tspatial_from_ewkt' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tgeographyFromText(text) + RETURNS tgeography + AS 'MODULE_PATHNAME', 'Tspatial_from_ewkt' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION tgeometryFromEWKT(text) + RETURNS tgeometry + AS 'MODULE_PATHNAME', 'Tspatial_from_ewkt' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tgeographyFromEWKT(text) + RETURNS tgeography + AS 'MODULE_PATHNAME', 'Tspatial_from_ewkt' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION tgeometryFromMFJSON(text) + RETURNS tgeometry + AS 'MODULE_PATHNAME', 'Temporal_from_mfjson' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tgeographyFromMFJSON(text) + RETURNS tgeography + AS 'MODULE_PATHNAME', 'Temporal_from_mfjson' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION tgeometryFromBinary(bytea) + RETURNS tgeometry + AS 'MODULE_PATHNAME', 'Temporal_from_wkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tgeographyFromBinary(bytea) + RETURNS tgeography + AS 'MODULE_PATHNAME', 'Temporal_from_wkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION tgeometryFromEWKB(bytea) + RETURNS tgeometry + AS 'MODULE_PATHNAME', 'Temporal_from_wkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tgeographyFromEWKB(bytea) + RETURNS tgeography + AS 'MODULE_PATHNAME', 'Temporal_from_wkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION tgeometryFromHexEWKB(text) + RETURNS tgeometry + AS 'MODULE_PATHNAME', 'Temporal_from_hexwkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tgeographyFromHexEWKB(text) + RETURNS tgeography + AS 'MODULE_PATHNAME', 'Temporal_from_hexwkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/***************************************************************************** + * Output + *****************************************************************************/ + +CREATE FUNCTION asText(tgeometry, maxdecimaldigits int4 DEFAULT 15) + RETURNS text + AS 'MODULE_PATHNAME', 'Tspatial_as_text' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION asText(tgeometry[], maxdecimaldigits int4 DEFAULT 15) + RETURNS text[] + AS 'MODULE_PATHNAME', 'Spatialarr_as_text' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION asText(tgeography, maxdecimaldigits int4 DEFAULT 15) + RETURNS text + AS 'MODULE_PATHNAME', 'Tspatial_as_text' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION asText(tgeography[], maxdecimaldigits int4 DEFAULT 15) + RETURNS text[] + AS 'MODULE_PATHNAME', 'Spatialarr_as_text' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION asEWKT(tgeometry, maxdecimaldigits int4 DEFAULT 15) + RETURNS text + AS 'MODULE_PATHNAME', 'Tspatial_as_ewkt' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION asEWKT(tgeometry[], maxdecimaldigits int4 DEFAULT 15) + RETURNS text[] + AS 'MODULE_PATHNAME', 'Spatialarr_as_ewkt' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION asEWKT(tgeography, maxdecimaldigits int4 DEFAULT 15) + RETURNS text + AS 'MODULE_PATHNAME', 'Tspatial_as_ewkt' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION asEWKT(tgeography[], maxdecimaldigits int4 DEFAULT 15) + RETURNS text[] + AS 'MODULE_PATHNAME', 'Spatialarr_as_ewkt' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION asMFJSON(tgeometry, options int4 DEFAULT 0, + flags int4 DEFAULT 0, maxdecimaldigits int4 DEFAULT 15) + RETURNS text + AS 'MODULE_PATHNAME', 'Temporal_as_mfjson' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION asMFJSON(tgeography, options int4 DEFAULT 0, + flags int4 DEFAULT 0, maxdecimaldigits int4 DEFAULT 15) + RETURNS text + AS 'MODULE_PATHNAME', 'Temporal_as_mfjson' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION asBinary(tgeometry, endianenconding text DEFAULT '') + RETURNS bytea + AS 'MODULE_PATHNAME', 'Temporal_as_wkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION asBinary(tgeography, endianenconding text DEFAULT '') + RETURNS bytea + AS 'MODULE_PATHNAME', 'Temporal_as_wkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION asEWKB(tgeometry, endianenconding text DEFAULT '') + RETURNS bytea + AS 'MODULE_PATHNAME', 'Tspatial_as_ewkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION asEWKB(tgeography, endianenconding text DEFAULT '') + RETURNS bytea + AS 'MODULE_PATHNAME', 'Tspatial_as_ewkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION asHexEWKB(tgeometry, endianenconding text DEFAULT '') + RETURNS text + AS 'MODULE_PATHNAME', 'Temporal_as_hexwkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION asHexEWKB(tgeography, endianenconding text DEFAULT '') + RETURNS text + AS 'MODULE_PATHNAME', 'Temporal_as_hexwkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/*****************************************************************************/ diff --git a/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/geo/053_tpoint_inout.in.sql b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/geo/053_tpoint_inout.in.sql new file mode 100644 index 00000000..ce4358d5 --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/geo/053_tpoint_inout.in.sql @@ -0,0 +1,190 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @file + * @brief Input/output of temporal points in WKT, EWKT, and MF-JSON + * representation + */ + +/***************************************************************************** + * Input + *****************************************************************************/ + +CREATE FUNCTION tgeompointFromText(text) + RETURNS tgeompoint + AS 'MODULE_PATHNAME', 'Tpoint_from_ewkt' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tgeogpointFromText(text) + RETURNS tgeogpoint + AS 'MODULE_PATHNAME', 'Tpoint_from_ewkt' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION tgeompointFromEWKT(text) + RETURNS tgeompoint + AS 'MODULE_PATHNAME', 'Tpoint_from_ewkt' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tgeogpointFromEWKT(text) + RETURNS tgeogpoint + AS 'MODULE_PATHNAME', 'Tpoint_from_ewkt' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION tgeompointFromMFJSON(text) + RETURNS tgeompoint + AS 'MODULE_PATHNAME', 'Temporal_from_mfjson' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tgeogpointFromMFJSON(text) + RETURNS tgeogpoint + AS 'MODULE_PATHNAME', 'Temporal_from_mfjson' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION tgeompointFromBinary(bytea) + RETURNS tgeompoint + AS 'MODULE_PATHNAME', 'Temporal_from_wkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tgeogpointFromBinary(bytea) + RETURNS tgeogpoint + AS 'MODULE_PATHNAME', 'Temporal_from_wkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION tgeompointFromEWKB(bytea) + RETURNS tgeompoint + AS 'MODULE_PATHNAME', 'Temporal_from_wkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tgeogpointFromEWKB(bytea) + RETURNS tgeogpoint + AS 'MODULE_PATHNAME', 'Temporal_from_wkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION tgeompointFromHexEWKB(text) + RETURNS tgeompoint + AS 'MODULE_PATHNAME', 'Temporal_from_hexwkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tgeogpointFromHexEWKB(text) + RETURNS tgeogpoint + AS 'MODULE_PATHNAME', 'Temporal_from_hexwkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/***************************************************************************** + * Output + *****************************************************************************/ + +CREATE FUNCTION asText(tgeompoint, maxdecimaldigits int4 DEFAULT 15) + RETURNS text + AS 'MODULE_PATHNAME', 'Tspatial_as_text' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION asText(tgeompoint[], maxdecimaldigits int4 DEFAULT 15) + RETURNS text[] + AS 'MODULE_PATHNAME', 'Spatialarr_as_text' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION asText(tgeogpoint, maxdecimaldigits int4 DEFAULT 15) + RETURNS text + AS 'MODULE_PATHNAME', 'Tspatial_as_text' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION asText(tgeogpoint[], maxdecimaldigits int4 DEFAULT 15) + RETURNS text[] + AS 'MODULE_PATHNAME', 'Spatialarr_as_text' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION asText(geometry[], maxdecimaldigits int4 DEFAULT 15) + RETURNS text[] + AS 'MODULE_PATHNAME', 'Spatialarr_as_text' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION asText(geography[], maxdecimaldigits int4 DEFAULT 15) + RETURNS text[] + AS 'MODULE_PATHNAME', 'Spatialarr_as_text' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION asEWKT(tgeompoint, maxdecimaldigits int4 DEFAULT 15) + RETURNS text + AS 'MODULE_PATHNAME', 'Tspatial_as_ewkt' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION asEWKT(tgeompoint[], maxdecimaldigits int4 DEFAULT 15) + RETURNS text[] + AS 'MODULE_PATHNAME', 'Spatialarr_as_ewkt' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION asEWKT(tgeogpoint, maxdecimaldigits int4 DEFAULT 15) + RETURNS text + AS 'MODULE_PATHNAME', 'Tspatial_as_ewkt' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION asEWKT(tgeogpoint[], maxdecimaldigits int4 DEFAULT 15) + RETURNS text[] + AS 'MODULE_PATHNAME', 'Spatialarr_as_ewkt' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION asEWKT(geometry[], maxdecimaldigits int4 DEFAULT 15) + RETURNS text[] + AS 'MODULE_PATHNAME', 'Spatialarr_as_ewkt' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION asEWKT(geography[], maxdecimaldigits int4 DEFAULT 15) + RETURNS text[] + AS 'MODULE_PATHNAME', 'Spatialarr_as_ewkt' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION asMFJSON(tgeompoint, options int4 DEFAULT 0, + flags int4 DEFAULT 0, maxdecimaldigits int4 DEFAULT 15) + RETURNS text + AS 'MODULE_PATHNAME', 'Temporal_as_mfjson' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION asMFJSON(tgeogpoint, options int4 DEFAULT 0, + flags int4 DEFAULT 0, maxdecimaldigits int4 DEFAULT 15) + RETURNS text + AS 'MODULE_PATHNAME', 'Temporal_as_mfjson' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION asBinary(tgeompoint, endianenconding text DEFAULT '') + RETURNS bytea + AS 'MODULE_PATHNAME', 'Temporal_as_wkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION asBinary(tgeogpoint, endianenconding text DEFAULT '') + RETURNS bytea + AS 'MODULE_PATHNAME', 'Temporal_as_wkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION asEWKB(tgeompoint, endianenconding text DEFAULT '') + RETURNS bytea + AS 'MODULE_PATHNAME', 'Tspatial_as_ewkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION asEWKB(tgeogpoint, endianenconding text DEFAULT '') + RETURNS bytea + AS 'MODULE_PATHNAME', 'Tspatial_as_ewkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION asHexEWKB(tgeompoint, endianenconding text DEFAULT '') + RETURNS text + AS 'MODULE_PATHNAME', 'Temporal_as_hexwkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION asHexEWKB(tgeogpoint, endianenconding text DEFAULT '') + RETURNS text + AS 'MODULE_PATHNAME', 'Temporal_as_hexwkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/*****************************************************************************/ diff --git a/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/geo/054_tgeo_compops.in.sql b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/geo/054_tgeo_compops.in.sql new file mode 100644 index 00000000..07c6c492 --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/geo/054_tgeo_compops.in.sql @@ -0,0 +1,457 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @file + * @brief Ever/always and temporal comparison functions and operators for + * temporal geometries/geographies + */ + +/***************************************************************************** + * Index Support Function + *****************************************************************************/ + +CREATE FUNCTION tspatial_supportfn(internal) + RETURNS internal + AS 'MODULE_PATHNAME', 'Tspatial_supportfn' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/***************************************************************************** + * Ever/Always Comparison Functions + *****************************************************************************/ + +CREATE FUNCTION ever_eq(geometry, tgeometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Ever_eq_geo_tgeo' + SUPPORT tspatial_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION ever_eq(geography, tgeography) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Ever_eq_geo_tgeo' + SUPPORT tspatial_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR ?= ( + LEFTARG = geometry, RIGHTARG = tgeometry, + PROCEDURE = ever_eq, + NEGATOR = %<>, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR ?= ( + LEFTARG = geography, RIGHTARG = tgeography, + PROCEDURE = ever_eq, + NEGATOR = %<>, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +CREATE FUNCTION always_eq(geometry, tgeometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Always_eq_geo_tgeo' + SUPPORT tspatial_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION always_eq(geography, tgeography) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Always_eq_geo_tgeo' + SUPPORT tspatial_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR %= ( + LEFTARG = geometry, RIGHTARG = tgeometry, + PROCEDURE = always_eq, + NEGATOR = ?<>, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR %= ( + LEFTARG = geography, RIGHTARG = tgeography, + PROCEDURE = always_eq, + NEGATOR = ?<>, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +CREATE FUNCTION ever_ne(geometry, tgeometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Ever_ne_geo_tgeo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION ever_ne(geography, tgeography) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Ever_ne_geo_tgeo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR ?<> ( + LEFTARG = geometry, RIGHTARG = tgeometry, + PROCEDURE = ever_ne, + NEGATOR = %=, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR ?<> ( + LEFTARG = geography, RIGHTARG = tgeography, + PROCEDURE = ever_ne, + NEGATOR = %=, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +CREATE FUNCTION always_ne(geometry, tgeometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Always_ne_geo_tgeo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION always_ne(geography, tgeography) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Always_ne_geo_tgeo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR %<> ( + LEFTARG = geometry, RIGHTARG = tgeometry, + PROCEDURE = always_ne, + NEGATOR = ?=, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR %<> ( + LEFTARG = geography, RIGHTARG = tgeography, + PROCEDURE = always_ne, + NEGATOR = ?=, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +/*****************************************************************************/ + +CREATE FUNCTION ever_eq(tgeometry, geometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Ever_eq_tgeo_geo' + SUPPORT tspatial_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION ever_eq(tgeography, geography) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Ever_eq_tgeo_geo' + SUPPORT tspatial_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR ?= ( + LEFTARG = tgeometry, RIGHTARG = geometry, + PROCEDURE = ever_eq, + NEGATOR = %<>, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR ?= ( + LEFTARG = tgeography, RIGHTARG = geography, + PROCEDURE = ever_eq, + NEGATOR = %<>, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +CREATE FUNCTION always_eq(tgeometry, geometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Always_eq_tgeo_geo' + SUPPORT tspatial_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION always_eq(tgeography, geography) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Always_eq_tgeo_geo' + SUPPORT tspatial_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR %= ( + LEFTARG = tgeometry, RIGHTARG = geometry, + PROCEDURE = always_eq, + NEGATOR = ?<>, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR %= ( + LEFTARG = tgeography, RIGHTARG = geography, + PROCEDURE = always_eq, + NEGATOR = ?<>, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +CREATE FUNCTION ever_ne(tgeometry, geometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Ever_ne_tgeo_geo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION ever_ne(tgeography, geography) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Ever_ne_tgeo_geo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR ?<> ( + LEFTARG = tgeometry, RIGHTARG = geometry, + PROCEDURE = ever_ne, + NEGATOR = %=, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR ?<> ( + LEFTARG = tgeography, RIGHTARG = geography, + PROCEDURE = ever_ne, + NEGATOR = %=, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +CREATE FUNCTION always_ne(tgeometry, geometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Always_ne_tgeo_geo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION always_ne(tgeography, geography) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Always_ne_tgeo_geo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR %<> ( + LEFTARG = tgeometry, RIGHTARG = geometry, + PROCEDURE = always_ne, + NEGATOR = ?=, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR %<> ( + LEFTARG = tgeography, RIGHTARG = geography, + PROCEDURE = always_ne, + NEGATOR = ?=, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +/*****************************************************************************/ + +CREATE FUNCTION ever_eq(tgeometry, tgeometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Ever_eq_tgeo_tgeo' + SUPPORT tspatial_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION ever_eq(tgeography, tgeography) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Ever_eq_tgeo_tgeo' + SUPPORT tspatial_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR ?= ( + LEFTARG = tgeometry, RIGHTARG = tgeometry, + PROCEDURE = ever_eq, + NEGATOR = %<>, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR ?= ( + LEFTARG = tgeography, RIGHTARG = tgeography, + PROCEDURE = ever_eq, + NEGATOR = %<>, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +CREATE FUNCTION always_eq(tgeometry, tgeometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Always_eq_tgeo_tgeo' + SUPPORT tspatial_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION always_eq(tgeography, tgeography) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Always_eq_tgeo_tgeo' + SUPPORT tspatial_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR %= ( + LEFTARG = tgeography, RIGHTARG = tgeography, + PROCEDURE = always_eq, + NEGATOR = ?<>, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR %= ( + LEFTARG = tgeometry, RIGHTARG = tgeometry, + PROCEDURE = always_eq, + NEGATOR = ?<>, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +CREATE FUNCTION ever_ne(tgeometry, tgeometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Ever_ne_tgeo_tgeo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION ever_ne(tgeography, tgeography) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Ever_ne_tgeo_tgeo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR ?<> ( + LEFTARG = tgeometry, RIGHTARG = tgeometry, + PROCEDURE = ever_ne, + NEGATOR = %=, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR ?<> ( + LEFTARG = tgeography, RIGHTARG = tgeography, + PROCEDURE = ever_ne, + NEGATOR = %=, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +CREATE FUNCTION always_ne(tgeometry, tgeometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Always_ne_tgeo_tgeo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION always_ne(tgeography, tgeography) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Always_ne_tgeo_tgeo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR %<> ( + LEFTARG = tgeometry, RIGHTARG = tgeometry, + PROCEDURE = always_ne, + NEGATOR = ?=, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR %<> ( + LEFTARG = tgeography, RIGHTARG = tgeography, + PROCEDURE = always_ne, + NEGATOR = ?=, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +/***************************************************************************** + * Temporal equal + *****************************************************************************/ + +CREATE FUNCTION tgeo_teq(geometry, tgeometry) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Teq_geo_tgeo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tgeo_teq(tgeometry, geometry) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Teq_tgeo_geo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tgeo_teq(tgeometry, tgeometry) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Teq_temporal_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR #= ( + PROCEDURE = tgeo_teq, + LEFTARG = geometry, RIGHTARG = tgeometry, + COMMUTATOR = #= +); +CREATE OPERATOR #= ( + PROCEDURE = tgeo_teq, + LEFTARG = tgeometry, RIGHTARG = geometry, + COMMUTATOR = #= +); +CREATE OPERATOR #= ( + PROCEDURE = tgeo_teq, + LEFTARG = tgeometry, RIGHTARG = tgeometry, + COMMUTATOR = #= +); + +/*****************************************************************************/ + +CREATE FUNCTION tgeo_teq(geography, tgeography) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Teq_geo_tgeo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tgeo_teq(tgeography, geography) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Teq_tgeo_geo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tgeo_teq(tgeography, tgeography) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Teq_temporal_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR #= ( + PROCEDURE = tgeo_teq, + LEFTARG = geography, RIGHTARG = tgeography, + COMMUTATOR = #= +); +CREATE OPERATOR #= ( + PROCEDURE = tgeo_teq, + LEFTARG = tgeography, RIGHTARG = geography, + COMMUTATOR = #= +); +CREATE OPERATOR #= ( + PROCEDURE = tgeo_teq, + LEFTARG = tgeography, RIGHTARG = tgeography, + COMMUTATOR = #= +); + +/***************************************************************************** + * Temporal not equal + *****************************************************************************/ + +CREATE FUNCTION tgeo_tne(geometry, tgeometry) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Tne_geo_tgeo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tgeo_tne(tgeometry, geometry) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Tne_tgeo_geo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tgeo_tne(tgeometry, tgeometry) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Tne_temporal_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR #<> ( + PROCEDURE = tgeo_tne, + LEFTARG = geometry, RIGHTARG = tgeometry, + COMMUTATOR = #<> +); +CREATE OPERATOR #<> ( + PROCEDURE = tgeo_tne, + LEFTARG = tgeometry, RIGHTARG = geometry, + COMMUTATOR = #<> +); +CREATE OPERATOR #<> ( + PROCEDURE = tgeo_tne, + LEFTARG = tgeometry, RIGHTARG = tgeometry, + COMMUTATOR = #<> +); + +/*****************************************************************************/ + +CREATE FUNCTION tgeo_tne(geography, tgeography) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Tne_geo_tgeo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tgeo_tne(tgeography, geography) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Tne_tgeo_geo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tgeo_tne(tgeography, tgeography) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Tne_temporal_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR #<> ( + PROCEDURE = tgeo_tne, + LEFTARG = geography, RIGHTARG = tgeography, + COMMUTATOR = #<> +); +CREATE OPERATOR #<> ( + PROCEDURE = tgeo_tne, + LEFTARG = tgeography, RIGHTARG = geography, + COMMUTATOR = #<> +); +CREATE OPERATOR #<> ( + PROCEDURE = tgeo_tne, + LEFTARG = tgeography, RIGHTARG = tgeography, + COMMUTATOR = #<> +); + +/******************************************************************************/ diff --git a/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/geo/054_tpoint_compops.in.sql b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/geo/054_tpoint_compops.in.sql new file mode 100644 index 00000000..30ba5d36 --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/geo/054_tpoint_compops.in.sql @@ -0,0 +1,448 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @file + * @brief Ever/always and temporal comparison functions and operators for + * temporal geometry/geography points + */ + +/***************************************************************************** + * Ever/Always Comparison Functions + *****************************************************************************/ + +CREATE FUNCTION ever_eq(geometry, tgeompoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Ever_eq_geo_tgeo' + SUPPORT tspatial_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION ever_eq(geography, tgeogpoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Ever_eq_geo_tgeo' + SUPPORT tspatial_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR ?= ( + LEFTARG = geometry, RIGHTARG = tgeompoint, + PROCEDURE = ever_eq, + NEGATOR = %<>, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR ?= ( + LEFTARG = geography, RIGHTARG = tgeogpoint, + PROCEDURE = ever_eq, + NEGATOR = %<>, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +CREATE FUNCTION always_eq(geometry, tgeompoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Always_eq_geo_tgeo' + SUPPORT tspatial_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION always_eq(geography, tgeogpoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Always_eq_geo_tgeo' + SUPPORT tspatial_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR %= ( + LEFTARG = geography, RIGHTARG = tgeogpoint, + PROCEDURE = always_eq, + NEGATOR = ?<>, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR %= ( + LEFTARG = geometry, RIGHTARG = tgeompoint, + PROCEDURE = always_eq, + NEGATOR = ?<>, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +CREATE FUNCTION ever_ne(geometry, tgeompoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Ever_ne_geo_tgeo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION ever_ne(geography, tgeogpoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Ever_ne_geo_tgeo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR ?<> ( + LEFTARG = geometry, RIGHTARG = tgeompoint, + PROCEDURE = ever_ne, + NEGATOR = %=, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR ?<> ( + LEFTARG = geography, RIGHTARG = tgeogpoint, + PROCEDURE = ever_ne, + NEGATOR = %=, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +CREATE FUNCTION always_ne(geometry, tgeompoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Always_ne_geo_tgeo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION always_ne(geography, tgeogpoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Always_ne_geo_tgeo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR %<> ( + LEFTARG = geometry, RIGHTARG = tgeompoint, + PROCEDURE = always_ne, + NEGATOR = ?=, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR %<> ( + LEFTARG = geography, RIGHTARG = tgeogpoint, + PROCEDURE = always_ne, + NEGATOR = ?=, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +/*****************************************************************************/ + +CREATE FUNCTION ever_eq(tgeompoint, geometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Ever_eq_tgeo_geo' + SUPPORT tspatial_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION ever_eq(tgeogpoint, geography) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Ever_eq_tgeo_geo' + SUPPORT tspatial_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR ?= ( + LEFTARG = tgeompoint, RIGHTARG = geometry, + PROCEDURE = ever_eq, + NEGATOR = %<>, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR ?= ( + LEFTARG = tgeogpoint, RIGHTARG = geography, + PROCEDURE = ever_eq, + NEGATOR = %<>, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +CREATE FUNCTION always_eq(tgeompoint, geometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Always_eq_tgeo_geo' + SUPPORT tspatial_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION always_eq(tgeogpoint, geography) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Always_eq_tgeo_geo' + SUPPORT tspatial_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR %= ( + LEFTARG = tgeogpoint, RIGHTARG = geography, + PROCEDURE = always_eq, + NEGATOR = ?<>, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR %= ( + LEFTARG = tgeompoint, RIGHTARG = geometry, + PROCEDURE = always_eq, + NEGATOR = ?<>, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +CREATE FUNCTION ever_ne(tgeompoint, geometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Ever_ne_tgeo_geo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION ever_ne(tgeogpoint, geography) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Ever_ne_tgeo_geo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR ?<> ( + LEFTARG = tgeompoint, RIGHTARG = geometry, + PROCEDURE = ever_ne, + NEGATOR = %=, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR ?<> ( + LEFTARG = tgeogpoint, RIGHTARG = geography, + PROCEDURE = ever_ne, + NEGATOR = %=, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +CREATE FUNCTION always_ne(tgeompoint, geometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Always_ne_tgeo_geo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION always_ne(tgeogpoint, geography) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Always_ne_tgeo_geo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR %<> ( + LEFTARG = tgeompoint, RIGHTARG = geometry, + PROCEDURE = always_ne, + NEGATOR = ?=, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR %<> ( + LEFTARG = tgeogpoint, RIGHTARG = geography, + PROCEDURE = always_ne, + NEGATOR = ?=, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +/*****************************************************************************/ + +CREATE FUNCTION ever_eq(tgeompoint, tgeompoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Ever_eq_tgeo_tgeo' + SUPPORT tspatial_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION ever_eq(tgeogpoint, tgeogpoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Ever_eq_tgeo_tgeo' + SUPPORT tspatial_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR ?= ( + LEFTARG = tgeompoint, RIGHTARG = tgeompoint, + PROCEDURE = ever_eq, + NEGATOR = %<>, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR ?= ( + LEFTARG = tgeogpoint, RIGHTARG = tgeogpoint, + PROCEDURE = ever_eq, + NEGATOR = %<>, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +CREATE FUNCTION always_eq(tgeompoint, tgeompoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Always_eq_tgeo_tgeo' + SUPPORT tspatial_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION always_eq(tgeogpoint, tgeogpoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Always_eq_tgeo_tgeo' + SUPPORT tspatial_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR %= ( + LEFTARG = tgeogpoint, RIGHTARG = tgeogpoint, + PROCEDURE = always_eq, + NEGATOR = ?<>, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR %= ( + LEFTARG = tgeompoint, RIGHTARG = tgeompoint, + PROCEDURE = always_eq, + NEGATOR = ?<>, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +CREATE FUNCTION ever_ne(tgeompoint, tgeompoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Ever_ne_tgeo_tgeo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION ever_ne(tgeogpoint, tgeogpoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Ever_ne_tgeo_tgeo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR ?<> ( + LEFTARG = tgeompoint, RIGHTARG = tgeompoint, + PROCEDURE = ever_ne, + NEGATOR = %=, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR ?<> ( + LEFTARG = tgeogpoint, RIGHTARG = tgeogpoint, + PROCEDURE = ever_ne, + NEGATOR = %=, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +CREATE FUNCTION always_ne(tgeompoint, tgeompoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Always_ne_tgeo_tgeo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION always_ne(tgeogpoint, tgeogpoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Always_ne_tgeo_tgeo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR %<> ( + LEFTARG = tgeompoint, RIGHTARG = tgeompoint, + PROCEDURE = always_ne, + NEGATOR = ?=, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR %<> ( + LEFTARG = tgeogpoint, RIGHTARG = tgeogpoint, + PROCEDURE = always_ne, + NEGATOR = ?=, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +/***************************************************************************** + * Temporal equal + *****************************************************************************/ + +CREATE FUNCTION tgeo_teq(geometry, tgeompoint) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Teq_geo_tgeo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tgeo_teq(tgeompoint, geometry) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Teq_tgeo_geo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tgeo_teq(tgeompoint, tgeompoint) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Teq_temporal_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR #= ( + PROCEDURE = tgeo_teq, + LEFTARG = geometry, RIGHTARG = tgeompoint, + COMMUTATOR = #= +); +CREATE OPERATOR #= ( + PROCEDURE = tgeo_teq, + LEFTARG = tgeompoint, RIGHTARG = geometry, + COMMUTATOR = #= +); +CREATE OPERATOR #= ( + PROCEDURE = tgeo_teq, + LEFTARG = tgeompoint, RIGHTARG = tgeompoint, + COMMUTATOR = #= +); + +/*****************************************************************************/ + +CREATE FUNCTION tgeo_teq(geography, tgeogpoint) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Teq_geo_tgeo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tgeo_teq(tgeogpoint, geography) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Teq_tgeo_geo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tgeo_teq(tgeogpoint, tgeogpoint) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Teq_temporal_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR #= ( + PROCEDURE = tgeo_teq, + LEFTARG = geography, RIGHTARG = tgeogpoint, + COMMUTATOR = #= +); +CREATE OPERATOR #= ( + PROCEDURE = tgeo_teq, + LEFTARG = tgeogpoint, RIGHTARG = geography, + COMMUTATOR = #= +); +CREATE OPERATOR #= ( + PROCEDURE = tgeo_teq, + LEFTARG = tgeogpoint, RIGHTARG = tgeogpoint, + COMMUTATOR = #= +); + +/***************************************************************************** + * Temporal not equal + *****************************************************************************/ + +CREATE FUNCTION tgeo_tne(geometry, tgeompoint) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Tne_geo_tgeo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tgeo_tne(tgeompoint, geometry) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Tne_tgeo_geo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tgeo_tne(tgeompoint, tgeompoint) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Tne_temporal_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR #<> ( + PROCEDURE = tgeo_tne, + LEFTARG = geometry, RIGHTARG = tgeompoint, + COMMUTATOR = #<> +); +CREATE OPERATOR #<> ( + PROCEDURE = tgeo_tne, + LEFTARG = tgeompoint, RIGHTARG = geometry, + COMMUTATOR = #<> +); +CREATE OPERATOR #<> ( + PROCEDURE = tgeo_tne, + LEFTARG = tgeompoint, RIGHTARG = tgeompoint, + COMMUTATOR = #<> +); + +/*****************************************************************************/ + +CREATE FUNCTION tgeo_tne(geography, tgeogpoint) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Tne_geo_tgeo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tgeo_tne(tgeogpoint, geography) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Tne_tgeo_geo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tgeo_tne(tgeogpoint, tgeogpoint) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Tne_temporal_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR #<> ( + PROCEDURE = tgeo_tne, + LEFTARG = geography, RIGHTARG = tgeogpoint, + COMMUTATOR = #<> +); +CREATE OPERATOR #<> ( + PROCEDURE = tgeo_tne, + LEFTARG = tgeogpoint, RIGHTARG = geography, + COMMUTATOR = #<> +); +CREATE OPERATOR #<> ( + PROCEDURE = tgeo_tne, + LEFTARG = tgeogpoint, RIGHTARG = tgeogpoint, + COMMUTATOR = #<> +); + +/******************************************************************************/ diff --git a/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/geo/056_tgeo_spatialfuncs.in.sql b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/geo/056_tgeo_spatialfuncs.in.sql new file mode 100644 index 00000000..f2e859a2 --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/geo/056_tgeo_spatialfuncs.in.sql @@ -0,0 +1,182 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @file + * @brief Spatial functions for temporal geometries/gepgraphies + */ + +/*****************************************************************************/ + +CREATE FUNCTION SRID(tgeometry) + RETURNS integer + AS 'MODULE_PATHNAME', 'Tspatial_srid' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION SRID(tgeography) + RETURNS integer + AS 'MODULE_PATHNAME', 'Tspatial_srid' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION setSRID(tgeometry, integer) + RETURNS tgeometry + AS 'MODULE_PATHNAME', 'Tspatial_set_srid' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION transform(tgeometry, integer) + RETURNS tgeometry + AS 'MODULE_PATHNAME', 'Tspatial_transform' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION transformPipeline(tgeometry, text, srid integer DEFAULT 0, + is_forward boolean DEFAULT true) + RETURNS tgeometry + AS 'MODULE_PATHNAME', 'Tspatial_transform_pipeline' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION setSRID(tgeography, integer) + RETURNS tgeography + AS 'MODULE_PATHNAME', 'Tspatial_set_srid' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION transform(tgeography, integer) + RETURNS tgeography + AS 'MODULE_PATHNAME', 'Tspatial_transform' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION transformPipeline(tgeography, text, srid integer DEFAULT 0, + is_forward boolean DEFAULT true) + RETURNS tgeography + AS 'MODULE_PATHNAME', 'Tspatial_transform_pipeline' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/*****************************************************************************/ + +CREATE FUNCTION tgeography(tgeometry) + RETURNS tgeography + AS 'MODULE_PATHNAME', 'Tgeometry_to_tgeography' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tgeometry(tgeography) + RETURNS tgeometry + AS 'MODULE_PATHNAME', 'Tgeography_to_tgeometry' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE CAST (tgeometry AS tgeography) WITH FUNCTION tgeography(tgeometry); +CREATE CAST (tgeography AS tgeometry) WITH FUNCTION tgeometry(tgeography); + +CREATE FUNCTION tgeompoint(tgeometry) + RETURNS tgeompoint + AS 'MODULE_PATHNAME', 'Tgeo_to_tpoint' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tgeometry(tgeompoint) + RETURNS tgeometry + AS 'MODULE_PATHNAME', 'Tpoint_to_tgeo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tgeogpoint(tgeography) + RETURNS tgeogpoint + AS 'MODULE_PATHNAME', 'Tgeo_to_tpoint' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tgeography(tgeogpoint) + RETURNS tgeography + AS 'MODULE_PATHNAME', 'Tpoint_to_tgeo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE CAST (tgeometry AS tgeompoint) WITH FUNCTION tgeompoint(tgeometry); +CREATE CAST (tgeompoint AS tgeometry) WITH FUNCTION tgeometry(tgeompoint); +CREATE CAST (tgeography AS tgeogpoint) WITH FUNCTION tgeogpoint(tgeography); +CREATE CAST (tgeogpoint AS tgeography) WITH FUNCTION tgeography(tgeogpoint); + +/*****************************************************************************/ + +CREATE FUNCTION round(tgeometry, integer DEFAULT 0) + RETURNS tgeometry + AS 'MODULE_PATHNAME', 'Temporal_round' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION round(tgeography, integer DEFAULT 0) + RETURNS tgeography + AS 'MODULE_PATHNAME', 'Temporal_round' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION round(tgeometry[], integer DEFAULT 0) + RETURNS tgeometry[] + AS 'MODULE_PATHNAME', 'Temporalarr_round' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION round(tgeography[], integer DEFAULT 0) + RETURNS tgeography[] + AS 'MODULE_PATHNAME', 'Temporalarr_round' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION traversedArea(tgeometry, bool DEFAULT FALSE) + RETURNS geometry + AS 'MODULE_PATHNAME', 'Tgeo_traversed_area' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION traversedArea(tgeography, bool DEFAULT FALSE) + RETURNS geography + AS 'MODULE_PATHNAME', 'Tgeo_traversed_area' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION centroid(tgeometry) + RETURNS tgeompoint + AS 'MODULE_PATHNAME', 'Tgeo_centroid' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION centroid(tgeography) + RETURNS tgeogpoint + AS 'MODULE_PATHNAME', 'Tgeo_centroid' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/*****************************************************************************/ + +CREATE FUNCTION convexHull(tgeometry) + RETURNS geometry + AS 'MODULE_PATHNAME', 'Tgeo_convex_hull' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +-- CREATE FUNCTION tCentroid(tgeometry) + -- RETURNS tgeometry + -- AS 'MODULE_PATHNAME', 'Tgeo_tcentroid' + -- LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/*****************************************************************************/ + +CREATE FUNCTION atGeometry(tgeometry, geometry) + RETURNS tgeometry + AS 'MODULE_PATHNAME', 'Tgeo_at_geom' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION minusGeometry(tgeometry, geometry) + RETURNS tgeometry + AS 'MODULE_PATHNAME', 'Tgeo_minus_geom' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION atStbox(tgeometry, stbox, borderInc bool DEFAULT TRUE) + RETURNS tgeometry + AS 'MODULE_PATHNAME', 'Tgeo_at_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION minusStbox(tgeometry, stbox, borderInc bool DEFAULT TRUE) + RETURNS tgeometry + AS 'MODULE_PATHNAME', 'Tgeo_minus_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/*****************************************************************************/ diff --git a/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/geo/056_tpoint_spatialfuncs.in.sql b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/geo/056_tpoint_spatialfuncs.in.sql new file mode 100644 index 00000000..03826056 --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/geo/056_tpoint_spatialfuncs.in.sql @@ -0,0 +1,354 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @file + * @brief Spatial functions for temporal points + */ + +/*****************************************************************************/ + +CREATE FUNCTION round(stbox, integer DEFAULT 0) + RETURNS stbox + AS 'MODULE_PATHNAME', 'Stbox_round' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION round(stbox[], integer DEFAULT 0) + RETURNS stbox[] + AS 'MODULE_PATHNAME', 'Stboxarr_round' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION round(geometry, integer DEFAULT 0) + RETURNS geometry + AS 'MODULE_PATHNAME', 'Geo_round' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION round(geography, integer DEFAULT 0) + RETURNS geography + AS 'MODULE_PATHNAME', 'Geo_round' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/*****************************************************************************/ + +CREATE FUNCTION SRID(stbox) + RETURNS integer + AS 'MODULE_PATHNAME', 'Stbox_srid' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION setSRID(stbox, integer) + RETURNS stbox + AS 'MODULE_PATHNAME', 'Stbox_set_srid' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION transform(stbox, integer) + RETURNS stbox + AS 'MODULE_PATHNAME', 'Stbox_transform' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION transformPipeline(stbox, text, srid integer DEFAULT 0, + is_forward boolean DEFAULT true) + RETURNS stbox + AS 'MODULE_PATHNAME', 'Stbox_transform_pipeline' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION SRID(tgeompoint) + RETURNS integer + AS 'MODULE_PATHNAME', 'Tspatial_srid' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION SRID(tgeogpoint) + RETURNS integer + AS 'MODULE_PATHNAME', 'Tspatial_srid' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION setSRID(tgeompoint, integer) + RETURNS tgeompoint + AS 'MODULE_PATHNAME', 'Tspatial_set_srid' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION transform(tgeompoint, integer) + RETURNS tgeompoint + AS 'MODULE_PATHNAME', 'Tspatial_transform' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION transformPipeline(tgeompoint, text, srid integer DEFAULT 0, + is_forward boolean DEFAULT true) + RETURNS tgeompoint + AS 'MODULE_PATHNAME', 'Tspatial_transform_pipeline' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION setSRID(tgeogpoint, integer) + RETURNS tgeogpoint + AS 'MODULE_PATHNAME', 'Tspatial_set_srid' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION transform(tgeogpoint, integer) + RETURNS tgeogpoint + AS 'MODULE_PATHNAME', 'Tspatial_transform' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION transformPipeline(tgeogpoint, text, srid integer DEFAULT 0, + is_forward boolean DEFAULT true) + RETURNS tgeogpoint + AS 'MODULE_PATHNAME', 'Tspatial_transform_pipeline' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +-- Gauss Kruger transformation + +CREATE FUNCTION transform_gk(tgeompoint) + RETURNS tgeompoint + AS 'MODULE_PATHNAME', 'Tgeompoint_transform_gk' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION transform_gk(geometry) + RETURNS geometry + AS 'MODULE_PATHNAME', 'Geometry_transform_gk' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/*****************************************************************************/ + +CREATE FUNCTION tgeogpoint(tgeompoint) + RETURNS tgeogpoint + AS 'MODULE_PATHNAME', 'Tgeometry_to_tgeography' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tgeompoint(tgeogpoint) + RETURNS tgeompoint + AS 'MODULE_PATHNAME', 'Tgeography_to_tgeometry' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE CAST (tgeompoint AS tgeogpoint) WITH FUNCTION tgeogpoint(tgeompoint); +CREATE CAST (tgeogpoint AS tgeompoint) WITH FUNCTION tgeompoint(tgeogpoint); + +CREATE FUNCTION getX(tgeompoint) + RETURNS tfloat + AS 'MODULE_PATHNAME', 'Tpoint_get_x' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION getX(tgeogpoint) + RETURNS tfloat + AS 'MODULE_PATHNAME', 'Tpoint_get_x' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION getY(tgeompoint) + RETURNS tfloat + AS 'MODULE_PATHNAME', 'Tpoint_get_y' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION getY(tgeogpoint) + RETURNS tfloat + AS 'MODULE_PATHNAME', 'Tpoint_get_y' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION getZ(tgeompoint) + RETURNS tfloat + AS 'MODULE_PATHNAME', 'Tpoint_get_z' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION getZ(tgeogpoint) + RETURNS tfloat + AS 'MODULE_PATHNAME', 'Tpoint_get_z' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION round(tgeompoint, integer DEFAULT 0) + RETURNS tgeompoint + AS 'MODULE_PATHNAME', 'Temporal_round' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION round(tgeogpoint, integer DEFAULT 0) + RETURNS tgeogpoint + AS 'MODULE_PATHNAME', 'Temporal_round' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION round(tgeompoint[], integer DEFAULT 0) + RETURNS tgeompoint[] + AS 'MODULE_PATHNAME', 'Temporalarr_round' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION round(tgeogpoint[], integer DEFAULT 0) + RETURNS tgeogpoint[] + AS 'MODULE_PATHNAME', 'Temporalarr_round' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION trajectory(tgeompoint, bool DEFAULT FALSE) + RETURNS geometry + AS 'MODULE_PATHNAME', 'Tpoint_trajectory' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION trajectory(tgeogpoint, bool DEFAULT FALSE) + RETURNS geography + AS 'MODULE_PATHNAME', 'Tpoint_trajectory' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/*****************************************************************************/ + +CREATE FUNCTION length(tgeompoint) + RETURNS float + AS 'MODULE_PATHNAME', 'Tpoint_length' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION length(tgeogpoint) + RETURNS float + AS 'MODULE_PATHNAME', 'Tpoint_length' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION cumulativeLength(tgeompoint) + RETURNS tfloat + AS 'MODULE_PATHNAME', 'Tpoint_cumulative_length' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION cumulativeLength(tgeogpoint) + RETURNS tfloat + AS 'MODULE_PATHNAME', 'Tpoint_cumulative_length' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION convexHull(tgeompoint) + RETURNS geometry + AS 'MODULE_PATHNAME', 'Tgeo_convex_hull' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION speed(tgeompoint) + RETURNS tfloat + AS 'MODULE_PATHNAME', 'Temporal_derivative' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION speed(tgeogpoint) + RETURNS tfloat + AS 'MODULE_PATHNAME', 'Temporal_derivative' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION twCentroid(tgeompoint) + RETURNS geometry + AS 'MODULE_PATHNAME', 'Tpoint_twcentroid' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION direction(tgeompoint) + RETURNS float + AS 'MODULE_PATHNAME', 'Tpoint_direction' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION direction(tgeogpoint) + RETURNS float + AS 'MODULE_PATHNAME', 'Tpoint_direction' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +-- CREATE FUNCTION tdirection(tgeompoint) + -- RETURNS tfloat + -- AS 'MODULE_PATHNAME', 'Tpoint_tdirection' + -- LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +-- CREATE FUNCTION tdirection(tgeogpoint) + -- RETURNS tfloat + -- AS 'MODULE_PATHNAME', 'Tpoint_tdirection' + -- LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION azimuth(tgeompoint) + RETURNS tfloat + AS 'MODULE_PATHNAME', 'Tpoint_azimuth' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION azimuth(tgeogpoint) + RETURNS tfloat + AS 'MODULE_PATHNAME', 'Tpoint_azimuth' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION angularDifference(tgeompoint) + RETURNS tfloat + AS 'MODULE_PATHNAME', 'Tpoint_angular_difference' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION angularDifference(tgeogpoint) + RETURNS tfloat + AS 'MODULE_PATHNAME', 'Tpoint_angular_difference' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/*****************************************************************************/ + +-- The following two functions are meant to be included in PostGIS one day +CREATE FUNCTION bearing(geometry, geometry) + RETURNS float + AS 'MODULE_PATHNAME', 'Bearing_point_point' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION bearing(geography, geography) + RETURNS float + AS 'MODULE_PATHNAME', 'Bearing_point_point' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION bearing(geometry, tgeompoint) + RETURNS tfloat + AS 'MODULE_PATHNAME', 'Bearing_point_tpoint' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION bearing(tgeompoint, geometry) + RETURNS tfloat + AS 'MODULE_PATHNAME', 'Bearing_tpoint_point' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION bearing(tgeompoint, tgeompoint) + RETURNS tfloat + AS 'MODULE_PATHNAME', 'Bearing_tpoint_tpoint' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION bearing(geography, tgeogpoint) + RETURNS tfloat + AS 'MODULE_PATHNAME', 'Bearing_point_tpoint' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION bearing(tgeogpoint, geography) + RETURNS tfloat + AS 'MODULE_PATHNAME', 'Bearing_tpoint_point' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +-- CREATE FUNCTION bearing(tgeogpoint, tgeogpoint) + -- RETURNS tfloat + -- AS 'MODULE_PATHNAME', 'Bearing_tpoint_tpoint' + -- LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/*****************************************************************************/ + +CREATE FUNCTION isSimple(tgeompoint) + RETURNS bool + AS 'MODULE_PATHNAME', 'Tpoint_is_simple' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION makeSimple(tgeompoint) + RETURNS tgeompoint[] + AS 'MODULE_PATHNAME', 'Tpoint_make_simple' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/*****************************************************************************/ + +CREATE FUNCTION atGeometry(tgeompoint, geometry) + RETURNS tgeompoint + AS 'MODULE_PATHNAME', 'Tgeo_at_geom' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION minusGeometry(tgeompoint, geometry) + RETURNS tgeompoint + AS 'MODULE_PATHNAME', 'Tgeo_minus_geom' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION atStbox(tgeompoint, stbox, borderInc bool DEFAULT TRUE) + RETURNS tgeompoint + AS 'MODULE_PATHNAME', 'Tgeo_at_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION atStbox(tgeogpoint, stbox, borderInc bool DEFAULT TRUE) + RETURNS tgeogpoint + AS 'MODULE_PATHNAME', 'Tgeo_at_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION minusStbox(tgeompoint, stbox, borderInc bool DEFAULT TRUE) + RETURNS tgeompoint + AS 'MODULE_PATHNAME', 'Tgeo_minus_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION minusStbox(tgeogpoint, stbox, borderInc bool DEFAULT TRUE) + RETURNS tgeogpoint + AS 'MODULE_PATHNAME', 'Tgeo_minus_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION atElevation(tgeompoint, floatspan) + RETURNS tgeompoint + AS 'MODULE_PATHNAME', 'Tgeo_at_elevation' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION minusElevation(tgeompoint, floatspan) + RETURNS tgeompoint + AS 'MODULE_PATHNAME', 'Tgeo_minus_elevation' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + + +/*****************************************************************************/ diff --git a/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/geo/058_tgeo_tile.in.sql b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/geo/058_tgeo_tile.in.sql new file mode 100644 index 00000000..312f50ff --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/geo/058_tgeo_tile.in.sql @@ -0,0 +1,141 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @file + * @brief Functions for spatial and spatiotemporal tiles + */ + +/****************************************************************************** + * Multidimensional tiling + ******************************************************************************/ + +CREATE FUNCTION spaceBoxes(tgeometry, xsize float, ysize float, zsize float, + sorigin geometry DEFAULT 'Point(0 0 0)', bitmatrix boolean DEFAULT TRUE, + borderInc boolean DEFAULT TRUE) + RETURNS stbox[] + AS 'MODULE_PATHNAME', 'Tgeo_space_boxes' + LANGUAGE C IMMUTABLE PARALLEL SAFE STRICT; +CREATE FUNCTION spaceBoxes(tgeometry, xsize float, + sorigin geometry DEFAULT 'Point(0 0 0)', bitmatrix boolean DEFAULT TRUE, + borderInc boolean DEFAULT TRUE) + RETURNS stbox[] + AS 'SELECT @extschema@.spaceBoxes($1, $2, $2, $2, $3, $4)' + LANGUAGE SQL IMMUTABLE PARALLEL SAFE STRICT; +CREATE FUNCTION spaceBoxes(tgeometry, xsize float, ysize float, + sorigin geometry DEFAULT 'Point(0 0 0)', bitmatrix boolean DEFAULT TRUE, + borderInc boolean DEFAULT TRUE) + RETURNS stbox[] + AS 'SELECT @extschema@.spaceBoxes($1, $2, $3, $2, $4, $5)' + LANGUAGE SQL IMMUTABLE PARALLEL SAFE STRICT; + +CREATE FUNCTION timeBoxes(tgeometry, interval, + torigin timestamptz DEFAULT '2000-01-03', bitmatrix boolean DEFAULT TRUE, + borderInc boolean DEFAULT TRUE) + RETURNS stbox[] + AS 'MODULE_PATHNAME', 'Tgeo_time_boxes' + LANGUAGE C IMMUTABLE PARALLEL SAFE STRICT; + +CREATE FUNCTION spaceTimeBoxes(tgeometry, xsize float, ysize float, + zsize float, interval, sorigin geometry DEFAULT 'Point(0 0 0)', + torigin timestamptz DEFAULT '2000-01-03', bitmatrix boolean DEFAULT TRUE, + borderInc boolean DEFAULT TRUE) + RETURNS stbox[] + AS 'MODULE_PATHNAME', 'Tgeo_space_time_boxes' + LANGUAGE C IMMUTABLE PARALLEL SAFE STRICT; +CREATE FUNCTION spaceTimeBoxes(tgeometry, xsize float, interval, + sorigin geometry DEFAULT 'Point(0 0 0)', + torigin timestamptz DEFAULT '2000-01-03', bitmatrix boolean DEFAULT TRUE, + borderInc boolean DEFAULT TRUE) + RETURNS stbox[] + AS 'SELECT @extschema@.spaceTimeBoxes($1, $2, $2, $2, $3, $4, $5, $6)' + LANGUAGE SQL IMMUTABLE PARALLEL SAFE STRICT; +CREATE FUNCTION spaceTimeBoxes(tgeometry, xsize float, ysize float, interval, + sorigin geometry DEFAULT 'Point(0 0 0)', + torigin timestamptz DEFAULT '2000-01-03', bitmatrix boolean DEFAULT TRUE, + borderInc boolean DEFAULT TRUE) + RETURNS stbox[] + AS 'SELECT @extschema@.spaceTimeBoxes($1, $2, $3, $2, $4, $5, $6, $7)' + LANGUAGE SQL IMMUTABLE PARALLEL SAFE STRICT; + +/*****************************************************************************/ + +CREATE TYPE point_tgeo AS ( + point geometry, + tgeo tgeometry +); + +CREATE FUNCTION spaceSplit(tgeometry, xsize float, ysize float, zsize float, + sorigin geometry DEFAULT 'Point(0 0 0)', bitmatrix boolean DEFAULT TRUE, + borderInc boolean DEFAULT TRUE) + RETURNS SETOF point_tgeo + AS 'MODULE_PATHNAME', 'Tgeo_space_split' + LANGUAGE C IMMUTABLE PARALLEL SAFE STRICT; +CREATE FUNCTION spaceSplit(tgeometry, size float, + sorigin geometry DEFAULT 'Point(0 0 0)', bitmatrix boolean DEFAULT TRUE, + borderInc boolean DEFAULT TRUE) + RETURNS SETOF point_tgeo + AS 'SELECT @extschema@.spaceSplit($1, $2, $2, $2, $3, $4)' + LANGUAGE SQL IMMUTABLE PARALLEL SAFE STRICT; +CREATE FUNCTION spaceSplit(tgeometry, sizeX float, sizeY float, + sorigin geometry DEFAULT 'Point(0 0 0)', bitmatrix boolean DEFAULT TRUE, + borderInc boolean DEFAULT TRUE) + RETURNS SETOF point_tgeo + AS 'SELECT @extschema@.spaceSplit($1, $2, $3, $2, $4, $5)' + LANGUAGE SQL IMMUTABLE PARALLEL SAFE STRICT; + +CREATE TYPE point_time_tgeo AS ( + point geometry, + time timestamptz, + tgeo tgeometry +); + +CREATE FUNCTION spaceTimeSplit(tgeometry, xsize float, ysize float, + zsize float, interval, sorigin geometry DEFAULT 'Point(0 0 0)', + torigin timestamptz DEFAULT '2000-01-03', bitmatrix boolean DEFAULT TRUE, + borderInc boolean DEFAULT TRUE) + RETURNS SETOF point_time_tgeo + AS 'MODULE_PATHNAME', 'Tgeo_space_time_split' + LANGUAGE C IMMUTABLE PARALLEL SAFE STRICT; +CREATE FUNCTION spaceTimeSplit(tgeometry, size float, interval, + sorigin geometry DEFAULT 'Point(0 0 0)', + torigin timestamptz DEFAULT '2000-01-03', bitmatrix boolean DEFAULT TRUE, + borderInc boolean DEFAULT TRUE) + RETURNS SETOF point_time_tgeo + AS 'SELECT @extschema@.spaceTimeSplit($1, $2, $2, $2, $3, $4, $5, $6)' + LANGUAGE SQL IMMUTABLE PARALLEL SAFE STRICT; +CREATE FUNCTION spaceTimeSplit(tgeometry, xsize float, ysize float, interval, + sorigin geometry DEFAULT 'Point(0 0 0)', + torigin timestamptz DEFAULT '2000-01-03', bitmatrix boolean DEFAULT TRUE, + borderInc boolean DEFAULT TRUE) + RETURNS SETOF point_time_tgeo + AS 'SELECT @extschema@.spaceTimeSplit($1, $2, $3, $2, $4, $5, $6, $7)' + LANGUAGE SQL IMMUTABLE PARALLEL SAFE STRICT; + +/*****************************************************************************/ diff --git a/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/geo/058_tpoint_tile.in.sql b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/geo/058_tpoint_tile.in.sql new file mode 100644 index 00000000..733c95e8 --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/geo/058_tpoint_tile.in.sql @@ -0,0 +1,280 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @file + * @brief Functions for spatial and spatiotemporal tiles + */ + +/****************************************************************************** + * Multidimensional tiling + ******************************************************************************/ + +CREATE TYPE index_stbox AS ( + index integer, + tile stbox +); + +CREATE FUNCTION spaceTiles(bounds stbox, xsize float, ysize float, zsize float, + sorigin geometry DEFAULT 'Point(0 0 0)', borderIinc boolean DEFAULT TRUE) + RETURNS SETOF index_stbox + AS 'MODULE_PATHNAME', 'Stbox_space_tiles' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION spaceTiles(bounds stbox, xsize float, + sorigin geometry DEFAULT 'Point(0 0 0)', borderInc boolean DEFAULT TRUE) + RETURNS SETOF index_stbox + AS 'SELECT @extschema@.spaceTiles($1, $2, $2, $2, $3, $4)' + LANGUAGE SQL IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION spaceTiles(bounds stbox, xsize float, ysize float, + sorigin geometry DEFAULT 'Point(0 0 0)', borderInc boolean DEFAULT TRUE) + RETURNS SETOF index_stbox + AS 'SELECT @extschema@.spaceTiles($1, $2, $3, $2, $4, $5)' + LANGUAGE SQL IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION timeTiles(bounds stbox, duration interval, + timestamptz DEFAULT '2000-01-03', borderInc boolean DEFAULT TRUE) + RETURNS SETOF index_stbox + AS 'MODULE_PATHNAME', 'Stbox_time_tiles' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION spaceTimeTiles(bounds stbox, xsize float, ysize float, zsize float, + duration interval, sorigin geometry DEFAULT 'Point(0 0 0)', + timestamptz DEFAULT '2000-01-03', borderInc boolean DEFAULT TRUE) + RETURNS SETOF index_stbox + AS 'MODULE_PATHNAME', 'Stbox_space_time_tiles' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION spaceTimeTiles(bounds stbox, xsize float, + duration interval, sorigin geometry DEFAULT 'Point(0 0 0)', + timestamptz DEFAULT '2000-01-03', borderInc boolean DEFAULT TRUE) + RETURNS SETOF index_stbox + AS 'SELECT @extschema@.spaceTimeTiles($1, $2, $2, $2, $3, $4, $5, $6)' + LANGUAGE SQL IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION spaceTimeTiles(bounds stbox, xsize float, ysize float, + duration interval, sorigin geometry DEFAULT 'Point(0 0 0)', + timestamptz DEFAULT '2000-01-03', borderInc boolean DEFAULT TRUE) + RETURNS SETOF index_stbox + AS 'SELECT @extschema@.spaceTimeTiles($1, $2, $3, $2, $4, $5, $6, $7)' + LANGUAGE SQL IMMUTABLE STRICT PARALLEL SAFE; + +/****************************************************************************** + * Convenience overloads taking a tgeompoint directly: derive the bounding + * stbox via the existing stbox(tgeompoint) cast and delegate to the + * stbox-typed overloads above. + ******************************************************************************/ + +CREATE FUNCTION spaceTiles(tgeompoint, xsize float, ysize float, zsize float, + sorigin geometry DEFAULT 'Point(0 0 0)', borderInc boolean DEFAULT TRUE) + RETURNS SETOF index_stbox + AS 'SELECT @extschema@.spaceTiles(@extschema@.stbox($1), $2, $3, $4, $5, $6)' + LANGUAGE SQL IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION spaceTiles(tgeompoint, xsize float, + sorigin geometry DEFAULT 'Point(0 0 0)', borderInc boolean DEFAULT TRUE) + RETURNS SETOF index_stbox + AS 'SELECT @extschema@.spaceTiles(@extschema@.stbox($1), $2, $2, $2, $3, $4)' + LANGUAGE SQL IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION spaceTiles(tgeompoint, xsize float, ysize float, + sorigin geometry DEFAULT 'Point(0 0 0)', borderInc boolean DEFAULT TRUE) + RETURNS SETOF index_stbox + AS 'SELECT @extschema@.spaceTiles(@extschema@.stbox($1), $2, $3, $2, $4, $5)' + LANGUAGE SQL IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION timeTiles(tgeompoint, duration interval, + torigin timestamptz DEFAULT '2000-01-03', borderInc boolean DEFAULT TRUE) + RETURNS SETOF index_stbox + AS 'SELECT @extschema@.timeTiles(@extschema@.stbox($1), $2, $3, $4)' + LANGUAGE SQL IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION spaceTimeTiles(tgeompoint, xsize float, ysize float, + zsize float, duration interval, sorigin geometry DEFAULT 'Point(0 0 0)', + torigin timestamptz DEFAULT '2000-01-03', borderInc boolean DEFAULT TRUE) + RETURNS SETOF index_stbox + AS 'SELECT @extschema@.spaceTimeTiles(@extschema@.stbox($1), $2, $3, $4, $5, $6, $7, $8)' + LANGUAGE SQL IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION spaceTimeTiles(tgeompoint, xsize float, + duration interval, sorigin geometry DEFAULT 'Point(0 0 0)', + torigin timestamptz DEFAULT '2000-01-03', borderInc boolean DEFAULT TRUE) + RETURNS SETOF index_stbox + AS 'SELECT @extschema@.spaceTimeTiles(@extschema@.stbox($1), $2, $2, $2, $3, $4, $5, $6)' + LANGUAGE SQL IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION spaceTimeTiles(tgeompoint, xsize float, ysize float, + duration interval, sorigin geometry DEFAULT 'Point(0 0 0)', + torigin timestamptz DEFAULT '2000-01-03', borderInc boolean DEFAULT TRUE) + RETURNS SETOF index_stbox + AS 'SELECT @extschema@.spaceTimeTiles(@extschema@.stbox($1), $2, $3, $2, $4, $5, $6, $7)' + LANGUAGE SQL IMMUTABLE STRICT PARALLEL SAFE; + +/******************************************************************************/ + +CREATE FUNCTION getSpaceTile(point geometry, xsize float, ysize float, + zsize float, sorigin geometry DEFAULT 'Point(0 0 0)') + RETURNS stbox + AS 'MODULE_PATHNAME', 'Stbox_get_space_tile' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION getSpaceTile(point geometry, xsize float, + sorigin geometry DEFAULT 'Point(0 0 0)') + RETURNS stbox + AS 'SELECT @extschema@.getSpaceTile($1, $2, $2, $2, $3)' + LANGUAGE SQL IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION getSpaceTile(point geometry, xsize float, ysize float, + sorigin geometry DEFAULT 'Point(0 0 0)') + RETURNS stbox + AS 'SELECT @extschema@.getSpaceTile($1, $2, $3, $2, $4)' + LANGUAGE SQL IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION getStboxTimeTile(t timestamptz, duration interval, + torigin timestamptz DEFAULT '2000-01-03') + RETURNS stbox + AS 'MODULE_PATHNAME', 'Stbox_get_time_tile' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION getSpaceTimeTile(point geometry, t timestamptz, xsize float, + ysize float, zsize float, duration interval, + sorigin geometry DEFAULT 'Point(0 0 0)', + torigin timestamptz DEFAULT '2000-01-03') + RETURNS stbox + AS 'MODULE_PATHNAME', 'Stbox_get_space_time_tile' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION getSpaceTimeTile(point geometry, t timestamptz, xsize float, + duration interval, sorigin geometry DEFAULT 'Point(0 0 0)', + torigin timestamptz DEFAULT '2000-01-03') + RETURNS stbox + AS 'SELECT @extschema@.getSpaceTimeTile($1, $2, $3, $3, $3, $4, $5, $6)' + LANGUAGE SQL IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION getSpaceTimeTile(point geometry, t timestamptz, xsize float, + ysize float, duration interval, sorigin geometry DEFAULT 'Point(0 0 0)', + torigin timestamptz DEFAULT '2000-01-03') + RETURNS stbox + AS 'SELECT @extschema@.getSpaceTimeTile($1, $2, $3, $4, $3, $5, $6, $7)' + LANGUAGE SQL IMMUTABLE STRICT PARALLEL SAFE; + +/*****************************************************************************/ + +CREATE FUNCTION spaceBoxes(tgeompoint, xsize float, ysize float, zsize float, + sorigin geometry DEFAULT 'Point(0 0 0)', bitmatrix boolean DEFAULT TRUE, + borderInc boolean DEFAULT TRUE) + RETURNS stbox[] + AS 'MODULE_PATHNAME', 'Tgeo_space_boxes' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION spaceBoxes(tgeompoint, xsize float, + sorigin geometry DEFAULT 'Point(0 0 0)', bitmatrix boolean DEFAULT TRUE, + borderInc boolean DEFAULT TRUE) + RETURNS stbox[] + AS 'SELECT @extschema@.spaceBoxes($1, $2, $2, $2, $3, $4)' + LANGUAGE SQL IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION spaceBoxes(tgeompoint, xsize float, ysize float, + sorigin geometry DEFAULT 'Point(0 0 0)', bitmatrix boolean DEFAULT TRUE, + borderInc boolean DEFAULT TRUE) + RETURNS stbox[] + AS 'SELECT @extschema@.spaceBoxes($1, $2, $3, $2, $4, $5)' + LANGUAGE SQL IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION timeBoxes(tgeompoint, interval, + torigin timestamptz DEFAULT '2000-01-03', bitmatrix boolean DEFAULT TRUE, + borderInc boolean DEFAULT TRUE) + RETURNS stbox[] + AS 'MODULE_PATHNAME', 'Tgeo_time_boxes' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION spaceTimeBoxes(tgeompoint, xsize float, ysize float, + zsize float, interval, sorigin geometry DEFAULT 'Point(0 0 0)', + torigin timestamptz DEFAULT '2000-01-03', bitmatrix boolean DEFAULT TRUE, + borderInc boolean DEFAULT TRUE) + RETURNS stbox[] + AS 'MODULE_PATHNAME', 'Tgeo_space_time_boxes' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION spaceTimeBoxes(tgeompoint, xsize float, interval, + sorigin geometry DEFAULT 'Point(0 0 0)', + torigin timestamptz DEFAULT '2000-01-03', bitmatrix boolean DEFAULT TRUE, + borderInc boolean DEFAULT TRUE) + RETURNS stbox[] + AS 'SELECT @extschema@.spaceTimeBoxes($1, $2, $2, $2, $3, $4, $5, $6)' + LANGUAGE SQL IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION spaceTimeBoxes(tgeompoint, xsize float, ysize float, interval, + sorigin geometry DEFAULT 'Point(0 0 0)', + torigin timestamptz DEFAULT '2000-01-03', bitmatrix boolean DEFAULT TRUE, + borderInc boolean DEFAULT TRUE) + RETURNS stbox[] + AS 'SELECT @extschema@.spaceTimeBoxes($1, $2, $3, $2, $4, $5, $6, $7)' + LANGUAGE SQL IMMUTABLE STRICT PARALLEL SAFE; + +/*****************************************************************************/ + +CREATE TYPE point_tpoint AS ( + point geometry, + tpoint tgeompoint +); + +CREATE FUNCTION spaceSplit(tgeompoint, xsize float, ysize float, zsize float, + sorigin geometry DEFAULT 'Point(0 0 0)', bitmatrix boolean DEFAULT TRUE, + borderInc boolean DEFAULT TRUE) + RETURNS SETOF point_tpoint + AS 'MODULE_PATHNAME', 'Tgeo_space_split' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION spaceSplit(tgeompoint, size float, + sorigin geometry DEFAULT 'Point(0 0 0)', bitmatrix boolean DEFAULT TRUE, + borderInc boolean DEFAULT TRUE) + RETURNS SETOF point_tpoint + AS 'SELECT @extschema@.spaceSplit($1, $2, $2, $2, $3, $4)' + LANGUAGE SQL IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION spaceSplit(tgeompoint, sizeX float, sizeY float, + sorigin geometry DEFAULT 'Point(0 0 0)', bitmatrix boolean DEFAULT TRUE, + borderInc boolean DEFAULT TRUE) + RETURNS SETOF point_tpoint + AS 'SELECT @extschema@.spaceSplit($1, $2, $3, $2, $4, $5)' + LANGUAGE SQL IMMUTABLE STRICT PARALLEL SAFE; + +CREATE TYPE point_time_tpoint AS ( + point geometry, + time timestamptz, + tpoint tgeompoint +); + +CREATE FUNCTION spaceTimeSplit(tgeompoint, xsize float, ysize float, + zsize float, interval, sorigin geometry DEFAULT 'Point(0 0 0)', + torigin timestamptz DEFAULT '2000-01-03', bitmatrix boolean DEFAULT TRUE, + borderInc boolean DEFAULT TRUE) + RETURNS SETOF point_time_tpoint + AS 'MODULE_PATHNAME', 'Tgeo_space_time_split' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION spaceTimeSplit(tgeompoint, size float, interval, + sorigin geometry DEFAULT 'Point(0 0 0)', + torigin timestamptz DEFAULT '2000-01-03', bitmatrix boolean DEFAULT TRUE, + borderInc boolean DEFAULT TRUE) + RETURNS SETOF point_time_tpoint + AS 'SELECT @extschema@.spaceTimeSplit($1, $2, $2, $2, $3, $4, $5, $6)' + LANGUAGE SQL IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION spaceTimeSplit(tgeompoint, xsize float, ysize float, interval, + sorigin geometry DEFAULT 'Point(0 0 0)', + torigin timestamptz DEFAULT '2000-01-03', bitmatrix boolean DEFAULT TRUE, + borderInc boolean DEFAULT TRUE) + RETURNS SETOF point_time_tpoint + AS 'SELECT @extschema@.spaceTimeSplit($1, $2, $3, $2, $4, $5, $6, $7)' + LANGUAGE SQL IMMUTABLE STRICT PARALLEL SAFE; + +/*****************************************************************************/ diff --git a/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/geo/060_tgeo_boxops.in.sql b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/geo/060_tgeo_boxops.in.sql new file mode 100644 index 00000000..1e32cc90 --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/geo/060_tgeo_boxops.in.sql @@ -0,0 +1,710 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @file + * @brief Bounding box operators for temporal geometries/geographies + */ + +/***************************************************************************** + * Conversions + *****************************************************************************/ + +CREATE FUNCTION stbox(tgeometry) + RETURNS stbox + AS 'MODULE_PATHNAME', 'Tspatial_to_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION stbox(tgeography) + RETURNS stbox + AS 'MODULE_PATHNAME', 'Tspatial_to_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE CAST (tgeometry AS stbox) WITH FUNCTION stbox(tgeometry); +CREATE CAST (tgeography AS stbox) WITH FUNCTION stbox(tgeography); + +/*****************************************************************************/ + +CREATE FUNCTION expandSpace(tgeometry, float) + RETURNS stbox + AS 'SELECT @extschema@.expandSpace($1::stbox, $2)' + LANGUAGE SQL IMMUTABLE PARALLEL SAFE STRICT; +CREATE FUNCTION expandSpace(tgeography, float) + RETURNS stbox + AS 'SELECT @extschema@.expandSpace($1::stbox, $2)' + LANGUAGE SQL IMMUTABLE PARALLEL SAFE STRICT; + +/*****************************************************************************/ + +CREATE FUNCTION spans(tgeometry) + RETURNS tstzspan[] + AS 'MODULE_PATHNAME', 'Temporal_spans' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION spans(tgeography) + RETURNS tstzspan[] + AS 'MODULE_PATHNAME', 'Temporal_spans' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION stboxes(tgeometry) + RETURNS stbox[] + AS 'MODULE_PATHNAME', 'Tgeo_stboxes' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION stboxes(tgeography) + RETURNS stbox[] + AS 'MODULE_PATHNAME', 'Tgeo_stboxes' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/*****************************************************************************/ + +CREATE FUNCTION splitNSpans(tgeometry, integer) + RETURNS tstzspan[] + AS 'MODULE_PATHNAME', 'Temporal_split_n_spans' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION splitNSpans(tgeography, integer) + RETURNS tstzspan[] + AS 'MODULE_PATHNAME', 'Temporal_split_n_spans' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION splitEachNSpans(tgeometry, integer) + RETURNS tstzspan[] + AS 'MODULE_PATHNAME', 'Temporal_split_each_n_spans' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION splitEachNSpans(tgeography, integer) + RETURNS tstzspan[] + AS 'MODULE_PATHNAME', 'Temporal_split_each_n_spans' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION splitNStboxes(tgeometry, integer) + RETURNS stbox[] + AS 'MODULE_PATHNAME', 'Tgeo_split_n_stboxes' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION splitNStboxes(tgeography, integer) + RETURNS stbox[] + AS 'MODULE_PATHNAME', 'Tgeo_split_n_stboxes' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION splitEachNStboxes(tgeometry, integer) + RETURNS stbox[] + AS 'MODULE_PATHNAME', 'Tgeo_split_each_n_stboxes' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION splitEachNStboxes(tgeography, integer) + RETURNS stbox[] + AS 'MODULE_PATHNAME', 'Tgeo_split_each_n_stboxes' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/***************************************************************************** + * Contains + *****************************************************************************/ + +CREATE FUNCTION temporal_contains(tstzspan, tgeometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contains_tstzspan_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_contains(tgeometry, tstzspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contains_temporal_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR @> ( + PROCEDURE = temporal_contains, + LEFTARG = tstzspan, RIGHTARG = tgeometry, + COMMUTATOR = <@, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR @> ( + PROCEDURE = temporal_contains, + LEFTARG = tgeometry, RIGHTARG = tstzspan, + COMMUTATOR = <@, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +/*****************************************************************************/ + +CREATE FUNCTION temporal_contains(tstzspan, tgeography) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contains_tstzspan_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_contains(tgeography, tstzspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contains_temporal_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR @> ( + PROCEDURE = temporal_contains, + LEFTARG = tstzspan, RIGHTARG = tgeography, + COMMUTATOR = <@, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR @> ( + PROCEDURE = temporal_contains, + LEFTARG = tgeography, RIGHTARG = tstzspan, + COMMUTATOR = <@, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +/*****************************************************************************/ + +CREATE FUNCTION temporal_contains(stbox, tgeometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contains_stbox_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_contains(tgeometry, stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contains_tspatial_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_contains(tgeometry, tgeometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contains_tspatial_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR @> ( + PROCEDURE = temporal_contains, + LEFTARG = stbox, RIGHTARG = tgeometry, + COMMUTATOR = <@, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR @> ( + PROCEDURE = temporal_contains, + LEFTARG = tgeometry, RIGHTARG = stbox, + COMMUTATOR = <@, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR @> ( + PROCEDURE = temporal_contains, + LEFTARG = tgeometry, RIGHTARG = tgeometry, + COMMUTATOR = <@, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +/*****************************************************************************/ + +CREATE FUNCTION temporal_contains(stbox, tgeography) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contains_stbox_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_contains(tgeography, stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contains_tspatial_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_contains(tgeography, tgeography) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contains_tspatial_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR @> ( + PROCEDURE = temporal_contains, + LEFTARG = stbox, RIGHTARG = tgeography, + COMMUTATOR = <@, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR @> ( + PROCEDURE = temporal_contains, + LEFTARG = tgeography, RIGHTARG = stbox, + COMMUTATOR = <@, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR @> ( + PROCEDURE = temporal_contains, + LEFTARG = tgeography, RIGHTARG = tgeography, + COMMUTATOR = <@, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +/***************************************************************************** + * Contained + *****************************************************************************/ + +CREATE FUNCTION temporal_contained(tstzspan, tgeometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contained_tstzspan_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_contained(tgeometry, tstzspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contained_temporal_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR <@ ( + PROCEDURE = temporal_contained, + LEFTARG = tstzspan, RIGHTARG = tgeometry, + COMMUTATOR = @>, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR <@ ( + PROCEDURE = temporal_contained, + LEFTARG = tgeometry, RIGHTARG = tstzspan, + COMMUTATOR = @>, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +/*****************************************************************************/ + +CREATE FUNCTION temporal_contained(stbox, tgeometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contained_stbox_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_contained(tgeometry, stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contained_tspatial_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_contained(tgeometry, tgeometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contained_tspatial_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR <@ ( + PROCEDURE = temporal_contained, + LEFTARG = stbox, RIGHTARG = tgeometry, + COMMUTATOR = @>, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR <@ ( + PROCEDURE = temporal_contained, + LEFTARG = tgeometry, RIGHTARG = stbox, + COMMUTATOR = @>, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR <@ ( + PROCEDURE = temporal_contained, + LEFTARG = tgeometry, RIGHTARG = tgeometry, + COMMUTATOR = @>, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +/*****************************************************************************/ + +CREATE FUNCTION temporal_contained(tstzspan, tgeography) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contained_tstzspan_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_contained(tgeography, tstzspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contained_temporal_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR <@ ( + PROCEDURE = temporal_contained, + LEFTARG = tstzspan, RIGHTARG = tgeography, + COMMUTATOR = @>, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR <@ ( + PROCEDURE = temporal_contained, + LEFTARG = tgeography, RIGHTARG = tstzspan, + COMMUTATOR = @>, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +/*****************************************************************************/ + +CREATE FUNCTION temporal_contained(stbox, tgeography) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contained_stbox_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_contained(tgeography, stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contained_tspatial_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_contained(tgeography, tgeography) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contained_tspatial_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR <@ ( + PROCEDURE = temporal_contained, + LEFTARG = stbox, RIGHTARG = tgeography, + COMMUTATOR = @>, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR <@ ( + PROCEDURE = temporal_contained, + LEFTARG = tgeography, RIGHTARG = stbox, + COMMUTATOR = @>, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR <@ ( + PROCEDURE = temporal_contained, + LEFTARG = tgeography, RIGHTARG = tgeography, + COMMUTATOR = @>, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +/***************************************************************************** + * Overlaps + *****************************************************************************/ + +CREATE FUNCTION temporal_overlaps(tstzspan, tgeometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overlaps_tstzspan_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overlaps(tgeometry, tstzspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overlaps_temporal_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR && ( + PROCEDURE = temporal_overlaps, + LEFTARG = tstzspan, RIGHTARG = tgeometry, + COMMUTATOR = &&, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR && ( + PROCEDURE = temporal_overlaps, + LEFTARG = tgeometry, RIGHTARG = tstzspan, + COMMUTATOR = &&, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +/*****************************************************************************/ + +CREATE FUNCTION temporal_overlaps(stbox, tgeometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overlaps_stbox_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overlaps(tgeometry, stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overlaps_tspatial_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overlaps(tgeometry, tgeometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overlaps_tspatial_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR && ( + PROCEDURE = temporal_overlaps, + LEFTARG = stbox, RIGHTARG = tgeometry, + COMMUTATOR = &&, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR && ( + PROCEDURE = temporal_overlaps, + LEFTARG = tgeometry, RIGHTARG = stbox, + COMMUTATOR = &&, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR && ( + PROCEDURE = temporal_overlaps, + LEFTARG = tgeometry, RIGHTARG = tgeometry, + COMMUTATOR = &&, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +/*****************************************************************************/ + +CREATE FUNCTION temporal_overlaps(tstzspan, tgeography) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overlaps_tstzspan_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overlaps(tgeography, tstzspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overlaps_temporal_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR && ( + PROCEDURE = temporal_overlaps, + LEFTARG = tstzspan, RIGHTARG = tgeography, + COMMUTATOR = &&, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR && ( + PROCEDURE = temporal_overlaps, + LEFTARG = tgeography, RIGHTARG = tstzspan, + COMMUTATOR = &&, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +/*****************************************************************************/ + +CREATE FUNCTION temporal_overlaps(stbox, tgeography) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overlaps_stbox_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overlaps(tgeography, stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overlaps_tspatial_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overlaps(tgeography, tgeography) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overlaps_tspatial_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR && ( + PROCEDURE = temporal_overlaps, + LEFTARG = stbox, RIGHTARG = tgeography, + COMMUTATOR = &&, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR && ( + PROCEDURE = temporal_overlaps, + LEFTARG = tgeography, RIGHTARG = stbox, + COMMUTATOR = &&, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR && ( + PROCEDURE = temporal_overlaps, + LEFTARG = tgeography, RIGHTARG = tgeography, + COMMUTATOR = &&, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +/***************************************************************************** + * Same + *****************************************************************************/ + +CREATE FUNCTION temporal_same(tstzspan, tgeometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Same_tstzspan_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_same(tgeometry, tstzspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Same_temporal_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR ~= ( + PROCEDURE = temporal_same, + LEFTARG = tstzspan, RIGHTARG = tgeometry, + COMMUTATOR = ~=, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR ~= ( + PROCEDURE = temporal_same, + LEFTARG = tgeometry, RIGHTARG = tstzspan, + COMMUTATOR = ~=, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +/*****************************************************************************/ + +CREATE FUNCTION temporal_same(stbox, tgeometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Same_stbox_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_same(tgeometry, stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Same_tspatial_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_same(tgeometry, tgeometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Same_tspatial_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR ~= ( + PROCEDURE = temporal_same, + LEFTARG = stbox, RIGHTARG = tgeometry, + COMMUTATOR = ~=, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR ~= ( + PROCEDURE = temporal_same, + LEFTARG = tgeometry, RIGHTARG = stbox, + COMMUTATOR = ~=, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR ~= ( + PROCEDURE = temporal_same, + LEFTARG = tgeometry, RIGHTARG = tgeometry, + COMMUTATOR = ~=, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +/*****************************************************************************/ + +CREATE FUNCTION temporal_same(tstzspan, tgeography) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Same_tstzspan_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_same(tgeography, tstzspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Same_temporal_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR ~= ( + PROCEDURE = temporal_same, + LEFTARG = tstzspan, RIGHTARG = tgeography, + COMMUTATOR = ~=, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR ~= ( + PROCEDURE = temporal_same, + LEFTARG = tgeography, RIGHTARG = tstzspan, + COMMUTATOR = ~=, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +/*****************************************************************************/ + +CREATE FUNCTION temporal_same(stbox, tgeography) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Same_stbox_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_same(tgeography, stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Same_tspatial_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_same(tgeography, tgeography) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Same_tspatial_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR ~= ( + PROCEDURE = temporal_same, + LEFTARG = stbox, RIGHTARG = tgeography, + COMMUTATOR = ~=, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR ~= ( + PROCEDURE = temporal_same, + LEFTARG = tgeography, RIGHTARG = stbox, + COMMUTATOR = ~=, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR ~= ( + PROCEDURE = temporal_same, + LEFTARG = tgeography, RIGHTARG = tgeography, + COMMUTATOR = ~=, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +/***************************************************************************** + * Adjacent + *****************************************************************************/ + +CREATE FUNCTION temporal_adjacent(tstzspan, tgeometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Adjacent_tstzspan_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_adjacent(tgeometry, tstzspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Adjacent_temporal_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR -|- ( + PROCEDURE = temporal_adjacent, + LEFTARG = tstzspan, RIGHTARG = tgeometry, + COMMUTATOR = -|-, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR -|- ( + PROCEDURE = temporal_adjacent, + LEFTARG = tgeometry, RIGHTARG = tstzspan, + COMMUTATOR = -|-, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +/*****************************************************************************/ + +CREATE FUNCTION temporal_adjacent(stbox, tgeometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Adjacent_stbox_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_adjacent(tgeometry, stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Adjacent_tspatial_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_adjacent(tgeometry, tgeometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Adjacent_tspatial_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR -|- ( + PROCEDURE = temporal_adjacent, + LEFTARG = stbox, RIGHTARG = tgeometry, + COMMUTATOR = -|-, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR -|- ( + PROCEDURE = temporal_adjacent, + LEFTARG = tgeometry, RIGHTARG = stbox, + COMMUTATOR = -|-, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR -|- ( + PROCEDURE = temporal_adjacent, + LEFTARG = tgeometry, RIGHTARG = tgeometry, + COMMUTATOR = -|-, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +/*****************************************************************************/ + +CREATE FUNCTION temporal_adjacent(tstzspan, tgeography) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Adjacent_tstzspan_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_adjacent(tgeography, tstzspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Adjacent_temporal_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR -|- ( + PROCEDURE = temporal_adjacent, + LEFTARG = tstzspan, RIGHTARG = tgeography, + COMMUTATOR = -|-, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR -|- ( + PROCEDURE = temporal_adjacent, + LEFTARG = tgeography, RIGHTARG = tstzspan, + COMMUTATOR = -|-, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +/*****************************************************************************/ + +CREATE FUNCTION temporal_adjacent(stbox, tgeography) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Adjacent_stbox_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_adjacent(tgeography, stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Adjacent_tspatial_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_adjacent(tgeography, tgeography) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Adjacent_tspatial_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR -|- ( + PROCEDURE = temporal_adjacent, + LEFTARG = stbox, RIGHTARG = tgeography, + COMMUTATOR = -|-, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR -|- ( + PROCEDURE = temporal_adjacent, + LEFTARG = tgeography, RIGHTARG = stbox, + COMMUTATOR = -|-, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR -|- ( + PROCEDURE = temporal_adjacent, + LEFTARG = tgeography, RIGHTARG = tgeography, + COMMUTATOR = -|-, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +/*****************************************************************************/ diff --git a/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/geo/060_tpoint_boxops.in.sql b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/geo/060_tpoint_boxops.in.sql new file mode 100644 index 00000000..6c689b3a --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/geo/060_tpoint_boxops.in.sql @@ -0,0 +1,746 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @file + * @brief Bounding box operators for temporal points + */ + +/***************************************************************************** + * Conversions + *****************************************************************************/ + +CREATE FUNCTION stbox(tgeompoint) + RETURNS stbox + AS 'MODULE_PATHNAME', 'Tspatial_to_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION stbox(tgeogpoint) + RETURNS stbox + AS 'MODULE_PATHNAME', 'Tspatial_to_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE CAST (tgeompoint AS stbox) WITH FUNCTION stbox(tgeompoint); +CREATE CAST (tgeogpoint AS stbox) WITH FUNCTION stbox(tgeogpoint); + +/*****************************************************************************/ + +CREATE FUNCTION expandSpace(geometry, float) + RETURNS stbox + AS 'SELECT @extschema@.expandSpace($1::stbox, $2)' + LANGUAGE SQL IMMUTABLE PARALLEL SAFE STRICT; +CREATE FUNCTION expandSpace(geography, float) + RETURNS stbox + AS 'SELECT @extschema@.expandSpace($1::stbox, $2)' + LANGUAGE SQL IMMUTABLE PARALLEL SAFE STRICT; + +CREATE FUNCTION expandSpace(tgeompoint, float) + RETURNS stbox + AS 'SELECT @extschema@.expandSpace($1::stbox, $2)' + LANGUAGE SQL IMMUTABLE PARALLEL SAFE STRICT; +CREATE FUNCTION expandSpace(tgeogpoint, float) + RETURNS stbox + AS 'SELECT @extschema@.expandSpace($1::stbox, $2)' + LANGUAGE SQL IMMUTABLE PARALLEL SAFE STRICT; + +/*****************************************************************************/ + +CREATE FUNCTION spans(tgeompoint) + RETURNS tstzspan[] + AS 'MODULE_PATHNAME', 'Temporal_spans' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION spans(tgeogpoint) + RETURNS tstzspan[] + AS 'MODULE_PATHNAME', 'Temporal_spans' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION stboxes(tgeompoint) + RETURNS stbox[] + AS 'MODULE_PATHNAME', 'Tgeo_stboxes' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION stboxes(tgeogpoint) + RETURNS stbox[] + AS 'MODULE_PATHNAME', 'Tgeo_stboxes' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION stboxes(geometry) + RETURNS stbox[] + AS 'MODULE_PATHNAME', 'Geo_stboxes' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION stboxes(geography) + RETURNS stbox[] + AS 'MODULE_PATHNAME', 'Geo_stboxes' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/*****************************************************************************/ + +CREATE FUNCTION splitNSpans(tgeompoint, integer) + RETURNS tstzspan[] + AS 'MODULE_PATHNAME', 'Temporal_split_n_spans' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION splitNSpans(tgeogpoint, integer) + RETURNS tstzspan[] + AS 'MODULE_PATHNAME', 'Temporal_split_n_spans' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION splitEachNSpans(tgeompoint, integer) + RETURNS tstzspan[] + AS 'MODULE_PATHNAME', 'Temporal_split_each_n_spans' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION splitEachNSpans(tgeogpoint, integer) + RETURNS tstzspan[] + AS 'MODULE_PATHNAME', 'Temporal_split_each_n_spans' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION splitNStboxes(tgeompoint, integer) + RETURNS stbox[] + AS 'MODULE_PATHNAME', 'Tgeo_split_n_stboxes' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION splitNStboxes(tgeogpoint, integer) + RETURNS stbox[] + AS 'MODULE_PATHNAME', 'Tgeo_split_n_stboxes' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION splitEachNStboxes(tgeompoint, integer) + RETURNS stbox[] + AS 'MODULE_PATHNAME', 'Tgeo_split_each_n_stboxes' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION splitEachNStboxes(tgeogpoint, integer) + RETURNS stbox[] + AS 'MODULE_PATHNAME', 'Tgeo_split_each_n_stboxes' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION splitNStboxes(geometry, integer) + RETURNS stbox[] + AS 'MODULE_PATHNAME', 'Geo_split_n_stboxes' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION splitNStboxes(geography, integer) + RETURNS stbox[] + AS 'MODULE_PATHNAME', 'Geo_split_n_stboxes' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION splitEachNStboxes(geometry, integer) + RETURNS stbox[] + AS 'MODULE_PATHNAME', 'Geo_split_each_n_stboxes' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION splitEachNStboxes(geography, integer) + RETURNS stbox[] + AS 'MODULE_PATHNAME', 'Geo_split_each_n_stboxes' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/***************************************************************************** + * Contains + *****************************************************************************/ + +CREATE FUNCTION temporal_contains(tstzspan, tgeompoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contains_tstzspan_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_contains(tgeompoint, tstzspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contains_temporal_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR @> ( + PROCEDURE = temporal_contains, + LEFTARG = tstzspan, RIGHTARG = tgeompoint, + COMMUTATOR = <@, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR @> ( + PROCEDURE = temporal_contains, + LEFTARG = tgeompoint, RIGHTARG = tstzspan, + COMMUTATOR = <@, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +/*****************************************************************************/ + +CREATE FUNCTION temporal_contains(tstzspan, tgeogpoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contains_tstzspan_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_contains(tgeogpoint, tstzspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contains_temporal_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR @> ( + PROCEDURE = temporal_contains, + LEFTARG = tstzspan, RIGHTARG = tgeogpoint, + COMMUTATOR = <@, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR @> ( + PROCEDURE = temporal_contains, + LEFTARG = tgeogpoint, RIGHTARG = tstzspan, + COMMUTATOR = <@, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +/*****************************************************************************/ + +CREATE FUNCTION temporal_contains(stbox, tgeompoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contains_stbox_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_contains(tgeompoint, stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contains_tspatial_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_contains(tgeompoint, tgeompoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contains_tspatial_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR @> ( + PROCEDURE = temporal_contains, + LEFTARG = stbox, RIGHTARG = tgeompoint, + COMMUTATOR = <@, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR @> ( + PROCEDURE = temporal_contains, + LEFTARG = tgeompoint, RIGHTARG = stbox, + COMMUTATOR = <@, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR @> ( + PROCEDURE = temporal_contains, + LEFTARG = tgeompoint, RIGHTARG = tgeompoint, + COMMUTATOR = <@, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +/*****************************************************************************/ + +CREATE FUNCTION temporal_contains(stbox, tgeogpoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contains_stbox_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_contains(tgeogpoint, stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contains_tspatial_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_contains(tgeogpoint, tgeogpoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contains_tspatial_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR @> ( + PROCEDURE = temporal_contains, + LEFTARG = stbox, RIGHTARG = tgeogpoint, + COMMUTATOR = <@, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR @> ( + PROCEDURE = temporal_contains, + LEFTARG = tgeogpoint, RIGHTARG = stbox, + COMMUTATOR = <@, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR @> ( + PROCEDURE = temporal_contains, + LEFTARG = tgeogpoint, RIGHTARG = tgeogpoint, + COMMUTATOR = <@, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +/***************************************************************************** + * Contained + *****************************************************************************/ + +CREATE FUNCTION temporal_contained(tstzspan, tgeompoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contained_tstzspan_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_contained(tgeompoint, tstzspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contained_temporal_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR <@ ( + PROCEDURE = temporal_contained, + LEFTARG = tstzspan, RIGHTARG = tgeompoint, + COMMUTATOR = @>, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR <@ ( + PROCEDURE = temporal_contained, + LEFTARG = tgeompoint, RIGHTARG = tstzspan, + COMMUTATOR = @>, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +/*****************************************************************************/ + +CREATE FUNCTION temporal_contained(stbox, tgeompoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contained_stbox_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_contained(tgeompoint, stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contained_tspatial_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_contained(tgeompoint, tgeompoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contained_tspatial_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR <@ ( + PROCEDURE = temporal_contained, + LEFTARG = stbox, RIGHTARG = tgeompoint, + COMMUTATOR = @>, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR <@ ( + PROCEDURE = temporal_contained, + LEFTARG = tgeompoint, RIGHTARG = stbox, + COMMUTATOR = @>, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR <@ ( + PROCEDURE = temporal_contained, + LEFTARG = tgeompoint, RIGHTARG = tgeompoint, + COMMUTATOR = @>, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +/*****************************************************************************/ + +CREATE FUNCTION temporal_contained(tstzspan, tgeogpoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contained_tstzspan_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_contained(tgeogpoint, tstzspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contained_temporal_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR <@ ( + PROCEDURE = temporal_contained, + LEFTARG = tstzspan, RIGHTARG = tgeogpoint, + COMMUTATOR = @>, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR <@ ( + PROCEDURE = temporal_contained, + LEFTARG = tgeogpoint, RIGHTARG = tstzspan, + COMMUTATOR = @>, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +/*****************************************************************************/ + +CREATE FUNCTION temporal_contained(stbox, tgeogpoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contained_stbox_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_contained(tgeogpoint, stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contained_tspatial_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_contained(tgeogpoint, tgeogpoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contained_tspatial_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR <@ ( + PROCEDURE = temporal_contained, + LEFTARG = stbox, RIGHTARG = tgeogpoint, + COMMUTATOR = @>, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR <@ ( + PROCEDURE = temporal_contained, + LEFTARG = tgeogpoint, RIGHTARG = stbox, + COMMUTATOR = @>, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR <@ ( + PROCEDURE = temporal_contained, + LEFTARG = tgeogpoint, RIGHTARG = tgeogpoint, + COMMUTATOR = @>, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +/***************************************************************************** + * Overlaps + *****************************************************************************/ + +CREATE FUNCTION temporal_overlaps(tstzspan, tgeompoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overlaps_tstzspan_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overlaps(tgeompoint, tstzspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overlaps_temporal_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR && ( + PROCEDURE = temporal_overlaps, + LEFTARG = tstzspan, RIGHTARG = tgeompoint, + COMMUTATOR = &&, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR && ( + PROCEDURE = temporal_overlaps, + LEFTARG = tgeompoint, RIGHTARG = tstzspan, + COMMUTATOR = &&, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +/*****************************************************************************/ + +CREATE FUNCTION temporal_overlaps(stbox, tgeompoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overlaps_stbox_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overlaps(tgeompoint, stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overlaps_tspatial_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overlaps(tgeompoint, tgeompoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overlaps_tspatial_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR && ( + PROCEDURE = temporal_overlaps, + LEFTARG = stbox, RIGHTARG = tgeompoint, + COMMUTATOR = &&, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR && ( + PROCEDURE = temporal_overlaps, + LEFTARG = tgeompoint, RIGHTARG = stbox, + COMMUTATOR = &&, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR && ( + PROCEDURE = temporal_overlaps, + LEFTARG = tgeompoint, RIGHTARG = tgeompoint, + COMMUTATOR = &&, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +/*****************************************************************************/ + +CREATE FUNCTION temporal_overlaps(tstzspan, tgeogpoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overlaps_tstzspan_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overlaps(tgeogpoint, tstzspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overlaps_temporal_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR && ( + PROCEDURE = temporal_overlaps, + LEFTARG = tstzspan, RIGHTARG = tgeogpoint, + COMMUTATOR = &&, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR && ( + PROCEDURE = temporal_overlaps, + LEFTARG = tgeogpoint, RIGHTARG = tstzspan, + COMMUTATOR = &&, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +/*****************************************************************************/ + +CREATE FUNCTION temporal_overlaps(stbox, tgeogpoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overlaps_stbox_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overlaps(tgeogpoint, stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overlaps_tspatial_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overlaps(tgeogpoint, tgeogpoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overlaps_tspatial_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR && ( + PROCEDURE = temporal_overlaps, + LEFTARG = stbox, RIGHTARG = tgeogpoint, + COMMUTATOR = &&, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR && ( + PROCEDURE = temporal_overlaps, + LEFTARG = tgeogpoint, RIGHTARG = stbox, + COMMUTATOR = &&, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR && ( + PROCEDURE = temporal_overlaps, + LEFTARG = tgeogpoint, RIGHTARG = tgeogpoint, + COMMUTATOR = &&, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +/***************************************************************************** + * Same + *****************************************************************************/ + +CREATE FUNCTION temporal_same(tstzspan, tgeompoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Same_tstzspan_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_same(tgeompoint, tstzspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Same_temporal_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR ~= ( + PROCEDURE = temporal_same, + LEFTARG = tstzspan, RIGHTARG = tgeompoint, + COMMUTATOR = ~=, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR ~= ( + PROCEDURE = temporal_same, + LEFTARG = tgeompoint, RIGHTARG = tstzspan, + COMMUTATOR = ~=, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +/*****************************************************************************/ + +CREATE FUNCTION temporal_same(stbox, tgeompoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Same_stbox_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_same(tgeompoint, stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Same_tspatial_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_same(tgeompoint, tgeompoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Same_tspatial_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR ~= ( + PROCEDURE = temporal_same, + LEFTARG = stbox, RIGHTARG = tgeompoint, + COMMUTATOR = ~=, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR ~= ( + PROCEDURE = temporal_same, + LEFTARG = tgeompoint, RIGHTARG = stbox, + COMMUTATOR = ~=, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR ~= ( + PROCEDURE = temporal_same, + LEFTARG = tgeompoint, RIGHTARG = tgeompoint, + COMMUTATOR = ~=, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +/*****************************************************************************/ + +CREATE FUNCTION temporal_same(tstzspan, tgeogpoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Same_tstzspan_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_same(tgeogpoint, tstzspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Same_temporal_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR ~= ( + PROCEDURE = temporal_same, + LEFTARG = tstzspan, RIGHTARG = tgeogpoint, + COMMUTATOR = ~=, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR ~= ( + PROCEDURE = temporal_same, + LEFTARG = tgeogpoint, RIGHTARG = tstzspan, + COMMUTATOR = ~=, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +/*****************************************************************************/ + +CREATE FUNCTION temporal_same(stbox, tgeogpoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Same_stbox_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_same(tgeogpoint, stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Same_tspatial_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_same(tgeogpoint, tgeogpoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Same_tspatial_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR ~= ( + PROCEDURE = temporal_same, + LEFTARG = stbox, RIGHTARG = tgeogpoint, + COMMUTATOR = ~=, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR ~= ( + PROCEDURE = temporal_same, + LEFTARG = tgeogpoint, RIGHTARG = stbox, + COMMUTATOR = ~=, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR ~= ( + PROCEDURE = temporal_same, + LEFTARG = tgeogpoint, RIGHTARG = tgeogpoint, + COMMUTATOR = ~=, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +/***************************************************************************** + * Adjacent + *****************************************************************************/ + +CREATE FUNCTION temporal_adjacent(tstzspan, tgeompoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Adjacent_tstzspan_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_adjacent(tgeompoint, tstzspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Adjacent_temporal_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR -|- ( + PROCEDURE = temporal_adjacent, + LEFTARG = tstzspan, RIGHTARG = tgeompoint, + COMMUTATOR = -|-, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR -|- ( + PROCEDURE = temporal_adjacent, + LEFTARG = tgeompoint, RIGHTARG = tstzspan, + COMMUTATOR = -|-, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +/*****************************************************************************/ + +CREATE FUNCTION temporal_adjacent(stbox, tgeompoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Adjacent_stbox_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_adjacent(tgeompoint, stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Adjacent_tspatial_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_adjacent(tgeompoint, tgeompoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Adjacent_tspatial_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR -|- ( + PROCEDURE = temporal_adjacent, + LEFTARG = stbox, RIGHTARG = tgeompoint, + COMMUTATOR = -|-, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR -|- ( + PROCEDURE = temporal_adjacent, + LEFTARG = tgeompoint, RIGHTARG = stbox, + COMMUTATOR = -|-, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR -|- ( + PROCEDURE = temporal_adjacent, + LEFTARG = tgeompoint, RIGHTARG = tgeompoint, + COMMUTATOR = -|-, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +/*****************************************************************************/ + +CREATE FUNCTION temporal_adjacent(tstzspan, tgeogpoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Adjacent_tstzspan_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_adjacent(tgeogpoint, tstzspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Adjacent_temporal_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR -|- ( + PROCEDURE = temporal_adjacent, + LEFTARG = tstzspan, RIGHTARG = tgeogpoint, + COMMUTATOR = -|-, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR -|- ( + PROCEDURE = temporal_adjacent, + LEFTARG = tgeogpoint, RIGHTARG = tstzspan, + COMMUTATOR = -|-, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +/*****************************************************************************/ + +CREATE FUNCTION temporal_adjacent(stbox, tgeogpoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Adjacent_stbox_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_adjacent(tgeogpoint, stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Adjacent_tspatial_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_adjacent(tgeogpoint, tgeogpoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Adjacent_tspatial_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR -|- ( + PROCEDURE = temporal_adjacent, + LEFTARG = stbox, RIGHTARG = tgeogpoint, + COMMUTATOR = -|-, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR -|- ( + PROCEDURE = temporal_adjacent, + LEFTARG = tgeogpoint, RIGHTARG = stbox, + COMMUTATOR = -|-, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR -|- ( + PROCEDURE = temporal_adjacent, + LEFTARG = tgeogpoint, RIGHTARG = tgeogpoint, + COMMUTATOR = -|-, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +/*****************************************************************************/ diff --git a/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/geo/062_tgeo_posops.in.sql b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/geo/062_tgeo_posops.in.sql new file mode 100644 index 00000000..eeaee6d2 --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/geo/062_tgeo_posops.in.sql @@ -0,0 +1,821 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @file + * @brief Relative position operators for temporal geometries/geographies + */ + +/***************************************************************************** + * tstzspan + *****************************************************************************/ + +/* tstzspan op tgeometry */ + +CREATE FUNCTION temporal_before(tstzspan, tgeometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Before_tstzspan_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overbefore(tstzspan, tgeometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overbefore_tstzspan_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_after(tstzspan, tgeometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'After_tstzspan_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overafter(tstzspan, tgeometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overafter_tstzspan_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR <<# ( + LEFTARG = tstzspan, RIGHTARG = tgeometry, + PROCEDURE = temporal_before, + COMMUTATOR = #>>, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR &<# ( + LEFTARG = tstzspan, RIGHTARG = tgeometry, + PROCEDURE = temporal_overbefore, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR #>> ( + LEFTARG = tstzspan, RIGHTARG = tgeometry, + PROCEDURE = temporal_after, + COMMUTATOR = <<#, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR #&> ( + LEFTARG = tstzspan, RIGHTARG = tgeometry, + PROCEDURE = temporal_overafter, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +/*****************************************************************************/ + +/* tstzspan op tgeography */ + +CREATE FUNCTION temporal_before(tstzspan, tgeography) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Before_tstzspan_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overbefore(tstzspan, tgeography) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overbefore_tstzspan_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_after(tstzspan, tgeography) + RETURNS boolean + AS 'MODULE_PATHNAME', 'After_tstzspan_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overafter(tstzspan, tgeography) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overafter_tstzspan_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR <<# ( + LEFTARG = tstzspan, RIGHTARG = tgeography, + PROCEDURE = temporal_before, + COMMUTATOR = #>>, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR &<# ( + LEFTARG = tstzspan, RIGHTARG = tgeography, + PROCEDURE = temporal_overbefore, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR #>> ( + LEFTARG = tstzspan, RIGHTARG = tgeography, + PROCEDURE = temporal_after, + COMMUTATOR = <<#, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR #&> ( + LEFTARG = tstzspan, RIGHTARG = tgeography, + PROCEDURE = temporal_overafter, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +/***************************************************************************** + * Stbox + *****************************************************************************/ + +CREATE FUNCTION temporal_left(stbox, tgeometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Left_stbox_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overleft(stbox, tgeometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overleft_stbox_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_right(stbox, tgeometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Right_stbox_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overright(stbox, tgeometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overright_stbox_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_below(stbox, tgeometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Below_stbox_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overbelow(stbox, tgeometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overbelow_stbox_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_above(stbox, tgeometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Above_stbox_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overabove(stbox, tgeometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overabove_stbox_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_front(stbox, tgeometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Front_stbox_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overfront(stbox, tgeometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overfront_stbox_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_back(stbox, tgeometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Back_stbox_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overback(stbox, tgeometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overback_stbox_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_before(stbox, tgeometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Before_stbox_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overbefore(stbox, tgeometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overbefore_stbox_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_after(stbox, tgeometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'After_stbox_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overafter(stbox, tgeometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overafter_stbox_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR << ( + LEFTARG = stbox, RIGHTARG = tgeometry, + PROCEDURE = temporal_left, + COMMUTATOR = >>, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR &< ( + LEFTARG = stbox, RIGHTARG = tgeometry, + PROCEDURE = temporal_overleft, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR >> ( + LEFTARG = stbox, RIGHTARG = tgeometry, + PROCEDURE = temporal_right, + COMMUTATOR = <<, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR &> ( + LEFTARG = stbox, RIGHTARG = tgeometry, + PROCEDURE = temporal_overright, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR <<| ( + LEFTARG = stbox, RIGHTARG = tgeometry, + PROCEDURE = temporal_below, + COMMUTATOR = |>>, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR &<| ( + LEFTARG = stbox, RIGHTARG = tgeometry, + PROCEDURE = temporal_overbelow, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR |>> ( + LEFTARG = stbox, RIGHTARG = tgeometry, + PROCEDURE = temporal_above, + COMMUTATOR = <<|, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR |&> ( + LEFTARG = stbox, RIGHTARG = tgeometry, + PROCEDURE = temporal_overabove, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR <>, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR &> ( + LEFTARG = stbox, RIGHTARG = tgeometry, + PROCEDURE = temporal_back, + COMMUTATOR = < ( + LEFTARG = stbox, RIGHTARG = tgeometry, + PROCEDURE = temporal_overback, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR <<# ( + LEFTARG = stbox, RIGHTARG = tgeometry, + PROCEDURE = temporal_before, + COMMUTATOR = #>>, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR &<# ( + LEFTARG = stbox, RIGHTARG = tgeometry, + PROCEDURE = temporal_overbefore, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR #>> ( + LEFTARG = stbox, RIGHTARG = tgeometry, + PROCEDURE = temporal_after, + COMMUTATOR = <<#, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR #&> ( + LEFTARG = stbox, RIGHTARG = tgeometry, + PROCEDURE = temporal_overafter, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +/*****************************************************************************/ + +CREATE FUNCTION temporal_before(stbox, tgeography) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Before_stbox_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overbefore(stbox, tgeography) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overbefore_stbox_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_after(stbox, tgeography) + RETURNS boolean + AS 'MODULE_PATHNAME', 'After_stbox_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overafter(stbox, tgeography) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overafter_stbox_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR <<# ( + LEFTARG = stbox, RIGHTARG = tgeography, + PROCEDURE = temporal_before, + COMMUTATOR = #>>, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR &<# ( + LEFTARG = stbox, RIGHTARG = tgeography, + PROCEDURE = temporal_overbefore, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR #>> ( + LEFTARG = stbox, RIGHTARG = tgeography, + PROCEDURE = temporal_after, + COMMUTATOR = <<#, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR #&> ( + LEFTARG = stbox, RIGHTARG = tgeography, + PROCEDURE = temporal_overafter, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +/***************************************************************************** + * tgeometry + *****************************************************************************/ + +/* tgeometry op tstzspan */ + +CREATE FUNCTION temporal_before(tgeometry, tstzspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Before_temporal_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overbefore(tgeometry, tstzspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overbefore_temporal_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_after(tgeometry, tstzspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'After_temporal_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overafter(tgeometry, tstzspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overafter_temporal_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR <<# ( + LEFTARG = tgeometry, RIGHTARG = tstzspan, + PROCEDURE = temporal_before, + COMMUTATOR = #>>, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR &<# ( + LEFTARG = tgeometry, RIGHTARG = tstzspan, + PROCEDURE = temporal_overbefore, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR #>> ( + LEFTARG = tgeometry, RIGHTARG = tstzspan, + PROCEDURE = temporal_after, + COMMUTATOR = <<#, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR #&> ( + LEFTARG = tgeometry, RIGHTARG = tstzspan, + PROCEDURE = temporal_overafter, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +/*****************************************************************************/ + +/* tgeometry op stbox */ + +CREATE FUNCTION temporal_left(tgeometry, stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Left_tspatial_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overleft(tgeometry, stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overleft_tspatial_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_right(tgeometry, stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Right_tspatial_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overright(tgeometry, stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overright_tspatial_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_below(tgeometry, stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Below_tspatial_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overbelow(tgeometry, stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overbelow_tspatial_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_above(tgeometry, stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Above_tspatial_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overabove(tgeometry, stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overabove_tspatial_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_front(tgeometry, stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Front_tspatial_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overfront(tgeometry, stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overfront_tspatial_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_back(tgeometry, stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Back_tspatial_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overback(tgeometry, stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overback_tspatial_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_before(tgeometry, stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Before_tspatial_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overbefore(tgeometry, stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overbefore_tspatial_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_after(tgeometry, stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'After_tspatial_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overafter(tgeometry, stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overafter_tspatial_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR << ( + LEFTARG = tgeometry, RIGHTARG = stbox, + PROCEDURE = temporal_left, + COMMUTATOR = >>, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR &< ( + LEFTARG = tgeometry, RIGHTARG = stbox, + PROCEDURE = temporal_overleft, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR >> ( + LEFTARG = tgeometry, RIGHTARG = stbox, + PROCEDURE = temporal_right, + COMMUTATOR = <<, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR &> ( + LEFTARG = tgeometry, RIGHTARG = stbox, + PROCEDURE = temporal_overright, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR <<| ( + LEFTARG = tgeometry, RIGHTARG = stbox, + PROCEDURE = temporal_below, + COMMUTATOR = |>>, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR &<| ( + LEFTARG = tgeometry, RIGHTARG = stbox, + PROCEDURE = temporal_overbelow, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR |>> ( + LEFTARG = tgeometry, RIGHTARG = stbox, + PROCEDURE = temporal_above, + COMMUTATOR = <<|, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR |&> ( + LEFTARG = tgeometry, RIGHTARG = stbox, + PROCEDURE = temporal_overabove, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR <>, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR &> ( + LEFTARG = tgeometry, RIGHTARG = stbox, + PROCEDURE = temporal_back, + COMMUTATOR = < ( + LEFTARG = tgeometry, RIGHTARG = stbox, + PROCEDURE = temporal_overback, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR <<# ( + LEFTARG = tgeometry, RIGHTARG = stbox, + PROCEDURE = temporal_before, + COMMUTATOR = #>>, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR &<# ( + LEFTARG = tgeometry, RIGHTARG = stbox, + PROCEDURE = temporal_overbefore, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR #>> ( + LEFTARG = tgeometry, RIGHTARG = stbox, + PROCEDURE = temporal_after, + COMMUTATOR = <<#, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR #&> ( + LEFTARG = tgeometry, RIGHTARG = stbox, + PROCEDURE = temporal_overafter, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +/*****************************************************************************/ + +/* tgeometry op tgeometry */ + +CREATE FUNCTION temporal_left(inst1 tgeometry, inst2 tgeometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Left_tspatial_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overleft(inst1 tgeometry, inst2 tgeometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overleft_tspatial_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_right(inst1 tgeometry, inst2 tgeometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Right_tspatial_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overright(inst1 tgeometry, inst2 tgeometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overright_tspatial_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_below(inst1 tgeometry, inst2 tgeometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Below_tspatial_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overbelow(inst1 tgeometry, inst2 tgeometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overbelow_tspatial_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_above(inst1 tgeometry, inst2 tgeometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Above_tspatial_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overabove(inst1 tgeometry, inst2 tgeometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overabove_tspatial_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_front(tgeometry, tgeometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Front_tspatial_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overfront(tgeometry, tgeometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overfront_tspatial_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_back(tgeometry, tgeometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Back_tspatial_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overback(tgeometry, tgeometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overback_tspatial_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_before(inst1 tgeometry, inst2 tgeometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Before_tspatial_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overbefore(inst1 tgeometry, inst2 tgeometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overbefore_tspatial_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_after(inst1 tgeometry, inst2 tgeometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'After_tspatial_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overafter(inst1 tgeometry, inst2 tgeometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overafter_tspatial_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR << ( + LEFTARG = tgeometry, RIGHTARG = tgeometry, + PROCEDURE = temporal_left, + COMMUTATOR = >>, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR &< ( + LEFTARG = tgeometry, RIGHTARG = tgeometry, + PROCEDURE = temporal_overleft, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR >> ( + LEFTARG = tgeometry, RIGHTARG = tgeometry, + PROCEDURE = temporal_right, + COMMUTATOR = <<, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR &> ( + LEFTARG = tgeometry, RIGHTARG = tgeometry, + PROCEDURE = temporal_overright, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR <<| ( + LEFTARG = tgeometry, RIGHTARG = tgeometry, + PROCEDURE = temporal_below, + COMMUTATOR = |>>, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR &<| ( + LEFTARG = tgeometry, RIGHTARG = tgeometry, + PROCEDURE = temporal_overbelow, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR |>> ( + LEFTARG = tgeometry, RIGHTARG = tgeometry, + PROCEDURE = temporal_above, + COMMUTATOR = <<|, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR |&> ( + LEFTARG = tgeometry, RIGHTARG = tgeometry, + PROCEDURE = temporal_overabove, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR <>, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR &> ( + LEFTARG = tgeometry, RIGHTARG = tgeometry, + PROCEDURE = temporal_back, + COMMUTATOR = < ( + LEFTARG = tgeometry, RIGHTARG = tgeometry, + PROCEDURE = temporal_overback, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR <<# ( + LEFTARG = tgeometry, RIGHTARG = tgeometry, + PROCEDURE = temporal_before, + COMMUTATOR = #>>, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR &<# ( + LEFTARG = tgeometry, RIGHTARG = tgeometry, + PROCEDURE = temporal_overbefore, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR #>> ( + LEFTARG = tgeometry, RIGHTARG = tgeometry, + PROCEDURE = temporal_after, + COMMUTATOR = <<#, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR #&> ( + LEFTARG = tgeometry, RIGHTARG = tgeometry, + PROCEDURE = temporal_overafter, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +/***************************************************************************** + * tgeography + *****************************************************************************/ + +/* tgeography op tstzspan */ + +CREATE FUNCTION temporal_before(tgeography, tstzspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Before_temporal_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overbefore(tgeography, tstzspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overbefore_temporal_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_after(tgeography, tstzspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'After_temporal_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overafter(tgeography, tstzspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overafter_temporal_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR <<# ( + LEFTARG = tgeography, RIGHTARG = tstzspan, + PROCEDURE = temporal_before, + COMMUTATOR = #>>, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR &<# ( + LEFTARG = tgeography, RIGHTARG = tstzspan, + PROCEDURE = temporal_overbefore, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR #>> ( + LEFTARG = tgeography, RIGHTARG = tstzspan, + PROCEDURE = temporal_after, + COMMUTATOR = <<#, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR #&> ( + LEFTARG = tgeography, RIGHTARG = tstzspan, + PROCEDURE = temporal_overafter, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +/*****************************************************************************/ + +/* tgeography op stbox */ + +CREATE FUNCTION temporal_before(tgeography, stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Before_tspatial_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overbefore(tgeography, stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overbefore_tspatial_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_after(tgeography, stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'After_tspatial_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overafter(tgeography, stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overafter_tspatial_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR <<# ( + LEFTARG = tgeography, RIGHTARG = stbox, + PROCEDURE = temporal_before, + COMMUTATOR = #>>, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR &<# ( + LEFTARG = tgeography, RIGHTARG = stbox, + PROCEDURE = temporal_overbefore, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR #>> ( + LEFTARG = tgeography, RIGHTARG = stbox, + PROCEDURE = temporal_after, + COMMUTATOR = <<#, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR #&> ( + LEFTARG = tgeography, RIGHTARG = stbox, + PROCEDURE = temporal_overafter, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +/*****************************************************************************/ + +/* tgeography op tgeography */ + +CREATE FUNCTION temporal_before(tgeography, tgeography) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Before_tspatial_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overbefore(tgeography, tgeography) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overbefore_tspatial_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_after(tgeography, tgeography) + RETURNS boolean + AS 'MODULE_PATHNAME', 'After_tspatial_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overafter(tgeography, tgeography) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overafter_tspatial_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR <<# ( + LEFTARG = tgeography, RIGHTARG = tgeography, + PROCEDURE = temporal_before, + COMMUTATOR = #>>, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR &<# ( + LEFTARG = tgeography, RIGHTARG = tgeography, + PROCEDURE = temporal_overbefore, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR #>> ( + LEFTARG = tgeography, RIGHTARG = tgeography, + PROCEDURE = temporal_after, + COMMUTATOR = <<#, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR #&> ( + LEFTARG = tgeography, RIGHTARG = tgeography, + PROCEDURE = temporal_overafter, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +/*****************************************************************************/ diff --git a/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/geo/062_tpoint_posops.in.sql b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/geo/062_tpoint_posops.in.sql new file mode 100644 index 00000000..99500421 --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/geo/062_tpoint_posops.in.sql @@ -0,0 +1,821 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @file + * @brief Relative position operators for temporal geometry points. + */ + +/***************************************************************************** + * tstzspan + *****************************************************************************/ + +/* tstzspan op tgeompoint */ + +CREATE FUNCTION temporal_before(tstzspan, tgeompoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Before_tstzspan_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overbefore(tstzspan, tgeompoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overbefore_tstzspan_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_after(tstzspan, tgeompoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'After_tstzspan_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overafter(tstzspan, tgeompoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overafter_tstzspan_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR <<# ( + LEFTARG = tstzspan, RIGHTARG = tgeompoint, + PROCEDURE = temporal_before, + COMMUTATOR = #>>, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR &<# ( + LEFTARG = tstzspan, RIGHTARG = tgeompoint, + PROCEDURE = temporal_overbefore, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR #>> ( + LEFTARG = tstzspan, RIGHTARG = tgeompoint, + PROCEDURE = temporal_after, + COMMUTATOR = <<#, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR #&> ( + LEFTARG = tstzspan, RIGHTARG = tgeompoint, + PROCEDURE = temporal_overafter, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +/*****************************************************************************/ + +/* tstzspan op tgeogpoint */ + +CREATE FUNCTION temporal_before(tstzspan, tgeogpoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Before_tstzspan_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overbefore(tstzspan, tgeogpoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overbefore_tstzspan_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_after(tstzspan, tgeogpoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'After_tstzspan_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overafter(tstzspan, tgeogpoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overafter_tstzspan_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR <<# ( + LEFTARG = tstzspan, RIGHTARG = tgeogpoint, + PROCEDURE = temporal_before, + COMMUTATOR = #>>, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR &<# ( + LEFTARG = tstzspan, RIGHTARG = tgeogpoint, + PROCEDURE = temporal_overbefore, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR #>> ( + LEFTARG = tstzspan, RIGHTARG = tgeogpoint, + PROCEDURE = temporal_after, + COMMUTATOR = <<#, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR #&> ( + LEFTARG = tstzspan, RIGHTARG = tgeogpoint, + PROCEDURE = temporal_overafter, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +/***************************************************************************** + * Stbox + *****************************************************************************/ + +CREATE FUNCTION temporal_left(stbox, tgeompoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Left_stbox_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overleft(stbox, tgeompoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overleft_stbox_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_right(stbox, tgeompoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Right_stbox_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overright(stbox, tgeompoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overright_stbox_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_below(stbox, tgeompoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Below_stbox_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overbelow(stbox, tgeompoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overbelow_stbox_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_above(stbox, tgeompoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Above_stbox_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overabove(stbox, tgeompoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overabove_stbox_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_front(stbox, tgeompoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Front_stbox_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overfront(stbox, tgeompoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overfront_stbox_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_back(stbox, tgeompoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Back_stbox_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overback(stbox, tgeompoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overback_stbox_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_before(stbox, tgeompoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Before_stbox_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overbefore(stbox, tgeompoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overbefore_stbox_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_after(stbox, tgeompoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'After_stbox_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overafter(stbox, tgeompoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overafter_stbox_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR << ( + LEFTARG = stbox, RIGHTARG = tgeompoint, + PROCEDURE = temporal_left, + COMMUTATOR = >>, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR &< ( + LEFTARG = stbox, RIGHTARG = tgeompoint, + PROCEDURE = temporal_overleft, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR >> ( + LEFTARG = stbox, RIGHTARG = tgeompoint, + PROCEDURE = temporal_right, + COMMUTATOR = <<, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR &> ( + LEFTARG = stbox, RIGHTARG = tgeompoint, + PROCEDURE = temporal_overright, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR <<| ( + LEFTARG = stbox, RIGHTARG = tgeompoint, + PROCEDURE = temporal_below, + COMMUTATOR = |>>, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR &<| ( + LEFTARG = stbox, RIGHTARG = tgeompoint, + PROCEDURE = temporal_overbelow, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR |>> ( + LEFTARG = stbox, RIGHTARG = tgeompoint, + PROCEDURE = temporal_above, + COMMUTATOR = <<|, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR |&> ( + LEFTARG = stbox, RIGHTARG = tgeompoint, + PROCEDURE = temporal_overabove, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR <>, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR &> ( + LEFTARG = stbox, RIGHTARG = tgeompoint, + PROCEDURE = temporal_back, + COMMUTATOR = < ( + LEFTARG = stbox, RIGHTARG = tgeompoint, + PROCEDURE = temporal_overback, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR <<# ( + LEFTARG = stbox, RIGHTARG = tgeompoint, + PROCEDURE = temporal_before, + COMMUTATOR = #>>, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR &<# ( + LEFTARG = stbox, RIGHTARG = tgeompoint, + PROCEDURE = temporal_overbefore, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR #>> ( + LEFTARG = stbox, RIGHTARG = tgeompoint, + PROCEDURE = temporal_after, + COMMUTATOR = <<#, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR #&> ( + LEFTARG = stbox, RIGHTARG = tgeompoint, + PROCEDURE = temporal_overafter, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +/*****************************************************************************/ + +CREATE FUNCTION temporal_before(stbox, tgeogpoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Before_stbox_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overbefore(stbox, tgeogpoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overbefore_stbox_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_after(stbox, tgeogpoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'After_stbox_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overafter(stbox, tgeogpoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overafter_stbox_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR <<# ( + LEFTARG = stbox, RIGHTARG = tgeogpoint, + PROCEDURE = temporal_before, + COMMUTATOR = #>>, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR &<# ( + LEFTARG = stbox, RIGHTARG = tgeogpoint, + PROCEDURE = temporal_overbefore, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR #>> ( + LEFTARG = stbox, RIGHTARG = tgeogpoint, + PROCEDURE = temporal_after, + COMMUTATOR = <<#, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR #&> ( + LEFTARG = stbox, RIGHTARG = tgeogpoint, + PROCEDURE = temporal_overafter, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +/***************************************************************************** + * tgeompoint + *****************************************************************************/ + +/* tgeompoint op tstzspan */ + +CREATE FUNCTION temporal_before(tgeompoint, tstzspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Before_temporal_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overbefore(tgeompoint, tstzspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overbefore_temporal_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_after(tgeompoint, tstzspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'After_temporal_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overafter(tgeompoint, tstzspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overafter_temporal_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR <<# ( + LEFTARG = tgeompoint, RIGHTARG = tstzspan, + PROCEDURE = temporal_before, + COMMUTATOR = #>>, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR &<# ( + LEFTARG = tgeompoint, RIGHTARG = tstzspan, + PROCEDURE = temporal_overbefore, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR #>> ( + LEFTARG = tgeompoint, RIGHTARG = tstzspan, + PROCEDURE = temporal_after, + COMMUTATOR = <<#, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR #&> ( + LEFTARG = tgeompoint, RIGHTARG = tstzspan, + PROCEDURE = temporal_overafter, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +/*****************************************************************************/ + +/* tgeompoint op stbox */ + +CREATE FUNCTION temporal_left(tgeompoint, stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Left_tspatial_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overleft(tgeompoint, stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overleft_tspatial_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_right(tgeompoint, stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Right_tspatial_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overright(tgeompoint, stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overright_tspatial_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_below(tgeompoint, stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Below_tspatial_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overbelow(tgeompoint, stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overbelow_tspatial_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_above(tgeompoint, stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Above_tspatial_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overabove(tgeompoint, stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overabove_tspatial_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_front(tgeompoint, stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Front_tspatial_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overfront(tgeompoint, stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overfront_tspatial_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_back(tgeompoint, stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Back_tspatial_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overback(tgeompoint, stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overback_tspatial_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_before(tgeompoint, stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Before_tspatial_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overbefore(tgeompoint, stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overbefore_tspatial_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_after(tgeompoint, stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'After_tspatial_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overafter(tgeompoint, stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overafter_tspatial_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR << ( + LEFTARG = tgeompoint, RIGHTARG = stbox, + PROCEDURE = temporal_left, + COMMUTATOR = >>, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR &< ( + LEFTARG = tgeompoint, RIGHTARG = stbox, + PROCEDURE = temporal_overleft, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR >> ( + LEFTARG = tgeompoint, RIGHTARG = stbox, + PROCEDURE = temporal_right, + COMMUTATOR = <<, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR &> ( + LEFTARG = tgeompoint, RIGHTARG = stbox, + PROCEDURE = temporal_overright, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR <<| ( + LEFTARG = tgeompoint, RIGHTARG = stbox, + PROCEDURE = temporal_below, + COMMUTATOR = |>>, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR &<| ( + LEFTARG = tgeompoint, RIGHTARG = stbox, + PROCEDURE = temporal_overbelow, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR |>> ( + LEFTARG = tgeompoint, RIGHTARG = stbox, + PROCEDURE = temporal_above, + COMMUTATOR = <<|, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR |&> ( + LEFTARG = tgeompoint, RIGHTARG = stbox, + PROCEDURE = temporal_overabove, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR <>, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR &> ( + LEFTARG = tgeompoint, RIGHTARG = stbox, + PROCEDURE = temporal_back, + COMMUTATOR = < ( + LEFTARG = tgeompoint, RIGHTARG = stbox, + PROCEDURE = temporal_overback, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR <<# ( + LEFTARG = tgeompoint, RIGHTARG = stbox, + PROCEDURE = temporal_before, + COMMUTATOR = #>>, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR &<# ( + LEFTARG = tgeompoint, RIGHTARG = stbox, + PROCEDURE = temporal_overbefore, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR #>> ( + LEFTARG = tgeompoint, RIGHTARG = stbox, + PROCEDURE = temporal_after, + COMMUTATOR = <<#, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR #&> ( + LEFTARG = tgeompoint, RIGHTARG = stbox, + PROCEDURE = temporal_overafter, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +/*****************************************************************************/ + +/* tgeompoint op tgeompoint */ + +CREATE FUNCTION temporal_left(inst1 tgeompoint, inst2 tgeompoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Left_tspatial_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overleft(inst1 tgeompoint, inst2 tgeompoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overleft_tspatial_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_right(inst1 tgeompoint, inst2 tgeompoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Right_tspatial_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overright(inst1 tgeompoint, inst2 tgeompoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overright_tspatial_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_below(inst1 tgeompoint, inst2 tgeompoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Below_tspatial_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overbelow(inst1 tgeompoint, inst2 tgeompoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overbelow_tspatial_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_above(inst1 tgeompoint, inst2 tgeompoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Above_tspatial_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overabove(inst1 tgeompoint, inst2 tgeompoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overabove_tspatial_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_front(tgeompoint, tgeompoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Front_tspatial_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overfront(tgeompoint, tgeompoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overfront_tspatial_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_back(tgeompoint, tgeompoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Back_tspatial_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overback(tgeompoint, tgeompoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overback_tspatial_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_before(inst1 tgeompoint, inst2 tgeompoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Before_tspatial_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overbefore(inst1 tgeompoint, inst2 tgeompoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overbefore_tspatial_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_after(inst1 tgeompoint, inst2 tgeompoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'After_tspatial_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overafter(inst1 tgeompoint, inst2 tgeompoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overafter_tspatial_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR << ( + LEFTARG = tgeompoint, RIGHTARG = tgeompoint, + PROCEDURE = temporal_left, + COMMUTATOR = >>, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR &< ( + LEFTARG = tgeompoint, RIGHTARG = tgeompoint, + PROCEDURE = temporal_overleft, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR >> ( + LEFTARG = tgeompoint, RIGHTARG = tgeompoint, + PROCEDURE = temporal_right, + COMMUTATOR = <<, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR &> ( + LEFTARG = tgeompoint, RIGHTARG = tgeompoint, + PROCEDURE = temporal_overright, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR <<| ( + LEFTARG = tgeompoint, RIGHTARG = tgeompoint, + PROCEDURE = temporal_below, + COMMUTATOR = |>>, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR &<| ( + LEFTARG = tgeompoint, RIGHTARG = tgeompoint, + PROCEDURE = temporal_overbelow, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR |>> ( + LEFTARG = tgeompoint, RIGHTARG = tgeompoint, + PROCEDURE = temporal_above, + COMMUTATOR = <<|, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR |&> ( + LEFTARG = tgeompoint, RIGHTARG = tgeompoint, + PROCEDURE = temporal_overabove, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR <>, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR &> ( + LEFTARG = tgeompoint, RIGHTARG = tgeompoint, + PROCEDURE = temporal_back, + COMMUTATOR = < ( + LEFTARG = tgeompoint, RIGHTARG = tgeompoint, + PROCEDURE = temporal_overback, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR <<# ( + LEFTARG = tgeompoint, RIGHTARG = tgeompoint, + PROCEDURE = temporal_before, + COMMUTATOR = #>>, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR &<# ( + LEFTARG = tgeompoint, RIGHTARG = tgeompoint, + PROCEDURE = temporal_overbefore, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR #>> ( + LEFTARG = tgeompoint, RIGHTARG = tgeompoint, + PROCEDURE = temporal_after, + COMMUTATOR = <<#, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR #&> ( + LEFTARG = tgeompoint, RIGHTARG = tgeompoint, + PROCEDURE = temporal_overafter, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +/***************************************************************************** + * tgeogpoint + *****************************************************************************/ + +/* tgeogpoint op tstzspan */ + +CREATE FUNCTION temporal_before(tgeogpoint, tstzspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Before_temporal_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overbefore(tgeogpoint, tstzspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overbefore_temporal_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_after(tgeogpoint, tstzspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'After_temporal_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overafter(tgeogpoint, tstzspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overafter_temporal_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR <<# ( + LEFTARG = tgeogpoint, RIGHTARG = tstzspan, + PROCEDURE = temporal_before, + COMMUTATOR = #>>, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR &<# ( + LEFTARG = tgeogpoint, RIGHTARG = tstzspan, + PROCEDURE = temporal_overbefore, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR #>> ( + LEFTARG = tgeogpoint, RIGHTARG = tstzspan, + PROCEDURE = temporal_after, + COMMUTATOR = <<#, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR #&> ( + LEFTARG = tgeogpoint, RIGHTARG = tstzspan, + PROCEDURE = temporal_overafter, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +/*****************************************************************************/ + +/* tgeogpoint op stbox */ + +CREATE FUNCTION temporal_before(tgeogpoint, stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Before_tspatial_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overbefore(tgeogpoint, stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overbefore_tspatial_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_after(tgeogpoint, stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'After_tspatial_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overafter(tgeogpoint, stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overafter_tspatial_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR <<# ( + LEFTARG = tgeogpoint, RIGHTARG = stbox, + PROCEDURE = temporal_before, + COMMUTATOR = #>>, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR &<# ( + LEFTARG = tgeogpoint, RIGHTARG = stbox, + PROCEDURE = temporal_overbefore, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR #>> ( + LEFTARG = tgeogpoint, RIGHTARG = stbox, + PROCEDURE = temporal_after, + COMMUTATOR = <<#, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR #&> ( + LEFTARG = tgeogpoint, RIGHTARG = stbox, + PROCEDURE = temporal_overafter, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +/*****************************************************************************/ + +/* tgeogpoint op tgeogpoint */ + +CREATE FUNCTION temporal_before(tgeogpoint, tgeogpoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Before_tspatial_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overbefore(tgeogpoint, tgeogpoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overbefore_tspatial_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_after(tgeogpoint, tgeogpoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'After_tspatial_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overafter(tgeogpoint, tgeogpoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overafter_tspatial_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR <<# ( + LEFTARG = tgeogpoint, RIGHTARG = tgeogpoint, + PROCEDURE = temporal_before, + COMMUTATOR = #>>, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR &<# ( + LEFTARG = tgeogpoint, RIGHTARG = tgeogpoint, + PROCEDURE = temporal_overbefore, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR #>> ( + LEFTARG = tgeogpoint, RIGHTARG = tgeogpoint, + PROCEDURE = temporal_after, + COMMUTATOR = <<#, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR #&> ( + LEFTARG = tgeogpoint, RIGHTARG = tgeogpoint, + PROCEDURE = temporal_overafter, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +/*****************************************************************************/ diff --git a/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/geo/064_tgeo_distance.in.sql b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/geo/064_tgeo_distance.in.sql new file mode 100644 index 00000000..aaeb5cad --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/geo/064_tgeo_distance.in.sql @@ -0,0 +1,330 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @file + * @brief Distance functions for temporal geometries/geographies + */ + +/***************************************************************************** + * Distance functions + *****************************************************************************/ + +CREATE FUNCTION tdistance(geometry, tgeometry) + RETURNS tfloat + AS 'MODULE_PATHNAME', 'Tdistance_geo_tgeo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tdistance(tgeometry, geometry) + RETURNS tfloat + AS 'MODULE_PATHNAME', 'Tdistance_tgeo_geo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tdistance(tgeometry, tgeometry) + RETURNS tfloat + AS 'MODULE_PATHNAME', 'Tdistance_tgeo_tgeo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR <-> ( + PROCEDURE = tdistance, + LEFTARG = geometry, RIGHTARG = tgeometry, + COMMUTATOR = <-> +); +CREATE OPERATOR <-> ( + PROCEDURE = tdistance, + LEFTARG = tgeometry, RIGHTARG = geometry, + COMMUTATOR = <-> +); +CREATE OPERATOR <-> ( + PROCEDURE = tdistance, + LEFTARG = tgeometry, RIGHTARG = tgeometry, + COMMUTATOR = <-> +); + +/*****************************************************************************/ + +CREATE FUNCTION tdistance(geography, tgeography) + RETURNS tfloat + AS 'MODULE_PATHNAME', 'Tdistance_geo_tgeo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tdistance(tgeography, geography) + RETURNS tfloat + AS 'MODULE_PATHNAME', 'Tdistance_tgeo_geo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tdistance(tgeography, tgeography) + RETURNS tfloat + AS 'MODULE_PATHNAME', 'Tdistance_tgeo_tgeo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR <-> ( + PROCEDURE = tdistance, + LEFTARG = geography, RIGHTARG = tgeography, + COMMUTATOR = <-> +); +CREATE OPERATOR <-> ( + PROCEDURE = tdistance, + LEFTARG = tgeography, RIGHTARG = geography, + COMMUTATOR = <-> +); +CREATE OPERATOR <-> ( + PROCEDURE = tdistance, + LEFTARG = tgeography, RIGHTARG = tgeography, + COMMUTATOR = <-> +); + +/***************************************************************************** + * Nearest approach instant/distance and shortest line functions + *****************************************************************************/ + +CREATE FUNCTION nearestApproachInstant(geometry, tgeometry) + RETURNS tgeometry + AS 'MODULE_PATHNAME', 'NAI_geo_tgeo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION nearestApproachInstant(tgeometry, geometry) + RETURNS tgeometry + AS 'MODULE_PATHNAME', 'NAI_tgeo_geo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION nearestApproachInstant(tgeometry, tgeometry) + RETURNS tgeometry + AS 'MODULE_PATHNAME', 'NAI_tgeo_tgeo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION nearestApproachInstant(geography, tgeography) + RETURNS tgeography + AS 'MODULE_PATHNAME', 'NAI_geo_tgeo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION nearestApproachInstant(tgeography, geography) + RETURNS tgeography + AS 'MODULE_PATHNAME', 'NAI_tgeo_geo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION nearestApproachInstant(tgeography, tgeography) + RETURNS tgeography + AS 'MODULE_PATHNAME', 'NAI_tgeo_tgeo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION nearestApproachDistance(geometry, tgeometry) + RETURNS float + AS 'MODULE_PATHNAME', 'NAD_geo_tgeo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION nearestApproachDistance(tgeometry, geometry) + RETURNS float + AS 'MODULE_PATHNAME', 'NAD_tgeo_geo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION nearestApproachDistance(stbox, tgeometry) + RETURNS float + AS 'MODULE_PATHNAME', 'NAD_stbox_tgeo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION nearestApproachDistance(tgeometry, stbox) + RETURNS float + AS 'MODULE_PATHNAME', 'NAD_tgeo_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION nearestApproachDistance(tgeometry, tgeometry) + RETURNS float + AS 'MODULE_PATHNAME', 'NAD_tgeo_tgeo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION nearestApproachDistance(geography, tgeography) + RETURNS float + AS 'MODULE_PATHNAME', 'NAD_geo_tgeo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION nearestApproachDistance(tgeography, geography) + RETURNS float + AS 'MODULE_PATHNAME', 'NAD_tgeo_geo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION nearestApproachDistance(stbox, tgeography) + RETURNS float + AS 'MODULE_PATHNAME', 'NAD_stbox_tgeo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION nearestApproachDistance(tgeography, stbox) + RETURNS float + AS 'MODULE_PATHNAME', 'NAD_tgeo_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION nearestApproachDistance(tgeography, tgeography) + RETURNS float + AS 'MODULE_PATHNAME', 'NAD_tgeo_tgeo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR |=| ( + LEFTARG = geometry, RIGHTARG = tgeometry, + PROCEDURE = nearestApproachDistance, + COMMUTATOR = '|=|' +); +CREATE OPERATOR |=| ( + LEFTARG = tgeometry, RIGHTARG = geometry, + PROCEDURE = nearestApproachDistance, + COMMUTATOR = '|=|' +); +CREATE OPERATOR |=| ( + LEFTARG = stbox, RIGHTARG = tgeometry, + PROCEDURE = nearestApproachDistance, + COMMUTATOR = '|=|' +); +CREATE OPERATOR |=| ( + LEFTARG = tgeometry, RIGHTARG = stbox, + PROCEDURE = nearestApproachDistance, + COMMUTATOR = '|=|' +); +CREATE OPERATOR |=| ( + LEFTARG = tgeometry, RIGHTARG = tgeometry, + PROCEDURE = nearestApproachDistance, + COMMUTATOR = '|=|' +); + +CREATE OPERATOR |=| ( + LEFTARG = geography, RIGHTARG = tgeography, + PROCEDURE = nearestApproachDistance, + COMMUTATOR = '|=|' +); +CREATE OPERATOR |=| ( + LEFTARG = tgeography, RIGHTARG = geography, + PROCEDURE = nearestApproachDistance, + COMMUTATOR = '|=|' +); +CREATE OPERATOR |=| ( + LEFTARG = stbox, RIGHTARG = tgeography, + PROCEDURE = nearestApproachDistance, + COMMUTATOR = '|=|' +); +CREATE OPERATOR |=| ( + LEFTARG = tgeography, RIGHTARG = stbox, + PROCEDURE = nearestApproachDistance, + COMMUTATOR = '|=|' +); +CREATE OPERATOR |=| ( + LEFTARG = tgeography, RIGHTARG = tgeography, + PROCEDURE = nearestApproachDistance, + COMMUTATOR = '|=|' +); + +CREATE FUNCTION shortestLine(geometry, tgeometry) + RETURNS geometry + AS 'MODULE_PATHNAME', 'Shortestline_geo_tgeo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION shortestLine(tgeometry, geometry) + RETURNS geometry + AS 'MODULE_PATHNAME', 'Shortestline_tgeo_geo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION shortestLine(tgeometry, tgeometry) + RETURNS geometry + AS 'MODULE_PATHNAME', 'Shortestline_tgeo_tgeo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION shortestLine(geography, tgeography) + RETURNS geography + AS 'MODULE_PATHNAME', 'Shortestline_geo_tgeo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION shortestLine(tgeography, geography) + RETURNS geography + AS 'MODULE_PATHNAME', 'Shortestline_tgeo_geo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION shortestLine(tgeography, tgeography) + RETURNS geography + AS 'MODULE_PATHNAME', 'Shortestline_tgeo_tgeo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/***************************************************************************** + * Set-set spatial minimum distance + *****************************************************************************/ + +CREATE FUNCTION minDistance(tgeompoint[], tgeompoint[]) + RETURNS float + AS 'MODULE_PATHNAME', 'Tgeoarr_tgeoarr_mindist' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION minDistance(tgeometry[], tgeometry[]) + RETURNS float + AS 'MODULE_PATHNAME', 'Tgeoarr_tgeoarr_mindist' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/* + * Scalar minDistance overloads where one side is a static geometry: + * spatial-min reduces to NAD (which is time-synchronous in general but + * is identical to spatial-min when one argument has no time dimension). + */ +CREATE FUNCTION minDistance(tgeompoint, geometry) + RETURNS float + AS 'MODULE_PATHNAME', 'NAD_tgeo_geo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION minDistance(geometry, tgeompoint) + RETURNS float + AS 'MODULE_PATHNAME', 'NAD_geo_tgeo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION minDistance(tgeometry, geometry) + RETURNS float + AS 'MODULE_PATHNAME', 'NAD_tgeo_geo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION minDistance(geometry, tgeometry) + RETURNS float + AS 'MODULE_PATHNAME', 'NAD_geo_tgeo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION minDistance(tgeogpoint, geography) + RETURNS float + AS 'MODULE_PATHNAME', 'NAD_tgeo_geo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION minDistance(geography, tgeogpoint) + RETURNS float + AS 'MODULE_PATHNAME', 'NAD_geo_tgeo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION minDistance(tgeography, geography) + RETURNS float + AS 'MODULE_PATHNAME', 'NAD_tgeo_geo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION minDistance(geography, tgeography) + RETURNS float + AS 'MODULE_PATHNAME', 'NAD_geo_tgeo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/* + * 2-ary aggregate minDistance over pairs of temporal values. The + * scalar (tgeompoint, tgeompoint) form is replaced by this aggregate to + * keep the user-facing name unique (Solution 2 — no `Agg` suffix). On a + * one-row group the aggregate degenerates to the per-pair value, so any + * "scalar" use case is naturally covered. + */ +-- The function is not strict +CREATE FUNCTION minDistance_transfn(float, tgeompoint, tgeompoint) + RETURNS float + AS 'MODULE_PATHNAME', 'Mindistance_transfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION minDistance_transfn(float, tgeometry, tgeometry) + RETURNS float + AS 'MODULE_PATHNAME', 'Mindistance_transfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; + +CREATE AGGREGATE minDistance(tgeompoint, tgeompoint) ( + SFUNC = minDistance_transfn, + STYPE = float, + COMBINEFUNC = float8smaller, + PARALLEL = SAFE +); +CREATE AGGREGATE minDistance(tgeometry, tgeometry) ( + SFUNC = minDistance_transfn, + STYPE = float, + COMBINEFUNC = float8smaller, + PARALLEL = SAFE +); + +/*****************************************************************************/ diff --git a/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/geo/064_tpoint_distance.in.sql b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/geo/064_tpoint_distance.in.sql new file mode 100644 index 00000000..6b48d03a --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/geo/064_tpoint_distance.in.sql @@ -0,0 +1,294 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @file + * @brief Distance functions for temporal points + */ + +/***************************************************************************** + * Distance functions + *****************************************************************************/ + +CREATE FUNCTION tdistance(geometry(Point), tgeompoint) + RETURNS tfloat + AS 'MODULE_PATHNAME', 'Tdistance_geo_tgeo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tdistance(tgeompoint, geometry(Point)) + RETURNS tfloat + AS 'MODULE_PATHNAME', 'Tdistance_tgeo_geo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tdistance(tgeompoint, tgeompoint) + RETURNS tfloat + AS 'MODULE_PATHNAME', 'Tdistance_tgeo_tgeo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR <-> ( + PROCEDURE = tdistance, + LEFTARG = geometry, RIGHTARG = tgeompoint, + COMMUTATOR = <-> +); +CREATE OPERATOR <-> ( + PROCEDURE = tdistance, + LEFTARG = tgeompoint, RIGHTARG = geometry, + COMMUTATOR = <-> +); +CREATE OPERATOR <-> ( + PROCEDURE = tdistance, + LEFTARG = tgeompoint, RIGHTARG = tgeompoint, + COMMUTATOR = <-> +); + +/*****************************************************************************/ + +CREATE FUNCTION tdistance(geography(Point), tgeogpoint) + RETURNS tfloat + AS 'MODULE_PATHNAME', 'Tdistance_geo_tgeo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tdistance(tgeogpoint, geography(Point)) + RETURNS tfloat + AS 'MODULE_PATHNAME', 'Tdistance_tgeo_geo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tdistance(tgeogpoint, tgeogpoint) + RETURNS tfloat + AS 'MODULE_PATHNAME', 'Tdistance_tgeo_tgeo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR <-> ( + PROCEDURE = tdistance, + LEFTARG = geography, RIGHTARG = tgeogpoint, + COMMUTATOR = <-> +); +CREATE OPERATOR <-> ( + PROCEDURE = tdistance, + LEFTARG = tgeogpoint, RIGHTARG = geography, + COMMUTATOR = <-> +); +CREATE OPERATOR <-> ( + PROCEDURE = tdistance, + LEFTARG = tgeogpoint, RIGHTARG = tgeogpoint, + COMMUTATOR = <-> +); + +/***************************************************************************** + * Nearest approach instant/distance and shortest line functions + *****************************************************************************/ + +CREATE FUNCTION nearestApproachInstant(geometry, tgeompoint) + RETURNS tgeompoint + AS 'MODULE_PATHNAME', 'NAI_geo_tgeo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION nearestApproachInstant(tgeompoint, geometry) + RETURNS tgeompoint + AS 'MODULE_PATHNAME', 'NAI_tgeo_geo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION nearestApproachInstant(tgeompoint, tgeompoint) + RETURNS tgeompoint + AS 'MODULE_PATHNAME', 'NAI_tgeo_tgeo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION nearestApproachInstant(geography, tgeogpoint) + RETURNS tgeogpoint + AS 'MODULE_PATHNAME', 'NAI_geo_tgeo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION nearestApproachInstant(tgeogpoint, geography) + RETURNS tgeogpoint + AS 'MODULE_PATHNAME', 'NAI_tgeo_geo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION nearestApproachInstant(tgeogpoint, tgeogpoint) + RETURNS tgeogpoint + AS 'MODULE_PATHNAME', 'NAI_tgeo_tgeo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION nearestApproachDistance(geometry, tgeompoint) + RETURNS float + AS 'MODULE_PATHNAME', 'NAD_geo_tgeo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION nearestApproachDistance(tgeompoint, geometry) + RETURNS float + AS 'MODULE_PATHNAME', 'NAD_tgeo_geo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION nearestApproachDistance(stbox, geometry) + RETURNS float + AS 'MODULE_PATHNAME', 'NAD_stbox_geo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION nearestApproachDistance(geometry, stbox) + RETURNS float + AS 'MODULE_PATHNAME', 'NAD_geo_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION nearestApproachDistance(stbox, tgeompoint) + RETURNS float + AS 'MODULE_PATHNAME', 'NAD_stbox_tgeo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION nearestApproachDistance(tgeompoint, stbox) + RETURNS float + AS 'MODULE_PATHNAME', 'NAD_tgeo_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION nearestApproachDistance(stbox, stbox) + RETURNS float + AS 'MODULE_PATHNAME', 'NAD_stbox_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION nearestApproachDistance(tgeompoint, tgeompoint) + RETURNS float + AS 'MODULE_PATHNAME', 'NAD_tgeo_tgeo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION nearestApproachDistance(geography, tgeogpoint) + RETURNS float + AS 'MODULE_PATHNAME', 'NAD_geo_tgeo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION nearestApproachDistance(tgeogpoint, geography) + RETURNS float + AS 'MODULE_PATHNAME', 'NAD_tgeo_geo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION nearestApproachDistance(stbox, geography) + RETURNS float + AS 'MODULE_PATHNAME', 'NAD_stbox_geo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION nearestApproachDistance(geography, stbox) + RETURNS float + AS 'MODULE_PATHNAME', 'NAD_geo_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION nearestApproachDistance(stbox, tgeogpoint) + RETURNS float + AS 'MODULE_PATHNAME', 'NAD_stbox_tgeo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION nearestApproachDistance(tgeogpoint, stbox) + RETURNS float + AS 'MODULE_PATHNAME', 'NAD_tgeo_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION nearestApproachDistance(tgeogpoint, tgeogpoint) + RETURNS float + AS 'MODULE_PATHNAME', 'NAD_tgeo_tgeo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR |=| ( + LEFTARG = geometry, RIGHTARG = tgeompoint, + PROCEDURE = nearestApproachDistance, + COMMUTATOR = '|=|' +); +CREATE OPERATOR |=| ( + LEFTARG = tgeompoint, RIGHTARG = geometry, + PROCEDURE = nearestApproachDistance, + COMMUTATOR = '|=|' +); +CREATE OPERATOR |=| ( + LEFTARG = stbox, RIGHTARG = geometry, + PROCEDURE = nearestApproachDistance, + COMMUTATOR = '|=|' +); +CREATE OPERATOR |=| ( + LEFTARG = geometry, RIGHTARG = stbox, + PROCEDURE = nearestApproachDistance, + COMMUTATOR = '|=|' +); +CREATE OPERATOR |=| ( + LEFTARG = stbox, RIGHTARG = tgeompoint, + PROCEDURE = nearestApproachDistance, + COMMUTATOR = '|=|' +); +CREATE OPERATOR |=| ( + LEFTARG = tgeompoint, RIGHTARG = stbox, + PROCEDURE = nearestApproachDistance, + COMMUTATOR = '|=|' +); +CREATE OPERATOR |=| ( + LEFTARG = stbox, RIGHTARG = stbox, + PROCEDURE = nearestApproachDistance, + COMMUTATOR = '|=|' +); +CREATE OPERATOR |=| ( + LEFTARG = tgeompoint, RIGHTARG = tgeompoint, + PROCEDURE = nearestApproachDistance, + COMMUTATOR = '|=|' +); + +CREATE OPERATOR |=| ( + LEFTARG = geography, RIGHTARG = tgeogpoint, + PROCEDURE = nearestApproachDistance, + COMMUTATOR = '|=|' +); +CREATE OPERATOR |=| ( + LEFTARG = tgeogpoint, RIGHTARG = geography, + PROCEDURE = nearestApproachDistance, + COMMUTATOR = '|=|' +); +CREATE OPERATOR |=| ( + LEFTARG = stbox, RIGHTARG = geography, + PROCEDURE = nearestApproachDistance, + COMMUTATOR = '|=|' +); +CREATE OPERATOR |=| ( + LEFTARG = geography, RIGHTARG = stbox, + PROCEDURE = nearestApproachDistance, + COMMUTATOR = '|=|' +); +CREATE OPERATOR |=| ( + LEFTARG = stbox, RIGHTARG = tgeogpoint, + PROCEDURE = nearestApproachDistance, + COMMUTATOR = '|=|' +); +CREATE OPERATOR |=| ( + LEFTARG = tgeogpoint, RIGHTARG = stbox, + PROCEDURE = nearestApproachDistance, + COMMUTATOR = '|=|' +); +CREATE OPERATOR |=| ( + LEFTARG = tgeogpoint, RIGHTARG = tgeogpoint, + PROCEDURE = nearestApproachDistance, + COMMUTATOR = '|=|' +); + +CREATE FUNCTION shortestLine(geometry, tgeompoint) + RETURNS geometry + AS 'MODULE_PATHNAME', 'Shortestline_geo_tgeo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION shortestLine(tgeompoint, geometry) + RETURNS geometry + AS 'MODULE_PATHNAME', 'Shortestline_tgeo_geo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION shortestLine(tgeompoint, tgeompoint) + RETURNS geometry + AS 'MODULE_PATHNAME', 'Shortestline_tgeo_tgeo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION shortestLine(geography, tgeogpoint) + RETURNS geography + AS 'MODULE_PATHNAME', 'Shortestline_geo_tgeo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION shortestLine(tgeogpoint, geography) + RETURNS geography + AS 'MODULE_PATHNAME', 'Shortestline_tgeo_geo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION shortestLine(tgeogpoint, tgeogpoint) + RETURNS geography + AS 'MODULE_PATHNAME', 'Shortestline_tgeo_tgeo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/*****************************************************************************/ diff --git a/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/geo/066_tpoint_similarity.in.sql b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/geo/066_tpoint_similarity.in.sql new file mode 100644 index 00000000..4bd4b7a4 --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/geo/066_tpoint_similarity.in.sql @@ -0,0 +1,88 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @file + * @brief Similarity distance for temporal values. + * @note Currently, the discrete Hausdorff distance, the discrete Frechet + * distance and the Dynamic Time Warping (DTW) distance are implemented + */ + +CREATE FUNCTION frechetDistance(tgeompoint, tgeompoint) + RETURNS float + AS 'MODULE_PATHNAME', 'Temporal_frechet_distance' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION frechetDistance(tgeogpoint, tgeogpoint) + RETURNS float + AS 'MODULE_PATHNAME', 'Temporal_frechet_distance' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION frechetDistancePath(tgeompoint, tgeompoint) + RETURNS SETOF warp + AS 'MODULE_PATHNAME', 'Temporal_frechet_path' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION frechetDistancePath(tgeogpoint, tgeogpoint) + RETURNS SETOF warp + AS 'MODULE_PATHNAME', 'Temporal_frechet_path' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/*****************************************************************************/ + +CREATE FUNCTION dynTimeWarpDistance(tgeompoint, tgeompoint) + RETURNS float + AS 'MODULE_PATHNAME', 'Temporal_dyntimewarp_distance' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION dynTimeWarpDistance(tgeogpoint, tgeogpoint) + RETURNS float + AS 'MODULE_PATHNAME', 'Temporal_dyntimewarp_distance' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION dynTimeWarpPath(tgeompoint, tgeompoint) + RETURNS SETOF warp + AS 'MODULE_PATHNAME', 'Temporal_dyntimewarp_path' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION dynTimeWarpPath(tgeogpoint, tgeogpoint) + RETURNS SETOF warp + AS 'MODULE_PATHNAME', 'Temporal_dyntimewarp_path' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/*****************************************************************************/ + +CREATE FUNCTION hausdorffDistance(tgeompoint, tgeompoint) + RETURNS float + AS 'MODULE_PATHNAME', 'Temporal_hausdorff_distance' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION hausdorffDistance(tgeogpoint, tgeogpoint) + RETURNS float + AS 'MODULE_PATHNAME', 'Temporal_hausdorff_distance' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/*****************************************************************************/ + + diff --git a/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/geo/068_tgeo_aggfuncs.in.sql b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/geo/068_tgeo_aggfuncs.in.sql new file mode 100644 index 00000000..72810a7a --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/geo/068_tgeo_aggfuncs.in.sql @@ -0,0 +1,273 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @file + * @brief Aggregate functions for temporal geometries/geographies + */ + +-- The function is not strict +CREATE FUNCTION tspatial_extent_transfn(stbox, tgeometry) + RETURNS stbox + AS 'MODULE_PATHNAME', 'Tspatial_extent_transfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION tspatial_extent_transfn(stbox, tgeography) + RETURNS stbox + AS 'MODULE_PATHNAME', 'Tspatial_extent_transfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; + +CREATE AGGREGATE extent(tgeometry) ( + SFUNC = tspatial_extent_transfn, + STYPE = stbox, + COMBINEFUNC = stbox_extent_combinefn, + PARALLEL = safe +); +CREATE AGGREGATE extent(tgeography) ( + SFUNC = tspatial_extent_transfn, + STYPE = stbox, + COMBINEFUNC = stbox_extent_combinefn, + PARALLEL = safe +); + +/*****************************************************************************/ + +-- The function is not strict +CREATE FUNCTION tcount_transfn(internal, tgeometry) + RETURNS internal + AS 'MODULE_PATHNAME', 'Temporal_tcount_transfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; + +CREATE FUNCTION tcount_transfn(internal, tgeography) + RETURNS internal + AS 'MODULE_PATHNAME', 'Temporal_tcount_transfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; + +CREATE AGGREGATE tcount(tgeometry) ( + SFUNC = tcount_transfn, + STYPE = internal, + COMBINEFUNC = tcount_combinefn, + FINALFUNC = tint_tagg_finalfn, + SERIALFUNC = taggstate_serialize, + DESERIALFUNC = taggstate_deserialize, + PARALLEL = SAFE +); + +CREATE AGGREGATE tcount(tgeography) ( + SFUNC = tcount_transfn, + STYPE = internal, + COMBINEFUNC = tcount_combinefn, + FINALFUNC = tint_tagg_finalfn, + SERIALFUNC = taggstate_serialize, + DESERIALFUNC = taggstate_deserialize, + PARALLEL = SAFE +); + +-- The function is not strict +CREATE FUNCTION wcount_transfn(internal, tgeometry, interval) + RETURNS internal + AS 'MODULE_PATHNAME', 'Temporal_wcount_transfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION wcount_transfn(internal, tgeography, interval) + RETURNS internal + AS 'MODULE_PATHNAME', 'Temporal_wcount_transfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; + +CREATE AGGREGATE wcount(tgeometry, interval) ( + SFUNC = wcount_transfn, + STYPE = internal, + COMBINEFUNC = tint_tsum_combinefn, + FINALFUNC = tint_tagg_finalfn, + SERIALFUNC = taggstate_serialize, + DESERIALFUNC = taggstate_deserialize, + PARALLEL = SAFE +); +CREATE AGGREGATE wcount(tgeography, interval) ( + SFUNC = wcount_transfn, + STYPE = internal, + COMBINEFUNC = tint_tsum_combinefn, + FINALFUNC = tint_tagg_finalfn, + SERIALFUNC = taggstate_serialize, + DESERIALFUNC = taggstate_deserialize, + PARALLEL = SAFE +); + +/*****************************************************************************/ + +-- The function is not strict +CREATE FUNCTION temporal_merge_transfn(internal, tgeometry) + RETURNS internal + AS 'MODULE_PATHNAME', 'Temporal_merge_transfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION temporal_merge_transfn(internal, tgeography) + RETURNS internal + AS 'MODULE_PATHNAME', 'Temporal_merge_transfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; + +CREATE FUNCTION tgeometry_tagg_finalfn(internal) + RETURNS tgeometry + AS 'MODULE_PATHNAME', 'Temporal_tagg_finalfn' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tgeography_tagg_finalfn(internal) + RETURNS tgeography + AS 'MODULE_PATHNAME', 'Temporal_tagg_finalfn' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE AGGREGATE merge(tgeometry) ( + SFUNC = temporal_merge_transfn, + STYPE = internal, + COMBINEFUNC = temporal_merge_combinefn, + FINALFUNC = tgeometry_tagg_finalfn, + SERIALFUNC = taggstate_serialize, + DESERIALFUNC = taggstate_deserialize, + PARALLEL = safe +); +CREATE AGGREGATE merge(tgeography) ( + SFUNC = temporal_merge_transfn, + STYPE = internal, + COMBINEFUNC = temporal_merge_combinefn, + FINALFUNC = tgeography_tagg_finalfn, + SERIALFUNC = taggstate_serialize, + DESERIALFUNC = taggstate_deserialize, + PARALLEL = safe +); + +/***************************************************************************** + * Append tinstant aggregate functions + *****************************************************************************/ + +-- The function is not STRICT +CREATE FUNCTION temporal_app_tinst_transfn(tgeometry, tgeometry) + RETURNS tgeometry + AS 'MODULE_PATHNAME', 'Temporal_app_tinst_transfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION temporal_app_tinst_transfn(tgeography, tgeography) + RETURNS tgeography + AS 'MODULE_PATHNAME', 'Temporal_app_tinst_transfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; + +-- The function is not STRICT +CREATE FUNCTION temporal_app_tinst_transfn(tgeometry, tgeometry, + interp text DEFAULT NULL) + RETURNS tgeometry + AS 'MODULE_PATHNAME', 'Temporal_app_tinst_transfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION temporal_app_tinst_transfn(tgeography, tgeography, + interp text DEFAULT NULL) + RETURNS tgeography + AS 'MODULE_PATHNAME', 'Temporal_app_tinst_transfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; + +-- The function is not STRICT +CREATE FUNCTION temporal_app_tinst_transfn(tgeometry, tgeometry, + interp text DEFAULT NULL, maxdist float DEFAULT NULL, + maxt interval DEFAULT NULL) + RETURNS tgeometry + AS 'MODULE_PATHNAME', 'Temporal_app_tinst_transfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION temporal_app_tinst_transfn(tgeography, tgeography, + interp text DEFAULT NULL, maxdist float DEFAULT NULL, + maxt interval DEFAULT NULL) + RETURNS tgeography + AS 'MODULE_PATHNAME', 'Temporal_app_tinst_transfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; + +CREATE FUNCTION temporal_append_finalfn(tgeometry) + RETURNS tgeometry + AS 'MODULE_PATHNAME', 'Temporal_append_finalfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION temporal_append_finalfn(tgeography) + RETURNS tgeography + AS 'MODULE_PATHNAME', 'Temporal_append_finalfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; + +CREATE AGGREGATE appendInstant(tgeometry) ( + SFUNC = temporal_app_tinst_transfn, + STYPE = tgeometry, + FINALFUNC = temporal_append_finalfn, + PARALLEL = safe +); +CREATE AGGREGATE appendInstant(tgeography) ( + SFUNC = temporal_app_tinst_transfn, + STYPE = tgeography, + FINALFUNC = temporal_append_finalfn, + PARALLEL = safe +); + +CREATE AGGREGATE appendInstant(tgeometry, text) ( + SFUNC = temporal_app_tinst_transfn, + STYPE = tgeometry, + FINALFUNC = temporal_append_finalfn, + PARALLEL = safe +); +CREATE AGGREGATE appendInstant(tgeography, text) ( + SFUNC = temporal_app_tinst_transfn, + STYPE = tgeography, + FINALFUNC = temporal_append_finalfn, + PARALLEL = safe +); + +CREATE AGGREGATE appendInstant(tgeometry, text, float, interval) ( + SFUNC = temporal_app_tinst_transfn, + STYPE = tgeometry, + FINALFUNC = temporal_append_finalfn, + PARALLEL = safe +); +CREATE AGGREGATE appendInstant(tgeography, text, float, interval) ( + SFUNC = temporal_app_tinst_transfn, + STYPE = tgeography, + FINALFUNC = temporal_append_finalfn, + PARALLEL = safe +); + +/*****************************************************************************/ + +-- The function is not STRICT +CREATE FUNCTION temporal_app_tseq_transfn(tgeometry, tgeometry) + RETURNS tgeometry + AS 'MODULE_PATHNAME', 'Temporal_app_tseq_transfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION temporal_app_tseq_transfn(tgeography, tgeography) + RETURNS tgeography + AS 'MODULE_PATHNAME', 'Temporal_app_tseq_transfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; + +CREATE AGGREGATE appendSequence(tgeometry) ( + SFUNC = temporal_app_tseq_transfn, + STYPE = tgeometry, + FINALFUNC = temporal_append_finalfn, + PARALLEL = safe +); +CREATE AGGREGATE appendSequence(tgeography) ( + SFUNC = temporal_app_tseq_transfn, + STYPE = tgeography, + FINALFUNC = temporal_append_finalfn, + PARALLEL = safe +); + +/*****************************************************************************/ diff --git a/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/geo/068_tpoint_aggfuncs.in.sql b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/geo/068_tpoint_aggfuncs.in.sql new file mode 100644 index 00000000..6a0f1f26 --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/geo/068_tpoint_aggfuncs.in.sql @@ -0,0 +1,297 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @file + * @brief Aggregate functions for temporal points + */ + +-- The function is not strict +CREATE FUNCTION tspatial_extent_transfn(stbox, tgeompoint) + RETURNS stbox + AS 'MODULE_PATHNAME', 'Tspatial_extent_transfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION tspatial_extent_transfn(stbox, tgeogpoint) + RETURNS stbox + AS 'MODULE_PATHNAME', 'Tspatial_extent_transfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; + +CREATE AGGREGATE extent(tgeompoint) ( + SFUNC = tspatial_extent_transfn, + STYPE = stbox, + COMBINEFUNC = stbox_extent_combinefn, + PARALLEL = safe +); +CREATE AGGREGATE extent(tgeogpoint) ( + SFUNC = tspatial_extent_transfn, + STYPE = stbox, + COMBINEFUNC = stbox_extent_combinefn, + PARALLEL = safe +); + +/*****************************************************************************/ + +-- The function is not strict +CREATE FUNCTION tcount_transfn(internal, tgeompoint) + RETURNS internal + AS 'MODULE_PATHNAME', 'Temporal_tcount_transfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; + +CREATE FUNCTION tcount_transfn(internal, tgeogpoint) + RETURNS internal + AS 'MODULE_PATHNAME', 'Temporal_tcount_transfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; + +CREATE AGGREGATE tcount(tgeompoint) ( + SFUNC = tcount_transfn, + STYPE = internal, + COMBINEFUNC = tcount_combinefn, + FINALFUNC = tint_tagg_finalfn, + SERIALFUNC = taggstate_serialize, + DESERIALFUNC = taggstate_deserialize, + PARALLEL = SAFE +); + +CREATE AGGREGATE tcount(tgeogpoint) ( + SFUNC = tcount_transfn, + STYPE = internal, + COMBINEFUNC = tcount_combinefn, + FINALFUNC = tint_tagg_finalfn, + SERIALFUNC = taggstate_serialize, + DESERIALFUNC = taggstate_deserialize, + PARALLEL = SAFE +); + +-- The function is not strict +CREATE FUNCTION wcount_transfn(internal, tgeompoint, interval) + RETURNS internal + AS 'MODULE_PATHNAME', 'Temporal_wcount_transfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION wcount_transfn(internal, tgeogpoint, interval) + RETURNS internal + AS 'MODULE_PATHNAME', 'Temporal_wcount_transfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; + +CREATE AGGREGATE wcount(tgeompoint, interval) ( + SFUNC = wcount_transfn, + STYPE = internal, + COMBINEFUNC = tint_tsum_combinefn, + FINALFUNC = tint_tagg_finalfn, + SERIALFUNC = taggstate_serialize, + DESERIALFUNC = taggstate_deserialize, + PARALLEL = SAFE +); +CREATE AGGREGATE wcount(tgeogpoint, interval) ( + SFUNC = wcount_transfn, + STYPE = internal, + COMBINEFUNC = tint_tsum_combinefn, + FINALFUNC = tint_tagg_finalfn, + SERIALFUNC = taggstate_serialize, + DESERIALFUNC = taggstate_deserialize, + PARALLEL = SAFE +); + +-- The function is not strict +CREATE FUNCTION tcentroid_transfn(internal, tgeompoint) + RETURNS internal + AS 'MODULE_PATHNAME', 'Tpoint_tcentroid_transfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION tcentroid_combinefn(internal, internal) + RETURNS internal + AS 'MODULE_PATHNAME', 'Tpoint_tcentroid_combinefn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION tcentroid_finalfn(internal) + RETURNS tgeompoint + AS 'MODULE_PATHNAME', 'Tpoint_tcentroid_finalfn' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE AGGREGATE tcentroid(tgeompoint) ( + SFUNC = tcentroid_transfn, + STYPE = internal, + COMBINEFUNC = tcentroid_combinefn, + FINALFUNC = tcentroid_finalfn, + SERIALFUNC = taggstate_serialize, + DESERIALFUNC = taggstate_deserialize, + PARALLEL = SAFE +); + +/*****************************************************************************/ + +-- The function is not strict +CREATE FUNCTION temporal_merge_transfn(internal, tgeompoint) + RETURNS internal + AS 'MODULE_PATHNAME', 'Temporal_merge_transfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION temporal_merge_transfn(internal, tgeogpoint) + RETURNS internal + AS 'MODULE_PATHNAME', 'Temporal_merge_transfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; + +CREATE FUNCTION tgeompoint_tagg_finalfn(internal) + RETURNS tgeompoint + AS 'MODULE_PATHNAME', 'Temporal_tagg_finalfn' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tgeogpoint_tagg_finalfn(internal) + RETURNS tgeogpoint + AS 'MODULE_PATHNAME', 'Temporal_tagg_finalfn' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE AGGREGATE merge(tgeompoint) ( + SFUNC = temporal_merge_transfn, + STYPE = internal, + COMBINEFUNC = temporal_merge_combinefn, + FINALFUNC = tgeompoint_tagg_finalfn, + SERIALFUNC = taggstate_serialize, + DESERIALFUNC = taggstate_deserialize, + PARALLEL = safe +); +CREATE AGGREGATE merge(tgeogpoint) ( + SFUNC = temporal_merge_transfn, + STYPE = internal, + COMBINEFUNC = temporal_merge_combinefn, + FINALFUNC = tgeogpoint_tagg_finalfn, + SERIALFUNC = taggstate_serialize, + DESERIALFUNC = taggstate_deserialize, + PARALLEL = safe +); + +/***************************************************************************** + * Append tinstant aggregate functions + *****************************************************************************/ + +-- The function is not STRICT +CREATE FUNCTION temporal_app_tinst_transfn(tgeompoint, tgeompoint) + RETURNS tgeompoint + AS 'MODULE_PATHNAME', 'Temporal_app_tinst_transfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION temporal_app_tinst_transfn(tgeogpoint, tgeogpoint) + RETURNS tgeogpoint + AS 'MODULE_PATHNAME', 'Temporal_app_tinst_transfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; + +-- The function is not STRICT +CREATE FUNCTION temporal_app_tinst_transfn(tgeompoint, tgeompoint, + interp text DEFAULT NULL) + RETURNS tgeompoint + AS 'MODULE_PATHNAME', 'Temporal_app_tinst_transfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION temporal_app_tinst_transfn(tgeogpoint, tgeogpoint, + interp text DEFAULT NULL) + RETURNS tgeogpoint + AS 'MODULE_PATHNAME', 'Temporal_app_tinst_transfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; + +-- The function is not STRICT +CREATE FUNCTION temporal_app_tinst_transfn(tgeompoint, tgeompoint, + interp text DEFAULT NULL, maxdist float DEFAULT NULL, + maxt interval DEFAULT NULL) + RETURNS tgeompoint + AS 'MODULE_PATHNAME', 'Temporal_app_tinst_transfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION temporal_app_tinst_transfn(tgeogpoint, tgeogpoint, + interp text DEFAULT NULL, maxdist float DEFAULT NULL, + maxt interval DEFAULT NULL) + RETURNS tgeogpoint + AS 'MODULE_PATHNAME', 'Temporal_app_tinst_transfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; + +CREATE FUNCTION temporal_append_finalfn(tgeompoint) + RETURNS tgeompoint + AS 'MODULE_PATHNAME', 'Temporal_append_finalfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION temporal_append_finalfn(tgeogpoint) + RETURNS tgeogpoint + AS 'MODULE_PATHNAME', 'Temporal_append_finalfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; + +CREATE AGGREGATE appendInstant(tgeompoint) ( + SFUNC = temporal_app_tinst_transfn, + STYPE = tgeompoint, + FINALFUNC = temporal_append_finalfn, + PARALLEL = safe +); +CREATE AGGREGATE appendInstant(tgeogpoint) ( + SFUNC = temporal_app_tinst_transfn, + STYPE = tgeogpoint, + FINALFUNC = temporal_append_finalfn, + PARALLEL = safe +); + +CREATE AGGREGATE appendInstant(tgeompoint, text) ( + SFUNC = temporal_app_tinst_transfn, + STYPE = tgeompoint, + FINALFUNC = temporal_append_finalfn, + PARALLEL = safe +); +CREATE AGGREGATE appendInstant(tgeogpoint, text) ( + SFUNC = temporal_app_tinst_transfn, + STYPE = tgeogpoint, + FINALFUNC = temporal_append_finalfn, + PARALLEL = safe +); + +CREATE AGGREGATE appendInstant(tgeompoint, text, float, interval) ( + SFUNC = temporal_app_tinst_transfn, + STYPE = tgeompoint, + FINALFUNC = temporal_append_finalfn, + PARALLEL = safe +); +CREATE AGGREGATE appendInstant(tgeogpoint, text, float, interval) ( + SFUNC = temporal_app_tinst_transfn, + STYPE = tgeogpoint, + FINALFUNC = temporal_append_finalfn, + PARALLEL = safe +); + +/*****************************************************************************/ + +-- The function is not STRICT +CREATE FUNCTION temporal_app_tseq_transfn(tgeompoint, tgeompoint) + RETURNS tgeompoint + AS 'MODULE_PATHNAME', 'Temporal_app_tseq_transfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION temporal_app_tseq_transfn(tgeogpoint, tgeogpoint) + RETURNS tgeogpoint + AS 'MODULE_PATHNAME', 'Temporal_app_tseq_transfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; + +CREATE AGGREGATE appendSequence(tgeompoint) ( + SFUNC = temporal_app_tseq_transfn, + STYPE = tgeompoint, + FINALFUNC = temporal_append_finalfn, + PARALLEL = safe +); +CREATE AGGREGATE appendSequence(tgeogpoint) ( + SFUNC = temporal_app_tseq_transfn, + STYPE = tgeogpoint, + FINALFUNC = temporal_append_finalfn, + PARALLEL = safe +); + +/*****************************************************************************/ diff --git a/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/geo/070_tgeo_spatialrels.in.sql b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/geo/070_tgeo_spatialrels.in.sql new file mode 100644 index 00000000..5087a301 --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/geo/070_tgeo_spatialrels.in.sql @@ -0,0 +1,411 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @file + * @brief Spatial relationships for temporal geometries/geographies + * @note Index support for these functions is enabled + */ + +/***************************************************************************** + * eContains, aContains + *****************************************************************************/ + +CREATE FUNCTION eContains(geometry, tgeometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Econtains_geo_tgeo' + SUPPORT tspatial_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION eContains(tgeometry, geometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Econtains_tgeo_geo' + SUPPORT tspatial_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION eContains(tgeometry, tgeometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Econtains_tgeo_tgeo' + SUPPORT tspatial_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/*****************************************************************************/ + +CREATE FUNCTION aContains(geometry, tgeometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Acontains_geo_tgeo' + SUPPORT tspatial_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION aContains(tgeometry, geometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Acontains_tgeo_geo' + SUPPORT tspatial_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION aContains(tgeometry, tgeometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Acontains_tgeo_tgeo' + SUPPORT tspatial_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/***************************************************************************** + * eCovers, aCovers + *****************************************************************************/ + +CREATE FUNCTION eCovers(geometry, tgeometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Ecovers_geo_tgeo' + SUPPORT tspatial_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION eCovers(tgeometry, geometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Ecovers_tgeo_geo' + SUPPORT tspatial_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION eCovers(tgeometry, tgeometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Ecovers_tgeo_tgeo' + SUPPORT tspatial_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/*****************************************************************************/ + +CREATE FUNCTION aCovers(geometry, tgeometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Acovers_geo_tgeo' + SUPPORT tspatial_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION aCovers(tgeometry, geometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Acovers_tgeo_geo' + SUPPORT tspatial_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION aCovers(tgeometry, tgeometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Acovers_tgeo_tgeo' + SUPPORT tspatial_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/***************************************************************************** + * eDisjoint, aDisjoint + *****************************************************************************/ + +-- TODO implement the index support in the tspatial_supportfn + +CREATE FUNCTION _edisjoint(geometry, tgeometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Edisjoint_geo_tgeo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION edisjoint(geometry, tgeometry) + RETURNS boolean + AS 'SELECT NOT(stbox($1) OPERATOR(@extschema@.&&) $2) OR @extschema@._edisjoint($1,$2)' + LANGUAGE SQL IMMUTABLE PARALLEL SAFE; + +CREATE FUNCTION _edisjoint(tgeometry, geometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Edisjoint_tgeo_geo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION edisjoint(tgeometry, geometry) + RETURNS boolean + AS 'SELECT NOT($1 OPERATOR(@extschema@.&&) stbox($2)) OR @extschema@._edisjoint($1,$2)' + LANGUAGE SQL IMMUTABLE PARALLEL SAFE; + +CREATE FUNCTION _edisjoint(tgeometry, tgeometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Edisjoint_tgeo_tgeo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION edisjoint(tgeometry, tgeometry) + RETURNS boolean + AS 'SELECT NOT($1 OPERATOR(@extschema@.&&) $2) OR @extschema@._edisjoint($1,$2)' + LANGUAGE SQL IMMUTABLE PARALLEL SAFE; + +-- CREATE FUNCTION eDisjoint(geometry, tgeometry) + -- RETURNS boolean + -- AS 'MODULE_PATHNAME', 'Edisjoint_geo_tgeo' + -- SUPPORT tspatial_supportfn + -- LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +-- CREATE FUNCTION eDisjoint(tgeometry, geometry) + -- RETURNS boolean + -- AS 'MODULE_PATHNAME', 'Edisjoint_tgeo_geo' + -- SUPPORT tspatial_supportfn + -- LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +-- CREATE FUNCTION eDisjoint(tgeometry, tgeometry) + -- RETURNS boolean + -- AS 'MODULE_PATHNAME', 'Edisjoint_tgeo_tgeo' + -- SUPPORT tspatial_supportfn + -- LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/*****************************************************************************/ + +-- TODO implement the index support in the tspatial_supportfn + +CREATE FUNCTION _edisjoint(geography, tgeography) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Edisjoint_geo_tgeo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION eDisjoint(geography, tgeography) + RETURNS boolean + AS 'SELECT NOT(stbox($1) OPERATOR(@extschema@.&&) $2) OR @extschema@._edisjoint($1,$2)' + LANGUAGE SQL IMMUTABLE PARALLEL SAFE; + +CREATE FUNCTION _edisjoint(tgeography, geography) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Edisjoint_tgeo_geo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION eDisjoint(tgeography, geography) + RETURNS boolean + AS 'SELECT NOT($1 OPERATOR(@extschema@.&&) stbox($2)) OR @extschema@._edisjoint($1,$2)' + LANGUAGE SQL IMMUTABLE PARALLEL SAFE; + +CREATE FUNCTION _edisjoint(tgeography, tgeography) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Edisjoint_tgeo_tgeo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION eDisjoint(tgeography, tgeography) + RETURNS boolean + AS 'SELECT NOT($1 OPERATOR(@extschema@.&&) $2) OR @extschema@._edisjoint($1,$2)' + LANGUAGE SQL IMMUTABLE PARALLEL SAFE; + +-- CREATE FUNCTION eDisjoint(geography, tgeography) + -- RETURNS boolean + -- AS 'MODULE_PATHNAME', 'Edisjoint_geo_tgeo' + -- SUPPORT tspatial_supportfn + -- LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +-- CREATE FUNCTION eDisjoint(tgeography, geography) + -- RETURNS boolean + -- AS 'MODULE_PATHNAME', 'Edisjoint_tgeo_geo' + -- LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +-- CREATE FUNCTION eDisjoint(tgeography, tgeography) + -- RETURNS boolean + -- AS 'MODULE_PATHNAME', 'Edisjoint_tgeo_tgeo' + -- SUPPORT tspatial_supportfn + -- LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/*****************************************************************************/ + +CREATE FUNCTION aDisjoint(geometry, tgeometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Adisjoint_geo_tgeo' + SUPPORT tspatial_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION aDisjoint(tgeometry, geometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Adisjoint_tgeo_geo' + SUPPORT tspatial_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION aDisjoint(tgeometry, tgeometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Adisjoint_tgeo_tgeo' + SUPPORT tspatial_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION aDisjoint(geography, tgeography) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Adisjoint_geo_tgeo' + SUPPORT tspatial_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION aDisjoint(tgeography, geography) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Adisjoint_tgeo_geo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION aDisjoint(tgeography, tgeography) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Adisjoint_tgeo_tgeo' + SUPPORT tspatial_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/***************************************************************************** + * eIntersects, aIntersects + *****************************************************************************/ + +CREATE FUNCTION eIntersects(geometry, tgeometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Eintersects_geo_tgeo' + SUPPORT tspatial_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION eIntersects(tgeometry, geometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Eintersects_tgeo_geo' + SUPPORT tspatial_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION eIntersects(tgeometry, tgeometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Eintersects_tgeo_tgeo' + SUPPORT tspatial_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION eIntersects(geography, tgeography) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Eintersects_geo_tgeo' + SUPPORT tspatial_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION eIntersects(tgeography, geography) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Eintersects_tgeo_geo' + SUPPORT tspatial_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION eIntersects(tgeography, tgeography) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Eintersects_tgeo_tgeo' + SUPPORT tspatial_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/*****************************************************************************/ + +CREATE FUNCTION aIntersects(geometry, tgeometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Aintersects_geo_tgeo' + SUPPORT tspatial_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION aIntersects(tgeometry, geometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Aintersects_tgeo_geo' + SUPPORT tspatial_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION aIntersects(tgeometry, tgeometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Aintersects_tgeo_tgeo' + SUPPORT tspatial_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION aIntersects(geography, tgeography) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Aintersects_geo_tgeo' + SUPPORT tspatial_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION aIntersects(tgeography, geography) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Aintersects_tgeo_geo' + SUPPORT tspatial_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION aIntersects(tgeography, tgeography) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Aintersects_tgeo_tgeo' + SUPPORT tspatial_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/***************************************************************************** + * eTouches, aTouches + *****************************************************************************/ + +CREATE FUNCTION eTouches(geometry, tgeometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Etouches_geo_tgeo' + SUPPORT tspatial_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION eTouches(tgeometry, geometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Etouches_tgeo_geo' + SUPPORT tspatial_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION eTouches(tgeometry, tgeometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Etouches_tgeo_tgeo' + SUPPORT tspatial_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/*****************************************************************************/ + +CREATE FUNCTION aTouches(geometry, tgeometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Atouches_geo_tgeo' + SUPPORT tspatial_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION aTouches(tgeometry, geometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Atouches_tgeo_geo' + SUPPORT tspatial_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION aTouches(tgeometry, tgeometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Atouches_tgeo_tgeo' + SUPPORT tspatial_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/***************************************************************************** + * eDwithin, aDwithin + *****************************************************************************/ + +CREATE FUNCTION eDwithin(geometry, tgeometry, dist float) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Edwithin_geo_tgeo' + SUPPORT tspatial_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION eDwithin(tgeometry, geometry, dist float) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Edwithin_tgeo_geo' + SUPPORT tspatial_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION eDwithin(tgeometry, tgeometry, dist float) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Edwithin_tgeo_tgeo' + SUPPORT tspatial_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION eDwithin(geography, tgeography, dist float) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Edwithin_geo_tgeo' + SUPPORT tspatial_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION eDwithin(tgeography, geography, dist float) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Edwithin_tgeo_geo' + SUPPORT tspatial_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION eDwithin(tgeography, tgeography, dist float) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Edwithin_tgeo_tgeo' + SUPPORT tspatial_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/*****************************************************************************/ + +-- NOTE: aDWithin for geograhies is not provided since it is based on the +-- PostGIS ST_Buffer() function which is performed by GEOS + +CREATE FUNCTION aDwithin(geometry, tgeometry, dist float) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Adwithin_geo_tgeo' + SUPPORT tspatial_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION aDwithin(tgeometry, geometry, dist float) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Adwithin_tgeo_geo' + SUPPORT tspatial_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION aDwithin(tgeometry, tgeometry, dist float) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Adwithin_tgeo_tgeo' + SUPPORT tspatial_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION aDwithin(tgeography, tgeography, dist float) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Adwithin_tgeo_tgeo' + SUPPORT tspatial_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/*****************************************************************************/ diff --git a/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/geo/070_tpoint_spatialrels.in.sql b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/geo/070_tpoint_spatialrels.in.sql new file mode 100644 index 00000000..9130df71 --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/geo/070_tpoint_spatialrels.in.sql @@ -0,0 +1,341 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @file + * @brief Spatial relationships for temporal points + * @note Index support for these functions is enabled + */ + +/***************************************************************************** + * eContains, aContains + *****************************************************************************/ + +CREATE FUNCTION eContains(geometry, tgeompoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Econtains_geo_tgeo' + SUPPORT tspatial_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/*****************************************************************************/ + +CREATE FUNCTION aContains(geometry, tgeompoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Acontains_geo_tgeo' + SUPPORT tspatial_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/***************************************************************************** + * eDisjoint, aDisjoint + *****************************************************************************/ + +-- TODO implement the index support in the tspatial_supportfn + +CREATE FUNCTION _edisjoint(geometry, tgeompoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Edisjoint_geo_tgeo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION edisjoint(geometry, tgeompoint) + RETURNS boolean + AS 'SELECT NOT(stbox($1) OPERATOR(@extschema@.&&) $2) OR @extschema@._edisjoint($1,$2)' + LANGUAGE SQL IMMUTABLE PARALLEL SAFE; + +CREATE FUNCTION _edisjoint(tgeompoint, geometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Edisjoint_tgeo_geo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION edisjoint(tgeompoint, geometry) + RETURNS boolean + AS 'SELECT NOT($1 OPERATOR(@extschema@.&&) stbox($2)) OR @extschema@._edisjoint($1,$2)' + LANGUAGE SQL IMMUTABLE PARALLEL SAFE; + +CREATE FUNCTION _edisjoint(tgeompoint, tgeompoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Edisjoint_tgeo_tgeo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION edisjoint(tgeompoint, tgeompoint) + RETURNS boolean + AS 'SELECT NOT($1 OPERATOR(@extschema@.&&) $2) OR @extschema@._edisjoint($1,$2)' + LANGUAGE SQL IMMUTABLE PARALLEL SAFE; + +-- CREATE FUNCTION eDisjoint(geometry, tgeompoint) + -- RETURNS boolean + -- AS 'MODULE_PATHNAME', 'Edisjoint_geo_tgeo' + -- SUPPORT tspatial_supportfn + -- LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +-- CREATE FUNCTION eDisjoint(tgeompoint, geometry) + -- RETURNS boolean + -- AS 'MODULE_PATHNAME', 'Edisjoint_tgeo_geo' + -- SUPPORT tspatial_supportfn + -- LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +-- CREATE FUNCTION eDisjoint(tgeompoint, tgeompoint) + -- RETURNS boolean + -- AS 'MODULE_PATHNAME', 'Edisjoint_tgeo_tgeo' + -- SUPPORT tspatial_supportfn + -- LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION _edisjoint(geography, tgeogpoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Edisjoint_geo_tgeo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION eDisjoint(geography, tgeogpoint) + RETURNS boolean + AS 'SELECT NOT(stbox($1) OPERATOR(@extschema@.&&) $2) OR @extschema@._edisjoint($1,$2)' + LANGUAGE SQL IMMUTABLE PARALLEL SAFE; + +CREATE FUNCTION _edisjoint(tgeogpoint, geography) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Edisjoint_tgeo_geo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION eDisjoint(tgeogpoint, geography) + RETURNS boolean + AS 'SELECT NOT($1 OPERATOR(@extschema@.&&) stbox($2)) OR @extschema@._edisjoint($1,$2)' + LANGUAGE SQL IMMUTABLE PARALLEL SAFE; + +CREATE FUNCTION _edisjoint(tgeogpoint, tgeogpoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Edisjoint_tgeo_tgeo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION eDisjoint(tgeogpoint, tgeogpoint) + RETURNS boolean + AS 'SELECT NOT($1 OPERATOR(@extschema@.&&) $2) OR @extschema@._edisjoint($1,$2)' + LANGUAGE SQL IMMUTABLE PARALLEL SAFE; + +-- CREATE FUNCTION eDisjoint(geography, tgeogpoint) + -- RETURNS boolean + -- AS 'MODULE_PATHNAME', 'Edisjoint_geo_tgeo' + -- SUPPORT tspatial_supportfn + -- LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +-- CREATE FUNCTION eDisjoint(tgeogpoint, geography) + -- RETURNS boolean + -- AS 'MODULE_PATHNAME', 'Edisjoint_tgeo_geo' + -- LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +-- CREATE FUNCTION eDisjoint(tgeogpoint, tgeogpoint) + -- RETURNS boolean + -- AS 'MODULE_PATHNAME', 'Edisjoint_tgeo_tgeo' + -- SUPPORT tspatial_supportfn + -- LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/*****************************************************************************/ + +-- TODO implement the index support in the tspatial_supportfn + +CREATE FUNCTION aDisjoint(geometry, tgeompoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Adisjoint_geo_tgeo' + SUPPORT tspatial_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION aDisjoint(tgeompoint, geometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Adisjoint_tgeo_geo' + SUPPORT tspatial_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION aDisjoint(tgeompoint, tgeompoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Adisjoint_tgeo_tgeo' + SUPPORT tspatial_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION aDisjoint(geography, tgeogpoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Adisjoint_geo_tgeo' + SUPPORT tspatial_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION aDisjoint(tgeogpoint, geography) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Adisjoint_tgeo_geo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION aDisjoint(tgeogpoint, tgeogpoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Adisjoint_tgeo_tgeo' + SUPPORT tspatial_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/***************************************************************************** + * eIntersects, aIntersects + *****************************************************************************/ + +CREATE FUNCTION eIntersects(geometry, tgeompoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Eintersects_geo_tgeo' + SUPPORT tspatial_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION eIntersects(tgeompoint, geometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Eintersects_tgeo_geo' + SUPPORT tspatial_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION eIntersects(tgeompoint, tgeompoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Eintersects_tgeo_tgeo' + SUPPORT tspatial_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION eIntersects(geography, tgeogpoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Eintersects_geo_tgeo' + SUPPORT tspatial_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION eIntersects(tgeogpoint, geography) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Eintersects_tgeo_geo' + SUPPORT tspatial_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION eIntersects(tgeogpoint, tgeogpoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Eintersects_tgeo_tgeo' + SUPPORT tspatial_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/*****************************************************************************/ + +CREATE FUNCTION aIntersects(geometry, tgeompoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Aintersects_geo_tgeo' + SUPPORT tspatial_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION aIntersects(tgeompoint, geometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Aintersects_tgeo_geo' + SUPPORT tspatial_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION aIntersects(tgeompoint, tgeompoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Aintersects_tgeo_tgeo' + SUPPORT tspatial_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION aIntersects(geography, tgeogpoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Aintersects_geo_tgeo' + SUPPORT tspatial_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION aIntersects(tgeogpoint, geography) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Aintersects_tgeo_geo' + SUPPORT tspatial_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION aIntersects(tgeogpoint, tgeogpoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Aintersects_tgeo_tgeo' + SUPPORT tspatial_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/***************************************************************************** + * eTouches, aTouches + *****************************************************************************/ + +CREATE FUNCTION eTouches(geometry, tgeompoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Etouches_geo_tpoint' + SUPPORT tspatial_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION eTouches(tgeompoint, geometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Etouches_tpoint_geo' + SUPPORT tspatial_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/*****************************************************************************/ + +CREATE FUNCTION aTouches(geometry, tgeompoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Atouches_geo_tpoint' + SUPPORT tspatial_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION aTouches(tgeompoint, geometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Atouches_tpoint_geo' + SUPPORT tspatial_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/***************************************************************************** + * eDwithin, aDwithin + *****************************************************************************/ + +CREATE FUNCTION eDwithin(geometry, tgeompoint, dist float) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Edwithin_geo_tgeo' + SUPPORT tspatial_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION eDwithin(tgeompoint, geometry, dist float) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Edwithin_tgeo_geo' + SUPPORT tspatial_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION eDwithin(tgeompoint, tgeompoint, dist float) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Edwithin_tgeo_tgeo' + SUPPORT tspatial_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION eDwithin(geography, tgeogpoint, dist float) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Edwithin_geo_tgeo' + SUPPORT tspatial_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION eDwithin(tgeogpoint, geography, dist float) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Edwithin_tgeo_geo' + SUPPORT tspatial_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION eDwithin(tgeogpoint, tgeogpoint, dist float) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Edwithin_tgeo_tgeo' + SUPPORT tspatial_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/*****************************************************************************/ + +-- NOTE: aDWithin for geograhies is not provided since it is based on the +-- PostGIS ST_Buffer() function which is performed by GEOS + +CREATE FUNCTION aDwithin(geometry, tgeompoint, dist float) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Adwithin_geo_tgeo' + SUPPORT tspatial_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION aDwithin(tgeompoint, geometry, dist float) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Adwithin_tgeo_geo' + SUPPORT tspatial_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION aDwithin(tgeompoint, tgeompoint, dist float) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Adwithin_tgeo_tgeo' + SUPPORT tspatial_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION aDwithin(tgeogpoint, tgeogpoint, dist float) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Adwithin_tgeo_tgeo' + SUPPORT tspatial_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/*****************************************************************************/ diff --git a/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/geo/072_tgeo_tempspatialrels.in.sql b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/geo/072_tgeo_tempspatialrels.in.sql new file mode 100644 index 00000000..654387a4 --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/geo/072_tgeo_tempspatialrels.in.sql @@ -0,0 +1,148 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @file + * @brief Temporal spatial relationships for temporal geometries/geographies + */ + +/***************************************************************************** + * tContains + *****************************************************************************/ + +CREATE FUNCTION tContains(geometry, tgeometry) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Tcontains_geo_tgeo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tContains(tgeometry, geometry) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Tcontains_tgeo_geo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tContains(tgeometry, tgeometry) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Tcontains_tgeo_tgeo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/***************************************************************************** + * tCovers + *****************************************************************************/ + +CREATE FUNCTION tCovers(geometry, tgeometry) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Tcovers_geo_tgeo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tCovers(tgeometry, geometry) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Tcovers_tgeo_geo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tCovers(tgeometry, tgeometry) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Tcovers_tgeo_tgeo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/***************************************************************************** + * tDisjoint + *****************************************************************************/ + +CREATE FUNCTION tDisjoint(geometry, tgeometry) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Tdisjoint_geo_tgeo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tDisjoint(tgeometry, geometry) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Tdisjoint_tgeo_geo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +-- Alias for temporal not equals, that is, geo_tne or #<> +CREATE FUNCTION tDisjoint(tgeometry, tgeometry) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Tdisjoint_tgeo_tgeo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tDisjoint(tgeography, tgeography) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Tdisjoint_tgeo_tgeo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/***************************************************************************** + * tIntersects + *****************************************************************************/ + +CREATE FUNCTION tIntersects(geometry, tgeometry) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Tintersects_geo_tgeo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tIntersects(tgeometry, geometry) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Tintersects_tgeo_geo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +-- Alias for temporal equals, that is, tgeo_teq or #= +CREATE FUNCTION tIntersects(tgeometry, tgeometry) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Tintersects_tgeo_tgeo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tIntersects(tgeography, tgeography) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Tintersects_tgeo_tgeo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/***************************************************************************** + * tTouches + *****************************************************************************/ + +CREATE FUNCTION tTouches(geometry, tgeometry) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Ttouches_geo_tgeo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tTouches(tgeometry, geometry) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Ttouches_tgeo_geo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tTouches(tgeometry, tgeometry) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Ttouches_tgeo_tgeo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/***************************************************************************** + * tDwithin + *****************************************************************************/ + +CREATE FUNCTION tDwithin(geometry, tgeometry, dist float) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Tdwithin_geo_tgeo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +-- The function is not strict +CREATE FUNCTION tDwithin(tgeometry, geometry, dist float) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Tdwithin_tgeo_geo' + LANGUAGE C IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION tDwithin(tgeometry, tgeometry, dist float) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Tdwithin_tgeo_tgeo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/*****************************************************************************/ diff --git a/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/geo/072_tpoint_tempspatialrels.in.sql b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/geo/072_tpoint_tempspatialrels.in.sql new file mode 100644 index 00000000..5b1fee63 --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/geo/072_tpoint_tempspatialrels.in.sql @@ -0,0 +1,118 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @file + * @brief Temporal spatial relationships for temporal geometries/geographies + */ + +/***************************************************************************** + * tContains + *****************************************************************************/ + +CREATE FUNCTION tContains(geometry, tgeompoint) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Tcontains_geo_tgeo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/***************************************************************************** + * tDisjoint + *****************************************************************************/ + +CREATE FUNCTION tDisjoint(geometry, tgeompoint) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Tdisjoint_geo_tgeo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tDisjoint(tgeompoint, geometry) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Tdisjoint_tgeo_geo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +-- Alias for temporal not equals, that is, tgeo_tne or #<> +CREATE FUNCTION tDisjoint(tgeompoint, tgeompoint) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Tdisjoint_tgeo_tgeo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tDisjoint(tgeogpoint, tgeogpoint) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Tdisjoint_tgeo_tgeo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/***************************************************************************** + * tIntersects + *****************************************************************************/ + +CREATE FUNCTION tIntersects(geometry, tgeompoint) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Tintersects_geo_tgeo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tIntersects(tgeompoint, geometry) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Tintersects_tgeo_geo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +-- Alias for temporal equals, that is, tgeo_teq or #= +CREATE FUNCTION tIntersects(tgeompoint, tgeompoint) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Tintersects_tgeo_tgeo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tIntersects(tgeogpoint, tgeogpoint) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Tintersects_tgeo_tgeo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/***************************************************************************** + * tTouches + *****************************************************************************/ + +CREATE FUNCTION tTouches(geometry, tgeompoint) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Ttouches_geo_tgeo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tTouches(tgeompoint, geometry) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Ttouches_tgeo_geo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/***************************************************************************** + * tDwithin + *****************************************************************************/ + +CREATE FUNCTION tDwithin(geometry, tgeompoint, dist float) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Tdwithin_geo_tgeo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tDwithin(tgeompoint, geometry, dist float) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Tdwithin_tgeo_geo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tDwithin(tgeompoint, tgeompoint, dist float) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Tdwithin_tgeo_tgeo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/*****************************************************************************/ diff --git a/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/geo/073_tgeo_gist.in.sql b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/geo/073_tgeo_gist.in.sql new file mode 100644 index 00000000..b00ed505 --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/geo/073_tgeo_gist.in.sql @@ -0,0 +1,211 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @file + * @brief R-tree GiST index for temporal geometries/geographies + */ + +/******************************************************************************/ + +CREATE FUNCTION tgeometry_gist_consistent(internal, tgeometry, smallint, oid, internal) + RETURNS bool + AS 'MODULE_PATHNAME', 'Stbox_gist_consistent' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tgeography_gist_consistent(internal, tgeography, smallint, oid, internal) + RETURNS bool + AS 'MODULE_PATHNAME', 'Stbox_gist_consistent' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION stbox_gist_union(internal, internal) + RETURNS stbox + AS 'MODULE_PATHNAME', 'Stbox_gist_union' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION stbox_gist_penalty(internal, internal, internal) + RETURNS internal + AS 'MODULE_PATHNAME', 'Stbox_gist_penalty' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION stbox_gist_picksplit(internal, internal) + RETURNS internal + AS 'MODULE_PATHNAME', 'Stbox_gist_picksplit' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION stbox_gist_same(stbox, stbox, internal) + RETURNS internal + AS 'MODULE_PATHNAME', 'Stbox_gist_same' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION stbox_gist_distance(internal, stbox, smallint, oid, internal) + RETURNS internal + AS 'MODULE_PATHNAME', 'Stbox_gist_distance' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tspatial_gist_compress(internal) + RETURNS internal + AS 'MODULE_PATHNAME', 'Tspatial_gist_compress' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/******************************************************************************/ + +CREATE OPERATOR CLASS tgeometry_rtree_ops + DEFAULT FOR TYPE tgeometry USING gist AS + STORAGE stbox, + -- strictly left + OPERATOR 1 << (tgeometry, stbox), + OPERATOR 1 << (tgeometry, tgeometry), + -- overlaps or left + OPERATOR 2 &< (tgeometry, stbox), + OPERATOR 2 &< (tgeometry, tgeometry), + -- overlaps + OPERATOR 3 && (tgeometry, tstzspan), + OPERATOR 3 && (tgeometry, stbox), + OPERATOR 3 && (tgeometry, tgeometry), + -- overlaps or right + OPERATOR 4 &> (tgeometry, stbox), + OPERATOR 4 &> (tgeometry, tgeometry), + -- strictly right + OPERATOR 5 >> (tgeometry, stbox), + OPERATOR 5 >> (tgeometry, tgeometry), + -- same + OPERATOR 6 ~= (tgeometry, tstzspan), + OPERATOR 6 ~= (tgeometry, stbox), + OPERATOR 6 ~= (tgeometry, tgeometry), + -- contains + OPERATOR 7 @> (tgeometry, tstzspan), + OPERATOR 7 @> (tgeometry, stbox), + OPERATOR 7 @> (tgeometry, tgeometry), + -- contained by + OPERATOR 8 <@ (tgeometry, tstzspan), + OPERATOR 8 <@ (tgeometry, stbox), + OPERATOR 8 <@ (tgeometry, tgeometry), + -- overlaps or below + OPERATOR 9 &<| (tgeometry, stbox), + OPERATOR 9 &<| (tgeometry, tgeometry), + -- strictly below + OPERATOR 10 <<| (tgeometry, stbox), + OPERATOR 10 <<| (tgeometry, tgeometry), + -- strictly above + OPERATOR 11 |>> (tgeometry, stbox), + OPERATOR 11 |>> (tgeometry, tgeometry), + -- overlaps or above + OPERATOR 12 |&> (tgeometry, stbox), + OPERATOR 12 |&> (tgeometry, tgeometry), + -- adjacent + OPERATOR 17 -|- (tgeometry, tstzspan), + OPERATOR 17 -|- (tgeometry, stbox), + OPERATOR 17 -|- (tgeometry, tgeometry), + -- nearest approach distance + OPERATOR 25 |=| (tgeometry, stbox) FOR ORDER BY pg_catalog.float_ops, + OPERATOR 25 |=| (tgeometry, tgeometry) FOR ORDER BY pg_catalog.float_ops, + -- overlaps or before + OPERATOR 28 &<# (tgeometry, tstzspan), + OPERATOR 28 &<# (tgeometry, stbox), + OPERATOR 28 &<# (tgeometry, tgeometry), + -- strictly before + OPERATOR 29 <<# (tgeometry, tstzspan), + OPERATOR 29 <<# (tgeometry, stbox), + OPERATOR 29 <<# (tgeometry, tgeometry), + -- strictly after + OPERATOR 30 #>> (tgeometry, tstzspan), + OPERATOR 30 #>> (tgeometry, stbox), + OPERATOR 30 #>> (tgeometry, tgeometry), + -- overlaps or after + OPERATOR 31 #&> (tgeometry, tstzspan), + OPERATOR 31 #&> (tgeometry, stbox), + OPERATOR 31 #&> (tgeometry, tgeometry), + -- overlaps or front + OPERATOR 32 &> (tgeometry, stbox), + OPERATOR 34 />> (tgeometry, tgeometry), + -- overlaps or back + OPERATOR 35 /&> (tgeometry, stbox), + OPERATOR 35 /&> (tgeometry, tgeometry), + -- functions + FUNCTION 1 tgeometry_gist_consistent(internal, tgeometry, smallint, oid, internal), + FUNCTION 2 stbox_gist_union(internal, internal), + FUNCTION 3 tspatial_gist_compress(internal), + FUNCTION 5 stbox_gist_penalty(internal, internal, internal), + FUNCTION 6 stbox_gist_picksplit(internal, internal), + FUNCTION 7 stbox_gist_same(stbox, stbox, internal), + FUNCTION 8 stbox_gist_distance(internal, stbox, smallint, oid, internal); + +CREATE OPERATOR CLASS tgeography_rtree_ops + DEFAULT FOR TYPE tgeography USING gist AS + STORAGE stbox, + -- overlaps + OPERATOR 3 && (tgeography, tstzspan), + OPERATOR 3 && (tgeography, stbox), + OPERATOR 3 && (tgeography, tgeography), + -- same + OPERATOR 6 ~= (tgeography, tstzspan), + OPERATOR 6 ~= (tgeography, stbox), + OPERATOR 6 ~= (tgeography, tgeography), + -- contains + OPERATOR 7 @> (tgeography, tstzspan), + OPERATOR 7 @> (tgeography, stbox), + OPERATOR 7 @> (tgeography, tgeography), + -- contained by + OPERATOR 8 <@ (tgeography, tstzspan), + OPERATOR 8 <@ (tgeography, stbox), + OPERATOR 8 <@ (tgeography, tgeography), + -- adjacent + OPERATOR 17 -|- (tgeography, tstzspan), + OPERATOR 17 -|- (tgeography, stbox), + OPERATOR 17 -|- (tgeography, tgeography), + -- distance + OPERATOR 25 |=| (tgeography, stbox) FOR ORDER BY pg_catalog.float_ops, + OPERATOR 25 |=| (tgeography, tgeography) FOR ORDER BY pg_catalog.float_ops, + -- overlaps or before + OPERATOR 28 &<# (tgeography, tstzspan), + OPERATOR 28 &<# (tgeography, stbox), + OPERATOR 28 &<# (tgeography, tgeography), + -- strictly before + OPERATOR 29 <<# (tgeography, tstzspan), + OPERATOR 29 <<# (tgeography, stbox), + OPERATOR 29 <<# (tgeography, tgeography), + -- strictly after + OPERATOR 30 #>> (tgeography, tstzspan), + OPERATOR 30 #>> (tgeography, stbox), + OPERATOR 30 #>> (tgeography, tgeography), + -- overlaps or after + OPERATOR 31 #&> (tgeography, tstzspan), + OPERATOR 31 #&> (tgeography, stbox), + OPERATOR 31 #&> (tgeography, tgeography), + -- functions + FUNCTION 1 tgeography_gist_consistent(internal, tgeography, smallint, oid, internal), + FUNCTION 2 stbox_gist_union(internal, internal), + FUNCTION 3 tspatial_gist_compress(internal), + FUNCTION 5 stbox_gist_penalty(internal, internal, internal), + FUNCTION 6 stbox_gist_picksplit(internal, internal), + FUNCTION 7 stbox_gist_same(stbox, stbox, internal), + FUNCTION 8 stbox_gist_distance(internal, stbox, smallint, oid, internal); + +/******************************************************************************/ diff --git a/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/geo/073_tpoint_gist.in.sql b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/geo/073_tpoint_gist.in.sql new file mode 100644 index 00000000..6b6a6a06 --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/geo/073_tpoint_gist.in.sql @@ -0,0 +1,276 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @file + * @brief R-tree GiST index for temporal points + */ + +CREATE FUNCTION stbox_gist_consistent(internal, stbox, smallint, oid, internal) + RETURNS bool + AS 'MODULE_PATHNAME', 'Stbox_gist_consistent' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR CLASS stbox_rtree_ops + DEFAULT FOR TYPE stbox USING gist AS + STORAGE stbox, + -- strictly left + OPERATOR 1 << (stbox, stbox), + OPERATOR 1 << (stbox, tgeompoint), + -- overlaps or left + OPERATOR 2 &< (stbox, stbox), + OPERATOR 2 &< (stbox, tgeompoint), + -- overlaps + OPERATOR 3 && (stbox, stbox), + OPERATOR 3 && (stbox, tgeompoint), + OPERATOR 3 && (stbox, tgeogpoint), + -- overlaps or right + OPERATOR 4 &> (stbox, stbox), + OPERATOR 4 &> (stbox, tgeompoint), + -- strictly right + OPERATOR 5 >> (stbox, stbox), + OPERATOR 5 >> (stbox, tgeompoint), + -- same + OPERATOR 6 ~= (stbox, stbox), + OPERATOR 6 ~= (stbox, tgeompoint), + OPERATOR 6 ~= (stbox, tgeogpoint), + -- contains + OPERATOR 7 @> (stbox, stbox), + OPERATOR 7 @> (stbox, tgeompoint), + OPERATOR 7 @> (stbox, tgeogpoint), + -- contained by + OPERATOR 8 <@ (stbox, stbox), + OPERATOR 8 <@ (stbox, tgeompoint), + OPERATOR 8 <@ (stbox, tgeogpoint), + -- overlaps or below + OPERATOR 9 &<| (stbox, stbox), + OPERATOR 9 &<| (stbox, tgeompoint), + -- strictly below + OPERATOR 10 <<| (stbox, stbox), + OPERATOR 10 <<| (stbox, tgeompoint), + -- strictly above + OPERATOR 11 |>> (stbox, stbox), + OPERATOR 11 |>> (stbox, tgeompoint), + -- overlaps or above + OPERATOR 12 |&> (stbox, stbox), + OPERATOR 12 |&> (stbox, tgeompoint), + -- adjacent + OPERATOR 17 -|- (stbox, stbox), + OPERATOR 17 -|- (stbox, tgeompoint), + OPERATOR 17 -|- (stbox, tgeogpoint), + -- nearest approach distance + OPERATOR 25 |=| (stbox, stbox) FOR ORDER BY pg_catalog.float_ops, + OPERATOR 25 |=| (stbox, tgeompoint) FOR ORDER BY pg_catalog.float_ops, + OPERATOR 25 |=| (stbox, tgeogpoint) FOR ORDER BY pg_catalog.float_ops, + -- overlaps or before + OPERATOR 28 &<# (stbox, stbox), + OPERATOR 28 &<# (stbox, tgeompoint), + OPERATOR 28 &<# (stbox, tgeogpoint), + -- strictly before + OPERATOR 29 <<# (stbox, stbox), + OPERATOR 29 <<# (stbox, tgeompoint), + OPERATOR 29 <<# (stbox, tgeogpoint), + -- strictly after + OPERATOR 30 #>> (stbox, stbox), + OPERATOR 30 #>> (stbox, tgeompoint), + OPERATOR 30 #>> (stbox, tgeogpoint), + -- overlaps or after + OPERATOR 31 #&> (stbox, stbox), + OPERATOR 31 #&> (stbox, tgeompoint), + OPERATOR 31 #&> (stbox, tgeogpoint), + -- overlaps or front + OPERATOR 32 &> (stbox, stbox), + OPERATOR 34 />> (stbox, tgeompoint), + -- overlaps or back + OPERATOR 35 /&> (stbox, stbox), + OPERATOR 35 /&> (stbox, tgeompoint), + -- functions + FUNCTION 1 stbox_gist_consistent(internal, stbox, smallint, oid, internal), + FUNCTION 2 stbox_gist_union(internal, internal), + FUNCTION 5 stbox_gist_penalty(internal, internal, internal), + FUNCTION 6 stbox_gist_picksplit(internal, internal), + FUNCTION 7 stbox_gist_same(stbox, stbox, internal), + FUNCTION 8 stbox_gist_distance(internal, stbox, smallint, oid, internal); + +/******************************************************************************/ + +CREATE FUNCTION tgeompoint_gist_consistent(internal, tgeompoint, smallint, oid, internal) + RETURNS bool + AS 'MODULE_PATHNAME', 'Stbox_gist_consistent' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tgeogpoint_gist_consistent(internal, tgeogpoint, smallint, oid, internal) + RETURNS bool + AS 'MODULE_PATHNAME', 'Stbox_gist_consistent' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR CLASS tgeompoint_rtree_ops + DEFAULT FOR TYPE tgeompoint USING gist AS + STORAGE stbox, + -- strictly left + OPERATOR 1 << (tgeompoint, stbox), + OPERATOR 1 << (tgeompoint, tgeompoint), + -- overlaps or left + OPERATOR 2 &< (tgeompoint, stbox), + OPERATOR 2 &< (tgeompoint, tgeompoint), + -- overlaps + OPERATOR 3 && (tgeompoint, tstzspan), + OPERATOR 3 && (tgeompoint, stbox), + OPERATOR 3 && (tgeompoint, tgeompoint), + -- overlaps or right + OPERATOR 4 &> (tgeompoint, stbox), + OPERATOR 4 &> (tgeompoint, tgeompoint), + -- strictly right + OPERATOR 5 >> (tgeompoint, stbox), + OPERATOR 5 >> (tgeompoint, tgeompoint), + -- same + OPERATOR 6 ~= (tgeompoint, tstzspan), + OPERATOR 6 ~= (tgeompoint, stbox), + OPERATOR 6 ~= (tgeompoint, tgeompoint), + -- contains + OPERATOR 7 @> (tgeompoint, tstzspan), + OPERATOR 7 @> (tgeompoint, stbox), + OPERATOR 7 @> (tgeompoint, tgeompoint), + -- contained by + OPERATOR 8 <@ (tgeompoint, tstzspan), + OPERATOR 8 <@ (tgeompoint, stbox), + OPERATOR 8 <@ (tgeompoint, tgeompoint), + -- overlaps or below + OPERATOR 9 &<| (tgeompoint, stbox), + OPERATOR 9 &<| (tgeompoint, tgeompoint), + -- strictly below + OPERATOR 10 <<| (tgeompoint, stbox), + OPERATOR 10 <<| (tgeompoint, tgeompoint), + -- strictly above + OPERATOR 11 |>> (tgeompoint, stbox), + OPERATOR 11 |>> (tgeompoint, tgeompoint), + -- overlaps or above + OPERATOR 12 |&> (tgeompoint, stbox), + OPERATOR 12 |&> (tgeompoint, tgeompoint), + -- adjacent + OPERATOR 17 -|- (tgeompoint, tstzspan), + OPERATOR 17 -|- (tgeompoint, stbox), + OPERATOR 17 -|- (tgeompoint, tgeompoint), + -- nearest approach distance + OPERATOR 25 |=| (tgeompoint, stbox) FOR ORDER BY pg_catalog.float_ops, + OPERATOR 25 |=| (tgeompoint, tgeompoint) FOR ORDER BY pg_catalog.float_ops, + -- overlaps or before + OPERATOR 28 &<# (tgeompoint, tstzspan), + OPERATOR 28 &<# (tgeompoint, stbox), + OPERATOR 28 &<# (tgeompoint, tgeompoint), + -- strictly before + OPERATOR 29 <<# (tgeompoint, tstzspan), + OPERATOR 29 <<# (tgeompoint, stbox), + OPERATOR 29 <<# (tgeompoint, tgeompoint), + -- strictly after + OPERATOR 30 #>> (tgeompoint, tstzspan), + OPERATOR 30 #>> (tgeompoint, stbox), + OPERATOR 30 #>> (tgeompoint, tgeompoint), + -- overlaps or after + OPERATOR 31 #&> (tgeompoint, tstzspan), + OPERATOR 31 #&> (tgeompoint, stbox), + OPERATOR 31 #&> (tgeompoint, tgeompoint), + -- overlaps or front + OPERATOR 32 &> (tgeompoint, stbox), + OPERATOR 34 />> (tgeompoint, tgeompoint), + -- overlaps or back + OPERATOR 35 /&> (tgeompoint, stbox), + OPERATOR 35 /&> (tgeompoint, tgeompoint), + -- functions + FUNCTION 1 tgeompoint_gist_consistent(internal, tgeompoint, smallint, oid, internal), + FUNCTION 2 stbox_gist_union(internal, internal), + FUNCTION 3 tspatial_gist_compress(internal), + FUNCTION 5 stbox_gist_penalty(internal, internal, internal), + FUNCTION 6 stbox_gist_picksplit(internal, internal), + FUNCTION 7 stbox_gist_same(stbox, stbox, internal), + FUNCTION 8 stbox_gist_distance(internal, stbox, smallint, oid, internal); + +CREATE OPERATOR CLASS tgeogpoint_rtree_ops + DEFAULT FOR TYPE tgeogpoint USING gist AS + STORAGE stbox, + -- overlaps + OPERATOR 3 && (tgeogpoint, tstzspan), + OPERATOR 3 && (tgeogpoint, stbox), + OPERATOR 3 && (tgeogpoint, tgeogpoint), + -- same + OPERATOR 6 ~= (tgeogpoint, tstzspan), + OPERATOR 6 ~= (tgeogpoint, stbox), + OPERATOR 6 ~= (tgeogpoint, tgeogpoint), + -- contains + OPERATOR 7 @> (tgeogpoint, tstzspan), + OPERATOR 7 @> (tgeogpoint, stbox), + OPERATOR 7 @> (tgeogpoint, tgeogpoint), + -- contained by + OPERATOR 8 <@ (tgeogpoint, tstzspan), + OPERATOR 8 <@ (tgeogpoint, stbox), + OPERATOR 8 <@ (tgeogpoint, tgeogpoint), + -- adjacent + OPERATOR 17 -|- (tgeogpoint, tstzspan), + OPERATOR 17 -|- (tgeogpoint, stbox), + OPERATOR 17 -|- (tgeogpoint, tgeogpoint), + -- distance + OPERATOR 25 |=| (tgeogpoint, stbox) FOR ORDER BY pg_catalog.float_ops, + OPERATOR 25 |=| (tgeogpoint, tgeogpoint) FOR ORDER BY pg_catalog.float_ops, + -- overlaps or before + OPERATOR 28 &<# (tgeogpoint, tstzspan), + OPERATOR 28 &<# (tgeogpoint, stbox), + OPERATOR 28 &<# (tgeogpoint, tgeogpoint), + -- strictly before + OPERATOR 29 <<# (tgeogpoint, tstzspan), + OPERATOR 29 <<# (tgeogpoint, stbox), + OPERATOR 29 <<# (tgeogpoint, tgeogpoint), + -- strictly after + OPERATOR 30 #>> (tgeogpoint, tstzspan), + OPERATOR 30 #>> (tgeogpoint, stbox), + OPERATOR 30 #>> (tgeogpoint, tgeogpoint), + -- overlaps or after + OPERATOR 31 #&> (tgeogpoint, tstzspan), + OPERATOR 31 #&> (tgeogpoint, stbox), + OPERATOR 31 #&> (tgeogpoint, tgeogpoint), + -- functions + FUNCTION 1 tgeogpoint_gist_consistent(internal, tgeogpoint, smallint, oid, internal), + FUNCTION 2 stbox_gist_union(internal, internal), + FUNCTION 3 tspatial_gist_compress(internal), + FUNCTION 5 stbox_gist_penalty(internal, internal, internal), + FUNCTION 6 stbox_gist_picksplit(internal, internal), + FUNCTION 7 stbox_gist_same(stbox, stbox, internal), + FUNCTION 8 stbox_gist_distance(internal, stbox, smallint, oid, internal); + +/******************************************************************************/ diff --git a/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/geo/074_tgeo_spgist.in.sql b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/geo/074_tgeo_spgist.in.sql new file mode 100644 index 00000000..b8626fc5 --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/geo/074_tgeo_spgist.in.sql @@ -0,0 +1,352 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @file + * @brief Quad-tree and k-d tree SP-GiST index for temporal + * geometries/geographies + */ + +CREATE FUNCTION stbox_spgist_config(internal, internal) + RETURNS void + AS 'MODULE_PATHNAME', 'Stbox_spgist_config' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION stbox_quadtree_choose(internal, internal) + RETURNS void + AS 'MODULE_PATHNAME', 'Stbox_quadtree_choose' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION stbox_quadtree_picksplit(internal, internal) + RETURNS void + AS 'MODULE_PATHNAME', 'Stbox_quadtree_picksplit' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION stbox_quadtree_inner_consistent(internal, internal) + RETURNS void + AS 'MODULE_PATHNAME', 'Stbox_quadtree_inner_consistent' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION stbox_spgist_leaf_consistent(internal, internal) + RETURNS bool + AS 'MODULE_PATHNAME', 'Stbox_spgist_leaf_consistent' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tspatial_spgist_compress(internal) + RETURNS internal + AS 'MODULE_PATHNAME', 'Tspatial_spgist_compress' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + + +/******************************************************************************/ + +CREATE OPERATOR CLASS tgeometry_quadtree_ops + DEFAULT FOR TYPE tgeometry USING spgist AS + -- strictly left + OPERATOR 1 << (tgeometry, stbox), + OPERATOR 1 << (tgeometry, tgeometry), + -- overlaps or left + OPERATOR 2 &< (tgeometry, stbox), + OPERATOR 2 &< (tgeometry, tgeometry), + -- overlaps + OPERATOR 3 && (tgeometry, tstzspan), + OPERATOR 3 && (tgeometry, stbox), + OPERATOR 3 && (tgeometry, tgeometry), + -- overlaps or right + OPERATOR 4 &> (tgeometry, stbox), + OPERATOR 4 &> (tgeometry, tgeometry), + -- strictly right + OPERATOR 5 >> (tgeometry, stbox), + OPERATOR 5 >> (tgeometry, tgeometry), + -- same + OPERATOR 6 ~= (tgeometry, tstzspan), + OPERATOR 6 ~= (tgeometry, stbox), + OPERATOR 6 ~= (tgeometry, tgeometry), + -- contains + OPERATOR 7 @> (tgeometry, tstzspan), + OPERATOR 7 @> (tgeometry, stbox), + OPERATOR 7 @> (tgeometry, tgeometry), + -- contained by + OPERATOR 8 <@ (tgeometry, tstzspan), + OPERATOR 8 <@ (tgeometry, stbox), + OPERATOR 8 <@ (tgeometry, tgeometry), + -- overlaps or below + OPERATOR 9 &<| (tgeometry, stbox), + OPERATOR 9 &<| (tgeometry, tgeometry), + -- strictly below + OPERATOR 10 <<| (tgeometry, stbox), + OPERATOR 10 <<| (tgeometry, tgeometry), + -- strictly above + OPERATOR 11 |>> (tgeometry, stbox), + OPERATOR 11 |>> (tgeometry, tgeometry), + -- overlaps or above + OPERATOR 12 |&> (tgeometry, stbox), + OPERATOR 12 |&> (tgeometry, tgeometry), + -- adjacent + OPERATOR 17 -|- (tgeometry, tstzspan), + OPERATOR 17 -|- (tgeometry, stbox), + OPERATOR 17 -|- (tgeometry, tgeometry), + -- nearest approach distance + OPERATOR 25 |=| (tgeometry, stbox) FOR ORDER BY pg_catalog.float_ops, + OPERATOR 25 |=| (tgeometry, tgeometry) FOR ORDER BY pg_catalog.float_ops, + -- overlaps or before + OPERATOR 28 &<# (tgeometry, tstzspan), + OPERATOR 28 &<# (tgeometry, stbox), + OPERATOR 28 &<# (tgeometry, tgeometry), + -- strictly before + OPERATOR 29 <<# (tgeometry, tstzspan), + OPERATOR 29 <<# (tgeometry, stbox), + OPERATOR 29 <<# (tgeometry, tgeometry), + -- strictly after + OPERATOR 30 #>> (tgeometry, tstzspan), + OPERATOR 30 #>> (tgeometry, stbox), + OPERATOR 30 #>> (tgeometry, tgeometry), + -- overlaps or after + OPERATOR 31 #&> (tgeometry, tstzspan), + OPERATOR 31 #&> (tgeometry, stbox), + OPERATOR 31 #&> (tgeometry, tgeometry), + -- overlaps or front + OPERATOR 32 &> (tgeometry, stbox), + OPERATOR 34 />> (tgeometry, tgeometry), + -- overlaps or back + OPERATOR 35 /&> (tgeometry, stbox), + OPERATOR 35 /&> (tgeometry, tgeometry), + -- functions + FUNCTION 1 stbox_spgist_config(internal, internal), + FUNCTION 2 stbox_quadtree_choose(internal, internal), + FUNCTION 3 stbox_quadtree_picksplit(internal, internal), + FUNCTION 4 stbox_quadtree_inner_consistent(internal, internal), + FUNCTION 5 stbox_spgist_leaf_consistent(internal, internal), + FUNCTION 6 tspatial_spgist_compress(internal); + +/******************************************************************************/ + +CREATE FUNCTION stbox_kdtree_choose(internal, internal) + RETURNS void + AS 'MODULE_PATHNAME', 'Stbox_kdtree_choose' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION stbox_kdtree_picksplit(internal, internal) + RETURNS void + AS 'MODULE_PATHNAME', 'Stbox_kdtree_picksplit' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION stbox_kdtree_inner_consistent(internal, internal) + RETURNS void + AS 'MODULE_PATHNAME', 'Stbox_kdtree_inner_consistent' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/******************************************************************************/ + +CREATE OPERATOR CLASS tgeometry_kdtree_ops + FOR TYPE tgeometry USING spgist AS + -- strictly left + OPERATOR 1 << (tgeometry, stbox), + OPERATOR 1 << (tgeometry, tgeometry), + -- overlaps or left + OPERATOR 2 &< (tgeometry, stbox), + OPERATOR 2 &< (tgeometry, tgeometry), + -- overlaps + OPERATOR 3 && (tgeometry, tstzspan), + OPERATOR 3 && (tgeometry, stbox), + OPERATOR 3 && (tgeometry, tgeometry), + -- overlaps or right + OPERATOR 4 &> (tgeometry, stbox), + OPERATOR 4 &> (tgeometry, tgeometry), + -- strictly right + OPERATOR 5 >> (tgeometry, stbox), + OPERATOR 5 >> (tgeometry, tgeometry), + -- same + OPERATOR 6 ~= (tgeometry, tstzspan), + OPERATOR 6 ~= (tgeometry, stbox), + OPERATOR 6 ~= (tgeometry, tgeometry), + -- contains + OPERATOR 7 @> (tgeometry, tstzspan), + OPERATOR 7 @> (tgeometry, stbox), + OPERATOR 7 @> (tgeometry, tgeometry), + -- contained by + OPERATOR 8 <@ (tgeometry, tstzspan), + OPERATOR 8 <@ (tgeometry, stbox), + OPERATOR 8 <@ (tgeometry, tgeometry), + -- overlaps or below + OPERATOR 9 &<| (tgeometry, stbox), + OPERATOR 9 &<| (tgeometry, tgeometry), + -- strictly below + OPERATOR 10 <<| (tgeometry, stbox), + OPERATOR 10 <<| (tgeometry, tgeometry), + -- strictly above + OPERATOR 11 |>> (tgeometry, stbox), + OPERATOR 11 |>> (tgeometry, tgeometry), + -- overlaps or above + OPERATOR 12 |&> (tgeometry, stbox), + OPERATOR 12 |&> (tgeometry, tgeometry), + -- adjacent + OPERATOR 17 -|- (tgeometry, tstzspan), + OPERATOR 17 -|- (tgeometry, stbox), + OPERATOR 17 -|- (tgeometry, tgeometry), + -- nearest approach distance + OPERATOR 25 |=| (tgeometry, stbox) FOR ORDER BY pg_catalog.float_ops, + OPERATOR 25 |=| (tgeometry, tgeometry) FOR ORDER BY pg_catalog.float_ops, + -- overlaps or before + OPERATOR 28 &<# (tgeometry, tstzspan), + OPERATOR 28 &<# (tgeometry, stbox), + OPERATOR 28 &<# (tgeometry, tgeometry), + -- strictly before + OPERATOR 29 <<# (tgeometry, tstzspan), + OPERATOR 29 <<# (tgeometry, stbox), + OPERATOR 29 <<# (tgeometry, tgeometry), + -- strictly after + OPERATOR 30 #>> (tgeometry, tstzspan), + OPERATOR 30 #>> (tgeometry, stbox), + OPERATOR 30 #>> (tgeometry, tgeometry), + -- overlaps or after + OPERATOR 31 #&> (tgeometry, tstzspan), + OPERATOR 31 #&> (tgeometry, stbox), + OPERATOR 31 #&> (tgeometry, tgeometry), + -- overlaps or front + OPERATOR 32 &> (tgeometry, stbox), + OPERATOR 34 />> (tgeometry, tgeometry), + -- overlaps or back + OPERATOR 35 /&> (tgeometry, stbox), + OPERATOR 35 /&> (tgeometry, tgeometry), + -- functions + FUNCTION 1 stbox_spgist_config(internal, internal), + FUNCTION 2 stbox_kdtree_choose(internal, internal), + FUNCTION 3 stbox_kdtree_picksplit(internal, internal), + FUNCTION 4 stbox_kdtree_inner_consistent(internal, internal), + FUNCTION 5 stbox_spgist_leaf_consistent(internal, internal), + FUNCTION 6 tspatial_spgist_compress(internal); + +/******************************************************************************/ + +CREATE OPERATOR CLASS tgeography_quadtree_ops + DEFAULT FOR TYPE tgeography USING spgist AS + -- overlaps + OPERATOR 3 && (tgeography, tstzspan), + OPERATOR 3 && (tgeography, stbox), + OPERATOR 3 && (tgeography, tgeography), + -- same + OPERATOR 6 ~= (tgeography, tstzspan), + OPERATOR 6 ~= (tgeography, stbox), + OPERATOR 6 ~= (tgeography, tgeography), + -- contains + OPERATOR 7 @> (tgeography, tstzspan), + OPERATOR 7 @> (tgeography, stbox), + OPERATOR 7 @> (tgeography, tgeography), + -- contained by + OPERATOR 8 <@ (tgeography, tstzspan), + OPERATOR 8 <@ (tgeography, stbox), + OPERATOR 8 <@ (tgeography, tgeography), + -- adjacent + OPERATOR 17 -|- (tgeography, tstzspan), + OPERATOR 17 -|- (tgeography, stbox), + OPERATOR 17 -|- (tgeography, tgeography), + -- nearest approach distance + OPERATOR 25 |=| (tgeography, stbox) FOR ORDER BY pg_catalog.float_ops, + OPERATOR 25 |=| (tgeography, tgeography) FOR ORDER BY pg_catalog.float_ops, + -- overlaps or before + OPERATOR 28 &<# (tgeography, tstzspan), + OPERATOR 28 &<# (tgeography, stbox), + OPERATOR 28 &<# (tgeography, tgeography), + -- strictly before + OPERATOR 29 <<# (tgeography, tstzspan), + OPERATOR 29 <<# (tgeography, stbox), + OPERATOR 29 <<# (tgeography, tgeography), + -- strictly after + OPERATOR 30 #>> (tgeography, tstzspan), + OPERATOR 30 #>> (tgeography, stbox), + OPERATOR 30 #>> (tgeography, tgeography), + -- overlaps or after + OPERATOR 31 #&> (tgeography, tstzspan), + OPERATOR 31 #&> (tgeography, stbox), + OPERATOR 31 #&> (tgeography, tgeography), + -- functions + FUNCTION 1 stbox_spgist_config(internal, internal), + FUNCTION 2 stbox_quadtree_choose(internal, internal), + FUNCTION 3 stbox_quadtree_picksplit(internal, internal), + FUNCTION 4 stbox_quadtree_inner_consistent(internal, internal), + FUNCTION 5 stbox_spgist_leaf_consistent(internal, internal), + FUNCTION 6 tspatial_spgist_compress(internal); + +/******************************************************************************/ + +CREATE OPERATOR CLASS tgeography_kdtree_ops + FOR TYPE tgeography USING spgist AS + -- overlaps + OPERATOR 3 && (tgeography, tstzspan), + OPERATOR 3 && (tgeography, tgeography), + -- same + OPERATOR 6 ~= (tgeography, tstzspan), + OPERATOR 6 ~= (tgeography, stbox), + OPERATOR 6 ~= (tgeography, tgeography), + -- contains + OPERATOR 7 @> (tgeography, tstzspan), + OPERATOR 7 @> (tgeography, stbox), + OPERATOR 7 @> (tgeography, tgeography), + -- contained by + OPERATOR 8 <@ (tgeography, tstzspan), + OPERATOR 8 <@ (tgeography, stbox), + OPERATOR 8 <@ (tgeography, tgeography), + -- adjacent + OPERATOR 17 -|- (tgeography, tstzspan), + OPERATOR 17 -|- (tgeography, stbox), + OPERATOR 17 -|- (tgeography, tgeography), + -- nearest approach distance + OPERATOR 25 |=| (tgeography, stbox) FOR ORDER BY pg_catalog.float_ops, + OPERATOR 25 |=| (tgeography, tgeography) FOR ORDER BY pg_catalog.float_ops, + -- overlaps or before + OPERATOR 28 &<# (tgeography, tstzspan), + OPERATOR 28 &<# (tgeography, stbox), + OPERATOR 28 &<# (tgeography, tgeography), + -- strictly before + OPERATOR 29 <<# (tgeography, tstzspan), + OPERATOR 29 <<# (tgeography, stbox), + OPERATOR 29 <<# (tgeography, tgeography), + -- strictly after + OPERATOR 30 #>> (tgeography, tstzspan), + OPERATOR 30 #>> (tgeography, stbox), + OPERATOR 30 #>> (tgeography, tgeography), + -- overlaps or after + OPERATOR 31 #&> (tgeography, tstzspan), + OPERATOR 31 #&> (tgeography, stbox), + OPERATOR 31 #&> (tgeography, tgeography), + -- functions + FUNCTION 1 stbox_spgist_config(internal, internal), + FUNCTION 2 stbox_kdtree_choose(internal, internal), + FUNCTION 3 stbox_kdtree_picksplit(internal, internal), + FUNCTION 4 stbox_kdtree_inner_consistent(internal, internal), + FUNCTION 5 stbox_spgist_leaf_consistent(internal, internal), + FUNCTION 6 tspatial_spgist_compress(internal); + +/******************************************************************************/ diff --git a/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/geo/074_tpoint_spgist.in.sql b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/geo/074_tpoint_spgist.in.sql new file mode 100644 index 00000000..980403d7 --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/geo/074_tpoint_spgist.in.sql @@ -0,0 +1,476 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @file + * @brief Quad-tree and k-d tree SP-GiST index for temporal points + */ + +/******************************************************************************/ + +CREATE OPERATOR CLASS stbox_quadtree_ops + DEFAULT FOR TYPE stbox USING spgist AS + -- strictly left + OPERATOR 1 << (stbox, stbox), + OPERATOR 1 << (stbox, tgeompoint), + -- overlaps or left + OPERATOR 2 &< (stbox, stbox), + OPERATOR 2 &< (stbox, tgeompoint), + -- overlaps + OPERATOR 3 && (stbox, stbox), + OPERATOR 3 && (stbox, tgeompoint), + OPERATOR 3 && (stbox, tgeogpoint), + -- overlaps or right + OPERATOR 4 &> (stbox, stbox), + OPERATOR 4 &> (stbox, tgeompoint), + -- strictly right + OPERATOR 5 >> (stbox, stbox), + OPERATOR 5 >> (stbox, tgeompoint), + -- same + OPERATOR 6 ~= (stbox, stbox), + OPERATOR 6 ~= (stbox, tgeompoint), + OPERATOR 6 ~= (stbox, tgeogpoint), + -- contains + OPERATOR 7 @> (stbox, stbox), + OPERATOR 7 @> (stbox, tgeompoint), + OPERATOR 7 @> (stbox, tgeogpoint), + -- contained by + OPERATOR 8 <@ (stbox, stbox), + OPERATOR 8 <@ (stbox, tgeompoint), + OPERATOR 8 <@ (stbox, tgeogpoint), + -- overlaps or below + OPERATOR 9 &<| (stbox, stbox), + OPERATOR 9 &<| (stbox, tgeompoint), + -- strictly below + OPERATOR 10 <<| (stbox, stbox), + OPERATOR 10 <<| (stbox, tgeompoint), + -- strictly above + OPERATOR 11 |>> (stbox, stbox), + OPERATOR 11 |>> (stbox, tgeompoint), + -- overlaps or above + OPERATOR 12 |&> (stbox, stbox), + OPERATOR 12 |&> (stbox, tgeompoint), + -- adjacent + OPERATOR 17 -|- (stbox, stbox), + OPERATOR 17 -|- (stbox, tgeompoint), + OPERATOR 17 -|- (stbox, tgeogpoint), + -- overlaps or before + OPERATOR 28 &<# (stbox, stbox), + OPERATOR 28 &<# (stbox, tgeompoint), + OPERATOR 28 &<# (stbox, tgeogpoint), + -- strictly before + OPERATOR 29 <<# (stbox, stbox), + OPERATOR 29 <<# (stbox, tgeompoint), + OPERATOR 29 <<# (stbox, tgeogpoint), + -- strictly after + OPERATOR 30 #>> (stbox, stbox), + OPERATOR 30 #>> (stbox, tgeompoint), + OPERATOR 30 #>> (stbox, tgeogpoint), + -- overlaps or after + OPERATOR 31 #&> (stbox, stbox), + OPERATOR 31 #&> (stbox, tgeompoint), + OPERATOR 31 #&> (stbox, tgeogpoint), + -- overlaps or front + OPERATOR 32 &> (stbox, stbox), + OPERATOR 34 />> (stbox, tgeompoint), + -- overlaps or back + OPERATOR 35 /&> (stbox, stbox), + OPERATOR 35 /&> (stbox, tgeompoint), + -- functions + FUNCTION 1 stbox_spgist_config(internal, internal), + FUNCTION 2 stbox_quadtree_choose(internal, internal), + FUNCTION 3 stbox_quadtree_picksplit(internal, internal), + FUNCTION 4 stbox_quadtree_inner_consistent(internal, internal), + FUNCTION 5 stbox_spgist_leaf_consistent(internal, internal); + +/*****************************************************************************/ + +CREATE OPERATOR CLASS stbox_kdtree_ops + FOR TYPE stbox USING spgist AS + -- strictly left + OPERATOR 1 << (stbox, stbox), + OPERATOR 1 << (stbox, tgeompoint), + -- overlaps or left + OPERATOR 2 &< (stbox, stbox), + OPERATOR 2 &< (stbox, tgeompoint), + -- overlaps + OPERATOR 3 && (stbox, stbox), + OPERATOR 3 && (stbox, tgeompoint), + OPERATOR 3 && (stbox, tgeogpoint), + -- overlaps or right + OPERATOR 4 &> (stbox, stbox), + OPERATOR 4 &> (stbox, tgeompoint), + -- strictly right + OPERATOR 5 >> (stbox, stbox), + OPERATOR 5 >> (stbox, tgeompoint), + -- same + OPERATOR 6 ~= (stbox, stbox), + OPERATOR 6 ~= (stbox, tgeompoint), + OPERATOR 6 ~= (stbox, tgeogpoint), + -- contains + OPERATOR 7 @> (stbox, stbox), + OPERATOR 7 @> (stbox, tgeompoint), + OPERATOR 7 @> (stbox, tgeogpoint), + -- contained by + OPERATOR 8 <@ (stbox, stbox), + OPERATOR 8 <@ (stbox, tgeompoint), + OPERATOR 8 <@ (stbox, tgeogpoint), + -- overlaps or below + OPERATOR 9 &<| (stbox, stbox), + OPERATOR 9 &<| (stbox, tgeompoint), + -- strictly below + OPERATOR 10 <<| (stbox, stbox), + OPERATOR 10 <<| (stbox, tgeompoint), + -- strictly above + OPERATOR 11 |>> (stbox, stbox), + OPERATOR 11 |>> (stbox, tgeompoint), + -- overlaps or above + OPERATOR 12 |&> (stbox, stbox), + OPERATOR 12 |&> (stbox, tgeompoint), + -- adjacent + OPERATOR 17 -|- (stbox, stbox), + OPERATOR 17 -|- (stbox, tgeompoint), + OPERATOR 17 -|- (stbox, tgeogpoint), + -- overlaps or before + OPERATOR 28 &<# (stbox, stbox), + OPERATOR 28 &<# (stbox, tgeompoint), + OPERATOR 28 &<# (stbox, tgeogpoint), + -- strictly before + OPERATOR 29 <<# (stbox, stbox), + OPERATOR 29 <<# (stbox, tgeompoint), + OPERATOR 29 <<# (stbox, tgeogpoint), + -- strictly after + OPERATOR 30 #>> (stbox, stbox), + OPERATOR 30 #>> (stbox, tgeompoint), + OPERATOR 30 #>> (stbox, tgeogpoint), + -- overlaps or after + OPERATOR 31 #&> (stbox, stbox), + OPERATOR 31 #&> (stbox, tgeompoint), + OPERATOR 31 #&> (stbox, tgeogpoint), + -- overlaps or front + OPERATOR 32 &> (stbox, stbox), + OPERATOR 34 />> (stbox, tgeompoint), + -- overlaps or back + OPERATOR 35 /&> (stbox, stbox), + OPERATOR 35 /&> (stbox, tgeompoint), + -- functions + FUNCTION 1 stbox_spgist_config(internal, internal), + FUNCTION 2 stbox_kdtree_choose(internal, internal), + FUNCTION 3 stbox_kdtree_picksplit(internal, internal), + FUNCTION 4 stbox_kdtree_inner_consistent(internal, internal), + FUNCTION 5 stbox_spgist_leaf_consistent(internal, internal); + +/******************************************************************************/ + +CREATE OPERATOR CLASS tgeompoint_quadtree_ops + DEFAULT FOR TYPE tgeompoint USING spgist AS + -- strictly left + OPERATOR 1 << (tgeompoint, stbox), + OPERATOR 1 << (tgeompoint, tgeompoint), + -- overlaps or left + OPERATOR 2 &< (tgeompoint, stbox), + OPERATOR 2 &< (tgeompoint, tgeompoint), + -- overlaps + OPERATOR 3 && (tgeompoint, tstzspan), + OPERATOR 3 && (tgeompoint, stbox), + OPERATOR 3 && (tgeompoint, tgeompoint), + -- overlaps or right + OPERATOR 4 &> (tgeompoint, stbox), + OPERATOR 4 &> (tgeompoint, tgeompoint), + -- strictly right + OPERATOR 5 >> (tgeompoint, stbox), + OPERATOR 5 >> (tgeompoint, tgeompoint), + -- same + OPERATOR 6 ~= (tgeompoint, tstzspan), + OPERATOR 6 ~= (tgeompoint, stbox), + OPERATOR 6 ~= (tgeompoint, tgeompoint), + -- contains + OPERATOR 7 @> (tgeompoint, tstzspan), + OPERATOR 7 @> (tgeompoint, stbox), + OPERATOR 7 @> (tgeompoint, tgeompoint), + -- contained by + OPERATOR 8 <@ (tgeompoint, tstzspan), + OPERATOR 8 <@ (tgeompoint, stbox), + OPERATOR 8 <@ (tgeompoint, tgeompoint), + -- overlaps or below + OPERATOR 9 &<| (tgeompoint, stbox), + OPERATOR 9 &<| (tgeompoint, tgeompoint), + -- strictly below + OPERATOR 10 <<| (tgeompoint, stbox), + OPERATOR 10 <<| (tgeompoint, tgeompoint), + -- strictly above + OPERATOR 11 |>> (tgeompoint, stbox), + OPERATOR 11 |>> (tgeompoint, tgeompoint), + -- overlaps or above + OPERATOR 12 |&> (tgeompoint, stbox), + OPERATOR 12 |&> (tgeompoint, tgeompoint), + -- adjacent + OPERATOR 17 -|- (tgeompoint, tstzspan), + OPERATOR 17 -|- (tgeompoint, stbox), + OPERATOR 17 -|- (tgeompoint, tgeompoint), + -- nearest approach distance + OPERATOR 25 |=| (tgeompoint, stbox) FOR ORDER BY pg_catalog.float_ops, + OPERATOR 25 |=| (tgeompoint, tgeompoint) FOR ORDER BY pg_catalog.float_ops, + -- overlaps or before + OPERATOR 28 &<# (tgeompoint, tstzspan), + OPERATOR 28 &<# (tgeompoint, stbox), + OPERATOR 28 &<# (tgeompoint, tgeompoint), + -- strictly before + OPERATOR 29 <<# (tgeompoint, tstzspan), + OPERATOR 29 <<# (tgeompoint, stbox), + OPERATOR 29 <<# (tgeompoint, tgeompoint), + -- strictly after + OPERATOR 30 #>> (tgeompoint, tstzspan), + OPERATOR 30 #>> (tgeompoint, stbox), + OPERATOR 30 #>> (tgeompoint, tgeompoint), + -- overlaps or after + OPERATOR 31 #&> (tgeompoint, tstzspan), + OPERATOR 31 #&> (tgeompoint, stbox), + OPERATOR 31 #&> (tgeompoint, tgeompoint), + -- overlaps or front + OPERATOR 32 &> (tgeompoint, stbox), + OPERATOR 34 />> (tgeompoint, tgeompoint), + -- overlaps or back + OPERATOR 35 /&> (tgeompoint, stbox), + OPERATOR 35 /&> (tgeompoint, tgeompoint), + -- functions + FUNCTION 1 stbox_spgist_config(internal, internal), + FUNCTION 2 stbox_quadtree_choose(internal, internal), + FUNCTION 3 stbox_quadtree_picksplit(internal, internal), + FUNCTION 4 stbox_quadtree_inner_consistent(internal, internal), + FUNCTION 5 stbox_spgist_leaf_consistent(internal, internal), + FUNCTION 6 tspatial_spgist_compress(internal); + +/******************************************************************************/ + +CREATE OPERATOR CLASS tgeompoint_kdtree_ops + FOR TYPE tgeompoint USING spgist AS + -- strictly left + OPERATOR 1 << (tgeompoint, stbox), + OPERATOR 1 << (tgeompoint, tgeompoint), + -- overlaps or left + OPERATOR 2 &< (tgeompoint, stbox), + OPERATOR 2 &< (tgeompoint, tgeompoint), + -- overlaps + OPERATOR 3 && (tgeompoint, tstzspan), + OPERATOR 3 && (tgeompoint, stbox), + OPERATOR 3 && (tgeompoint, tgeompoint), + -- overlaps or right + OPERATOR 4 &> (tgeompoint, stbox), + OPERATOR 4 &> (tgeompoint, tgeompoint), + -- strictly right + OPERATOR 5 >> (tgeompoint, stbox), + OPERATOR 5 >> (tgeompoint, tgeompoint), + -- same + OPERATOR 6 ~= (tgeompoint, tstzspan), + OPERATOR 6 ~= (tgeompoint, stbox), + OPERATOR 6 ~= (tgeompoint, tgeompoint), + -- contains + OPERATOR 7 @> (tgeompoint, tstzspan), + OPERATOR 7 @> (tgeompoint, stbox), + OPERATOR 7 @> (tgeompoint, tgeompoint), + -- contained by + OPERATOR 8 <@ (tgeompoint, tstzspan), + OPERATOR 8 <@ (tgeompoint, stbox), + OPERATOR 8 <@ (tgeompoint, tgeompoint), + -- overlaps or below + OPERATOR 9 &<| (tgeompoint, stbox), + OPERATOR 9 &<| (tgeompoint, tgeompoint), + -- strictly below + OPERATOR 10 <<| (tgeompoint, stbox), + OPERATOR 10 <<| (tgeompoint, tgeompoint), + -- strictly above + OPERATOR 11 |>> (tgeompoint, stbox), + OPERATOR 11 |>> (tgeompoint, tgeompoint), + -- overlaps or above + OPERATOR 12 |&> (tgeompoint, stbox), + OPERATOR 12 |&> (tgeompoint, tgeompoint), + -- adjacent + OPERATOR 17 -|- (tgeompoint, tstzspan), + OPERATOR 17 -|- (tgeompoint, stbox), + OPERATOR 17 -|- (tgeompoint, tgeompoint), + -- nearest approach distance + OPERATOR 25 |=| (tgeompoint, stbox) FOR ORDER BY pg_catalog.float_ops, + OPERATOR 25 |=| (tgeompoint, tgeompoint) FOR ORDER BY pg_catalog.float_ops, + -- overlaps or before + OPERATOR 28 &<# (tgeompoint, tstzspan), + OPERATOR 28 &<# (tgeompoint, stbox), + OPERATOR 28 &<# (tgeompoint, tgeompoint), + -- strictly before + OPERATOR 29 <<# (tgeompoint, tstzspan), + OPERATOR 29 <<# (tgeompoint, stbox), + OPERATOR 29 <<# (tgeompoint, tgeompoint), + -- strictly after + OPERATOR 30 #>> (tgeompoint, tstzspan), + OPERATOR 30 #>> (tgeompoint, stbox), + OPERATOR 30 #>> (tgeompoint, tgeompoint), + -- overlaps or after + OPERATOR 31 #&> (tgeompoint, tstzspan), + OPERATOR 31 #&> (tgeompoint, stbox), + OPERATOR 31 #&> (tgeompoint, tgeompoint), + -- overlaps or front + OPERATOR 32 &> (tgeompoint, stbox), + OPERATOR 34 />> (tgeompoint, tgeompoint), + -- overlaps or back + OPERATOR 35 /&> (tgeompoint, stbox), + OPERATOR 35 /&> (tgeompoint, tgeompoint), + -- functions + FUNCTION 1 stbox_spgist_config(internal, internal), + FUNCTION 2 stbox_kdtree_choose(internal, internal), + FUNCTION 3 stbox_kdtree_picksplit(internal, internal), + FUNCTION 4 stbox_kdtree_inner_consistent(internal, internal), + FUNCTION 5 stbox_spgist_leaf_consistent(internal, internal), + FUNCTION 6 tspatial_spgist_compress(internal); + +/******************************************************************************/ + +CREATE OPERATOR CLASS tgeogpoint_quadtree_ops + DEFAULT FOR TYPE tgeogpoint USING spgist AS + -- overlaps + OPERATOR 3 && (tgeogpoint, tstzspan), + OPERATOR 3 && (tgeogpoint, stbox), + OPERATOR 3 && (tgeogpoint, tgeogpoint), + -- same + OPERATOR 6 ~= (tgeogpoint, tstzspan), + OPERATOR 6 ~= (tgeogpoint, stbox), + OPERATOR 6 ~= (tgeogpoint, tgeogpoint), + -- contains + OPERATOR 7 @> (tgeogpoint, tstzspan), + OPERATOR 7 @> (tgeogpoint, stbox), + OPERATOR 7 @> (tgeogpoint, tgeogpoint), + -- contained by + OPERATOR 8 <@ (tgeogpoint, tstzspan), + OPERATOR 8 <@ (tgeogpoint, stbox), + OPERATOR 8 <@ (tgeogpoint, tgeogpoint), + -- adjacent + OPERATOR 17 -|- (tgeogpoint, tstzspan), + OPERATOR 17 -|- (tgeogpoint, stbox), + OPERATOR 17 -|- (tgeogpoint, tgeogpoint), + -- nearest approach distance + OPERATOR 25 |=| (tgeogpoint, stbox) FOR ORDER BY pg_catalog.float_ops, + OPERATOR 25 |=| (tgeogpoint, tgeogpoint) FOR ORDER BY pg_catalog.float_ops, + -- overlaps or before + OPERATOR 28 &<# (tgeogpoint, tstzspan), + OPERATOR 28 &<# (tgeogpoint, stbox), + OPERATOR 28 &<# (tgeogpoint, tgeogpoint), + -- strictly before + OPERATOR 29 <<# (tgeogpoint, tstzspan), + OPERATOR 29 <<# (tgeogpoint, stbox), + OPERATOR 29 <<# (tgeogpoint, tgeogpoint), + -- strictly after + OPERATOR 30 #>> (tgeogpoint, tstzspan), + OPERATOR 30 #>> (tgeogpoint, stbox), + OPERATOR 30 #>> (tgeogpoint, tgeogpoint), + -- overlaps or after + OPERATOR 31 #&> (tgeogpoint, tstzspan), + OPERATOR 31 #&> (tgeogpoint, stbox), + OPERATOR 31 #&> (tgeogpoint, tgeogpoint), + -- functions + FUNCTION 1 stbox_spgist_config(internal, internal), + FUNCTION 2 stbox_quadtree_choose(internal, internal), + FUNCTION 3 stbox_quadtree_picksplit(internal, internal), + FUNCTION 4 stbox_quadtree_inner_consistent(internal, internal), + FUNCTION 5 stbox_spgist_leaf_consistent(internal, internal), + FUNCTION 6 tspatial_spgist_compress(internal); + +/******************************************************************************/ + +CREATE OPERATOR CLASS tgeogpoint_kdtree_ops + FOR TYPE tgeogpoint USING spgist AS + -- overlaps + OPERATOR 3 && (tgeogpoint, tstzspan), + OPERATOR 3 && (tgeogpoint, tgeogpoint), + -- same + OPERATOR 6 ~= (tgeogpoint, tstzspan), + OPERATOR 6 ~= (tgeogpoint, stbox), + OPERATOR 6 ~= (tgeogpoint, tgeogpoint), + -- contains + OPERATOR 7 @> (tgeogpoint, tstzspan), + OPERATOR 7 @> (tgeogpoint, stbox), + OPERATOR 7 @> (tgeogpoint, tgeogpoint), + -- contained by + OPERATOR 8 <@ (tgeogpoint, tstzspan), + OPERATOR 8 <@ (tgeogpoint, stbox), + OPERATOR 8 <@ (tgeogpoint, tgeogpoint), + -- adjacent + OPERATOR 17 -|- (tgeogpoint, tstzspan), + OPERATOR 17 -|- (tgeogpoint, stbox), + OPERATOR 17 -|- (tgeogpoint, tgeogpoint), + -- nearest approach distance + OPERATOR 25 |=| (tgeogpoint, stbox) FOR ORDER BY pg_catalog.float_ops, + OPERATOR 25 |=| (tgeogpoint, tgeogpoint) FOR ORDER BY pg_catalog.float_ops, + -- overlaps or before + OPERATOR 28 &<# (tgeogpoint, tstzspan), + OPERATOR 28 &<# (tgeogpoint, stbox), + OPERATOR 28 &<# (tgeogpoint, tgeogpoint), + -- strictly before + OPERATOR 29 <<# (tgeogpoint, tstzspan), + OPERATOR 29 <<# (tgeogpoint, stbox), + OPERATOR 29 <<# (tgeogpoint, tgeogpoint), + -- strictly after + OPERATOR 30 #>> (tgeogpoint, tstzspan), + OPERATOR 30 #>> (tgeogpoint, stbox), + OPERATOR 30 #>> (tgeogpoint, tgeogpoint), + -- overlaps or after + OPERATOR 31 #&> (tgeogpoint, tstzspan), + OPERATOR 31 #&> (tgeogpoint, stbox), + OPERATOR 31 #&> (tgeogpoint, tgeogpoint), + -- functions + FUNCTION 1 stbox_spgist_config(internal, internal), + FUNCTION 2 stbox_kdtree_choose(internal, internal), + FUNCTION 3 stbox_kdtree_picksplit(internal, internal), + FUNCTION 4 stbox_kdtree_inner_consistent(internal, internal), + FUNCTION 5 stbox_spgist_leaf_consistent(internal, internal), + FUNCTION 6 tspatial_spgist_compress(internal); + +/******************************************************************************/ diff --git a/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/geo/076_tgeo_analytics.in.sql b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/geo/076_tgeo_analytics.in.sql new file mode 100644 index 00000000..b30dc848 --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/geo/076_tgeo_analytics.in.sql @@ -0,0 +1,149 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @file + * @brief Analytic functions for temporal geometries + */ + +/*****************************************************************************/ +-- Affine transforms + +CREATE OR REPLACE FUNCTION affine(tgeometry,float8,float8,float8,float8,float8,float8,float8,float8,float8,float8,float8,float8) +RETURNS tgeometry +AS 'MODULE_PATHNAME', 'Tgeo_affine' +LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OR REPLACE FUNCTION affine(tgeometry,float8,float8,float8,float8,float8,float8) +RETURNS tgeometry +AS 'SELECT @extschema@.affine($1, $2, $3, 0, $4, $5, 0, 0, 0, 1, $6, $7, 0)' +LANGUAGE SQL IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OR REPLACE FUNCTION rotate(tgeometry,float8) +RETURNS tgeometry +AS 'SELECT @extschema@.affine($1, cos($2), -sin($2), 0, sin($2), cos($2), 0, 0, 0, 1, 0, 0, 0)' +LANGUAGE SQL IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OR REPLACE FUNCTION rotate(tgeometry,float8,float8,float8) +RETURNS tgeometry +AS 'SELECT @extschema@.affine($1, cos($2), -sin($2), 0, sin($2), cos($2), 0, 0, 0, 1, $3 - cos($2) * $3 + sin($2) * $4, $4 - sin($2) * $3 - cos($2) * $4, 0)' +LANGUAGE SQL IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OR REPLACE FUNCTION rotate(tgeometry,float8,geometry) +RETURNS tgeometry +AS 'SELECT @extschema@.affine($1, cos($2), -sin($2), 0, sin($2), cos($2), 0, 0, 0, 1, @extschema@.ST_X($3) - cos($2) * @extschema@.ST_X($3) + sin($2) * @extschema@.ST_Y($3), @extschema@.ST_Y($3) - sin($2) * @extschema@.ST_X($3) - cos($2) * @extschema@.ST_Y($3), 0)' +LANGUAGE SQL IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OR REPLACE FUNCTION rotateZ(tgeometry,float8) +RETURNS tgeometry +AS 'SELECT @extschema@.rotate($1, $2)' +LANGUAGE SQL IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OR REPLACE FUNCTION rotateX(tgeometry,float8) +RETURNS tgeometry +AS 'SELECT @extschema@.affine($1, 1, 0, 0, 0, cos($2), -sin($2), 0, sin($2), cos($2), 0, 0, 0)' +LANGUAGE SQL IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OR REPLACE FUNCTION rotateY(tgeometry,float8) +RETURNS tgeometry +AS 'SELECT @extschema@.affine($1, cos($2), 0, sin($2), 0, 1, 0, -sin($2), 0, cos($2), 0, 0, 0)' +LANGUAGE SQL IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OR REPLACE FUNCTION translate(tgeometry,float8,float8,float8) +RETURNS tgeometry +AS 'SELECT @extschema@.affine($1, 1, 0, 0, 0, 1, 0, 0, 0, 1, $2, $3, $4)' +LANGUAGE SQL IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OR REPLACE FUNCTION translate(tgeometry,float8,float8) +RETURNS tgeometry +AS 'SELECT @extschema@.translate($1, $2, $3, 0)' +LANGUAGE SQL IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OR REPLACE FUNCTION transscale(tgeometry,float8,float8,float8,float8) +RETURNS tgeometry +AS 'SELECT @extschema@.affine($1, $4, 0, 0, 0, $5, 0, 0, 0, 1, $2 * $4, $3 * $5, 0)' +LANGUAGE SQL IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OR REPLACE FUNCTION scale(tgeometry,geometry) +RETURNS tgeometry +AS 'MODULE_PATHNAME', 'Tgeo_scale' +LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OR REPLACE FUNCTION scale(tgeometry,geometry,origin geometry) +RETURNS tgeometry +AS 'MODULE_PATHNAME', 'Tgeo_scale' +LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OR REPLACE FUNCTION scale(tgeometry,float8,float8,float8) +RETURNS tgeometry +AS 'SELECT @extschema@.scale($1, @extschema@.ST_MakePoint($2, $3, $4))' +LANGUAGE SQL IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OR REPLACE FUNCTION scale(tgeometry,float8,float8) +RETURNS tgeometry +AS 'SELECT @extschema@.scale($1, $2, $3, 1)' +LANGUAGE SQL IMMUTABLE STRICT PARALLEL SAFE; + +/*****************************************************************************/ + +CREATE FUNCTION minDistSimplify(tgeometry, float) +RETURNS tgeometry +AS 'MODULE_PATHNAME', 'Temporal_simplify_min_dist' +LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION minDistSimplify(tgeography, float) +RETURNS tgeometry +AS 'MODULE_PATHNAME', 'Temporal_simplify_min_dist' +LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION minTimeDeltaSimplify(tgeometry, interval) +RETURNS tgeometry +AS 'MODULE_PATHNAME', 'Temporal_simplify_min_tdelta' +LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION minTimeDeltaSimplify(tgeography, interval) +RETURNS tgeometry +AS 'MODULE_PATHNAME', 'Temporal_simplify_min_tdelta' +LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION maxDistSimplify(tgeometry, float, boolean DEFAULT TRUE) +RETURNS tgeometry +AS 'MODULE_PATHNAME', 'Temporal_simplify_max_dist' +LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION douglasPeuckerSimplify(tgeometry, float, boolean DEFAULT TRUE) +RETURNS tgeometry +AS 'MODULE_PATHNAME', 'Temporal_simplify_dp' +LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +-- CREATE FUNCTION asMVTGeom(tgeo tgeometry, bounds stbox, + -- extent int4 DEFAULT 4096, buffer int4 DEFAULT 256, clip bool DEFAULT TRUE) +-- RETURNS geom_times +-- AS 'MODULE_PATHNAME','Tgeo_AsMVTGeom' +-- LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/*****************************************************************************/ diff --git a/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/geo/076_tpoint_analytics.in.sql b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/geo/076_tpoint_analytics.in.sql new file mode 100644 index 00000000..017b404b --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/geo/076_tpoint_analytics.in.sql @@ -0,0 +1,208 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @file + * @brief Analytic functions for temporal points + */ + +/*****************************************************************************/ +-- There are two versions of the functions since the single-argument version +-- is required for defining the casting + +CREATE FUNCTION geometry(tgeompoint) + RETURNS geometry + AS 'MODULE_PATHNAME', 'Tpoint_to_geomeas' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION geometry(tgeompoint, boolean DEFAULT FALSE) + RETURNS geometry + AS 'MODULE_PATHNAME', 'Tpoint_to_geomeas' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE CAST (tgeompoint AS geometry) WITH FUNCTION geometry(tgeompoint); + +CREATE FUNCTION geography(tgeogpoint) + RETURNS geography + AS 'MODULE_PATHNAME', 'Tpoint_to_geomeas' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION geography(tgeogpoint, boolean DEFAULT FALSE) + RETURNS geography + AS 'MODULE_PATHNAME', 'Tpoint_to_geomeas' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE CAST (tgeogpoint AS geography) WITH FUNCTION geography(tgeogpoint); + +CREATE FUNCTION tgeompoint(geometry) + RETURNS tgeompoint + AS 'MODULE_PATHNAME', 'Geomeas_to_tpoint' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE CAST (geometry AS tgeompoint) WITH FUNCTION tgeompoint(geometry); + +CREATE FUNCTION tgeogpoint(geography) + RETURNS tgeogpoint + AS 'MODULE_PATHNAME', 'Geomeas_to_tpoint' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE CAST (geography AS tgeogpoint) WITH FUNCTION tgeogpoint(geography); + +/*****************************************************************************/ + +CREATE FUNCTION geoMeasure(tgeompoint, tfloat, boolean DEFAULT FALSE) +RETURNS geometry +AS 'MODULE_PATHNAME', 'Tpoint_tfloat_to_geomeas' +LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION geoMeasure(tgeogpoint, tfloat, boolean DEFAULT FALSE) +RETURNS geography +AS 'MODULE_PATHNAME', 'Tpoint_tfloat_to_geomeas' +LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/*****************************************************************************/ +-- Affine transforms + +CREATE OR REPLACE FUNCTION affine(tgeompoint,float8,float8,float8,float8,float8,float8,float8,float8,float8,float8,float8,float8) +RETURNS tgeompoint +AS 'MODULE_PATHNAME', 'Tgeo_affine' +LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OR REPLACE FUNCTION affine(tgeompoint,float8,float8,float8,float8,float8,float8) +RETURNS tgeompoint +AS 'SELECT @extschema@.affine($1, $2, $3, 0, $4, $5, 0, 0, 0, 1, $6, $7, 0)' +LANGUAGE SQL IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OR REPLACE FUNCTION rotate(tgeompoint,float8) +RETURNS tgeompoint +AS 'SELECT @extschema@.affine($1, cos($2), -sin($2), 0, sin($2), cos($2), 0, 0, 0, 1, 0, 0, 0)' +LANGUAGE SQL IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OR REPLACE FUNCTION rotate(tgeompoint,float8,float8,float8) +RETURNS tgeompoint +AS 'SELECT @extschema@.affine($1, cos($2), -sin($2), 0, sin($2), cos($2), 0, 0, 0, 1, $3 - cos($2) * $3 + sin($2) * $4, $4 - sin($2) * $3 - cos($2) * $4, 0)' +LANGUAGE SQL IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OR REPLACE FUNCTION rotate(tgeompoint,float8,geometry) +RETURNS tgeompoint +AS 'SELECT @extschema@.affine($1, cos($2), -sin($2), 0, sin($2), cos($2), 0, 0, 0, 1, @extschema@.ST_X($3) - cos($2) * @extschema@.ST_X($3) + sin($2) * @extschema@.ST_Y($3), @extschema@.ST_Y($3) - sin($2) * @extschema@.ST_X($3) - cos($2) * @extschema@.ST_Y($3), 0)' +LANGUAGE SQL IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OR REPLACE FUNCTION rotateZ(tgeompoint,float8) +RETURNS tgeompoint +AS 'SELECT @extschema@.rotate($1, $2)' +LANGUAGE SQL IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OR REPLACE FUNCTION rotateX(tgeompoint,float8) +RETURNS tgeompoint +AS 'SELECT @extschema@.affine($1, 1, 0, 0, 0, cos($2), -sin($2), 0, sin($2), cos($2), 0, 0, 0)' +LANGUAGE SQL IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OR REPLACE FUNCTION rotateY(tgeompoint,float8) +RETURNS tgeompoint +AS 'SELECT @extschema@.affine($1, cos($2), 0, sin($2), 0, 1, 0, -sin($2), 0, cos($2), 0, 0, 0)' +LANGUAGE SQL IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OR REPLACE FUNCTION translate(tgeompoint,float8,float8,float8) +RETURNS tgeompoint +AS 'SELECT @extschema@.affine($1, 1, 0, 0, 0, 1, 0, 0, 0, 1, $2, $3, $4)' +LANGUAGE SQL IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OR REPLACE FUNCTION translate(tgeompoint,float8,float8) +RETURNS tgeompoint +AS 'SELECT @extschema@.translate($1, $2, $3, 0)' +LANGUAGE SQL IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OR REPLACE FUNCTION transscale(tgeompoint,float8,float8,float8,float8) +RETURNS tgeompoint +AS 'SELECT @extschema@.affine($1, $4, 0, 0, 0, $5, 0, 0, 0, 1, $2 * $4, $3 * $5, 0)' +LANGUAGE SQL IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OR REPLACE FUNCTION scale(tgeompoint,geometry) +RETURNS tgeompoint +AS 'MODULE_PATHNAME', 'Tgeo_scale' +LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OR REPLACE FUNCTION scale(tgeompoint,geometry,origin geometry) +RETURNS tgeompoint +AS 'MODULE_PATHNAME', 'Tgeo_scale' +LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OR REPLACE FUNCTION scale(tgeompoint,float8,float8,float8) +RETURNS tgeompoint +--AS 'SELECT affine($1, $2, 0, 0, 0, $3, 0, 0, 0, $4, 0, 0, 0)' +AS 'SELECT @extschema@.scale($1, @extschema@.ST_MakePoint($2, $3, $4))' +LANGUAGE SQL IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OR REPLACE FUNCTION scale(tgeompoint,float8,float8) +RETURNS tgeompoint +AS 'SELECT @extschema@.scale($1, $2, $3, 1)' +LANGUAGE SQL IMMUTABLE STRICT PARALLEL SAFE; + +/*****************************************************************************/ + +CREATE FUNCTION minDistSimplify(tgeompoint, float) +RETURNS tgeompoint +AS 'MODULE_PATHNAME', 'Temporal_simplify_min_dist' +LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION minDistSimplify(tgeogpoint, float) +RETURNS tgeompoint +AS 'MODULE_PATHNAME', 'Temporal_simplify_min_dist' +LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION minTimeDeltaSimplify(tgeompoint, interval) +RETURNS tgeompoint +AS 'MODULE_PATHNAME', 'Temporal_simplify_min_tdelta' +LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION minTimeDeltaSimplify(tgeogpoint, interval) +RETURNS tgeompoint +AS 'MODULE_PATHNAME', 'Temporal_simplify_min_tdelta' +LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION maxDistSimplify(tgeompoint, float, boolean DEFAULT TRUE) +RETURNS tgeompoint +AS 'MODULE_PATHNAME', 'Temporal_simplify_max_dist' +LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION douglasPeuckerSimplify(tgeompoint, float, boolean DEFAULT TRUE) +RETURNS tgeompoint +AS 'MODULE_PATHNAME', 'Temporal_simplify_dp' +LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE TYPE geom_times AS ( + geom geometry, + times bigint[] +); + +CREATE FUNCTION asMVTGeom(tpoint tgeompoint, bounds stbox, + extent int4 DEFAULT 4096, buffer int4 DEFAULT 256, clip bool DEFAULT TRUE) +-- RETURNS tgeompoint +RETURNS geom_times +AS 'MODULE_PATHNAME','Tpoint_AsMVTGeom' +LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/*****************************************************************************/ diff --git a/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/geo/078_tpoint_datagen.in.sql b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/geo/078_tpoint_datagen.in.sql new file mode 100644 index 00000000..2284e6d1 --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/geo/078_tpoint_datagen.in.sql @@ -0,0 +1,40 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @file + * @brief Data generator for MobilityDB + */ + +CREATE FUNCTION create_trip(record[], timestamptz, boolean, text) + RETURNS tgeompoint + AS 'MODULE_PATHNAME', 'Create_trip' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/*****************************************************************************/ diff --git a/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/geo/CMakeLists.txt b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/geo/CMakeLists.txt new file mode 100644 index 00000000..1fc2fc24 --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/geo/CMakeLists.txt @@ -0,0 +1,47 @@ +SET(LOCAL_FILES + 050_geoset + 051_stbox + 052_tpoint + 053_tpoint_inout + 054_tpoint_compops + 056_tpoint_spatialfuncs + 058_tpoint_tile + 060_tpoint_boxops + 062_tpoint_posops + 064_tpoint_distance + 066_tpoint_similarity + 068_tpoint_aggfuncs + 070_tpoint_spatialrels + 072_tpoint_tempspatialrels + 073_tpoint_gist + 074_tpoint_spgist + 076_tpoint_analytics + 078_tpoint_datagen + ) + +# Files added for temporal geometries +# TODO These files should be added to the list above +list(APPEND LOCAL_FILES + 052_tgeo + 053_tgeo_inout + 054_tgeo_compops + 056_tgeo_spatialfuncs + 058_tgeo_tile + 060_tgeo_boxops + 062_tgeo_posops + 064_tgeo_distance + 068_tgeo_aggfuncs + 070_tgeo_spatialrels + 072_tgeo_tempspatialrels + 073_tgeo_gist + 074_tgeo_spgist + 076_tgeo_analytics + ) + +foreach (f ${LOCAL_FILES}) + process_file(${f} ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR}) + configure_file(${CMAKE_CURRENT_BINARY_DIR}/${f}.sql.in ${CMAKE_BINARY_DIR}/MobilityDB/sql/${f}.sql @ONLY) + list(APPEND PACKAGE_SQL_FILES ${CMAKE_BINARY_DIR}/MobilityDB/sql/${f}.sql) +endforeach() + +set(PROJECT_SQL_FILES ${PROJECT_SQL_FILES} ${PACKAGE_SQL_FILES} PARENT_SCOPE) diff --git a/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/mobilitydb.in.control b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/mobilitydb.in.control new file mode 100644 index 00000000..2841a477 --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/mobilitydb.in.control @@ -0,0 +1,5 @@ +comment = 'MobilityDB geospatial trajectory data management & analysis platform' +default_version = '${MOBILITYDB_VERSION}' +module_pathname = '${MOBILITYDB_MODULE_PATHNAME}' +relocatable = false +requires = 'postgis' diff --git a/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/npoint/081_npoint.in.sql b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/npoint/081_npoint.in.sql new file mode 100644 index 00000000..3c1aadb5 --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/npoint/081_npoint.in.sql @@ -0,0 +1,424 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @file + * @brief Network-based static point and segment types + */ + +CREATE TYPE npoint; +CREATE TYPE nsegment; + +/****************************************************************************** + * Input/Output + ******************************************************************************/ + +CREATE FUNCTION npoint_in(cstring) + RETURNS npoint + AS 'MODULE_PATHNAME', 'Npoint_in' + LANGUAGE C IMMUTABLE STRICT; + +CREATE FUNCTION npoint_out(npoint) + RETURNS cstring + AS 'MODULE_PATHNAME', 'Npoint_out' + LANGUAGE C IMMUTABLE STRICT; + +CREATE FUNCTION npoint_recv(internal) + RETURNS npoint + AS 'MODULE_PATHNAME', 'Npoint_recv' + LANGUAGE C IMMUTABLE STRICT; + +CREATE FUNCTION npoint_send(npoint) + RETURNS bytea + AS 'MODULE_PATHNAME', 'Npoint_send' + LANGUAGE C IMMUTABLE STRICT; + +CREATE TYPE npoint ( + internallength = 16, + input = npoint_in, + output = npoint_out, + receive = npoint_recv, + send = npoint_send, + alignment = double +); + +CREATE FUNCTION nsegment_in(cstring) + RETURNS nsegment + AS 'MODULE_PATHNAME', 'Nsegment_in' + LANGUAGE C IMMUTABLE STRICT; + +CREATE FUNCTION nsegment_out(nsegment) + RETURNS cstring + AS 'MODULE_PATHNAME', 'Nsegment_out' + LANGUAGE C IMMUTABLE STRICT; + +CREATE FUNCTION nsegment_recv(internal) + RETURNS nsegment + AS 'MODULE_PATHNAME', 'Nsegment_recv' + LANGUAGE C IMMUTABLE STRICT; + +CREATE FUNCTION nsegment_send(nsegment) + RETURNS bytea + AS 'MODULE_PATHNAME', 'Nsegment_send' + LANGUAGE C IMMUTABLE STRICT; + +CREATE TYPE nsegment ( + internallength = 24, + input = nsegment_in, + output = nsegment_out, + receive = nsegment_recv, + send = nsegment_send, + alignment = double +); + +/***************************************************************************** + * Input/output from (E)WKT, (E)WKB and HexEWKB representation + *****************************************************************************/ + +CREATE FUNCTION npointFromText(text) + RETURNS npoint + AS 'MODULE_PATHNAME', 'Npoint_from_ewkt' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION npointFromEWKT(text) + RETURNS npoint + AS 'MODULE_PATHNAME', 'Npoint_from_ewkt' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION npointFromBinary(bytea) + RETURNS npoint + AS 'MODULE_PATHNAME', 'Npoint_from_wkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION npointFromEWKB(bytea) + RETURNS npoint + AS 'MODULE_PATHNAME', 'Npoint_from_wkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION npointFromHexEWKB(text) + RETURNS npoint + AS 'MODULE_PATHNAME', 'Npoint_from_hexwkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/*****************************************************************************/ + +CREATE FUNCTION asText(npoint, maxdecimaldigits int4 DEFAULT 15) + RETURNS text + AS 'MODULE_PATHNAME', 'Npoint_as_text' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION asText(npoint[], maxdecimaldigits int4 DEFAULT 15) + RETURNS text[] + AS 'MODULE_PATHNAME', 'Spatialarr_as_text' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION asEWKT(npoint, maxdecimaldigits int4 DEFAULT 15) + RETURNS text + AS 'MODULE_PATHNAME', 'Npoint_as_ewkt' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION asEWKT(npoint[], maxdecimaldigits int4 DEFAULT 15) + RETURNS text[] + AS 'MODULE_PATHNAME', 'Spatialarr_as_ewkt' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION asBinary(npoint, endianenconding text DEFAULT '') + RETURNS bytea + AS 'MODULE_PATHNAME', 'Npoint_as_wkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION asEWKB(npoint, endianenconding text DEFAULT '') + RETURNS bytea + AS 'MODULE_PATHNAME', 'Npoint_as_ewkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION asHexEWKB(npoint, endianenconding text DEFAULT '') + RETURNS text + AS 'MODULE_PATHNAME', 'Npoint_as_hexwkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/****************************************************************************** + * Constructors + ******************************************************************************/ + +CREATE FUNCTION npoint(bigint, double precision) + RETURNS npoint + AS 'MODULE_PATHNAME', 'Npoint_constructor' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION nsegment(bigint, double precision DEFAULT 0, double precision DEFAULT 1) + RETURNS nsegment + AS 'MODULE_PATHNAME', 'Nsegment_constructor' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION nsegment(npoint) + RETURNS nsegment + AS 'MODULE_PATHNAME', 'Npoint_to_nsegment' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE CAST (npoint AS nsegment) WITH FUNCTION nsegment(npoint); + +/***************************************************************************** + * Conversion between network and space + *****************************************************************************/ + +CREATE FUNCTION geometry(npoint) + RETURNS geometry + AS 'MODULE_PATHNAME', 'Npoint_to_geompoint' + LANGUAGE C IMMUTABLE STRICT; + +CREATE FUNCTION npoint(geometry) + RETURNS npoint + AS 'MODULE_PATHNAME', 'Geompoint_to_npoint' + LANGUAGE C IMMUTABLE STRICT; + +CREATE CAST (npoint AS geometry) WITH FUNCTION geometry(npoint); +CREATE CAST (geometry AS npoint) WITH FUNCTION npoint(geometry); + +CREATE FUNCTION geometry(nsegment) + RETURNS geometry + AS 'MODULE_PATHNAME', 'Nsegment_to_geom' + LANGUAGE C IMMUTABLE STRICT; +CREATE FUNCTION nsegment(geometry) + RETURNS nsegment + AS 'MODULE_PATHNAME', 'Geom_to_nsegment' + LANGUAGE C IMMUTABLE STRICT; + +CREATE CAST (nsegment AS geometry) WITH FUNCTION geometry(nsegment); +CREATE CAST (geometry AS nsegment) WITH FUNCTION nsegment(geometry); + +/***************************************************************************** + * Accessors + *****************************************************************************/ + +CREATE FUNCTION route(npoint) + RETURNS bigint + AS 'MODULE_PATHNAME', 'Npoint_route' + LANGUAGE C IMMUTABLE STRICT; + +-- position is a reserved word in SQL +CREATE FUNCTION getPosition(npoint) + RETURNS double precision + AS 'MODULE_PATHNAME', 'Npoint_position' + LANGUAGE C IMMUTABLE STRICT; + +CREATE FUNCTION srid(npoint) + RETURNS integer + AS 'MODULE_PATHNAME', 'Npoint_srid' + LANGUAGE C IMMUTABLE STRICT; + +CREATE FUNCTION route(nsegment) + RETURNS bigint + AS 'MODULE_PATHNAME', 'Nsegment_route' + LANGUAGE C IMMUTABLE STRICT; + +CREATE FUNCTION startPosition(nsegment) + RETURNS double precision + AS 'MODULE_PATHNAME', 'Nsegment_start_position' + LANGUAGE C IMMUTABLE STRICT; + +CREATE FUNCTION endPosition(nsegment) + RETURNS double precision + AS 'MODULE_PATHNAME', 'Nsegment_end_position' + LANGUAGE C IMMUTABLE STRICT; + +CREATE FUNCTION srid(nsegment) + RETURNS integer + AS 'MODULE_PATHNAME', 'Nsegment_srid' + LANGUAGE C IMMUTABLE STRICT; + +/***************************************************************************** + * Modification functions + *****************************************************************************/ + +CREATE FUNCTION round(npoint, integer DEFAULT 0) + RETURNS npoint + AS 'MODULE_PATHNAME', 'Npoint_round' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION round(nsegment, integer DEFAULT 0) + RETURNS nsegment + AS 'MODULE_PATHNAME', 'Nsegment_round' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/****************************************************************************** + * Comparisons + ******************************************************************************/ + +CREATE FUNCTION npoint_eq(npoint, npoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Npoint_eq' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION npoint_ne(npoint, npoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Npoint_ne' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION npoint_lt(npoint, npoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Npoint_lt' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION npoint_le(npoint, npoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Npoint_le' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION npoint_ge(npoint, npoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Npoint_ge' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION npoint_gt(npoint, npoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Npoint_gt' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION npoint_cmp(npoint, npoint) + RETURNS int4 + AS 'MODULE_PATHNAME', 'Npoint_cmp' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR = ( + PROCEDURE = npoint_eq, + LEFTARG = npoint, RIGHTARG = npoint, + COMMUTATOR = =, NEGATOR = <>, + RESTRICT = eqsel, JOIN = eqjoinsel +); +CREATE OPERATOR <> ( + PROCEDURE = npoint_ne, + LEFTARG = npoint, RIGHTARG = npoint, + COMMUTATOR = <>, NEGATOR = =, + RESTRICT = neqsel, JOIN = neqjoinsel +); +CREATE OPERATOR < ( + PROCEDURE = npoint_lt, + LEFTARG = npoint, RIGHTARG = npoint, + COMMUTATOR = >, NEGATOR = >=, + RESTRICT = scalarltsel, JOIN = scalarltjoinsel +); +CREATE OPERATOR <= ( + PROCEDURE = npoint_le, + LEFTARG = npoint, RIGHTARG = npoint, + COMMUTATOR = >=, NEGATOR = >, + RESTRICT = scalarlesel, JOIN = scalarlejoinsel +); +CREATE OPERATOR >= ( + PROCEDURE = npoint_ge, + LEFTARG = npoint, RIGHTARG = npoint, + COMMUTATOR = <=, NEGATOR = <, + RESTRICT = scalargesel, JOIN = scalargejoinsel +); +CREATE OPERATOR > ( + PROCEDURE = npoint_gt, + LEFTARG = npoint, RIGHTARG = npoint, + COMMUTATOR = <, NEGATOR = <=, + RESTRICT = scalargtsel, JOIN = scalargtjoinsel +); + +CREATE OPERATOR CLASS npoint_btree_ops + DEFAULT FOR TYPE npoint USING btree AS + OPERATOR 1 < , + OPERATOR 2 <= , + OPERATOR 3 = , + OPERATOR 4 >= , + OPERATOR 5 > , + FUNCTION 1 npoint_cmp(npoint, npoint); + +/******************************************************************************/ + +CREATE FUNCTION nsegment_eq(nsegment, nsegment) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Nsegment_eq' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION nsegment_ne(nsegment, nsegment) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Nsegment_ne' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION nsegment_lt(nsegment, nsegment) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Nsegment_lt' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION nsegment_le(nsegment, nsegment) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Nsegment_le' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION nsegment_ge(nsegment, nsegment) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Nsegment_ge' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION nsegment_gt(nsegment, nsegment) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Nsegment_gt' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION nsegment_cmp(nsegment, nsegment) + RETURNS int4 + AS 'MODULE_PATHNAME', 'Nsegment_cmp' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR = ( + PROCEDURE = nsegment_eq, + LEFTARG = nsegment, RIGHTARG = nsegment, + COMMUTATOR = =, NEGATOR = <>, + RESTRICT = eqsel, JOIN = eqjoinsel +); +CREATE OPERATOR <> ( + PROCEDURE = nsegment_ne, + LEFTARG = nsegment, RIGHTARG = nsegment, + COMMUTATOR = <>, NEGATOR = =, + RESTRICT = neqsel, JOIN = neqjoinsel +); +CREATE OPERATOR < ( + PROCEDURE = nsegment_lt, + LEFTARG = nsegment, RIGHTARG = nsegment, + COMMUTATOR = >, NEGATOR = >=, + RESTRICT = scalarltsel, JOIN = scalarltjoinsel +); +CREATE OPERATOR <= ( + PROCEDURE = nsegment_le, + LEFTARG = nsegment, RIGHTARG = nsegment, + COMMUTATOR = >=, NEGATOR = >, + RESTRICT = scalarlesel, JOIN = scalarlejoinsel +); +CREATE OPERATOR >= ( + PROCEDURE = nsegment_ge, + LEFTARG = nsegment, RIGHTARG = nsegment, + COMMUTATOR = <=, NEGATOR = <, + RESTRICT = scalargesel, JOIN = scalargejoinsel +); +CREATE OPERATOR > ( + PROCEDURE = nsegment_gt, + LEFTARG = nsegment, RIGHTARG = nsegment, + COMMUTATOR = <, NEGATOR = <=, + RESTRICT = scalargtsel, JOIN = scalargtjoinsel +); + +CREATE OPERATOR CLASS nsegment_btree_ops + DEFAULT FOR TYPE nsegment USING btree AS + OPERATOR 1 < , + OPERATOR 2 <= , + OPERATOR 3 = , + OPERATOR 4 >= , + OPERATOR 5 > , + FUNCTION 1 nsegment_cmp(nsegment, nsegment); + +/******************************************************************************/ diff --git a/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/npoint/082_npointset.in.sql b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/npoint/082_npointset.in.sql new file mode 100644 index 00000000..4d11ece2 --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/npoint/082_npointset.in.sql @@ -0,0 +1,507 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @file + * @brief Functions for set of network point values + */ + +/****************************************************************************** + * Input/Output + ******************************************************************************/ + +CREATE TYPE npointset; + +CREATE FUNCTION npointset_in(cstring) + RETURNS npointset + AS 'MODULE_PATHNAME', 'Set_in' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION npointset_out(npointset) + RETURNS cstring + AS 'MODULE_PATHNAME', 'Set_out' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION npointset_recv(internal) + RETURNS npointset + AS 'MODULE_PATHNAME', 'Set_recv' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION npointset_send(npointset) + RETURNS bytea + AS 'MODULE_PATHNAME', 'Set_send' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE TYPE npointset ( + internallength = variable, + input = npointset_in, + output = npointset_out, + receive = npointset_recv, + send = npointset_send, + alignment = double, + storage = extended + -- , analyze = geoset_analyze +); + +/******************************************************************************/ + +-- Input/output in WKT, WKB, and HexWKB representation + +CREATE FUNCTION npointsetFromText(text) + RETURNS npointset + AS 'MODULE_PATHNAME', 'Spatialset_from_ewkt' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION npointsetFromEWKT(text) + RETURNS npointset + AS 'MODULE_PATHNAME', 'Spatialset_from_ewkt' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION npointsetFromBinary(bytea) + RETURNS npointset + AS 'MODULE_PATHNAME', 'Set_from_wkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION npointsetFromEWKB(bytea) + RETURNS npointset + AS 'MODULE_PATHNAME', 'Set_from_wkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION npointsetFromHexWKB(text) + RETURNS npointset + AS 'MODULE_PATHNAME', 'Set_from_hexwkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION asText(npointset, maxdecimaldigits int4 DEFAULT 15) + RETURNS text + AS 'MODULE_PATHNAME', 'Set_as_text' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION asEWKT(npointset, maxdecimaldigits int4 DEFAULT 15) + RETURNS text + AS 'MODULE_PATHNAME', 'Spatialset_as_ewkt' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION asBinary(npointset, endianenconding text DEFAULT '') + RETURNS bytea + AS 'MODULE_PATHNAME', 'Set_as_wkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION asEWKB(npointset, endianenconding text DEFAULT '') + RETURNS bytea + AS 'MODULE_PATHNAME', 'Spatialset_as_ewkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION asHexWKB(npointset, endianenconding text DEFAULT '') + RETURNS text + AS 'MODULE_PATHNAME', 'Set_as_hexwkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/****************************************************************************** + * Constructor + ******************************************************************************/ + +CREATE FUNCTION set(npoint[]) + RETURNS npointset + AS 'MODULE_PATHNAME', 'Set_constructor' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/****************************************************************************** + * Conversions + ******************************************************************************/ + +CREATE FUNCTION set(npoint) + RETURNS npointset + AS 'MODULE_PATHNAME', 'Value_to_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION stbox(npointset) + RETURNS stbox + AS 'MODULE_PATHNAME', 'Spatialset_to_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE CAST (npoint AS npointset) WITH FUNCTION set(npoint); +CREATE CAST (npointset AS stbox) WITH FUNCTION stbox(npointset); + +/***************************************************************************** + * Transformation functions + *****************************************************************************/ + +CREATE FUNCTION round(npointset, integer DEFAULT 0) + RETURNS npointset + AS 'MODULE_PATHNAME', 'Set_round' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/****************************************************************************** + * Accessor functions + ******************************************************************************/ + +CREATE FUNCTION memSize(npointset) + RETURNS integer + AS 'MODULE_PATHNAME', 'Set_mem_size' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION numValues(npointset) + RETURNS integer + AS 'MODULE_PATHNAME', 'Set_num_values' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION startValue(npointset) + RETURNS npoint + AS 'MODULE_PATHNAME', 'Set_start_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION endValue(npointset) + RETURNS npoint + AS 'MODULE_PATHNAME', 'Set_end_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION valueN(npointset, integer) + RETURNS npoint + AS 'MODULE_PATHNAME', 'Set_value_n' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION getValues(npointset) + RETURNS npoint[] + AS 'MODULE_PATHNAME', 'Set_values' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION routes(npointset) + RETURNS bigintset + AS 'MODULE_PATHNAME', 'Npointset_routes' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/****************************************************************************** + * Transformation set of values <-> set + ******************************************************************************/ + +CREATE FUNCTION unnest(npointset) + RETURNS SETOF npoint + AS 'MODULE_PATHNAME', 'Set_unnest' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/*****************************************************************************/ + +-- The function is not STRICT +CREATE FUNCTION set_union_transfn(internal, npoint) + RETURNS internal + AS 'MODULE_PATHNAME', 'Value_union_transfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION set_union_transfn(internal, npointset) + RETURNS internal + AS 'MODULE_PATHNAME', 'Set_union_transfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION npointset_union_finalfn(internal) + RETURNS npointset + AS 'MODULE_PATHNAME', 'Set_union_finalfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; + +CREATE AGGREGATE setUnion(npoint) ( + SFUNC = set_union_transfn, + STYPE = internal, + FINALFUNC = npointset_union_finalfn +); +CREATE AGGREGATE setUnion(npointset) ( + SFUNC = set_union_transfn, + STYPE = internal, + FINALFUNC = npointset_union_finalfn +); + +/****************************************************************************** + * Comparison functions and B-tree indexing + ******************************************************************************/ + +CREATE FUNCTION set_eq(npointset, npointset) + RETURNS bool + AS 'MODULE_PATHNAME', 'Set_eq' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_ne(npointset, npointset) + RETURNS bool + AS 'MODULE_PATHNAME', 'Set_ne' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_lt(npointset, npointset) + RETURNS bool + AS 'MODULE_PATHNAME', 'Set_lt' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_le(npointset, npointset) + RETURNS bool + AS 'MODULE_PATHNAME', 'Set_le' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_ge(npointset, npointset) + RETURNS bool + AS 'MODULE_PATHNAME', 'Set_ge' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_gt(npointset, npointset) + RETURNS bool + AS 'MODULE_PATHNAME', 'Set_gt' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_cmp(npointset, npointset) + RETURNS integer + AS 'MODULE_PATHNAME', 'Set_cmp' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR = ( + LEFTARG = npointset, RIGHTARG = npointset, + PROCEDURE = set_eq, + COMMUTATOR = =, NEGATOR = <>, + RESTRICT = eqsel, JOIN = eqjoinsel +); +CREATE OPERATOR <> ( + LEFTARG = npointset, RIGHTARG = npointset, + PROCEDURE = set_ne, + COMMUTATOR = <>, NEGATOR = =, + RESTRICT = neqsel, JOIN = neqjoinsel +); +CREATE OPERATOR < ( + LEFTARG = npointset, RIGHTARG = npointset, + PROCEDURE = set_lt, + COMMUTATOR = >, NEGATOR = >= + -- RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR <= ( + LEFTARG = npointset, RIGHTARG = npointset, + PROCEDURE = set_le, + COMMUTATOR = >=, NEGATOR = > + -- RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR >= ( + LEFTARG = npointset, RIGHTARG = npointset, + PROCEDURE = set_ge, + COMMUTATOR = <=, NEGATOR = < + -- RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR > ( + LEFTARG = npointset, RIGHTARG = npointset, + PROCEDURE = set_gt, + COMMUTATOR = <, NEGATOR = <= + -- RESTRICT = span_sel, JOIN = span_joinsel +); + +CREATE OPERATOR CLASS npointset_btree_ops + DEFAULT FOR TYPE npointset USING btree AS + OPERATOR 1 <, + OPERATOR 2 <=, + OPERATOR 3 =, + OPERATOR 4 >=, + OPERATOR 5 >, + FUNCTION 1 set_cmp(npointset, npointset); + +/******************************************************************************/ + +CREATE FUNCTION set_hash(npointset) + RETURNS integer + AS 'MODULE_PATHNAME', 'Set_hash' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_hash_extended(npointset, bigint) + RETURNS bigint + AS 'MODULE_PATHNAME', 'Set_hash_extended' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR CLASS npointset_hash_ops + DEFAULT FOR TYPE npointset USING hash AS + OPERATOR 1 = , + FUNCTION 1 set_hash(npointset), + FUNCTION 2 set_hash_extended(npointset, bigint); + +/****************************************************************************** + * Operators + ******************************************************************************/ + +CREATE FUNCTION set_contains(npointset, npoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contains_set_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_contains(npointset, npointset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contains_set_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR @> ( + PROCEDURE = set_contains, + LEFTARG = npointset, RIGHTARG = npoint, + COMMUTATOR = <@ + -- RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR @> ( + PROCEDURE = set_contains, + LEFTARG = npointset, RIGHTARG = npointset, + COMMUTATOR = <@ + -- RESTRICT = span_sel, JOIN = span_joinsel +); + +/******************************************************************************/ + +CREATE FUNCTION set_contained(npoint, npointset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contained_value_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_contained(npointset, npointset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contained_set_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR <@ ( + PROCEDURE = set_contained, + LEFTARG = npoint, RIGHTARG = npointset, + COMMUTATOR = @> + -- RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR <@ ( + PROCEDURE = set_contained, + LEFTARG = npointset, RIGHTARG = npointset, + COMMUTATOR = @> + -- RESTRICT = span_sel, JOIN = span_joinsel +); + +/******************************************************************************/ + +CREATE FUNCTION set_overlaps(npointset, npointset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overlaps_set_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR && ( + PROCEDURE = set_overlaps, + LEFTARG = npointset, RIGHTARG = npointset, + COMMUTATOR = && + -- RESTRICT = span_sel, JOIN = span_joinsel +); + +/*****************************************************************************/ + +CREATE FUNCTION set_union(npoint, npointset) + RETURNS npointset + AS 'MODULE_PATHNAME', 'Union_value_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_union(npointset, npoint) + RETURNS npointset + AS 'MODULE_PATHNAME', 'Union_set_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_union(npointset, npointset) + RETURNS npointset + AS 'MODULE_PATHNAME', 'Union_set_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR + ( + PROCEDURE = set_union, + LEFTARG = npoint, RIGHTARG = npointset, + COMMUTATOR = + +); +CREATE OPERATOR + ( + PROCEDURE = set_union, + LEFTARG = npointset, RIGHTARG = npoint, + COMMUTATOR = + +); +CREATE OPERATOR + ( + PROCEDURE = set_union, + LEFTARG = npointset, RIGHTARG = npointset, + COMMUTATOR = + +); + +/*****************************************************************************/ + +CREATE FUNCTION set_minus(npoint, npointset) + RETURNS npoint + AS 'MODULE_PATHNAME', 'Minus_value_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_minus(npointset, npoint) + RETURNS npointset + AS 'MODULE_PATHNAME', 'Minus_set_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_minus(npointset, npointset) + RETURNS npointset + AS 'MODULE_PATHNAME', 'Minus_set_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR - ( + PROCEDURE = set_minus, + LEFTARG = npoint, RIGHTARG = npointset +); +CREATE OPERATOR - ( + PROCEDURE = set_minus, + LEFTARG = npointset, RIGHTARG = npoint +); +CREATE OPERATOR - ( + PROCEDURE = set_minus, + LEFTARG = npointset, RIGHTARG = npointset +); + +/*****************************************************************************/ + +CREATE FUNCTION set_intersection(npoint, npointset) + RETURNS npoint + AS 'MODULE_PATHNAME', 'Intersection_value_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_intersection(npointset, npoint) + RETURNS npoint + AS 'MODULE_PATHNAME', 'Intersection_set_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_intersection(npointset, npointset) + RETURNS npointset + AS 'MODULE_PATHNAME', 'Intersection_set_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR * ( + PROCEDURE = set_intersection, + LEFTARG = npoint, RIGHTARG = npointset, + COMMUTATOR = * +); +CREATE OPERATOR * ( + PROCEDURE = set_intersection, + LEFTARG = npointset, RIGHTARG = npoint, + COMMUTATOR = * +); +CREATE OPERATOR * ( + PROCEDURE = set_intersection, + LEFTARG = npointset, RIGHTARG = npointset, + COMMUTATOR = * +); + +/*****************************************************************************/ + +CREATE FUNCTION set_distance(npoint, npointset) + RETURNS float + AS 'MODULE_PATHNAME', 'Distance_value_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_distance(npointset, npoint) + RETURNS float + AS 'MODULE_PATHNAME', 'Distance_set_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_distance(npointset, npointset) + RETURNS float + AS 'MODULE_PATHNAME', 'Distance_set_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR <-> ( + PROCEDURE = set_distance, + LEFTARG = npoint, RIGHTARG = npointset, + COMMUTATOR = <-> +); +CREATE OPERATOR <-> ( + PROCEDURE = set_distance, + LEFTARG = npointset, RIGHTARG = npoint, + COMMUTATOR = <-> +); +CREATE OPERATOR <-> ( + PROCEDURE = set_distance, + LEFTARG = npointset, RIGHTARG = npointset, + COMMUTATOR = <-> +); + +/*****************************************************************************/ diff --git a/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/npoint/083_tnpoint.in.sql b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/npoint/083_tnpoint.in.sql new file mode 100644 index 00000000..efea630c --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/npoint/083_tnpoint.in.sql @@ -0,0 +1,664 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @file + * @brief Basic functions for temporal network points + */ + +CREATE TYPE tnpoint; + +/****************************************************************************** + * Input/Output + ******************************************************************************/ + +CREATE FUNCTION tnpoint_in(cstring, oid, integer) + RETURNS tnpoint + AS 'MODULE_PATHNAME', 'Tnpoint_in' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION Temporal_out(tnpoint) + RETURNS cstring + AS 'MODULE_PATHNAME', 'Temporal_out' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tnpoint_recv(internal, oid, integer) + RETURNS tnpoint + AS 'MODULE_PATHNAME', 'Temporal_recv' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_send(tnpoint) + RETURNS bytea + AS 'MODULE_PATHNAME', 'Temporal_send' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE TYPE tnpoint ( + internallength = variable, + input = tnpoint_in, + output = temporal_out, + receive = tnpoint_recv, + send = temporal_send, + typmod_in = temporal_typmod_in, + typmod_out = temporal_typmod_out, + storage = extended, + alignment = double, + analyze = tspatial_analyze +); + +-- Special cast for enforcing the typmod restrictions +CREATE FUNCTION tnpoint(tnpoint, integer) + RETURNS tnpoint + AS 'MODULE_PATHNAME','Temporal_enforce_typmod' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE CAST (tnpoint AS tnpoint) WITH FUNCTION tnpoint(tnpoint, integer) AS IMPLICIT; + +/***************************************************************************** + * Input/output from (E)WKT, (E)WKB, and HexEWKB + *****************************************************************************/ + +CREATE FUNCTION tnpointFromBinary(bytea) + RETURNS tnpoint + AS 'MODULE_PATHNAME', 'Temporal_from_wkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tnpointFromHexWKB(text) + RETURNS tnpoint + AS 'MODULE_PATHNAME', 'Temporal_from_hexwkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/*****************************************************************************/ + +CREATE FUNCTION asText(tnpoint, maxdecimaldigits int4 DEFAULT 15) + RETURNS text + AS 'MODULE_PATHNAME', 'Tspatial_as_text' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION asText(tnpoint[], maxdecimaldigits int4 DEFAULT 15) + RETURNS text[] + AS 'MODULE_PATHNAME', 'Spatialarr_as_text' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION asBinary(tnpoint, endianenconding text DEFAULT '') + RETURNS bytea + AS 'MODULE_PATHNAME', 'Temporal_as_wkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION asHexWKB(tnpoint, endianenconding text DEFAULT '') + RETURNS text + AS 'MODULE_PATHNAME', 'Temporal_as_hexwkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/****************************************************************************** + * Constructors + ******************************************************************************/ + +CREATE FUNCTION tnpoint(npoint, timestamptz) + RETURNS tnpoint + AS 'MODULE_PATHNAME', 'Tinstant_constructor' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tnpoint(npoint, tstzset) + RETURNS tnpoint + AS 'MODULE_PATHNAME', 'Tsequence_from_base_tstzset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tnpoint(npoint, tstzspan, text DEFAULT 'linear') + RETURNS tnpoint + AS 'MODULE_PATHNAME', 'Tsequence_from_base_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tnpoint(npoint, tstzspanset, text DEFAULT 'linear') + RETURNS tnpoint + AS 'MODULE_PATHNAME', 'Tsequenceset_from_base_tstzspanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/******************************************************************************/ + +CREATE FUNCTION tnpointSeq(tnpoint[], text DEFAULT 'linear', + lower_inc boolean DEFAULT true, upper_inc boolean DEFAULT true) + RETURNS tnpoint + AS 'MODULE_PATHNAME', 'Tsequence_constructor' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tnpointSeqSet(tnpoint[]) + RETURNS tnpoint + AS 'MODULE_PATHNAME', 'Tsequenceset_constructor' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +-- The function is not strict +CREATE FUNCTION tnpointSeqSetGaps(tnpoint[], maxt interval DEFAULT NULL, + maxdist float DEFAULT NULL, text DEFAULT 'linear') + RETURNS tnpoint + AS 'MODULE_PATHNAME', 'Tsequenceset_constructor_gaps' + LANGUAGE C IMMUTABLE PARALLEL SAFE; + +/****************************************************************************** + * Cast functions + ******************************************************************************/ + +CREATE FUNCTION tgeompoint(tnpoint) + RETURNS tgeompoint + AS 'MODULE_PATHNAME', 'Tnpoint_to_tgeompoint' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tnpoint(tgeompoint) + RETURNS tnpoint + AS 'MODULE_PATHNAME', 'Tgeompoint_to_tnpoint' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION timeSpan(tnpoint) + RETURNS tstzspan + AS 'MODULE_PATHNAME', 'Temporal_to_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE CAST (tnpoint AS tgeompoint) WITH FUNCTION tgeompoint(tnpoint); +CREATE CAST (tgeompoint AS tnpoint) WITH FUNCTION tnpoint(tgeompoint); +CREATE CAST (tnpoint AS tstzspan) WITH FUNCTION timeSpan(tnpoint); + +/****************************************************************************** + * Transformation functions + ******************************************************************************/ + +CREATE FUNCTION tnpointInst(tnpoint) + RETURNS tnpoint + AS 'MODULE_PATHNAME', 'Temporal_to_tinstant' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +-- The function is not strict +CREATE FUNCTION tnpointSeq(tnpoint, text) + RETURNS tnpoint + AS 'MODULE_PATHNAME', 'Temporal_to_tsequence' + LANGUAGE C IMMUTABLE PARALLEL SAFE; +-- The function is not strict +CREATE FUNCTION tnpointSeq(tnpoint) + RETURNS tnpoint + AS 'SELECT @extschema@.tnpointSeq($1, NULL)' + LANGUAGE SQL IMMUTABLE PARALLEL SAFE; +-- The function is not strict +CREATE FUNCTION tnpointSeqSet(tnpoint, text) + RETURNS tnpoint + AS 'MODULE_PATHNAME', 'Temporal_to_tsequenceset' + LANGUAGE C IMMUTABLE PARALLEL SAFE; +-- The function is not strict +CREATE FUNCTION tnpointSeqSet(tnpoint) + RETURNS tnpoint + AS 'SELECT @extschema@.tnpointSeqSet($1, NULL)' + LANGUAGE SQL IMMUTABLE PARALLEL SAFE; + +CREATE FUNCTION setInterp(tnpoint, text) + RETURNS tnpoint + AS 'MODULE_PATHNAME', 'Temporal_set_interp' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION round(tnpoint, integer DEFAULT 0) + RETURNS tnpoint + AS 'MODULE_PATHNAME', 'Temporal_round' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION round(tnpoint[], integer DEFAULT 0) + RETURNS tnpoint + AS 'MODULE_PATHNAME', 'Temporalarr_round' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/****************************************************************************** + * Append functions + ******************************************************************************/ + +CREATE FUNCTION appendInstant(tnpoint, tnpoint) + RETURNS tnpoint + AS 'MODULE_PATHNAME', 'Temporal_append_tinstant' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION appendSequence(tnpoint, tnpoint) + RETURNS tnpoint + AS 'MODULE_PATHNAME', 'Temporal_append_tsequence' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION merge(tnpoint, tnpoint) + RETURNS tnpoint + AS 'MODULE_PATHNAME', 'Temporal_merge' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION merge(tnpoint[]) + RETURNS tnpoint + AS 'MODULE_PATHNAME', 'Temporal_merge_array' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/****************************************************************************** + * Accessor functions + ******************************************************************************/ + +CREATE FUNCTION tempSubtype(tnpoint) + RETURNS text + AS 'MODULE_PATHNAME', 'Temporal_subtype' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION interp(tnpoint) + RETURNS text + AS 'MODULE_PATHNAME', 'Temporal_interp' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION memSize(tnpoint) + RETURNS integer + AS 'MODULE_PATHNAME', 'Temporal_mem_size' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +-- value is a reserved word in SQL +CREATE FUNCTION getValue(tnpoint) + RETURNS npoint + AS 'MODULE_PATHNAME', 'Tinstant_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +-- values is a reserved word in SQL +CREATE FUNCTION getValues(tnpoint) + RETURNS npointset + AS 'MODULE_PATHNAME', 'Temporal_valueset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION positions(tnpoint) + RETURNS nsegment[] + AS 'MODULE_PATHNAME', 'Tnpoint_positions' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION route(tnpoint) + RETURNS bigint + AS 'MODULE_PATHNAME', 'Tnpoint_route' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION routes(tnpoint) + RETURNS bigintset + AS 'MODULE_PATHNAME', 'Tnpoint_routes' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +-- time is a reserved word in SQL +CREATE FUNCTION getTime(tnpoint) + RETURNS tstzspanset + AS 'MODULE_PATHNAME', 'Temporal_time' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +-- timestamp is a reserved word in SQL +CREATE FUNCTION getTimestamp(tnpoint) + RETURNS timestamptz + AS 'MODULE_PATHNAME', 'Tinstant_timestamptz' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION startValue(tnpoint) + RETURNS npoint + AS 'MODULE_PATHNAME', 'Temporal_start_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION endValue(tnpoint) + RETURNS npoint + AS 'MODULE_PATHNAME', 'Temporal_end_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION valueN(tnpoint, int) + RETURNS npoint + AS 'MODULE_PATHNAME', 'Temporal_value_n' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION duration(tnpoint, boundspan boolean DEFAULT FALSE) + RETURNS interval + AS 'MODULE_PATHNAME', 'Temporal_duration' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION lowerInc(tnpoint) + RETURNS bool + AS 'MODULE_PATHNAME', 'Temporal_lower_inc' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION upperInc(tnpoint) + RETURNS bool + AS 'MODULE_PATHNAME', 'Temporal_upper_inc' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION numInstants(tnpoint) + RETURNS integer + AS 'MODULE_PATHNAME', 'Temporal_num_instants' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION startInstant(tnpoint) + RETURNS tnpoint + AS 'MODULE_PATHNAME', 'Temporal_start_instant' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION endInstant(tnpoint) + RETURNS tnpoint + AS 'MODULE_PATHNAME', 'Temporal_end_instant' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION instantN(tnpoint, integer) + RETURNS tnpoint + AS 'MODULE_PATHNAME', 'Temporal_instant_n' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION instants(tnpoint) + RETURNS tnpoint[] + AS 'MODULE_PATHNAME', 'Temporal_instants' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION numTimestamps(tnpoint) + RETURNS integer + AS 'MODULE_PATHNAME', 'Temporal_num_timestamps' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION startTimestamp(tnpoint) + RETURNS timestamptz + AS 'MODULE_PATHNAME', 'Temporal_start_timestamptz' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION endTimestamp(tnpoint) + RETURNS timestamptz + AS 'MODULE_PATHNAME', 'Temporal_end_timestamptz' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION timestampN(tnpoint, integer) + RETURNS timestamptz + AS 'MODULE_PATHNAME', 'Temporal_timestamptz_n' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION timestamps(tnpoint) + RETURNS timestamptz[] + AS 'MODULE_PATHNAME', 'Temporal_timestamps' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION numSequences(tnpoint) + RETURNS integer + AS 'MODULE_PATHNAME', 'Temporal_num_sequences' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION startSequence(tnpoint) + RETURNS tnpoint + AS 'MODULE_PATHNAME', 'Temporal_start_sequence' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION endSequence(tnpoint) + RETURNS tnpoint + AS 'MODULE_PATHNAME', 'Temporal_end_sequence' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION sequenceN(tnpoint, integer) + RETURNS tnpoint + AS 'MODULE_PATHNAME', 'Temporal_sequence_n' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION sequences(tnpoint) + RETURNS tnpoint[] + AS 'MODULE_PATHNAME', 'Temporal_sequences' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION segments(tnpoint) + RETURNS tnpoint[] + AS 'MODULE_PATHNAME', 'Temporal_segments' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/***************************************************************************** + * Transformation functions + *****************************************************************************/ + +CREATE FUNCTION shiftTime(tnpoint, interval) + RETURNS tnpoint + AS 'MODULE_PATHNAME', 'Temporal_shift_time' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION scaleTime(tnpoint, interval) + RETURNS tnpoint + AS 'MODULE_PATHNAME', 'Temporal_scale_time' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION shiftScaleTime(tnpoint, interval, interval) + RETURNS tnpoint + AS 'MODULE_PATHNAME', 'Temporal_shift_scale_time' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/***************************************************************************** + * Unnest Function + *****************************************************************************/ + +CREATE TYPE npoint_tstzspanset AS ( + value npoint, + time tstzspanset +); + +CREATE FUNCTION unnest(tnpoint) + RETURNS SETOF npoint_tstzspanset + AS 'MODULE_PATHNAME', 'Temporal_unnest' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/****************************************************************************** + * Restriction functions + ******************************************************************************/ + +CREATE FUNCTION atValues(tnpoint, npoint) + RETURNS tnpoint + AS 'MODULE_PATHNAME', 'Tnpoint_at_npoint' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION minusValues(tnpoint, npoint) + RETURNS tnpoint + AS 'MODULE_PATHNAME', 'Tnpoint_minus_npoint' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION atValues(tnpoint, npointset) + RETURNS tnpoint + AS 'MODULE_PATHNAME', 'Tnpoint_at_npointset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION minusValues(tnpoint, npointset) + RETURNS tnpoint + AS 'MODULE_PATHNAME', 'Tnpoint_minus_npointset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION atTime(tnpoint, timestamptz) + RETURNS tnpoint + AS 'MODULE_PATHNAME', 'Temporal_at_timestamptz' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION minusTime(tnpoint, timestamptz) + RETURNS tnpoint + AS 'MODULE_PATHNAME', 'Temporal_minus_timestamptz' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION valueAtTimestamp(tnpoint, timestamptz) + RETURNS npoint + AS 'MODULE_PATHNAME', 'Temporal_value_at_timestamptz' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION atTime(tnpoint, tstzset) + RETURNS tnpoint + AS 'MODULE_PATHNAME', 'Temporal_at_tstzset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION minusTime(tnpoint, tstzset) + RETURNS tnpoint + AS 'MODULE_PATHNAME', 'Temporal_minus_tstzset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION atTime(tnpoint, tstzspan) + RETURNS tnpoint + AS 'MODULE_PATHNAME', 'Temporal_at_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION minusTime(tnpoint, tstzspan) + RETURNS tnpoint + AS 'MODULE_PATHNAME', 'Temporal_minus_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION atTime(tnpoint, tstzspanset) + RETURNS tnpoint + AS 'MODULE_PATHNAME', 'Temporal_at_tstzspanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION minusTime(tnpoint, tstzspanset) + RETURNS tnpoint + AS 'MODULE_PATHNAME', 'Temporal_minus_tstzspanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION beforeTimestamp(tnpoint, timestamptz, strict bool DEFAULT TRUE) + RETURNS tnpoint + AS 'MODULE_PATHNAME', 'Temporal_before_timestamptz' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION afterTimestamp(tnpoint, timestamptz, strict bool DEFAULT TRUE) + RETURNS tnpoint + AS 'MODULE_PATHNAME', 'Temporal_after_timestamptz' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/***************************************************************************** + * Stop Function + *****************************************************************************/ + +CREATE FUNCTION stops(tnpoint, maxdist float DEFAULT 0.0, + minduration interval DEFAULT '0 minutes') + RETURNS tnpoint + AS 'MODULE_PATHNAME', 'Temporal_stops' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/***************************************************************************** + * Modification Functions + *****************************************************************************/ + +CREATE FUNCTION insert(tnpoint, tnpoint, connect boolean DEFAULT TRUE) + RETURNS tnpoint + AS 'MODULE_PATHNAME', 'Temporal_update' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION update(tnpoint, tnpoint, connect boolean DEFAULT TRUE) + RETURNS tnpoint + AS 'MODULE_PATHNAME', 'Temporal_update' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION deleteTime(tnpoint, timestamptz, connect boolean DEFAULT TRUE) + RETURNS tnpoint + AS 'MODULE_PATHNAME', 'Temporal_delete_timestamptz' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION deleteTime(tnpoint, tstzset, connect boolean DEFAULT TRUE) + RETURNS tnpoint + AS 'MODULE_PATHNAME', 'Temporal_delete_tstzset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION deleteTime(tnpoint, tstzspan, connect boolean DEFAULT TRUE) + RETURNS tnpoint + AS 'MODULE_PATHNAME', 'Temporal_delete_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION deleteTime(tnpoint, tstzspanset, connect boolean DEFAULT TRUE) + RETURNS tnpoint + AS 'MODULE_PATHNAME', 'Temporal_delete_tstzspanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/****************************************************************************** + * Multidimensional tiling + ******************************************************************************/ + +CREATE TYPE time_tnpoint AS ( + time timestamptz, + temp tnpoint +); + +CREATE FUNCTION timeSplit(tnpoint, bin_width interval, + origin timestamptz DEFAULT '2000-01-03') + RETURNS setof time_tnpoint + AS 'MODULE_PATHNAME', 'Temporal_time_split' + LANGUAGE C IMMUTABLE PARALLEL SAFE STRICT; + +/****************************************************************************** + * Comparison functions and B-tree indexing + ******************************************************************************/ + +CREATE FUNCTION temporal_lt(tnpoint, tnpoint) + RETURNS bool + AS 'MODULE_PATHNAME', 'Temporal_lt' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_le(tnpoint, tnpoint) + RETURNS bool + AS 'MODULE_PATHNAME', 'Temporal_le' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_eq(tnpoint, tnpoint) + RETURNS bool + AS 'MODULE_PATHNAME', 'Temporal_eq' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_ne(tnpoint, tnpoint) + RETURNS bool + AS 'MODULE_PATHNAME', 'Temporal_ne' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_ge(tnpoint, tnpoint) + RETURNS bool + AS 'MODULE_PATHNAME', 'Temporal_ge' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_gt(tnpoint, tnpoint) + RETURNS bool + AS 'MODULE_PATHNAME', 'Temporal_gt' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_cmp(tnpoint, tnpoint) + RETURNS int4 + AS 'MODULE_PATHNAME', 'Temporal_cmp' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR < ( + LEFTARG = tnpoint, RIGHTARG = tnpoint, + PROCEDURE = temporal_lt, + COMMUTATOR = >, NEGATOR = >=, + RESTRICT = scalarltsel, JOIN = scalarltjoinsel +); +CREATE OPERATOR <= ( + LEFTARG = tnpoint, RIGHTARG = tnpoint, + PROCEDURE = temporal_le, + COMMUTATOR = >=, NEGATOR = >, + RESTRICT = scalarltsel, JOIN = scalarltjoinsel +); +CREATE OPERATOR = ( + LEFTARG = tnpoint, RIGHTARG = tnpoint, + PROCEDURE = temporal_eq, + COMMUTATOR = =, NEGATOR = <>, + RESTRICT = eqsel, JOIN = eqjoinsel +); +CREATE OPERATOR <> ( + LEFTARG = tnpoint, RIGHTARG = tnpoint, + PROCEDURE = temporal_ne, + COMMUTATOR = <>, NEGATOR = =, + RESTRICT = neqsel, JOIN = neqjoinsel +); +CREATE OPERATOR >= ( + LEFTARG = tnpoint, RIGHTARG = tnpoint, + PROCEDURE = temporal_ge, + COMMUTATOR = <=, NEGATOR = <, + RESTRICT = scalargtsel, JOIN = scalargtjoinsel +); +CREATE OPERATOR > ( + LEFTARG = tnpoint, RIGHTARG = tnpoint, + PROCEDURE = temporal_gt, + COMMUTATOR = <, NEGATOR = <=, + RESTRICT = scalargtsel, JOIN = scalargtjoinsel +); + +CREATE OPERATOR CLASS tnpoint_btree_ops + DEFAULT FOR TYPE tnpoint USING btree AS + OPERATOR 1 <, + OPERATOR 2 <=, + OPERATOR 3 =, + OPERATOR 4 >=, + OPERATOR 5 >, + FUNCTION 1 temporal_cmp(tnpoint, tnpoint); + +/******************************************************************************/ + +CREATE FUNCTION temporal_hash(tnpoint) + RETURNS integer + AS 'MODULE_PATHNAME', 'Temporal_hash' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR CLASS tnpoint_hash_ops + DEFAULT FOR TYPE tnpoint USING hash AS + OPERATOR 1 = , + FUNCTION 1 temporal_hash(tnpoint); + +/******************************************************************************/ diff --git a/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/npoint/085_tnpoint_compops.in.sql b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/npoint/085_tnpoint_compops.in.sql new file mode 100644 index 00000000..033ae3cc --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/npoint/085_tnpoint_compops.in.sql @@ -0,0 +1,233 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @file + * @brief Ever/always and temporal comparisons for temporal network points + */ + +/***************************************************************************** + * Ever/Always comparisons + *****************************************************************************/ + +CREATE FUNCTION ever_eq(npoint, tnpoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Ever_eq_npoint_tnpoint' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION ever_eq(tnpoint, npoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Ever_eq_tnpoint_npoint' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION ever_eq(tnpoint, tnpoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Ever_eq_tnpoint_tnpoint' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR ?= ( + LEFTARG = npoint, RIGHTARG = tnpoint, + PROCEDURE = ever_eq, + NEGATOR = %<>, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR ?= ( + LEFTARG = tnpoint, RIGHTARG = npoint, + PROCEDURE = ever_eq, + NEGATOR = %<>, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR ?= ( + LEFTARG = tnpoint, RIGHTARG = tnpoint, + PROCEDURE = ever_eq, + NEGATOR = %<>, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +CREATE FUNCTION ever_ne(npoint, tnpoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Ever_ne_npoint_tnpoint' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION ever_ne(tnpoint, npoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Ever_ne_tnpoint_npoint' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION ever_ne(tnpoint, tnpoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Ever_ne_tnpoint_tnpoint' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR ?<> ( + LEFTARG = npoint, RIGHTARG = tnpoint, + PROCEDURE = ever_ne, + NEGATOR = %=, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR ?<> ( + LEFTARG = tnpoint, RIGHTARG = npoint, + PROCEDURE = ever_ne, + NEGATOR = %=, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR ?<> ( + LEFTARG = tnpoint, RIGHTARG = tnpoint, + PROCEDURE = ever_ne, + NEGATOR = %=, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +/*****************************************************************************/ + +CREATE FUNCTION always_eq(npoint, tnpoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Always_eq_npoint_tnpoint' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION always_eq(tnpoint, npoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Always_eq_tnpoint_npoint' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION always_eq(tnpoint, tnpoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Always_eq_tnpoint_tnpoint' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR %= ( + LEFTARG = npoint, RIGHTARG = tnpoint, + PROCEDURE = always_eq, + NEGATOR = ?<>, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR %= ( + LEFTARG = tnpoint, RIGHTARG = npoint, + PROCEDURE = always_eq, + NEGATOR = ?<>, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR %= ( + LEFTARG = tnpoint, RIGHTARG = tnpoint, + PROCEDURE = always_eq, + NEGATOR = ?<>, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +CREATE FUNCTION always_ne(npoint, tnpoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Always_ne_npoint_tnpoint' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION always_ne(tnpoint, npoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Always_ne_tnpoint_npoint' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION always_ne(tnpoint, tnpoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Always_ne_tnpoint_tnpoint' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR %<> ( + LEFTARG = npoint, RIGHTARG = tnpoint, + PROCEDURE = always_ne, + NEGATOR = ?=, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR %<> ( + LEFTARG = tnpoint, RIGHTARG = npoint, + PROCEDURE = always_ne, + NEGATOR = ?=, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR %<> ( + LEFTARG = tnpoint, RIGHTARG = tnpoint, + PROCEDURE = always_ne, + NEGATOR = ?=, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +/***************************************************************************** + * Temporal comparisons + *****************************************************************************/ + +CREATE FUNCTION temporal_teq(npoint, tnpoint) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Teq_npoint_tnpoint' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_teq(tnpoint, npoint) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Teq_tnpoint_npoint' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_teq(tnpoint, tnpoint) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Teq_tnpoint_tnpoint' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR #= ( + PROCEDURE = temporal_teq, + LEFTARG = npoint, RIGHTARG = tnpoint, + COMMUTATOR = #= +); +CREATE OPERATOR #= ( + PROCEDURE = temporal_teq, + LEFTARG = tnpoint, RIGHTARG = npoint, + COMMUTATOR = #= +); +CREATE OPERATOR #= ( + PROCEDURE = temporal_teq, + LEFTARG = tnpoint, RIGHTARG = tnpoint, + COMMUTATOR = #= +); + +/*****************************************************************************/ + +CREATE FUNCTION temporal_tne(npoint, tnpoint) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Tne_npoint_tnpoint' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_tne(tnpoint, npoint) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Tne_tnpoint_npoint' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_tne(tnpoint, tnpoint) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Tne_tnpoint_tnpoint' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR #<> ( + PROCEDURE = temporal_tne, + LEFTARG = npoint, RIGHTARG = tnpoint, + COMMUTATOR = #<> +); +CREATE OPERATOR #<> ( + PROCEDURE = temporal_tne, + LEFTARG = tnpoint, RIGHTARG = npoint, + COMMUTATOR = #<> +); +CREATE OPERATOR #<> ( + PROCEDURE = temporal_tne, + LEFTARG = tnpoint, RIGHTARG = tnpoint, + COMMUTATOR = #<> +); + +/******************************************************************************/ diff --git a/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/npoint/087_tnpoint_spatialfuncs.in.sql b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/npoint/087_tnpoint_spatialfuncs.in.sql new file mode 100644 index 00000000..fb43524c --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/npoint/087_tnpoint_spatialfuncs.in.sql @@ -0,0 +1,148 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @file + * @brief Geometric functions for temporal network points + */ + +/***************************************************************************** + * SRID + *****************************************************************************/ + +CREATE FUNCTION SRID(tnpoint) + RETURNS integer + AS 'MODULE_PATHNAME', 'Tspatial_srid' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/***************************************************************************** + * Trajectory + *****************************************************************************/ + +CREATE FUNCTION trajectory(tnpoint) + RETURNS geometry + AS 'MODULE_PATHNAME', 'Tnpoint_trajectory' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/***************************************************************************** + * AtGeometry and MinusGeometry + *****************************************************************************/ + +CREATE FUNCTION atGeometry(tnpoint, geometry) + RETURNS tnpoint + AS 'MODULE_PATHNAME', 'Tnpoint_at_geom' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION minusGeometry(tnpoint, geometry) + RETURNS tnpoint + AS 'MODULE_PATHNAME', 'Tnpoint_minus_geom' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION atStbox(tnpoint, stbox, bool DEFAULT TRUE) + RETURNS tnpoint + AS 'MODULE_PATHNAME', 'Tnpoint_at_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION minusStbox(tnpoint, stbox, bool DEFAULT TRUE) + RETURNS tnpoint + AS 'MODULE_PATHNAME', 'Tnpoint_minus_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/***************************************************************************** + * Equals + *****************************************************************************/ + +CREATE FUNCTION same(npoint, npoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Npoint_same' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/***************************************************************************** + * Length + *****************************************************************************/ + +CREATE FUNCTION length(tnpoint) + RETURNS double precision + AS 'MODULE_PATHNAME', 'Tnpoint_length' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/***************************************************************************** + * Cumulative length + *****************************************************************************/ + +CREATE FUNCTION cumulativeLength(tnpoint) + RETURNS tfloat + AS 'MODULE_PATHNAME', 'Tnpoint_cumulative_length' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/***************************************************************************** + * Speed + *****************************************************************************/ + +CREATE FUNCTION speed(tnpoint) + RETURNS tfloat + AS 'MODULE_PATHNAME', 'Tnpoint_speed' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/***************************************************************************** + * Time-weighted centroid + *****************************************************************************/ + +CREATE FUNCTION twCentroid(tnpoint) + RETURNS geometry + AS 'MODULE_PATHNAME', 'Tnpoint_twcentroid' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/***************************************************************************** + * Shortest line + *****************************************************************************/ + +CREATE FUNCTION shortestLine(geometry, tnpoint) + RETURNS geometry + AS 'MODULE_PATHNAME', 'Shortestline_geo_tnpoint' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION shortestLine(tnpoint, geometry) + RETURNS geometry + AS 'MODULE_PATHNAME', 'Shortestline_tnpoint_geo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION shortestLine(npoint, tnpoint) + RETURNS geometry + AS 'MODULE_PATHNAME', 'Shortestline_npoint_tnpoint' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION shortestLine(tnpoint, npoint) + RETURNS geometry + AS 'MODULE_PATHNAME', 'Shortestline_tnpoint_npoint' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION shortestLine(tnpoint, tnpoint) + RETURNS geometry + AS 'MODULE_PATHNAME', 'Shortestline_tnpoint_tnpoint' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/*****************************************************************************/ + diff --git a/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/npoint/089_tnpoint_topops.in.sql b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/npoint/089_tnpoint_topops.in.sql new file mode 100644 index 00000000..6c8a0eed --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/npoint/089_tnpoint_topops.in.sql @@ -0,0 +1,385 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @file + * @brief Bounding box operators for temporal network points + */ + +/***************************************************************************** + * Temporal npoint to stbox + *****************************************************************************/ + +CREATE FUNCTION stbox(npoint) + RETURNS stbox + AS 'MODULE_PATHNAME', 'Npoint_to_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION stbox(nsegment) + RETURNS stbox + AS 'MODULE_PATHNAME', 'Nsegment_to_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION stbox(npoint, timestamptz) + RETURNS stbox + AS 'MODULE_PATHNAME', 'Npoint_timestamptz_to_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION stbox(npoint, tstzspan) + RETURNS stbox + AS 'MODULE_PATHNAME', 'Npoint_tstzspan_to_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION stbox(tnpoint) + RETURNS stbox + AS 'MODULE_PATHNAME', 'Tspatial_to_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE CAST (npoint AS stbox) WITH FUNCTION stbox(npoint); +CREATE CAST (nsegment AS stbox) WITH FUNCTION stbox(nsegment); +CREATE CAST (tnpoint AS stbox) WITH FUNCTION stbox(tnpoint); + +/*****************************************************************************/ + +CREATE FUNCTION expandSpace(tnpoint, float) + RETURNS stbox + AS 'SELECT @extschema@.expandSpace($1::stbox, $2)' + LANGUAGE SQL IMMUTABLE PARALLEL SAFE STRICT; + +/***************************************************************************** + * Contains + *****************************************************************************/ + +CREATE FUNCTION temporal_contains(tstzspan, tnpoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contains_tstzspan_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_contains(tnpoint, tstzspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contains_temporal_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR @> ( + PROCEDURE = temporal_contains, + LEFTARG = tstzspan, RIGHTARG = tnpoint, + COMMUTATOR = <@, + RESTRICT = temporal_sel, JOIN = temporal_joinsel +); +CREATE OPERATOR @> ( + PROCEDURE = temporal_contains, + LEFTARG = tnpoint, RIGHTARG = tstzspan, + COMMUTATOR = <@, + RESTRICT = temporal_sel, JOIN = temporal_joinsel +); + +/*****************************************************************************/ + +CREATE FUNCTION temporal_contains(stbox, tnpoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contains_stbox_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR @> ( + PROCEDURE = temporal_contains, + LEFTARG = stbox, RIGHTARG = tnpoint, + COMMUTATOR = <@, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +CREATE FUNCTION temporal_contains(tnpoint, stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contains_tspatial_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_contains(tnpoint, tnpoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contains_tspatial_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR @> ( + PROCEDURE = temporal_contains, + LEFTARG = tnpoint, RIGHTARG = stbox, + COMMUTATOR = <@, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR @> ( + PROCEDURE = temporal_contains, + LEFTARG = tnpoint, RIGHTARG = tnpoint, + COMMUTATOR = <@, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +/***************************************************************************** + * Contained + *****************************************************************************/ + +CREATE FUNCTION temporal_contained(tstzspan, tnpoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contained_tstzspan_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_contained(tnpoint, tstzspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contained_temporal_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR <@ ( + PROCEDURE = temporal_contained, + LEFTARG = tstzspan, RIGHTARG = tnpoint, + COMMUTATOR = @>, + RESTRICT = temporal_sel, JOIN = temporal_joinsel +); +CREATE OPERATOR <@ ( + PROCEDURE = temporal_contained, + LEFTARG = tnpoint, RIGHTARG = tstzspan, + COMMUTATOR = @>, + RESTRICT = temporal_sel, JOIN = temporal_joinsel +); + +/*****************************************************************************/ + +CREATE FUNCTION temporal_contained(stbox, tnpoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contained_stbox_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR <@ ( + PROCEDURE = temporal_contained, + LEFTARG = stbox, RIGHTARG = tnpoint, + COMMUTATOR = @>, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +CREATE FUNCTION temporal_contained(tnpoint, stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contained_tspatial_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_contained(tnpoint, tnpoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contained_tspatial_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR <@ ( + PROCEDURE = temporal_contained, + LEFTARG = tnpoint, RIGHTARG = stbox, + COMMUTATOR = @>, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR <@ ( + PROCEDURE = temporal_contained, + LEFTARG = tnpoint, RIGHTARG = tnpoint, + COMMUTATOR = @>, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +/***************************************************************************** + * Overlaps + *****************************************************************************/ + +CREATE FUNCTION temporal_overlaps(tstzspan, tnpoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overlaps_tstzspan_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overlaps(tnpoint, tstzspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overlaps_temporal_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR && ( + PROCEDURE = temporal_overlaps, + LEFTARG = tstzspan, RIGHTARG = tnpoint, + COMMUTATOR = &&, + RESTRICT = temporal_sel, JOIN = temporal_joinsel +); +CREATE OPERATOR && ( + PROCEDURE = temporal_overlaps, + LEFTARG = tnpoint, RIGHTARG = tstzspan, + COMMUTATOR = &&, + RESTRICT = temporal_sel, JOIN = temporal_joinsel +); + +/*****************************************************************************/ + +CREATE FUNCTION temporal_overlaps(stbox, tnpoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overlaps_stbox_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR && ( + PROCEDURE = temporal_overlaps, + LEFTARG = stbox, RIGHTARG = tnpoint, + COMMUTATOR = &&, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +CREATE FUNCTION temporal_overlaps(tnpoint, stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overlaps_tspatial_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overlaps(tnpoint, tnpoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overlaps_tspatial_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR && ( + PROCEDURE = temporal_overlaps, + LEFTARG = tnpoint, RIGHTARG = stbox, + COMMUTATOR = &&, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR && ( + PROCEDURE = temporal_overlaps, + LEFTARG = tnpoint, RIGHTARG = tnpoint, + COMMUTATOR = &&, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +/***************************************************************************** + * Same + *****************************************************************************/ + +CREATE FUNCTION temporal_same(tstzspan, tnpoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Same_tstzspan_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_same(tnpoint, tstzspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Same_temporal_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR ~= ( + PROCEDURE = temporal_same, + LEFTARG = tstzspan, RIGHTARG = tnpoint, + COMMUTATOR = ~=, + RESTRICT = temporal_sel, JOIN = temporal_joinsel +); +CREATE OPERATOR ~= ( + PROCEDURE = temporal_same, + LEFTARG = tnpoint, RIGHTARG = tstzspan, + COMMUTATOR = ~=, + RESTRICT = temporal_sel, JOIN = temporal_joinsel +); + +/*****************************************************************************/ + +CREATE FUNCTION temporal_same(stbox, tnpoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Same_stbox_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR ~= ( + PROCEDURE = temporal_same, + LEFTARG = stbox, RIGHTARG = tnpoint, + COMMUTATOR = ~=, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +CREATE FUNCTION temporal_same(tnpoint, stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Same_tspatial_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_same(tnpoint, tnpoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Same_tspatial_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR ~= ( + PROCEDURE = temporal_same, + LEFTARG = tnpoint, RIGHTARG = stbox, + COMMUTATOR = ~=, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR ~= ( + PROCEDURE = temporal_same, + LEFTARG = tnpoint, RIGHTARG = tnpoint, + COMMUTATOR = ~=, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +/***************************************************************************** + * adjacent + *****************************************************************************/ + +CREATE FUNCTION temporal_adjacent(tstzspan, tnpoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Adjacent_tstzspan_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_adjacent(tnpoint, tstzspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Adjacent_temporal_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR -|- ( + PROCEDURE = temporal_adjacent, + LEFTARG = tstzspan, RIGHTARG = tnpoint, + COMMUTATOR = -|-, + RESTRICT = temporal_sel, JOIN = temporal_joinsel +); +CREATE OPERATOR -|- ( + PROCEDURE = temporal_adjacent, + LEFTARG = tnpoint, RIGHTARG = tstzspan, + COMMUTATOR = -|-, + RESTRICT = temporal_sel, JOIN = temporal_joinsel +); + +/*****************************************************************************/ + +CREATE FUNCTION temporal_adjacent(stbox, tnpoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Adjacent_stbox_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR -|- ( + PROCEDURE = temporal_adjacent, + LEFTARG = stbox, RIGHTARG = tnpoint, + COMMUTATOR = -|-, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +CREATE FUNCTION temporal_adjacent(tnpoint, stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Adjacent_tspatial_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_adjacent(tnpoint, tnpoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Adjacent_tspatial_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR -|- ( + PROCEDURE = temporal_adjacent, + LEFTARG = tnpoint, RIGHTARG = stbox, + COMMUTATOR = -|-, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR -|- ( + PROCEDURE = temporal_adjacent, + LEFTARG = tnpoint, RIGHTARG = tnpoint, + COMMUTATOR = -|-, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +/*****************************************************************************/ diff --git a/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/npoint/090_tnpoint_posops.in.sql b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/npoint/090_tnpoint_posops.in.sql new file mode 100644 index 00000000..b75fdf70 --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/npoint/090_tnpoint_posops.in.sql @@ -0,0 +1,487 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @file + * @brief Relative position operators for temporal network points + */ + +/***************************************************************************** + * tstzspan + *****************************************************************************/ + +/* tstzspan op tnpoint */ + +CREATE FUNCTION temporal_before(tstzspan, tnpoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Before_tstzspan_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overbefore(tstzspan, tnpoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overbefore_tstzspan_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_after(tstzspan, tnpoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'After_tstzspan_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overafter(tstzspan, tnpoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overafter_tstzspan_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR <<# ( + LEFTARG = tstzspan, RIGHTARG = tnpoint, + PROCEDURE = temporal_before, + COMMUTATOR = #>>, + RESTRICT = temporal_sel, JOIN = temporal_joinsel +); +CREATE OPERATOR &<# ( + LEFTARG = tstzspan, RIGHTARG = tnpoint, + PROCEDURE = temporal_overbefore, + RESTRICT = temporal_sel, JOIN = temporal_joinsel +); +CREATE OPERATOR #>> ( + LEFTARG = tstzspan, RIGHTARG = tnpoint, + PROCEDURE = temporal_after, + COMMUTATOR = <<#, + RESTRICT = temporal_sel, JOIN = temporal_joinsel +); +CREATE OPERATOR #&> ( + LEFTARG = tstzspan, RIGHTARG = tnpoint, + PROCEDURE = temporal_overafter, + RESTRICT = temporal_sel, JOIN = temporal_joinsel +); + +/***************************************************************************** + * stbox + *****************************************************************************/ + +CREATE FUNCTION temporal_left(stbox, tnpoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Left_stbox_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overleft(stbox, tnpoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overleft_stbox_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_right(stbox, tnpoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Right_stbox_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overright(stbox, tnpoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overright_stbox_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_below(stbox, tnpoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Below_stbox_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overbelow(stbox, tnpoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overbelow_stbox_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_above(stbox, tnpoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Above_stbox_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overabove(stbox, tnpoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overabove_stbox_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_before(stbox, tnpoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Before_stbox_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overbefore(stbox, tnpoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overbefore_stbox_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_after(stbox, tnpoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'After_stbox_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overafter(stbox, tnpoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overafter_stbox_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR << ( + LEFTARG = stbox, RIGHTARG = tnpoint, + PROCEDURE = temporal_left, + COMMUTATOR = '>>', + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR &< ( + LEFTARG = stbox, RIGHTARG = tnpoint, + PROCEDURE = temporal_overleft, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR >> ( + LEFTARG = stbox, RIGHTARG = tnpoint, + PROCEDURE = temporal_right, + COMMUTATOR = '<<', + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR &> ( + LEFTARG = stbox, RIGHTARG = tnpoint, + PROCEDURE = temporal_overright, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR <<| ( + LEFTARG = stbox, RIGHTARG = tnpoint, + PROCEDURE = temporal_below, + COMMUTATOR = '|>>', + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR &<| ( + LEFTARG = stbox, RIGHTARG = tnpoint, + PROCEDURE = temporal_overbelow, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR |>> ( + LEFTARG = stbox, RIGHTARG = tnpoint, + PROCEDURE = temporal_above, + COMMUTATOR = '<<|', + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR |&> ( + LEFTARG = stbox, RIGHTARG = tnpoint, + PROCEDURE = temporal_overabove, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR <<# ( + LEFTARG = stbox, RIGHTARG = tnpoint, + PROCEDURE = temporal_before, + COMMUTATOR = '#>>', + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR &<# ( + LEFTARG = stbox, RIGHTARG = tnpoint, + PROCEDURE = temporal_overbefore, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR #>> ( + LEFTARG = stbox, RIGHTARG = tnpoint, + PROCEDURE = temporal_after, + COMMUTATOR = '<<#', + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR #&> ( + LEFTARG = stbox, RIGHTARG = tnpoint, + PROCEDURE = temporal_overafter, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +/***************************************************************************** + * tnpoint + *****************************************************************************/ + +/* tnpoint op tstzspan */ + +CREATE FUNCTION temporal_before(tnpoint, tstzspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Before_temporal_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overbefore(tnpoint, tstzspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overbefore_temporal_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_after(tnpoint, tstzspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'After_temporal_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overafter(tnpoint, tstzspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overafter_temporal_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR <<# ( + LEFTARG = tnpoint, RIGHTARG = tstzspan, + PROCEDURE = temporal_before, + COMMUTATOR = #>>, + RESTRICT = temporal_sel, JOIN = temporal_joinsel +); +CREATE OPERATOR &<# ( + LEFTARG = tnpoint, RIGHTARG = tstzspan, + PROCEDURE = temporal_overbefore, + RESTRICT = temporal_sel, JOIN = temporal_joinsel +); +CREATE OPERATOR #>> ( + LEFTARG = tnpoint, RIGHTARG = tstzspan, + PROCEDURE = temporal_after, + COMMUTATOR = <<#, + RESTRICT = temporal_sel, JOIN = temporal_joinsel +); +CREATE OPERATOR #&> ( + LEFTARG = tnpoint, RIGHTARG = tstzspan, + PROCEDURE = temporal_overafter, + RESTRICT = temporal_sel, JOIN = temporal_joinsel +); + +/*****************************************************************************/ + +/* tnpoint op stbox */ + +CREATE FUNCTION temporal_left(tnpoint, stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Left_tspatial_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overleft(tnpoint, stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overleft_tspatial_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_right(tnpoint, stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Right_tspatial_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overright(tnpoint, stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overright_tspatial_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_below(tnpoint, stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Below_tspatial_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overbelow(tnpoint, stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overbelow_tspatial_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_above(tnpoint, stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Above_tspatial_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overabove(tnpoint, stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overabove_tspatial_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_before(tnpoint, stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Before_tspatial_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overbefore(tnpoint, stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overbefore_tspatial_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_after(tnpoint, stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'After_tspatial_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overafter(tnpoint, stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overafter_tspatial_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR << ( + LEFTARG = tnpoint, RIGHTARG = stbox, + PROCEDURE = temporal_left, + COMMUTATOR = '>>', + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR &< ( + LEFTARG = tnpoint, RIGHTARG = stbox, + PROCEDURE = temporal_overleft, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR >> ( + LEFTARG = tnpoint, RIGHTARG = stbox, + PROCEDURE = temporal_right, + COMMUTATOR = '<<', + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR &> ( + LEFTARG = tnpoint, RIGHTARG = stbox, + PROCEDURE = temporal_overright, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR <<| ( + LEFTARG = tnpoint, RIGHTARG = stbox, + PROCEDURE = temporal_below, + COMMUTATOR = '|>>', + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR &<| ( + LEFTARG = tnpoint, RIGHTARG = stbox, + PROCEDURE = temporal_overbelow, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR |>> ( + LEFTARG = tnpoint, RIGHTARG = stbox, + PROCEDURE = temporal_above, + COMMUTATOR = '<<|', + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR |&> ( + LEFTARG = tnpoint, RIGHTARG = stbox, + PROCEDURE = temporal_overabove, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR <<# ( + LEFTARG = tnpoint, RIGHTARG = stbox, + PROCEDURE = temporal_before, + COMMUTATOR = '#>>', + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR &<# ( + LEFTARG = tnpoint, RIGHTARG = stbox, + PROCEDURE = temporal_overbefore, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR #>> ( + LEFTARG = tnpoint, RIGHTARG = stbox, + PROCEDURE = temporal_after, + COMMUTATOR = '<<#', + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR #&> ( + LEFTARG = tnpoint, RIGHTARG = stbox, + PROCEDURE = temporal_overafter, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +/*****************************************************************************/ + +/* tnpoint op tnpoint */ + +CREATE FUNCTION temporal_left(tnpoint, tnpoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Left_tspatial_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overleft(tnpoint, tnpoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overleft_tspatial_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_right(tnpoint, tnpoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Right_tspatial_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overright(tnpoint, tnpoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overright_tspatial_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_below(tnpoint, tnpoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Below_tspatial_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overbelow(tnpoint, tnpoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overbelow_tspatial_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_above(tnpoint, tnpoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Above_tspatial_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overabove(tnpoint, tnpoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overabove_tspatial_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_before(tnpoint, tnpoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Before_tspatial_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overbefore(tnpoint, tnpoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overbefore_tspatial_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_after(tnpoint, tnpoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'After_tspatial_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overafter(tnpoint, tnpoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overafter_tspatial_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR << ( + LEFTARG = tnpoint, RIGHTARG = tnpoint, + PROCEDURE = temporal_left, + COMMUTATOR = '>>', + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR &< ( + LEFTARG = tnpoint, RIGHTARG = tnpoint, + PROCEDURE = temporal_overleft, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR >> ( + LEFTARG = tnpoint, RIGHTARG = tnpoint, + PROCEDURE = temporal_right, + COMMUTATOR = '<<', + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR &> ( + LEFTARG = tnpoint, RIGHTARG = tnpoint, + PROCEDURE = temporal_overright, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR <<| ( + LEFTARG = tnpoint, RIGHTARG = tnpoint, + PROCEDURE = temporal_below, + COMMUTATOR = '|>>', + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR &<| ( + LEFTARG = tnpoint, RIGHTARG = tnpoint, + PROCEDURE = temporal_overbelow, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR |>> ( + LEFTARG = tnpoint, RIGHTARG = tnpoint, + PROCEDURE = temporal_above, + COMMUTATOR = '<<|', + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR |&> ( + LEFTARG = tnpoint, RIGHTARG = tnpoint, + PROCEDURE = temporal_overabove, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR <<# ( + LEFTARG = tnpoint, RIGHTARG = tnpoint, + PROCEDURE = temporal_before, + COMMUTATOR = '#>>', + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR &<# ( + LEFTARG = tnpoint, RIGHTARG = tnpoint, + PROCEDURE = temporal_overbefore, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR #>> ( + LEFTARG = tnpoint, RIGHTARG = tnpoint, + PROCEDURE = temporal_after, + COMMUTATOR = '<<#', + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR #&> ( + LEFTARG = tnpoint, RIGHTARG = tnpoint, + PROCEDURE = temporal_overafter, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +/*****************************************************************************/ diff --git a/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/npoint/091_tnpoint_routeops.in.sql b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/npoint/091_tnpoint_routeops.in.sql new file mode 100644 index 00000000..4a59f222 --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/npoint/091_tnpoint_routeops.in.sql @@ -0,0 +1,267 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @file + * @brief Route operators for temporal network points + */ + +/***************************************************************************** + * Overlaps + *****************************************************************************/ + +CREATE FUNCTION overlaps_rid(bigintset, tnpoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overlaps_rid_bigintset_tnpoint' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR @@ ( + PROCEDURE = overlaps_rid, + LEFTARG = bigintset, RIGHTARG = tnpoint, + COMMUTATOR = @@ + -- , RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +CREATE FUNCTION overlaps_rid(tnpoint, bigintset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overlaps_rid_tnpoint_bigintset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION overlaps_rid(tnpoint, tnpoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overlaps_rid_tnpoint_tnpoint' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR @@ ( + PROCEDURE = overlaps_rid, + LEFTARG = tnpoint, RIGHTARG = bigintset, + COMMUTATOR = @@ + -- , RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR @@ ( + PROCEDURE = overlaps_rid, + LEFTARG = tnpoint, RIGHTARG = tnpoint, + COMMUTATOR = @@ + -- , RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +/***************************************************************************** + * Contains + *****************************************************************************/ + +CREATE FUNCTION contains_rid(bigintset, tnpoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contains_rid_bigintset_tnpoint' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR @? ( + PROCEDURE = contains_rid, + LEFTARG = bigintset, RIGHTARG = tnpoint, + COMMUTATOR = ?@ + -- , RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +CREATE FUNCTION contains_rid(tnpoint, bigint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contains_rid_tnpoint_bigint' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION contains_rid(tnpoint, bigintset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contains_rid_tnpoint_bigintset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION contains_rid(tnpoint, npoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contains_rid_tnpoint_npoint' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION contains_rid(tnpoint, tnpoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contains_rid_tnpoint_tnpoint' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR @? ( + PROCEDURE = contains_rid, + LEFTARG = tnpoint, RIGHTARG = bigint, + COMMUTATOR = ?@ + -- , RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR @? ( + PROCEDURE = contains_rid, + LEFTARG = tnpoint, RIGHTARG = bigintset, + COMMUTATOR = ?@ + -- , RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR @? ( + PROCEDURE = contains_rid, + LEFTARG = tnpoint, RIGHTARG = npoint, + COMMUTATOR = ?@ + -- , RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR @? ( + PROCEDURE = contains_rid, + LEFTARG = tnpoint, RIGHTARG = tnpoint, + COMMUTATOR = ?@ + -- , RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +/***************************************************************************** + * Contained + *****************************************************************************/ + +CREATE FUNCTION contained_rid(bigint, tnpoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contained_rid_bigint_tnpoint' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION contained_rid(bigintset, tnpoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contained_rid_bigintset_tnpoint' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION contained_rid(npoint, tnpoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contained_rid_npoint_tnpoint' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR ?@ ( + PROCEDURE = contained_rid, + LEFTARG = bigint, RIGHTARG = tnpoint, + COMMUTATOR = @? + -- , RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR ?@ ( + PROCEDURE = contained_rid, + LEFTARG = bigintset, RIGHTARG = tnpoint, + COMMUTATOR = @? + -- , RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR ?@ ( + PROCEDURE = contained_rid, + LEFTARG = npoint, RIGHTARG = tnpoint, + COMMUTATOR = @? + -- , RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +CREATE FUNCTION contained_rid(tnpoint, bigintset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contained_rid_tnpoint_bigintset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION contained_rid(tnpoint, tnpoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contained_rid_tnpoint_tnpoint' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR ?@ ( + PROCEDURE = contained_rid, + LEFTARG = tnpoint, RIGHTARG = bigintset, + COMMUTATOR = @? + -- , RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR ?@ ( + PROCEDURE = contained_rid, + LEFTARG = tnpoint, RIGHTARG = tnpoint, + COMMUTATOR = @? + -- , RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +/***************************************************************************** + * Same + *****************************************************************************/ + +CREATE FUNCTION same_rid(bigint, tnpoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Same_rid_bigint_tnpoint' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION same_rid(bigintset, tnpoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Same_rid_bigintset_tnpoint' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION same_rid(npoint, tnpoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Same_rid_npoint_tnpoint' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR @= ( + PROCEDURE = same_rid, + LEFTARG = bigint, RIGHTARG = tnpoint, + COMMUTATOR = @= + -- , RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR @= ( + PROCEDURE = same_rid, + LEFTARG = bigintset, RIGHTARG = tnpoint, + COMMUTATOR = @= + -- , RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR @= ( + PROCEDURE = same_rid, + LEFTARG = npoint, RIGHTARG = tnpoint, + COMMUTATOR = @= + -- , RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +CREATE FUNCTION same_rid(tnpoint, bigint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Same_rid_tnpoint_bigint' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION same_rid(tnpoint, bigintset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Same_rid_tnpoint_bigintset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION same_rid(tnpoint, npoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Same_rid_tnpoint_npoint' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION same_rid(tnpoint, tnpoint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Same_rid_tnpoint_tnpoint' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR @= ( + PROCEDURE = same_rid, + LEFTARG = tnpoint, RIGHTARG = bigint, + COMMUTATOR = @= + -- , RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR @= ( + PROCEDURE = same_rid, + LEFTARG = tnpoint, RIGHTARG = bigintset, + COMMUTATOR = @= + -- , RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR @= ( + PROCEDURE = same_rid, + LEFTARG = tnpoint, RIGHTARG = npoint, + COMMUTATOR = @= + -- , RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR @= ( + PROCEDURE = same_rid, + LEFTARG = tnpoint, RIGHTARG = tnpoint, + COMMUTATOR = @= + -- , RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +/*****************************************************************************/ diff --git a/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/npoint/092_tnpoint_gin.in.sql b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/npoint/092_tnpoint_gin.in.sql new file mode 100644 index 00000000..ddd66740 --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/npoint/092_tnpoint_gin.in.sql @@ -0,0 +1,80 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @file + * @brief GIN index for temporal network points + */ + +/******************************************************************************/ + +CREATE FUNCTION tnpoint_gin_extract_value(bigint, internal) +RETURNS internal +AS 'MODULE_PATHNAME', 'Tnpoint_gin_extract_value' +LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION tnpoint_gin_extract_query(bigint, internal, int2, internal, internal, internal, internal) +RETURNS internal +AS 'MODULE_PATHNAME', 'Tnpoint_gin_extract_query' +LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION tnpoint_gin_triconsistent(internal, int2, bigint, int4, internal, internal, internal) +RETURNS char +AS 'MODULE_PATHNAME', 'Set_gin_triconsistent' +LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/******************************************************************************/ + +CREATE OPERATOR CLASS tnpoint_gin_ops + DEFAULT FOR TYPE tnpoint USING gin AS + STORAGE bigint, + -- overlap set + OPERATOR 10 @@ (tnpoint, bigintset), + -- overlap tnpoint + OPERATOR 11 @@ (tnpoint, tnpoint), + -- contains value + OPERATOR 20 @? (tnpoint, bigint), + -- contains set + OPERATOR 21 @? (tnpoint, bigintset), + -- contains tnpoint + OPERATOR 22 @? (tnpoint, tnpoint), + -- contained set + OPERATOR 30 ?@ (tnpoint, bigintset), + -- contained tnpoint + OPERATOR 31 ?@ (tnpoint, tnpoint), + -- equal set + OPERATOR 40 @= (tnpoint, bigintset), + -- equal tnpoint + OPERATOR 41 @= (tnpoint, tnpoint), + -- functions + FUNCTION 2 tnpoint_gin_extract_value(bigint, internal), + FUNCTION 3 tnpoint_gin_extract_query(bigint, internal, int2, internal, internal, internal, internal), + FUNCTION 6 tnpoint_gin_triconsistent(internal, int2, bigint, int4, internal, internal, internal); + +/******************************************************************************/ diff --git a/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/npoint/093_tnpoint_distance.in.sql b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/npoint/093_tnpoint_distance.in.sql new file mode 100644 index 00000000..d5f54bf9 --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/npoint/093_tnpoint_distance.in.sql @@ -0,0 +1,187 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @file + * @brief Distance functions for temporal network points + */ + +/***************************************************************************** + * Temporal distance + *****************************************************************************/ + +CREATE FUNCTION tDistance(geometry(Point), tnpoint) + RETURNS tfloat + AS 'MODULE_PATHNAME', 'Tdistance_point_tnpoint' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tDistance(npoint, tnpoint) + RETURNS tfloat + AS 'MODULE_PATHNAME', 'Tdistance_npoint_tnpoint' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tDistance(tnpoint, geometry(Point)) + RETURNS tfloat + AS 'MODULE_PATHNAME', 'Tdistance_tnpoint_point' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tDistance(tnpoint, npoint) + RETURNS tfloat + AS 'MODULE_PATHNAME', 'Tdistance_tnpoint_npoint' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tDistance(tnpoint, tnpoint) + RETURNS tfloat + AS 'MODULE_PATHNAME', 'Tdistance_tnpoint_tnpoint' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR <-> ( + PROCEDURE = tDistance, + LEFTARG = geometry, + RIGHTARG = tnpoint, + COMMUTATOR = <-> +); +CREATE OPERATOR <-> ( + PROCEDURE = tDistance, + LEFTARG = npoint, + RIGHTARG = tnpoint, + COMMUTATOR = <-> +); +CREATE OPERATOR <-> ( + PROCEDURE = tDistance, + LEFTARG = tnpoint, + RIGHTARG = geometry, + COMMUTATOR = <-> +); +CREATE OPERATOR <-> ( + PROCEDURE = tDistance, + LEFTARG = tnpoint, + RIGHTARG = npoint, + COMMUTATOR = <-> +); +CREATE OPERATOR <-> ( + PROCEDURE = tDistance, + LEFTARG = tnpoint, + RIGHTARG = tnpoint, + COMMUTATOR = <-> +); + +/***************************************************************************** + * Nearest approach instant + *****************************************************************************/ + +CREATE FUNCTION NearestApproachInstant(geometry, tnpoint) + RETURNS tnpoint + AS 'MODULE_PATHNAME', 'NAI_geo_tnpoint' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION NearestApproachInstant(tnpoint, geometry) + RETURNS tnpoint + AS 'MODULE_PATHNAME', 'NAI_tnpoint_geo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION NearestApproachInstant(npoint, tnpoint) + RETURNS tnpoint + AS 'MODULE_PATHNAME', 'NAI_npoint_tnpoint' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION NearestApproachInstant(tnpoint, npoint) + RETURNS tnpoint + AS 'MODULE_PATHNAME', 'NAI_tnpoint_npoint' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION NearestApproachInstant(tnpoint, tnpoint) + RETURNS tnpoint + AS 'MODULE_PATHNAME', 'NAI_tnpoint_tnpoint' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/***************************************************************************** + * Nearest approach distance + *****************************************************************************/ + +CREATE FUNCTION nearestApproachDistance(geometry, tnpoint) + RETURNS float + AS 'MODULE_PATHNAME', 'NAD_geo_tnpoint' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION nearestApproachDistance(tnpoint, geometry) + RETURNS float + AS 'MODULE_PATHNAME', 'NAD_tnpoint_geo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION nearestApproachDistance(stbox, tnpoint) + RETURNS float + AS 'MODULE_PATHNAME', 'NAD_stbox_tnpoint' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION nearestApproachDistance(tnpoint, stbox) + RETURNS float + AS 'MODULE_PATHNAME', 'NAD_tnpoint_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION NearestApproachDistance(npoint, tnpoint) + RETURNS float + AS 'MODULE_PATHNAME', 'NAD_npoint_tnpoint' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION NearestApproachDistance(tnpoint, npoint) + RETURNS float + AS 'MODULE_PATHNAME', 'NAD_tnpoint_npoint' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION nearestApproachDistance(tnpoint, tnpoint) + RETURNS float + AS 'MODULE_PATHNAME', 'NAD_tnpoint_tnpoint' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR |=| ( + LEFTARG = geometry, RIGHTARG = tnpoint, + PROCEDURE = nearestApproachDistance, + COMMUTATOR = '|=|' +); +CREATE OPERATOR |=| ( + LEFTARG = tnpoint, RIGHTARG = geometry, + PROCEDURE = nearestApproachDistance, + COMMUTATOR = '|=|' +); +CREATE OPERATOR |=| ( + LEFTARG = stbox, RIGHTARG = tnpoint, + PROCEDURE = nearestApproachDistance, + COMMUTATOR = '|=|' +); +CREATE OPERATOR |=| ( + LEFTARG = tnpoint, RIGHTARG = stbox, + PROCEDURE = nearestApproachDistance, + COMMUTATOR = '|=|' +); +CREATE OPERATOR |=| ( + LEFTARG = npoint, RIGHTARG = tnpoint, + PROCEDURE = nearestApproachDistance, + COMMUTATOR = '|=|' +); +CREATE OPERATOR |=| ( + LEFTARG = tnpoint, RIGHTARG = npoint, + PROCEDURE = nearestApproachDistance, + COMMUTATOR = '|=|' +); +CREATE OPERATOR |=| ( + LEFTARG = tnpoint, RIGHTARG = tnpoint, + PROCEDURE = nearestApproachDistance, + COMMUTATOR = '|=|' +); + +/*****************************************************************************/ diff --git a/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/npoint/095_tnpoint_aggfuncs.in.sql b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/npoint/095_tnpoint_aggfuncs.in.sql new file mode 100644 index 00000000..e10f8eb8 --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/npoint/095_tnpoint_aggfuncs.in.sql @@ -0,0 +1,171 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @file + * @brief Aggregate functions for temporal network points + */ + +-- The function is not strict +CREATE FUNCTION tcount_transfn(internal, tnpoint) + RETURNS internal + AS 'MODULE_PATHNAME', 'Temporal_tcount_transfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; + +CREATE AGGREGATE tcount(tnpoint) ( + SFUNC = tcount_transfn, + STYPE = internal, + COMBINEFUNC = tcount_combinefn, + FINALFUNC = tint_tagg_finalfn, + SERIALFUNC = taggstate_serialize, + DESERIALFUNC = taggstate_deserialize, + PARALLEL = SAFE +); + +-- The function is not strict +CREATE FUNCTION wcount_transfn(internal, tnpoint, interval) + RETURNS internal + AS 'MODULE_PATHNAME', 'Temporal_wcount_transfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; + +CREATE AGGREGATE wcount(tnpoint, interval) ( + SFUNC = wcount_transfn, + STYPE = internal, + COMBINEFUNC = tint_tsum_combinefn, + FINALFUNC = tint_tagg_finalfn, + SERIALFUNC = taggstate_serialize, + DESERIALFUNC = taggstate_deserialize, + PARALLEL = SAFE +); + +-- The function is not strict +CREATE FUNCTION tcentroid_transfn(internal, tnpoint) + RETURNS internal + AS 'MODULE_PATHNAME', 'Tnpoint_tcentroid_transfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; + +CREATE AGGREGATE tcentroid(tnpoint) ( + SFUNC = tcentroid_transfn, + STYPE = internal, + COMBINEFUNC = tcentroid_combinefn, + FINALFUNC = tcentroid_finalfn, + SERIALFUNC = taggstate_serialize, + DESERIALFUNC = taggstate_deserialize, + PARALLEL = SAFE +); + +/*****************************************************************************/ + +-- The function is not strict +CREATE FUNCTION temporal_merge_transfn(internal, tnpoint) + RETURNS internal + AS 'MODULE_PATHNAME', 'Temporal_merge_transfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION tnpoint_tagg_finalfn(internal) + RETURNS tnpoint + AS 'MODULE_PATHNAME', 'Temporal_tagg_finalfn' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE AGGREGATE merge(tnpoint) ( + SFUNC = temporal_merge_transfn, + STYPE = internal, + COMBINEFUNC = temporal_merge_combinefn, + FINALFUNC = tnpoint_tagg_finalfn, + SERIALFUNC = taggstate_serialize, + DESERIALFUNC = taggstate_deserialize, + PARALLEL = safe +); + +/***************************************************************************** + * Append tinstant aggregate functions + *****************************************************************************/ + +-- The function is not STRICT +CREATE FUNCTION temporal_app_tinst_transfn(tnpoint, tnpoint) + RETURNS tnpoint + AS 'MODULE_PATHNAME', 'Temporal_app_tinst_transfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; + +-- The function is not STRICT +CREATE FUNCTION temporal_app_tinst_transfn(tnpoint, tnpoint, + interp text DEFAULT NULL) + RETURNS tnpoint + AS 'MODULE_PATHNAME', 'Temporal_app_tinst_transfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; + +-- The function is not STRICT +CREATE FUNCTION temporal_app_tinst_transfn(tnpoint, tnpoint, + interp text DEFAULT NULL, maxdist float DEFAULT NULL, + maxt interval DEFAULT NULL) + RETURNS tnpoint + AS 'MODULE_PATHNAME', 'Temporal_app_tinst_transfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; + +CREATE FUNCTION temporal_append_finalfn(tnpoint) + RETURNS tnpoint + AS 'MODULE_PATHNAME', 'Temporal_append_finalfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; + +CREATE AGGREGATE appendInstant(tnpoint) ( + SFUNC = temporal_app_tinst_transfn, + STYPE = tnpoint, + FINALFUNC = temporal_append_finalfn, + PARALLEL = safe +); + +CREATE AGGREGATE appendInstant(tnpoint, text) ( + SFUNC = temporal_app_tinst_transfn, + STYPE = tnpoint, + FINALFUNC = temporal_append_finalfn, + PARALLEL = safe +); + +CREATE AGGREGATE appendInstant(tnpoint, text, float, interval) ( + SFUNC = temporal_app_tinst_transfn, + STYPE = tnpoint, + FINALFUNC = temporal_append_finalfn, + PARALLEL = safe +); + +/*****************************************************************************/ + +-- The function is not STRICT +CREATE FUNCTION temporal_app_tseq_transfn(tnpoint, tnpoint) + RETURNS tnpoint + AS 'MODULE_PATHNAME', 'Temporal_app_tseq_transfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; + +CREATE AGGREGATE appendSequence(tnpoint) ( + SFUNC = temporal_app_tseq_transfn, + STYPE = tnpoint, + FINALFUNC = temporal_append_finalfn, + PARALLEL = safe +); + +/*****************************************************************************/ diff --git a/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/npoint/098_tnpoint_indexes.in.sql b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/npoint/098_tnpoint_indexes.in.sql new file mode 100644 index 00000000..58d6e157 --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/npoint/098_tnpoint_indexes.in.sql @@ -0,0 +1,267 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @file + * @brief R-tree GiST, Quad-tree SP-GiST, and k-d tree SP-GiST indexes for + * temporal network points + */ + +/******************************************************************************/ + +CREATE FUNCTION tnpoint_gist_consistent(internal, tnpoint, smallint, oid, internal) + RETURNS bool + AS 'MODULE_PATHNAME', 'Stbox_gist_consistent' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/******************************************************************************/ + +CREATE OPERATOR CLASS tnpoint_rtree_ops + DEFAULT FOR TYPE tnpoint USING gist AS + STORAGE stbox, + -- strictly left + OPERATOR 1 << (tnpoint, stbox), + OPERATOR 1 << (tnpoint, tnpoint), + -- overlaps or left + OPERATOR 2 &< (tnpoint, stbox), + OPERATOR 2 &< (tnpoint, tnpoint), + -- overlaps + OPERATOR 3 && (tnpoint, tstzspan), + OPERATOR 3 && (tnpoint, stbox), + OPERATOR 3 && (tnpoint, tnpoint), + -- overlaps or right + OPERATOR 4 &> (tnpoint, stbox), + OPERATOR 4 &> (tnpoint, tnpoint), + -- strictly right + OPERATOR 5 >> (tnpoint, stbox), + OPERATOR 5 >> (tnpoint, tnpoint), + -- same + OPERATOR 6 ~= (tnpoint, tstzspan), + OPERATOR 6 ~= (tnpoint, stbox), + OPERATOR 6 ~= (tnpoint, tnpoint), + -- contains + OPERATOR 7 @> (tnpoint, tstzspan), + OPERATOR 7 @> (tnpoint, stbox), + OPERATOR 7 @> (tnpoint, tnpoint), + -- contained by + OPERATOR 8 <@ (tnpoint, tstzspan), + OPERATOR 8 <@ (tnpoint, stbox), + OPERATOR 8 <@ (tnpoint, tnpoint), + -- overlaps or below + OPERATOR 9 &<| (tnpoint, stbox), + OPERATOR 9 &<| (tnpoint, tnpoint), + -- strictly below + OPERATOR 10 <<| (tnpoint, stbox), + OPERATOR 10 <<| (tnpoint, tnpoint), + -- strictly above + OPERATOR 11 |>> (tnpoint, stbox), + OPERATOR 11 |>> (tnpoint, tnpoint), + -- overlaps or above + OPERATOR 12 |&> (tnpoint, stbox), + OPERATOR 12 |&> (tnpoint, tnpoint), + -- adjacent + OPERATOR 17 -|- (tnpoint, tstzspan), + OPERATOR 17 -|- (tnpoint, stbox), + OPERATOR 17 -|- (tnpoint, tnpoint), + -- nearest approach distance +-- OPERATOR 25 |=| (tnpoint, stbox) FOR ORDER BY pg_catalog.float_ops, + -- overlaps or before + OPERATOR 28 &<# (tnpoint, tstzspan), + OPERATOR 28 &<# (tnpoint, stbox), + OPERATOR 28 &<# (tnpoint, tnpoint), + -- strictly before + OPERATOR 29 <<# (tnpoint, tstzspan), + OPERATOR 29 <<# (tnpoint, stbox), + OPERATOR 29 <<# (tnpoint, tnpoint), + -- strictly after + OPERATOR 30 #>> (tnpoint, tstzspan), + OPERATOR 30 #>> (tnpoint, stbox), + OPERATOR 30 #>> (tnpoint, tnpoint), + -- overlaps or after + OPERATOR 31 #&> (tnpoint, tstzspan), + OPERATOR 31 #&> (tnpoint, stbox), + OPERATOR 31 #&> (tnpoint, tnpoint), + -- functions + FUNCTION 1 tnpoint_gist_consistent(internal, tnpoint, smallint, oid, internal), + FUNCTION 2 stbox_gist_union(internal, internal), + FUNCTION 3 tspatial_gist_compress(internal), + FUNCTION 5 stbox_gist_penalty(internal, internal, internal), + FUNCTION 6 stbox_gist_picksplit(internal, internal), + FUNCTION 7 stbox_gist_same(stbox, stbox, internal); +-- FUNCTION 8 gist_tnpoint_distance(internal, tnpoint, smallint, oid, internal), + +/******************************************************************************/ + +CREATE OPERATOR CLASS tnpoint_quadtree_ops + DEFAULT FOR TYPE tnpoint USING spgist AS + -- strictly left + OPERATOR 1 << (tnpoint, stbox), + OPERATOR 1 << (tnpoint, tnpoint), + -- overlaps or left + OPERATOR 2 &< (tnpoint, stbox), + OPERATOR 2 &< (tnpoint, tnpoint), + -- overlaps + OPERATOR 3 && (tnpoint, tstzspan), + OPERATOR 3 && (tnpoint, stbox), + OPERATOR 3 && (tnpoint, tnpoint), + -- overlaps or right + OPERATOR 4 &> (tnpoint, stbox), + OPERATOR 4 &> (tnpoint, tnpoint), + -- strictly right + OPERATOR 5 >> (tnpoint, stbox), + OPERATOR 5 >> (tnpoint, tnpoint), + -- same + OPERATOR 6 ~= (tnpoint, tstzspan), + OPERATOR 6 ~= (tnpoint, stbox), + OPERATOR 6 ~= (tnpoint, tnpoint), + -- contains + OPERATOR 7 @> (tnpoint, tstzspan), + OPERATOR 7 @> (tnpoint, stbox), + OPERATOR 7 @> (tnpoint, tnpoint), + -- contained by + OPERATOR 8 <@ (tnpoint, tstzspan), + OPERATOR 8 <@ (tnpoint, stbox), + OPERATOR 8 <@ (tnpoint, tnpoint), + -- overlaps or below + OPERATOR 9 &<| (tnpoint, stbox), + OPERATOR 9 &<| (tnpoint, tnpoint), + -- strictly below + OPERATOR 10 <<| (tnpoint, stbox), + OPERATOR 10 <<| (tnpoint, tnpoint), + -- strictly above + OPERATOR 11 |>> (tnpoint, stbox), + OPERATOR 11 |>> (tnpoint, tnpoint), + -- overlaps or above + OPERATOR 12 |&> (tnpoint, stbox), + OPERATOR 12 |&> (tnpoint, tnpoint), + -- adjacent + OPERATOR 17 -|- (tnpoint, tstzspan), + OPERATOR 17 -|- (tnpoint, stbox), + OPERATOR 17 -|- (tnpoint, tnpoint), + -- nearest approach distance +-- OPERATOR 25 |=| (tnpoint, stbox) FOR ORDER BY pg_catalog.float_ops, + -- overlaps or before + OPERATOR 28 &<# (tnpoint, tstzspan), + OPERATOR 28 &<# (tnpoint, stbox), + OPERATOR 28 &<# (tnpoint, tnpoint), + -- strictly before + OPERATOR 29 <<# (tnpoint, tstzspan), + OPERATOR 29 <<# (tnpoint, stbox), + OPERATOR 29 <<# (tnpoint, tnpoint), + -- strictly after + OPERATOR 30 #>> (tnpoint, tstzspan), + OPERATOR 30 #>> (tnpoint, stbox), + OPERATOR 30 #>> (tnpoint, tnpoint), + -- overlaps or after + OPERATOR 31 #&> (tnpoint, tstzspan), + OPERATOR 31 #&> (tnpoint, stbox), + OPERATOR 31 #&> (tnpoint, tnpoint), + -- functions + FUNCTION 1 stbox_spgist_config(internal, internal), + FUNCTION 2 stbox_quadtree_choose(internal, internal), + FUNCTION 3 stbox_quadtree_picksplit(internal, internal), + FUNCTION 4 stbox_quadtree_inner_consistent(internal, internal), + FUNCTION 5 stbox_spgist_leaf_consistent(internal, internal), + FUNCTION 6 tspatial_spgist_compress(internal); + +/******************************************************************************/ + +CREATE OPERATOR CLASS tnpoint_kdtree_ops + FOR TYPE tnpoint USING spgist AS + -- strictly left + OPERATOR 1 << (tnpoint, stbox), + OPERATOR 1 << (tnpoint, tnpoint), + -- overlaps or left + OPERATOR 2 &< (tnpoint, stbox), + OPERATOR 2 &< (tnpoint, tnpoint), + -- overlaps + OPERATOR 3 && (tnpoint, tstzspan), + OPERATOR 3 && (tnpoint, stbox), + OPERATOR 3 && (tnpoint, tnpoint), + -- overlaps or right + OPERATOR 4 &> (tnpoint, stbox), + OPERATOR 4 &> (tnpoint, tnpoint), + -- strictly right + OPERATOR 5 >> (tnpoint, stbox), + OPERATOR 5 >> (tnpoint, tnpoint), + -- same + OPERATOR 6 ~= (tnpoint, tstzspan), + OPERATOR 6 ~= (tnpoint, stbox), + OPERATOR 6 ~= (tnpoint, tnpoint), + -- contains + OPERATOR 7 @> (tnpoint, tstzspan), + OPERATOR 7 @> (tnpoint, stbox), + OPERATOR 7 @> (tnpoint, tnpoint), + -- contained by + OPERATOR 8 <@ (tnpoint, tstzspan), + OPERATOR 8 <@ (tnpoint, stbox), + OPERATOR 8 <@ (tnpoint, tnpoint), + -- overlaps or below + OPERATOR 9 &<| (tnpoint, stbox), + OPERATOR 9 &<| (tnpoint, tnpoint), + -- strictly below + OPERATOR 10 <<| (tnpoint, stbox), + OPERATOR 10 <<| (tnpoint, tnpoint), + -- strictly above + OPERATOR 11 |>> (tnpoint, stbox), + OPERATOR 11 |>> (tnpoint, tnpoint), + -- overlaps or above + OPERATOR 12 |&> (tnpoint, stbox), + OPERATOR 12 |&> (tnpoint, tnpoint), + -- adjacent + OPERATOR 17 -|- (tnpoint, tstzspan), + OPERATOR 17 -|- (tnpoint, stbox), + OPERATOR 17 -|- (tnpoint, tnpoint), + -- nearest approach distance +-- OPERATOR 25 |=| (tnpoint, stbox) FOR ORDER BY pg_catalog.float_ops, + -- overlaps or before + OPERATOR 28 &<# (tnpoint, tstzspan), + OPERATOR 28 &<# (tnpoint, stbox), + OPERATOR 28 &<# (tnpoint, tnpoint), + -- strictly before + OPERATOR 29 <<# (tnpoint, tstzspan), + OPERATOR 29 <<# (tnpoint, stbox), + OPERATOR 29 <<# (tnpoint, tnpoint), + -- strictly after + OPERATOR 30 #>> (tnpoint, tstzspan), + OPERATOR 30 #>> (tnpoint, stbox), + OPERATOR 30 #>> (tnpoint, tnpoint), + -- overlaps or after + OPERATOR 31 #&> (tnpoint, tstzspan), + OPERATOR 31 #&> (tnpoint, stbox), + OPERATOR 31 #&> (tnpoint, tnpoint), + -- functions + FUNCTION 1 stbox_spgist_config(internal, internal), + FUNCTION 2 stbox_kdtree_choose(internal, internal), + FUNCTION 3 stbox_kdtree_picksplit(internal, internal), + FUNCTION 4 stbox_kdtree_inner_consistent(internal, internal), + FUNCTION 5 stbox_spgist_leaf_consistent(internal, internal), + FUNCTION 6 tspatial_spgist_compress(internal); + +/******************************************************************************/ diff --git a/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/npoint/CMakeLists.txt b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/npoint/CMakeLists.txt new file mode 100644 index 00000000..c67c17e5 --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/npoint/CMakeLists.txt @@ -0,0 +1,24 @@ +# No Postgres version dependant files + +SET(LOCAL_FILES + 081_npoint + 082_npointset + 083_tnpoint + 085_tnpoint_compops + 087_tnpoint_spatialfuncs + 089_tnpoint_topops + 090_tnpoint_posops + 091_tnpoint_routeops + 092_tnpoint_gin + 093_tnpoint_distance + 095_tnpoint_aggfuncs + 098_tnpoint_indexes + ) + +foreach (f ${LOCAL_FILES}) + process_file(${f} ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR}) + configure_file(${CMAKE_CURRENT_BINARY_DIR}/${f}.sql.in ${CMAKE_BINARY_DIR}/MobilityDB/sql/${f}.sql @ONLY) + list(APPEND PACKAGE_SQL_FILES ${CMAKE_BINARY_DIR}/MobilityDB/sql/${f}.sql) +endforeach() + +set(PROJECT_SQL_FILES ${PROJECT_SQL_FILES} ${PACKAGE_SQL_FILES} PARENT_SCOPE) diff --git a/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/pose/100_pose.in.sql b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/pose/100_pose.in.sql new file mode 100644 index 00000000..f5fc22fd --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/pose/100_pose.in.sql @@ -0,0 +1,346 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @file + * @brief Functions for the static pose type + */ + +CREATE TYPE pose; + +/****************************************************************************** + * Input/Output + ******************************************************************************/ + +CREATE FUNCTION pose_in(cstring) + RETURNS pose + AS 'MODULE_PATHNAME', 'Pose_in' + LANGUAGE C IMMUTABLE STRICT; + +CREATE FUNCTION pose_out(pose) + RETURNS cstring + AS 'MODULE_PATHNAME', 'Pose_out' + LANGUAGE C IMMUTABLE STRICT; + +CREATE FUNCTION pose_recv(internal) + RETURNS pose + AS 'MODULE_PATHNAME', 'Pose_recv' + LANGUAGE C IMMUTABLE STRICT; + +CREATE FUNCTION pose_send(pose) + RETURNS bytea + AS 'MODULE_PATHNAME', 'Pose_send' + LANGUAGE C IMMUTABLE STRICT; + +CREATE TYPE pose ( + internallength = variable, + input = pose_in, + output = pose_out, + receive = pose_recv, + send = pose_send, + storage = plain, + alignment = double +); + +/***************************************************************************** + * Input/output from (E)WKT, (E)WKB, and HexEWKB + *****************************************************************************/ + +CREATE FUNCTION poseFromText(text) + RETURNS pose + AS 'MODULE_PATHNAME', 'Pose_from_ewkt' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION poseFromEWKT(text) + RETURNS pose + AS 'MODULE_PATHNAME', 'Pose_from_ewkt' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION poseFromBinary(bytea) + RETURNS pose + AS 'MODULE_PATHNAME', 'Pose_from_wkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION poseFromEWKB(bytea) + RETURNS pose + AS 'MODULE_PATHNAME', 'Pose_from_wkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION poseFromHexEWKB(text) + RETURNS pose + AS 'MODULE_PATHNAME', 'Pose_from_hexwkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/*****************************************************************************/ + +CREATE FUNCTION asText(pose, maxdecimaldigits int4 DEFAULT 15) + RETURNS text + AS 'MODULE_PATHNAME', 'Pose_as_text' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION asText(pose[], maxdecimaldigits int4 DEFAULT 15) + RETURNS text[] + AS 'MODULE_PATHNAME', 'Spatialarr_as_text' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION asEWKT(pose, maxdecimaldigits int4 DEFAULT 15) + RETURNS text + AS 'MODULE_PATHNAME', 'Pose_as_ewkt' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION asEWKT(pose[], maxdecimaldigits int4 DEFAULT 15) + RETURNS text[] + AS 'MODULE_PATHNAME', 'Spatialarr_as_ewkt' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION asBinary(pose, endianenconding text DEFAULT '') + RETURNS bytea + AS 'MODULE_PATHNAME', 'Pose_as_wkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION asEWKB(pose, endianenconding text DEFAULT '') + RETURNS bytea + AS 'MODULE_PATHNAME', 'Pose_as_ewkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION asHexEWKB(pose, endianenconding text DEFAULT '') + RETURNS text + AS 'MODULE_PATHNAME', 'Pose_as_hexwkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/****************************************************************************** + * Constructors + ******************************************************************************/ + +CREATE FUNCTION pose(double precision, double precision, double precision, + srid integer DEFAULT 0) + RETURNS pose + AS 'MODULE_PATHNAME', 'Pose_constructor' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION pose(double precision, double precision, double precision, + double precision, double precision, double precision, double precision, + srid integer DEFAULT 0) + RETURNS pose + AS 'MODULE_PATHNAME', 'Pose_constructor' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION pose(geometry, double precision) + RETURNS pose + AS 'MODULE_PATHNAME', 'Pose_constructor_point' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION pose(geometry, double precision, double precision, + double precision, double precision) + RETURNS pose + AS 'MODULE_PATHNAME', 'Pose_constructor_point' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/***************************************************************************** + * Conversions + *****************************************************************************/ + +CREATE FUNCTION geometry(pose) + RETURNS geometry + AS 'MODULE_PATHNAME', 'Pose_to_point' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE CAST (pose AS geometry) WITH FUNCTION geometry(pose); + +/***************************************************************************** + * Accessor functions + *****************************************************************************/ + +CREATE FUNCTION point(pose) + RETURNS geometry + AS 'MODULE_PATHNAME', 'Pose_point' + LANGUAGE C IMMUTABLE STRICT; + +CREATE FUNCTION rotation(pose) + RETURNS float + AS 'MODULE_PATHNAME', 'Pose_rotation' + LANGUAGE C IMMUTABLE STRICT; + +CREATE TYPE quaternion AS ( + W float, + X float, + Y float, + Z float +); + +CREATE FUNCTION orientation(pose) + RETURNS quaternion + AS 'MODULE_PATHNAME', 'Pose_orientation' + LANGUAGE C IMMUTABLE STRICT; + +/***************************************************************************** + * Modification functions + *****************************************************************************/ + +CREATE FUNCTION round(pose, integer DEFAULT 0) + RETURNS pose + AS 'MODULE_PATHNAME', 'Pose_round' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/***************************************************************************** + * SRID functions + *****************************************************************************/ + +CREATE FUNCTION SRID(pose) + RETURNS integer + AS 'MODULE_PATHNAME', 'Pose_srid' + LANGUAGE C IMMUTABLE STRICT; + +CREATE FUNCTION setSRID(pose, integer) + RETURNS pose + AS 'MODULE_PATHNAME', 'Pose_set_srid' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION transform(pose, integer) + RETURNS pose + AS 'MODULE_PATHNAME', 'Pose_transform' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION transformPipeline(pose, text, srid integer DEFAULT 0, + is_forward boolean DEFAULT true) + RETURNS pose + AS 'MODULE_PATHNAME', 'Pose_transform_pipeline' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/***************************************************************************** + * Same + *****************************************************************************/ + +CREATE FUNCTION pose_same(pose, pose) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Pose_same' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR ~= ( + PROCEDURE = pose_same, + LEFTARG = pose, RIGHTARG = pose, + COMMUTATOR = ~=, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +/****************************************************************************** + * Comparisons + ******************************************************************************/ + +CREATE FUNCTION pose_eq(pose, pose) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Pose_eq' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION pose_ne(pose, pose) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Pose_ne' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION pose_lt(pose, pose) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Pose_lt' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION pose_le(pose, pose) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Pose_le' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION pose_ge(pose, pose) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Pose_ge' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION pose_gt(pose, pose) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Pose_gt' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION pose_cmp(pose, pose) + RETURNS int4 + AS 'MODULE_PATHNAME', 'Pose_cmp' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR = ( + PROCEDURE = pose_eq, + LEFTARG = pose, RIGHTARG = pose, + COMMUTATOR = =, NEGATOR = <>, + RESTRICT = eqsel, JOIN = eqjoinsel +); +CREATE OPERATOR <> ( + PROCEDURE = pose_ne, + LEFTARG = pose, RIGHTARG = pose, + COMMUTATOR = <>, NEGATOR = =, + RESTRICT = neqsel, JOIN = neqjoinsel +); +CREATE OPERATOR < ( + PROCEDURE = pose_lt, + LEFTARG = pose, RIGHTARG = pose, + COMMUTATOR = >, NEGATOR = >=, + RESTRICT = scalarltsel, JOIN = scalarltjoinsel +); +CREATE OPERATOR <= ( + PROCEDURE = pose_le, + LEFTARG = pose, RIGHTARG = pose, + COMMUTATOR = >=, NEGATOR = >, + RESTRICT = scalarlesel, JOIN = scalarlejoinsel +); +CREATE OPERATOR >= ( + PROCEDURE = pose_ge, + LEFTARG = pose, RIGHTARG = pose, + COMMUTATOR = <=, NEGATOR = <, + RESTRICT = scalargesel, JOIN = scalargejoinsel +); +CREATE OPERATOR > ( + PROCEDURE = pose_gt, + LEFTARG = pose, RIGHTARG = pose, + COMMUTATOR = <, NEGATOR = <=, + RESTRICT = scalargtsel, JOIN = scalargtjoinsel +); + +CREATE OPERATOR CLASS pose_btree_ops + DEFAULT FOR TYPE pose USING btree AS + OPERATOR 1 < , + OPERATOR 2 <= , + OPERATOR 3 = , + OPERATOR 4 >= , + OPERATOR 5 > , + FUNCTION 1 pose_cmp(pose, pose); + +/******************************************************************************/ + +CREATE FUNCTION pose_hash(pose) + RETURNS integer + AS 'MODULE_PATHNAME', 'Pose_hash' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION pose_hash_extended(pose, bigint) + RETURNS bigint + AS 'MODULE_PATHNAME', 'Pose_hash_extended' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR CLASS pose_hash_ops + DEFAULT FOR TYPE pose USING hash AS + OPERATOR 1 = , + FUNCTION 1 pose_hash(pose), + FUNCTION 2 pose_hash_extended(pose, bigint); + +/******************************************************************************/ diff --git a/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/pose/101_poseset.in.sql b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/pose/101_poseset.in.sql new file mode 100644 index 00000000..6ce5bf0d --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/pose/101_poseset.in.sql @@ -0,0 +1,529 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @file + * @brief Functions for set of circular buffers + */ + +/****************************************************************************** + * Input/Output + ******************************************************************************/ + +CREATE TYPE poseset; + +CREATE FUNCTION poseset_in(cstring) + RETURNS poseset + AS 'MODULE_PATHNAME', 'Set_in' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION poseset_out(poseset) + RETURNS cstring + AS 'MODULE_PATHNAME', 'Set_out' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION poseset_recv(internal) + RETURNS poseset + AS 'MODULE_PATHNAME', 'Set_recv' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION poseset_send(poseset) + RETURNS bytea + AS 'MODULE_PATHNAME', 'Set_send' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE TYPE poseset ( + internallength = variable, + input = poseset_in, + output = poseset_out, + receive = poseset_recv, + send = poseset_send, + alignment = double, + storage = extended + -- , analyze = geoset_analyze +); + +/******************************************************************************/ + +-- Input/output in WKT, WKB, and HexWKB representation + +CREATE FUNCTION posesetFromText(text) + RETURNS poseset + AS 'MODULE_PATHNAME', 'Spatialset_from_ewkt' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION posesetFromEWKT(text) + RETURNS poseset + AS 'MODULE_PATHNAME', 'Spatialset_from_ewkt' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION posesetFromBinary(bytea) + RETURNS poseset + AS 'MODULE_PATHNAME', 'Set_from_wkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION posesetFromEWKB(bytea) + RETURNS poseset + AS 'MODULE_PATHNAME', 'Set_from_wkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION posesetFromHexWKB(text) + RETURNS poseset + AS 'MODULE_PATHNAME', 'Set_from_hexwkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION asText(poseset, maxdecimaldigits int4 DEFAULT 15) + RETURNS text + AS 'MODULE_PATHNAME', 'Spatialset_as_text' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION asEWKT(poseset, maxdecimaldigits int4 DEFAULT 15) + RETURNS text + AS 'MODULE_PATHNAME', 'Spatialset_as_ewkt' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION asBinary(poseset, endianenconding text DEFAULT '') + RETURNS bytea + AS 'MODULE_PATHNAME', 'Set_as_wkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION asEWKB(poseset, endianenconding text DEFAULT '') + RETURNS bytea + AS 'MODULE_PATHNAME', 'Spatialset_as_ewkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION asHexWKB(poseset, endianenconding text DEFAULT '') + RETURNS text + AS 'MODULE_PATHNAME', 'Set_as_hexwkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/****************************************************************************** + * Constructors + ******************************************************************************/ + +CREATE FUNCTION set(pose[]) + RETURNS poseset + AS 'MODULE_PATHNAME', 'Set_constructor' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/****************************************************************************** + * Conversion functions + ******************************************************************************/ + +CREATE FUNCTION set(pose) + RETURNS poseset + AS 'MODULE_PATHNAME', 'Value_to_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE CAST (pose AS poseset) WITH FUNCTION set(pose); + +CREATE FUNCTION stbox(poseset) + RETURNS stbox + AS 'MODULE_PATHNAME', 'Spatialset_to_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE CAST (poseset AS stbox) WITH FUNCTION stbox(poseset); + +/***************************************************************************** + * Transformation functions + *****************************************************************************/ + +CREATE FUNCTION round(poseset, integer DEFAULT 0) + RETURNS poseset + AS 'MODULE_PATHNAME', 'Set_round' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/****************************************************************************** + * Accessor functions + ******************************************************************************/ + +CREATE FUNCTION memSize(poseset) + RETURNS integer + AS 'MODULE_PATHNAME', 'Set_mem_size' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION numValues(poseset) + RETURNS integer + AS 'MODULE_PATHNAME', 'Set_num_values' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION startValue(poseset) + RETURNS pose + AS 'MODULE_PATHNAME', 'Set_start_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION endValue(poseset) + RETURNS pose + AS 'MODULE_PATHNAME', 'Set_end_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION valueN(poseset, integer) + RETURNS pose + AS 'MODULE_PATHNAME', 'Set_value_n' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION getValues(poseset) + RETURNS pose[] + AS 'MODULE_PATHNAME', 'Set_values' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/****************************************************************************** + * SRID + ******************************************************************************/ + +CREATE FUNCTION SRID(poseset) + RETURNS integer + AS 'MODULE_PATHNAME', 'Spatialset_srid' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION setSRID(poseset, integer) + RETURNS poseset + AS 'MODULE_PATHNAME', 'Spatialset_set_srid' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION transform(poseset, integer) + RETURNS poseset + AS 'MODULE_PATHNAME', 'Spatialset_transform' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION transformPipeline(poseset, text, srid integer DEFAULT 0, + is_forward boolean DEFAULT true) + RETURNS poseset + AS 'MODULE_PATHNAME', 'Spatialset_transform_pipeline' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/****************************************************************************** + * Transformation set of values <-> set + ******************************************************************************/ + +CREATE FUNCTION unnest(poseset) + RETURNS SETOF pose + AS 'MODULE_PATHNAME', 'Set_unnest' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/*****************************************************************************/ + +-- The function is not STRICT +CREATE FUNCTION set_union_transfn(internal, pose) + RETURNS internal + AS 'MODULE_PATHNAME', 'Value_union_transfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION set_union_transfn(internal, poseset) + RETURNS internal + AS 'MODULE_PATHNAME', 'Set_union_transfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION poseset_union_finalfn(internal) + RETURNS poseset + AS 'MODULE_PATHNAME', 'Set_union_finalfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; + +CREATE AGGREGATE setUnion(pose) ( + SFUNC = set_union_transfn, + STYPE = internal, + FINALFUNC = poseset_union_finalfn +); +CREATE AGGREGATE setUnion(poseset) ( + SFUNC = set_union_transfn, + STYPE = internal, + FINALFUNC = poseset_union_finalfn +); + +/****************************************************************************** + * Comparison functions and B-tree indexing + ******************************************************************************/ + +CREATE FUNCTION set_eq(poseset, poseset) + RETURNS bool + AS 'MODULE_PATHNAME', 'Set_eq' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_ne(poseset, poseset) + RETURNS bool + AS 'MODULE_PATHNAME', 'Set_ne' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_lt(poseset, poseset) + RETURNS bool + AS 'MODULE_PATHNAME', 'Set_lt' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_le(poseset, poseset) + RETURNS bool + AS 'MODULE_PATHNAME', 'Set_le' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_ge(poseset, poseset) + RETURNS bool + AS 'MODULE_PATHNAME', 'Set_ge' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_gt(poseset, poseset) + RETURNS bool + AS 'MODULE_PATHNAME', 'Set_gt' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_cmp(poseset, poseset) + RETURNS integer + AS 'MODULE_PATHNAME', 'Set_cmp' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR = ( + LEFTARG = poseset, RIGHTARG = poseset, + PROCEDURE = set_eq, + COMMUTATOR = =, NEGATOR = <>, + RESTRICT = eqsel, JOIN = eqjoinsel +); +CREATE OPERATOR <> ( + LEFTARG = poseset, RIGHTARG = poseset, + PROCEDURE = set_ne, + COMMUTATOR = <>, NEGATOR = =, + RESTRICT = neqsel, JOIN = neqjoinsel +); +CREATE OPERATOR < ( + LEFTARG = poseset, RIGHTARG = poseset, + PROCEDURE = set_lt, + COMMUTATOR = >, NEGATOR = >= + -- RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR <= ( + LEFTARG = poseset, RIGHTARG = poseset, + PROCEDURE = set_le, + COMMUTATOR = >=, NEGATOR = > + -- RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR >= ( + LEFTARG = poseset, RIGHTARG = poseset, + PROCEDURE = set_ge, + COMMUTATOR = <=, NEGATOR = < + -- RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR > ( + LEFTARG = poseset, RIGHTARG = poseset, + PROCEDURE = set_gt, + COMMUTATOR = <, NEGATOR = <= + -- RESTRICT = span_sel, JOIN = span_joinsel +); + +CREATE OPERATOR CLASS poseset_btree_ops + DEFAULT FOR TYPE poseset USING btree AS + OPERATOR 1 <, + OPERATOR 2 <=, + OPERATOR 3 =, + OPERATOR 4 >=, + OPERATOR 5 >, + FUNCTION 1 set_cmp(poseset, poseset); + +/******************************************************************************/ + +CREATE FUNCTION set_hash(poseset) + RETURNS integer + AS 'MODULE_PATHNAME', 'Set_hash' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_hash_extended(poseset, bigint) + RETURNS bigint + AS 'MODULE_PATHNAME', 'Set_hash_extended' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR CLASS poseset_hash_ops + DEFAULT FOR TYPE poseset USING hash AS + OPERATOR 1 = , + FUNCTION 1 set_hash(poseset), + FUNCTION 2 set_hash_extended(poseset, bigint); + +/****************************************************************************** + * Operators + ******************************************************************************/ + +CREATE FUNCTION set_contains(poseset, pose) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contains_set_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_contains(poseset, poseset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contains_set_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR @> ( + PROCEDURE = set_contains, + LEFTARG = poseset, RIGHTARG = pose, + COMMUTATOR = <@ + -- RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR @> ( + PROCEDURE = set_contains, + LEFTARG = poseset, RIGHTARG = poseset, + COMMUTATOR = <@ + -- RESTRICT = span_sel, JOIN = span_joinsel +); + +/******************************************************************************/ + +CREATE FUNCTION set_contained(pose, poseset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contained_value_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_contained(poseset, poseset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contained_set_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR <@ ( + PROCEDURE = set_contained, + LEFTARG = pose, RIGHTARG = poseset, + COMMUTATOR = @> + -- RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR <@ ( + PROCEDURE = set_contained, + LEFTARG = poseset, RIGHTARG = poseset, + COMMUTATOR = @> + -- RESTRICT = span_sel, JOIN = span_joinsel +); + +/******************************************************************************/ + +CREATE FUNCTION set_overlaps(poseset, poseset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overlaps_set_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR && ( + PROCEDURE = set_overlaps, + LEFTARG = poseset, RIGHTARG = poseset, + COMMUTATOR = && + -- RESTRICT = span_sel, JOIN = span_joinsel +); + +/*****************************************************************************/ + +CREATE FUNCTION set_union(pose, poseset) + RETURNS poseset + AS 'MODULE_PATHNAME', 'Union_value_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_union(poseset, pose) + RETURNS poseset + AS 'MODULE_PATHNAME', 'Union_set_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_union(poseset, poseset) + RETURNS poseset + AS 'MODULE_PATHNAME', 'Union_set_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR + ( + PROCEDURE = set_union, + LEFTARG = pose, RIGHTARG = poseset, + COMMUTATOR = + +); +CREATE OPERATOR + ( + PROCEDURE = set_union, + LEFTARG = poseset, RIGHTARG = pose, + COMMUTATOR = + +); +CREATE OPERATOR + ( + PROCEDURE = set_union, + LEFTARG = poseset, RIGHTARG = poseset, + COMMUTATOR = + +); + +/*****************************************************************************/ + +CREATE FUNCTION set_minus(pose, poseset) + RETURNS pose + AS 'MODULE_PATHNAME', 'Minus_value_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_minus(poseset, pose) + RETURNS poseset + AS 'MODULE_PATHNAME', 'Minus_set_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_minus(poseset, poseset) + RETURNS poseset + AS 'MODULE_PATHNAME', 'Minus_set_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR - ( + PROCEDURE = set_minus, + LEFTARG = pose, RIGHTARG = poseset +); +CREATE OPERATOR - ( + PROCEDURE = set_minus, + LEFTARG = poseset, RIGHTARG = pose +); +CREATE OPERATOR - ( + PROCEDURE = set_minus, + LEFTARG = poseset, RIGHTARG = poseset +); + +/*****************************************************************************/ + +CREATE FUNCTION set_intersection(pose, poseset) + RETURNS pose + AS 'MODULE_PATHNAME', 'Intersection_value_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_intersection(poseset, pose) + RETURNS pose + AS 'MODULE_PATHNAME', 'Intersection_set_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_intersection(poseset, poseset) + RETURNS poseset + AS 'MODULE_PATHNAME', 'Intersection_set_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR * ( + PROCEDURE = set_intersection, + LEFTARG = pose, RIGHTARG = poseset, + COMMUTATOR = * +); +CREATE OPERATOR * ( + PROCEDURE = set_intersection, + LEFTARG = poseset, RIGHTARG = pose, + COMMUTATOR = * +); +CREATE OPERATOR * ( + PROCEDURE = set_intersection, + LEFTARG = poseset, RIGHTARG = poseset, + COMMUTATOR = * +); + +/*****************************************************************************/ + +CREATE FUNCTION set_distance(pose, poseset) + RETURNS float + AS 'MODULE_PATHNAME', 'Distance_value_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_distance(poseset, pose) + RETURNS float + AS 'MODULE_PATHNAME', 'Distance_set_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_distance(poseset, poseset) + RETURNS float + AS 'MODULE_PATHNAME', 'Distance_set_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR <-> ( + PROCEDURE = set_distance, + LEFTARG = pose, RIGHTARG = poseset, + COMMUTATOR = <-> +); +CREATE OPERATOR <-> ( + PROCEDURE = set_distance, + LEFTARG = poseset, RIGHTARG = pose, + COMMUTATOR = <-> +); +CREATE OPERATOR <-> ( + PROCEDURE = set_distance, + LEFTARG = poseset, RIGHTARG = poseset, + COMMUTATOR = <-> +); + +/*****************************************************************************/ diff --git a/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/pose/102_tpose.in.sql b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/pose/102_tpose.in.sql new file mode 100644 index 00000000..20fc6d30 --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/pose/102_tpose.in.sql @@ -0,0 +1,703 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @file + * @brief Basic functions for temporal poses + */ + +CREATE TYPE tpose; + +/****************************************************************************** + * Input/output + ******************************************************************************/ + +CREATE FUNCTION tpose_in(cstring, oid, integer) + RETURNS tpose + AS 'MODULE_PATHNAME', 'Tpose_in' + LANGUAGE C IMMUTABLE STRICT; +CREATE FUNCTION tpose_out(tpose) + RETURNS cstring + AS 'MODULE_PATHNAME', 'Temporal_out' + LANGUAGE C IMMUTABLE STRICT; +CREATE FUNCTION tpose_recv(internal, oid, integer) + RETURNS tpose + AS 'MODULE_PATHNAME', 'Temporal_recv' + LANGUAGE C IMMUTABLE STRICT; +CREATE FUNCTION tpose_send(tpose) + RETURNS bytea + AS 'MODULE_PATHNAME', 'Temporal_send' + LANGUAGE C IMMUTABLE STRICT; + +CREATE FUNCTION tpose_typmod_in(cstring[]) + RETURNS integer + AS 'MODULE_PATHNAME', 'Tpose_typmod_in' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE TYPE tpose ( + internallength = variable, + input = tpose_in, + output = tpose_out, + receive = tpose_recv, + send = tpose_send, + typmod_in = tpose_typmod_in, + typmod_out = tspatial_typmod_out, + storage = extended, + alignment = double, + analyze = tspatial_analyze +); + +-- Special cast for enforcing the typmod restrictions +CREATE FUNCTION tpose(tpose, integer) + RETURNS tpose + AS 'MODULE_PATHNAME','Tspatial_enforce_typmod' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE CAST (tpose AS tpose) WITH FUNCTION tpose(tpose, integer) AS IMPLICIT; + + /***************************************************************************** + * Input/output from (E)WKT, (E)WKB, HexEWKB, and MFJSON representation + *****************************************************************************/ + +CREATE FUNCTION tposeFromText(text) + RETURNS tpose + AS 'MODULE_PATHNAME', 'Tspatial_from_ewkt' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION tposeFromEWKT(text) + RETURNS tpose + AS 'MODULE_PATHNAME', 'Tspatial_from_ewkt' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION tposeFromMFJSON(text) + RETURNS tpose + AS 'MODULE_PATHNAME', 'Temporal_from_mfjson' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION tposeFromBinary(bytea) + RETURNS tpose + AS 'MODULE_PATHNAME', 'Temporal_from_wkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION tposeFromEWKB(bytea) + RETURNS tpose + AS 'MODULE_PATHNAME', 'Temporal_from_wkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION tposeFromHexEWKB(text) + RETURNS tpose + AS 'MODULE_PATHNAME', 'Temporal_from_hexwkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/*****************************************************************************/ + +CREATE FUNCTION asText(tpose, maxdecimaldigits int4 DEFAULT 15) + RETURNS text + AS 'MODULE_PATHNAME', 'Tspatial_as_text' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION asText(tpose[], maxdecimaldigits int4 DEFAULT 15) + RETURNS text[] + AS 'MODULE_PATHNAME', 'Spatialarr_as_text' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION asEWKT(tpose, maxdecimaldigits int4 DEFAULT 15) + RETURNS text + AS 'MODULE_PATHNAME', 'Tspatial_as_ewkt' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION asEWKT(tpose[], maxdecimaldigits int4 DEFAULT 15) + RETURNS text[] + AS 'MODULE_PATHNAME', 'Spatialarr_as_ewkt' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION asMFJSON(tpose, options int4 DEFAULT 0, + flags int4 DEFAULT 0, maxdecimaldigits int4 DEFAULT 15) + RETURNS text + AS 'MODULE_PATHNAME', 'Temporal_as_mfjson' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION asBinary(tpose, endianenconding text DEFAULT '') + RETURNS bytea + AS 'MODULE_PATHNAME', 'Temporal_as_wkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION asEWKB(tpose, endianenconding text DEFAULT '') + RETURNS bytea + AS 'MODULE_PATHNAME', 'Tspatial_as_ewkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION asHexEWKB(tpose, endianenconding text DEFAULT '') + RETURNS text + AS 'MODULE_PATHNAME', 'Temporal_as_hexwkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/****************************************************************************** + * Constructors + ******************************************************************************/ + +CREATE FUNCTION tpose(pose, timestamptz) + RETURNS tpose + AS 'MODULE_PATHNAME', 'Tinstant_constructor' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION tpose(pose, tstzset) + RETURNS tpose + AS 'MODULE_PATHNAME', 'Tsequence_from_base_tstzset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION tpose(pose, tstzspan, text DEFAULT 'linear') + RETURNS tpose + AS 'MODULE_PATHNAME', 'Tsequence_from_base_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION tpose(pose, tstzspanset, text DEFAULT 'linear') + RETURNS tpose + AS 'MODULE_PATHNAME', 'Tsequenceset_from_base_tstzspanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/******************************************************************************/ + +CREATE FUNCTION tposeSeq(tpose[], text DEFAULT 'linear', + lower_inc boolean DEFAULT true, upper_inc boolean DEFAULT true) + RETURNS tpose + AS 'MODULE_PATHNAME', 'Tsequence_constructor' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION tposeSeqSet(tpose[]) + RETURNS tpose + AS 'MODULE_PATHNAME', 'Tsequenceset_constructor' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +-- The function is not strict +CREATE FUNCTION tposeSeqSetGaps(tpose[], maxt interval DEFAULT NULL, + maxdist float DEFAULT NULL, text DEFAULT 'step') + RETURNS tpose + AS 'MODULE_PATHNAME', 'Tsequenceset_constructor_gaps' + LANGUAGE C IMMUTABLE PARALLEL SAFE; + +/****************************************************************************** + * Conversions + ******************************************************************************/ + +CREATE FUNCTION timeSpan(tpose) + RETURNS tstzspan + AS 'MODULE_PATHNAME', 'Temporal_to_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tgeompoint(tpose) + RETURNS tgeompoint + AS 'MODULE_PATHNAME', 'Tpose_to_tgeompoint' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE CAST (tpose AS tstzspan) WITH FUNCTION timeSpan(tpose); +CREATE CAST (tpose AS tgeompoint) WITH FUNCTION tgeompoint(tpose); + +/****************************************************************************** + * Accessor functions + ******************************************************************************/ +-- Specific accessors for temporal poses + +CREATE FUNCTION points(tpose) + RETURNS geomset + AS 'MODULE_PATHNAME', 'Tpose_points' + LANGUAGE C IMMUTABLE STRICT; + +CREATE FUNCTION rotation(tpose) + RETURNS tfloat + AS 'MODULE_PATHNAME', 'Tpose_rotation' + LANGUAGE C IMMUTABLE STRICT; + +-- CREATE FUNCTION orientation(tpose) + -- RETURNS quaternion[] + -- AS 'MODULE_PATHNAME', 'Tpose_orientation' + -- LANGUAGE C IMMUTABLE STRICT; + +/******************************************************************************/ +-- Accessors for all temporal types + +CREATE FUNCTION tempSubtype(tpose) + RETURNS text + AS 'MODULE_PATHNAME', 'Temporal_subtype' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION interp(tpose) + RETURNS text + AS 'MODULE_PATHNAME', 'Temporal_interp' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION memSize(tpose) + RETURNS integer + AS 'MODULE_PATHNAME', 'Temporal_mem_size' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +-- value is a reserved word in SQL +CREATE FUNCTION getValue(tpose) + RETURNS pose + AS 'MODULE_PATHNAME', 'Tinstant_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +-- timestamp is a reserved word in SQL +CREATE FUNCTION getTimestamp(tpose) + RETURNS timestamptz + AS 'MODULE_PATHNAME', 'Tinstant_timestamptz' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +-- values is a reserved word in SQL +CREATE FUNCTION getValues(tpose) + RETURNS poseset + AS 'MODULE_PATHNAME', 'Temporal_valueset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +-- time is a reserved word in SQL +CREATE FUNCTION getTime(tpose) + RETURNS tstzspanset + AS 'MODULE_PATHNAME', 'Temporal_time' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION startValue(tpose) + RETURNS pose + AS 'MODULE_PATHNAME', 'Temporal_start_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION endValue(tpose) + RETURNS pose + AS 'MODULE_PATHNAME', 'Temporal_end_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION valueN(tpose, int) + RETURNS pose + AS 'MODULE_PATHNAME', 'Temporal_value_n' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION valueAtTimestamp(tpose, timestamptz) + RETURNS pose + AS 'MODULE_PATHNAME', 'Temporal_value_at_timestamptz' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION duration(tpose, boundspan boolean DEFAULT FALSE) + RETURNS interval + AS 'MODULE_PATHNAME', 'Temporal_duration' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION lowerInc(tpose) + RETURNS bool + AS 'MODULE_PATHNAME', 'Temporal_lower_inc' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION upperInc(tpose) + RETURNS bool + AS 'MODULE_PATHNAME', 'Temporal_upper_inc' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION numInstants(tpose) + RETURNS integer + AS 'MODULE_PATHNAME', 'Temporal_num_instants' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION startInstant(tpose) + RETURNS tpose + AS 'MODULE_PATHNAME', 'Temporal_start_instant' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION endInstant(tpose) + RETURNS tpose + AS 'MODULE_PATHNAME', 'Temporal_end_instant' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION instantN(tpose, integer) + RETURNS tpose + AS 'MODULE_PATHNAME', 'Temporal_instant_n' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION instants(tpose) + RETURNS tpose[] + AS 'MODULE_PATHNAME', 'Temporal_instants' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION numTimestamps(tpose) + RETURNS integer + AS 'MODULE_PATHNAME', 'Temporal_num_timestamps' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION startTimestamp(tpose) + RETURNS timestamptz + AS 'MODULE_PATHNAME', 'Temporal_start_timestamptz' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION endTimestamp(tpose) + RETURNS timestamptz + AS 'MODULE_PATHNAME', 'Temporal_end_timestamptz' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION timestampN(tpose, integer) + RETURNS timestamptz + AS 'MODULE_PATHNAME', 'Temporal_timestamptz_n' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION timestamps(tpose) + RETURNS timestamptz[] + AS 'MODULE_PATHNAME', 'Temporal_timestamps' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION numSequences(tpose) + RETURNS integer + AS 'MODULE_PATHNAME', 'Temporal_num_sequences' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION startSequence(tpose) + RETURNS tpose + AS 'MODULE_PATHNAME', 'Temporal_start_sequence' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION endSequence(tpose) + RETURNS tpose + AS 'MODULE_PATHNAME', 'Temporal_end_sequence' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION sequenceN(tpose, integer) + RETURNS tpose + AS 'MODULE_PATHNAME', 'Temporal_sequence_n' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION sequences(tpose) + RETURNS tpose[] + AS 'MODULE_PATHNAME', 'Temporal_sequences' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION segments(tpose) + RETURNS tpose[] + AS 'MODULE_PATHNAME', 'Temporal_segments' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/****************************************************************************** + * Transformation functions + ******************************************************************************/ + +CREATE FUNCTION tposeInst(tpose) + RETURNS tpose + AS 'MODULE_PATHNAME', 'Temporal_to_tinstant' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +-- The function is not strict +CREATE FUNCTION tposeSeq(tpose, text DEFAULT NULL) + RETURNS tpose + AS 'MODULE_PATHNAME', 'Temporal_to_tsequence' + LANGUAGE C IMMUTABLE PARALLEL SAFE; +-- The function is not strict +CREATE FUNCTION tposeSeqSet(tpose, text DEFAULT NULL) + RETURNS tpose + AS 'MODULE_PATHNAME', 'Temporal_to_tsequenceset' + LANGUAGE C IMMUTABLE PARALLEL SAFE; + +CREATE FUNCTION setInterp(tpose, text) + RETURNS tpose + AS 'MODULE_PATHNAME', 'Temporal_set_interp' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION round(tpose, integer DEFAULT 0) + RETURNS tpose + AS 'MODULE_PATHNAME', 'Temporal_round' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION round(tpose[], integer DEFAULT 0) + RETURNS tpose[] + AS 'MODULE_PATHNAME', 'Temporalarr_round' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION shiftTime(tpose, interval) + RETURNS tpose + AS 'MODULE_PATHNAME', 'Temporal_shift_time' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION scaleTime(tpose, interval) + RETURNS tpose + AS 'MODULE_PATHNAME', 'Temporal_scale_time' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION shiftScaleTime(tpose, interval, interval) + RETURNS tpose + AS 'MODULE_PATHNAME', 'Temporal_shift_scale_time' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/***************************************************************************** + * Restriction Functions + *****************************************************************************/ + +CREATE FUNCTION atValues(tpose, pose) + RETURNS tpose + AS 'MODULE_PATHNAME', 'Temporal_at_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION minusValues(tpose, pose) + RETURNS tpose + AS 'MODULE_PATHNAME', 'Temporal_minus_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION atValues(tpose, poseset) + RETURNS tpose + AS 'MODULE_PATHNAME', 'Temporal_at_values' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION minusValues(tpose, poseset) + RETURNS tpose + AS 'MODULE_PATHNAME', 'Temporal_minus_values' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION atTime(tpose, timestamptz) + RETURNS tpose + AS 'MODULE_PATHNAME', 'Temporal_at_timestamptz' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION minusTime(tpose, timestamptz) + RETURNS tpose + AS 'MODULE_PATHNAME', 'Temporal_minus_timestamptz' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION atTime(tpose, tstzset) + RETURNS tpose + AS 'MODULE_PATHNAME', 'Temporal_at_tstzset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION minusTime(tpose, tstzset) + RETURNS tpose + AS 'MODULE_PATHNAME', 'Temporal_minus_tstzset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION atTime(tpose, tstzspan) + RETURNS tpose + AS 'MODULE_PATHNAME', 'Temporal_at_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION minusTime(tpose, tstzspan) + RETURNS tpose + AS 'MODULE_PATHNAME', 'Temporal_minus_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION atTime(tpose, tstzspanset) + RETURNS tpose + AS 'MODULE_PATHNAME', 'Temporal_at_tstzspanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION minusTime(tpose, tstzspanset) + RETURNS tpose + AS 'MODULE_PATHNAME', 'Temporal_minus_tstzspanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION beforeTimestamp(tpose, timestamptz, strict bool DEFAULT TRUE) + RETURNS tpose + AS 'MODULE_PATHNAME', 'Temporal_before_timestamptz' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION afterTimestamp(tpose, timestamptz, strict bool DEFAULT TRUE) + RETURNS tpose + AS 'MODULE_PATHNAME', 'Temporal_after_timestamptz' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/***************************************************************************** + * Unnest Function + *****************************************************************************/ + +CREATE TYPE pose_tstzspanset AS ( + value pose, + time tstzspanset +); + +CREATE FUNCTION unnest(tpose) + RETURNS SETOF pose_tstzspanset + AS 'MODULE_PATHNAME', 'Temporal_unnest' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/***************************************************************************** + * Stop Function + *****************************************************************************/ + +CREATE FUNCTION stops(tpose, maxdist float DEFAULT 0.0, + minduration interval DEFAULT '0 minutes') + RETURNS tpose + AS 'MODULE_PATHNAME', 'Temporal_stops' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/***************************************************************************** + * Modification Functions + *****************************************************************************/ + +CREATE FUNCTION insert(tpose, tpose, connect boolean DEFAULT TRUE) + RETURNS tpose + AS 'MODULE_PATHNAME', 'Temporal_update' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION update(tpose, tpose, connect boolean DEFAULT TRUE) + RETURNS tpose + AS 'MODULE_PATHNAME', 'Temporal_update' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION deleteTime(tpose, timestamptz, connect boolean DEFAULT TRUE) + RETURNS tpose + AS 'MODULE_PATHNAME', 'Temporal_delete_timestamptz' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION deleteTime(tpose, tstzset, connect boolean DEFAULT TRUE) + RETURNS tpose + AS 'MODULE_PATHNAME', 'Temporal_delete_tstzset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION deleteTime(tpose, tstzspan, connect boolean DEFAULT TRUE) + RETURNS tpose + AS 'MODULE_PATHNAME', 'Temporal_delete_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION deleteTime(tpose, tstzspanset, connect boolean DEFAULT TRUE) + RETURNS tpose + AS 'MODULE_PATHNAME', 'Temporal_delete_tstzspanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION appendInstant(tpose, tpose) + RETURNS tpose + AS 'MODULE_PATHNAME', 'Temporal_append_tinstant' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION appendSequence(tpose, tpose) + RETURNS tpose + AS 'MODULE_PATHNAME', 'Temporal_append_tsequence' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +-- The function is not strict +CREATE FUNCTION merge(tpose, tpose) + RETURNS tpose + AS 'MODULE_PATHNAME', 'Temporal_merge' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION merge(tpose[]) + RETURNS tpose + AS 'MODULE_PATHNAME', 'Temporal_merge_array' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/****************************************************************************** + * Multidimensional tiling + ******************************************************************************/ + +CREATE TYPE time_tpose AS ( + time timestamptz, + temp tpose +); + +CREATE FUNCTION timeSplit(tpose, bin_width interval, + origin timestamptz DEFAULT '2000-01-03') + RETURNS setof time_tpose + AS 'MODULE_PATHNAME', 'Temporal_time_split' + LANGUAGE C IMMUTABLE PARALLEL SAFE STRICT; + +/****************************************************************************** + * Comparison functions and B-tree indexing + ******************************************************************************/ + +CREATE FUNCTION temporal_lt(tpose, tpose) + RETURNS bool + AS 'MODULE_PATHNAME', 'Temporal_lt' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_le(tpose, tpose) + RETURNS bool + AS 'MODULE_PATHNAME', 'Temporal_le' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_eq(tpose, tpose) + RETURNS bool + AS 'MODULE_PATHNAME', 'Temporal_eq' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_ne(tpose, tpose) + RETURNS bool + AS 'MODULE_PATHNAME', 'Temporal_ne' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_ge(tpose, tpose) + RETURNS bool + AS 'MODULE_PATHNAME', 'Temporal_ge' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_gt(tpose, tpose) + RETURNS bool + AS 'MODULE_PATHNAME', 'Temporal_gt' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_cmp(tpose, tpose) + RETURNS int4 + AS 'MODULE_PATHNAME', 'Temporal_cmp' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR < ( + LEFTARG = tpose, RIGHTARG = tpose, + PROCEDURE = temporal_lt, + COMMUTATOR = >, NEGATOR = >=, + RESTRICT = scalarltsel, JOIN = scalarltjoinsel +); +CREATE OPERATOR <= ( + LEFTARG = tpose, RIGHTARG = tpose, + PROCEDURE = temporal_le, + COMMUTATOR = >=, NEGATOR = >, + RESTRICT = scalarltsel, JOIN = scalarltjoinsel +); +CREATE OPERATOR = ( + LEFTARG = tpose, RIGHTARG = tpose, + PROCEDURE = temporal_eq, + COMMUTATOR = =, NEGATOR = <>, + RESTRICT = eqsel, JOIN = eqjoinsel +); +CREATE OPERATOR <> ( + LEFTARG = tpose, RIGHTARG = tpose, + PROCEDURE = temporal_ne, + COMMUTATOR = <>, NEGATOR = =, + RESTRICT = neqsel, JOIN = neqjoinsel +); +CREATE OPERATOR >= ( + LEFTARG = tpose, RIGHTARG = tpose, + PROCEDURE = temporal_ge, + COMMUTATOR = <=, NEGATOR = <, + RESTRICT = scalargtsel, JOIN = scalargtjoinsel +); +CREATE OPERATOR > ( + LEFTARG = tpose, RIGHTARG = tpose, + PROCEDURE = temporal_gt, + COMMUTATOR = <, NEGATOR = <=, + RESTRICT = scalargtsel, JOIN = scalargtjoinsel +); + +CREATE OPERATOR CLASS tpose_btree_ops + DEFAULT FOR TYPE tpose USING btree AS + OPERATOR 1 <, + OPERATOR 2 <=, + OPERATOR 3 =, + OPERATOR 4 >=, + OPERATOR 5 >, + FUNCTION 1 temporal_cmp(tpose, tpose); + +/******************************************************************************/ + +CREATE FUNCTION temporal_hash(tpose) + RETURNS integer + AS 'MODULE_PATHNAME', 'Temporal_hash' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR CLASS tpose_hash_ops + DEFAULT FOR TYPE tpose USING hash AS + OPERATOR 1 = , + FUNCTION 1 temporal_hash(tpose); + +/******************************************************************************/ diff --git a/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/pose/104_tpose_compops.in.sql b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/pose/104_tpose_compops.in.sql new file mode 100644 index 00000000..298da786 --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/pose/104_tpose_compops.in.sql @@ -0,0 +1,248 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @file + * @brief Ever/always and temporal comparison functions and operators for + * temporal poses + */ + +/***************************************************************************** + * Ever/Always Comparison Functions + *****************************************************************************/ + +CREATE FUNCTION ever_eq(pose, tpose) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Ever_eq_pose_tpose' + SUPPORT tspatial_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION always_eq(pose, tpose) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Always_eq_pose_tpose' + SUPPORT tspatial_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR ?= ( + LEFTARG = pose, RIGHTARG = tpose, + PROCEDURE = ever_eq, + NEGATOR = %<>, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR %= ( + LEFTARG = pose, RIGHTARG = tpose, + PROCEDURE = always_eq, + NEGATOR = ?<>, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +CREATE FUNCTION ever_ne(pose, tpose) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Ever_ne_pose_tpose' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION always_ne(pose, tpose) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Always_ne_pose_tpose' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR ?<> ( + LEFTARG = pose, RIGHTARG = tpose, + PROCEDURE = ever_ne, + NEGATOR = %=, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR %<> ( + LEFTARG = pose, RIGHTARG = tpose, + PROCEDURE = always_ne, + NEGATOR = ?=, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +/*****************************************************************************/ + +CREATE FUNCTION ever_eq(tpose, pose) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Ever_eq_tpose_pose' + SUPPORT tspatial_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION always_eq(tpose, pose) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Always_eq_tpose_pose' + SUPPORT tspatial_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR ?= ( + LEFTARG = tpose, RIGHTARG = pose, + PROCEDURE = ever_eq, + NEGATOR = %<>, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR %= ( + LEFTARG = tpose, RIGHTARG = pose, + PROCEDURE = always_eq, + NEGATOR = ?<>, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +CREATE FUNCTION ever_ne(tpose, pose) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Ever_ne_tpose_pose' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION always_ne(tpose, pose) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Always_ne_tpose_pose' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR ?<> ( + LEFTARG = tpose, RIGHTARG = pose, + PROCEDURE = ever_ne, + NEGATOR = %=, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR %<> ( + LEFTARG = tpose, RIGHTARG = pose, + PROCEDURE = always_ne, + NEGATOR = ?=, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +/*****************************************************************************/ + +CREATE FUNCTION ever_eq(tpose, tpose) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Ever_eq_temporal_temporal' + SUPPORT tspatial_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION always_eq(tpose, tpose) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Always_eq_temporal_temporal' + SUPPORT tspatial_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR ?= ( + LEFTARG = tpose, RIGHTARG = tpose, + PROCEDURE = ever_eq, + NEGATOR = %<>, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR %= ( + LEFTARG = tpose, RIGHTARG = tpose, + PROCEDURE = always_eq, + NEGATOR = ?<>, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +CREATE FUNCTION ever_ne(tpose, tpose) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Ever_ne_temporal_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION always_ne(tpose, tpose) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Always_ne_temporal_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR ?<> ( + LEFTARG = tpose, RIGHTARG = tpose, + PROCEDURE = ever_ne, + NEGATOR = %=, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR %<> ( + LEFTARG = tpose, RIGHTARG = tpose, + PROCEDURE = always_ne, + NEGATOR = ?=, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +/***************************************************************************** + * Temporal equal + *****************************************************************************/ + +CREATE FUNCTION temporal_teq(pose, tpose) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Teq_pose_tpose' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_teq(tpose, pose) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Teq_tpose_pose' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_teq(tpose, tpose) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Teq_temporal_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR #= ( + PROCEDURE = temporal_teq, + LEFTARG = pose, RIGHTARG = tpose, + COMMUTATOR = #= +); +CREATE OPERATOR #= ( + PROCEDURE = temporal_teq, + LEFTARG = tpose, RIGHTARG = pose, + COMMUTATOR = #= +); +CREATE OPERATOR #= ( + PROCEDURE = temporal_teq, + LEFTARG = tpose, RIGHTARG = tpose, + COMMUTATOR = #= +); + +/***************************************************************************** + * Temporal not equal + *****************************************************************************/ + +CREATE FUNCTION temporal_tne(pose, tpose) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Tne_pose_tpose' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_tne(tpose, pose) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Tne_tpose_pose' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_tne(tpose, tpose) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Tne_temporal_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR #<> ( + PROCEDURE = temporal_tne, + LEFTARG = pose, RIGHTARG = tpose, + COMMUTATOR = #<> +); +CREATE OPERATOR #<> ( + PROCEDURE = temporal_tne, + LEFTARG = tpose, RIGHTARG = pose, + COMMUTATOR = #<> +); +CREATE OPERATOR #<> ( + PROCEDURE = temporal_tne, + LEFTARG = tpose, RIGHTARG = tpose, + COMMUTATOR = #<> +); + +/******************************************************************************/ diff --git a/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/pose/105_tpose_spatialfuncs.in.sql b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/pose/105_tpose_spatialfuncs.in.sql new file mode 100644 index 00000000..52460d9d --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/pose/105_tpose_spatialfuncs.in.sql @@ -0,0 +1,84 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @file + * @brief Spatial functions for temporal poses + */ + +/***************************************************************************** + * SRID + *****************************************************************************/ + +CREATE FUNCTION SRID(tpose) + RETURNS integer + AS 'MODULE_PATHNAME', 'Tspatial_srid' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION setSRID(tpose, integer) + RETURNS tpose + AS 'MODULE_PATHNAME', 'Tspatial_set_srid' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION transform(tpose, integer) + RETURNS tpose + AS 'MODULE_PATHNAME', 'Tspatial_transform' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION transformPipeline(tpose, text, srid integer DEFAULT 0, + is_forward boolean DEFAULT true) + RETURNS tpose + AS 'MODULE_PATHNAME', 'Tspatial_transform_pipeline' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/***************************************************************************** + * AtGeometry and MinusGeometry + *****************************************************************************/ + +CREATE FUNCTION atGeometry(tpose, geometry) + RETURNS tpose + AS 'MODULE_PATHNAME', 'Tpose_at_geom' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION minusGeometry(tpose, geometry) + RETURNS tpose + AS 'MODULE_PATHNAME', 'Tpose_minus_geom' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION atStbox(tpose, stbox, bool DEFAULT TRUE) + RETURNS tpose + AS 'MODULE_PATHNAME', 'Tpose_at_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION minusStbox(tpose, stbox, bool DEFAULT TRUE) + RETURNS tpose + AS 'MODULE_PATHNAME', 'Tpose_minus_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/*****************************************************************************/ diff --git a/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/pose/108_tpose_topops.in.sql b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/pose/108_tpose_topops.in.sql new file mode 100644 index 00000000..c7df6ef5 --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/pose/108_tpose_topops.in.sql @@ -0,0 +1,379 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @file + * @brief Bounding box operators for temporal poses + */ + +/***************************************************************************** + * Temporal pose to stbox + *****************************************************************************/ + +CREATE FUNCTION stbox(pose) + RETURNS stbox + AS 'MODULE_PATHNAME', 'Pose_to_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION stbox(pose, timestamptz) + RETURNS stbox + AS 'MODULE_PATHNAME', 'Pose_timestamptz_to_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION stbox(pose, tstzspan) + RETURNS stbox + AS 'MODULE_PATHNAME', 'Pose_tstzspan_to_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION stbox(tpose) + RETURNS stbox + AS 'MODULE_PATHNAME', 'Tspatial_to_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE CAST (pose AS stbox) WITH FUNCTION stbox(pose); +CREATE CAST (tpose AS stbox) WITH FUNCTION stbox(tpose); + +/*****************************************************************************/ + +CREATE FUNCTION expandSpace(tpose, float) + RETURNS stbox + AS 'SELECT @extschema@.expandSpace($1::stbox, $2)' + LANGUAGE SQL IMMUTABLE PARALLEL SAFE STRICT; + +/***************************************************************************** + * Contains + *****************************************************************************/ + +CREATE FUNCTION temporal_contains(tstzspan, tpose) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contains_tstzspan_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_contains(tpose, tstzspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contains_temporal_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR @> ( + PROCEDURE = temporal_contains, + LEFTARG = tstzspan, RIGHTARG = tpose, + COMMUTATOR = <@, + RESTRICT = temporal_sel, JOIN = temporal_joinsel +); +CREATE OPERATOR @> ( + PROCEDURE = temporal_contains, + LEFTARG = tpose, RIGHTARG = tstzspan, + COMMUTATOR = <@, + RESTRICT = temporal_sel, JOIN = temporal_joinsel +); + +/*****************************************************************************/ + +CREATE FUNCTION temporal_contains(stbox, tpose) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contains_stbox_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR @> ( + PROCEDURE = temporal_contains, + LEFTARG = stbox, RIGHTARG = tpose, + COMMUTATOR = <@, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +CREATE FUNCTION temporal_contains(tpose, stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contains_tspatial_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_contains(tpose, tpose) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contains_tspatial_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR @> ( + PROCEDURE = temporal_contains, + LEFTARG = tpose, RIGHTARG = stbox, + COMMUTATOR = <@, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR @> ( + PROCEDURE = temporal_contains, + LEFTARG = tpose, RIGHTARG = tpose, + COMMUTATOR = <@, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +/***************************************************************************** + * Contained + *****************************************************************************/ + +CREATE FUNCTION temporal_contained(tstzspan, tpose) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contained_tstzspan_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_contained(tpose, tstzspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contained_temporal_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR <@ ( + PROCEDURE = temporal_contained, + LEFTARG = tstzspan, RIGHTARG = tpose, + COMMUTATOR = @>, + RESTRICT = temporal_sel, JOIN = temporal_joinsel +); +CREATE OPERATOR <@ ( + PROCEDURE = temporal_contained, + LEFTARG = tpose, RIGHTARG = tstzspan, + COMMUTATOR = @>, + RESTRICT = temporal_sel, JOIN = temporal_joinsel +); + +/*****************************************************************************/ + +CREATE FUNCTION temporal_contained(stbox, tpose) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contained_stbox_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR <@ ( + PROCEDURE = temporal_contained, + LEFTARG = stbox, RIGHTARG = tpose, + COMMUTATOR = @>, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +CREATE FUNCTION temporal_contained(tpose, stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contained_tspatial_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_contained(tpose, tpose) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contained_tspatial_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR <@ ( + PROCEDURE = temporal_contained, + LEFTARG = tpose, RIGHTARG = stbox, + COMMUTATOR = @>, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR <@ ( + PROCEDURE = temporal_contained, + LEFTARG = tpose, RIGHTARG = tpose, + COMMUTATOR = @>, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +/***************************************************************************** + * Overlaps + *****************************************************************************/ + +CREATE FUNCTION temporal_overlaps(tstzspan, tpose) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overlaps_tstzspan_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overlaps(tpose, tstzspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overlaps_temporal_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR && ( + PROCEDURE = temporal_overlaps, + LEFTARG = tstzspan, RIGHTARG = tpose, + COMMUTATOR = &&, + RESTRICT = temporal_sel, JOIN = temporal_joinsel +); +CREATE OPERATOR && ( + PROCEDURE = temporal_overlaps, + LEFTARG = tpose, RIGHTARG = tstzspan, + COMMUTATOR = &&, + RESTRICT = temporal_sel, JOIN = temporal_joinsel +); + +/*****************************************************************************/ + +CREATE FUNCTION temporal_overlaps(stbox, tpose) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overlaps_stbox_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR && ( + PROCEDURE = temporal_overlaps, + LEFTARG = stbox, RIGHTARG = tpose, + COMMUTATOR = &&, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +CREATE FUNCTION temporal_overlaps(tpose, stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overlaps_tspatial_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overlaps(tpose, tpose) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overlaps_tspatial_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR && ( + PROCEDURE = temporal_overlaps, + LEFTARG = tpose, RIGHTARG = stbox, + COMMUTATOR = &&, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR && ( + PROCEDURE = temporal_overlaps, + LEFTARG = tpose, RIGHTARG = tpose, + COMMUTATOR = &&, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +/***************************************************************************** + * Same + *****************************************************************************/ + +CREATE FUNCTION temporal_same(tstzspan, tpose) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Same_tstzspan_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_same(tpose, tstzspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Same_temporal_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR ~= ( + PROCEDURE = temporal_same, + LEFTARG = tstzspan, RIGHTARG = tpose, + COMMUTATOR = ~=, + RESTRICT = temporal_sel, JOIN = temporal_joinsel +); +CREATE OPERATOR ~= ( + PROCEDURE = temporal_same, + LEFTARG = tpose, RIGHTARG = tstzspan, + COMMUTATOR = ~=, + RESTRICT = temporal_sel, JOIN = temporal_joinsel +); + +/*****************************************************************************/ + +CREATE FUNCTION temporal_same(stbox, tpose) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Same_stbox_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR ~= ( + PROCEDURE = temporal_same, + LEFTARG = stbox, RIGHTARG = tpose, + COMMUTATOR = ~=, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +CREATE FUNCTION temporal_same(tpose, stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Same_tspatial_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_same(tpose, tpose) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Same_tspatial_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR ~= ( + PROCEDURE = temporal_same, + LEFTARG = tpose, RIGHTARG = stbox, + COMMUTATOR = ~=, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR ~= ( + PROCEDURE = temporal_same, + LEFTARG = tpose, RIGHTARG = tpose, + COMMUTATOR = ~=, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +/***************************************************************************** + * adjacent + *****************************************************************************/ + +CREATE FUNCTION temporal_adjacent(tstzspan, tpose) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Adjacent_tstzspan_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_adjacent(tpose, tstzspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Adjacent_temporal_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR -|- ( + PROCEDURE = temporal_adjacent, + LEFTARG = tstzspan, RIGHTARG = tpose, + COMMUTATOR = -|-, + RESTRICT = temporal_sel, JOIN = temporal_joinsel +); +CREATE OPERATOR -|- ( + PROCEDURE = temporal_adjacent, + LEFTARG = tpose, RIGHTARG = tstzspan, + COMMUTATOR = -|-, + RESTRICT = temporal_sel, JOIN = temporal_joinsel +); + +/*****************************************************************************/ + +CREATE FUNCTION temporal_adjacent(stbox, tpose) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Adjacent_stbox_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR -|- ( + PROCEDURE = temporal_adjacent, + LEFTARG = stbox, RIGHTARG = tpose, + COMMUTATOR = -|-, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +CREATE FUNCTION temporal_adjacent(tpose, stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Adjacent_tspatial_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_adjacent(tpose, tpose) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Adjacent_tspatial_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR -|- ( + PROCEDURE = temporal_adjacent, + LEFTARG = tpose, RIGHTARG = stbox, + COMMUTATOR = -|-, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR -|- ( + PROCEDURE = temporal_adjacent, + LEFTARG = tpose, RIGHTARG = tpose, + COMMUTATOR = -|-, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +/*****************************************************************************/ diff --git a/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/pose/109_tpose_posops.in.sql b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/pose/109_tpose_posops.in.sql new file mode 100644 index 00000000..2554216c --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/pose/109_tpose_posops.in.sql @@ -0,0 +1,601 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @file + * @brief Relative position operators for temporal poses + */ + +/***************************************************************************** + * tstzspan + *****************************************************************************/ + +/* tstzspan op tpose */ + +CREATE FUNCTION temporal_before(tstzspan, tpose) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Before_tstzspan_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overbefore(tstzspan, tpose) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overbefore_tstzspan_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_after(tstzspan, tpose) + RETURNS boolean + AS 'MODULE_PATHNAME', 'After_tstzspan_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overafter(tstzspan, tpose) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overafter_tstzspan_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR <<# ( + LEFTARG = tstzspan, RIGHTARG = tpose, + PROCEDURE = temporal_before, + COMMUTATOR = #>>, + RESTRICT = temporal_sel, JOIN = temporal_joinsel +); +CREATE OPERATOR &<# ( + LEFTARG = tstzspan, RIGHTARG = tpose, + PROCEDURE = temporal_overbefore, + RESTRICT = temporal_sel, JOIN = temporal_joinsel +); +CREATE OPERATOR #>> ( + LEFTARG = tstzspan, RIGHTARG = tpose, + PROCEDURE = temporal_after, + COMMUTATOR = <<#, + RESTRICT = temporal_sel, JOIN = temporal_joinsel +); +CREATE OPERATOR #&> ( + LEFTARG = tstzspan, RIGHTARG = tpose, + PROCEDURE = temporal_overafter, + RESTRICT = temporal_sel, JOIN = temporal_joinsel +); + +/***************************************************************************** + * stbox + *****************************************************************************/ + +CREATE FUNCTION temporal_left(stbox, tpose) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Left_stbox_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overleft(stbox, tpose) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overleft_stbox_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_right(stbox, tpose) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Right_stbox_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overright(stbox, tpose) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overright_stbox_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_below(stbox, tpose) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Below_stbox_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overbelow(stbox, tpose) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overbelow_stbox_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_above(stbox, tpose) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Above_stbox_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overabove(stbox, tpose) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overabove_stbox_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_front(stbox, tpose) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Front_stbox_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overfront(stbox, tpose) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overfront_stbox_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_back(stbox, tpose) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Back_stbox_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overback(stbox, tpose) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overback_stbox_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_before(stbox, tpose) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Before_stbox_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overbefore(stbox, tpose) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overbefore_stbox_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_after(stbox, tpose) + RETURNS boolean + AS 'MODULE_PATHNAME', 'After_stbox_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overafter(stbox, tpose) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overafter_stbox_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR << ( + LEFTARG = stbox, RIGHTARG = tpose, + PROCEDURE = temporal_left, + COMMUTATOR = '>>', + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR &< ( + LEFTARG = stbox, RIGHTARG = tpose, + PROCEDURE = temporal_overleft, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR >> ( + LEFTARG = stbox, RIGHTARG = tpose, + PROCEDURE = temporal_right, + COMMUTATOR = '<<', + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR &> ( + LEFTARG = stbox, RIGHTARG = tpose, + PROCEDURE = temporal_overright, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR <<| ( + LEFTARG = stbox, RIGHTARG = tpose, + PROCEDURE = temporal_below, + COMMUTATOR = '|>>', + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR &<| ( + LEFTARG = stbox, RIGHTARG = tpose, + PROCEDURE = temporal_overbelow, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR |>> ( + LEFTARG = stbox, RIGHTARG = tpose, + PROCEDURE = temporal_above, + COMMUTATOR = '<<|', + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR |&> ( + LEFTARG = stbox, RIGHTARG = tpose, + PROCEDURE = temporal_overabove, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR <>, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR &> ( + LEFTARG = stbox, RIGHTARG = tpose, + PROCEDURE = temporal_back, + COMMUTATOR = < ( + LEFTARG = stbox, RIGHTARG = tpose, + PROCEDURE = temporal_overback, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR <<# ( + LEFTARG = stbox, RIGHTARG = tpose, + PROCEDURE = temporal_before, + COMMUTATOR = '#>>', + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR &<# ( + LEFTARG = stbox, RIGHTARG = tpose, + PROCEDURE = temporal_overbefore, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR #>> ( + LEFTARG = stbox, RIGHTARG = tpose, + PROCEDURE = temporal_after, + COMMUTATOR = '<<#', + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR #&> ( + LEFTARG = stbox, RIGHTARG = tpose, + PROCEDURE = temporal_overafter, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +/***************************************************************************** + * tpose + *****************************************************************************/ + +/* tpose op tstzspan */ + +CREATE FUNCTION temporal_before(tpose, tstzspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Before_temporal_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overbefore(tpose, tstzspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overbefore_temporal_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_after(tpose, tstzspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'After_temporal_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overafter(tpose, tstzspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overafter_temporal_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR <<# ( + LEFTARG = tpose, RIGHTARG = tstzspan, + PROCEDURE = temporal_before, + COMMUTATOR = #>>, + RESTRICT = temporal_sel, JOIN = temporal_joinsel +); +CREATE OPERATOR &<# ( + LEFTARG = tpose, RIGHTARG = tstzspan, + PROCEDURE = temporal_overbefore, + RESTRICT = temporal_sel, JOIN = temporal_joinsel +); +CREATE OPERATOR #>> ( + LEFTARG = tpose, RIGHTARG = tstzspan, + PROCEDURE = temporal_after, + COMMUTATOR = <<#, + RESTRICT = temporal_sel, JOIN = temporal_joinsel +); +CREATE OPERATOR #&> ( + LEFTARG = tpose, RIGHTARG = tstzspan, + PROCEDURE = temporal_overafter, + RESTRICT = temporal_sel, JOIN = temporal_joinsel +); + +/*****************************************************************************/ + +/* tpose op stbox */ + +CREATE FUNCTION temporal_left(tpose, stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Left_tspatial_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overleft(tpose, stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overleft_tspatial_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_right(tpose, stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Right_tspatial_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overright(tpose, stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overright_tspatial_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_below(tpose, stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Below_tspatial_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overbelow(tpose, stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overbelow_tspatial_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_above(tpose, stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Above_tspatial_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overabove(tpose, stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overabove_tspatial_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_front(tpose, stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Front_tspatial_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overfront(tpose, stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overfront_tspatial_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_back(tpose, stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Back_tspatial_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overback(tpose, stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overback_tspatial_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_before(tpose, stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Before_tspatial_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overbefore(tpose, stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overbefore_tspatial_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_after(tpose, stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'After_tspatial_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overafter(tpose, stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overafter_tspatial_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR << ( + LEFTARG = tpose, RIGHTARG = stbox, + PROCEDURE = temporal_left, + COMMUTATOR = '>>', + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR &< ( + LEFTARG = tpose, RIGHTARG = stbox, + PROCEDURE = temporal_overleft, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR >> ( + LEFTARG = tpose, RIGHTARG = stbox, + PROCEDURE = temporal_right, + COMMUTATOR = '<<', + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR &> ( + LEFTARG = tpose, RIGHTARG = stbox, + PROCEDURE = temporal_overright, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR <<| ( + LEFTARG = tpose, RIGHTARG = stbox, + PROCEDURE = temporal_below, + COMMUTATOR = '|>>', + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR &<| ( + LEFTARG = tpose, RIGHTARG = stbox, + PROCEDURE = temporal_overbelow, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR |>> ( + LEFTARG = tpose, RIGHTARG = stbox, + PROCEDURE = temporal_above, + COMMUTATOR = '<<|', + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR |&> ( + LEFTARG = tpose, RIGHTARG = stbox, + PROCEDURE = temporal_overabove, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR <>', + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR &> ( + LEFTARG = tpose, RIGHTARG = stbox, + PROCEDURE = temporal_back, + COMMUTATOR = '< ( + LEFTARG = tpose, RIGHTARG = stbox, + PROCEDURE = temporal_overback, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR <<# ( + LEFTARG = tpose, RIGHTARG = stbox, + PROCEDURE = temporal_before, + COMMUTATOR = '#>>', + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR &<# ( + LEFTARG = tpose, RIGHTARG = stbox, + PROCEDURE = temporal_overbefore, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR #>> ( + LEFTARG = tpose, RIGHTARG = stbox, + PROCEDURE = temporal_after, + COMMUTATOR = '<<#', + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR #&> ( + LEFTARG = tpose, RIGHTARG = stbox, + PROCEDURE = temporal_overafter, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +/*****************************************************************************/ + +/* tpose op tpose */ + +CREATE FUNCTION temporal_left(tpose, tpose) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Left_tspatial_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overleft(tpose, tpose) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overleft_tspatial_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_right(tpose, tpose) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Right_tspatial_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overright(tpose, tpose) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overright_tspatial_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_below(tpose, tpose) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Below_tspatial_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overbelow(tpose, tpose) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overbelow_tspatial_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_above(tpose, tpose) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Above_tspatial_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overabove(tpose, tpose) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overabove_tspatial_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_front(tpose, tpose) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Front_tspatial_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overfront(tpose, tpose) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overfront_tspatial_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_back(tpose, tpose) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Back_tspatial_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overback(tpose, tpose) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overback_tspatial_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_before(tpose, tpose) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Before_tspatial_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overbefore(tpose, tpose) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overbefore_tspatial_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_after(tpose, tpose) + RETURNS boolean + AS 'MODULE_PATHNAME', 'After_tspatial_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overafter(tpose, tpose) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overafter_tspatial_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR << ( + LEFTARG = tpose, RIGHTARG = tpose, + PROCEDURE = temporal_left, + COMMUTATOR = '>>', + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR &< ( + LEFTARG = tpose, RIGHTARG = tpose, + PROCEDURE = temporal_overleft, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR >> ( + LEFTARG = tpose, RIGHTARG = tpose, + PROCEDURE = temporal_right, + COMMUTATOR = '<<', + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR &> ( + LEFTARG = tpose, RIGHTARG = tpose, + PROCEDURE = temporal_overright, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR <<| ( + LEFTARG = tpose, RIGHTARG = tpose, + PROCEDURE = temporal_below, + COMMUTATOR = '|>>', + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR &<| ( + LEFTARG = tpose, RIGHTARG = tpose, + PROCEDURE = temporal_overbelow, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR |>> ( + LEFTARG = tpose, RIGHTARG = tpose, + PROCEDURE = temporal_above, + COMMUTATOR = '<<|', + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR |&> ( + LEFTARG = tpose, RIGHTARG = tpose, + PROCEDURE = temporal_overabove, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR <>', + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR &> ( + LEFTARG = tpose, RIGHTARG = tpose, + PROCEDURE = temporal_back, + COMMUTATOR = '< ( + LEFTARG = tpose, RIGHTARG = tpose, + PROCEDURE = temporal_overback, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR <<# ( + LEFTARG = tpose, RIGHTARG = tpose, + PROCEDURE = temporal_before, + COMMUTATOR = '#>>', + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR &<# ( + LEFTARG = tpose, RIGHTARG = tpose, + PROCEDURE = temporal_overbefore, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR #>> ( + LEFTARG = tpose, RIGHTARG = tpose, + PROCEDURE = temporal_after, + COMMUTATOR = '<<#', + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR #&> ( + LEFTARG = tpose, RIGHTARG = tpose, + PROCEDURE = temporal_overafter, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +/*****************************************************************************/ diff --git a/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/pose/111_tpose_aggfuncs.in.sql b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/pose/111_tpose_aggfuncs.in.sql new file mode 100644 index 00000000..ae09b4e8 --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/pose/111_tpose_aggfuncs.in.sql @@ -0,0 +1,155 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @file + * @brief Aggregate functions for temporal poses + */ + +-- The function is not strict +CREATE FUNCTION tcount_transfn(internal, tpose) + RETURNS internal + AS 'MODULE_PATHNAME', 'Temporal_tcount_transfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; + +CREATE AGGREGATE tcount(tpose) ( + SFUNC = tcount_transfn, + STYPE = internal, + COMBINEFUNC = tcount_combinefn, + FINALFUNC = tint_tagg_finalfn, + SERIALFUNC = taggstate_serialize, + DESERIALFUNC = taggstate_deserialize, + PARALLEL = SAFE +); + +-- The function is not strict +CREATE FUNCTION wcount_transfn(internal, tpose, interval) + RETURNS internal + AS 'MODULE_PATHNAME', 'Temporal_wcount_transfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; + +CREATE AGGREGATE wcount(tpose, interval) ( + SFUNC = wcount_transfn, + STYPE = internal, + COMBINEFUNC = tint_tsum_combinefn, + FINALFUNC = tint_tagg_finalfn, + SERIALFUNC = taggstate_serialize, + DESERIALFUNC = taggstate_deserialize, + PARALLEL = SAFE +); + +/*****************************************************************************/ + +-- The function is not strict +CREATE FUNCTION temporal_merge_transfn(internal, tpose) + RETURNS internal + AS 'MODULE_PATHNAME', 'Temporal_merge_transfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION tpose_tagg_finalfn(internal) + RETURNS tpose + AS 'MODULE_PATHNAME', 'Temporal_tagg_finalfn' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE AGGREGATE merge(tpose) ( + SFUNC = temporal_merge_transfn, + STYPE = internal, + COMBINEFUNC = temporal_merge_combinefn, + FINALFUNC = tpose_tagg_finalfn, + SERIALFUNC = taggstate_serialize, + DESERIALFUNC = taggstate_deserialize, + PARALLEL = safe +); + +/***************************************************************************** + * Append tinstant aggregate functions + *****************************************************************************/ + +-- The function is not STRICT +CREATE FUNCTION temporal_app_tinst_transfn(tpose, tpose) + RETURNS tpose + AS 'MODULE_PATHNAME', 'Temporal_app_tinst_transfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; + +-- The function is not STRICT +CREATE FUNCTION temporal_app_tinst_transfn(tpose, tpose, + interp text DEFAULT NULL) + RETURNS tpose + AS 'MODULE_PATHNAME', 'Temporal_app_tinst_transfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; + +-- The function is not STRICT +CREATE FUNCTION temporal_app_tinst_transfn(tpose, tpose, + interp text DEFAULT NULL, maxdist float DEFAULT NULL, + maxt interval DEFAULT NULL) + RETURNS tpose + AS 'MODULE_PATHNAME', 'Temporal_app_tinst_transfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; + +CREATE FUNCTION temporal_append_finalfn(tpose) + RETURNS tpose + AS 'MODULE_PATHNAME', 'Temporal_append_finalfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; + +CREATE AGGREGATE appendInstant(tpose) ( + SFUNC = temporal_app_tinst_transfn, + STYPE = tpose, + FINALFUNC = temporal_append_finalfn, + PARALLEL = safe +); + +CREATE AGGREGATE appendInstant(tpose, text) ( + SFUNC = temporal_app_tinst_transfn, + STYPE = tpose, + FINALFUNC = temporal_append_finalfn, + PARALLEL = safe +); + +CREATE AGGREGATE appendInstant(tpose, text, float, interval) ( + SFUNC = temporal_app_tinst_transfn, + STYPE = tpose, + FINALFUNC = temporal_append_finalfn, + PARALLEL = safe +); + +/*****************************************************************************/ + +-- The function is not STRICT +CREATE FUNCTION temporal_app_tseq_transfn(tpose, tpose) + RETURNS tpose + AS 'MODULE_PATHNAME', 'Temporal_app_tseq_transfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; + +CREATE AGGREGATE appendSequence(tpose) ( + SFUNC = temporal_app_tseq_transfn, + STYPE = tpose, + FINALFUNC = temporal_append_finalfn, + PARALLEL = safe +); + +/*****************************************************************************/ diff --git a/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/pose/113_tpose_distance.in.sql b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/pose/113_tpose_distance.in.sql new file mode 100644 index 00000000..88c44176 --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/pose/113_tpose_distance.in.sql @@ -0,0 +1,218 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @file + * @brief Temporal distance for temporal poses + */ + +CREATE FUNCTION tDistance(geometry(Point), tpose) + RETURNS tfloat + AS 'MODULE_PATHNAME', 'Tdistance_point_tpose' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tDistance(pose, tpose) + RETURNS tfloat + AS 'MODULE_PATHNAME', 'Tdistance_pose_tpose' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tDistance(tpose, geometry(Point)) + RETURNS tfloat + AS 'MODULE_PATHNAME', 'Tdistance_tpose_point' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tDistance(tpose, pose) + RETURNS tfloat + AS 'MODULE_PATHNAME', 'Tdistance_tpose_pose' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tDistance(tpose, tpose) + RETURNS tfloat + AS 'MODULE_PATHNAME', 'Tdistance_tpose_tpose' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR <-> ( + PROCEDURE = tDistance, + LEFTARG = geometry, + RIGHTARG = tpose, + COMMUTATOR = <-> +); +CREATE OPERATOR <-> ( + PROCEDURE = tDistance, + LEFTARG = pose, + RIGHTARG = tpose, + COMMUTATOR = <-> +); +CREATE OPERATOR <-> ( + PROCEDURE = tDistance, + LEFTARG = tpose, + RIGHTARG = geometry, + COMMUTATOR = <-> +); +CREATE OPERATOR <-> ( + PROCEDURE = tDistance, + LEFTARG = tpose, + RIGHTARG = pose, + COMMUTATOR = <-> +); +CREATE OPERATOR <-> ( + PROCEDURE = tDistance, + LEFTARG = tpose, + RIGHTARG = tpose, + COMMUTATOR = <-> +); + +/***************************************************************************** + * Nearest approach instant/distance and shortest line functions + *****************************************************************************/ + +CREATE FUNCTION nearestApproachInstant(geometry, tpose) + RETURNS tpose + AS 'MODULE_PATHNAME', 'NAI_geo_tpose' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION nearestApproachInstant(stbox, tpose) + RETURNS tpose + AS 'SELECT @extschema@.nearestApproachInstant(geometry($1), $2)' + LANGUAGE SQL IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION nearestApproachInstant(pose, tpose) + RETURNS tpose + AS 'SELECT @extschema@.nearestApproachInstant(geometry($1), $2)' + LANGUAGE SQL IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION nearestApproachInstant(tpose, geometry) + RETURNS tpose + AS 'MODULE_PATHNAME', 'NAI_tpose_geo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION nearestApproachInstant(tpose, stbox) + RETURNS tpose + AS 'SELECT @extschema@.nearestApproachInstant($1, geometry($2))' + LANGUAGE SQL IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION nearestApproachInstant(tpose, pose) + RETURNS tpose + AS 'SELECT @extschema@.nearestApproachInstant($1, geometry($2))' + LANGUAGE SQL IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION nearestApproachInstant(tpose, tpose) + RETURNS tpose + AS 'MODULE_PATHNAME', 'NAI_tpose_tpose' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/*****************************************************************************/ + +CREATE FUNCTION nearestApproachDistance(geometry, tpose) + RETURNS float + AS 'MODULE_PATHNAME', 'NAD_geo_tpose' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION nearestApproachDistance(stbox, tpose) + RETURNS float + AS 'SELECT @extschema@.nearestApproachDistance(geometry($1), $2)' + LANGUAGE SQL IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION nearestApproachDistance(pose, tpose) + RETURNS float + AS 'MODULE_PATHNAME', 'NAD_pose_tpose' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION nearestApproachDistance(tpose, geometry) + RETURNS float + AS 'MODULE_PATHNAME', 'NAD_tpose_geo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION nearestApproachDistance(tpose, stbox) + RETURNS float + AS 'SELECT @extschema@.nearestApproachDistance($1, geometry($2))' + LANGUAGE SQL IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION nearestApproachDistance(tpose, pose) + RETURNS float + AS 'SELECT @extschema@.nearestApproachDistance($1, geometry($2))' + LANGUAGE SQL IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION nearestApproachDistance(tpose, tpose) + RETURNS float + AS 'MODULE_PATHNAME', 'NAD_tpose_tpose' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR |=| ( + LEFTARG = geometry, RIGHTARG = tpose, + PROCEDURE = nearestApproachDistance, + COMMUTATOR = '|=|' +); +CREATE OPERATOR |=| ( + LEFTARG = tpose, RIGHTARG = geometry, + PROCEDURE = nearestApproachDistance, + COMMUTATOR = '|=|' +); +CREATE OPERATOR |=| ( + LEFTARG = stbox, RIGHTARG = tpose, + PROCEDURE = nearestApproachDistance, + COMMUTATOR = '|=|' +); +CREATE OPERATOR |=| ( + LEFTARG = tpose, RIGHTARG = stbox, + PROCEDURE = nearestApproachDistance, + COMMUTATOR = '|=|' +); +CREATE OPERATOR |=| ( + LEFTARG = pose, RIGHTARG = tpose, + PROCEDURE = nearestApproachDistance, + COMMUTATOR = '|=|' +); +CREATE OPERATOR |=| ( + LEFTARG = tpose, RIGHTARG = pose, + PROCEDURE = nearestApproachDistance, + COMMUTATOR = '|=|' +); +CREATE OPERATOR |=| ( + LEFTARG = tpose, RIGHTARG = tpose, + PROCEDURE = nearestApproachDistance, + COMMUTATOR = '|=|' +); + +/*****************************************************************************/ + +CREATE FUNCTION shortestLine(geometry, tpose) + RETURNS geometry + AS 'MODULE_PATHNAME', 'Shortestline_geo_tpose' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION shortestLine(stbox, tpose) + RETURNS geometry + AS 'SELECT @extschema@.shortestLine(geometry($1), $2)' + LANGUAGE SQL IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION shortestLine(pose, tpose) + RETURNS geometry + AS 'SELECT @extschema@.shortestLine(geometry($1), $2)' + LANGUAGE SQL IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION shortestLine(tpose, geometry) + RETURNS geometry + AS 'MODULE_PATHNAME', 'Shortestline_tpose_geo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION shortestLine(tpose, stbox) + RETURNS geometry + AS 'SELECT @extschema@.shortestLine($1, geometry($2))' + LANGUAGE SQL IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION shortestLine(tpose, pose) + RETURNS geometry + AS 'SELECT @extschema@.shortestLine($1, geometry($2))' + LANGUAGE SQL IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION shortestLine(tpose, tpose) + RETURNS geometry + AS 'MODULE_PATHNAME', 'Shortestline_tpose_tpose' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/*****************************************************************************/ diff --git a/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/pose/114_tpose_indexes.in.sql b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/pose/114_tpose_indexes.in.sql new file mode 100644 index 00000000..3e6a1fe4 --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/pose/114_tpose_indexes.in.sql @@ -0,0 +1,266 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @file + * @brief R-tree GiST and SP-GiST indexes for temporal poses + */ + +/******************************************************************************/ + +CREATE FUNCTION tpose_gist_consistent(internal, tpose, smallint, oid, internal) + RETURNS bool + AS 'MODULE_PATHNAME', 'Stbox_gist_consistent' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/******************************************************************************/ + +CREATE OPERATOR CLASS tpose_rtree_ops + DEFAULT FOR TYPE tpose USING gist AS + STORAGE stbox, + -- strictly left + OPERATOR 1 << (tpose, stbox), + OPERATOR 1 << (tpose, tpose), + -- overlaps or left + OPERATOR 2 &< (tpose, stbox), + OPERATOR 2 &< (tpose, tpose), + -- overlaps + OPERATOR 3 && (tpose, tstzspan), + OPERATOR 3 && (tpose, stbox), + OPERATOR 3 && (tpose, tpose), + -- overlaps or right + OPERATOR 4 &> (tpose, stbox), + OPERATOR 4 &> (tpose, tpose), + -- strictly right + OPERATOR 5 >> (tpose, stbox), + OPERATOR 5 >> (tpose, tpose), + -- same + OPERATOR 6 ~= (tpose, tstzspan), + OPERATOR 6 ~= (tpose, stbox), + OPERATOR 6 ~= (tpose, tpose), + -- contains + OPERATOR 7 @> (tpose, tstzspan), + OPERATOR 7 @> (tpose, stbox), + OPERATOR 7 @> (tpose, tpose), + -- contained by + OPERATOR 8 <@ (tpose, tstzspan), + OPERATOR 8 <@ (tpose, stbox), + OPERATOR 8 <@ (tpose, tpose), + -- overlaps or below + OPERATOR 9 &<| (tpose, stbox), + OPERATOR 9 &<| (tpose, tpose), + -- strictly below + OPERATOR 10 <<| (tpose, stbox), + OPERATOR 10 <<| (tpose, tpose), + -- strictly above + OPERATOR 11 |>> (tpose, stbox), + OPERATOR 11 |>> (tpose, tpose), + -- overlaps or above + OPERATOR 12 |&> (tpose, stbox), + OPERATOR 12 |&> (tpose, tpose), + -- adjacent + OPERATOR 17 -|- (tpose, tstzspan), + OPERATOR 17 -|- (tpose, stbox), + OPERATOR 17 -|- (tpose, tpose), + -- nearest approach distance +-- OPERATOR 25 |=| (tpose, stbox) FOR ORDER BY pg_catalog.float_ops, + -- overlaps or before + OPERATOR 28 &<# (tpose, tstzspan), + OPERATOR 28 &<# (tpose, stbox), + OPERATOR 28 &<# (tpose, tpose), + -- strictly before + OPERATOR 29 <<# (tpose, tstzspan), + OPERATOR 29 <<# (tpose, stbox), + OPERATOR 29 <<# (tpose, tpose), + -- strictly after + OPERATOR 30 #>> (tpose, tstzspan), + OPERATOR 30 #>> (tpose, stbox), + OPERATOR 30 #>> (tpose, tpose), + -- overlaps or after + OPERATOR 31 #&> (tpose, tstzspan), + OPERATOR 31 #&> (tpose, stbox), + OPERATOR 31 #&> (tpose, tpose), + -- functions + FUNCTION 1 tpose_gist_consistent(internal, tpose, smallint, oid, internal), + FUNCTION 2 stbox_gist_union(internal, internal), + FUNCTION 3 tspatial_gist_compress(internal), + FUNCTION 5 stbox_gist_penalty(internal, internal, internal), + FUNCTION 6 stbox_gist_picksplit(internal, internal), + FUNCTION 7 stbox_gist_same(stbox, stbox, internal); +-- FUNCTION 8 gist_tpose_distance(internal, tpose, smallint, oid, internal), + +/******************************************************************************/ + +CREATE OPERATOR CLASS tpose_quadtree_ops + DEFAULT FOR TYPE tpose USING spgist AS + -- strictly left + OPERATOR 1 << (tpose, stbox), + OPERATOR 1 << (tpose, tpose), + -- overlaps or left + OPERATOR 2 &< (tpose, stbox), + OPERATOR 2 &< (tpose, tpose), + -- overlaps + OPERATOR 3 && (tpose, tstzspan), + OPERATOR 3 && (tpose, stbox), + OPERATOR 3 && (tpose, tpose), + -- overlaps or right + OPERATOR 4 &> (tpose, stbox), + OPERATOR 4 &> (tpose, tpose), + -- strictly right + OPERATOR 5 >> (tpose, stbox), + OPERATOR 5 >> (tpose, tpose), + -- same + OPERATOR 6 ~= (tpose, tstzspan), + OPERATOR 6 ~= (tpose, stbox), + OPERATOR 6 ~= (tpose, tpose), + -- contains + OPERATOR 7 @> (tpose, tstzspan), + OPERATOR 7 @> (tpose, stbox), + OPERATOR 7 @> (tpose, tpose), + -- contained by + OPERATOR 8 <@ (tpose, tstzspan), + OPERATOR 8 <@ (tpose, stbox), + OPERATOR 8 <@ (tpose, tpose), + -- overlaps or below + OPERATOR 9 &<| (tpose, stbox), + OPERATOR 9 &<| (tpose, tpose), + -- strictly below + OPERATOR 10 <<| (tpose, stbox), + OPERATOR 10 <<| (tpose, tpose), + -- strictly above + OPERATOR 11 |>> (tpose, stbox), + OPERATOR 11 |>> (tpose, tpose), + -- overlaps or above + OPERATOR 12 |&> (tpose, stbox), + OPERATOR 12 |&> (tpose, tpose), + -- adjacent + OPERATOR 17 -|- (tpose, tstzspan), + OPERATOR 17 -|- (tpose, stbox), + OPERATOR 17 -|- (tpose, tpose), + -- nearest approach distance +-- OPERATOR 25 |=| (tpose, stbox) FOR ORDER BY pg_catalog.float_ops, + -- overlaps or before + OPERATOR 28 &<# (tpose, tstzspan), + OPERATOR 28 &<# (tpose, stbox), + OPERATOR 28 &<# (tpose, tpose), + -- strictly before + OPERATOR 29 <<# (tpose, tstzspan), + OPERATOR 29 <<# (tpose, stbox), + OPERATOR 29 <<# (tpose, tpose), + -- strictly after + OPERATOR 30 #>> (tpose, tstzspan), + OPERATOR 30 #>> (tpose, stbox), + OPERATOR 30 #>> (tpose, tpose), + -- overlaps or after + OPERATOR 31 #&> (tpose, tstzspan), + OPERATOR 31 #&> (tpose, stbox), + OPERATOR 31 #&> (tpose, tpose), + -- functions + FUNCTION 1 stbox_spgist_config(internal, internal), + FUNCTION 2 stbox_quadtree_choose(internal, internal), + FUNCTION 3 stbox_quadtree_picksplit(internal, internal), + FUNCTION 4 stbox_quadtree_inner_consistent(internal, internal), + FUNCTION 5 stbox_spgist_leaf_consistent(internal, internal), + FUNCTION 6 tspatial_spgist_compress(internal); + +/******************************************************************************/ + +CREATE OPERATOR CLASS tpose_kdtree_ops + FOR TYPE tpose USING spgist AS + -- strictly left + OPERATOR 1 << (tpose, stbox), + OPERATOR 1 << (tpose, tpose), + -- overlaps or left + OPERATOR 2 &< (tpose, stbox), + OPERATOR 2 &< (tpose, tpose), + -- overlaps + OPERATOR 3 && (tpose, tstzspan), + OPERATOR 3 && (tpose, stbox), + OPERATOR 3 && (tpose, tpose), + -- overlaps or right + OPERATOR 4 &> (tpose, stbox), + OPERATOR 4 &> (tpose, tpose), + -- strictly right + OPERATOR 5 >> (tpose, stbox), + OPERATOR 5 >> (tpose, tpose), + -- same + OPERATOR 6 ~= (tpose, tstzspan), + OPERATOR 6 ~= (tpose, stbox), + OPERATOR 6 ~= (tpose, tpose), + -- contains + OPERATOR 7 @> (tpose, tstzspan), + OPERATOR 7 @> (tpose, stbox), + OPERATOR 7 @> (tpose, tpose), + -- contained by + OPERATOR 8 <@ (tpose, tstzspan), + OPERATOR 8 <@ (tpose, stbox), + OPERATOR 8 <@ (tpose, tpose), + -- overlaps or below + OPERATOR 9 &<| (tpose, stbox), + OPERATOR 9 &<| (tpose, tpose), + -- strictly below + OPERATOR 10 <<| (tpose, stbox), + OPERATOR 10 <<| (tpose, tpose), + -- strictly above + OPERATOR 11 |>> (tpose, stbox), + OPERATOR 11 |>> (tpose, tpose), + -- overlaps or above + OPERATOR 12 |&> (tpose, stbox), + OPERATOR 12 |&> (tpose, tpose), + -- adjacent + OPERATOR 17 -|- (tpose, tstzspan), + OPERATOR 17 -|- (tpose, stbox), + OPERATOR 17 -|- (tpose, tpose), + -- nearest approach distance +-- OPERATOR 25 |=| (tpose, stbox) FOR ORDER BY pg_catalog.float_ops, + -- overlaps or before + OPERATOR 28 &<# (tpose, tstzspan), + OPERATOR 28 &<# (tpose, stbox), + OPERATOR 28 &<# (tpose, tpose), + -- strictly before + OPERATOR 29 <<# (tpose, tstzspan), + OPERATOR 29 <<# (tpose, stbox), + OPERATOR 29 <<# (tpose, tpose), + -- strictly after + OPERATOR 30 #>> (tpose, tstzspan), + OPERATOR 30 #>> (tpose, stbox), + OPERATOR 30 #>> (tpose, tpose), + -- overlaps or after + OPERATOR 31 #&> (tpose, tstzspan), + OPERATOR 31 #&> (tpose, stbox), + OPERATOR 31 #&> (tpose, tpose), + -- functions + FUNCTION 1 stbox_spgist_config(internal, internal), + FUNCTION 2 stbox_kdtree_choose(internal, internal), + FUNCTION 3 stbox_kdtree_picksplit(internal, internal), + FUNCTION 4 stbox_kdtree_inner_consistent(internal, internal), + FUNCTION 5 stbox_spgist_leaf_consistent(internal, internal), + FUNCTION 6 tspatial_spgist_compress(internal); + +/******************************************************************************/ diff --git a/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/pose/CMakeLists.txt b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/pose/CMakeLists.txt new file mode 100644 index 00000000..a59f998d --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/pose/CMakeLists.txt @@ -0,0 +1,20 @@ +SET(LOCAL_FILES + 100_pose + 101_poseset + 102_tpose + 104_tpose_compops + 105_tpose_spatialfuncs + 108_tpose_topops + 109_tpose_posops + 111_tpose_aggfuncs + 113_tpose_distance + 114_tpose_indexes + ) + +foreach (f ${LOCAL_FILES}) + process_file(${f} ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR}) + configure_file(${CMAKE_CURRENT_BINARY_DIR}/${f}.sql.in ${CMAKE_BINARY_DIR}/MobilityDB/sql/${f}.sql @ONLY) + list(APPEND PACKAGE_SQL_FILES ${CMAKE_BINARY_DIR}/MobilityDB/sql/${f}.sql) +endforeach() + +set(PROJECT_SQL_FILES ${PROJECT_SQL_FILES} ${PACKAGE_SQL_FILES} PARENT_SCOPE) diff --git a/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/rgeo/122_trgeo.in.sql b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/rgeo/122_trgeo.in.sql new file mode 100644 index 00000000..aa5be6ea --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/rgeo/122_trgeo.in.sql @@ -0,0 +1,704 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.  + * + *****************************************************************************/ + +/** + * @file + * @brief Basic functions for temporal rigid geometries + */ + +CREATE TYPE trgeometry; + +/****************************************************************************** + * Input/Output + ******************************************************************************/ + +CREATE FUNCTION trgeometry_in(cstring, oid, integer) + RETURNS trgeometry + AS 'MODULE_PATHNAME', 'Trgeometry_in' + LANGUAGE C IMMUTABLE STRICT; +CREATE FUNCTION trgeometry_out(trgeometry) + RETURNS cstring + AS 'MODULE_PATHNAME', 'Trgeometry_out' + LANGUAGE C IMMUTABLE STRICT; +CREATE FUNCTION trgeometry_recv(internal) + RETURNS trgeometry + AS 'MODULE_PATHNAME', 'Trgeometry_recv' + LANGUAGE C IMMUTABLE STRICT; +CREATE FUNCTION trgeometry_send(trgeometry) + RETURNS bytea + AS 'MODULE_PATHNAME', 'Trgeometry_send' + LANGUAGE C IMMUTABLE STRICT; + +CREATE FUNCTION trgeo_typmod_in(cstring[]) + RETURNS integer + AS 'MODULE_PATHNAME', 'Trgeometry_typmod_in' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE TYPE trgeometry ( + internallength = variable, + input = trgeometry_in, + output = trgeometry_out, + receive = trgeometry_recv, + send = trgeometry_send, + typmod_in = trgeo_typmod_in, + typmod_out = tspatial_typmod_out, + storage = extended, + alignment = double, + analyze = tspatial_analyze +); + +-- Special cast for enforcing the typmod restrictions +CREATE FUNCTION trgeometry(trgeometry, integer) + RETURNS trgeometry + AS 'MODULE_PATHNAME','Tspatial_enforce_typmod' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE CAST (trgeometry AS trgeometry) WITH FUNCTION trgeometry(trgeometry, integer) AS IMPLICIT; + +/***************************************************************************** + * Input/output from (E)WKT, (E)WKB, HexEWKB, and MFJSON representation + *****************************************************************************/ + +CREATE FUNCTION trgeometryFromText(text) + RETURNS trgeometry + AS 'MODULE_PATHNAME', 'Trgeometry_from_ewkt' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION trgeometryFromEWKT(text) + RETURNS trgeometry + AS 'MODULE_PATHNAME', 'Trgeometry_from_ewkt' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION trgeometryFromMFJSON(text) + RETURNS trgeometry + AS 'MODULE_PATHNAME', 'Temporal_from_mfjson' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION trgeometryFromBinary(bytea) + RETURNS trgeometry + AS 'MODULE_PATHNAME', 'Temporal_from_wkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION trgeometryFromEWKB(bytea) + RETURNS trgeometry + AS 'MODULE_PATHNAME', 'Temporal_from_wkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION trgeometryFromHexEWKB(text) + RETURNS trgeometry + AS 'MODULE_PATHNAME', 'Temporal_from_hexwkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/******************************************************************************/ + +CREATE FUNCTION asText(trgeometry, maxdecimaldigits int4 DEFAULT 15) + RETURNS text + AS 'MODULE_PATHNAME', 'Trgeometry_as_text' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION asText(trgeometry[], maxdecimaldigits int4 DEFAULT 15) + RETURNS text[] + AS 'MODULE_PATHNAME', 'Spatialarr_as_text' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION asEWKT(trgeometry, maxdecimaldigits int4 DEFAULT 15) + RETURNS text + AS 'MODULE_PATHNAME', 'Trgeometry_as_ewkt' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION asEWKT(trgeometry[], maxdecimaldigits int4 DEFAULT 15) + RETURNS text[] + AS 'MODULE_PATHNAME', 'Spatialarr_as_ewkt' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION asMFJSON(trgeometry, options int4 DEFAULT 0, + flags int4 DEFAULT 0, maxdecimaldigits int4 DEFAULT 15) + RETURNS text + AS 'MODULE_PATHNAME', 'Temporal_as_mfjson' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION asBinary(trgeometry, endianenconding text DEFAULT '') + RETURNS bytea + AS 'MODULE_PATHNAME', 'Temporal_as_wkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION asEWKB(trgeometry, endianenconding text DEFAULT '') + RETURNS bytea + AS 'MODULE_PATHNAME', 'Tspatial_as_ewkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION asHexEWKB(trgeometry, endianenconding text DEFAULT '') + RETURNS text + AS 'MODULE_PATHNAME', 'Temporal_as_hexwkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/****************************************************************************** + * Constructors + ******************************************************************************/ + +CREATE FUNCTION trgeometry(geometry, pose, timestamptz) + RETURNS trgeometry + AS 'MODULE_PATHNAME', 'Trgeometry_inst_constructor' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION trgeometrySeq(trgeometry[], text DEFAULT 'linear', + lower_inc boolean DEFAULT true, upper_inc boolean DEFAULT true) + RETURNS trgeometry + AS 'MODULE_PATHNAME', 'Trgeometry_seq_constructor' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION trgeometrySeqSet(trgeometry[]) + RETURNS trgeometry + AS 'MODULE_PATHNAME', 'Trgeometry_seqset_constructor' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +-- The function is not strict +CREATE FUNCTION trgeometrySeqSetGaps(trgeometry[], maxt interval DEFAULT NULL, + maxdist float DEFAULT NULL, text DEFAULT 'linear') + RETURNS trgeometry + AS 'MODULE_PATHNAME', 'Trgeometry_seqset_constructor_gaps' + LANGUAGE C IMMUTABLE PARALLEL SAFE; + +/*****************************************************************************/ + +CREATE FUNCTION trgeometry(geometry, tpose) + RETURNS trgeometry + AS 'MODULE_PATHNAME', 'Trgeometry_constructor' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/****************************************************************************** + * Conversion functions + ******************************************************************************/ + +CREATE FUNCTION timeSpan(trgeometry) + RETURNS tstzspan + AS 'MODULE_PATHNAME', 'Temporal_to_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE CAST (trgeometry AS tstzspan) WITH FUNCTION timeSpan(trgeometry); + +CREATE FUNCTION tpose(trgeometry) + RETURNS tpose + AS 'MODULE_PATHNAME', 'Trgeometry_to_tpose' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tgeompoint(trgeometry) + RETURNS tgeompoint + AS 'MODULE_PATHNAME', 'Trgeometry_to_tpoint' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE CAST (trgeometry AS tpose) WITH FUNCTION tpose(trgeometry); +CREATE CAST (trgeometry AS tgeompoint) WITH FUNCTION tgeompoint(trgeometry); + +CREATE FUNCTION stbox(trgeometry) + RETURNS stbox + AS 'MODULE_PATHNAME', 'Tspatial_to_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE CAST (trgeometry AS stbox) WITH FUNCTION stbox(trgeometry); + +CREATE FUNCTION geometry(trgeometry) + RETURNS geometry + AS 'MODULE_PATHNAME', 'Trgeometry_to_geom' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE CAST (trgeometry AS geometry) WITH FUNCTION geometry(trgeometry); + +/****************************************************************************** + * Accessor Functions + ******************************************************************************/ + +/******************************************************************************/ + +CREATE FUNCTION tempSubtype(trgeometry) + RETURNS text + AS 'MODULE_PATHNAME', 'Temporal_subtype' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION interp(trgeometry) + RETURNS text + AS 'MODULE_PATHNAME', 'Temporal_interp' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION memSize(trgeometry) + RETURNS int + AS 'MODULE_PATHNAME', 'Temporal_mem_size' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +-- value is a reserved word in SQL +CREATE FUNCTION getValue(trgeometry) + RETURNS pose + AS 'MODULE_PATHNAME', 'Tinstant_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +-- timestamp is a reserved word in SQL +CREATE FUNCTION getTimestamp(trgeometry) + RETURNS timestamptz + AS 'MODULE_PATHNAME', 'Tinstant_timestamptz' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +-- timestamp is a reserved word in SQL +CREATE FUNCTION getValues(trgeometry) + RETURNS poseset + AS 'MODULE_PATHNAME', 'Temporal_valueset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +-- time is a reserved word in SQL +CREATE FUNCTION getTime(trgeometry) + RETURNS tstzspanset + AS 'MODULE_PATHNAME', 'Temporal_time' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION startValue(trgeometry) + RETURNS geometry + AS 'MODULE_PATHNAME', 'Trgeometry_start_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION endValue(trgeometry) + RETURNS geometry + AS 'MODULE_PATHNAME', 'Trgeometry_end_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION valueN(trgeometry, int) + RETURNS geometry + AS 'MODULE_PATHNAME', 'Trgeometry_value_n' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION valueAtTimestamp(trgeometry, timestamptz) + RETURNS geometry + AS 'MODULE_PATHNAME', 'Trgeometry_value_at_timestamptz' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION duration(trgeometry, boundspan boolean DEFAULT FALSE) + RETURNS interval + AS 'MODULE_PATHNAME', 'Temporal_duration' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION lowerInc(trgeometry) + RETURNS bool + AS 'MODULE_PATHNAME', 'Temporal_lower_inc' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION upperInc(trgeometry) + RETURNS bool + AS 'MODULE_PATHNAME', 'Temporal_upper_inc' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION numInstants(trgeometry) + RETURNS integer + AS 'MODULE_PATHNAME', 'Temporal_num_instants' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION startInstant(trgeometry) + RETURNS trgeometry + AS 'MODULE_PATHNAME', 'Temporal_start_instant' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION endInstant(trgeometry) + RETURNS trgeometry + AS 'MODULE_PATHNAME', 'Temporal_end_instant' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION instantN(trgeometry, integer) + RETURNS trgeometry + AS 'MODULE_PATHNAME', 'Temporal_instant_n' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION instants(trgeometry) + RETURNS trgeometry[] + AS 'MODULE_PATHNAME', 'Temporal_instants' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION numTimestamps(trgeometry) + RETURNS integer + AS 'MODULE_PATHNAME', 'Temporal_num_timestamps' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION startTimestamp(trgeometry) + RETURNS timestamptz + AS 'MODULE_PATHNAME', 'Temporal_start_timestamptz' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION endTimestamp(trgeometry) + RETURNS timestamptz + AS 'MODULE_PATHNAME', 'Temporal_end_timestamptz' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION timestampN(trgeometry, integer) + RETURNS timestamptz + AS 'MODULE_PATHNAME', 'Temporal_timestamptz_n' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION timestamps(trgeometry) + RETURNS timestamptz[] + AS 'MODULE_PATHNAME', 'Temporal_timestamps' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION numSequences(trgeometry) + RETURNS integer + AS 'MODULE_PATHNAME', 'Temporal_num_sequences' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION startSequence(trgeometry) + RETURNS trgeometry + AS 'MODULE_PATHNAME', 'Temporal_start_sequence' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION endSequence(trgeometry) + RETURNS trgeometry + AS 'MODULE_PATHNAME', 'Temporal_end_sequence' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION sequenceN(trgeometry, integer) + RETURNS trgeometry + AS 'MODULE_PATHNAME', 'Temporal_sequence_n' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION sequences(trgeometry) + RETURNS trgeometry[] + AS 'MODULE_PATHNAME', 'Temporal_sequences' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION segments(trgeometry) + RETURNS trgeometry[] + AS 'MODULE_PATHNAME', 'Temporal_segments' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/****************************************************************************** + * Transformation functions + ******************************************************************************/ + +CREATE FUNCTION trgeometryInst(trgeometry) + RETURNS trgeometry + AS 'MODULE_PATHNAME', 'Trgeometry_to_tinstant' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +-- The function is not strict +CREATE FUNCTION trgeometrySeq(trgeometry, text DEFAULT NULL) + RETURNS trgeometry + AS 'MODULE_PATHNAME', 'Trgeometry_to_tsequence' + LANGUAGE C IMMUTABLE PARALLEL SAFE; +-- The function is not strict +CREATE FUNCTION trgeometrySeqSet(trgeometry, text DEFAULT NULL) + RETURNS trgeometry + AS 'MODULE_PATHNAME', 'Trgeometry_to_tsequenceset' + LANGUAGE C IMMUTABLE PARALLEL SAFE; + +CREATE FUNCTION setInterp(trgeometry, text) + RETURNS trgeometry + AS 'MODULE_PATHNAME', 'Temporal_set_interp' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION round(trgeometry, integer DEFAULT 0) + RETURNS trgeometry + AS 'MODULE_PATHNAME', 'Temporal_round' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION round(trgeometry[], integer DEFAULT 0) + RETURNS trgeometry[] + AS 'MODULE_PATHNAME', 'Temporalarr_round' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION shiftTime(trgeometry, interval) + RETURNS trgeometry + AS 'MODULE_PATHNAME', 'Temporal_shift_time' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION scaleTime(trgeometry, interval) + RETURNS trgeometry + AS 'MODULE_PATHNAME', 'Temporal_scale_time' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION shiftScaleTime(trgeometry, interval, interval) + RETURNS trgeometry + AS 'MODULE_PATHNAME', 'Temporal_shift_scale_time' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +-- CREATE FUNCTION tprecision(trgeometry, duration interval, +-- origin timestamptz DEFAULT '2000-01-03') +-- RETURNS trgeometry +-- AS 'MODULE_PATHNAME', 'Temporal_tprecision' +-- LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +-- CREATE FUNCTION tsample(trgeometry, duration interval, +-- origin timestamptz DEFAULT '2000-01-03') +-- RETURNS trgeometry +-- AS 'MODULE_PATHNAME', 'Temporal_tsample' +-- LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/***************************************************************************** + * Restriction Functions + *****************************************************************************/ + +-- CREATE FUNCTION atValues(trgeometry, geometry) + -- RETURNS trgeometry + -- AS 'MODULE_PATHNAME', 'Temporal_at_value' + -- LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +-- CREATE FUNCTION minusValues(trgeometry, geometry) + -- RETURNS trgeometry + -- AS 'MODULE_PATHNAME', 'Temporal_minus_value' + -- LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +-- CREATE FUNCTION atValues(trgeometry, geomset) + -- RETURNS trgeometry + -- AS 'MODULE_PATHNAME', 'Temporal_at_values' + -- LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +-- CREATE FUNCTION minusValues(trgeometry, geomset) + -- RETURNS trgeometry + -- AS 'MODULE_PATHNAME', 'Temporal_minus_values' + -- LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION atTime(trgeometry, timestamptz) + RETURNS trgeometry + AS 'MODULE_PATHNAME', 'Temporal_at_timestamptz' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION minusTime(trgeometry, timestamptz) + RETURNS trgeometry + AS 'MODULE_PATHNAME', 'Temporal_minus_timestamptz' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION atTime(trgeometry, tstzset) + RETURNS trgeometry + AS 'MODULE_PATHNAME', 'Temporal_at_tstzset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION minusTime(trgeometry, tstzset) + RETURNS trgeometry + AS 'MODULE_PATHNAME', 'Temporal_minus_tstzset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION atTime(trgeometry, tstzspan) + RETURNS trgeometry + AS 'MODULE_PATHNAME', 'Temporal_at_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION minusTime(trgeometry, tstzspan) + RETURNS trgeometry + AS 'MODULE_PATHNAME', 'Temporal_minus_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION atTime(trgeometry, tstzspanset) + RETURNS trgeometry + AS 'MODULE_PATHNAME', 'Temporal_at_tstzspanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION minusTime(trgeometry, tstzspanset) + RETURNS trgeometry + AS 'MODULE_PATHNAME', 'Temporal_minus_tstzspanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION beforeTimestamp(trgeometry, timestamptz, strict bool DEFAULT TRUE) + RETURNS trgeometry + AS 'MODULE_PATHNAME', 'Temporal_before_timestamptz' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION afterTimestamp(trgeometry, timestamptz, strict bool DEFAULT TRUE) + RETURNS trgeometry + AS 'MODULE_PATHNAME', 'Temporal_after_timestamptz' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/***************************************************************************** + * Unnest Function + *****************************************************************************/ + +CREATE FUNCTION unnest(trgeometry) + RETURNS SETOF geom_tstzspanset + AS 'MODULE_PATHNAME', 'Temporal_unnest' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/***************************************************************************** + * Stops Function + *****************************************************************************/ + +CREATE FUNCTION stops(trgeometry, maxdist float DEFAULT 0.0, + minduration interval DEFAULT '0 minutes') + RETURNS trgeometry + AS 'MODULE_PATHNAME', 'Temporal_stops' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/***************************************************************************** + * Modification Functions + *****************************************************************************/ + +CREATE FUNCTION insert(trgeometry, trgeometry, connect boolean DEFAULT TRUE) + RETURNS trgeometry + AS 'MODULE_PATHNAME', 'Temporal_update' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION update(trgeometry, trgeometry, connect boolean DEFAULT TRUE) + RETURNS trgeometry + AS 'MODULE_PATHNAME', 'Temporal_update' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION deleteTime(trgeometry, timestamptz, connect boolean DEFAULT TRUE) + RETURNS trgeometry + AS 'MODULE_PATHNAME', 'Temporal_delete_timestamptz' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION deleteTime(trgeometry, tstzset, connect boolean DEFAULT TRUE) + RETURNS trgeometry + AS 'MODULE_PATHNAME', 'Temporal_delete_tstzset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION deleteTime(trgeometry, tstzspan, connect boolean DEFAULT TRUE) + RETURNS trgeometry + AS 'MODULE_PATHNAME', 'Temporal_delete_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION deleteTime(trgeometry, tstzspanset, connect boolean DEFAULT TRUE) + RETURNS trgeometry + AS 'MODULE_PATHNAME', 'Temporal_delete_tstzspanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION appendInstant(trgeometry, trgeometry) + RETURNS trgeometry + AS 'MODULE_PATHNAME', 'Temporal_append_tinstant' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION appendSequence(trgeometry, trgeometry) + RETURNS trgeometry + AS 'MODULE_PATHNAME', 'Temporal_append_tsequence' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +-- The function is not strict +CREATE FUNCTION merge(trgeometry, trgeometry) + RETURNS trgeometry + AS 'MODULE_PATHNAME', 'Temporal_merge' + LANGUAGE C IMMUTABLE PARALLEL SAFE; + +CREATE FUNCTION merge(trgeometry[]) + RETURNS trgeometry + AS 'MODULE_PATHNAME', 'Temporal_merge_array' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/****************************************************************************** + * Multidimensional tiling + ******************************************************************************/ + +CREATE TYPE time_trgeometry AS ( + time timestamptz, + temp trgeometry +); + +CREATE FUNCTION timeSplit(trgeometry, bucket_width interval, + origin timestamptz DEFAULT '2000-01-03') + RETURNS setof time_trgeometry + AS 'MODULE_PATHNAME', 'Temporal_time_split' + LANGUAGE C IMMUTABLE PARALLEL SAFE STRICT; + +/****************************************************************************** + * Comparison functions and B-tree indexing + ******************************************************************************/ + +CREATE FUNCTION temporal_lt(trgeometry, trgeometry) + RETURNS bool + AS 'MODULE_PATHNAME', 'Temporal_lt' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_le(trgeometry, trgeometry) + RETURNS bool + AS 'MODULE_PATHNAME', 'Temporal_le' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_eq(trgeometry, trgeometry) + RETURNS bool + AS 'MODULE_PATHNAME', 'Temporal_eq' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_ne(trgeometry, trgeometry) + RETURNS bool + AS 'MODULE_PATHNAME', 'Temporal_ne' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_ge(trgeometry, trgeometry) + RETURNS bool + AS 'MODULE_PATHNAME', 'Temporal_ge' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_gt(trgeometry, trgeometry) + RETURNS bool + AS 'MODULE_PATHNAME', 'Temporal_gt' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_cmp(trgeometry, trgeometry) + RETURNS int4 + AS 'MODULE_PATHNAME', 'Temporal_cmp' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR < ( + LEFTARG = trgeometry, RIGHTARG = trgeometry, + PROCEDURE = temporal_lt, + COMMUTATOR = >, NEGATOR = >=, + RESTRICT = scalarltsel, JOIN = scalarltjoinsel +); +CREATE OPERATOR <= ( + LEFTARG = trgeometry, RIGHTARG = trgeometry, + PROCEDURE = temporal_le, + COMMUTATOR = >=, NEGATOR = >, + RESTRICT = scalarltsel, JOIN = scalarltjoinsel +); +CREATE OPERATOR = ( + LEFTARG = trgeometry, RIGHTARG = trgeometry, + PROCEDURE = temporal_eq, + COMMUTATOR = =, NEGATOR = <>, + RESTRICT = eqsel, JOIN = eqjoinsel +); +CREATE OPERATOR <> ( + LEFTARG = trgeometry, RIGHTARG = trgeometry, + PROCEDURE = temporal_ne, + COMMUTATOR = <>, NEGATOR = =, + RESTRICT = neqsel, JOIN = neqjoinsel +); +CREATE OPERATOR >= ( + LEFTARG = trgeometry, RIGHTARG = trgeometry, + PROCEDURE = temporal_ge, + COMMUTATOR = <=, NEGATOR = <, + RESTRICT = scalargtsel, JOIN = scalargtjoinsel +); +CREATE OPERATOR > ( + LEFTARG = trgeometry, RIGHTARG = trgeometry, + PROCEDURE = temporal_gt, + COMMUTATOR = <, NEGATOR = <=, + RESTRICT = scalargtsel, JOIN = scalargtjoinsel +); + +CREATE OPERATOR CLASS trgeometry_btree_ops + DEFAULT FOR TYPE trgeometry USING btree AS + OPERATOR 1 <, + OPERATOR 2 <=, + OPERATOR 3 =, + OPERATOR 4 >=, + OPERATOR 5 >, + FUNCTION 1 temporal_cmp(trgeometry, trgeometry); + +/******************************************************************************/ + +CREATE FUNCTION temporal_hash(trgeometry) + RETURNS integer + AS 'MODULE_PATHNAME', 'Temporal_hash' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR CLASS trgeometry_hash_ops + DEFAULT FOR TYPE trgeometry USING hash AS + OPERATOR 1 = , + FUNCTION 1 temporal_hash(trgeometry); + +/******************************************************************************/ diff --git a/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/rgeo/124_trgeo_compops.in.sql b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/rgeo/124_trgeo_compops.in.sql new file mode 100644 index 00000000..9a95c4cf --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/rgeo/124_trgeo_compops.in.sql @@ -0,0 +1,247 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.  + * + *****************************************************************************/ + +/** + * @file + * @brief Ever, always, and temporal comparisons for temporal rigid geometries + */ + +/***************************************************************************** + * Ever/Always Comparison Functions + *****************************************************************************/ + +CREATE FUNCTION ever_eq(geometry, trgeometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Ever_eq_geo_trgeo' + SUPPORT tspatial_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION always_eq(geometry, trgeometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Always_eq_geo_trgeo' + SUPPORT tspatial_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR ?= ( + LEFTARG = geometry, RIGHTARG = trgeometry, + PROCEDURE = ever_eq, + NEGATOR = %<>, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR %= ( + LEFTARG = geometry, RIGHTARG = trgeometry, + PROCEDURE = always_eq, + NEGATOR = ?<>, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +CREATE FUNCTION ever_ne(geometry, trgeometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Ever_ne_geo_trgeo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION always_ne(geometry, trgeometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Always_ne_geo_trgeo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR ?<> ( + LEFTARG = geometry, RIGHTARG = trgeometry, + PROCEDURE = ever_ne, + NEGATOR = %=, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR %<> ( + LEFTARG = geometry, RIGHTARG = trgeometry, + PROCEDURE = always_ne, + NEGATOR = ?=, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +/*****************************************************************************/ + +CREATE FUNCTION ever_eq(trgeometry, geometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Ever_eq_trgeo_geo' + SUPPORT tspatial_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION always_eq(trgeometry, geometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Always_eq_trgeo_geo' + SUPPORT tspatial_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR ?= ( + LEFTARG = trgeometry, RIGHTARG = geometry, + PROCEDURE = ever_eq, + NEGATOR = %<>, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR %= ( + LEFTARG = trgeometry, RIGHTARG = geometry, + PROCEDURE = always_eq, + NEGATOR = ?<>, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +CREATE FUNCTION ever_ne(trgeometry, geometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Ever_ne_trgeo_geo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION always_ne(trgeometry, geometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Always_ne_trgeo_geo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR ?<> ( + LEFTARG = trgeometry, RIGHTARG = geometry, + PROCEDURE = ever_ne, + NEGATOR = %=, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR %<> ( + LEFTARG = trgeometry, RIGHTARG = geometry, + PROCEDURE = always_ne, + NEGATOR = ?=, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +/*****************************************************************************/ + +CREATE FUNCTION ever_eq(trgeometry, trgeometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Ever_eq_trgeo_trgeo' + SUPPORT tspatial_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION always_eq(trgeometry, trgeometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Always_eq_trgeo_trgeo' + SUPPORT tspatial_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR ?= ( + LEFTARG = trgeometry, RIGHTARG = trgeometry, + PROCEDURE = ever_eq, + NEGATOR = %<>, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR %= ( + LEFTARG = trgeometry, RIGHTARG = trgeometry, + PROCEDURE = always_eq, + NEGATOR = ?<>, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +CREATE FUNCTION ever_ne(trgeometry, trgeometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Ever_ne_trgeo_trgeo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION always_ne(trgeometry, trgeometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Always_ne_trgeo_trgeo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR ?<> ( + LEFTARG = trgeometry, RIGHTARG = trgeometry, + PROCEDURE = ever_ne, + NEGATOR = %=, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR %<> ( + LEFTARG = trgeometry, RIGHTARG = trgeometry, + PROCEDURE = always_ne, + NEGATOR = ?=, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +/***************************************************************************** + * Temporal equal + *****************************************************************************/ + +CREATE FUNCTION temporal_teq(geometry, trgeometry) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Teq_geo_trgeo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_teq(trgeometry, geometry) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Teq_trgeo_geo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_teq(trgeometry, trgeometry) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Teq_temporal_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR #= ( + PROCEDURE = temporal_teq, + LEFTARG = geometry, RIGHTARG = trgeometry, + COMMUTATOR = #= +); +CREATE OPERATOR #= ( + PROCEDURE = temporal_teq, + LEFTARG = trgeometry, RIGHTARG = geometry, + COMMUTATOR = #= +); +CREATE OPERATOR #= ( + PROCEDURE = temporal_teq, + LEFTARG = trgeometry, RIGHTARG = trgeometry, + COMMUTATOR = #= +); + +/***************************************************************************** + * Temporal not equal + *****************************************************************************/ + +CREATE FUNCTION temporal_tne(geometry, trgeometry) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Tne_geo_trgeo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_tne(trgeometry, geometry) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Tne_trgeo_geo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_tne(trgeometry, trgeometry) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Tne_temporal_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR #<> ( + PROCEDURE = temporal_tne, + LEFTARG = geometry, RIGHTARG = trgeometry, + COMMUTATOR = #<> +); +CREATE OPERATOR #<> ( + PROCEDURE = temporal_tne, + LEFTARG = trgeometry, RIGHTARG = geometry, + COMMUTATOR = #<> +); +CREATE OPERATOR #<> ( + PROCEDURE = temporal_tne, + LEFTARG = trgeometry, RIGHTARG = trgeometry, + COMMUTATOR = #<> +); + +/*****************************************************************************/ diff --git a/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/rgeo/125_trgeo_spatialfuncs.in.sql b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/rgeo/125_trgeo_spatialfuncs.in.sql new file mode 100644 index 00000000..5acd4453 --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/rgeo/125_trgeo_spatialfuncs.in.sql @@ -0,0 +1,84 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @file + * @brief Spatial functions for temporal poses + */ + +/***************************************************************************** + * SRID + *****************************************************************************/ + +CREATE FUNCTION SRID(trgeometry) + RETURNS integer + AS 'MODULE_PATHNAME', 'Tspatial_srid' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION setSRID(trgeometry, integer) + RETURNS trgeometry + AS 'MODULE_PATHNAME', 'Tspatial_set_srid' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION transform(trgeometry, integer) + RETURNS trgeometry + AS 'MODULE_PATHNAME', 'Tspatial_transform' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION transformPipeline(trgeometry, text, srid integer DEFAULT 0, + is_forward boolean DEFAULT true) + RETURNS trgeometry + AS 'MODULE_PATHNAME', 'Tspatial_transform_pipeline' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/***************************************************************************** + * AtGeometry and MinusGeometry + *****************************************************************************/ + +-- CREATE FUNCTION atGeometry(trgeometry, geometry) + -- RETURNS trgeometry + -- AS 'MODULE_PATHNAME', 'Trgeo_at_geom' + -- LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +-- CREATE FUNCTION minusGeometry(trgeometry, geometry) + -- RETURNS trgeometry + -- AS 'MODULE_PATHNAME', 'Trgeo_minus_geom' + -- LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +-- CREATE FUNCTION atStbox(trgeometry, stbox, bool DEFAULT TRUE) + -- RETURNS trgeometry + -- AS 'MODULE_PATHNAME', 'Trgeo_at_stbox' + -- LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +-- CREATE FUNCTION minusStbox(trgeometry, stbox, bool DEFAULT TRUE) + -- RETURNS trgeometry + -- AS 'MODULE_PATHNAME', 'Trgeo_minus_stbox' + -- LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/*****************************************************************************/ diff --git a/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/rgeo/128_trgeo_topops.in.sql b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/rgeo/128_trgeo_topops.in.sql new file mode 100644 index 00000000..dc35d3ea --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/rgeo/128_trgeo_topops.in.sql @@ -0,0 +1,345 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @file + * @brief Bounding box topological operators for temporal rigid geometries + */ + +/***************************************************************************** + * Contains + *****************************************************************************/ + +CREATE FUNCTION temporal_contains(tstzspan, trgeometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contains_tstzspan_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_contains(trgeometry, tstzspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contains_temporal_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR @> ( + PROCEDURE = temporal_contains, + LEFTARG = tstzspan, RIGHTARG = trgeometry, + COMMUTATOR = <@, + RESTRICT = temporal_sel, JOIN = temporal_joinsel +); +CREATE OPERATOR @> ( + PROCEDURE = temporal_contains, + LEFTARG = trgeometry, RIGHTARG = tstzspan, + COMMUTATOR = <@, + RESTRICT = temporal_sel, JOIN = temporal_joinsel +); + +/*****************************************************************************/ + +CREATE FUNCTION temporal_contains(stbox, trgeometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contains_stbox_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR @> ( + PROCEDURE = temporal_contains, + LEFTARG = stbox, RIGHTARG = trgeometry, + COMMUTATOR = <@, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +CREATE FUNCTION temporal_contains(trgeometry, stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contains_tspatial_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_contains(trgeometry, trgeometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contains_tspatial_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR @> ( + PROCEDURE = temporal_contains, + LEFTARG = trgeometry, RIGHTARG = stbox, + COMMUTATOR = <@, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR @> ( + PROCEDURE = temporal_contains, + LEFTARG = trgeometry, RIGHTARG = trgeometry, + COMMUTATOR = <@, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +/***************************************************************************** + * Contained + *****************************************************************************/ + +CREATE FUNCTION temporal_contained(tstzspan, trgeometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contained_tstzspan_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_contained(trgeometry, tstzspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contained_temporal_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR <@ ( + PROCEDURE = temporal_contained, + LEFTARG = tstzspan, RIGHTARG = trgeometry, + COMMUTATOR = @>, + RESTRICT = temporal_sel, JOIN = temporal_joinsel +); +CREATE OPERATOR <@ ( + PROCEDURE = temporal_contained, + LEFTARG = trgeometry, RIGHTARG = tstzspan, + COMMUTATOR = @>, + RESTRICT = temporal_sel, JOIN = temporal_joinsel +); + +/*****************************************************************************/ + +CREATE FUNCTION temporal_contained(stbox, trgeometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contained_stbox_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR <@ ( + PROCEDURE = temporal_contained, + LEFTARG = stbox, RIGHTARG = trgeometry, + COMMUTATOR = @>, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +CREATE FUNCTION temporal_contained(trgeometry, stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contained_tspatial_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_contained(trgeometry, trgeometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contained_tspatial_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR <@ ( + PROCEDURE = temporal_contained, + LEFTARG = trgeometry, RIGHTARG = stbox, + COMMUTATOR = @>, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR <@ ( + PROCEDURE = temporal_contained, + LEFTARG = trgeometry, RIGHTARG = trgeometry, + COMMUTATOR = @>, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +/***************************************************************************** + * Overlaps + *****************************************************************************/ + +CREATE FUNCTION temporal_overlaps(tstzspan, trgeometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overlaps_tstzspan_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overlaps(trgeometry, tstzspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overlaps_temporal_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR && ( + PROCEDURE = temporal_overlaps, + LEFTARG = tstzspan, RIGHTARG = trgeometry, + COMMUTATOR = &&, + RESTRICT = temporal_sel, JOIN = temporal_joinsel +); +CREATE OPERATOR && ( + PROCEDURE = temporal_overlaps, + LEFTARG = trgeometry, RIGHTARG = tstzspan, + COMMUTATOR = &&, + RESTRICT = temporal_sel, JOIN = temporal_joinsel +); + +/*****************************************************************************/ + +CREATE FUNCTION temporal_overlaps(stbox, trgeometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overlaps_stbox_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR && ( + PROCEDURE = temporal_overlaps, + LEFTARG = stbox, RIGHTARG = trgeometry, + COMMUTATOR = &&, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +CREATE FUNCTION temporal_overlaps(trgeometry, stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overlaps_tspatial_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overlaps(trgeometry, trgeometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overlaps_tspatial_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR && ( + PROCEDURE = temporal_overlaps, + LEFTARG = trgeometry, RIGHTARG = stbox, + COMMUTATOR = &&, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR && ( + PROCEDURE = temporal_overlaps, + LEFTARG = trgeometry, RIGHTARG = trgeometry, + COMMUTATOR = &&, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +/***************************************************************************** + * Same + *****************************************************************************/ + +CREATE FUNCTION temporal_same(tstzspan, trgeometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Same_tstzspan_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_same(trgeometry, tstzspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Same_temporal_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR ~= ( + PROCEDURE = temporal_same, + LEFTARG = tstzspan, RIGHTARG = trgeometry, + COMMUTATOR = ~=, + RESTRICT = temporal_sel, JOIN = temporal_joinsel +); +CREATE OPERATOR ~= ( + PROCEDURE = temporal_same, + LEFTARG = trgeometry, RIGHTARG = tstzspan, + COMMUTATOR = ~=, + RESTRICT = temporal_sel, JOIN = temporal_joinsel +); + +/*****************************************************************************/ + +CREATE FUNCTION temporal_same(stbox, trgeometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Same_stbox_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR ~= ( + PROCEDURE = temporal_same, + LEFTARG = stbox, RIGHTARG = trgeometry, + COMMUTATOR = ~=, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +CREATE FUNCTION temporal_same(trgeometry, stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Same_tspatial_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_same(trgeometry, trgeometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Same_tspatial_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR ~= ( + PROCEDURE = temporal_same, + LEFTARG = trgeometry, RIGHTARG = stbox, + COMMUTATOR = ~=, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR ~= ( + PROCEDURE = temporal_same, + LEFTARG = trgeometry, RIGHTARG = trgeometry, + COMMUTATOR = ~=, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +/***************************************************************************** + * adjacent + *****************************************************************************/ + +CREATE FUNCTION temporal_adjacent(tstzspan, trgeometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Adjacent_tstzspan_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_adjacent(trgeometry, tstzspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Adjacent_temporal_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR -|- ( + PROCEDURE = temporal_adjacent, + LEFTARG = tstzspan, RIGHTARG = trgeometry, + COMMUTATOR = -|-, + RESTRICT = temporal_sel, JOIN = temporal_joinsel +); +CREATE OPERATOR -|- ( + PROCEDURE = temporal_adjacent, + LEFTARG = trgeometry, RIGHTARG = tstzspan, + COMMUTATOR = -|-, + RESTRICT = temporal_sel, JOIN = temporal_joinsel +); + +/*****************************************************************************/ + +CREATE FUNCTION temporal_adjacent(stbox, trgeometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Adjacent_stbox_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR -|- ( + PROCEDURE = temporal_adjacent, + LEFTARG = stbox, RIGHTARG = trgeometry, + COMMUTATOR = -|-, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +CREATE FUNCTION temporal_adjacent(trgeometry, stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Adjacent_tspatial_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_adjacent(trgeometry, trgeometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Adjacent_tspatial_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR -|- ( + PROCEDURE = temporal_adjacent, + LEFTARG = trgeometry, RIGHTARG = stbox, + COMMUTATOR = -|-, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR -|- ( + PROCEDURE = temporal_adjacent, + LEFTARG = trgeometry, RIGHTARG = trgeometry, + COMMUTATOR = -|-, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +/*****************************************************************************/ diff --git a/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/rgeo/129_trgeo_posops.in.sql b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/rgeo/129_trgeo_posops.in.sql new file mode 100644 index 00000000..dc3dd46a --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/rgeo/129_trgeo_posops.in.sql @@ -0,0 +1,487 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @file + * @brief Bounding box relative position operators for temporal rigid geomtries + */ + +/***************************************************************************** + * tstzspan + *****************************************************************************/ + +/* tstzspan op trgeometry */ + +CREATE FUNCTION temporal_before(tstzspan, trgeometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Before_tstzspan_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overbefore(tstzspan, trgeometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overbefore_tstzspan_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_after(tstzspan, trgeometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'After_tstzspan_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overafter(tstzspan, trgeometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overafter_tstzspan_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR <<# ( + LEFTARG = tstzspan, RIGHTARG = trgeometry, + PROCEDURE = temporal_before, + COMMUTATOR = #>>, + RESTRICT = temporal_sel, JOIN = temporal_joinsel +); +CREATE OPERATOR &<# ( + LEFTARG = tstzspan, RIGHTARG = trgeometry, + PROCEDURE = temporal_overbefore, + RESTRICT = temporal_sel, JOIN = temporal_joinsel +); +CREATE OPERATOR #>> ( + LEFTARG = tstzspan, RIGHTARG = trgeometry, + PROCEDURE = temporal_after, + COMMUTATOR = <<#, + RESTRICT = temporal_sel, JOIN = temporal_joinsel +); +CREATE OPERATOR #&> ( + LEFTARG = tstzspan, RIGHTARG = trgeometry, + PROCEDURE = temporal_overafter, + RESTRICT = temporal_sel, JOIN = temporal_joinsel +); + +/***************************************************************************** + * stbox + *****************************************************************************/ + +CREATE FUNCTION temporal_left(stbox, trgeometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Left_stbox_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overleft(stbox, trgeometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overleft_stbox_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_right(stbox, trgeometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Right_stbox_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overright(stbox, trgeometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overright_stbox_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_below(stbox, trgeometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Below_stbox_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overbelow(stbox, trgeometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overbelow_stbox_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_above(stbox, trgeometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Above_stbox_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overabove(stbox, trgeometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overabove_stbox_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_before(stbox, trgeometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Before_stbox_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overbefore(stbox, trgeometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overbefore_stbox_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_after(stbox, trgeometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'After_stbox_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overafter(stbox, trgeometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overafter_stbox_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR << ( + LEFTARG = stbox, RIGHTARG = trgeometry, + PROCEDURE = temporal_left, + COMMUTATOR = '>>', + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR &< ( + LEFTARG = stbox, RIGHTARG = trgeometry, + PROCEDURE = temporal_overleft, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR >> ( + LEFTARG = stbox, RIGHTARG = trgeometry, + PROCEDURE = temporal_right, + COMMUTATOR = '<<', + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR &> ( + LEFTARG = stbox, RIGHTARG = trgeometry, + PROCEDURE = temporal_overright, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR <<| ( + LEFTARG = stbox, RIGHTARG = trgeometry, + PROCEDURE = temporal_below, + COMMUTATOR = '|>>', + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR &<| ( + LEFTARG = stbox, RIGHTARG = trgeometry, + PROCEDURE = temporal_overbelow, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR |>> ( + LEFTARG = stbox, RIGHTARG = trgeometry, + PROCEDURE = temporal_above, + COMMUTATOR = '<<|', + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR |&> ( + LEFTARG = stbox, RIGHTARG = trgeometry, + PROCEDURE = temporal_overabove, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR <<# ( + LEFTARG = stbox, RIGHTARG = trgeometry, + PROCEDURE = temporal_before, + COMMUTATOR = '#>>', + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR &<# ( + LEFTARG = stbox, RIGHTARG = trgeometry, + PROCEDURE = temporal_overbefore, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR #>> ( + LEFTARG = stbox, RIGHTARG = trgeometry, + PROCEDURE = temporal_after, + COMMUTATOR = '<<#', + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR #&> ( + LEFTARG = stbox, RIGHTARG = trgeometry, + PROCEDURE = temporal_overafter, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +/***************************************************************************** + * trgeometry + *****************************************************************************/ + +/* trgeometry op tstzspan */ + +CREATE FUNCTION temporal_before(trgeometry, tstzspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Before_temporal_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overbefore(trgeometry, tstzspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overbefore_temporal_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_after(trgeometry, tstzspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'After_temporal_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overafter(trgeometry, tstzspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overafter_temporal_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR <<# ( + LEFTARG = trgeometry, RIGHTARG = tstzspan, + PROCEDURE = temporal_before, + COMMUTATOR = #>>, + RESTRICT = temporal_sel, JOIN = temporal_joinsel +); +CREATE OPERATOR &<# ( + LEFTARG = trgeometry, RIGHTARG = tstzspan, + PROCEDURE = temporal_overbefore, + RESTRICT = temporal_sel, JOIN = temporal_joinsel +); +CREATE OPERATOR #>> ( + LEFTARG = trgeometry, RIGHTARG = tstzspan, + PROCEDURE = temporal_after, + COMMUTATOR = <<#, + RESTRICT = temporal_sel, JOIN = temporal_joinsel +); +CREATE OPERATOR #&> ( + LEFTARG = trgeometry, RIGHTARG = tstzspan, + PROCEDURE = temporal_overafter, + RESTRICT = temporal_sel, JOIN = temporal_joinsel +); + +/*****************************************************************************/ + +/* trgeometry op stbox */ + +CREATE FUNCTION temporal_left(trgeometry, stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Left_tspatial_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overleft(trgeometry, stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overleft_tspatial_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_right(trgeometry, stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Right_tspatial_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overright(trgeometry, stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overright_tspatial_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_below(trgeometry, stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Below_tspatial_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overbelow(trgeometry, stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overbelow_tspatial_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_above(trgeometry, stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Above_tspatial_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overabove(trgeometry, stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overabove_tspatial_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_before(trgeometry, stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Before_tspatial_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overbefore(trgeometry, stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overbefore_tspatial_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_after(trgeometry, stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'After_tspatial_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overafter(trgeometry, stbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overafter_tspatial_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR << ( + LEFTARG = trgeometry, RIGHTARG = stbox, + PROCEDURE = temporal_left, + COMMUTATOR = '>>', + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR &< ( + LEFTARG = trgeometry, RIGHTARG = stbox, + PROCEDURE = temporal_overleft, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR >> ( + LEFTARG = trgeometry, RIGHTARG = stbox, + PROCEDURE = temporal_right, + COMMUTATOR = '<<', + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR &> ( + LEFTARG = trgeometry, RIGHTARG = stbox, + PROCEDURE = temporal_overright, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR <<| ( + LEFTARG = trgeometry, RIGHTARG = stbox, + PROCEDURE = temporal_below, + COMMUTATOR = '|>>', + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR &<| ( + LEFTARG = trgeometry, RIGHTARG = stbox, + PROCEDURE = temporal_overbelow, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR |>> ( + LEFTARG = trgeometry, RIGHTARG = stbox, + PROCEDURE = temporal_above, + COMMUTATOR = '<<|', + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR |&> ( + LEFTARG = trgeometry, RIGHTARG = stbox, + PROCEDURE = temporal_overabove, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR <<# ( + LEFTARG = trgeometry, RIGHTARG = stbox, + PROCEDURE = temporal_before, + COMMUTATOR = '#>>', + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR &<# ( + LEFTARG = trgeometry, RIGHTARG = stbox, + PROCEDURE = temporal_overbefore, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR #>> ( + LEFTARG = trgeometry, RIGHTARG = stbox, + PROCEDURE = temporal_after, + COMMUTATOR = '<<#', + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR #&> ( + LEFTARG = trgeometry, RIGHTARG = stbox, + PROCEDURE = temporal_overafter, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +/*****************************************************************************/ + +/* trgeometry op trgeometry */ + +CREATE FUNCTION temporal_left(trgeometry, trgeometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Left_tspatial_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overleft(trgeometry, trgeometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overleft_tspatial_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_right(trgeometry, trgeometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Right_tspatial_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overright(trgeometry, trgeometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overright_tspatial_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_below(trgeometry, trgeometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Below_tspatial_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overbelow(trgeometry, trgeometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overbelow_tspatial_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_above(trgeometry, trgeometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Above_tspatial_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overabove(trgeometry, trgeometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overabove_tspatial_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_before(trgeometry, trgeometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Before_tspatial_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overbefore(trgeometry, trgeometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overbefore_tspatial_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_after(trgeometry, trgeometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'After_tspatial_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overafter(trgeometry, trgeometry) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overafter_tspatial_tspatial' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR << ( + LEFTARG = trgeometry, RIGHTARG = trgeometry, + PROCEDURE = temporal_left, + COMMUTATOR = '>>', + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR &< ( + LEFTARG = trgeometry, RIGHTARG = trgeometry, + PROCEDURE = temporal_overleft, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR >> ( + LEFTARG = trgeometry, RIGHTARG = trgeometry, + PROCEDURE = temporal_right, + COMMUTATOR = '<<', + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR &> ( + LEFTARG = trgeometry, RIGHTARG = trgeometry, + PROCEDURE = temporal_overright, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR <<| ( + LEFTARG = trgeometry, RIGHTARG = trgeometry, + PROCEDURE = temporal_below, + COMMUTATOR = '|>>', + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR &<| ( + LEFTARG = trgeometry, RIGHTARG = trgeometry, + PROCEDURE = temporal_overbelow, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR |>> ( + LEFTARG = trgeometry, RIGHTARG = trgeometry, + PROCEDURE = temporal_above, + COMMUTATOR = '<<|', + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR |&> ( + LEFTARG = trgeometry, RIGHTARG = trgeometry, + PROCEDURE = temporal_overabove, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR <<# ( + LEFTARG = trgeometry, RIGHTARG = trgeometry, + PROCEDURE = temporal_before, + COMMUTATOR = '#>>', + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR &<# ( + LEFTARG = trgeometry, RIGHTARG = trgeometry, + PROCEDURE = temporal_overbefore, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR #>> ( + LEFTARG = trgeometry, RIGHTARG = trgeometry, + PROCEDURE = temporal_after, + COMMUTATOR = '<<#', + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); +CREATE OPERATOR #&> ( + LEFTARG = trgeometry, RIGHTARG = trgeometry, + PROCEDURE = temporal_overafter, + RESTRICT = tspatial_sel, JOIN = tspatial_joinsel +); + +/*****************************************************************************/ diff --git a/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/rgeo/131_trgeo_aggfuncs.in.sql b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/rgeo/131_trgeo_aggfuncs.in.sql new file mode 100644 index 00000000..4d19a736 --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/rgeo/131_trgeo_aggfuncs.in.sql @@ -0,0 +1,155 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @file + * @brief Aggregate functions for temporal rigid geometries + */ + +-- The function is not strict +CREATE FUNCTION tcount_transfn(internal, trgeometry) + RETURNS internal + AS 'MODULE_PATHNAME', 'Temporal_tcount_transfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; + +CREATE AGGREGATE tcount(trgeometry) ( + SFUNC = tcount_transfn, + STYPE = internal, + COMBINEFUNC = tcount_combinefn, + FINALFUNC = tint_tagg_finalfn, + SERIALFUNC = taggstate_serialize, + DESERIALFUNC = taggstate_deserialize, + PARALLEL = SAFE +); + +-- The function is not strict +CREATE FUNCTION wcount_transfn(internal, trgeometry, interval) + RETURNS internal + AS 'MODULE_PATHNAME', 'Temporal_wcount_transfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; + +CREATE AGGREGATE wcount(trgeometry, interval) ( + SFUNC = wcount_transfn, + STYPE = internal, + COMBINEFUNC = tint_tsum_combinefn, + FINALFUNC = tint_tagg_finalfn, + SERIALFUNC = taggstate_serialize, + DESERIALFUNC = taggstate_deserialize, + PARALLEL = SAFE +); + +/*****************************************************************************/ + +-- The function is not strict +CREATE FUNCTION temporal_merge_transfn(internal, trgeometry) + RETURNS internal + AS 'MODULE_PATHNAME', 'Temporal_merge_transfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION trgeometry_tagg_finalfn(internal) + RETURNS trgeometry + AS 'MODULE_PATHNAME', 'Temporal_tagg_finalfn' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE AGGREGATE merge(trgeometry) ( + SFUNC = temporal_merge_transfn, + STYPE = internal, + COMBINEFUNC = temporal_merge_combinefn, + FINALFUNC = trgeometry_tagg_finalfn, + SERIALFUNC = taggstate_serialize, + DESERIALFUNC = taggstate_deserialize, + PARALLEL = safe +); + +/***************************************************************************** + * Append tinstant aggregate functions + *****************************************************************************/ + +-- The function is not STRICT +CREATE FUNCTION temporal_app_tinst_transfn(trgeometry, trgeometry) + RETURNS trgeometry + AS 'MODULE_PATHNAME', 'Temporal_app_tinst_transfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; + +-- The function is not STRICT +CREATE FUNCTION temporal_app_tinst_transfn(trgeometry, trgeometry, + interp text DEFAULT NULL) + RETURNS trgeometry + AS 'MODULE_PATHNAME', 'Temporal_app_tinst_transfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; + +-- The function is not STRICT +CREATE FUNCTION temporal_app_tinst_transfn(trgeometry, trgeometry, + interp text DEFAULT NULL, maxdist float DEFAULT NULL, + maxt interval DEFAULT NULL) + RETURNS trgeometry + AS 'MODULE_PATHNAME', 'Temporal_app_tinst_transfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; + +CREATE FUNCTION temporal_append_finalfn(trgeometry) + RETURNS trgeometry + AS 'MODULE_PATHNAME', 'Temporal_append_finalfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; + +CREATE AGGREGATE appendInstant(trgeometry) ( + SFUNC = temporal_app_tinst_transfn, + STYPE = trgeometry, + FINALFUNC = temporal_append_finalfn, + PARALLEL = safe +); + +CREATE AGGREGATE appendInstant(trgeometry, text) ( + SFUNC = temporal_app_tinst_transfn, + STYPE = trgeometry, + FINALFUNC = temporal_append_finalfn, + PARALLEL = safe +); + +CREATE AGGREGATE appendInstant(trgeometry, text, float, interval) ( + SFUNC = temporal_app_tinst_transfn, + STYPE = trgeometry, + FINALFUNC = temporal_append_finalfn, + PARALLEL = safe +); + +/*****************************************************************************/ + +-- The function is not STRICT +CREATE FUNCTION temporal_app_tseq_transfn(trgeometry, trgeometry) + RETURNS trgeometry + AS 'MODULE_PATHNAME', 'Temporal_app_tseq_transfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; + +CREATE AGGREGATE appendSequence(trgeometry) ( + SFUNC = temporal_app_tseq_transfn, + STYPE = trgeometry, + FINALFUNC = temporal_append_finalfn, + PARALLEL = safe +); + +/*****************************************************************************/ diff --git a/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/rgeo/133_trgeo_distance.in.sql b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/rgeo/133_trgeo_distance.in.sql new file mode 100644 index 00000000..8f837975 --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/rgeo/133_trgeo_distance.in.sql @@ -0,0 +1,200 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.  + * + *****************************************************************************/ + +/** + * @file + * @brief Distance functions for temporal rigid geometries + */ + +/***************************************************************************** + * Distance functions + *****************************************************************************/ + +CREATE FUNCTION tdistance(trgeometry, geometry) + RETURNS tfloat + AS 'MODULE_PATHNAME', 'Tdistance_trgeo_geo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tdistance(geometry, trgeometry) + RETURNS tfloat + AS 'MODULE_PATHNAME', 'Tdistance_geo_trgeo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tdistance(trgeometry, tgeompoint) + RETURNS tfloat + AS 'MODULE_PATHNAME', 'Tdistance_trgeo_tpoint' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tdistance(tgeompoint, trgeometry) + RETURNS tfloat + AS 'MODULE_PATHNAME', 'Tdistance_tpoint_trgeo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tdistance(trgeometry, trgeometry) + RETURNS tfloat + AS 'MODULE_PATHNAME', 'Tdistance_trgeo_trgeo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR <-> ( + PROCEDURE = tdistance, + LEFTARG = trgeometry, RIGHTARG = geometry, + COMMUTATOR = <-> +); +CREATE OPERATOR <-> ( + PROCEDURE = tdistance, + LEFTARG = geometry, RIGHTARG = trgeometry, + COMMUTATOR = <-> +); +CREATE OPERATOR <-> ( + PROCEDURE = tdistance, + LEFTARG = trgeometry, RIGHTARG = tgeompoint, + COMMUTATOR = <-> +); +CREATE OPERATOR <-> ( + PROCEDURE = tdistance, + LEFTARG = tgeompoint, RIGHTARG = trgeometry, + COMMUTATOR = <-> +); +CREATE OPERATOR <-> ( + PROCEDURE = tdistance, + LEFTARG = trgeometry, RIGHTARG = trgeometry, + COMMUTATOR = <-> +); + +/***************************************************************************** + * Nearest approach instant/distance and shortest line functions + *****************************************************************************/ + +CREATE FUNCTION nearestApproachInstant(trgeometry, geometry) + RETURNS trgeometry + AS 'MODULE_PATHNAME', 'NAI_trgeo_geo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION nearestApproachInstant(geometry, trgeometry) + RETURNS trgeometry + AS 'MODULE_PATHNAME', 'NAI_geo_trgeo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION nearestApproachInstant(trgeometry, tgeompoint) + RETURNS trgeometry + AS 'MODULE_PATHNAME', 'NAI_trgeo_tpoint' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +/* TODO: Maybe change output type here. + * Currently we return a trgeometry instant + * even if the left argument is a tgeompoint */ +CREATE FUNCTION nearestApproachInstant(tgeompoint, trgeometry) + RETURNS trgeometry + AS 'MODULE_PATHNAME', 'NAI_tpoint_trgeo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION nearestApproachInstant(trgeometry, trgeometry) + RETURNS trgeometry + AS 'MODULE_PATHNAME', 'NAI_trgeo_trgeo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION nearestApproachDistance(trgeometry, geometry) + RETURNS float + AS 'MODULE_PATHNAME', 'NAD_trgeo_geo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION nearestApproachDistance(geometry, trgeometry) + RETURNS float + AS 'MODULE_PATHNAME', 'NAD_geo_trgeo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION nearestApproachDistance(trgeometry, stbox) + RETURNS float + AS 'MODULE_PATHNAME', 'NAD_trgeo_stbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION nearestApproachDistance(stbox, trgeometry) + RETURNS float + AS 'MODULE_PATHNAME', 'NAD_stbox_trgeo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION nearestApproachDistance(trgeometry, tgeompoint) + RETURNS float + AS 'MODULE_PATHNAME', 'NAD_trgeo_tpoint' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION nearestApproachDistance(tgeompoint, trgeometry) + RETURNS float + AS 'MODULE_PATHNAME', 'NAD_tpoint_trgeo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION nearestApproachDistance(trgeometry, trgeometry) + RETURNS float + AS 'MODULE_PATHNAME', 'NAD_trgeo_trgeo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR |=| ( + LEFTARG = trgeometry, RIGHTARG = geometry, + PROCEDURE = nearestApproachDistance, + COMMUTATOR = '|=|' +); +CREATE OPERATOR |=| ( + LEFTARG = geometry, RIGHTARG = trgeometry, + PROCEDURE = nearestApproachDistance, + COMMUTATOR = '|=|' +); +CREATE OPERATOR |=| ( + LEFTARG = trgeometry, RIGHTARG = stbox, + PROCEDURE = nearestApproachDistance, + COMMUTATOR = '|=|' +); +CREATE OPERATOR |=| ( + LEFTARG = stbox, RIGHTARG = trgeometry, + PROCEDURE = nearestApproachDistance, + COMMUTATOR = '|=|' +); +CREATE OPERATOR |=| ( + LEFTARG = trgeometry, RIGHTARG = tgeompoint, + PROCEDURE = nearestApproachDistance, + COMMUTATOR = '|=|' +); +CREATE OPERATOR |=| ( + LEFTARG = tgeompoint, RIGHTARG = trgeometry, + PROCEDURE = nearestApproachDistance, + COMMUTATOR = '|=|' +); +CREATE OPERATOR |=| ( + LEFTARG = trgeometry, RIGHTARG = trgeometry, + PROCEDURE = nearestApproachDistance, + COMMUTATOR = '|=|' +); + +CREATE FUNCTION shortestLine(trgeometry, geometry) + RETURNS geometry + AS 'MODULE_PATHNAME', 'Shortestline_trgeo_geo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION shortestLine(geometry, trgeometry) + RETURNS geometry + AS 'MODULE_PATHNAME', 'Shortestline_geo_trgeo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION shortestLine(trgeometry, tgeompoint) + RETURNS geometry + AS 'MODULE_PATHNAME', 'Shortestline_trgeo_tpoint' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION shortestLine(tgeompoint, trgeometry) + RETURNS geometry + AS 'MODULE_PATHNAME', 'Shortestline_tpoint_trgeo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION shortestLine(trgeometry, trgeometry) + RETURNS geometry + AS 'MODULE_PATHNAME', 'Shortestline_trgeo_trgeo' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/*****************************************************************************/ diff --git a/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/rgeo/133_trgeo_vclip.in.sql b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/rgeo/133_trgeo_vclip.in.sql new file mode 100644 index 00000000..51d92d04 --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/rgeo/133_trgeo_vclip.in.sql @@ -0,0 +1,69 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.  + * + *****************************************************************************/ + +/** + * @file + * @brief V-Clip distance functions for temporal rigid geometries + */ + +/***************************************************************************** + * V-clip functions + *****************************************************************************/ + +CREATE FUNCTION v_clip_poly_point(geometry(Polygon), geometry(Point)) + RETURNS float + AS 'MODULE_PATHNAME', 'VClip_poly_point' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION v_clip_poly_poly(geometry(Polygon), geometry(Polygon)) + RETURNS float + AS 'MODULE_PATHNAME', 'VClip_poly_poly' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION v_clip_tpoly_point(trgeometry, geometry(Point), timestamptz) + RETURNS float + AS 'MODULE_PATHNAME', 'VClip_tpoly_point' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION v_clip_tpoly_poly(trgeometry, geometry(Polygon), timestamptz) + RETURNS float + AS 'MODULE_PATHNAME', 'VClip_tpoly_poly' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION v_clip_tpoly_tpoint(trgeometry, tgeompoint, timestamptz) + RETURNS float + AS 'MODULE_PATHNAME', 'VClip_tpoly_tpoint' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION v_clip_tpoly_tpoly(trgeometry, trgeometry, timestamptz) + RETURNS float + AS 'MODULE_PATHNAME', 'VClip_tpoly_tpoly' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/*****************************************************************************/ diff --git a/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/rgeo/134_trgeo_indexes.in.sql b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/rgeo/134_trgeo_indexes.in.sql new file mode 100644 index 00000000..38e14b2f --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/rgeo/134_trgeo_indexes.in.sql @@ -0,0 +1,266 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @file + * @brief R-tree GiST and SP-GiST indexes for temporal rigid geometries + */ + +/******************************************************************************/ + +CREATE FUNCTION trgeometry_gist_consistent(internal, trgeometry, smallint, oid, internal) + RETURNS bool + AS 'MODULE_PATHNAME', 'Stbox_gist_consistent' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/******************************************************************************/ + +CREATE OPERATOR CLASS trgeometry_rtree_ops + DEFAULT FOR TYPE trgeometry USING gist AS + STORAGE stbox, + -- strictly left + OPERATOR 1 << (trgeometry, stbox), + OPERATOR 1 << (trgeometry, trgeometry), + -- overlaps or left + OPERATOR 2 &< (trgeometry, stbox), + OPERATOR 2 &< (trgeometry, trgeometry), + -- overlaps + OPERATOR 3 && (trgeometry, tstzspan), + OPERATOR 3 && (trgeometry, stbox), + OPERATOR 3 && (trgeometry, trgeometry), + -- overlaps or right + OPERATOR 4 &> (trgeometry, stbox), + OPERATOR 4 &> (trgeometry, trgeometry), + -- strictly right + OPERATOR 5 >> (trgeometry, stbox), + OPERATOR 5 >> (trgeometry, trgeometry), + -- same + OPERATOR 6 ~= (trgeometry, tstzspan), + OPERATOR 6 ~= (trgeometry, stbox), + OPERATOR 6 ~= (trgeometry, trgeometry), + -- contains + OPERATOR 7 @> (trgeometry, tstzspan), + OPERATOR 7 @> (trgeometry, stbox), + OPERATOR 7 @> (trgeometry, trgeometry), + -- contained by + OPERATOR 8 <@ (trgeometry, tstzspan), + OPERATOR 8 <@ (trgeometry, stbox), + OPERATOR 8 <@ (trgeometry, trgeometry), + -- overlaps or below + OPERATOR 9 &<| (trgeometry, stbox), + OPERATOR 9 &<| (trgeometry, trgeometry), + -- strictly below + OPERATOR 10 <<| (trgeometry, stbox), + OPERATOR 10 <<| (trgeometry, trgeometry), + -- strictly above + OPERATOR 11 |>> (trgeometry, stbox), + OPERATOR 11 |>> (trgeometry, trgeometry), + -- overlaps or above + OPERATOR 12 |&> (trgeometry, stbox), + OPERATOR 12 |&> (trgeometry, trgeometry), + -- adjacent + OPERATOR 17 -|- (trgeometry, tstzspan), + OPERATOR 17 -|- (trgeometry, stbox), + OPERATOR 17 -|- (trgeometry, trgeometry), + -- nearest approach distance +-- OPERATOR 25 |=| (trgeometry, stbox) FOR ORDER BY pg_catalog.float_ops, + -- overlaps or before + OPERATOR 28 &<# (trgeometry, tstzspan), + OPERATOR 28 &<# (trgeometry, stbox), + OPERATOR 28 &<# (trgeometry, trgeometry), + -- strictly before + OPERATOR 29 <<# (trgeometry, tstzspan), + OPERATOR 29 <<# (trgeometry, stbox), + OPERATOR 29 <<# (trgeometry, trgeometry), + -- strictly after + OPERATOR 30 #>> (trgeometry, tstzspan), + OPERATOR 30 #>> (trgeometry, stbox), + OPERATOR 30 #>> (trgeometry, trgeometry), + -- overlaps or after + OPERATOR 31 #&> (trgeometry, tstzspan), + OPERATOR 31 #&> (trgeometry, stbox), + OPERATOR 31 #&> (trgeometry, trgeometry), + -- functions + FUNCTION 1 trgeometry_gist_consistent(internal, trgeometry, smallint, oid, internal), + FUNCTION 2 stbox_gist_union(internal, internal), + FUNCTION 3 tspatial_gist_compress(internal), + FUNCTION 5 stbox_gist_penalty(internal, internal, internal), + FUNCTION 6 stbox_gist_picksplit(internal, internal), + FUNCTION 7 stbox_gist_same(stbox, stbox, internal); +-- FUNCTION 8 gist_trgeometry_distance(internal, trgeometry, smallint, oid, internal), + +/******************************************************************************/ + +CREATE OPERATOR CLASS trgeometry_quadtree_ops + DEFAULT FOR TYPE trgeometry USING spgist AS + -- strictly left + OPERATOR 1 << (trgeometry, stbox), + OPERATOR 1 << (trgeometry, trgeometry), + -- overlaps or left + OPERATOR 2 &< (trgeometry, stbox), + OPERATOR 2 &< (trgeometry, trgeometry), + -- overlaps + OPERATOR 3 && (trgeometry, tstzspan), + OPERATOR 3 && (trgeometry, stbox), + OPERATOR 3 && (trgeometry, trgeometry), + -- overlaps or right + OPERATOR 4 &> (trgeometry, stbox), + OPERATOR 4 &> (trgeometry, trgeometry), + -- strictly right + OPERATOR 5 >> (trgeometry, stbox), + OPERATOR 5 >> (trgeometry, trgeometry), + -- same + OPERATOR 6 ~= (trgeometry, tstzspan), + OPERATOR 6 ~= (trgeometry, stbox), + OPERATOR 6 ~= (trgeometry, trgeometry), + -- contains + OPERATOR 7 @> (trgeometry, tstzspan), + OPERATOR 7 @> (trgeometry, stbox), + OPERATOR 7 @> (trgeometry, trgeometry), + -- contained by + OPERATOR 8 <@ (trgeometry, tstzspan), + OPERATOR 8 <@ (trgeometry, stbox), + OPERATOR 8 <@ (trgeometry, trgeometry), + -- overlaps or below + OPERATOR 9 &<| (trgeometry, stbox), + OPERATOR 9 &<| (trgeometry, trgeometry), + -- strictly below + OPERATOR 10 <<| (trgeometry, stbox), + OPERATOR 10 <<| (trgeometry, trgeometry), + -- strictly above + OPERATOR 11 |>> (trgeometry, stbox), + OPERATOR 11 |>> (trgeometry, trgeometry), + -- overlaps or above + OPERATOR 12 |&> (trgeometry, stbox), + OPERATOR 12 |&> (trgeometry, trgeometry), + -- adjacent + OPERATOR 17 -|- (trgeometry, tstzspan), + OPERATOR 17 -|- (trgeometry, stbox), + OPERATOR 17 -|- (trgeometry, trgeometry), + -- nearest approach distance +-- OPERATOR 25 |=| (trgeometry, stbox) FOR ORDER BY pg_catalog.float_ops, + -- overlaps or before + OPERATOR 28 &<# (trgeometry, tstzspan), + OPERATOR 28 &<# (trgeometry, stbox), + OPERATOR 28 &<# (trgeometry, trgeometry), + -- strictly before + OPERATOR 29 <<# (trgeometry, tstzspan), + OPERATOR 29 <<# (trgeometry, stbox), + OPERATOR 29 <<# (trgeometry, trgeometry), + -- strictly after + OPERATOR 30 #>> (trgeometry, tstzspan), + OPERATOR 30 #>> (trgeometry, stbox), + OPERATOR 30 #>> (trgeometry, trgeometry), + -- overlaps or after + OPERATOR 31 #&> (trgeometry, tstzspan), + OPERATOR 31 #&> (trgeometry, stbox), + OPERATOR 31 #&> (trgeometry, trgeometry), + -- functions + FUNCTION 1 stbox_spgist_config(internal, internal), + FUNCTION 2 stbox_quadtree_choose(internal, internal), + FUNCTION 3 stbox_quadtree_picksplit(internal, internal), + FUNCTION 4 stbox_quadtree_inner_consistent(internal, internal), + FUNCTION 5 stbox_spgist_leaf_consistent(internal, internal), + FUNCTION 6 tspatial_spgist_compress(internal); + +/******************************************************************************/ + +CREATE OPERATOR CLASS trgeometry_kdtree_ops + FOR TYPE trgeometry USING spgist AS + -- strictly left + OPERATOR 1 << (trgeometry, stbox), + OPERATOR 1 << (trgeometry, trgeometry), + -- overlaps or left + OPERATOR 2 &< (trgeometry, stbox), + OPERATOR 2 &< (trgeometry, trgeometry), + -- overlaps + OPERATOR 3 && (trgeometry, tstzspan), + OPERATOR 3 && (trgeometry, stbox), + OPERATOR 3 && (trgeometry, trgeometry), + -- overlaps or right + OPERATOR 4 &> (trgeometry, stbox), + OPERATOR 4 &> (trgeometry, trgeometry), + -- strictly right + OPERATOR 5 >> (trgeometry, stbox), + OPERATOR 5 >> (trgeometry, trgeometry), + -- same + OPERATOR 6 ~= (trgeometry, tstzspan), + OPERATOR 6 ~= (trgeometry, stbox), + OPERATOR 6 ~= (trgeometry, trgeometry), + -- contains + OPERATOR 7 @> (trgeometry, tstzspan), + OPERATOR 7 @> (trgeometry, stbox), + OPERATOR 7 @> (trgeometry, trgeometry), + -- contained by + OPERATOR 8 <@ (trgeometry, tstzspan), + OPERATOR 8 <@ (trgeometry, stbox), + OPERATOR 8 <@ (trgeometry, trgeometry), + -- overlaps or below + OPERATOR 9 &<| (trgeometry, stbox), + OPERATOR 9 &<| (trgeometry, trgeometry), + -- strictly below + OPERATOR 10 <<| (trgeometry, stbox), + OPERATOR 10 <<| (trgeometry, trgeometry), + -- strictly above + OPERATOR 11 |>> (trgeometry, stbox), + OPERATOR 11 |>> (trgeometry, trgeometry), + -- overlaps or above + OPERATOR 12 |&> (trgeometry, stbox), + OPERATOR 12 |&> (trgeometry, trgeometry), + -- adjacent + OPERATOR 17 -|- (trgeometry, tstzspan), + OPERATOR 17 -|- (trgeometry, stbox), + OPERATOR 17 -|- (trgeometry, trgeometry), + -- nearest approach distance +-- OPERATOR 25 |=| (trgeometry, stbox) FOR ORDER BY pg_catalog.float_ops, + -- overlaps or before + OPERATOR 28 &<# (trgeometry, tstzspan), + OPERATOR 28 &<# (trgeometry, stbox), + OPERATOR 28 &<# (trgeometry, trgeometry), + -- strictly before + OPERATOR 29 <<# (trgeometry, tstzspan), + OPERATOR 29 <<# (trgeometry, stbox), + OPERATOR 29 <<# (trgeometry, trgeometry), + -- strictly after + OPERATOR 30 #>> (trgeometry, tstzspan), + OPERATOR 30 #>> (trgeometry, stbox), + OPERATOR 30 #>> (trgeometry, trgeometry), + -- overlaps or after + OPERATOR 31 #&> (trgeometry, tstzspan), + OPERATOR 31 #&> (trgeometry, stbox), + OPERATOR 31 #&> (trgeometry, trgeometry), + -- functions + FUNCTION 1 stbox_spgist_config(internal, internal), + FUNCTION 2 stbox_kdtree_choose(internal, internal), + FUNCTION 3 stbox_kdtree_picksplit(internal, internal), + FUNCTION 4 stbox_kdtree_inner_consistent(internal, internal), + FUNCTION 5 stbox_spgist_leaf_consistent(internal, internal), + FUNCTION 6 tspatial_spgist_compress(internal); + +/******************************************************************************/ diff --git a/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/rgeo/CMakeLists.txt b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/rgeo/CMakeLists.txt new file mode 100644 index 00000000..cf0fa190 --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/rgeo/CMakeLists.txt @@ -0,0 +1,20 @@ +# No Postgres version dependant files + +SET(LOCAL_FILES + 122_trgeo + 124_trgeo_compops + 125_trgeo_spatialfuncs + 128_trgeo_topops + 129_trgeo_posops + 133_trgeo_distance + 133_trgeo_vclip + 134_trgeo_indexes + ) + +foreach (f ${LOCAL_FILES}) + process_file(${f} ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR}) + configure_file(${CMAKE_CURRENT_BINARY_DIR}/${f}.sql.in ${CMAKE_BINARY_DIR}/MobilityDB/sql/${f}.sql @ONLY) + list(APPEND PACKAGE_SQL_FILES ${CMAKE_BINARY_DIR}/MobilityDB/sql/${f}.sql) +endforeach() + +set(PROJECT_SQL_FILES ${PROJECT_SQL_FILES} ${PACKAGE_SQL_FILES} PARENT_SCOPE) diff --git a/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/temporal/001_set.in.sql b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/temporal/001_set.in.sql new file mode 100644 index 00000000..90a96d3b --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/temporal/001_set.in.sql @@ -0,0 +1,1446 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @file + * @brief Functions for sets of values + */ + +/****************************************************************************** + * Input/Output + ******************************************************************************/ + +CREATE TYPE intset; +CREATE TYPE bigintset; +CREATE TYPE floatset; +CREATE TYPE textset; +CREATE TYPE dateset; +CREATE TYPE tstzset; + +CREATE FUNCTION intset_in(cstring) + RETURNS intset + AS 'MODULE_PATHNAME', 'Set_in' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION intset_out(intset) + RETURNS cstring + AS 'MODULE_PATHNAME', 'Set_out' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION intset_recv(internal) + RETURNS intset + AS 'MODULE_PATHNAME', 'Set_recv' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION intset_send(intset) + RETURNS bytea + AS 'MODULE_PATHNAME', 'Set_send' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION bigintset_in(cstring) + RETURNS bigintset + AS 'MODULE_PATHNAME', 'Set_in' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION bigintset_out(bigintset) + RETURNS cstring + AS 'MODULE_PATHNAME', 'Set_out' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION bigintset_recv(internal) + RETURNS bigintset + AS 'MODULE_PATHNAME', 'Set_recv' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION bigintset_send(bigintset) + RETURNS bytea + AS 'MODULE_PATHNAME', 'Set_send' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION floatset_in(cstring) + RETURNS floatset + AS 'MODULE_PATHNAME', 'Set_in' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION floatset_out(floatset) + RETURNS cstring + AS 'MODULE_PATHNAME', 'Set_out' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION floatset_recv(internal) + RETURNS floatset + AS 'MODULE_PATHNAME', 'Set_recv' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION floatset_send(floatset) + RETURNS bytea + AS 'MODULE_PATHNAME', 'Set_send' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION textset_in(cstring) + RETURNS textset + AS 'MODULE_PATHNAME', 'Set_in' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION textset_out(textset) + RETURNS cstring + AS 'MODULE_PATHNAME', 'Set_out' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION textset_recv(internal) + RETURNS textset + AS 'MODULE_PATHNAME', 'Set_recv' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION textset_send(textset) + RETURNS bytea + AS 'MODULE_PATHNAME', 'Set_send' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION dateset_in(cstring) + RETURNS dateset + AS 'MODULE_PATHNAME', 'Set_in' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION dateset_out(dateset) + RETURNS cstring + AS 'MODULE_PATHNAME', 'Set_out' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION dateset_recv(internal) + RETURNS dateset + AS 'MODULE_PATHNAME', 'Set_recv' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION dateset_send(dateset) + RETURNS bytea + AS 'MODULE_PATHNAME', 'Set_send' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION tstzset_in(cstring) + RETURNS tstzset + AS 'MODULE_PATHNAME', 'Set_in' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tstzset_out(tstzset) + RETURNS cstring + AS 'MODULE_PATHNAME', 'Set_out' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tstzset_recv(internal) + RETURNS tstzset + AS 'MODULE_PATHNAME', 'Set_recv' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tstzset_send(tstzset) + RETURNS bytea + AS 'MODULE_PATHNAME', 'Set_send' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION span_analyze(internal) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Span_analyze' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE TYPE intset ( + internallength = variable, + input = intset_in, + output = intset_out, + receive = intset_recv, + send = intset_send, + alignment = double, + storage = extended, + analyze = span_analyze +); + +CREATE TYPE bigintset ( + internallength = variable, + input = bigintset_in, + output = bigintset_out, + receive = bigintset_recv, + send = bigintset_send, + alignment = double, + storage = extended, + analyze = span_analyze +); + +CREATE TYPE floatset ( + internallength = variable, + input = floatset_in, + output = floatset_out, + receive = floatset_recv, + send = floatset_send, + alignment = double, + storage = extended, + analyze = span_analyze +); + +CREATE TYPE textset ( + internallength = variable, + input = textset_in, + output = textset_out, + receive = textset_recv, + send = textset_send, + alignment = double, + storage = extended +); + +CREATE TYPE dateset ( + internallength = variable, + input = dateset_in, + output = dateset_out, + receive = dateset_recv, + send = dateset_send, + alignment = double, + storage = extended +); + +CREATE TYPE tstzset ( + internallength = variable, + input = tstzset_in, + output = tstzset_out, + receive = tstzset_recv, + send = tstzset_send, + alignment = double, + storage = extended, + analyze = span_analyze +); + +/******************************************************************************/ + +-- Input/output in WKT, WKB, and HexWKB representation + +CREATE FUNCTION intsetFromBinary(bytea) + RETURNS intset + AS 'MODULE_PATHNAME', 'Set_from_wkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION bigintsetFromBinary(bytea) + RETURNS bigintset + AS 'MODULE_PATHNAME', 'Set_from_wkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION floatsetFromBinary(bytea) + RETURNS floatset + AS 'MODULE_PATHNAME', 'Set_from_wkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION textsetFromBinary(bytea) + RETURNS textset + AS 'MODULE_PATHNAME', 'Set_from_wkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION datesetFromBinary(bytea) + RETURNS dateset + AS 'MODULE_PATHNAME', 'Set_from_wkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tstzsetFromBinary(bytea) + RETURNS tstzset + AS 'MODULE_PATHNAME', 'Set_from_wkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION intsetFromHexWKB(text) + RETURNS intset + AS 'MODULE_PATHNAME', 'Set_from_hexwkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION bigintsetFromHexWKB(text) + RETURNS bigintset + AS 'MODULE_PATHNAME', 'Set_from_hexwkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION floatsetFromHexWKB(text) + RETURNS floatset + AS 'MODULE_PATHNAME', 'Set_from_hexwkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION textsetFromHexWKB(text) + RETURNS textset + AS 'MODULE_PATHNAME', 'Set_from_hexwkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION datesetFromHexWKB(text) + RETURNS dateset + AS 'MODULE_PATHNAME', 'Set_from_hexwkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tstzsetFromHexWKB(text) + RETURNS tstzset + AS 'MODULE_PATHNAME', 'Set_from_hexwkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION asText(intset) + RETURNS text + AS 'MODULE_PATHNAME', 'Set_as_text' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION asText(bigintset) + RETURNS text + AS 'MODULE_PATHNAME', 'Set_as_text' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION asText(floatset, maxdecimaldigits int4 DEFAULT 15) + RETURNS text + AS 'MODULE_PATHNAME', 'Set_as_text' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION asText(textset) + RETURNS text + AS 'MODULE_PATHNAME', 'Set_as_text' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION asText(dateset) + RETURNS text + AS 'MODULE_PATHNAME', 'Set_as_text' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION asText(tstzset) + RETURNS text + AS 'MODULE_PATHNAME', 'Set_as_text' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION asBinary(intset, endianenconding text DEFAULT '') + RETURNS bytea + AS 'MODULE_PATHNAME', 'Set_as_wkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION asBinary(bigintset, endianenconding text DEFAULT '') + RETURNS bytea + AS 'MODULE_PATHNAME', 'Set_as_wkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION asBinary(floatset, endianenconding text DEFAULT '') + RETURNS bytea + AS 'MODULE_PATHNAME', 'Set_as_wkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION asBinary(textset, endianenconding text DEFAULT '') + RETURNS bytea + AS 'MODULE_PATHNAME', 'Set_as_wkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION asBinary(dateset, endianenconding text DEFAULT '') + RETURNS bytea + AS 'MODULE_PATHNAME', 'Set_as_wkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION asBinary(tstzset, endianenconding text DEFAULT '') + RETURNS bytea + AS 'MODULE_PATHNAME', 'Set_as_wkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION asHexWKB(intset, endianenconding text DEFAULT '') + RETURNS text + AS 'MODULE_PATHNAME', 'Set_as_hexwkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION asHexWKB(bigintset, endianenconding text DEFAULT '') + RETURNS text + AS 'MODULE_PATHNAME', 'Set_as_hexwkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION asHexWKB(floatset, endianenconding text DEFAULT '') + RETURNS text + AS 'MODULE_PATHNAME', 'Set_as_hexwkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION asHexWKB(textset, endianenconding text DEFAULT '') + RETURNS text + AS 'MODULE_PATHNAME', 'Set_as_hexwkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION asHexWKB(dateset, endianenconding text DEFAULT '') + RETURNS text + AS 'MODULE_PATHNAME', 'Set_as_hexwkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION asHexWKB(tstzset, endianenconding text DEFAULT '') + RETURNS text + AS 'MODULE_PATHNAME', 'Set_as_hexwkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/****************************************************************************** + * Constructor functions + ******************************************************************************/ + +CREATE FUNCTION set(integer[]) + RETURNS intset + AS 'MODULE_PATHNAME', 'Set_constructor' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set(bigint[]) + RETURNS bigintset + AS 'MODULE_PATHNAME', 'Set_constructor' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set(float[]) + RETURNS floatset + AS 'MODULE_PATHNAME', 'Set_constructor' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set(text[]) + RETURNS textset + AS 'MODULE_PATHNAME', 'Set_constructor' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set(date[]) + RETURNS dateset + AS 'MODULE_PATHNAME', 'Set_constructor' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set(timestamptz[]) + RETURNS tstzset + AS 'MODULE_PATHNAME', 'Set_constructor' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/****************************************************************************** + * Conversion functions + ******************************************************************************/ + +CREATE FUNCTION set(integer) + RETURNS intset + AS 'MODULE_PATHNAME', 'Value_to_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set(bigint) + RETURNS bigintset + AS 'MODULE_PATHNAME', 'Value_to_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set(float) + RETURNS floatset + AS 'MODULE_PATHNAME', 'Value_to_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set(text) + RETURNS textset + AS 'MODULE_PATHNAME', 'Value_to_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set(date) + RETURNS dateset + AS 'MODULE_PATHNAME', 'Value_to_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set(timestamptz) + RETURNS tstzset + AS 'MODULE_PATHNAME', 'Value_to_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE CAST (integer AS intset) WITH FUNCTION set(integer); +CREATE CAST (bigint AS bigintset) WITH FUNCTION set(bigint); +CREATE CAST (float AS floatset) WITH FUNCTION set(float); +CREATE CAST (text AS textset) WITH FUNCTION set(text); +CREATE CAST (date AS dateset) WITH FUNCTION set(date); +CREATE CAST (timestamptz AS tstzset) WITH FUNCTION set(timestamptz); + +CREATE FUNCTION floatset(intset) + RETURNS floatset + AS 'MODULE_PATHNAME', 'Intset_to_floatset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION intset(floatset) + RETURNS intset + AS 'MODULE_PATHNAME', 'Floatset_to_intset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE CAST (intset AS floatset) WITH FUNCTION floatset(intset); +CREATE CAST (floatset AS intset) WITH FUNCTION intset(floatset); + +CREATE FUNCTION tstzset(dateset) + RETURNS tstzset + AS 'MODULE_PATHNAME', 'Dateset_to_tstzset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION dateset(tstzset) + RETURNS dateset + AS 'MODULE_PATHNAME', 'Tstzset_to_dateset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE CAST (dateset AS tstzset) WITH FUNCTION tstzset(dateset); +CREATE CAST (tstzset AS dateset) WITH FUNCTION dateset(tstzset); + +/****************************************************************************** + * Accessor functions + ******************************************************************************/ + +CREATE FUNCTION memSize(intset) + RETURNS integer + AS 'MODULE_PATHNAME', 'Set_mem_size' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION memSize(bigintset) + RETURNS integer + AS 'MODULE_PATHNAME', 'Set_mem_size' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION memSize(floatset) + RETURNS integer + AS 'MODULE_PATHNAME', 'Set_mem_size' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION memSize(textset) + RETURNS integer + AS 'MODULE_PATHNAME', 'Set_mem_size' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION memSize(dateset) + RETURNS integer + AS 'MODULE_PATHNAME', 'Set_mem_size' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION memSize(tstzset) + RETURNS integer + AS 'MODULE_PATHNAME', 'Set_mem_size' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION numValues(intset) + RETURNS integer + AS 'MODULE_PATHNAME', 'Set_num_values' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION numValues(bigintset) + RETURNS integer + AS 'MODULE_PATHNAME', 'Set_num_values' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION numValues(floatset) + RETURNS integer + AS 'MODULE_PATHNAME', 'Set_num_values' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION numValues(textset) + RETURNS integer + AS 'MODULE_PATHNAME', 'Set_num_values' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION numValues(dateset) + RETURNS integer + AS 'MODULE_PATHNAME', 'Set_num_values' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION numValues(tstzset) + RETURNS integer + AS 'MODULE_PATHNAME', 'Set_num_values' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION startValue(intset) + RETURNS integer + AS 'MODULE_PATHNAME', 'Set_start_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION startValue(bigintset) + RETURNS bigint + AS 'MODULE_PATHNAME', 'Set_start_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION startValue(floatset) + RETURNS float + AS 'MODULE_PATHNAME', 'Set_start_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION startValue(textset) + RETURNS text + AS 'MODULE_PATHNAME', 'Set_start_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION startValue(dateset) + RETURNS date + AS 'MODULE_PATHNAME', 'Set_start_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION startValue(tstzset) + RETURNS timestamptz + AS 'MODULE_PATHNAME', 'Set_start_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION endValue(intset) + RETURNS integer + AS 'MODULE_PATHNAME', 'Set_end_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION endValue(bigintset) + RETURNS bigint + AS 'MODULE_PATHNAME', 'Set_end_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION endValue(floatset) + RETURNS float + AS 'MODULE_PATHNAME', 'Set_end_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION endValue(textset) + RETURNS text + AS 'MODULE_PATHNAME', 'Set_end_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION endValue(dateset) + RETURNS date + AS 'MODULE_PATHNAME', 'Set_end_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION endValue(tstzset) + RETURNS timestamptz + AS 'MODULE_PATHNAME', 'Set_end_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION valueN(intset, integer) + RETURNS integer + AS 'MODULE_PATHNAME', 'Set_value_n' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION valueN(bigintset, integer) + RETURNS bigint + AS 'MODULE_PATHNAME', 'Set_value_n' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION valueN(floatset, integer) + RETURNS float + AS 'MODULE_PATHNAME', 'Set_value_n' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION valueN(textset, integer) + RETURNS text + AS 'MODULE_PATHNAME', 'Set_value_n' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION valueN(dateset, integer) + RETURNS date + AS 'MODULE_PATHNAME', 'Set_value_n' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION valueN(tstzset, integer) + RETURNS timestamptz + AS 'MODULE_PATHNAME', 'Set_value_n' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/* Values is a reserved word in SQL */ +CREATE FUNCTION getValues(intset) + RETURNS integer[] + AS 'MODULE_PATHNAME', 'Set_values' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION getValues(bigintset) + RETURNS bigint[] + AS 'MODULE_PATHNAME', 'Set_values' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION getValues(floatset) + RETURNS float[] + AS 'MODULE_PATHNAME', 'Set_values' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION getValues(textset) + RETURNS text[] + AS 'MODULE_PATHNAME', 'Set_values' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION getValues(dateset) + RETURNS date[] + AS 'MODULE_PATHNAME', 'Set_values' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION getValues(tstzset) + RETURNS timestamptz[] + AS 'MODULE_PATHNAME', 'Set_values' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/***************************************************************************** + * Transformation functions + *****************************************************************************/ + +CREATE FUNCTION shift(intset, integer) + RETURNS intset + AS 'MODULE_PATHNAME', 'Numset_shift' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION shift(bigintset, bigint) + RETURNS bigintset + AS 'MODULE_PATHNAME', 'Numset_shift' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION shift(floatset, float) + RETURNS floatset + AS 'MODULE_PATHNAME', 'Numset_shift' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION shift(dateset, integer) + RETURNS dateset + AS 'MODULE_PATHNAME', 'Numset_shift' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION shift(tstzset, interval) + RETURNS tstzset + AS 'MODULE_PATHNAME', 'Tstzset_shift' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION scale(intset, integer) + RETURNS intset + AS 'MODULE_PATHNAME', 'Numset_scale' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION scale(bigintset, bigint) + RETURNS bigintset + AS 'MODULE_PATHNAME', 'Numset_scale' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION scale(floatset, float) + RETURNS floatset + AS 'MODULE_PATHNAME', 'Numset_scale' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION scale(dateset, integer) + RETURNS dateset + AS 'MODULE_PATHNAME', 'Numset_scale' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION scale(tstzset, interval) + RETURNS tstzset + AS 'MODULE_PATHNAME', 'Tstzset_scale' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION shiftScale(intset, integer, integer) + RETURNS intset + AS 'MODULE_PATHNAME', 'Numset_shift_scale' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION shiftScale(bigintset, bigint, bigint) + RETURNS bigintset + AS 'MODULE_PATHNAME', 'Numset_shift_scale' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION shiftScale(floatset, float, float) + RETURNS floatset + AS 'MODULE_PATHNAME', 'Numset_shift_scale' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION shiftScale(dateset, integer, integer) + RETURNS dateset + AS 'MODULE_PATHNAME', 'Numset_shift_scale' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION shiftScale(tstzset, interval, interval) + RETURNS tstzset + AS 'MODULE_PATHNAME', 'Tstzset_shift_scale' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION floor(floatset) + RETURNS floatset + AS 'MODULE_PATHNAME', 'Floatset_floor' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION ceil(floatset) + RETURNS floatset + AS 'MODULE_PATHNAME', 'Floatset_ceil' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION round(floatset, integer DEFAULT 0) + RETURNS floatset + AS 'MODULE_PATHNAME', 'Set_round' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION degrees(floatset, bool DEFAULT FALSE) + RETURNS floatset + AS 'MODULE_PATHNAME', 'Floatset_degrees' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION radians(floatset) + RETURNS floatset + AS 'MODULE_PATHNAME', 'Floatset_radians' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION lower(textset) + RETURNS textset + AS 'MODULE_PATHNAME', 'Textset_lower' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION upper(textset) + RETURNS textset + AS 'MODULE_PATHNAME', 'Textset_upper' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION initcap(textset) + RETURNS textset + AS 'MODULE_PATHNAME', 'Textset_initcap' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/****************************************************************************** + * Transform a set to a set of values + ******************************************************************************/ + +CREATE FUNCTION unnest(intset) + RETURNS SETOF integer + AS 'MODULE_PATHNAME', 'Set_unnest' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION unnest(bigintset) + RETURNS SETOF bigint + AS 'MODULE_PATHNAME', 'Set_unnest' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION unnest(floatset) + RETURNS SETOF float + AS 'MODULE_PATHNAME', 'Set_unnest' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION unnest(textset) + RETURNS SETOF text + AS 'MODULE_PATHNAME', 'Set_unnest' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION unnest(dateset) + RETURNS SETOF date + AS 'MODULE_PATHNAME', 'Set_unnest' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION unnest(tstzset) + RETURNS SETOF timestamptz + AS 'MODULE_PATHNAME', 'Set_unnest' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/***************************************************************************** + * Temporal text concatenation + *****************************************************************************/ + +CREATE FUNCTION textset_cat(text, textset) + RETURNS textset + AS 'MODULE_PATHNAME', 'Textcat_text_textset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION textset_cat(textset, text) + RETURNS textset + AS 'MODULE_PATHNAME', 'Textcat_textset_text' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR || ( + PROCEDURE = textset_cat, + LEFTARG = text, RIGHTARG = textset +); +CREATE OPERATOR || ( + PROCEDURE = textset_cat, + LEFTARG = textset, RIGHTARG = text +); + +/****************************************************************************** + * Aggregate functions + ******************************************************************************/ + +-- The function is not STRICT +CREATE FUNCTION set_union_transfn(internal, integer) + RETURNS internal + AS 'MODULE_PATHNAME', 'Value_union_transfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION set_union_transfn(internal, bigint) + RETURNS internal + AS 'MODULE_PATHNAME', 'Value_union_transfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION set_union_transfn(internal, float) + RETURNS internal + AS 'MODULE_PATHNAME', 'Value_union_transfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION set_union_transfn(internal, text) + RETURNS internal + AS 'MODULE_PATHNAME', 'Value_union_transfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION set_union_transfn(internal, date) + RETURNS internal + AS 'MODULE_PATHNAME', 'Value_union_transfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION set_union_transfn(internal, timestamptz) + RETURNS internal + AS 'MODULE_PATHNAME', 'Value_union_transfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; + +-- The function is not STRICT +CREATE FUNCTION set_union_transfn(internal, intset) + RETURNS internal + AS 'MODULE_PATHNAME', 'Set_union_transfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION set_union_transfn(internal, bigintset) + RETURNS internal + AS 'MODULE_PATHNAME', 'Set_union_transfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION set_union_transfn(internal, floatset) + RETURNS internal + AS 'MODULE_PATHNAME', 'Set_union_transfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION set_union_transfn(internal, textset) + RETURNS internal + AS 'MODULE_PATHNAME', 'Set_union_transfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION set_union_transfn(internal, dateset) + RETURNS internal + AS 'MODULE_PATHNAME', 'Set_union_transfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION set_union_transfn(internal, tstzset) + RETURNS internal + AS 'MODULE_PATHNAME', 'Set_union_transfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; + +CREATE FUNCTION intset_union_finalfn(internal) + RETURNS intset + AS 'MODULE_PATHNAME', 'Set_union_finalfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION bigintset_union_finalfn(internal) + RETURNS bigintset + AS 'MODULE_PATHNAME', 'Set_union_finalfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION floatset_union_finalfn(internal) + RETURNS floatset + AS 'MODULE_PATHNAME', 'Set_union_finalfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION dateset_union_finalfn(internal) + RETURNS dateset + AS 'MODULE_PATHNAME', 'Set_union_finalfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION tstzset_union_finalfn(internal) + RETURNS tstzset + AS 'MODULE_PATHNAME', 'Set_union_finalfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION textset_union_finalfn(internal) + RETURNS textset + AS 'MODULE_PATHNAME', 'Set_union_finalfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; + +CREATE AGGREGATE setUnion(integer) ( + SFUNC = set_union_transfn, + STYPE = internal, + FINALFUNC = intset_union_finalfn, + PARALLEL = safe +); +CREATE AGGREGATE setUnion(bigint) ( + SFUNC = set_union_transfn, + STYPE = internal, + FINALFUNC = bigintset_union_finalfn, + PARALLEL = safe +); +CREATE AGGREGATE setUnion(float) ( + SFUNC = set_union_transfn, + STYPE = internal, + FINALFUNC = floatset_union_finalfn, + PARALLEL = safe +); +CREATE AGGREGATE setUnion(text) ( + SFUNC = set_union_transfn, + STYPE = internal, + FINALFUNC = textset_union_finalfn, + PARALLEL = safe +); +CREATE AGGREGATE setUnion(date) ( + SFUNC = set_union_transfn, + STYPE = internal, + FINALFUNC = dateset_union_finalfn, + PARALLEL = safe +); +CREATE AGGREGATE setUnion(timestamptz) ( + SFUNC = set_union_transfn, + STYPE = internal, + FINALFUNC = tstzset_union_finalfn, + PARALLEL = safe +); + +CREATE AGGREGATE setUnion(intset) ( + SFUNC = set_union_transfn, + STYPE = internal, + FINALFUNC = intset_union_finalfn, + PARALLEL = safe +); +CREATE AGGREGATE setUnion(bigintset) ( + SFUNC = set_union_transfn, + STYPE = internal, + FINALFUNC = bigintset_union_finalfn, + PARALLEL = safe +); +CREATE AGGREGATE setUnion(floatset) ( + SFUNC = set_union_transfn, + STYPE = internal, + FINALFUNC = floatset_union_finalfn, + PARALLEL = safe +); +CREATE AGGREGATE setUnion(textset) ( + SFUNC = set_union_transfn, + STYPE = internal, + FINALFUNC = textset_union_finalfn, + PARALLEL = safe +); +CREATE AGGREGATE setUnion(dateset) ( + SFUNC = set_union_transfn, + STYPE = internal, + FINALFUNC = dateset_union_finalfn, + PARALLEL = safe +); +CREATE AGGREGATE setUnion(tstzset) ( + SFUNC = set_union_transfn, + STYPE = internal, + FINALFUNC = tstzset_union_finalfn, + PARALLEL = safe +); + +/***************************************************************************** + * Selectivity functions + *****************************************************************************/ + +CREATE FUNCTION span_sel(internal, oid, internal, integer) + RETURNS float + AS 'MODULE_PATHNAME', 'Span_sel' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_joinsel(internal, oid, internal, smallint, internal) + RETURNS float + AS 'MODULE_PATHNAME', 'Span_joinsel' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/****************************************************************************** + * Comparison functions for defining B-tree indexes + ******************************************************************************/ + +CREATE FUNCTION set_eq(intset, intset) + RETURNS bool + AS 'MODULE_PATHNAME', 'Set_eq' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_eq(bigintset, bigintset) + RETURNS bool + AS 'MODULE_PATHNAME', 'Set_eq' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_eq(floatset, floatset) + RETURNS bool + AS 'MODULE_PATHNAME', 'Set_eq' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_eq(textset, textset) + RETURNS bool + AS 'MODULE_PATHNAME', 'Set_eq' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_eq(dateset, dateset) + RETURNS bool + AS 'MODULE_PATHNAME', 'Set_eq' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_eq(tstzset, tstzset) + RETURNS bool + AS 'MODULE_PATHNAME', 'Set_eq' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION set_ne(intset, intset) + RETURNS bool + AS 'MODULE_PATHNAME', 'Set_ne' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_ne(bigintset, bigintset) + RETURNS bool + AS 'MODULE_PATHNAME', 'Set_ne' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_ne(floatset, floatset) + RETURNS bool + AS 'MODULE_PATHNAME', 'Set_ne' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_ne(textset, textset) + RETURNS bool + AS 'MODULE_PATHNAME', 'Set_ne' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_ne(dateset, dateset) + RETURNS bool + AS 'MODULE_PATHNAME', 'Set_ne' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_ne(tstzset, tstzset) + RETURNS bool + AS 'MODULE_PATHNAME', 'Set_ne' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION set_lt(intset, intset) + RETURNS bool + AS 'MODULE_PATHNAME', 'Set_lt' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_lt(bigintset, bigintset) + RETURNS bool + AS 'MODULE_PATHNAME', 'Set_lt' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_lt(floatset, floatset) + RETURNS bool + AS 'MODULE_PATHNAME', 'Set_lt' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_lt(textset, textset) + RETURNS bool + AS 'MODULE_PATHNAME', 'Set_lt' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_lt(dateset, dateset) + RETURNS bool + AS 'MODULE_PATHNAME', 'Set_lt' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_lt(tstzset, tstzset) + RETURNS bool + AS 'MODULE_PATHNAME', 'Set_lt' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION set_le(intset, intset) + RETURNS bool + AS 'MODULE_PATHNAME', 'Set_le' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_le(bigintset, bigintset) + RETURNS bool + AS 'MODULE_PATHNAME', 'Set_le' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_le(floatset, floatset) + RETURNS bool + AS 'MODULE_PATHNAME', 'Set_le' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_le(textset, textset) + RETURNS bool + AS 'MODULE_PATHNAME', 'Set_le' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_le(dateset, dateset) + RETURNS bool + AS 'MODULE_PATHNAME', 'Set_le' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_le(tstzset, tstzset) + RETURNS bool + AS 'MODULE_PATHNAME', 'Set_le' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION set_ge(intset, intset) + RETURNS bool + AS 'MODULE_PATHNAME', 'Set_ge' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_ge(bigintset, bigintset) + RETURNS bool + AS 'MODULE_PATHNAME', 'Set_ge' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_ge(floatset, floatset) + RETURNS bool + AS 'MODULE_PATHNAME', 'Set_ge' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_ge(textset, textset) + RETURNS bool + AS 'MODULE_PATHNAME', 'Set_ge' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_ge(dateset, dateset) + RETURNS bool + AS 'MODULE_PATHNAME', 'Set_ge' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_ge(tstzset, tstzset) + RETURNS bool + AS 'MODULE_PATHNAME', 'Set_ge' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION set_gt(intset, intset) + RETURNS bool + AS 'MODULE_PATHNAME', 'Set_gt' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_gt(bigintset, bigintset) + RETURNS bool + AS 'MODULE_PATHNAME', 'Set_gt' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_gt(floatset, floatset) + RETURNS bool + AS 'MODULE_PATHNAME', 'Set_gt' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_gt(textset, textset) + RETURNS bool + AS 'MODULE_PATHNAME', 'Set_gt' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_gt(dateset, dateset) + RETURNS bool + AS 'MODULE_PATHNAME', 'Set_gt' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_gt(tstzset, tstzset) + RETURNS bool + AS 'MODULE_PATHNAME', 'Set_gt' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION set_cmp(intset, intset) + RETURNS integer + AS 'MODULE_PATHNAME', 'Set_cmp' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_cmp(bigintset, bigintset) + RETURNS integer + AS 'MODULE_PATHNAME', 'Set_cmp' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_cmp(floatset, floatset) + RETURNS integer + AS 'MODULE_PATHNAME', 'Set_cmp' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_cmp(textset, textset) + RETURNS integer + AS 'MODULE_PATHNAME', 'Set_cmp' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_cmp(dateset, dateset) + RETURNS integer + AS 'MODULE_PATHNAME', 'Set_cmp' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_cmp(tstzset, tstzset) + RETURNS integer + AS 'MODULE_PATHNAME', 'Set_cmp' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR = ( + LEFTARG = intset, RIGHTARG = intset, + PROCEDURE = set_eq, + COMMUTATOR = =, NEGATOR = <>, + RESTRICT = eqsel, JOIN = eqjoinsel +); +CREATE OPERATOR = ( + LEFTARG = bigintset, RIGHTARG = bigintset, + PROCEDURE = set_eq, + COMMUTATOR = =, NEGATOR = <>, + RESTRICT = eqsel, JOIN = eqjoinsel +); +CREATE OPERATOR = ( + LEFTARG = floatset, RIGHTARG = floatset, + PROCEDURE = set_eq, + COMMUTATOR = =, NEGATOR = <>, + RESTRICT = eqsel, JOIN = eqjoinsel +); +CREATE OPERATOR = ( + LEFTARG = textset, RIGHTARG = textset, + PROCEDURE = set_eq, + COMMUTATOR = =, NEGATOR = <>, + RESTRICT = eqsel, JOIN = eqjoinsel +); +CREATE OPERATOR = ( + LEFTARG = dateset, RIGHTARG = dateset, + PROCEDURE = set_eq, + COMMUTATOR = =, NEGATOR = <>, + RESTRICT = eqsel, JOIN = eqjoinsel +); +CREATE OPERATOR = ( + LEFTARG = tstzset, RIGHTARG = tstzset, + PROCEDURE = set_eq, + COMMUTATOR = =, NEGATOR = <>, + RESTRICT = eqsel, JOIN = eqjoinsel +); + +CREATE OPERATOR <> ( + LEFTARG = intset, RIGHTARG = intset, + PROCEDURE = set_ne, + COMMUTATOR = <>, NEGATOR = =, + RESTRICT = neqsel, JOIN = neqjoinsel +); +CREATE OPERATOR <> ( + LEFTARG = bigintset, RIGHTARG = bigintset, + PROCEDURE = set_ne, + COMMUTATOR = <>, NEGATOR = =, + RESTRICT = neqsel, JOIN = neqjoinsel +); +CREATE OPERATOR <> ( + LEFTARG = floatset, RIGHTARG = floatset, + PROCEDURE = set_ne, + COMMUTATOR = <>, NEGATOR = =, + RESTRICT = neqsel, JOIN = neqjoinsel +); +CREATE OPERATOR <> ( + LEFTARG = textset, RIGHTARG = textset, + PROCEDURE = set_ne, + COMMUTATOR = <>, NEGATOR = =, + RESTRICT = neqsel, JOIN = neqjoinsel +); +CREATE OPERATOR <> ( + LEFTARG = dateset, RIGHTARG = dateset, + PROCEDURE = set_ne, + COMMUTATOR = <>, NEGATOR = =, + RESTRICT = neqsel, JOIN = neqjoinsel +); +CREATE OPERATOR <> ( + LEFTARG = tstzset, RIGHTARG = tstzset, + PROCEDURE = set_ne, + COMMUTATOR = <>, NEGATOR = =, + RESTRICT = neqsel, JOIN = neqjoinsel +); + +CREATE OPERATOR < ( + LEFTARG = intset, RIGHTARG = intset, + PROCEDURE = set_lt, + COMMUTATOR = >, NEGATOR = >=, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR < ( + LEFTARG = bigintset, RIGHTARG = bigintset, + PROCEDURE = set_lt, + COMMUTATOR = >, NEGATOR = >=, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR < ( + LEFTARG = floatset, RIGHTARG = floatset, + PROCEDURE = set_lt, + COMMUTATOR = >, NEGATOR = >=, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR < ( + LEFTARG = textset, RIGHTARG = textset, + PROCEDURE = set_lt, + COMMUTATOR = >, NEGATOR = >=, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR < ( + LEFTARG = dateset, RIGHTARG = dateset, + PROCEDURE = set_lt, + COMMUTATOR = >, NEGATOR = >=, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR < ( + LEFTARG = tstzset, RIGHTARG = tstzset, + PROCEDURE = set_lt, + COMMUTATOR = >, NEGATOR = >=, + RESTRICT = span_sel, JOIN = span_joinsel +); + +CREATE OPERATOR <= ( + LEFTARG = intset, RIGHTARG = intset, + PROCEDURE = set_le, + COMMUTATOR = >=, NEGATOR = >, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR <= ( + LEFTARG = bigintset, RIGHTARG = bigintset, + PROCEDURE = set_le, + COMMUTATOR = >=, NEGATOR = >, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR <= ( + LEFTARG = floatset, RIGHTARG = floatset, + PROCEDURE = set_le, + COMMUTATOR = >=, NEGATOR = >, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR <= ( + LEFTARG = textset, RIGHTARG = textset, + PROCEDURE = set_le, + COMMUTATOR = >=, NEGATOR = >, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR <= ( + LEFTARG = dateset, RIGHTARG = dateset, + PROCEDURE = set_le, + COMMUTATOR = >=, NEGATOR = >, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR <= ( + LEFTARG = tstzset, RIGHTARG = tstzset, + PROCEDURE = set_le, + COMMUTATOR = >=, NEGATOR = >, + RESTRICT = span_sel, JOIN = span_joinsel +); + +CREATE OPERATOR >= ( + LEFTARG = intset, RIGHTARG = intset, + PROCEDURE = set_ge, + COMMUTATOR = <=, NEGATOR = <, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR >= ( + LEFTARG = bigintset, RIGHTARG = bigintset, + PROCEDURE = set_ge, + COMMUTATOR = <=, NEGATOR = <, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR >= ( + LEFTARG = floatset, RIGHTARG = floatset, + PROCEDURE = set_ge, + COMMUTATOR = <=, NEGATOR = <, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR >= ( + LEFTARG = textset, RIGHTARG = textset, + PROCEDURE = set_ge, + COMMUTATOR = <=, NEGATOR = <, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR >= ( + LEFTARG = dateset, RIGHTARG = dateset, + PROCEDURE = set_ge, + COMMUTATOR = <=, NEGATOR = <, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR >= ( + LEFTARG = tstzset, RIGHTARG = tstzset, + PROCEDURE = set_ge, + COMMUTATOR = <=, NEGATOR = <, + RESTRICT = span_sel, JOIN = span_joinsel +); + +CREATE OPERATOR > ( + LEFTARG = intset, RIGHTARG = intset, + PROCEDURE = set_gt, + COMMUTATOR = <, NEGATOR = <=, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR > ( + LEFTARG = bigintset, RIGHTARG = bigintset, + PROCEDURE = set_gt, + COMMUTATOR = <, NEGATOR = <=, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR > ( + LEFTARG = floatset, RIGHTARG = floatset, + PROCEDURE = set_gt, + COMMUTATOR = <, NEGATOR = <=, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR > ( + LEFTARG = textset, RIGHTARG = textset, + PROCEDURE = set_gt, + COMMUTATOR = <, NEGATOR = <=, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR > ( + LEFTARG = dateset, RIGHTARG = dateset, + PROCEDURE = set_gt, + COMMUTATOR = <, NEGATOR = <=, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR > ( + LEFTARG = tstzset, RIGHTARG = tstzset, + PROCEDURE = set_gt, + COMMUTATOR = <, NEGATOR = <=, + RESTRICT = span_sel, JOIN = span_joinsel +); + +CREATE OPERATOR CLASS intset_btree_ops + DEFAULT FOR TYPE intset USING btree AS + OPERATOR 1 <, + OPERATOR 2 <=, + OPERATOR 3 =, + OPERATOR 4 >=, + OPERATOR 5 >, + FUNCTION 1 set_cmp(intset, intset); +CREATE OPERATOR CLASS bigintset_btree_ops + DEFAULT FOR TYPE bigintset USING btree AS + OPERATOR 1 <, + OPERATOR 2 <=, + OPERATOR 3 =, + OPERATOR 4 >=, + OPERATOR 5 >, + FUNCTION 1 set_cmp(bigintset, bigintset); +CREATE OPERATOR CLASS floatset_btree_ops + DEFAULT FOR TYPE floatset USING btree AS + OPERATOR 1 <, + OPERATOR 2 <=, + OPERATOR 3 =, + OPERATOR 4 >=, + OPERATOR 5 >, + FUNCTION 1 set_cmp(floatset, floatset); +CREATE OPERATOR CLASS textset_btree_ops + DEFAULT FOR TYPE textset USING btree AS + OPERATOR 1 <, + OPERATOR 2 <=, + OPERATOR 3 =, + OPERATOR 4 >=, + OPERATOR 5 >, + FUNCTION 1 set_cmp(textset, textset); +CREATE OPERATOR CLASS dateset_btree_ops + DEFAULT FOR TYPE dateset USING btree AS + OPERATOR 1 <, + OPERATOR 2 <=, + OPERATOR 3 =, + OPERATOR 4 >=, + OPERATOR 5 >, + FUNCTION 1 set_cmp(dateset, dateset); +CREATE OPERATOR CLASS tstzset_btree_ops + DEFAULT FOR TYPE tstzset USING btree AS + OPERATOR 1 <, + OPERATOR 2 <=, + OPERATOR 3 =, + OPERATOR 4 >=, + OPERATOR 5 >, + FUNCTION 1 set_cmp(tstzset, tstzset); + +/****************************************************************************** + * Hash functions for defining hash indexes + ******************************************************************************/ + +CREATE FUNCTION set_hash(intset) + RETURNS integer + AS 'MODULE_PATHNAME', 'Set_hash' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_hash(bigintset) + RETURNS integer + AS 'MODULE_PATHNAME', 'Set_hash' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_hash(floatset) + RETURNS integer + AS 'MODULE_PATHNAME', 'Set_hash' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_hash(textset) + RETURNS integer + AS 'MODULE_PATHNAME', 'Set_hash' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_hash(dateset) + RETURNS integer + AS 'MODULE_PATHNAME', 'Set_hash' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_hash(tstzset) + RETURNS integer + AS 'MODULE_PATHNAME', 'Set_hash' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION set_hash_extended(intset, bigint) + RETURNS bigint + AS 'MODULE_PATHNAME', 'Set_hash_extended' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_hash_extended(bigintset, bigint) + RETURNS bigint + AS 'MODULE_PATHNAME', 'Set_hash_extended' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_hash_extended(floatset, bigint) + RETURNS bigint + AS 'MODULE_PATHNAME', 'Set_hash_extended' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_hash_extended(textset, bigint) + RETURNS bigint + AS 'MODULE_PATHNAME', 'Set_hash_extended' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_hash_extended(dateset, bigint) + RETURNS bigint + AS 'MODULE_PATHNAME', 'Set_hash_extended' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_hash_extended(tstzset, bigint) + RETURNS bigint + AS 'MODULE_PATHNAME', 'Set_hash_extended' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR CLASS intset_hash_ops + DEFAULT FOR TYPE intset USING hash AS + OPERATOR 1 = , + FUNCTION 1 set_hash(intset), + FUNCTION 2 set_hash_extended(intset, bigint); +CREATE OPERATOR CLASS bigintset_hash_ops + DEFAULT FOR TYPE bigintset USING hash AS + OPERATOR 1 = , + FUNCTION 1 set_hash(bigintset), + FUNCTION 2 set_hash_extended(bigintset, bigint); +CREATE OPERATOR CLASS floatset_hash_ops + DEFAULT FOR TYPE floatset USING hash AS + OPERATOR 1 = , + FUNCTION 1 set_hash(floatset), + FUNCTION 2 set_hash_extended(floatset, bigint); +CREATE OPERATOR CLASS textset_hash_ops + DEFAULT FOR TYPE textset USING hash AS + OPERATOR 1 = , + FUNCTION 1 set_hash(textset), + FUNCTION 2 set_hash_extended(textset, bigint); +CREATE OPERATOR CLASS dateset_hash_ops + DEFAULT FOR TYPE dateset USING hash AS + OPERATOR 1 = , + FUNCTION 1 set_hash(dateset), + FUNCTION 2 set_hash_extended(dateset, bigint); +CREATE OPERATOR CLASS tstzset_hash_ops + DEFAULT FOR TYPE tstzset USING hash AS + OPERATOR 1 = , + FUNCTION 1 set_hash(tstzset), + FUNCTION 2 set_hash_extended(tstzset, bigint); + +/******************************************************************************/ diff --git a/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/temporal/002_set_ops.in.sql b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/temporal/002_set_ops.in.sql new file mode 100644 index 00000000..b449b0c1 --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/temporal/002_set_ops.in.sql @@ -0,0 +1,1720 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @file + * @brief Operators for set types + */ + +/****************************************************************************** + * Operators + ******************************************************************************/ + +CREATE FUNCTION set_contains(intset, integer) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contains_set_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_contains(intset, intset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contains_set_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_contains(bigintset, bigint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contains_set_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_contains(bigintset, bigintset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contains_set_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_contains(floatset, float) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contains_set_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_contains(floatset, floatset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contains_set_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_contains(textset, text) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contains_set_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_contains(textset, textset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contains_set_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_contains(dateset, date) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contains_set_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_contains(dateset, dateset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contains_set_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_contains(tstzset, timestamptz) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contains_set_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_contains(tstzset, tstzset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contains_set_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR @> ( + PROCEDURE = set_contains, + LEFTARG = intset, RIGHTARG = integer, + COMMUTATOR = <@, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR @> ( + PROCEDURE = set_contains, + LEFTARG = intset, RIGHTARG = intset, + COMMUTATOR = <@, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR @> ( + PROCEDURE = set_contains, + LEFTARG = bigintset, RIGHTARG = bigint, + COMMUTATOR = <@, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR @> ( + PROCEDURE = set_contains, + LEFTARG = bigintset, RIGHTARG = bigintset, + COMMUTATOR = <@, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR @> ( + PROCEDURE = set_contains, + LEFTARG = floatset, RIGHTARG = float, + COMMUTATOR = <@, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR @> ( + PROCEDURE = set_contains, + LEFTARG = floatset, RIGHTARG = floatset, + COMMUTATOR = <@, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR @> ( + PROCEDURE = set_contains, + LEFTARG = textset, RIGHTARG = text, + COMMUTATOR = <@ +); +CREATE OPERATOR @> ( + PROCEDURE = set_contains, + LEFTARG = textset, RIGHTARG = textset, + COMMUTATOR = <@ +); +CREATE OPERATOR @> ( + PROCEDURE = set_contains, + LEFTARG = dateset, RIGHTARG = date, + COMMUTATOR = <@ +); +CREATE OPERATOR @> ( + PROCEDURE = set_contains, + LEFTARG = dateset, RIGHTARG = dateset, + COMMUTATOR = <@ +); +CREATE OPERATOR @> ( + PROCEDURE = set_contains, + LEFTARG = tstzset, RIGHTARG = timestamptz, + COMMUTATOR = <@, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR @> ( + PROCEDURE = set_contains, + LEFTARG = tstzset, RIGHTARG = tstzset, + COMMUTATOR = <@, + RESTRICT = span_sel, JOIN = span_joinsel +); + +/******************************************************************************/ + +CREATE FUNCTION set_contained(integer, intset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contained_value_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_contained(intset, intset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contained_set_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_contained(bigint, bigintset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contained_value_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_contained(bigintset, bigintset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contained_set_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_contained(float, floatset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contained_value_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_contained(floatset, floatset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contained_set_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_contained(text, textset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contained_value_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_contained(textset, textset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contained_set_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_contained(date, dateset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contained_value_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_contained(dateset, dateset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contained_set_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_contained(timestamptz, tstzset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contained_value_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_contained(tstzset, tstzset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contained_set_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR <@ ( + PROCEDURE = set_contained, + LEFTARG = integer, RIGHTARG = intset, + COMMUTATOR = @>, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR <@ ( + PROCEDURE = set_contained, + LEFTARG = intset, RIGHTARG = intset, + COMMUTATOR = @>, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR <@ ( + PROCEDURE = set_contained, + LEFTARG = bigint, RIGHTARG = bigintset, + COMMUTATOR = @>, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR <@ ( + PROCEDURE = set_contained, + LEFTARG = bigintset, RIGHTARG = bigintset, + COMMUTATOR = @>, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR <@ ( + PROCEDURE = set_contained, + LEFTARG = float, RIGHTARG = floatset, + COMMUTATOR = @>, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR <@ ( + PROCEDURE = set_contained, + LEFTARG = floatset, RIGHTARG = floatset, + COMMUTATOR = @>, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR <@ ( + PROCEDURE = set_contained, + LEFTARG = text, RIGHTARG = textset, + COMMUTATOR = @> +); +CREATE OPERATOR <@ ( + PROCEDURE = set_contained, + LEFTARG = textset, RIGHTARG = textset, + COMMUTATOR = @> +); +CREATE OPERATOR <@ ( + PROCEDURE = set_contained, + LEFTARG = date, RIGHTARG = dateset, + COMMUTATOR = @> +); +CREATE OPERATOR <@ ( + PROCEDURE = set_contained, + LEFTARG = dateset, RIGHTARG = dateset, + COMMUTATOR = @> +); +CREATE OPERATOR <@ ( + PROCEDURE = set_contained, + LEFTARG = timestamptz, RIGHTARG = tstzset, + COMMUTATOR = @>, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR <@ ( + PROCEDURE = set_contained, + LEFTARG = tstzset, RIGHTARG = tstzset, + COMMUTATOR = @>, + RESTRICT = span_sel, JOIN = span_joinsel +); + +/******************************************************************************/ + +CREATE FUNCTION set_overlaps(intset, intset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overlaps_set_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_overlaps(bigintset, bigintset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overlaps_set_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_overlaps(floatset, floatset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overlaps_set_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_overlaps(textset, textset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overlaps_set_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_overlaps(dateset, dateset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overlaps_set_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_overlaps(tstzset, tstzset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overlaps_set_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR && ( + PROCEDURE = set_overlaps, + LEFTARG = intset, RIGHTARG = intset, + COMMUTATOR = &&, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR && ( + PROCEDURE = set_overlaps, + LEFTARG = bigintset, RIGHTARG = bigintset, + COMMUTATOR = &&, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR && ( + PROCEDURE = set_overlaps, + LEFTARG = floatset, RIGHTARG = floatset, + COMMUTATOR = &&, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR && ( + PROCEDURE = set_overlaps, + LEFTARG = textset, RIGHTARG = textset, + COMMUTATOR = && +); +CREATE OPERATOR && ( + PROCEDURE = set_overlaps, + LEFTARG = dateset, RIGHTARG = dateset, + COMMUTATOR = && +); +CREATE OPERATOR && ( + PROCEDURE = set_overlaps, + LEFTARG = tstzset, RIGHTARG = tstzset, + COMMUTATOR = &&, + RESTRICT = span_sel, JOIN = span_joinsel +); + +/******************************************************************************/ + +CREATE FUNCTION set_left(integer, intset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Left_value_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_left(intset, integer) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Left_set_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_left(intset, intset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Left_set_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_left(bigint, bigintset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Left_value_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_left(bigintset, bigint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Left_set_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_left(bigintset, bigintset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Left_set_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_left(float, floatset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Left_value_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_left(floatset, float) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Left_set_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_left(floatset, floatset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Left_set_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_left(text, textset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Left_value_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_left(textset, text) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Left_set_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_left(textset, textset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Left_set_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_left(date, dateset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Left_value_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_left(dateset, date) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Left_set_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_left(dateset, dateset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Left_set_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_left(timestamptz, tstzset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Left_value_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_left(tstzset, timestamptz) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Left_set_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_left(tstzset, tstzset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Left_set_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR << ( + PROCEDURE = set_left, + LEFTARG = integer, RIGHTARG = intset, + COMMUTATOR = >>, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR << ( + PROCEDURE = set_left, + LEFTARG = intset, RIGHTARG = integer, + COMMUTATOR = >>, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR << ( + PROCEDURE = set_left, + LEFTARG = intset, RIGHTARG = intset, + COMMUTATOR = >>, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR << ( + PROCEDURE = set_left, + LEFTARG = bigint, RIGHTARG = bigintset, + COMMUTATOR = >>, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR << ( + PROCEDURE = set_left, + LEFTARG = bigintset, RIGHTARG = bigint, + COMMUTATOR = >>, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR << ( + PROCEDURE = set_left, + LEFTARG = bigintset, RIGHTARG = bigintset, + COMMUTATOR = >>, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR << ( + PROCEDURE = set_left, + LEFTARG = float, RIGHTARG = floatset, + COMMUTATOR = >>, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR << ( + PROCEDURE = set_left, + LEFTARG = floatset, RIGHTARG = float, + COMMUTATOR = >>, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR << ( + PROCEDURE = set_left, + LEFTARG = floatset, RIGHTARG = floatset, + COMMUTATOR = >>, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR << ( + PROCEDURE = set_left, + LEFTARG = text, RIGHTARG = textset, + COMMUTATOR = >> +); +CREATE OPERATOR << ( + PROCEDURE = set_left, + LEFTARG = textset, RIGHTARG = text, + COMMUTATOR = >> +); +CREATE OPERATOR << ( + PROCEDURE = set_left, + LEFTARG = textset, RIGHTARG = textset, + COMMUTATOR = >> +); +CREATE OPERATOR <<# ( + PROCEDURE = set_left, + LEFTARG = date, RIGHTARG = dateset, + COMMUTATOR = #>> +); +CREATE OPERATOR <<# ( + PROCEDURE = set_left, + LEFTARG = dateset, RIGHTARG = date, + COMMUTATOR = #>> +); +CREATE OPERATOR <<# ( + PROCEDURE = set_left, + LEFTARG = dateset, RIGHTARG = dateset, + COMMUTATOR = #>> +); +CREATE OPERATOR <<# ( + PROCEDURE = set_left, + LEFTARG = timestamptz, RIGHTARG = tstzset, + COMMUTATOR = #>>, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR <<# ( + PROCEDURE = set_left, + LEFTARG = tstzset, RIGHTARG = timestamptz, + COMMUTATOR = #>>, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR <<# ( + PROCEDURE = set_left, + LEFTARG = tstzset, RIGHTARG = tstzset, + COMMUTATOR = #>>, + RESTRICT = span_sel, JOIN = span_joinsel +); + +/******************************************************************************/ + +CREATE FUNCTION set_right(integer, intset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Right_value_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_right(intset, integer) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Right_set_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_right(intset, intset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Right_set_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_right(bigint, bigintset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Right_value_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_right(bigintset, bigint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Right_set_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_right(bigintset, bigintset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Right_set_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_right(float, floatset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Right_value_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_right(floatset, float) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Right_set_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_right(floatset, floatset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Right_set_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_right(text, textset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Right_value_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_right(textset, text) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Right_set_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_right(textset, textset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Right_set_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_right(date, dateset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Right_value_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_right(dateset, date) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Right_set_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_right(dateset, dateset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Right_set_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_right(timestamptz, tstzset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Right_value_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_right(tstzset, timestamptz) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Right_set_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_right(tstzset, tstzset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Right_set_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR >> ( + PROCEDURE = set_right, + LEFTARG = integer, RIGHTARG = intset, + COMMUTATOR = <<, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR >> ( + PROCEDURE = set_right, + LEFTARG = intset, RIGHTARG = integer, + COMMUTATOR = <<, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR >> ( + PROCEDURE = set_right, + LEFTARG = intset, RIGHTARG = intset, + COMMUTATOR = <<, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR >> ( + PROCEDURE = set_right, + LEFTARG = bigint, RIGHTARG = bigintset, + COMMUTATOR = <<, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR >> ( + PROCEDURE = set_right, + LEFTARG = bigintset, RIGHTARG = bigint, + COMMUTATOR = <<, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR >> ( + PROCEDURE = set_right, + LEFTARG = bigintset, RIGHTARG = bigintset, + COMMUTATOR = <<, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR >> ( + PROCEDURE = set_right, + LEFTARG = float, RIGHTARG = floatset, + COMMUTATOR = <<, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR >> ( + PROCEDURE = set_right, + LEFTARG = floatset, RIGHTARG = float, + COMMUTATOR = <<, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR >> ( + PROCEDURE = set_right, + LEFTARG = floatset, RIGHTARG = floatset, + COMMUTATOR = <<, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR >> ( + PROCEDURE = set_right, + LEFTARG = text, RIGHTARG = textset, + COMMUTATOR = << +); +CREATE OPERATOR >> ( + PROCEDURE = set_right, + LEFTARG = textset, RIGHTARG = text, + COMMUTATOR = << +); +CREATE OPERATOR >> ( + PROCEDURE = set_right, + LEFTARG = textset, RIGHTARG = textset, + COMMUTATOR = << +); +CREATE OPERATOR #>> ( + PROCEDURE = set_right, + LEFTARG = date, RIGHTARG = dateset, + COMMUTATOR = <<# +); +CREATE OPERATOR #>> ( + PROCEDURE = set_right, + LEFTARG = dateset, RIGHTARG = date, + COMMUTATOR = <<# +); +CREATE OPERATOR #>> ( + PROCEDURE = set_right, + LEFTARG = dateset, RIGHTARG = dateset, + COMMUTATOR = <<# +); +CREATE OPERATOR #>> ( + PROCEDURE = set_right, + LEFTARG = timestamptz, RIGHTARG = tstzset, + COMMUTATOR = <<#, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR #>> ( + PROCEDURE = set_right, + LEFTARG = tstzset, RIGHTARG = timestamptz, + COMMUTATOR = <<#, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR #>> ( + PROCEDURE = set_right, + LEFTARG = tstzset, RIGHTARG = tstzset, + COMMUTATOR = <<#, + RESTRICT = span_sel, JOIN = span_joinsel +); + +/******************************************************************************/ + +CREATE FUNCTION set_overleft(integer, intset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overleft_value_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_overleft(intset, integer) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overleft_set_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_overleft(intset, intset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overleft_set_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_overleft(bigint, bigintset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overleft_value_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_overleft(bigintset, bigint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overleft_set_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_overleft(bigintset, bigintset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overleft_set_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_overleft(float, floatset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overleft_value_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_overleft(floatset, float) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overleft_set_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_overleft(floatset, floatset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overleft_set_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_overleft(text, textset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overleft_value_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_overleft(textset, text) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overleft_set_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_overleft(textset, textset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overleft_set_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_overleft(date, dateset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overleft_value_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_overleft(dateset, date) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overleft_set_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_overleft(dateset, dateset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overleft_set_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_overleft(timestamptz, tstzset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overleft_value_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_overleft(tstzset, timestamptz) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overleft_set_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_overleft(tstzset, tstzset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overleft_set_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR &< ( + PROCEDURE = set_overleft, + LEFTARG = integer, RIGHTARG = intset, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR &< ( + PROCEDURE = set_overleft, + LEFTARG = intset, RIGHTARG = integer, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR &< ( + PROCEDURE = set_overleft, + LEFTARG = intset, RIGHTARG = intset, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR &< ( + PROCEDURE = set_overleft, + LEFTARG = bigint, RIGHTARG = bigintset, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR &< ( + PROCEDURE = set_overleft, + LEFTARG = bigintset, RIGHTARG = bigint, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR &< ( + PROCEDURE = set_overleft, + LEFTARG = bigintset, RIGHTARG = bigintset, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR &< ( + PROCEDURE = set_overleft, + LEFTARG = float, RIGHTARG = floatset, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR &< ( + PROCEDURE = set_overleft, + LEFTARG = floatset, RIGHTARG = float, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR &< ( + PROCEDURE = set_overleft, + LEFTARG = floatset, RIGHTARG = floatset, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR &< ( + PROCEDURE = set_overleft, + LEFTARG = text, RIGHTARG = textset +); +CREATE OPERATOR &< ( + PROCEDURE = set_overleft, + LEFTARG = textset, RIGHTARG = text +); +CREATE OPERATOR &< ( + PROCEDURE = set_overleft, + LEFTARG = textset, RIGHTARG = textset +); +CREATE OPERATOR &<# ( + PROCEDURE = set_overleft, + LEFTARG = date, RIGHTARG = dateset, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR &<# ( + PROCEDURE = set_overleft, + LEFTARG = dateset, RIGHTARG = date, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR &<# ( + PROCEDURE = set_overleft, + LEFTARG = dateset, RIGHTARG = dateset, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR &<# ( + PROCEDURE = set_overleft, + LEFTARG = timestamptz, RIGHTARG = tstzset, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR &<# ( + PROCEDURE = set_overleft, + LEFTARG = tstzset, RIGHTARG = timestamptz, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR &<# ( + PROCEDURE = set_overleft, + LEFTARG = tstzset, RIGHTARG = tstzset, + RESTRICT = span_sel, JOIN = span_joinsel +); + +/******************************************************************************/ + +CREATE FUNCTION set_overright(integer, intset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overright_value_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_overright(intset, integer) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overright_set_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_overright(intset, intset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overright_set_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_overright(bigint, bigintset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overright_value_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_overright(bigintset, bigint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overright_set_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_overright(bigintset, bigintset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overright_set_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_overright(float, floatset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overright_value_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_overright(floatset, float) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overright_set_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_overright(floatset, floatset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overright_set_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_overright(text, textset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overright_value_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_overright(textset, text) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overright_set_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_overright(textset, textset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overright_set_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_overright(date, dateset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overright_value_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_overright(dateset, date) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overright_set_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_overright(dateset, dateset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overright_set_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_overright(timestamptz, tstzset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overright_value_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_overright(tstzset, timestamptz) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overright_set_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_overright(tstzset, tstzset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overright_set_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR &> ( + PROCEDURE = set_overright, + LEFTARG = integer, RIGHTARG = intset, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR &> ( + PROCEDURE = set_overright, + LEFTARG = intset, RIGHTARG = integer, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR &> ( + PROCEDURE = set_overright, + LEFTARG = intset, RIGHTARG = intset, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR &> ( + PROCEDURE = set_overright, + LEFTARG = bigint, RIGHTARG = bigintset, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR &> ( + PROCEDURE = set_overright, + LEFTARG = bigintset, RIGHTARG = bigint, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR &> ( + PROCEDURE = set_overright, + LEFTARG = bigintset, RIGHTARG = bigintset, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR &> ( + PROCEDURE = set_overright, + LEFTARG = float, RIGHTARG = floatset, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR &> ( + PROCEDURE = set_overright, + LEFTARG = floatset, RIGHTARG = float, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR &> ( + PROCEDURE = set_overright, + LEFTARG = floatset, RIGHTARG = floatset, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR &> ( + PROCEDURE = set_overright, + LEFTARG = text, RIGHTARG = textset +); +CREATE OPERATOR &> ( + PROCEDURE = set_overright, + LEFTARG = textset, RIGHTARG = text +); +CREATE OPERATOR &> ( + PROCEDURE = set_overright, + LEFTARG = textset, RIGHTARG = textset +); +CREATE OPERATOR #&> ( + PROCEDURE = set_overright, + LEFTARG = date, RIGHTARG = dateset +); +CREATE OPERATOR #&> ( + PROCEDURE = set_overright, + LEFTARG = dateset, RIGHTARG = date +); +CREATE OPERATOR #&> ( + PROCEDURE = set_overright, + LEFTARG = dateset, RIGHTARG = dateset +); +CREATE OPERATOR #&> ( + PROCEDURE = set_overright, + LEFTARG = timestamptz, RIGHTARG = tstzset, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR #&> ( + PROCEDURE = set_overright, + LEFTARG = tstzset, RIGHTARG = timestamptz, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR #&> ( + PROCEDURE = set_overright, + LEFTARG = tstzset, RIGHTARG = tstzset, + RESTRICT = span_sel, JOIN = span_joinsel +); + +/*****************************************************************************/ + +CREATE FUNCTION set_union(integer, intset) + RETURNS intset + AS 'MODULE_PATHNAME', 'Union_value_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_union(intset, integer) + RETURNS intset + AS 'MODULE_PATHNAME', 'Union_set_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_union(intset, intset) + RETURNS intset + AS 'MODULE_PATHNAME', 'Union_set_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION set_union(bigint, bigintset) + RETURNS bigintset + AS 'MODULE_PATHNAME', 'Union_value_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_union(bigintset, bigint) + RETURNS bigintset + AS 'MODULE_PATHNAME', 'Union_set_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_union(bigintset, bigintset) + RETURNS bigintset + AS 'MODULE_PATHNAME', 'Union_set_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION set_union(float, floatset) + RETURNS floatset + AS 'MODULE_PATHNAME', 'Union_value_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_union(floatset, float) + RETURNS floatset + AS 'MODULE_PATHNAME', 'Union_set_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_union(floatset, floatset) + RETURNS floatset + AS 'MODULE_PATHNAME', 'Union_set_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION set_union(text, textset) + RETURNS textset + AS 'MODULE_PATHNAME', 'Union_value_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_union(textset, text) + RETURNS textset + AS 'MODULE_PATHNAME', 'Union_set_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_union(textset, textset) + RETURNS textset + AS 'MODULE_PATHNAME', 'Union_set_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION set_union(date, dateset) + RETURNS dateset + AS 'MODULE_PATHNAME', 'Union_value_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_union(dateset, date) + RETURNS dateset + AS 'MODULE_PATHNAME', 'Union_set_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_union(dateset, dateset) + RETURNS dateset + AS 'MODULE_PATHNAME', 'Union_set_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION set_union(timestamptz, tstzset) + RETURNS tstzset + AS 'MODULE_PATHNAME', 'Union_value_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_union(tstzset, timestamptz) + RETURNS tstzset + AS 'MODULE_PATHNAME', 'Union_set_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_union(tstzset, tstzset) + RETURNS tstzset + AS 'MODULE_PATHNAME', 'Union_set_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR + ( + PROCEDURE = set_union, + LEFTARG = integer, RIGHTARG = intset, + COMMUTATOR = + +); +CREATE OPERATOR + ( + PROCEDURE = set_union, + LEFTARG = intset, RIGHTARG = integer, + COMMUTATOR = + +); +CREATE OPERATOR + ( + PROCEDURE = set_union, + LEFTARG = intset, RIGHTARG = intset, + COMMUTATOR = + +); + +CREATE OPERATOR + ( + PROCEDURE = set_union, + LEFTARG = bigint, RIGHTARG = bigintset, + COMMUTATOR = + +); +CREATE OPERATOR + ( + PROCEDURE = set_union, + LEFTARG = bigintset, RIGHTARG = bigint, + COMMUTATOR = + +); +CREATE OPERATOR + ( + PROCEDURE = set_union, + LEFTARG = bigintset, RIGHTARG = bigintset, + COMMUTATOR = + +); + +CREATE OPERATOR + ( + PROCEDURE = set_union, + LEFTARG = float, RIGHTARG = floatset, + COMMUTATOR = + +); +CREATE OPERATOR + ( + PROCEDURE = set_union, + LEFTARG = floatset, RIGHTARG = float, + COMMUTATOR = + +); +CREATE OPERATOR + ( + PROCEDURE = set_union, + LEFTARG = floatset, RIGHTARG = floatset, + COMMUTATOR = + +); + +CREATE OPERATOR + ( + PROCEDURE = set_union, + LEFTARG = text, RIGHTARG = textset, + COMMUTATOR = + +); +CREATE OPERATOR + ( + PROCEDURE = set_union, + LEFTARG = textset, RIGHTARG = text, + COMMUTATOR = + +); +CREATE OPERATOR + ( + PROCEDURE = set_union, + LEFTARG = textset, RIGHTARG = textset, + COMMUTATOR = + +); + +CREATE OPERATOR + ( + PROCEDURE = set_union, + LEFTARG = date, RIGHTARG = dateset, + COMMUTATOR = + +); +CREATE OPERATOR + ( + PROCEDURE = set_union, + LEFTARG = dateset, RIGHTARG = date, + COMMUTATOR = + +); +CREATE OPERATOR + ( + PROCEDURE = set_union, + LEFTARG = dateset, RIGHTARG = dateset, + COMMUTATOR = + +); + +CREATE OPERATOR + ( + PROCEDURE = set_union, + LEFTARG = timestamptz, RIGHTARG = tstzset, + COMMUTATOR = + +); +CREATE OPERATOR + ( + PROCEDURE = set_union, + LEFTARG = tstzset, RIGHTARG = timestamptz, + COMMUTATOR = + +); +CREATE OPERATOR + ( + PROCEDURE = set_union, + LEFTARG = tstzset, RIGHTARG = tstzset, + COMMUTATOR = + +); + +/*****************************************************************************/ + +CREATE FUNCTION set_minus(integer, intset) + RETURNS intset + AS 'MODULE_PATHNAME', 'Minus_value_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_minus(intset, integer) + RETURNS intset + AS 'MODULE_PATHNAME', 'Minus_set_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_minus(intset, intset) + RETURNS intset + AS 'MODULE_PATHNAME', 'Minus_set_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION set_minus(bigint, bigintset) + RETURNS bigintset + AS 'MODULE_PATHNAME', 'Minus_value_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_minus(bigintset, bigint) + RETURNS bigintset + AS 'MODULE_PATHNAME', 'Minus_set_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_minus(bigintset, bigintset) + RETURNS bigintset + AS 'MODULE_PATHNAME', 'Minus_set_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION set_minus(float, floatset) + RETURNS floatset + AS 'MODULE_PATHNAME', 'Minus_value_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_minus(floatset, float) + RETURNS floatset + AS 'MODULE_PATHNAME', 'Minus_set_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_minus(floatset, floatset) + RETURNS floatset + AS 'MODULE_PATHNAME', 'Minus_set_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION set_minus(text, textset) + RETURNS textset + AS 'MODULE_PATHNAME', 'Minus_value_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_minus(textset, text) + RETURNS textset + AS 'MODULE_PATHNAME', 'Minus_set_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_minus(textset, textset) + RETURNS textset + AS 'MODULE_PATHNAME', 'Minus_set_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION set_minus(date, dateset) + RETURNS dateset + AS 'MODULE_PATHNAME', 'Minus_value_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_minus(dateset, date) + RETURNS dateset + AS 'MODULE_PATHNAME', 'Minus_set_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_minus(dateset, dateset) + RETURNS dateset + AS 'MODULE_PATHNAME', 'Minus_set_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION set_minus(timestamptz, tstzset) + RETURNS tstzset + AS 'MODULE_PATHNAME', 'Minus_value_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_minus(tstzset, timestamptz) + RETURNS tstzset + AS 'MODULE_PATHNAME', 'Minus_set_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_minus(tstzset, tstzset) + RETURNS tstzset + AS 'MODULE_PATHNAME', 'Minus_set_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR - ( + PROCEDURE = set_minus, + LEFTARG = integer, RIGHTARG = intset +); +CREATE OPERATOR - ( + PROCEDURE = set_minus, + LEFTARG = intset, RIGHTARG = integer +); +CREATE OPERATOR - ( + PROCEDURE = set_minus, + LEFTARG = intset, RIGHTARG = intset +); + +CREATE OPERATOR - ( + PROCEDURE = set_minus, + LEFTARG = bigint, RIGHTARG = bigintset +); +CREATE OPERATOR - ( + PROCEDURE = set_minus, + LEFTARG = bigintset, RIGHTARG = bigint +); +CREATE OPERATOR - ( + PROCEDURE = set_minus, + LEFTARG = bigintset, RIGHTARG = bigintset +); + +CREATE OPERATOR - ( + PROCEDURE = set_minus, + LEFTARG = float, RIGHTARG = floatset +); +CREATE OPERATOR - ( + PROCEDURE = set_minus, + LEFTARG = floatset, RIGHTARG = float +); +CREATE OPERATOR - ( + PROCEDURE = set_minus, + LEFTARG = floatset, RIGHTARG = floatset +); + +CREATE OPERATOR - ( + PROCEDURE = set_minus, + LEFTARG = text, RIGHTARG = textset +); +CREATE OPERATOR - ( + PROCEDURE = set_minus, + LEFTARG = textset, RIGHTARG = text +); +CREATE OPERATOR - ( + PROCEDURE = set_minus, + LEFTARG = textset, RIGHTARG = textset +); + +CREATE OPERATOR - ( + PROCEDURE = set_minus, + LEFTARG = date, RIGHTARG = dateset +); +CREATE OPERATOR - ( + PROCEDURE = set_minus, + LEFTARG = dateset, RIGHTARG = date +); +CREATE OPERATOR - ( + PROCEDURE = set_minus, + LEFTARG = dateset, RIGHTARG = dateset +); + +CREATE OPERATOR - ( + PROCEDURE = set_minus, + LEFTARG = timestamptz, RIGHTARG = tstzset +); +CREATE OPERATOR - ( + PROCEDURE = set_minus, + LEFTARG = tstzset, RIGHTARG = timestamptz +); +CREATE OPERATOR - ( + PROCEDURE = set_minus, + LEFTARG = tstzset, RIGHTARG = tstzset +); + +/*****************************************************************************/ + +CREATE FUNCTION set_intersection(integer, intset) + RETURNS intset + AS 'MODULE_PATHNAME', 'Intersection_value_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_intersection(intset, integer) + RETURNS intset + AS 'MODULE_PATHNAME', 'Intersection_set_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_intersection(intset, intset) + RETURNS intset + AS 'MODULE_PATHNAME', 'Intersection_set_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION set_intersection(bigint, bigintset) + RETURNS bigintset + AS 'MODULE_PATHNAME', 'Intersection_value_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_intersection(bigintset, bigint) + RETURNS bigintset + AS 'MODULE_PATHNAME', 'Intersection_set_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_intersection(bigintset, bigintset) + RETURNS bigintset + AS 'MODULE_PATHNAME', 'Intersection_set_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION set_intersection(float, floatset) + RETURNS floatset + AS 'MODULE_PATHNAME', 'Intersection_value_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_intersection(floatset, float) + RETURNS floatset + AS 'MODULE_PATHNAME', 'Intersection_set_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_intersection(floatset, floatset) + RETURNS floatset + AS 'MODULE_PATHNAME', 'Intersection_set_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION set_intersection(text, textset) + RETURNS textset + AS 'MODULE_PATHNAME', 'Intersection_value_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_intersection(textset, text) + RETURNS textset + AS 'MODULE_PATHNAME', 'Intersection_set_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_intersection(textset, textset) + RETURNS textset + AS 'MODULE_PATHNAME', 'Intersection_set_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION set_intersection(date, dateset) + RETURNS dateset + AS 'MODULE_PATHNAME', 'Intersection_value_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_intersection(dateset, date) + RETURNS dateset + AS 'MODULE_PATHNAME', 'Intersection_set_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_intersection(dateset, dateset) + RETURNS dateset + AS 'MODULE_PATHNAME', 'Intersection_set_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION set_intersection(timestamptz, tstzset) + RETURNS tstzset + AS 'MODULE_PATHNAME', 'Intersection_value_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_intersection(tstzset, timestamptz) + RETURNS tstzset + AS 'MODULE_PATHNAME', 'Intersection_set_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_intersection(tstzset, tstzset) + RETURNS tstzset + AS 'MODULE_PATHNAME', 'Intersection_set_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR * ( + PROCEDURE = set_intersection, + LEFTARG = integer, RIGHTARG = intset, + COMMUTATOR = * +); +CREATE OPERATOR * ( + PROCEDURE = set_intersection, + LEFTARG = intset, RIGHTARG = integer, + COMMUTATOR = * +); +CREATE OPERATOR * ( + PROCEDURE = set_intersection, + LEFTARG = intset, RIGHTARG = intset, + COMMUTATOR = * +); + +CREATE OPERATOR * ( + PROCEDURE = set_intersection, + LEFTARG = bigint, RIGHTARG = bigintset, + COMMUTATOR = * +); +CREATE OPERATOR * ( + PROCEDURE = set_intersection, + LEFTARG = bigintset, RIGHTARG = bigint, + COMMUTATOR = * +); +CREATE OPERATOR * ( + PROCEDURE = set_intersection, + LEFTARG = bigintset, RIGHTARG = bigintset, + COMMUTATOR = * +); + +CREATE OPERATOR * ( + PROCEDURE = set_intersection, + LEFTARG = float, RIGHTARG = floatset, + COMMUTATOR = * +); +CREATE OPERATOR * ( + PROCEDURE = set_intersection, + LEFTARG = floatset, RIGHTARG = float, + COMMUTATOR = * +); +CREATE OPERATOR * ( + PROCEDURE = set_intersection, + LEFTARG = floatset, RIGHTARG = floatset, + COMMUTATOR = * +); + +CREATE OPERATOR * ( + PROCEDURE = set_intersection, + LEFTARG = text, RIGHTARG = textset, + COMMUTATOR = * +); +CREATE OPERATOR * ( + PROCEDURE = set_intersection, + LEFTARG = textset, RIGHTARG = text, + COMMUTATOR = * +); +CREATE OPERATOR * ( + PROCEDURE = set_intersection, + LEFTARG = textset, RIGHTARG = textset, + COMMUTATOR = * +); + +CREATE OPERATOR * ( + PROCEDURE = set_intersection, + LEFTARG = date, RIGHTARG = dateset, + COMMUTATOR = * +); +CREATE OPERATOR * ( + PROCEDURE = set_intersection, + LEFTARG = dateset, RIGHTARG = date, + COMMUTATOR = * +); +CREATE OPERATOR * ( + PROCEDURE = set_intersection, + LEFTARG = dateset, RIGHTARG = dateset, + COMMUTATOR = * +); + +CREATE OPERATOR * ( + PROCEDURE = set_intersection, + LEFTARG = timestamptz, RIGHTARG = tstzset, + COMMUTATOR = * +); +CREATE OPERATOR * ( + PROCEDURE = set_intersection, + LEFTARG = tstzset, RIGHTARG = timestamptz, + COMMUTATOR = * +); +CREATE OPERATOR * ( + PROCEDURE = set_intersection, + LEFTARG = tstzset, RIGHTARG = tstzset, + COMMUTATOR = * +); + +/*****************************************************************************/ + +CREATE FUNCTION set_distance(integer, integer) + RETURNS integer + AS 'MODULE_PATHNAME', 'Distance_value_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_distance(integer, intset) + RETURNS integer + AS 'MODULE_PATHNAME', 'Distance_value_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_distance(intset, integer) + RETURNS integer + AS 'MODULE_PATHNAME', 'Distance_set_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_distance(intset, intset) + RETURNS integer + AS 'MODULE_PATHNAME', 'Distance_set_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION set_distance(bigint, bigint) + RETURNS bigint + AS 'MODULE_PATHNAME', 'Distance_value_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_distance(bigint, bigintset) + RETURNS bigint + AS 'MODULE_PATHNAME', 'Distance_value_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_distance(bigintset, bigint) + RETURNS bigint + AS 'MODULE_PATHNAME', 'Distance_set_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_distance(bigintset, bigintset) + RETURNS float + AS 'MODULE_PATHNAME', 'Distance_set_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION set_distance(float, float) + RETURNS float + AS 'MODULE_PATHNAME', 'Distance_value_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_distance(float, floatset) + RETURNS float + AS 'MODULE_PATHNAME', 'Distance_value_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_distance(floatset, float) + RETURNS float + AS 'MODULE_PATHNAME', 'Distance_set_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_distance(floatset, floatset) + RETURNS float + AS 'MODULE_PATHNAME', 'Distance_set_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION set_distance(date, date) + RETURNS integer + AS 'MODULE_PATHNAME', 'Distance_value_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_distance(date, dateset) + RETURNS integer + AS 'MODULE_PATHNAME', 'Distance_value_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_distance(dateset, date) + RETURNS integer + AS 'MODULE_PATHNAME', 'Distance_set_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_distance(dateset, dateset) + RETURNS integer + AS 'MODULE_PATHNAME', 'Distance_set_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION set_distance(timestamptz, timestamptz) + RETURNS float + AS 'MODULE_PATHNAME', 'Distance_value_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_distance(timestamptz, tstzset) + RETURNS float + AS 'MODULE_PATHNAME', 'Distance_value_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_distance(tstzset, timestamptz) + RETURNS float + AS 'MODULE_PATHNAME', 'Distance_set_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_distance(tstzset, tstzset) + RETURNS float + AS 'MODULE_PATHNAME', 'Distance_set_set' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR <-> ( + PROCEDURE = set_distance, + LEFTARG = integer, RIGHTARG = integer, + COMMUTATOR = <-> +); +CREATE OPERATOR <-> ( + PROCEDURE = set_distance, + LEFTARG = integer, RIGHTARG = intset, + COMMUTATOR = <-> +); +CREATE OPERATOR <-> ( + PROCEDURE = set_distance, + LEFTARG = intset, RIGHTARG = integer, + COMMUTATOR = <-> +); +CREATE OPERATOR <-> ( + PROCEDURE = set_distance, + LEFTARG = intset, RIGHTARG = intset, + COMMUTATOR = <-> +); + +CREATE OPERATOR <-> ( + PROCEDURE = set_distance, + LEFTARG = bigint, RIGHTARG = bigint, + COMMUTATOR = <-> +); +CREATE OPERATOR <-> ( + PROCEDURE = set_distance, + LEFTARG = bigint, RIGHTARG = bigintset, + COMMUTATOR = <-> +); +CREATE OPERATOR <-> ( + PROCEDURE = set_distance, + LEFTARG = bigintset, RIGHTARG = bigint, + COMMUTATOR = <-> +); +CREATE OPERATOR <-> ( + PROCEDURE = set_distance, + LEFTARG = bigintset, RIGHTARG = bigintset, + COMMUTATOR = <-> +); + +CREATE OPERATOR <-> ( + PROCEDURE = set_distance, + LEFTARG = float, RIGHTARG = float, + COMMUTATOR = <-> +); +CREATE OPERATOR <-> ( + PROCEDURE = set_distance, + LEFTARG = float, RIGHTARG = floatset, + COMMUTATOR = <-> +); +CREATE OPERATOR <-> ( + PROCEDURE = set_distance, + LEFTARG = floatset, RIGHTARG = float, + COMMUTATOR = <-> +); +CREATE OPERATOR <-> ( + PROCEDURE = set_distance, + LEFTARG = floatset, RIGHTARG = floatset, + COMMUTATOR = <-> +); + +CREATE OPERATOR <-> ( + PROCEDURE = set_distance, + LEFTARG = date, RIGHTARG = date, + COMMUTATOR = <-> +); +CREATE OPERATOR <-> ( + PROCEDURE = set_distance, + LEFTARG = date, RIGHTARG = dateset, + COMMUTATOR = <-> +); +CREATE OPERATOR <-> ( + PROCEDURE = set_distance, + LEFTARG = dateset, RIGHTARG = date, + COMMUTATOR = <-> +); +CREATE OPERATOR <-> ( + PROCEDURE = set_distance, + LEFTARG = dateset, RIGHTARG = dateset, + COMMUTATOR = <-> +); + +CREATE OPERATOR <-> ( + PROCEDURE = set_distance, + LEFTARG = timestamptz, RIGHTARG = timestamptz, + COMMUTATOR = <-> +); +CREATE OPERATOR <-> ( + PROCEDURE = set_distance, + LEFTARG = timestamptz, RIGHTARG = tstzset, + COMMUTATOR = <-> +); +CREATE OPERATOR <-> ( + PROCEDURE = set_distance, + LEFTARG = tstzset, RIGHTARG = timestamptz, + COMMUTATOR = <-> +); +CREATE OPERATOR <-> ( + PROCEDURE = set_distance, + LEFTARG = tstzset, RIGHTARG = tstzset, + COMMUTATOR = <-> +); + +/*****************************************************************************/ diff --git a/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/temporal/003_span.in.sql b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/temporal/003_span.in.sql new file mode 100644 index 00000000..93388833 --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/temporal/003_span.in.sql @@ -0,0 +1,1233 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @file + * @brief SQL definitions for spans of values, which are fixed-size version of + * PostgreSQL ranges + */ + +CREATE TYPE intspan; +CREATE TYPE bigintspan; +CREATE TYPE floatspan; +CREATE TYPE datespan; +CREATE TYPE tstzspan; + +/* Forward reference of the types needed for the result of set operations */ +CREATE TYPE intspanset; +CREATE TYPE bigintspanset; +CREATE TYPE floatspanset; +CREATE TYPE datespanset; +CREATE TYPE tstzspanset; + +CREATE FUNCTION intspan_in(cstring) + RETURNS intspan + AS 'MODULE_PATHNAME', 'Span_in' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION intspan_out(intspan) + RETURNS cstring + AS 'MODULE_PATHNAME', 'Span_out' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION intspan_recv(internal) + RETURNS intspan + AS 'MODULE_PATHNAME', 'Span_recv' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION intspan_send(intspan) + RETURNS bytea + AS 'MODULE_PATHNAME', 'Span_send' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION bigintspan_in(cstring) + RETURNS bigintspan + AS 'MODULE_PATHNAME', 'Span_in' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION bigintspan_out(bigintspan) + RETURNS cstring + AS 'MODULE_PATHNAME', 'Span_out' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION bigintspan_recv(internal) + RETURNS bigintspan + AS 'MODULE_PATHNAME', 'Span_recv' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION bigintspan_send(bigintspan) + RETURNS bytea + AS 'MODULE_PATHNAME', 'Span_send' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION floatspan_in(cstring) + RETURNS floatspan + AS 'MODULE_PATHNAME', 'Span_in' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION floatspan_out(floatspan) + RETURNS cstring + AS 'MODULE_PATHNAME', 'Span_out' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION floatspan_recv(internal) + RETURNS floatspan + AS 'MODULE_PATHNAME', 'Span_recv' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION floatspan_send(floatspan) + RETURNS bytea + AS 'MODULE_PATHNAME', 'Span_send' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION datespan_in(cstring) + RETURNS datespan + AS 'MODULE_PATHNAME', 'Span_in' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION datespan_out(datespan) + RETURNS cstring + AS 'MODULE_PATHNAME', 'Span_out' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION datespan_recv(internal) + RETURNS datespan + AS 'MODULE_PATHNAME', 'Span_recv' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION datespan_send(datespan) + RETURNS bytea + AS 'MODULE_PATHNAME', 'Span_send' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION tstzspan_in(cstring) + RETURNS tstzspan + AS 'MODULE_PATHNAME', 'Span_in' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tstzspan_out(tstzspan) + RETURNS cstring + AS 'MODULE_PATHNAME', 'Span_out' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tstzspan_recv(internal) + RETURNS tstzspan + AS 'MODULE_PATHNAME', 'Span_recv' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tstzspan_send(tstzspan) + RETURNS bytea + AS 'MODULE_PATHNAME', 'Span_send' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/* The span_analyze function is defined in file 001_set.in.sql */ + +CREATE TYPE intspan ( + internallength = 24, + input = intspan_in, + output = intspan_out, + receive = intspan_recv, + send = intspan_send, + alignment = double, + analyze = span_analyze +); + +CREATE TYPE bigintspan ( + internallength = 24, + input = bigintspan_in, + output = bigintspan_out, + receive = bigintspan_recv, + send = bigintspan_send, + alignment = double, + analyze = span_analyze +); + +CREATE TYPE floatspan ( + internallength = 24, + input = floatspan_in, + output = floatspan_out, + receive = floatspan_recv, + send = floatspan_send, + alignment = double, + analyze = span_analyze +); + +CREATE TYPE datespan ( + internallength = 24, + input = datespan_in, + output = datespan_out, + receive = datespan_recv, + send = datespan_send, + alignment = double, + analyze = span_analyze +); + +CREATE TYPE tstzspan ( + internallength = 24, + input = tstzspan_in, + output = tstzspan_out, + receive = tstzspan_recv, + send = tstzspan_send, + alignment = double, + analyze = span_analyze +); + +/******************************************************************************/ + +-- Input/output in WKT, WKB and HexWKB representation + +CREATE FUNCTION intspanFromBinary(bytea) + RETURNS intspan + AS 'MODULE_PATHNAME', 'Span_from_wkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION bigintspanFromBinary(bytea) + RETURNS bigintspan + AS 'MODULE_PATHNAME', 'Span_from_wkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION floatspanFromBinary(bytea) + RETURNS floatspan + AS 'MODULE_PATHNAME', 'Span_from_wkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tstzspanFromBinary(bytea) + RETURNS tstzspan + AS 'MODULE_PATHNAME', 'Span_from_wkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION datespanFromBinary(bytea) + RETURNS datespan + AS 'MODULE_PATHNAME', 'Span_from_wkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION intspanFromHexWKB(text) + RETURNS intspan + AS 'MODULE_PATHNAME', 'Span_from_hexwkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION bigintspanFromHexWKB(text) + RETURNS bigintspan + AS 'MODULE_PATHNAME', 'Span_from_hexwkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION floatspanFromHexWKB(text) + RETURNS floatspan + AS 'MODULE_PATHNAME', 'Span_from_hexwkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tstzspanFromHexWKB(text) + RETURNS tstzspan + AS 'MODULE_PATHNAME', 'Span_from_hexwkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION datespanFromHexWKB(text) + RETURNS datespan + AS 'MODULE_PATHNAME', 'Span_from_hexwkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION asText(intspan) + RETURNS text + AS 'MODULE_PATHNAME', 'Span_as_text' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION asText(bigintspan) + RETURNS text + AS 'MODULE_PATHNAME', 'Span_as_text' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION asText(floatspan, maxdecimaldigits int4 DEFAULT 15) + RETURNS text + AS 'MODULE_PATHNAME', 'Span_as_text' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION asText(datespan) + RETURNS text + AS 'MODULE_PATHNAME', 'Span_as_text' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION asText(tstzspan) + RETURNS text + AS 'MODULE_PATHNAME', 'Span_as_text' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION asBinary(intspan, endianenconding text DEFAULT '') + RETURNS bytea + AS 'MODULE_PATHNAME', 'Span_as_wkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION asBinary(bigintspan, endianenconding text DEFAULT '') + RETURNS bytea + AS 'MODULE_PATHNAME', 'Span_as_wkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION asBinary(floatspan, endianenconding text DEFAULT '') + RETURNS bytea + AS 'MODULE_PATHNAME', 'Span_as_wkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION asBinary(datespan, endianenconding text DEFAULT '') + RETURNS bytea + AS 'MODULE_PATHNAME', 'Span_as_wkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION asBinary(tstzspan, endianenconding text DEFAULT '') + RETURNS bytea + AS 'MODULE_PATHNAME', 'Span_as_wkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION asHexWKB(intspan, endianenconding text DEFAULT '') + RETURNS text + AS 'MODULE_PATHNAME', 'Span_as_hexwkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION asHexWKB(bigintspan, endianenconding text DEFAULT '') + RETURNS text + AS 'MODULE_PATHNAME', 'Span_as_hexwkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION asHexWKB(floatspan, endianenconding text DEFAULT '') + RETURNS text + AS 'MODULE_PATHNAME', 'Span_as_hexwkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION asHexWKB(datespan, endianenconding text DEFAULT '') + RETURNS text + AS 'MODULE_PATHNAME', 'Span_as_hexwkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION asHexWKB(tstzspan, endianenconding text DEFAULT '') + RETURNS text + AS 'MODULE_PATHNAME', 'Span_as_hexwkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/****************************************************************************** + * Constructor functions + ******************************************************************************/ + +CREATE FUNCTION span(integer, integer, boolean DEFAULT true, boolean DEFAULT false) + RETURNS intspan + AS 'MODULE_PATHNAME', 'Span_constructor' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span(bigint, bigint, boolean DEFAULT true, boolean DEFAULT false) + RETURNS bigintspan + AS 'MODULE_PATHNAME', 'Span_constructor' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span(float, float, boolean DEFAULT true, boolean DEFAULT false) + RETURNS floatspan + AS 'MODULE_PATHNAME', 'Span_constructor' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span(date, date, boolean DEFAULT true, boolean DEFAULT false) + RETURNS datespan + AS 'MODULE_PATHNAME', 'Span_constructor' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span(timestamptz, timestamptz, boolean DEFAULT true, boolean DEFAULT false) + RETURNS tstzspan + AS 'MODULE_PATHNAME', 'Span_constructor' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/****************************************************************************** + * Conversion functions + ******************************************************************************/ + +CREATE FUNCTION span(integer) + RETURNS intspan + AS 'MODULE_PATHNAME', 'Value_to_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span(bigint) + RETURNS bigintspan + AS 'MODULE_PATHNAME', 'Value_to_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span(float) + RETURNS floatspan + AS 'MODULE_PATHNAME', 'Value_to_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span(date) + RETURNS datespan + AS 'MODULE_PATHNAME', 'Value_to_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span(timestamptz) + RETURNS tstzspan + AS 'MODULE_PATHNAME', 'Value_to_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE CAST (integer AS intspan) WITH FUNCTION span(integer); +CREATE CAST (bigint AS bigintspan) WITH FUNCTION span(bigint); +CREATE CAST (float AS floatspan) WITH FUNCTION span(float); +CREATE CAST (date AS datespan) WITH FUNCTION span(date); +CREATE CAST (timestamptz AS tstzspan) WITH FUNCTION span(timestamptz); + +CREATE FUNCTION span(intset) + RETURNS intspan + AS 'MODULE_PATHNAME', 'Set_to_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span(bigintset) + RETURNS bigintspan + AS 'MODULE_PATHNAME', 'Set_to_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span(floatset) + RETURNS floatspan + AS 'MODULE_PATHNAME', 'Set_to_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span(dateset) + RETURNS datespan + AS 'MODULE_PATHNAME', 'Set_to_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span(tstzset) + RETURNS tstzspan + AS 'MODULE_PATHNAME', 'Set_to_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE CAST (intset AS intspan) WITH FUNCTION span(intset); +CREATE CAST (bigintset AS bigintspan) WITH FUNCTION span(bigintset); +CREATE CAST (floatset AS floatspan) WITH FUNCTION span(floatset); +CREATE CAST (dateset AS datespan) WITH FUNCTION span(dateset); +CREATE CAST (tstzset AS tstzspan) WITH FUNCTION span(tstzset); + +CREATE FUNCTION spans(intset) + RETURNS intspan[] + AS 'MODULE_PATHNAME', 'Set_spans' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION spans(bigintset) + RETURNS bigintspan[] + AS 'MODULE_PATHNAME', 'Set_spans' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION spans(floatset) + RETURNS floatspan[] + AS 'MODULE_PATHNAME', 'Set_spans' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION spans(dateset) + RETURNS datespan[] + AS 'MODULE_PATHNAME', 'Set_spans' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION spans(tstzset) + RETURNS tstzspan[] + AS 'MODULE_PATHNAME', 'Set_spans' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION splitNSpans(intset, integer) + RETURNS intspan[] + AS 'MODULE_PATHNAME', 'Set_split_n_spans' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION splitNSpans(bigintset, integer) + RETURNS bigintspan[] + AS 'MODULE_PATHNAME', 'Set_split_n_spans' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION splitNSpans(floatset, integer) + RETURNS floatspan[] + AS 'MODULE_PATHNAME', 'Set_split_n_spans' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION splitNSpans(dateset, integer) + RETURNS datespan[] + AS 'MODULE_PATHNAME', 'Set_split_n_spans' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION splitNSpans(tstzset, integer) + RETURNS tstzspan[] + AS 'MODULE_PATHNAME', 'Set_split_n_spans' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION splitEachNSpans(intset, integer) + RETURNS intspan[] + AS 'MODULE_PATHNAME', 'Set_split_each_n_spans' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION splitEachNSpans(bigintset, integer) + RETURNS bigintspan[] + AS 'MODULE_PATHNAME', 'Set_split_each_n_spans' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION splitEachNSpans(floatset, integer) + RETURNS floatspan[] + AS 'MODULE_PATHNAME', 'Set_split_each_n_spans' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION splitEachNSpans(dateset, integer) + RETURNS datespan[] + AS 'MODULE_PATHNAME', 'Set_split_each_n_spans' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION splitEachNSpans(tstzset, integer) + RETURNS tstzspan[] + AS 'MODULE_PATHNAME', 'Set_split_each_n_spans' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION intspan(floatspan) + RETURNS intspan + AS 'MODULE_PATHNAME', 'Floatspan_to_intspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION floatspan(intspan) + RETURNS floatspan + AS 'MODULE_PATHNAME', 'Intspan_to_floatspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE CAST (intspan AS floatspan) WITH FUNCTION floatspan(intspan); +CREATE CAST (floatspan AS intspan) WITH FUNCTION intspan(floatspan); + +CREATE FUNCTION datespan(tstzspan) + RETURNS datespan + AS 'MODULE_PATHNAME', 'Tstzspan_to_datespan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tstzspan(datespan) + RETURNS tstzspan + AS 'MODULE_PATHNAME', 'Datespan_to_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE CAST (datespan AS tstzspan) WITH FUNCTION tstzspan(datespan); +CREATE CAST (tstzspan AS datespan) WITH FUNCTION datespan(tstzspan); + +CREATE FUNCTION span(int4range) + RETURNS intspan + AS 'MODULE_PATHNAME', 'Range_to_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span(int8range) + RETURNS bigintspan + AS 'MODULE_PATHNAME', 'Range_to_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span(daterange) + RETURNS datespan + AS 'MODULE_PATHNAME', 'Range_to_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span(tstzrange) + RETURNS tstzspan + AS 'MODULE_PATHNAME', 'Range_to_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION range(intspan) + RETURNS int4range + AS 'MODULE_PATHNAME', 'Span_to_range' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION range(bigintspan) + RETURNS int8range + AS 'MODULE_PATHNAME', 'Span_to_range' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION range(datespan) + RETURNS daterange + AS 'MODULE_PATHNAME', 'Span_to_range' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION range(tstzspan) + RETURNS tstzrange + AS 'MODULE_PATHNAME', 'Span_to_range' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE CAST (int4range AS intspan) WITH FUNCTION span(int4range); +CREATE CAST (int8range AS bigintspan) WITH FUNCTION span(int8range); +CREATE CAST (daterange AS datespan) WITH FUNCTION span(daterange); +CREATE CAST (tstzrange AS tstzspan) WITH FUNCTION span(tstzrange); +CREATE CAST (intspan AS int4range) WITH FUNCTION range(intspan); +CREATE CAST (bigintspan AS int8range) WITH FUNCTION range(bigintspan); +CREATE CAST (datespan AS daterange) WITH FUNCTION range(datespan); +CREATE CAST (tstzspan AS tstzrange) WITH FUNCTION range(tstzspan); + +/****************************************************************************** + * Accessor functions + ******************************************************************************/ + +CREATE FUNCTION lower(intspan) + RETURNS integer + AS 'MODULE_PATHNAME', 'Span_lower' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION lower(bigintspan) + RETURNS bigint + AS 'MODULE_PATHNAME', 'Span_lower' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION lower(floatspan) + RETURNS float + AS 'MODULE_PATHNAME', 'Span_lower' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION lower(datespan) + RETURNS date + AS 'MODULE_PATHNAME', 'Span_lower' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION lower(tstzspan) + RETURNS timestamptz + AS 'MODULE_PATHNAME', 'Span_lower' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION upper(intspan) + RETURNS integer + AS 'MODULE_PATHNAME', 'Span_upper' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION upper(bigintspan) + RETURNS bigint + AS 'MODULE_PATHNAME', 'Span_upper' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION upper(floatspan) + RETURNS float + AS 'MODULE_PATHNAME', 'Span_upper' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION upper(datespan) + RETURNS date + AS 'MODULE_PATHNAME', 'Span_upper' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION upper(tstzspan) + RETURNS timestamptz + AS 'MODULE_PATHNAME', 'Span_upper' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION lowerInc(intspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Span_lower_inc' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION lowerInc(bigintspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Span_lower_inc' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION lowerInc(floatspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Span_lower_inc' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION lowerInc(datespan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Span_lower_inc' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION lowerInc(tstzspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Span_lower_inc' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION upperInc(intspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Span_upper_inc' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION upperInc(bigintspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Span_upper_inc' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION upperInc(floatspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Span_upper_inc' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION upperInc(datespan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Span_upper_inc' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION upperInc(tstzspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Span_upper_inc' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION width(intspan) + RETURNS int + AS 'MODULE_PATHNAME', 'Numspan_width' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION width(bigintspan) + RETURNS bigint + AS 'MODULE_PATHNAME', 'Numspan_width' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION width(floatspan) + RETURNS float + AS 'MODULE_PATHNAME', 'Numspan_width' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION duration(datespan) + RETURNS interval + AS 'MODULE_PATHNAME', 'Datespan_duration' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION duration(tstzspan) + RETURNS interval + AS 'MODULE_PATHNAME', 'Tstzspan_duration' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/***************************************************************************** + * Transformation functions + *****************************************************************************/ + +CREATE FUNCTION expand(intspan, integer) + RETURNS intspan + AS 'MODULE_PATHNAME', 'Numspan_expand' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION expand(bigintspan, bigint) + RETURNS bigintspan + AS 'MODULE_PATHNAME', 'Numspan_shift' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION expand(floatspan, float) + RETURNS floatspan + AS 'MODULE_PATHNAME', 'Numspan_expand' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION expand(datespan, integer) + RETURNS datespan + AS 'MODULE_PATHNAME', 'Numspan_expand' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION expand(tstzspan, interval) + RETURNS tstzspan + AS 'MODULE_PATHNAME', 'Tstzspan_expand' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION shift(timestamptz, interval) + RETURNS timestamptz + AS 'MODULE_PATHNAME', 'Timestamptz_shift' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION shift(intspan, integer) + RETURNS intspan + AS 'MODULE_PATHNAME', 'Numspan_shift' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION shift(bigintspan, bigint) + RETURNS bigintspan + AS 'MODULE_PATHNAME', 'Numspan_shift' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION shift(floatspan, float) + RETURNS floatspan + AS 'MODULE_PATHNAME', 'Numspan_shift' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION shift(datespan, integer) + RETURNS datespan + AS 'MODULE_PATHNAME', 'Numspan_shift' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION shift(tstzspan, interval) + RETURNS tstzspan + AS 'MODULE_PATHNAME', 'Tstzspan_shift' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION scale(intspan, integer) + RETURNS intspan + AS 'MODULE_PATHNAME', 'Numspan_scale' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION scale(bigintspan, bigint) + RETURNS bigintspan + AS 'MODULE_PATHNAME', 'Numspan_scale' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION scale(floatspan, float) + RETURNS floatspan + AS 'MODULE_PATHNAME', 'Numspan_scale' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION scale(datespan, integer) + RETURNS datespan + AS 'MODULE_PATHNAME', 'Numspan_scale' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION scale(tstzspan, interval) + RETURNS tstzspan + AS 'MODULE_PATHNAME', 'Tstzspan_scale' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION shiftScale(intspan, integer, integer) + RETURNS intspan + AS 'MODULE_PATHNAME', 'Numspan_shift_scale' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION shiftScale(bigintspan, bigint, bigint) + RETURNS bigintspan + AS 'MODULE_PATHNAME', 'Numspan_shift_scale' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION shiftScale(floatspan, float, float) + RETURNS floatspan + AS 'MODULE_PATHNAME', 'Numspan_shift_scale' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION shiftScale(datespan, integer, integer) + RETURNS datespan + AS 'MODULE_PATHNAME', 'Numspan_shift_scale' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION shiftScale(tstzspan, interval, interval) + RETURNS tstzspan + AS 'MODULE_PATHNAME', 'Tstzspan_shift_scale' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION floor(floatspan) + RETURNS floatspan + AS 'MODULE_PATHNAME', 'Floatspan_floor' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION ceil(floatspan) + RETURNS floatspan + AS 'MODULE_PATHNAME', 'Floatspan_ceil' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION round(float, integer DEFAULT 0) + RETURNS float + AS 'MODULE_PATHNAME', 'Float_round' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION round(floatspan, integer DEFAULT 0) + RETURNS floatspan + AS 'MODULE_PATHNAME', 'Floatspan_round' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION degrees(floatspan, bool DEFAULT FALSE) + RETURNS floatspan + AS 'MODULE_PATHNAME', 'Floatspan_degrees' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION radians(floatspan) + RETURNS floatspan + AS 'MODULE_PATHNAME', 'Floatspan_radians' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/***************************************************************************** + * Selectivity functions + *****************************************************************************/ + +-- Functions span_sel and span_joinsel are defined in the file defining the +-- set type + +-- Functions for debugging the selectivity code + +-- Given a table, column, and span returns the estimate of what proportion +-- of the table would be returned by a query using the given operator. +CREATE FUNCTION _mobdb_span_sel(tbl regclass, col text, oper regoper, + i intspan) + RETURNS float + AS 'MODULE_PATHNAME' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION _mobdb_span_sel(tbl regclass, col text, oper regoper, + b bigintspan) + RETURNS float + AS 'MODULE_PATHNAME' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION _mobdb_span_sel(tbl regclass, col text, oper regoper, + f floatspan) + RETURNS float + AS 'MODULE_PATHNAME' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION _mobdb_span_sel(tbl regclass, col text, oper regoper, + p datespan) + RETURNS float + AS 'MODULE_PATHNAME' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION _mobdb_span_sel(tbl regclass, col text, oper regoper, + p tstzspan) + RETURNS float + AS 'MODULE_PATHNAME' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +-- Given two tables and columns, returns estimate of the proportion of rows a +-- given join operator will return relative to the number of rows an +-- unconstrained table join would return +CREATE OR REPLACE FUNCTION _mobdb_span_joinsel(tbl1 regclass, col1 text, + tbl2 regclass, col2 text, oper regoper) + RETURNS float + AS 'MODULE_PATHNAME' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/****************************************************************************** + * Comparison operators + ******************************************************************************/ + +CREATE FUNCTION span_eq(intspan, intspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Span_eq' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_eq(bigintspan, bigintspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Span_eq' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_eq(floatspan, floatspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Span_eq' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_eq(datespan, datespan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Span_eq' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_eq(tstzspan, tstzspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Span_eq' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION span_ne(intspan, intspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Span_ne' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_ne(bigintspan, bigintspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Span_ne' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_ne(floatspan, floatspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Span_ne' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_ne(datespan, datespan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Span_ne' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_ne(tstzspan, tstzspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Span_ne' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION span_lt(intspan, intspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Span_lt' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_lt(bigintspan, bigintspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Span_lt' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_lt(floatspan, floatspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Span_lt' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_lt(datespan, datespan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Span_lt' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_lt(tstzspan, tstzspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Span_lt' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION span_le(intspan, intspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Span_le' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_le(bigintspan, bigintspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Span_le' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_le(floatspan, floatspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Span_le' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_le(datespan, datespan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Span_le' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_le(tstzspan, tstzspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Span_le' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION span_ge(intspan, intspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Span_ge' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_ge(bigintspan, bigintspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Span_ge' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_ge(floatspan, floatspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Span_ge' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_ge(datespan, datespan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Span_ge' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_ge(tstzspan, tstzspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Span_ge' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION span_gt(intspan, intspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Span_gt' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_gt(bigintspan, bigintspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Span_gt' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_gt(floatspan, floatspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Span_gt' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_gt(datespan, datespan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Span_gt' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_gt(tstzspan, tstzspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Span_gt' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION span_cmp(intspan, intspan) + RETURNS int4 + AS 'MODULE_PATHNAME', 'Span_cmp' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_cmp(bigintspan, bigintspan) + RETURNS int4 + AS 'MODULE_PATHNAME', 'Span_cmp' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_cmp(floatspan, floatspan) + RETURNS int4 + AS 'MODULE_PATHNAME', 'Span_cmp' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_cmp(datespan, datespan) + RETURNS int4 + AS 'MODULE_PATHNAME', 'Span_cmp' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_cmp(tstzspan, tstzspan) + RETURNS int4 + AS 'MODULE_PATHNAME', 'Span_cmp' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR = ( + PROCEDURE = span_eq, + LEFTARG = intspan, RIGHTARG = intspan, + COMMUTATOR = =, NEGATOR = <>, + RESTRICT = eqsel, JOIN = eqjoinsel +); +CREATE OPERATOR = ( + PROCEDURE = span_eq, + LEFTARG = bigintspan, RIGHTARG = bigintspan, + COMMUTATOR = =, NEGATOR = <>, + RESTRICT = eqsel, JOIN = eqjoinsel +); +CREATE OPERATOR = ( + PROCEDURE = span_eq, + LEFTARG = floatspan, RIGHTARG = floatspan, + COMMUTATOR = =, NEGATOR = <>, + RESTRICT = eqsel, JOIN = eqjoinsel +); +CREATE OPERATOR = ( + PROCEDURE = span_eq, + LEFTARG = datespan, RIGHTARG = datespan, + COMMUTATOR = =, NEGATOR = <>, + RESTRICT = eqsel, JOIN = eqjoinsel +); +CREATE OPERATOR = ( + PROCEDURE = span_eq, + LEFTARG = tstzspan, RIGHTARG = tstzspan, + COMMUTATOR = =, NEGATOR = <>, + RESTRICT = eqsel, JOIN = eqjoinsel +); + +CREATE OPERATOR <> ( + PROCEDURE = span_ne, + LEFTARG = intspan, RIGHTARG = intspan, + COMMUTATOR = <>, NEGATOR = =, + RESTRICT = neqsel, JOIN = neqjoinsel +); +CREATE OPERATOR <> ( + PROCEDURE = span_ne, + LEFTARG = bigintspan, RIGHTARG = bigintspan, + COMMUTATOR = <>, NEGATOR = =, + RESTRICT = neqsel, JOIN = neqjoinsel +); +CREATE OPERATOR <> ( + PROCEDURE = span_ne, + LEFTARG = floatspan, RIGHTARG = floatspan, + COMMUTATOR = <>, NEGATOR = =, + RESTRICT = neqsel, JOIN = neqjoinsel +); +CREATE OPERATOR <> ( + PROCEDURE = span_ne, + LEFTARG = datespan, RIGHTARG = datespan, + COMMUTATOR = <>, NEGATOR = =, + RESTRICT = neqsel, JOIN = neqjoinsel +); +CREATE OPERATOR <> ( + PROCEDURE = span_ne, + LEFTARG = tstzspan, RIGHTARG = tstzspan, + COMMUTATOR = <>, NEGATOR = =, + RESTRICT = neqsel, JOIN = neqjoinsel +); + +CREATE OPERATOR < ( + PROCEDURE = span_lt, + LEFTARG = intspan, RIGHTARG = intspan, + COMMUTATOR = >, NEGATOR = >=, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR < ( + PROCEDURE = span_lt, + LEFTARG = bigintspan, RIGHTARG = bigintspan, + COMMUTATOR = >, NEGATOR = >=, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR < ( + PROCEDURE = span_lt, + LEFTARG = floatspan, RIGHTARG = floatspan, + COMMUTATOR = >, NEGATOR = >=, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR < ( + PROCEDURE = span_lt, + LEFTARG = datespan, RIGHTARG = datespan, + COMMUTATOR = >, NEGATOR = >=, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR < ( + PROCEDURE = span_lt, + LEFTARG = tstzspan, RIGHTARG = tstzspan, + COMMUTATOR = >, NEGATOR = >=, + RESTRICT = span_sel, JOIN = span_joinsel +); + +CREATE OPERATOR <= ( + PROCEDURE = span_le, + LEFTARG = intspan, RIGHTARG = intspan, + COMMUTATOR = >=, NEGATOR = >, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR <= ( + PROCEDURE = span_le, + LEFTARG = bigintspan, RIGHTARG = bigintspan, + COMMUTATOR = >=, NEGATOR = >, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR <= ( + PROCEDURE = span_le, + LEFTARG = floatspan, RIGHTARG = floatspan, + COMMUTATOR = >=, NEGATOR = >, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR <= ( + PROCEDURE = span_le, + LEFTARG = datespan, RIGHTARG = datespan, + COMMUTATOR = >=, NEGATOR = >, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR <= ( + PROCEDURE = span_le, + LEFTARG = tstzspan, RIGHTARG = tstzspan, + COMMUTATOR = >=, NEGATOR = >, + RESTRICT = span_sel, JOIN = span_joinsel +); + +CREATE OPERATOR >= ( + PROCEDURE = span_ge, + LEFTARG = intspan, RIGHTARG = intspan, + COMMUTATOR = <=, NEGATOR = <, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR >= ( + PROCEDURE = span_ge, + LEFTARG = bigintspan, RIGHTARG = bigintspan, + COMMUTATOR = <=, NEGATOR = <, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR >= ( + PROCEDURE = span_ge, + LEFTARG = floatspan, RIGHTARG = floatspan, + COMMUTATOR = <=, NEGATOR = <, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR >= ( + PROCEDURE = span_ge, + LEFTARG = datespan, RIGHTARG = datespan, + COMMUTATOR = <=, NEGATOR = <, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR >= ( + PROCEDURE = span_ge, + LEFTARG = tstzspan, RIGHTARG = tstzspan, + COMMUTATOR = <=, NEGATOR = <, + RESTRICT = span_sel, JOIN = span_joinsel +); + +CREATE OPERATOR > ( + PROCEDURE = span_gt, + LEFTARG = intspan, RIGHTARG = intspan, + COMMUTATOR = <, NEGATOR = <=, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR > ( + PROCEDURE = span_gt, + LEFTARG = bigintspan, RIGHTARG = bigintspan, + COMMUTATOR = <, NEGATOR = <=, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR > ( + PROCEDURE = span_gt, + LEFTARG = floatspan, RIGHTARG = floatspan, + COMMUTATOR = <, NEGATOR = <=, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR > ( + PROCEDURE = span_gt, + LEFTARG = datespan, RIGHTARG = datespan, + COMMUTATOR = <, NEGATOR = <=, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR > ( + PROCEDURE = span_gt, + LEFTARG = tstzspan, RIGHTARG = tstzspan, + COMMUTATOR = <, NEGATOR = <=, + RESTRICT = span_sel, JOIN = span_joinsel +); + +CREATE OPERATOR CLASS intspan_btree_ops + DEFAULT FOR TYPE intspan USING btree AS + OPERATOR 1 < , + OPERATOR 2 <= , + OPERATOR 3 = , + OPERATOR 4 >= , + OPERATOR 5 > , + FUNCTION 1 span_cmp(intspan, intspan); +CREATE OPERATOR CLASS bigintspan_btree_ops + DEFAULT FOR TYPE bigintspan USING btree AS + OPERATOR 1 < , + OPERATOR 2 <= , + OPERATOR 3 = , + OPERATOR 4 >= , + OPERATOR 5 > , + FUNCTION 1 span_cmp(bigintspan, bigintspan); +CREATE OPERATOR CLASS floatspan_btree_ops + DEFAULT FOR TYPE floatspan USING btree AS + OPERATOR 1 < , + OPERATOR 2 <= , + OPERATOR 3 = , + OPERATOR 4 >= , + OPERATOR 5 > , + FUNCTION 1 span_cmp(floatspan, floatspan); +CREATE OPERATOR CLASS datespan_btree_ops + DEFAULT FOR TYPE datespan USING btree AS + OPERATOR 1 < , + OPERATOR 2 <= , + OPERATOR 3 = , + OPERATOR 4 >= , + OPERATOR 5 > , + FUNCTION 1 span_cmp(datespan, datespan); +CREATE OPERATOR CLASS tstzspan_btree_ops + DEFAULT FOR TYPE tstzspan USING btree AS + OPERATOR 1 < , + OPERATOR 2 <= , + OPERATOR 3 = , + OPERATOR 4 >= , + OPERATOR 5 > , + FUNCTION 1 span_cmp(tstzspan, tstzspan); + +/******************************************************************************/ + +CREATE FUNCTION span_hash(intspan) + RETURNS integer + AS 'MODULE_PATHNAME', 'Span_hash' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_hash(bigintspan) + RETURNS integer + AS 'MODULE_PATHNAME', 'Span_hash' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_hash(floatspan) + RETURNS integer + AS 'MODULE_PATHNAME', 'Span_hash' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_hash(datespan) + RETURNS integer + AS 'MODULE_PATHNAME', 'Span_hash' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_hash(tstzspan) + RETURNS integer + AS 'MODULE_PATHNAME', 'Span_hash' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION span_hash_extended(intspan, bigint) + RETURNS bigint + AS 'MODULE_PATHNAME', 'Span_hash_extended' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_hash_extended(bigintspan, bigint) + RETURNS bigint + AS 'MODULE_PATHNAME', 'Span_hash_extended' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_hash_extended(floatspan, bigint) + RETURNS bigint + AS 'MODULE_PATHNAME', 'Span_hash_extended' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_hash_extended(datespan, bigint) + RETURNS bigint + AS 'MODULE_PATHNAME', 'Span_hash_extended' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_hash_extended(tstzspan, bigint) + RETURNS bigint + AS 'MODULE_PATHNAME', 'Span_hash_extended' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR CLASS intspan_hash_ops + DEFAULT FOR TYPE intspan USING hash AS + OPERATOR 1 = , + FUNCTION 1 span_hash(intspan), + FUNCTION 2 span_hash_extended(intspan, bigint); +CREATE OPERATOR CLASS bigintspan_hash_ops + DEFAULT FOR TYPE bigintspan USING hash AS + OPERATOR 1 = , + FUNCTION 1 span_hash(bigintspan), + FUNCTION 2 span_hash_extended(bigintspan, bigint); +CREATE OPERATOR CLASS floatspan_hash_ops + DEFAULT FOR TYPE floatspan USING hash AS + OPERATOR 1 = , + FUNCTION 1 span_hash(floatspan), + FUNCTION 2 span_hash_extended(floatspan, bigint); +CREATE OPERATOR CLASS datespan_hash_ops + DEFAULT FOR TYPE datespan USING hash AS + OPERATOR 1 = , + FUNCTION 1 span_hash(datespan), + FUNCTION 2 span_hash_extended(datespan, bigint); +CREATE OPERATOR CLASS tstzspan_hash_ops + DEFAULT FOR TYPE tstzspan USING hash AS + OPERATOR 1 = , + FUNCTION 1 span_hash(tstzspan), + FUNCTION 2 span_hash_extended(tstzspan, bigint); + +/******************************************************************************/ diff --git a/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/temporal/005_span_ops.in.sql b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/temporal/005_span_ops.in.sql new file mode 100644 index 00000000..8305567f --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/temporal/005_span_ops.in.sql @@ -0,0 +1,1694 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @file + * @brief Operators for span types + */ + +/****************************************************************************** + * Topological operators + ******************************************************************************/ + +CREATE FUNCTION span_contains(intspan, integer) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contains_span_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_contains(intspan, intspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contains_span_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR @> ( + PROCEDURE = span_contains, + LEFTARG = intspan, RIGHTARG = integer, + COMMUTATOR = <@, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR @> ( + PROCEDURE = span_contains, + LEFTARG = intspan, RIGHTARG = intspan, + COMMUTATOR = <@, + RESTRICT = span_sel, JOIN = span_joinsel +); + +CREATE FUNCTION span_contains(bigintspan, bigint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contains_span_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_contains(bigintspan, bigintspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contains_span_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR @> ( + PROCEDURE = span_contains, + LEFTARG = bigintspan, RIGHTARG = bigint, + COMMUTATOR = <@, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR @> ( + PROCEDURE = span_contains, + LEFTARG = bigintspan, RIGHTARG = bigintspan, + COMMUTATOR = <@, + RESTRICT = span_sel, JOIN = span_joinsel +); + +CREATE FUNCTION span_contains(floatspan, float) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contains_span_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_contains(floatspan, floatspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contains_span_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR @> ( + PROCEDURE = span_contains, + LEFTARG = floatspan, RIGHTARG = float, + COMMUTATOR = <@, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR @> ( + PROCEDURE = span_contains, + LEFTARG = floatspan, RIGHTARG = floatspan, + COMMUTATOR = <@, + RESTRICT = span_sel, JOIN = span_joinsel +); + +CREATE FUNCTION span_contains(datespan, date) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contains_span_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_contains(datespan, datespan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contains_span_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR @> ( + PROCEDURE = span_contains, + LEFTARG = datespan, RIGHTARG = date, + COMMUTATOR = <@, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR @> ( + PROCEDURE = span_contains, + LEFTARG = datespan, RIGHTARG = datespan, + COMMUTATOR = <@, + RESTRICT = span_sel, JOIN = span_joinsel +); + +CREATE FUNCTION span_contains(tstzspan, timestamptz) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contains_span_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_contains(tstzspan, tstzspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contains_span_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR @> ( + PROCEDURE = span_contains, + LEFTARG = tstzspan, RIGHTARG = timestamptz, + COMMUTATOR = <@, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR @> ( + PROCEDURE = span_contains, + LEFTARG = tstzspan, RIGHTARG = tstzspan, + COMMUTATOR = <@, + RESTRICT = span_sel, JOIN = span_joinsel +); + +/******************************************************************************/ + +CREATE FUNCTION span_contained(integer, intspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contained_value_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_contained(intspan, intspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contained_span_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR <@ ( + PROCEDURE = span_contained, + LEFTARG = integer, RIGHTARG = intspan, + COMMUTATOR = @>, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR <@ ( + PROCEDURE = span_contained, + LEFTARG = intspan, RIGHTARG = intspan, + COMMUTATOR = @>, + RESTRICT = span_sel, JOIN = span_joinsel +); + +CREATE FUNCTION span_contained(bigint, bigintspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contained_value_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_contained(bigintspan, bigintspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contained_span_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR <@ ( + PROCEDURE = span_contained, + LEFTARG = bigint, RIGHTARG = bigintspan, + COMMUTATOR = @>, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR <@ ( + PROCEDURE = span_contained, + LEFTARG = bigintspan, RIGHTARG = bigintspan, + COMMUTATOR = @>, + RESTRICT = span_sel, JOIN = span_joinsel +); + +CREATE FUNCTION span_contained(float, floatspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contained_value_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_contained(floatspan, floatspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contained_span_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR <@ ( + PROCEDURE = span_contained, + LEFTARG = float, RIGHTARG = floatspan, + COMMUTATOR = @>, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR <@ ( + PROCEDURE = span_contained, + LEFTARG = floatspan, RIGHTARG = floatspan, + COMMUTATOR = @>, + RESTRICT = span_sel, JOIN = span_joinsel +); + +CREATE FUNCTION span_contained(date, datespan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contained_value_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_contained(datespan, datespan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contained_span_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR <@ ( + PROCEDURE = span_contained, + LEFTARG = date, RIGHTARG = datespan, + COMMUTATOR = @>, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR <@ ( + PROCEDURE = span_contained, + LEFTARG = datespan, RIGHTARG = datespan, + COMMUTATOR = @>, + RESTRICT = span_sel, JOIN = span_joinsel +); + +CREATE FUNCTION span_contained(timestamptz, tstzspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contained_value_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_contained(tstzspan, tstzspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contained_span_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR <@ ( + PROCEDURE = span_contained, + LEFTARG = timestamptz, RIGHTARG = tstzspan, + COMMUTATOR = @>, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR <@ ( + PROCEDURE = span_contained, + LEFTARG = tstzspan, RIGHTARG = tstzspan, + COMMUTATOR = @>, + RESTRICT = span_sel, JOIN = span_joinsel +); + +/******************************************************************************/ + +CREATE FUNCTION span_overlaps(intspan, intspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overlaps_span_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR && ( + PROCEDURE = span_overlaps, + LEFTARG = intspan, RIGHTARG = intspan, + COMMUTATOR = &&, + RESTRICT = span_sel, JOIN = span_joinsel +); + +CREATE FUNCTION span_overlaps(bigintspan, bigintspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overlaps_span_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR && ( + PROCEDURE = span_overlaps, + LEFTARG = bigintspan, RIGHTARG = bigintspan, + COMMUTATOR = &&, + RESTRICT = span_sel, JOIN = span_joinsel +); + +CREATE FUNCTION span_overlaps(floatspan, floatspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overlaps_span_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR && ( + PROCEDURE = span_overlaps, + LEFTARG = floatspan, RIGHTARG = floatspan, + COMMUTATOR = &&, + RESTRICT = span_sel, JOIN = span_joinsel +); + +CREATE FUNCTION span_overlaps(datespan, datespan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overlaps_span_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR && ( + PROCEDURE = span_overlaps, + LEFTARG = datespan, RIGHTARG = datespan, + COMMUTATOR = &&, + RESTRICT = span_sel, JOIN = span_joinsel +); + +CREATE FUNCTION span_overlaps(tstzspan, tstzspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overlaps_span_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR && ( + PROCEDURE = span_overlaps, + LEFTARG = tstzspan, RIGHTARG = tstzspan, + COMMUTATOR = &&, + RESTRICT = span_sel, JOIN = span_joinsel +); + +/******************************************************************************/ + +CREATE FUNCTION span_adjacent(integer, intspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Adjacent_value_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_adjacent(intspan, integer) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Adjacent_span_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_adjacent(intspan, intspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Adjacent_span_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR -|- ( + PROCEDURE = span_adjacent, + LEFTARG = integer, RIGHTARG = intspan, + COMMUTATOR = -|-, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR -|- ( + PROCEDURE = span_adjacent, + LEFTARG = intspan, RIGHTARG = integer, + COMMUTATOR = -|-, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR -|- ( + PROCEDURE = span_adjacent, + LEFTARG = intspan, RIGHTARG = intspan, + COMMUTATOR = -|-, + RESTRICT = span_sel, JOIN = span_joinsel +); + +CREATE FUNCTION span_adjacent(bigint, bigintspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Adjacent_value_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_adjacent(bigintspan, bigint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Adjacent_span_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_adjacent(bigintspan, bigintspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Adjacent_span_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR -|- ( + PROCEDURE = span_adjacent, + LEFTARG = bigint, RIGHTARG = bigintspan, + COMMUTATOR = -|-, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR -|- ( + PROCEDURE = span_adjacent, + LEFTARG = bigintspan, RIGHTARG = bigint, + COMMUTATOR = -|-, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR -|- ( + PROCEDURE = span_adjacent, + LEFTARG = bigintspan, RIGHTARG = bigintspan, + COMMUTATOR = -|-, + RESTRICT = span_sel, JOIN = span_joinsel +); + +CREATE FUNCTION span_adjacent(float, floatspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Adjacent_value_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_adjacent(floatspan, float) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Adjacent_span_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_adjacent(floatspan, floatspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Adjacent_span_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR -|- ( + PROCEDURE = span_adjacent, + LEFTARG = float, RIGHTARG = floatspan, + COMMUTATOR = -|-, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR -|- ( + PROCEDURE = span_adjacent, + LEFTARG = floatspan, RIGHTARG = float, + COMMUTATOR = -|-, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR -|- ( + PROCEDURE = span_adjacent, + LEFTARG = floatspan, RIGHTARG = floatspan, + COMMUTATOR = -|-, + RESTRICT = span_sel, JOIN = span_joinsel +); + +CREATE FUNCTION span_adjacent(date, datespan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Adjacent_value_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_adjacent(datespan, date) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Adjacent_span_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_adjacent(datespan, datespan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Adjacent_span_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR -|- ( + PROCEDURE = span_adjacent, + LEFTARG = date, RIGHTARG = datespan, + COMMUTATOR = -|-, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR -|- ( + PROCEDURE = span_adjacent, + LEFTARG = datespan, RIGHTARG = date, + COMMUTATOR = -|-, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR -|- ( + PROCEDURE = span_adjacent, + LEFTARG = datespan, RIGHTARG = datespan, + COMMUTATOR = -|-, + RESTRICT = span_sel, JOIN = span_joinsel +); + +CREATE FUNCTION span_adjacent(timestamptz, tstzspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Adjacent_value_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_adjacent(tstzspan, timestamptz) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Adjacent_span_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_adjacent(tstzspan, tstzspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Adjacent_span_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR -|- ( + PROCEDURE = span_adjacent, + LEFTARG = timestamptz, RIGHTARG = tstzspan, + COMMUTATOR = -|-, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR -|- ( + PROCEDURE = span_adjacent, + LEFTARG = tstzspan, RIGHTARG = timestamptz, + COMMUTATOR = -|-, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR -|- ( + PROCEDURE = span_adjacent, + LEFTARG = tstzspan, RIGHTARG = tstzspan, + COMMUTATOR = -|-, + RESTRICT = span_sel, JOIN = span_joinsel +); + +/****************************************************************************** + * Position operators + ******************************************************************************/ + +CREATE FUNCTION span_left(integer, intspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Left_value_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_left(intspan, integer) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Left_span_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_left(intspan, intspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Left_span_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR << ( + PROCEDURE = span_left, + LEFTARG = integer, RIGHTARG = intspan, + COMMUTATOR = >>, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR << ( + PROCEDURE = span_left, + LEFTARG = intspan, RIGHTARG = integer, + COMMUTATOR = >>, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR << ( + PROCEDURE = span_left, + LEFTARG = intspan, RIGHTARG = intspan, + COMMUTATOR = >>, + RESTRICT = span_sel, JOIN = span_joinsel +); + +CREATE FUNCTION span_left(bigint, bigintspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Left_value_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_left(bigintspan, bigint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Left_span_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_left(bigintspan, bigintspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Left_span_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR << ( + PROCEDURE = span_left, + LEFTARG = bigint, RIGHTARG = bigintspan, + COMMUTATOR = >>, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR << ( + PROCEDURE = span_left, + LEFTARG = bigintspan, RIGHTARG = bigint, + COMMUTATOR = >>, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR << ( + PROCEDURE = span_left, + LEFTARG = bigintspan, RIGHTARG = bigintspan, + COMMUTATOR = >>, + RESTRICT = span_sel, JOIN = span_joinsel +); + +CREATE FUNCTION span_left(float, floatspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Left_value_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_left(floatspan, float) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Left_span_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_left(floatspan, floatspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Left_span_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR << ( + PROCEDURE = span_left, + LEFTARG = float, RIGHTARG = floatspan, + COMMUTATOR = >>, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR << ( + PROCEDURE = span_left, + LEFTARG = floatspan, RIGHTARG = float, + COMMUTATOR = >>, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR << ( + PROCEDURE = span_left, + LEFTARG = floatspan, RIGHTARG = floatspan, + COMMUTATOR = >>, + RESTRICT = span_sel, JOIN = span_joinsel +); + +CREATE FUNCTION span_left(date, datespan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Left_value_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_left(datespan, date) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Left_span_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_left(datespan, datespan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Left_span_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR <<# ( + PROCEDURE = span_left, + LEFTARG = date, RIGHTARG = datespan, + COMMUTATOR = #>>, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR <<# ( + PROCEDURE = span_left, + LEFTARG = datespan, RIGHTARG = date, + COMMUTATOR = #>>, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR <<# ( + PROCEDURE = span_left, + LEFTARG = datespan, RIGHTARG = datespan, + COMMUTATOR = #>>, + RESTRICT = span_sel, JOIN = span_joinsel +); + +CREATE FUNCTION span_left(timestamptz, tstzspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Left_value_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_left(tstzspan, timestamptz) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Left_span_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_left(tstzspan, tstzspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Left_span_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR <<# ( + PROCEDURE = span_left, + LEFTARG = timestamptz, RIGHTARG = tstzspan, + COMMUTATOR = #>>, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR <<# ( + PROCEDURE = span_left, + LEFTARG = tstzspan, RIGHTARG = timestamptz, + COMMUTATOR = #>>, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR <<# ( + PROCEDURE = span_left, + LEFTARG = tstzspan, RIGHTARG = tstzspan, + COMMUTATOR = #>>, + RESTRICT = span_sel, JOIN = span_joinsel +); + +/******************************************************************************/ + +CREATE FUNCTION span_right(integer, intspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Right_value_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_right(intspan, integer) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Right_span_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_right(intspan, intspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Right_span_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR >> ( + PROCEDURE = span_right, + LEFTARG = integer, RIGHTARG = intspan, + COMMUTATOR = <<, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR >> ( + PROCEDURE = span_right, + LEFTARG = intspan, RIGHTARG = integer, + COMMUTATOR = <<, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR >> ( + PROCEDURE = span_right, + LEFTARG = intspan, RIGHTARG = intspan, + COMMUTATOR = <<, + RESTRICT = span_sel, JOIN = span_joinsel +); + +CREATE FUNCTION span_right(bigint, bigintspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Right_value_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_right(bigintspan, bigint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Right_span_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_right(bigintspan, bigintspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Right_span_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR >> ( + PROCEDURE = span_right, + LEFTARG = bigint, RIGHTARG = bigintspan, + COMMUTATOR = <<, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR >> ( + PROCEDURE = span_right, + LEFTARG = bigintspan, RIGHTARG = bigint, + COMMUTATOR = <<, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR >> ( + PROCEDURE = span_right, + LEFTARG = bigintspan, RIGHTARG = bigintspan, + COMMUTATOR = <<, + RESTRICT = span_sel, JOIN = span_joinsel +); + +CREATE FUNCTION span_right(float, floatspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Right_value_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_right(floatspan, float) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Right_span_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_right(floatspan, floatspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Right_span_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR >> ( + PROCEDURE = span_right, + LEFTARG = float, RIGHTARG = floatspan, + COMMUTATOR = <<, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR >> ( + PROCEDURE = span_right, + LEFTARG = floatspan, RIGHTARG = float, + COMMUTATOR = <<, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR >> ( + PROCEDURE = span_right, + LEFTARG = floatspan, RIGHTARG = floatspan, + COMMUTATOR = <<, + RESTRICT = span_sel, JOIN = span_joinsel +); + +CREATE FUNCTION span_right(date, datespan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Right_value_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_right(datespan, date) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Right_span_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_right(datespan, datespan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Right_span_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR #>> ( + PROCEDURE = span_right, + LEFTARG = date, RIGHTARG = datespan, + COMMUTATOR = <<#, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR #>> ( + PROCEDURE = span_right, + LEFTARG = datespan, RIGHTARG = date, + COMMUTATOR = <<#, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR #>> ( + PROCEDURE = span_right, + LEFTARG = datespan, RIGHTARG = datespan, + COMMUTATOR = <<#, + RESTRICT = span_sel, JOIN = span_joinsel +); + +CREATE FUNCTION span_right(timestamptz, tstzspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Right_value_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_right(tstzspan, timestamptz) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Right_span_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_right(tstzspan, tstzspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Right_span_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR #>> ( + PROCEDURE = span_right, + LEFTARG = timestamptz, RIGHTARG = tstzspan, + COMMUTATOR = <<#, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR #>> ( + PROCEDURE = span_right, + LEFTARG = tstzspan, RIGHTARG = timestamptz, + COMMUTATOR = <<#, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR #>> ( + PROCEDURE = span_right, + LEFTARG = tstzspan, RIGHTARG = tstzspan, + COMMUTATOR = <<#, + RESTRICT = span_sel, JOIN = span_joinsel +); + +/******************************************************************************/ + +CREATE FUNCTION span_overleft(integer, intspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overleft_value_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_overleft(intspan, integer) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overleft_span_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_overleft(intspan, intspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overleft_span_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR &< ( + PROCEDURE = span_overleft, + LEFTARG = integer, RIGHTARG = intspan, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR &< ( + PROCEDURE = span_overleft, + LEFTARG = intspan, RIGHTARG = integer, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR &< ( + PROCEDURE = span_overleft, + LEFTARG = intspan, RIGHTARG = intspan, + RESTRICT = span_sel, JOIN = span_joinsel +); + +CREATE FUNCTION span_overleft(bigint, bigintspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overleft_value_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_overleft(bigintspan, bigint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overleft_span_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_overleft(bigintspan, bigintspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overleft_span_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR &< ( + PROCEDURE = span_overleft, + LEFTARG = bigint, RIGHTARG = bigintspan, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR &< ( + PROCEDURE = span_overleft, + LEFTARG = bigintspan, RIGHTARG = bigint, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR &< ( + PROCEDURE = span_overleft, + LEFTARG = bigintspan, RIGHTARG = bigintspan, + RESTRICT = span_sel, JOIN = span_joinsel +); + +CREATE FUNCTION span_overleft(float, floatspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overleft_value_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_overleft(floatspan, float) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overleft_span_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_overleft(floatspan, floatspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overleft_span_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR &< ( + PROCEDURE = span_overleft, + LEFTARG = float, RIGHTARG = floatspan, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR &< ( + PROCEDURE = span_overleft, + LEFTARG = floatspan, RIGHTARG = float, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR &< ( + PROCEDURE = span_overleft, + LEFTARG = floatspan, RIGHTARG = floatspan, + RESTRICT = span_sel, JOIN = span_joinsel +); + +CREATE FUNCTION span_overleft(date, datespan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overleft_value_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_overleft(datespan, date) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overleft_span_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_overleft(datespan, datespan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overleft_span_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR &<# ( + PROCEDURE = span_overleft, + LEFTARG = date, RIGHTARG = datespan, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR &<# ( + PROCEDURE = span_overleft, + LEFTARG = datespan, RIGHTARG = date, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR &<# ( + PROCEDURE = span_overleft, + LEFTARG = datespan, RIGHTARG = datespan, + RESTRICT = span_sel, JOIN = span_joinsel +); + +CREATE FUNCTION span_overleft(timestamptz, tstzspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overleft_value_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_overleft(tstzspan, timestamptz) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overleft_span_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_overleft(tstzspan, tstzspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overleft_span_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR &<# ( + PROCEDURE = span_overleft, + LEFTARG = timestamptz, RIGHTARG = tstzspan, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR &<# ( + PROCEDURE = span_overleft, + LEFTARG = tstzspan, RIGHTARG = timestamptz, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR &<# ( + PROCEDURE = span_overleft, + LEFTARG = tstzspan, RIGHTARG = tstzspan, + RESTRICT = span_sel, JOIN = span_joinsel +); + +/******************************************************************************/ + +CREATE FUNCTION span_overright(integer, intspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overright_value_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_overright(intspan, integer) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overright_span_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_overright(intspan, intspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overright_span_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR &> ( + PROCEDURE = span_overright, + LEFTARG = integer, RIGHTARG = intspan, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR &> ( + PROCEDURE = span_overright, + LEFTARG = intspan, RIGHTARG = integer, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR &> ( + PROCEDURE = span_overright, + LEFTARG = intspan, RIGHTARG = intspan, + RESTRICT = span_sel, JOIN = span_joinsel +); + +CREATE FUNCTION span_overright(bigint, bigintspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overright_value_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_overright(bigintspan, bigint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overright_span_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_overright(bigintspan, bigintspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overright_span_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR &> ( + PROCEDURE = span_overright, + LEFTARG = bigint, RIGHTARG = bigintspan, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR &> ( + PROCEDURE = span_overright, + LEFTARG = bigintspan, RIGHTARG = bigint, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR &> ( + PROCEDURE = span_overright, + LEFTARG = bigintspan, RIGHTARG = bigintspan, + RESTRICT = span_sel, JOIN = span_joinsel +); + +CREATE FUNCTION span_overright(float, floatspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overright_value_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_overright(floatspan, float) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overright_span_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_overright(floatspan, floatspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overright_span_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR &> ( + PROCEDURE = span_overright, + LEFTARG = float, RIGHTARG = floatspan, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR &> ( + PROCEDURE = span_overright, + LEFTARG = floatspan, RIGHTARG = float, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR &> ( + PROCEDURE = span_overright, + LEFTARG = floatspan, RIGHTARG = floatspan, + RESTRICT = span_sel, JOIN = span_joinsel +); + +CREATE FUNCTION span_overright(date, datespan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overright_value_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_overright(datespan, date) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overright_span_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_overright(datespan, datespan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overright_span_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR #&> ( + PROCEDURE = span_overright, + LEFTARG = date, RIGHTARG = datespan, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR #&> ( + PROCEDURE = span_overright, + LEFTARG = datespan, RIGHTARG = date, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR #&> ( + PROCEDURE = span_overright, + LEFTARG = datespan, RIGHTARG = datespan, + RESTRICT = span_sel, JOIN = span_joinsel +); + +CREATE FUNCTION span_overright(timestamptz, tstzspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overright_value_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_overright(tstzspan, timestamptz) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overright_span_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_overright(tstzspan, tstzspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overright_span_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR #&> ( + PROCEDURE = span_overright, + LEFTARG = timestamptz, RIGHTARG = tstzspan, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR #&> ( + PROCEDURE = span_overright, + LEFTARG = tstzspan, RIGHTARG = timestamptz, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR #&> ( + PROCEDURE = span_overright, + LEFTARG = tstzspan, RIGHTARG = tstzspan, + RESTRICT = span_sel, JOIN = span_joinsel +); + +/***************************************************************************** + * Set operators + *****************************************************************************/ + +CREATE FUNCTION span_union(integer, intspan) + RETURNS intspanset + AS 'MODULE_PATHNAME', 'Union_value_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_union(intspan, integer) + RETURNS intspanset + AS 'MODULE_PATHNAME', 'Union_span_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_union(intspan, intspan) + RETURNS intspanset + AS 'MODULE_PATHNAME', 'Union_span_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR + ( + PROCEDURE = span_union, + LEFTARG = integer, RIGHTARG = intspan, + COMMUTATOR = + +); +CREATE OPERATOR + ( + PROCEDURE = span_union, + LEFTARG = intspan, RIGHTARG = integer, + COMMUTATOR = + +); +CREATE OPERATOR + ( + PROCEDURE = span_union, + LEFTARG = intspan, RIGHTARG = intspan, + COMMUTATOR = + +); + +CREATE FUNCTION span_union(bigint, bigintspan) + RETURNS bigintspanset + AS 'MODULE_PATHNAME', 'Union_value_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_union(bigintspan, bigint) + RETURNS bigintspanset + AS 'MODULE_PATHNAME', 'Union_span_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_union(bigintspan, bigintspan) + RETURNS bigintspanset + AS 'MODULE_PATHNAME', 'Union_span_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + + +CREATE OPERATOR + ( + PROCEDURE = span_union, + LEFTARG = bigint, RIGHTARG = bigintspan, + COMMUTATOR = + +); +CREATE OPERATOR + ( + PROCEDURE = span_union, + LEFTARG = bigintspan, RIGHTARG = bigint, + COMMUTATOR = + +); +CREATE OPERATOR + ( + PROCEDURE = span_union, + LEFTARG = bigintspan, RIGHTARG = bigintspan, + COMMUTATOR = + +); + +CREATE FUNCTION span_union(float, floatspan) + RETURNS floatspanset + AS 'MODULE_PATHNAME', 'Union_value_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_union(floatspan, float) + RETURNS floatspanset + AS 'MODULE_PATHNAME', 'Union_span_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_union(floatspan, floatspan) + RETURNS floatspanset + AS 'MODULE_PATHNAME', 'Union_span_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR + ( + PROCEDURE = span_union, + LEFTARG = float, RIGHTARG = floatspan, + COMMUTATOR = + +); +CREATE OPERATOR + ( + PROCEDURE = span_union, + LEFTARG = floatspan, RIGHTARG = float, + COMMUTATOR = + +); +CREATE OPERATOR + ( + PROCEDURE = span_union, + LEFTARG = floatspan, RIGHTARG = floatspan, + COMMUTATOR = + +); + +CREATE FUNCTION span_union(date, datespan) + RETURNS datespanset + AS 'MODULE_PATHNAME', 'Union_value_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_union(datespan, date) + RETURNS datespanset + AS 'MODULE_PATHNAME', 'Union_span_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_union(datespan, datespan) + RETURNS datespanset + AS 'MODULE_PATHNAME', 'Union_span_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR + ( + PROCEDURE = span_union, + LEFTARG = date, RIGHTARG = datespan, + COMMUTATOR = + +); +CREATE OPERATOR + ( + PROCEDURE = span_union, + LEFTARG = datespan, RIGHTARG = date, + COMMUTATOR = + +); +CREATE OPERATOR + ( + PROCEDURE = span_union, + LEFTARG = datespan, RIGHTARG = datespan, + COMMUTATOR = + +); + +CREATE FUNCTION span_union(timestamptz, tstzspan) + RETURNS tstzspanset + AS 'MODULE_PATHNAME', 'Union_value_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_union(tstzspan, timestamptz) + RETURNS tstzspanset + AS 'MODULE_PATHNAME', 'Union_span_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_union(tstzspan, tstzspan) + RETURNS tstzspanset + AS 'MODULE_PATHNAME', 'Union_span_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR + ( + PROCEDURE = span_union, + LEFTARG = timestamptz, RIGHTARG = tstzspan, + COMMUTATOR = + +); +CREATE OPERATOR + ( + PROCEDURE = span_union, + LEFTARG = tstzspan, RIGHTARG = timestamptz, + COMMUTATOR = + +); +CREATE OPERATOR + ( + PROCEDURE = span_union, + LEFTARG = tstzspan, RIGHTARG = tstzspan, + COMMUTATOR = + +); + +/******************************************************************************/ + +CREATE FUNCTION span_intersection(integer, intspan) + RETURNS intspan + AS 'MODULE_PATHNAME', 'Intersection_value_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_intersection(intspan, integer) + RETURNS intspan + AS 'MODULE_PATHNAME', 'Intersection_span_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_intersection(intspan, intspan) + RETURNS intspan + AS 'MODULE_PATHNAME', 'Intersection_span_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR * ( + PROCEDURE = span_intersection, + LEFTARG = integer, RIGHTARG = intspan, + COMMUTATOR = * +); +CREATE OPERATOR * ( + PROCEDURE = span_intersection, + LEFTARG = intspan, RIGHTARG = integer, + COMMUTATOR = * +); +CREATE OPERATOR * ( + PROCEDURE = span_intersection, + LEFTARG = intspan, RIGHTARG = intspan, + COMMUTATOR = * +); + +CREATE FUNCTION span_intersection(bigint, bigintspan) + RETURNS bigintspan + AS 'MODULE_PATHNAME', 'Intersection_value_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_intersection(bigintspan, bigint) + RETURNS bigintspan + AS 'MODULE_PATHNAME', 'Intersection_span_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_intersection(bigintspan, bigintspan) + RETURNS bigintspan + AS 'MODULE_PATHNAME', 'Intersection_span_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + + +CREATE OPERATOR * ( + PROCEDURE = span_intersection, + LEFTARG = bigint, RIGHTARG = bigintspan, + COMMUTATOR = * +); +CREATE OPERATOR * ( + PROCEDURE = span_intersection, + LEFTARG = bigintspan, RIGHTARG = bigint, + COMMUTATOR = * +); +CREATE OPERATOR * ( + PROCEDURE = span_intersection, + LEFTARG = bigintspan, RIGHTARG = bigintspan, + COMMUTATOR = * +); + +CREATE FUNCTION span_intersection(float, floatspan) + RETURNS floatspan + AS 'MODULE_PATHNAME', 'Intersection_value_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_intersection(floatspan, float) + RETURNS floatspan + AS 'MODULE_PATHNAME', 'Intersection_span_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_intersection(floatspan, floatspan) + RETURNS floatspan + AS 'MODULE_PATHNAME', 'Intersection_span_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR * ( + PROCEDURE = span_intersection, + LEFTARG = float, RIGHTARG = floatspan, + COMMUTATOR = * +); +CREATE OPERATOR * ( + PROCEDURE = span_intersection, + LEFTARG = floatspan, RIGHTARG = float, + COMMUTATOR = * +); +CREATE OPERATOR * ( + PROCEDURE = span_intersection, + LEFTARG = floatspan, RIGHTARG = floatspan, + COMMUTATOR = * +); + +CREATE FUNCTION span_intersection(date, datespan) + RETURNS datespan + AS 'MODULE_PATHNAME', 'Intersection_value_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_intersection(datespan, date) + RETURNS datespan + AS 'MODULE_PATHNAME', 'Intersection_span_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_intersection(datespan, datespan) + RETURNS datespan + AS 'MODULE_PATHNAME', 'Intersection_span_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR * ( + PROCEDURE = span_intersection, + LEFTARG = date, RIGHTARG = datespan, + COMMUTATOR = * +); +CREATE OPERATOR * ( + PROCEDURE = span_intersection, + LEFTARG = datespan, RIGHTARG = date, + COMMUTATOR = * +); +CREATE OPERATOR * ( + PROCEDURE = span_intersection, + LEFTARG = datespan, RIGHTARG = datespan, + COMMUTATOR = * +); + +CREATE FUNCTION span_intersection(timestamptz, tstzspan) + RETURNS tstzspan + AS 'MODULE_PATHNAME', 'Intersection_value_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_intersection(tstzspan, timestamptz) + RETURNS tstzspan + AS 'MODULE_PATHNAME', 'Intersection_span_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_intersection(tstzspan, tstzspan) + RETURNS tstzspan + AS 'MODULE_PATHNAME', 'Intersection_span_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR * ( + PROCEDURE = span_intersection, + LEFTARG = timestamptz, RIGHTARG = tstzspan, + COMMUTATOR = * +); +CREATE OPERATOR * ( + PROCEDURE = span_intersection, + LEFTARG = tstzspan, RIGHTARG = timestamptz, + COMMUTATOR = * +); +CREATE OPERATOR * ( + PROCEDURE = span_intersection, + LEFTARG = tstzspan, RIGHTARG = tstzspan, + COMMUTATOR = * +); + +/******************************************************************************/ + +CREATE FUNCTION span_minus(integer, intspan) + RETURNS intspanset + AS 'MODULE_PATHNAME', 'Minus_value_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_minus(intspan, integer) + RETURNS intspanset + AS 'MODULE_PATHNAME', 'Minus_span_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_minus(intspan, intspan) + RETURNS intspanset + AS 'MODULE_PATHNAME', 'Minus_span_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR - ( + PROCEDURE = span_minus, + LEFTARG = integer, RIGHTARG = intspan, + COMMUTATOR = - +); +CREATE OPERATOR - ( + PROCEDURE = span_minus, + LEFTARG = intspan, RIGHTARG = integer, + COMMUTATOR = - +); +CREATE OPERATOR - ( + PROCEDURE = span_minus, + LEFTARG = intspan, RIGHTARG = intspan, + COMMUTATOR = - +); + +CREATE FUNCTION span_minus(bigint, bigintspan) + RETURNS bigintspanset + AS 'MODULE_PATHNAME', 'Minus_value_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_minus(bigintspan, bigint) + RETURNS bigintspanset + AS 'MODULE_PATHNAME', 'Minus_span_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_minus(bigintspan, bigintspan) + RETURNS bigintspanset + AS 'MODULE_PATHNAME', 'Minus_span_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + + +CREATE OPERATOR - ( + PROCEDURE = span_minus, + LEFTARG = bigint, RIGHTARG = bigintspan, + COMMUTATOR = - +); +CREATE OPERATOR - ( + PROCEDURE = span_minus, + LEFTARG = bigintspan, RIGHTARG = bigint, + COMMUTATOR = - +); +CREATE OPERATOR - ( + PROCEDURE = span_minus, + LEFTARG = bigintspan, RIGHTARG = bigintspan, + COMMUTATOR = - +); + +CREATE FUNCTION span_minus(float, floatspan) + RETURNS floatspanset + AS 'MODULE_PATHNAME', 'Minus_value_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_minus(floatspan, float) + RETURNS floatspanset + AS 'MODULE_PATHNAME', 'Minus_span_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_minus(floatspan, floatspan) + RETURNS floatspanset + AS 'MODULE_PATHNAME', 'Minus_span_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR - ( + PROCEDURE = span_minus, + LEFTARG = float, RIGHTARG = floatspan, + COMMUTATOR = - +); +CREATE OPERATOR - ( + PROCEDURE = span_minus, + LEFTARG = floatspan, RIGHTARG = float, + COMMUTATOR = - +); +CREATE OPERATOR - ( + PROCEDURE = span_minus, + LEFTARG = floatspan, RIGHTARG = floatspan, + COMMUTATOR = - +); + +CREATE FUNCTION span_minus(date, datespan) + RETURNS datespanset + AS 'MODULE_PATHNAME', 'Minus_value_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_minus(datespan, date) + RETURNS datespanset + AS 'MODULE_PATHNAME', 'Minus_span_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_minus(datespan, datespan) + RETURNS datespanset + AS 'MODULE_PATHNAME', 'Minus_span_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR - ( + PROCEDURE = span_minus, + LEFTARG = date, RIGHTARG = datespan +); +CREATE OPERATOR - ( + PROCEDURE = span_minus, + LEFTARG = datespan, RIGHTARG = date +); +CREATE OPERATOR - ( + PROCEDURE = span_minus, + LEFTARG = datespan, RIGHTARG = datespan +); + +CREATE FUNCTION span_minus(timestamptz, tstzspan) + RETURNS tstzspanset + AS 'MODULE_PATHNAME', 'Minus_value_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_minus(tstzspan, timestamptz) + RETURNS tstzspanset + AS 'MODULE_PATHNAME', 'Minus_span_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_minus(tstzspan, tstzspan) + RETURNS tstzspanset + AS 'MODULE_PATHNAME', 'Minus_span_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR - ( + PROCEDURE = span_minus, + LEFTARG = timestamptz, RIGHTARG = tstzspan +); +CREATE OPERATOR - ( + PROCEDURE = span_minus, + LEFTARG = tstzspan, RIGHTARG = timestamptz +); +CREATE OPERATOR - ( + PROCEDURE = span_minus, + LEFTARG = tstzspan, RIGHTARG = tstzspan +); + +/***************************************************************************** + * Distance operators + *****************************************************************************/ + +CREATE FUNCTION span_distance(integer, intspan) + RETURNS integer + AS 'MODULE_PATHNAME', 'Distance_value_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_distance(intspan, integer) + RETURNS integer + AS 'MODULE_PATHNAME', 'Distance_span_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_distance(intspan, intspan) + RETURNS integer + AS 'MODULE_PATHNAME', 'Distance_span_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR <-> ( + PROCEDURE = span_distance, + LEFTARG = integer, RIGHTARG = intspan, + COMMUTATOR = <-> +); +CREATE OPERATOR <-> ( + PROCEDURE = span_distance, + LEFTARG = intspan, RIGHTARG = integer, + COMMUTATOR = <-> +); +CREATE OPERATOR <-> ( + PROCEDURE = span_distance, + LEFTARG = intspan, RIGHTARG = intspan, + COMMUTATOR = <-> +); + +CREATE FUNCTION span_distance(bigint, bigintspan) + RETURNS bigint + AS 'MODULE_PATHNAME', 'Distance_value_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_distance(bigintspan, bigint) + RETURNS bigint + AS 'MODULE_PATHNAME', 'Distance_span_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_distance(bigintspan, bigintspan) + RETURNS bigint + AS 'MODULE_PATHNAME', 'Distance_span_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR <-> ( + PROCEDURE = span_distance, + LEFTARG = bigint, RIGHTARG = bigintspan, + COMMUTATOR = <-> +); +CREATE OPERATOR <-> ( + PROCEDURE = span_distance, + LEFTARG = bigintspan, RIGHTARG = bigint, + COMMUTATOR = <-> +); +CREATE OPERATOR <-> ( + PROCEDURE = span_distance, + LEFTARG = bigintspan, RIGHTARG = bigintspan, + COMMUTATOR = <-> +); + +CREATE FUNCTION span_distance(float, floatspan) + RETURNS float + AS 'MODULE_PATHNAME', 'Distance_value_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_distance(floatspan, float) + RETURNS float + AS 'MODULE_PATHNAME', 'Distance_span_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_distance(floatspan, floatspan) + RETURNS float + AS 'MODULE_PATHNAME', 'Distance_span_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR <-> ( + PROCEDURE = span_distance, + LEFTARG = float, RIGHTARG = floatspan, + COMMUTATOR = <-> +); +CREATE OPERATOR <-> ( + PROCEDURE = span_distance, + LEFTARG = floatspan, RIGHTARG = float, + COMMUTATOR = <-> +); +CREATE OPERATOR <-> ( + PROCEDURE = span_distance, + LEFTARG = floatspan, RIGHTARG = floatspan, + COMMUTATOR = <-> +); + +CREATE FUNCTION span_distance(date, datespan) + RETURNS integer + AS 'MODULE_PATHNAME', 'Distance_value_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_distance(datespan, date) + RETURNS integer + AS 'MODULE_PATHNAME', 'Distance_span_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_distance(datespan, datespan) + RETURNS integer + AS 'MODULE_PATHNAME', 'Distance_span_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR <-> ( + PROCEDURE = span_distance, + LEFTARG = date, RIGHTARG = datespan, + COMMUTATOR = <-> +); +CREATE OPERATOR <-> ( + PROCEDURE = span_distance, + LEFTARG = datespan, RIGHTARG = date, + COMMUTATOR = <-> +); +CREATE OPERATOR <-> ( + PROCEDURE = span_distance, + LEFTARG = datespan, RIGHTARG = datespan, + COMMUTATOR = <-> +); + +CREATE FUNCTION span_distance(timestamptz, tstzspan) + RETURNS float + AS 'MODULE_PATHNAME', 'Distance_value_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_distance(tstzspan, timestamptz) + RETURNS float + AS 'MODULE_PATHNAME', 'Distance_span_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_distance(tstzspan, tstzspan) + RETURNS float + AS 'MODULE_PATHNAME', 'Distance_span_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR <-> ( + PROCEDURE = span_distance, + LEFTARG = timestamptz, RIGHTARG = tstzspan, + COMMUTATOR = <-> +); +CREATE OPERATOR <-> ( + PROCEDURE = span_distance, + LEFTARG = tstzspan, RIGHTARG = timestamptz, + COMMUTATOR = <-> +); +CREATE OPERATOR <-> ( + PROCEDURE = span_distance, + LEFTARG = tstzspan, RIGHTARG = tstzspan, + COMMUTATOR = <-> +); + +/*****************************************************************************/ diff --git a/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/temporal/007_spanset.in.sql b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/temporal/007_spanset.in.sql new file mode 100644 index 00000000..6d472ceb --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/temporal/007_spanset.in.sql @@ -0,0 +1,1364 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @file + * @brief Functions for set of spans of values, which are fixed-size versions + * of PostgreSQL multiranges + */ + +/****************************************************************************** + * Input/Output + ******************************************************************************/ + +CREATE FUNCTION intspanset_in(cstring) + RETURNS intspanset + AS 'MODULE_PATHNAME', 'Spanset_in' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION bigintspanset_in(cstring) + RETURNS bigintspanset + AS 'MODULE_PATHNAME', 'Spanset_in' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION floatspanset_in(cstring) + RETURNS floatspanset + AS 'MODULE_PATHNAME', 'Spanset_in' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION datespanset_in(cstring) + RETURNS datespanset + AS 'MODULE_PATHNAME', 'Spanset_in' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tstzspanset_in(cstring) + RETURNS tstzspanset + AS 'MODULE_PATHNAME', 'Spanset_in' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION intspanset_out(intspanset) + RETURNS cstring + AS 'MODULE_PATHNAME', 'Spanset_out' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION bigintspanset_out(bigintspanset) + RETURNS cstring + AS 'MODULE_PATHNAME', 'Spanset_out' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION floatspanset_out(floatspanset) + RETURNS cstring + AS 'MODULE_PATHNAME', 'Spanset_out' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION datespanset_out(datespanset) + RETURNS cstring + AS 'MODULE_PATHNAME', 'Spanset_out' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tstzspanset_out(tstzspanset) + RETURNS cstring + AS 'MODULE_PATHNAME', 'Spanset_out' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION intspanset_recv(internal) + RETURNS intspanset + AS 'MODULE_PATHNAME', 'Spanset_recv' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION bigintspanset_recv(internal) + RETURNS bigintspanset + AS 'MODULE_PATHNAME', 'Spanset_recv' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION floatspanset_recv(internal) + RETURNS floatspanset + AS 'MODULE_PATHNAME', 'Spanset_recv' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION datespanset_recv(internal) + RETURNS datespanset + AS 'MODULE_PATHNAME', 'Spanset_recv' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tstzspanset_recv(internal) + RETURNS tstzspanset + AS 'MODULE_PATHNAME', 'Spanset_recv' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION intspanset_send(intspanset) + RETURNS bytea + AS 'MODULE_PATHNAME', 'Spanset_send' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION bigintspanset_send(bigintspanset) + RETURNS bytea + AS 'MODULE_PATHNAME', 'Spanset_send' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION floatspanset_send(floatspanset) + RETURNS bytea + AS 'MODULE_PATHNAME', 'Spanset_send' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION datespanset_send(datespanset) + RETURNS bytea + AS 'MODULE_PATHNAME', 'Spanset_send' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tstzspanset_send(tstzspanset) + RETURNS bytea + AS 'MODULE_PATHNAME', 'Spanset_send' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/* The span_analyze function is defined in file 001_set.in.sql */ + +CREATE TYPE intspanset ( + internallength = variable, + input = intspanset_in, + output = intspanset_out, + receive = intspanset_recv, + send = intspanset_send, + alignment = double, +-- The following line makes NULL if size < 128 + storage = extended, + analyze = span_analyze +); +CREATE TYPE bigintspanset ( + internallength = variable, + input = bigintspanset_in, + output = bigintspanset_out, + receive = bigintspanset_recv, + send = bigintspanset_send, + alignment = double, +-- The following line makes NULL if size < 128 + storage = extended, + analyze = span_analyze +); +CREATE TYPE floatspanset ( + internallength = variable, + input = floatspanset_in, + output = floatspanset_out, + receive = floatspanset_recv, + send = floatspanset_send, + alignment = double, +-- The following line makes NULL if size < 128 + storage = extended, + analyze = span_analyze +); +CREATE TYPE datespanset ( + internallength = variable, + input = datespanset_in, + output = datespanset_out, + receive = datespanset_recv, + send = datespanset_send, + alignment = double, + storage = extended, + analyze = span_analyze +); +CREATE TYPE tstzspanset ( + internallength = variable, + input = tstzspanset_in, + output = tstzspanset_out, + receive = tstzspanset_recv, + send = tstzspanset_send, + alignment = double, + storage = extended, + analyze = span_analyze +); + +/******************************************************************************/ + +-- Input/output in WKB and HexWKB representation + +CREATE FUNCTION intspansetFromBinary(bytea) + RETURNS intspanset + AS 'MODULE_PATHNAME', 'Spanset_from_wkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION bigintspansetFromBinary(bytea) + RETURNS bigintspanset + AS 'MODULE_PATHNAME', 'Spanset_from_wkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION floatspansetFromBinary(bytea) + RETURNS floatspanset + AS 'MODULE_PATHNAME', 'Spanset_from_wkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION datespansetFromBinary(bytea) + RETURNS datespanset + AS 'MODULE_PATHNAME', 'Spanset_from_wkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tstzspansetFromBinary(bytea) + RETURNS tstzspanset + AS 'MODULE_PATHNAME', 'Spanset_from_wkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION intspansetFromHexWKB(text) + RETURNS intspanset + AS 'MODULE_PATHNAME', 'Spanset_from_hexwkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION bigintspansetFromHexWKB(text) + RETURNS bigintspanset + AS 'MODULE_PATHNAME', 'Spanset_from_hexwkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION floatspansetFromHexWKB(text) + RETURNS floatspanset + AS 'MODULE_PATHNAME', 'Spanset_from_hexwkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION datespansetFromHexWKB(text) + RETURNS datespanset + AS 'MODULE_PATHNAME', 'Spanset_from_hexwkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tstzspansetFromHexWKB(text) + RETURNS tstzspanset + AS 'MODULE_PATHNAME', 'Spanset_from_hexwkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION asText(intspanset) + RETURNS text + AS 'MODULE_PATHNAME', 'Spanset_as_text' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION asText(bigintspanset) + RETURNS text + AS 'MODULE_PATHNAME', 'Spanset_as_text' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION asText(floatspanset, maxdecimaldigits int4 DEFAULT 15) + RETURNS text + AS 'MODULE_PATHNAME', 'Spanset_as_text' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION asText(datespanset) + RETURNS text + AS 'MODULE_PATHNAME', 'Spanset_as_text' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION asText(tstzspanset) + RETURNS text + AS 'MODULE_PATHNAME', 'Spanset_as_text' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION asBinary(intspanset, endianenconding text DEFAULT '') + RETURNS bytea + AS 'MODULE_PATHNAME', 'Spanset_as_wkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION asBinary(bigintspanset, endianenconding text DEFAULT '') + RETURNS bytea + AS 'MODULE_PATHNAME', 'Spanset_as_wkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION asBinary(floatspanset, endianenconding text DEFAULT '') + RETURNS bytea + AS 'MODULE_PATHNAME', 'Spanset_as_wkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION asBinary(datespanset, endianenconding text DEFAULT '') + RETURNS bytea + AS 'MODULE_PATHNAME', 'Spanset_as_wkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION asBinary(tstzspanset, endianenconding text DEFAULT '') + RETURNS bytea + AS 'MODULE_PATHNAME', 'Spanset_as_wkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION asHexWKB(intspanset, endianenconding text DEFAULT '') + RETURNS text + AS 'MODULE_PATHNAME', 'Spanset_as_hexwkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION asHexWKB(bigintspanset, endianenconding text DEFAULT '') + RETURNS text + AS 'MODULE_PATHNAME', 'Spanset_as_hexwkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION asHexWKB(floatspanset, endianenconding text DEFAULT '') + RETURNS text + AS 'MODULE_PATHNAME', 'Spanset_as_hexwkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION asHexWKB(datespanset, endianenconding text DEFAULT '') + RETURNS text + AS 'MODULE_PATHNAME', 'Spanset_as_hexwkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION asHexWKB(tstzspanset, endianenconding text DEFAULT '') + RETURNS text + AS 'MODULE_PATHNAME', 'Spanset_as_hexwkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/****************************************************************************** + * Constructor functions + ******************************************************************************/ + +CREATE FUNCTION spanset(intspan[]) + RETURNS intspanset + AS 'MODULE_PATHNAME', 'Spanset_constructor' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION spanset(bigintspan[]) + RETURNS bigintspanset + AS 'MODULE_PATHNAME', 'Spanset_constructor' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION spanset(floatspan[]) + RETURNS floatspanset + AS 'MODULE_PATHNAME', 'Spanset_constructor' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION spanset(datespan[]) + RETURNS datespanset + AS 'MODULE_PATHNAME', 'Spanset_constructor' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION spanset(tstzspan[]) + RETURNS tstzspanset + AS 'MODULE_PATHNAME', 'Spanset_constructor' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/****************************************************************************** + * Conversion functions + ******************************************************************************/ + +CREATE FUNCTION spanset(integer) + RETURNS intspanset + AS 'MODULE_PATHNAME', 'Value_to_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION spanset(bigint) + RETURNS bigintspanset + AS 'MODULE_PATHNAME', 'Value_to_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION spanset(float) + RETURNS floatspanset + AS 'MODULE_PATHNAME', 'Value_to_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION spanset(date) + RETURNS datespanset + AS 'MODULE_PATHNAME', 'Value_to_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION spanset(timestamptz) + RETURNS tstzspanset + AS 'MODULE_PATHNAME', 'Value_to_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE CAST (integer AS intspanset) WITH FUNCTION spanset(integer); +CREATE CAST (bigint AS bigintspanset) WITH FUNCTION spanset(bigint); +CREATE CAST (float AS floatspanset) WITH FUNCTION spanset(float); +CREATE CAST (date AS datespanset) WITH FUNCTION spanset(date); +CREATE CAST (timestamptz AS tstzspanset) WITH FUNCTION spanset(timestamptz); + +CREATE FUNCTION spanset(intset) + RETURNS intspanset + AS 'MODULE_PATHNAME', 'Set_to_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION spanset(bigintset) + RETURNS bigintspanset + AS 'MODULE_PATHNAME', 'Set_to_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION spanset(floatset) + RETURNS floatspanset + AS 'MODULE_PATHNAME', 'Set_to_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION spanset(dateset) + RETURNS datespanset + AS 'MODULE_PATHNAME', 'Set_to_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION spanset(tstzset) + RETURNS tstzspanset + AS 'MODULE_PATHNAME', 'Set_to_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE CAST (intset AS intspanset) WITH FUNCTION spanset(intset); +CREATE CAST (bigintset AS bigintspanset) WITH FUNCTION spanset(bigintset); +CREATE CAST (floatset AS floatspanset) WITH FUNCTION spanset(floatset); +CREATE CAST (dateset AS datespanset) WITH FUNCTION spanset(dateset); +CREATE CAST (tstzset AS tstzspanset) WITH FUNCTION spanset(tstzset); + +CREATE FUNCTION spanset(intspan) + RETURNS intspanset + AS 'MODULE_PATHNAME', 'Span_to_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION spanset(bigintspan) + RETURNS bigintspanset + AS 'MODULE_PATHNAME', 'Span_to_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION spanset(floatspan) + RETURNS floatspanset + AS 'MODULE_PATHNAME', 'Span_to_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION spanset(datespan) + RETURNS datespanset + AS 'MODULE_PATHNAME', 'Span_to_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION spanset(tstzspan) + RETURNS tstzspanset + AS 'MODULE_PATHNAME', 'Span_to_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE CAST (intspan AS intspanset) WITH FUNCTION spanset(intspan); +CREATE CAST (bigintspan AS bigintspanset) WITH FUNCTION spanset(bigintspan); +CREATE CAST (floatspan AS floatspanset) WITH FUNCTION spanset(floatspan); +CREATE CAST (datespan AS datespanset) WITH FUNCTION spanset(datespan); +CREATE CAST (tstzspan AS tstzspanset) WITH FUNCTION spanset(tstzspan); + +CREATE FUNCTION span(intspanset) + RETURNS intspan + AS 'MODULE_PATHNAME', 'Spanset_to_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span(bigintspanset) + RETURNS bigintspan + AS 'MODULE_PATHNAME', 'Spanset_to_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span(floatspanset) + RETURNS floatspan + AS 'MODULE_PATHNAME', 'Spanset_to_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span(datespanset) + RETURNS datespan + AS 'MODULE_PATHNAME', 'Spanset_to_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span(tstzspanset) + RETURNS tstzspan + AS 'MODULE_PATHNAME', 'Spanset_to_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE CAST (intspanset AS intspan) WITH FUNCTION span(intspanset); +CREATE CAST (bigintspanset AS bigintspan) WITH FUNCTION span(bigintspanset); +CREATE CAST (floatspanset AS floatspan) WITH FUNCTION span(floatspanset); +CREATE CAST (datespanset AS datespan) WITH FUNCTION span(datespanset); +CREATE CAST (tstzspanset AS tstzspan) WITH FUNCTION span(tstzspanset); + +CREATE FUNCTION intspanset(floatspanset) + RETURNS intspanset + AS 'MODULE_PATHNAME', 'Floatspanset_to_intspanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION floatspanset(intspanset) + RETURNS floatspanset + AS 'MODULE_PATHNAME', 'Intspanset_to_floatspanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE CAST (intspanset AS floatspanset) WITH FUNCTION floatspanset(intspanset); +CREATE CAST (floatspanset AS intspanset) WITH FUNCTION intspanset(floatspanset); + +CREATE FUNCTION datespanset(tstzspanset) + RETURNS datespanset + AS 'MODULE_PATHNAME', 'Tstzspanset_to_datespanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tstzspanset(datespanset) + RETURNS tstzspanset + AS 'MODULE_PATHNAME', 'Datespanset_to_tstzspanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE CAST (datespanset AS tstzspanset) WITH FUNCTION tstzspanset(datespanset); +CREATE CAST (tstzspanset AS datespanset) WITH FUNCTION datespanset(tstzspanset); + +#if POSTGRESQL_VERSION_NUMBER >= 140000 +CREATE FUNCTION multirange(intspanset) + RETURNS int4multirange + AS 'MODULE_PATHNAME', 'Spanset_to_multirange' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION multirange(bigintspanset) + RETURNS int8multirange + AS 'MODULE_PATHNAME', 'Spanset_to_multirange' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION multirange(datespanset) + RETURNS datemultirange + AS 'MODULE_PATHNAME', 'Spanset_to_multirange' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION multirange(tstzspanset) + RETURNS tstzmultirange + AS 'MODULE_PATHNAME', 'Spanset_to_multirange' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION spanset(int4multirange) + RETURNS intspanset + AS 'MODULE_PATHNAME', 'Multirange_to_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION spanset(int8multirange) + RETURNS bigintspanset + AS 'MODULE_PATHNAME', 'Multirange_to_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION spanset(datemultirange) + RETURNS datespanset + AS 'MODULE_PATHNAME', 'Multirange_to_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION spanset(tstzmultirange) + RETURNS tstzspanset + AS 'MODULE_PATHNAME', 'Multirange_to_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE CAST (intspanset AS int4multirange) WITH FUNCTION multirange(intspanset); +CREATE CAST (bigintspanset AS int8multirange) WITH FUNCTION multirange(bigintspanset); +CREATE CAST (datespanset AS datemultirange) WITH FUNCTION multirange(datespanset); +CREATE CAST (tstzspanset AS tstzmultirange) WITH FUNCTION multirange(tstzspanset); +CREATE CAST (int4multirange AS intspanset) WITH FUNCTION spanset(int4multirange); +CREATE CAST (int8multirange AS bigintspanset) WITH FUNCTION spanset(int8multirange); +CREATE CAST (datemultirange AS datespanset) WITH FUNCTION spanset(datemultirange); +CREATE CAST (tstzmultirange AS tstzspanset) WITH FUNCTION spanset(tstzmultirange); +#endif //POSTGRESQL_VERSION_NUMBER >= 140000 + +/****************************************************************************** + * Accessor Functions + ******************************************************************************/ + +CREATE FUNCTION memSize(intspanset) + RETURNS integer + AS 'MODULE_PATHNAME', 'Spanset_mem_size' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION memSize(bigintspanset) + RETURNS integer + AS 'MODULE_PATHNAME', 'Spanset_mem_size' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION memSize(floatspanset) + RETURNS integer + AS 'MODULE_PATHNAME', 'Spanset_mem_size' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION memSize(datespanset) + RETURNS integer + AS 'MODULE_PATHNAME', 'Spanset_mem_size' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION memSize(tstzspanset) + RETURNS integer + AS 'MODULE_PATHNAME', 'Spanset_mem_size' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION lower(intspanset) + RETURNS integer + AS 'MODULE_PATHNAME', 'Spanset_lower' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION lower(bigintspanset) + RETURNS bigint + AS 'MODULE_PATHNAME', 'Spanset_lower' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION lower(floatspanset) + RETURNS float + AS 'MODULE_PATHNAME', 'Spanset_lower' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION lower(datespanset) + RETURNS date + AS 'MODULE_PATHNAME', 'Spanset_lower' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION lower(tstzspanset) + RETURNS timestamptz + AS 'MODULE_PATHNAME', 'Spanset_lower' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION upper(intspanset) + RETURNS integer + AS 'MODULE_PATHNAME', 'Spanset_upper' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION upper(bigintspanset) + RETURNS bigint + AS 'MODULE_PATHNAME', 'Spanset_upper' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION upper(floatspanset) + RETURNS float + AS 'MODULE_PATHNAME', 'Spanset_upper' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION upper(datespanset) + RETURNS date + AS 'MODULE_PATHNAME', 'Spanset_upper' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION upper(tstzspanset) + RETURNS timestamptz + AS 'MODULE_PATHNAME', 'Spanset_upper' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION lowerInc(intspanset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Spanset_lower_inc' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION lowerInc(bigintspanset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Spanset_lower_inc' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION lowerInc(floatspanset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Spanset_lower_inc' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION lowerInc(datespanset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Spanset_lower_inc' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION lowerInc(tstzspanset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Spanset_lower_inc' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION upperInc(intspanset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Spanset_upper_inc' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION upperInc(bigintspanset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Spanset_upper_inc' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION upperInc(floatspanset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Spanset_upper_inc' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION upperInc(datespanset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Spanset_upper_inc' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION upperInc(tstzspanset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Spanset_upper_inc' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION width(intspanset, boundspan boolean DEFAULT FALSE) + RETURNS int + AS 'MODULE_PATHNAME', 'Numspanset_width' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION width(bigintspanset, boundspan boolean DEFAULT FALSE) + RETURNS bigint + AS 'MODULE_PATHNAME', 'Numspanset_width' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION width(floatspanset, boundspan boolean DEFAULT FALSE) + RETURNS float + AS 'MODULE_PATHNAME', 'Numspanset_width' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION duration(datespanset, boundspan boolean DEFAULT FALSE) + RETURNS interval + AS 'MODULE_PATHNAME', 'Datespanset_duration' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION duration(tstzspanset, boundspan boolean DEFAULT FALSE) + RETURNS interval + AS 'MODULE_PATHNAME', 'Tstzspanset_duration' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION numSpans(intspanset) + RETURNS integer + AS 'MODULE_PATHNAME', 'Spanset_num_spans' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION numSpans(bigintspanset) + RETURNS integer + AS 'MODULE_PATHNAME', 'Spanset_num_spans' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION numSpans(floatspanset) + RETURNS integer + AS 'MODULE_PATHNAME', 'Spanset_num_spans' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION numSpans(datespanset) + RETURNS integer + AS 'MODULE_PATHNAME', 'Spanset_num_spans' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION numSpans(tstzspanset) + RETURNS integer + AS 'MODULE_PATHNAME', 'Spanset_num_spans' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION startSpan(intspanset) + RETURNS intspan + AS 'MODULE_PATHNAME', 'Spanset_start_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION startSpan(bigintspanset) + RETURNS bigintspan + AS 'MODULE_PATHNAME', 'Spanset_start_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION startSpan(floatspanset) + RETURNS floatspan + AS 'MODULE_PATHNAME', 'Spanset_start_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION startSpan(datespanset) + RETURNS datespan + AS 'MODULE_PATHNAME', 'Spanset_start_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION startSpan(tstzspanset) + RETURNS tstzspan + AS 'MODULE_PATHNAME', 'Spanset_start_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION endSpan(intspanset) + RETURNS intspan + AS 'MODULE_PATHNAME', 'Spanset_end_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION endSpan(bigintspanset) + RETURNS bigintspan + AS 'MODULE_PATHNAME', 'Spanset_end_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION endSpan(floatspanset) + RETURNS floatspan + AS 'MODULE_PATHNAME', 'Spanset_end_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION endSpan(datespanset) + RETURNS datespan + AS 'MODULE_PATHNAME', 'Spanset_end_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION endSpan(tstzspanset) + RETURNS tstzspan + AS 'MODULE_PATHNAME', 'Spanset_end_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION spanN(intspanset, integer) + RETURNS intspan + AS 'MODULE_PATHNAME', 'Spanset_span_n' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION spanN(bigintspanset, integer) + RETURNS bigintspan + AS 'MODULE_PATHNAME', 'Spanset_span_n' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION spanN(floatspanset, integer) + RETURNS floatspan + AS 'MODULE_PATHNAME', 'Spanset_span_n' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION spanN(datespanset, integer) + RETURNS datespan + AS 'MODULE_PATHNAME', 'Spanset_span_n' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION spanN(tstzspanset, integer) + RETURNS tstzspan + AS 'MODULE_PATHNAME', 'Spanset_span_n' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION numDates(datespanset) + RETURNS integer + AS 'MODULE_PATHNAME', 'Datespanset_num_dates' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION startDate(datespanset) + RETURNS date + AS 'MODULE_PATHNAME', 'Datespanset_start_date' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION endDate(datespanset) + RETURNS date + AS 'MODULE_PATHNAME', 'Datespanset_end_date' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION dateN(datespanset, integer) + RETURNS date + AS 'MODULE_PATHNAME', 'Datespanset_date_n' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION dates(datespanset) + RETURNS dateset + AS 'MODULE_PATHNAME', 'Datespanset_dates' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION numTimestamps(tstzspanset) + RETURNS integer + AS 'MODULE_PATHNAME', 'Tstzspanset_num_timestamps' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION startTimestamp(tstzspanset) + RETURNS timestamptz + AS 'MODULE_PATHNAME', 'Tstzspanset_start_timestamptz' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION endTimestamp(tstzspanset) + RETURNS timestamptz + AS 'MODULE_PATHNAME', 'Tstzspanset_end_timestamptz' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION timestampN(tstzspanset, integer) + RETURNS timestamptz + AS 'MODULE_PATHNAME', 'Tstzspanset_timestamptz_n' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION timestamps(tstzspanset) + RETURNS tstzset + AS 'MODULE_PATHNAME', 'Tstzspanset_timestamps' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/***************************************************************************** + * Transformation functions + *****************************************************************************/ + +CREATE FUNCTION shift(intspanset, integer) + RETURNS intspanset + AS 'MODULE_PATHNAME', 'Numspanset_shift' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION shift(bigintspanset, bigint) + RETURNS bigintspanset + AS 'MODULE_PATHNAME', 'Numspanset_shift' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION shift(floatspanset, float) + RETURNS floatspanset + AS 'MODULE_PATHNAME', 'Numspanset_shift' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION shift(datespanset, integer) + RETURNS datespanset + AS 'MODULE_PATHNAME', 'Numspanset_shift' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION shift(tstzspanset, interval) + RETURNS tstzspanset + AS 'MODULE_PATHNAME', 'Tstzspanset_shift' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION scale(intspanset, integer) + RETURNS intspanset + AS 'MODULE_PATHNAME', 'Numspanset_scale' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION scale(bigintspanset, bigint) + RETURNS bigintspanset + AS 'MODULE_PATHNAME', 'Numspanset_scale' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION scale(floatspanset, float) + RETURNS floatspanset + AS 'MODULE_PATHNAME', 'Numspanset_scale' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION scale(datespanset, integer) + RETURNS datespanset + AS 'MODULE_PATHNAME', 'Numspanset_scale' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION scale(tstzspanset, interval) + RETURNS tstzspanset + AS 'MODULE_PATHNAME', 'Tstzspanset_scale' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION shiftScale(intspanset, integer, integer) + RETURNS intspanset + AS 'MODULE_PATHNAME', 'Numspanset_shift_scale' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION shiftScale(bigintspanset, bigint, bigint) + RETURNS bigintspanset + AS 'MODULE_PATHNAME', 'Numspanset_shift_scale' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION shiftScale(floatspanset, float, float) + RETURNS floatspanset + AS 'MODULE_PATHNAME', 'Numspanset_shift_scale' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION shiftScale(datespanset, integer, integer) + RETURNS datespanset + AS 'MODULE_PATHNAME', 'Numspanset_shift_scale' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION shiftScale(tstzspanset, interval, interval) + RETURNS tstzspanset + AS 'MODULE_PATHNAME', 'Tstzspanset_shift_scale' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION floor(floatspanset) + RETURNS floatspanset + AS 'MODULE_PATHNAME', 'Floatspanset_floor' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION ceil(floatspanset) + RETURNS floatspanset + AS 'MODULE_PATHNAME', 'Floatspanset_ceil' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION round(floatspanset, integer DEFAULT 0) + RETURNS floatspanset + AS 'MODULE_PATHNAME', 'Floatspanset_round' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION degrees(floatspanset, bool DEFAULT FALSE) + RETURNS floatspanset + AS 'MODULE_PATHNAME', 'Floatspanset_degrees' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION radians(floatspanset) + RETURNS floatspanset + AS 'MODULE_PATHNAME', 'Floatspanset_radians' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/*****************************************************************************/ + +CREATE FUNCTION spans(intspanset) + RETURNS intspan[] + AS 'MODULE_PATHNAME', 'Spanset_spans' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION spans(bigintspanset) + RETURNS bigintspan[] + AS 'MODULE_PATHNAME', 'Spanset_spans' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION spans(floatspanset) + RETURNS floatspan[] + AS 'MODULE_PATHNAME', 'Spanset_spans' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION spans(datespanset) + RETURNS datespan[] + AS 'MODULE_PATHNAME', 'Spanset_spans' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION spans(tstzspanset) + RETURNS tstzspan[] + AS 'MODULE_PATHNAME', 'Spanset_spans' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION splitNSpans(intspanset, integer) + RETURNS intspan[] + AS 'MODULE_PATHNAME', 'Spanset_split_n_spans' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION splitNSpans(bigintspanset, integer) + RETURNS bigintspan[] + AS 'MODULE_PATHNAME', 'Spanset_split_n_spans' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION splitNSpans(floatspanset, integer) + RETURNS floatspan[] + AS 'MODULE_PATHNAME', 'Spanset_split_n_spans' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION splitNSpans(datespanset, integer) + RETURNS datespan[] + AS 'MODULE_PATHNAME', 'Spanset_split_n_spans' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION splitNSpans(tstzspanset, integer) + RETURNS tstzspan[] + AS 'MODULE_PATHNAME', 'Spanset_split_n_spans' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION splitEachNSpans(intspanset, integer) + RETURNS intspan[] + AS 'MODULE_PATHNAME', 'Spanset_split_each_n_spans' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION splitEachNSpans(bigintspanset, integer) + RETURNS bigintspan[] + AS 'MODULE_PATHNAME', 'Spanset_split_each_n_spans' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION splitEachNSpans(floatspanset, integer) + RETURNS floatspan[] + AS 'MODULE_PATHNAME', 'Spanset_split_each_n_spans' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION splitEachNSpans(datespanset, integer) + RETURNS datespan[] + AS 'MODULE_PATHNAME', 'Spanset_split_each_n_spans' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION splitEachNSpans(tstzspanset, integer) + RETURNS tstzspan[] + AS 'MODULE_PATHNAME', 'Spanset_split_each_n_spans' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/****************************************************************************** + * Comparison operators + ******************************************************************************/ + +CREATE FUNCTION spanset_eq(intspanset, intspanset) + RETURNS bool + AS 'MODULE_PATHNAME', 'Spanset_eq' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION spanset_eq(bigintspanset, bigintspanset) + RETURNS bool + AS 'MODULE_PATHNAME', 'Spanset_eq' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION spanset_eq(floatspanset, floatspanset) + RETURNS bool + AS 'MODULE_PATHNAME', 'Spanset_eq' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION spanset_eq(datespanset, datespanset) + RETURNS bool + AS 'MODULE_PATHNAME', 'Spanset_eq' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION spanset_eq(tstzspanset, tstzspanset) + RETURNS bool + AS 'MODULE_PATHNAME', 'Spanset_eq' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION spanset_ne(intspanset, intspanset) + RETURNS bool + AS 'MODULE_PATHNAME', 'Spanset_ne' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION spanset_ne(bigintspanset, bigintspanset) + RETURNS bool + AS 'MODULE_PATHNAME', 'Spanset_ne' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION spanset_ne(floatspanset, floatspanset) + RETURNS bool + AS 'MODULE_PATHNAME', 'Spanset_ne' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION spanset_ne(datespanset, datespanset) + RETURNS bool + AS 'MODULE_PATHNAME', 'Spanset_ne' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION spanset_ne(tstzspanset, tstzspanset) + RETURNS bool + AS 'MODULE_PATHNAME', 'Spanset_ne' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION spanset_lt(intspanset, intspanset) + RETURNS bool + AS 'MODULE_PATHNAME', 'Spanset_lt' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION spanset_lt(bigintspanset, bigintspanset) + RETURNS bool + AS 'MODULE_PATHNAME', 'Spanset_lt' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION spanset_lt(floatspanset, floatspanset) + RETURNS bool + AS 'MODULE_PATHNAME', 'Spanset_lt' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION spanset_lt(datespanset, datespanset) + RETURNS bool + AS 'MODULE_PATHNAME', 'Spanset_lt' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION spanset_lt(tstzspanset, tstzspanset) + RETURNS bool + AS 'MODULE_PATHNAME', 'Spanset_lt' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION spanset_le(intspanset, intspanset) + RETURNS bool + AS 'MODULE_PATHNAME', 'Spanset_le' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION spanset_le(bigintspanset, bigintspanset) + RETURNS bool + AS 'MODULE_PATHNAME', 'Spanset_le' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION spanset_le(floatspanset, floatspanset) + RETURNS bool + AS 'MODULE_PATHNAME', 'Spanset_le' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION spanset_le(datespanset, datespanset) + RETURNS bool + AS 'MODULE_PATHNAME', 'Spanset_le' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION spanset_le(tstzspanset, tstzspanset) + RETURNS bool + AS 'MODULE_PATHNAME', 'Spanset_le' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION spanset_ge(intspanset, intspanset) + RETURNS bool + AS 'MODULE_PATHNAME', 'Spanset_ge' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION spanset_ge(bigintspanset, bigintspanset) + RETURNS bool + AS 'MODULE_PATHNAME', 'Spanset_ge' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION spanset_ge(floatspanset, floatspanset) + RETURNS bool + AS 'MODULE_PATHNAME', 'Spanset_ge' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION spanset_ge(datespanset, datespanset) + RETURNS bool + AS 'MODULE_PATHNAME', 'Spanset_ge' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION spanset_ge(tstzspanset, tstzspanset) + RETURNS bool + AS 'MODULE_PATHNAME', 'Spanset_ge' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION spanset_gt(intspanset, intspanset) + RETURNS bool + AS 'MODULE_PATHNAME', 'Spanset_gt' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION spanset_gt(bigintspanset, bigintspanset) + RETURNS bool + AS 'MODULE_PATHNAME', 'Spanset_gt' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION spanset_gt(floatspanset, floatspanset) + RETURNS bool + AS 'MODULE_PATHNAME', 'Spanset_gt' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION spanset_gt(datespanset, datespanset) + RETURNS bool + AS 'MODULE_PATHNAME', 'Spanset_gt' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION spanset_gt(tstzspanset, tstzspanset) + RETURNS bool + AS 'MODULE_PATHNAME', 'Spanset_gt' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION spanset_cmp(intspanset, intspanset) + RETURNS integer + AS 'MODULE_PATHNAME', 'Spanset_cmp' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION spanset_cmp(bigintspanset, bigintspanset) + RETURNS integer + AS 'MODULE_PATHNAME', 'Spanset_cmp' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION spanset_cmp(floatspanset, floatspanset) + RETURNS integer + AS 'MODULE_PATHNAME', 'Spanset_cmp' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION spanset_cmp(datespanset, datespanset) + RETURNS integer + AS 'MODULE_PATHNAME', 'Spanset_cmp' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION spanset_cmp(tstzspanset, tstzspanset) + RETURNS integer + AS 'MODULE_PATHNAME', 'Spanset_cmp' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR = ( + LEFTARG = intspanset, RIGHTARG = intspanset, + PROCEDURE = spanset_eq, + COMMUTATOR = =, NEGATOR = <>, + RESTRICT = eqsel, JOIN = eqjoinsel +); +CREATE OPERATOR = ( + LEFTARG = bigintspanset, RIGHTARG = bigintspanset, + PROCEDURE = spanset_eq, + COMMUTATOR = =, NEGATOR = <>, + RESTRICT = eqsel, JOIN = eqjoinsel +); +CREATE OPERATOR = ( + LEFTARG = floatspanset, RIGHTARG = floatspanset, + PROCEDURE = spanset_eq, + COMMUTATOR = =, NEGATOR = <>, + RESTRICT = eqsel, JOIN = eqjoinsel +); +CREATE OPERATOR = ( + LEFTARG = datespanset, RIGHTARG = datespanset, + PROCEDURE = spanset_eq, + COMMUTATOR = =, NEGATOR = <>, + RESTRICT = eqsel, JOIN = eqjoinsel +); +CREATE OPERATOR = ( + LEFTARG = tstzspanset, RIGHTARG = tstzspanset, + PROCEDURE = spanset_eq, + COMMUTATOR = =, NEGATOR = <>, + RESTRICT = eqsel, JOIN = eqjoinsel +); + +CREATE OPERATOR <> ( + LEFTARG = intspanset, RIGHTARG = intspanset, + PROCEDURE = spanset_ne, + COMMUTATOR = <>, NEGATOR = =, + RESTRICT = neqsel, JOIN = neqjoinsel +); +CREATE OPERATOR <> ( + LEFTARG = bigintspanset, RIGHTARG = bigintspanset, + PROCEDURE = spanset_ne, + COMMUTATOR = <>, NEGATOR = =, + RESTRICT = neqsel, JOIN = neqjoinsel +); +CREATE OPERATOR <> ( + LEFTARG = floatspanset, RIGHTARG = floatspanset, + PROCEDURE = spanset_ne, + COMMUTATOR = <>, NEGATOR = =, + RESTRICT = neqsel, JOIN = neqjoinsel +); +CREATE OPERATOR <> ( + LEFTARG = datespanset, RIGHTARG = datespanset, + PROCEDURE = spanset_ne, + COMMUTATOR = <>, NEGATOR = =, + RESTRICT = neqsel, JOIN = neqjoinsel +); +CREATE OPERATOR <> ( + LEFTARG = tstzspanset, RIGHTARG = tstzspanset, + PROCEDURE = spanset_ne, + COMMUTATOR = <>, NEGATOR = =, + RESTRICT = neqsel, JOIN = neqjoinsel +); + +CREATE OPERATOR < ( + LEFTARG = intspanset, RIGHTARG = intspanset, + PROCEDURE = spanset_lt, + COMMUTATOR = >, NEGATOR = >=, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR < ( + LEFTARG = bigintspanset, RIGHTARG = bigintspanset, + PROCEDURE = spanset_lt, + COMMUTATOR = >, NEGATOR = >=, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR < ( + LEFTARG = floatspanset, RIGHTARG = floatspanset, + PROCEDURE = spanset_lt, + COMMUTATOR = >, NEGATOR = >=, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR < ( + LEFTARG = datespanset, RIGHTARG = datespanset, + PROCEDURE = spanset_lt, + COMMUTATOR = >, NEGATOR = >=, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR < ( + LEFTARG = tstzspanset, RIGHTARG = tstzspanset, + PROCEDURE = spanset_lt, + COMMUTATOR = >, NEGATOR = >=, + RESTRICT = span_sel, JOIN = span_joinsel +); + +CREATE OPERATOR <= ( + LEFTARG = intspanset, RIGHTARG = intspanset, + PROCEDURE = spanset_le, + COMMUTATOR = >=, NEGATOR = >, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR <= ( + LEFTARG = bigintspanset, RIGHTARG = bigintspanset, + PROCEDURE = spanset_le, + COMMUTATOR = >=, NEGATOR = >, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR <= ( + LEFTARG = floatspanset, RIGHTARG = floatspanset, + PROCEDURE = spanset_le, + COMMUTATOR = >=, NEGATOR = >, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR <= ( + LEFTARG = datespanset, RIGHTARG = datespanset, + PROCEDURE = spanset_le, + COMMUTATOR = >=, NEGATOR = >, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR <= ( + LEFTARG = tstzspanset, RIGHTARG = tstzspanset, + PROCEDURE = spanset_le, + COMMUTATOR = >=, NEGATOR = >, + RESTRICT = span_sel, JOIN = span_joinsel +); + +CREATE OPERATOR >= ( + LEFTARG = intspanset, RIGHTARG = intspanset, + PROCEDURE = spanset_ge, + COMMUTATOR = <=, NEGATOR = <, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR >= ( + LEFTARG = bigintspanset, RIGHTARG = bigintspanset, + PROCEDURE = spanset_ge, + COMMUTATOR = <=, NEGATOR = <, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR >= ( + LEFTARG = floatspanset, RIGHTARG = floatspanset, + PROCEDURE = spanset_ge, + COMMUTATOR = <=, NEGATOR = <, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR >= ( + LEFTARG = datespanset, RIGHTARG = datespanset, + PROCEDURE = spanset_ge, + COMMUTATOR = <=, NEGATOR = <, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR >= ( + LEFTARG = tstzspanset, RIGHTARG = tstzspanset, + PROCEDURE = spanset_ge, + COMMUTATOR = <=, NEGATOR = <, + RESTRICT = span_sel, JOIN = span_joinsel +); + +CREATE OPERATOR > ( + LEFTARG = intspanset, RIGHTARG = intspanset, + PROCEDURE = spanset_gt, + COMMUTATOR = <, NEGATOR = <=, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR > ( + LEFTARG = bigintspanset, RIGHTARG = bigintspanset, + PROCEDURE = spanset_gt, + COMMUTATOR = <, NEGATOR = <=, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR > ( + LEFTARG = floatspanset, RIGHTARG = floatspanset, + PROCEDURE = spanset_gt, + COMMUTATOR = <, NEGATOR = <=, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR > ( + LEFTARG = datespanset, RIGHTARG = datespanset, + PROCEDURE = spanset_gt, + COMMUTATOR = <, NEGATOR = <=, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR > ( + LEFTARG = tstzspanset, RIGHTARG = tstzspanset, + PROCEDURE = spanset_gt, + COMMUTATOR = <, NEGATOR = <=, + RESTRICT = span_sel, JOIN = span_joinsel +); + +CREATE OPERATOR CLASS intspanset_btree_ops + DEFAULT FOR TYPE intspanset USING btree AS + OPERATOR 1 <, + OPERATOR 2 <=, + OPERATOR 3 =, + OPERATOR 4 >=, + OPERATOR 5 >, + FUNCTION 1 spanset_cmp(intspanset, intspanset); +CREATE OPERATOR CLASS bigintspanset_btree_ops + DEFAULT FOR TYPE bigintspanset USING btree AS + OPERATOR 1 <, + OPERATOR 2 <=, + OPERATOR 3 =, + OPERATOR 4 >=, + OPERATOR 5 >, + FUNCTION 1 spanset_cmp(bigintspanset, bigintspanset); +CREATE OPERATOR CLASS floatspanset_btree_ops + DEFAULT FOR TYPE floatspanset USING btree AS + OPERATOR 1 <, + OPERATOR 2 <=, + OPERATOR 3 =, + OPERATOR 4 >=, + OPERATOR 5 >, + FUNCTION 1 spanset_cmp(floatspanset, floatspanset); +CREATE OPERATOR CLASS datespanset_btree_ops + DEFAULT FOR TYPE datespanset USING btree AS + OPERATOR 1 <, + OPERATOR 2 <=, + OPERATOR 3 =, + OPERATOR 4 >=, + OPERATOR 5 >, + FUNCTION 1 spanset_cmp(datespanset, datespanset); +CREATE OPERATOR CLASS tstzspanset_btree_ops + DEFAULT FOR TYPE tstzspanset USING btree AS + OPERATOR 1 <, + OPERATOR 2 <=, + OPERATOR 3 =, + OPERATOR 4 >=, + OPERATOR 5 >, + FUNCTION 1 spanset_cmp(tstzspanset, tstzspanset); + +/******************************************************************************/ + +CREATE FUNCTION spanset_hash(intspanset) + RETURNS integer + AS 'MODULE_PATHNAME', 'Spanset_hash' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION spanset_hash(bigintspanset) + RETURNS integer + AS 'MODULE_PATHNAME', 'Spanset_hash' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION spanset_hash(floatspanset) + RETURNS integer + AS 'MODULE_PATHNAME', 'Spanset_hash' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION spanset_hash(datespanset) + RETURNS integer + AS 'MODULE_PATHNAME', 'Spanset_hash' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION spanset_hash(tstzspanset) + RETURNS integer + AS 'MODULE_PATHNAME', 'Spanset_hash' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION spanset_hash_extended(intspanset, bigint) + RETURNS bigint + AS 'MODULE_PATHNAME', 'Spanset_hash_extended' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION spanset_hash_extended(bigintspanset, bigint) + RETURNS bigint + AS 'MODULE_PATHNAME', 'Spanset_hash_extended' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION spanset_hash_extended(floatspanset, bigint) + RETURNS bigint + AS 'MODULE_PATHNAME', 'Spanset_hash_extended' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION spanset_hash_extended(datespanset, bigint) + RETURNS bigint + AS 'MODULE_PATHNAME', 'Spanset_hash_extended' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION spanset_hash_extended(tstzspanset, bigint) + RETURNS bigint + AS 'MODULE_PATHNAME', 'Spanset_hash_extended' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR CLASS intspanset_hash_ops + DEFAULT FOR TYPE intspanset USING hash AS + OPERATOR 1 = , + FUNCTION 1 spanset_hash(intspanset), + FUNCTION 2 spanset_hash_extended(intspanset, bigint); +CREATE OPERATOR CLASS bigintspanset_hash_ops + DEFAULT FOR TYPE bigintspanset USING hash AS + OPERATOR 1 = , + FUNCTION 1 spanset_hash(bigintspanset), + FUNCTION 2 spanset_hash_extended(bigintspanset, bigint); +CREATE OPERATOR CLASS floatspanset_hash_ops + DEFAULT FOR TYPE floatspanset USING hash AS + OPERATOR 1 = , + FUNCTION 1 spanset_hash(floatspanset), + FUNCTION 2 spanset_hash_extended(floatspanset, bigint); +CREATE OPERATOR CLASS datespanset_hash_ops + DEFAULT FOR TYPE datespanset USING hash AS + OPERATOR 1 = , + FUNCTION 1 spanset_hash(datespanset), + FUNCTION 2 spanset_hash_extended(datespanset, bigint); +CREATE OPERATOR CLASS tstzspanset_hash_ops + DEFAULT FOR TYPE tstzspanset USING hash AS + OPERATOR 1 = , + FUNCTION 1 spanset_hash(tstzspanset), + FUNCTION 2 spanset_hash_extended(tstzspanset, bigint); + + +/******************************************************************************/ diff --git a/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/temporal/009_spanset_ops.in.sql b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/temporal/009_spanset_ops.in.sql new file mode 100644 index 00000000..cfa8fc8f --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/temporal/009_spanset_ops.in.sql @@ -0,0 +1,2829 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @file + * @brief Operators for span set types + */ + +CREATE FUNCTION tprecision(timestamptz, duration interval, + origin timestamptz DEFAULT '2000-01-03') + RETURNS timestamptz + AS 'MODULE_PATHNAME', 'Timestamptz_tprecision' + LANGUAGE C IMMUTABLE PARALLEL SAFE STRICT; +CREATE FUNCTION tprecision(tstzset, duration interval, + origin timestamptz DEFAULT '2000-01-03') + RETURNS tstzset + AS 'MODULE_PATHNAME', 'Tstzset_tprecision' + LANGUAGE C IMMUTABLE PARALLEL SAFE STRICT; +CREATE FUNCTION tprecision(tstzspan, duration interval, + origin timestamptz DEFAULT '2000-01-03') + RETURNS tstzspan + AS 'MODULE_PATHNAME', 'Tstzspan_tprecision' + LANGUAGE C IMMUTABLE PARALLEL SAFE STRICT; +CREATE FUNCTION tprecision(tstzspanset, duration interval, + origin timestamptz DEFAULT '2000-01-03') + RETURNS tstzspanset + AS 'MODULE_PATHNAME', 'Tstzspanset_tprecision' + LANGUAGE C IMMUTABLE PARALLEL SAFE STRICT; + +/****************************************************************************** + * Operators + ******************************************************************************/ + +CREATE FUNCTION span_contains(intspan, intspanset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contains_span_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_contains(intspanset, integer) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contains_spanset_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_contains(intspanset, intspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contains_spanset_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_contains(intspanset, intspanset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contains_spanset_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR @> ( + PROCEDURE = span_contains, + LEFTARG = intspan, RIGHTARG = intspanset, + COMMUTATOR = <@, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR @> ( + PROCEDURE = span_contains, + LEFTARG = intspanset, RIGHTARG = integer, + COMMUTATOR = <@, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR @> ( + PROCEDURE = span_contains, + LEFTARG = intspanset, RIGHTARG = intspan, + COMMUTATOR = <@, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR @> ( + PROCEDURE = span_contains, + LEFTARG = intspanset, RIGHTARG = intspanset, + COMMUTATOR = <@, + RESTRICT = span_sel, JOIN = span_joinsel +); + +CREATE FUNCTION span_contains(bigintspan, bigintspanset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contains_span_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_contains(bigintspanset, bigint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contains_spanset_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_contains(bigintspanset, bigintspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contains_spanset_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_contains(bigintspanset, bigintspanset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contains_spanset_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR @> ( + PROCEDURE = span_contains, + LEFTARG = bigintspan, RIGHTARG = bigintspanset, + COMMUTATOR = <@, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR @> ( + PROCEDURE = span_contains, + LEFTARG = bigintspanset, RIGHTARG = bigint, + COMMUTATOR = <@, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR @> ( + PROCEDURE = span_contains, + LEFTARG = bigintspanset, RIGHTARG = bigintspan, + COMMUTATOR = <@, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR @> ( + PROCEDURE = span_contains, + LEFTARG = bigintspanset, RIGHTARG = bigintspanset, + COMMUTATOR = <@, + RESTRICT = span_sel, JOIN = span_joinsel +); + +CREATE FUNCTION span_contains(floatspan, floatspanset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contains_span_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_contains(floatspanset, float) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contains_spanset_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_contains(floatspanset, floatspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contains_spanset_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_contains(floatspanset, floatspanset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contains_spanset_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR @> ( + PROCEDURE = span_contains, + LEFTARG = floatspan, RIGHTARG = floatspanset, + COMMUTATOR = <@, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR @> ( + PROCEDURE = span_contains, + LEFTARG = floatspanset, RIGHTARG = float, + COMMUTATOR = <@, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR @> ( + PROCEDURE = span_contains, + LEFTARG = floatspanset, RIGHTARG = floatspan, + COMMUTATOR = <@, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR @> ( + PROCEDURE = span_contains, + LEFTARG = floatspanset, RIGHTARG = floatspanset, + COMMUTATOR = <@, + RESTRICT = span_sel, JOIN = span_joinsel +); + +CREATE FUNCTION span_contains(datespan, datespanset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contains_span_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_contains(datespanset, date) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contains_spanset_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_contains(datespanset, datespan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contains_spanset_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_contains(datespanset, datespanset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contains_spanset_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR @> ( + PROCEDURE = span_contains, + LEFTARG = datespan, RIGHTARG = datespanset, + COMMUTATOR = <@, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR @> ( + PROCEDURE = span_contains, + LEFTARG = datespanset, RIGHTARG = date, + COMMUTATOR = <@, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR @> ( + PROCEDURE = span_contains, + LEFTARG = datespanset, RIGHTARG = datespan, + COMMUTATOR = <@, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR @> ( + PROCEDURE = span_contains, + LEFTARG = datespanset, RIGHTARG = datespanset, + COMMUTATOR = <@, + RESTRICT = span_sel, JOIN = span_joinsel +); + +CREATE FUNCTION span_contains(tstzspan, tstzspanset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contains_span_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_contains(tstzspanset, timestamptz) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contains_spanset_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_contains(tstzspanset, tstzspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contains_spanset_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_contains(tstzspanset, tstzspanset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contains_spanset_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR @> ( + PROCEDURE = span_contains, + LEFTARG = tstzspan, RIGHTARG = tstzspanset, + COMMUTATOR = <@, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR @> ( + PROCEDURE = span_contains, + LEFTARG = tstzspanset, RIGHTARG = timestamptz, + COMMUTATOR = <@, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR @> ( + PROCEDURE = span_contains, + LEFTARG = tstzspanset, RIGHTARG = tstzspan, + COMMUTATOR = <@, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR @> ( + PROCEDURE = span_contains, + LEFTARG = tstzspanset, RIGHTARG = tstzspanset, + COMMUTATOR = <@, + RESTRICT = span_sel, JOIN = span_joinsel +); + +/*****************************************************************************/ + +CREATE FUNCTION span_contained(integer, intspanset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contained_value_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_contained(intspan, intspanset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contained_span_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_contained(intspanset, intspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contained_spanset_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_contained(intspanset, intspanset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contained_spanset_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR <@ ( + PROCEDURE = span_contained, + LEFTARG = integer, RIGHTARG = intspanset, + COMMUTATOR = @>, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR <@ ( + PROCEDURE = span_contained, + LEFTARG = intspan, RIGHTARG = intspanset, + COMMUTATOR = @>, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR <@ ( + PROCEDURE = span_contained, + LEFTARG = intspanset, RIGHTARG = intspan, + COMMUTATOR = @>, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR <@ ( + PROCEDURE = span_contained, + LEFTARG = intspanset, RIGHTARG = intspanset, + COMMUTATOR = @>, + RESTRICT = span_sel, JOIN = span_joinsel +); + +CREATE FUNCTION span_contained(bigint, bigintspanset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contained_value_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_contained(bigintspan, bigintspanset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contained_span_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_contained(bigintspanset, bigintspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contained_spanset_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_contained(bigintspanset, bigintspanset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contained_spanset_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR <@ ( + PROCEDURE = span_contained, + LEFTARG = bigint, RIGHTARG = bigintspanset, + COMMUTATOR = @>, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR <@ ( + PROCEDURE = span_contained, + LEFTARG = bigintspan, RIGHTARG = bigintspanset, + COMMUTATOR = @>, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR <@ ( + PROCEDURE = span_contained, + LEFTARG = bigintspanset, RIGHTARG = bigintspan, + COMMUTATOR = @>, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR <@ ( + PROCEDURE = span_contained, + LEFTARG = bigintspanset, RIGHTARG = bigintspanset, + COMMUTATOR = @>, + RESTRICT = span_sel, JOIN = span_joinsel +); + +CREATE FUNCTION span_contained(float, floatspanset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contained_value_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_contained(floatspan, floatspanset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contained_span_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_contained(floatspanset, floatspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contained_spanset_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_contained(floatspanset, floatspanset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contained_spanset_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR <@ ( + PROCEDURE = span_contained, + LEFTARG = float, RIGHTARG = floatspanset, + COMMUTATOR = @>, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR <@ ( + PROCEDURE = span_contained, + LEFTARG = floatspan, RIGHTARG = floatspanset, + COMMUTATOR = @>, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR <@ ( + PROCEDURE = span_contained, + LEFTARG = floatspanset, RIGHTARG = floatspan, + COMMUTATOR = @>, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR <@ ( + PROCEDURE = span_contained, + LEFTARG = floatspanset, RIGHTARG = floatspanset, + COMMUTATOR = @>, + RESTRICT = span_sel, JOIN = span_joinsel +); + +CREATE FUNCTION span_contained(date, datespanset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contained_value_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_contained(datespan, datespanset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contained_span_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_contained(datespanset, datespan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contained_spanset_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_contained(datespanset, datespanset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contained_spanset_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR <@ ( + PROCEDURE = span_contained, + LEFTARG = date, RIGHTARG = datespanset, + COMMUTATOR = @>, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR <@ ( + PROCEDURE = span_contained, + LEFTARG = datespan, RIGHTARG = datespanset, + COMMUTATOR = @>, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR <@ ( + PROCEDURE = span_contained, + LEFTARG = datespanset, RIGHTARG = datespan, + COMMUTATOR = @>, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR <@ ( + PROCEDURE = span_contained, + LEFTARG = datespanset, RIGHTARG = datespanset, + COMMUTATOR = @>, + RESTRICT = span_sel, JOIN = span_joinsel +); + +CREATE FUNCTION span_contained(timestamptz, tstzspanset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contained_value_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_contained(tstzspan, tstzspanset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contained_span_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_contained(tstzspanset, tstzspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contained_spanset_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_contained(tstzspanset, tstzspanset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contained_spanset_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR <@ ( + PROCEDURE = span_contained, + LEFTARG = timestamptz, RIGHTARG = tstzspanset, + COMMUTATOR = @>, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR <@ ( + PROCEDURE = span_contained, + LEFTARG = tstzspan, RIGHTARG = tstzspanset, + COMMUTATOR = @>, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR <@ ( + PROCEDURE = span_contained, + LEFTARG = tstzspanset, RIGHTARG = tstzspan, + COMMUTATOR = @>, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR <@ ( + PROCEDURE = span_contained, + LEFTARG = tstzspanset, RIGHTARG = tstzspanset, + COMMUTATOR = @>, + RESTRICT = span_sel, JOIN = span_joinsel +); + +/*****************************************************************************/ + +CREATE FUNCTION span_overlaps(intspan, intspanset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overlaps_span_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_overlaps(intspanset, intspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overlaps_spanset_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_overlaps(intspanset, intspanset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overlaps_spanset_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR && ( + PROCEDURE = span_overlaps, + LEFTARG = intspan, RIGHTARG = intspanset, + COMMUTATOR = &&, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR && ( + PROCEDURE = span_overlaps, + LEFTARG = intspanset, RIGHTARG = intspan, + COMMUTATOR = &&, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR && ( + PROCEDURE = span_overlaps, + LEFTARG = intspanset, RIGHTARG = intspanset, + COMMUTATOR = &&, + RESTRICT = span_sel, JOIN = span_joinsel +); + +CREATE FUNCTION span_overlaps(bigintspan, bigintspanset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overlaps_span_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_overlaps(bigintspanset, bigintspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overlaps_spanset_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_overlaps(bigintspanset, bigintspanset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overlaps_spanset_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR && ( + PROCEDURE = span_overlaps, + LEFTARG = bigintspan, RIGHTARG = bigintspanset, + COMMUTATOR = &&, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR && ( + PROCEDURE = span_overlaps, + LEFTARG = bigintspanset, RIGHTARG = bigintspan, + COMMUTATOR = &&, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR && ( + PROCEDURE = span_overlaps, + LEFTARG = bigintspanset, RIGHTARG = bigintspanset, + COMMUTATOR = &&, + RESTRICT = span_sel, JOIN = span_joinsel +); + +CREATE FUNCTION span_overlaps(floatspan, floatspanset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overlaps_span_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_overlaps(floatspanset, floatspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overlaps_spanset_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_overlaps(floatspanset, floatspanset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overlaps_spanset_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR && ( + PROCEDURE = span_overlaps, + LEFTARG = floatspan, RIGHTARG = floatspanset, + COMMUTATOR = &&, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR && ( + PROCEDURE = span_overlaps, + LEFTARG = floatspanset, RIGHTARG = floatspan, + COMMUTATOR = &&, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR && ( + PROCEDURE = span_overlaps, + LEFTARG = floatspanset, RIGHTARG = floatspanset, + COMMUTATOR = &&, + RESTRICT = span_sel, JOIN = span_joinsel +); + +CREATE FUNCTION span_overlaps(datespan, datespanset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overlaps_span_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_overlaps(datespanset, datespan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overlaps_spanset_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_overlaps(datespanset, datespanset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overlaps_spanset_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR && ( + PROCEDURE = span_overlaps, + LEFTARG = datespan, RIGHTARG = datespanset, + COMMUTATOR = &&, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR && ( + PROCEDURE = span_overlaps, + LEFTARG = datespanset, RIGHTARG = datespan, + COMMUTATOR = &&, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR && ( + PROCEDURE = span_overlaps, + LEFTARG = datespanset, RIGHTARG = datespanset, + COMMUTATOR = &&, + RESTRICT = span_sel, JOIN = span_joinsel +); + +CREATE FUNCTION span_overlaps(tstzspan, tstzspanset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overlaps_span_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_overlaps(tstzspanset, tstzspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overlaps_spanset_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_overlaps(tstzspanset, tstzspanset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overlaps_spanset_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR && ( + PROCEDURE = span_overlaps, + LEFTARG = tstzspan, RIGHTARG = tstzspanset, + COMMUTATOR = &&, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR && ( + PROCEDURE = span_overlaps, + LEFTARG = tstzspanset, RIGHTARG = tstzspan, + COMMUTATOR = &&, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR && ( + PROCEDURE = span_overlaps, + LEFTARG = tstzspanset, RIGHTARG = tstzspanset, + COMMUTATOR = &&, + RESTRICT = span_sel, JOIN = span_joinsel +); + +/*****************************************************************************/ + +CREATE FUNCTION span_left(integer, intspanset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Left_value_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_left(intspan, intspanset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Left_span_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_left(intspanset, integer) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Left_spanset_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_left(intspanset, intspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Left_spanset_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_left(intspanset, intspanset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Left_spanset_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR << ( + PROCEDURE = span_left, + LEFTARG = integer, RIGHTARG = intspanset, + COMMUTATOR = >>, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR << ( + PROCEDURE = span_left, + LEFTARG = intspan, RIGHTARG = intspanset, + COMMUTATOR = >>, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR << ( + PROCEDURE = span_left, + LEFTARG = intspanset, RIGHTARG = integer, + COMMUTATOR = >>, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR << ( + PROCEDURE = span_left, + LEFTARG = intspanset, RIGHTARG = intspan, + COMMUTATOR = >>, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR << ( + PROCEDURE = span_left, + LEFTARG = intspanset, RIGHTARG = intspanset, + COMMUTATOR = >>, + RESTRICT = span_sel, JOIN = span_joinsel +); + +CREATE FUNCTION span_left(bigint, bigintspanset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Left_value_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_left(bigintspan, bigintspanset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Left_span_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_left(bigintspanset, bigint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Left_spanset_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_left(bigintspanset, bigintspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Left_spanset_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_left(bigintspanset, bigintspanset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Left_spanset_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR << ( + PROCEDURE = span_left, + LEFTARG = bigint, RIGHTARG = bigintspanset, + COMMUTATOR = >>, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR << ( + PROCEDURE = span_left, + LEFTARG = bigintspan, RIGHTARG = bigintspanset, + COMMUTATOR = >>, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR << ( + PROCEDURE = span_left, + LEFTARG = bigintspanset, RIGHTARG = bigint, + COMMUTATOR = >>, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR << ( + PROCEDURE = span_left, + LEFTARG = bigintspanset, RIGHTARG = bigintspan, + COMMUTATOR = >>, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR << ( + PROCEDURE = span_left, + LEFTARG = bigintspanset, RIGHTARG = bigintspanset, + COMMUTATOR = >>, + RESTRICT = span_sel, JOIN = span_joinsel +); + +CREATE FUNCTION span_left(float, floatspanset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Left_value_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_left(floatspan, floatspanset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Left_span_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_left(floatspanset, float) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Left_spanset_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_left(floatspanset, floatspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Left_spanset_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_left(floatspanset, floatspanset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Left_spanset_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR << ( + PROCEDURE = span_left, + LEFTARG = float, RIGHTARG = floatspanset, + COMMUTATOR = >>, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR << ( + PROCEDURE = span_left, + LEFTARG = floatspan, RIGHTARG = floatspanset, + COMMUTATOR = >>, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR << ( + PROCEDURE = span_left, + LEFTARG = floatspanset, RIGHTARG = float, + COMMUTATOR = >>, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR << ( + PROCEDURE = span_left, + LEFTARG = floatspanset, RIGHTARG = floatspan, + COMMUTATOR = >>, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR << ( + PROCEDURE = span_left, + LEFTARG = floatspanset, RIGHTARG = floatspanset, + COMMUTATOR = >>, + RESTRICT = span_sel, JOIN = span_joinsel +); + +CREATE FUNCTION span_left(date, datespanset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Left_value_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_left(datespan, datespanset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Left_span_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_left(datespanset, date) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Left_spanset_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_left(datespanset, datespan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Left_spanset_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_left(datespanset, datespanset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Left_spanset_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR <<# ( + PROCEDURE = span_left, + LEFTARG = date, RIGHTARG = datespanset, + COMMUTATOR = #>>, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR <<# ( + PROCEDURE = span_left, + LEFTARG = datespan, RIGHTARG = datespanset, + COMMUTATOR = #>>, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR <<# ( + PROCEDURE = span_left, + LEFTARG = datespanset, RIGHTARG = date, + COMMUTATOR = #>>, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR <<# ( + PROCEDURE = span_left, + LEFTARG = datespanset, RIGHTARG = datespan, + COMMUTATOR = #>>, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR <<# ( + PROCEDURE = span_left, + LEFTARG = datespanset, RIGHTARG = datespanset, + COMMUTATOR = #>>, + RESTRICT = span_sel, JOIN = span_joinsel +); + +CREATE FUNCTION span_left(timestamptz, tstzspanset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Left_value_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_left(tstzspan, tstzspanset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Left_span_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_left(tstzspanset, timestamptz) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Left_spanset_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_left(tstzspanset, tstzspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Left_spanset_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_left(tstzspanset, tstzspanset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Left_spanset_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR <<# ( + PROCEDURE = span_left, + LEFTARG = timestamptz, RIGHTARG = tstzspanset, + COMMUTATOR = #>>, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR <<# ( + PROCEDURE = span_left, + LEFTARG = tstzspan, RIGHTARG = tstzspanset, + COMMUTATOR = #>>, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR <<# ( + PROCEDURE = span_left, + LEFTARG = tstzspanset, RIGHTARG = timestamptz, + COMMUTATOR = #>>, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR <<# ( + PROCEDURE = span_left, + LEFTARG = tstzspanset, RIGHTARG = tstzspan, + COMMUTATOR = #>>, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR <<# ( + PROCEDURE = span_left, + LEFTARG = tstzspanset, RIGHTARG = tstzspanset, + COMMUTATOR = #>>, + RESTRICT = span_sel, JOIN = span_joinsel +); + +/*****************************************************************************/ + +CREATE FUNCTION span_right(integer, intspanset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Right_value_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_right(intspan, intspanset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Right_span_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_right(intspanset, integer) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Right_spanset_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_right(intspanset, intspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Right_spanset_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_right(intspanset, intspanset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Right_spanset_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR >> ( + PROCEDURE = span_right, + LEFTARG = integer, RIGHTARG = intspanset, + COMMUTATOR = <<, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR >> ( + PROCEDURE = span_right, + LEFTARG = intspan, RIGHTARG = intspanset, + COMMUTATOR = <<, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR >> ( + PROCEDURE = span_right, + LEFTARG = intspanset, RIGHTARG = integer, + COMMUTATOR = <<, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR >> ( + PROCEDURE = span_right, + LEFTARG = intspanset, RIGHTARG = intspan, + COMMUTATOR = <<, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR >> ( + PROCEDURE = span_right, + LEFTARG = intspanset, RIGHTARG = intspanset, + COMMUTATOR = <<, + RESTRICT = span_sel, JOIN = span_joinsel +); + +CREATE FUNCTION span_right(bigint, bigintspanset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Right_value_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_right(bigintspan, bigintspanset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Right_span_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_right(bigintspanset, bigint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Right_spanset_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_right(bigintspanset, bigintspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Right_spanset_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_right(bigintspanset, bigintspanset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Right_spanset_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR >> ( + PROCEDURE = span_right, + LEFTARG = bigint, RIGHTARG = bigintspanset, + COMMUTATOR = <<, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR >> ( + PROCEDURE = span_right, + LEFTARG = bigintspan, RIGHTARG = bigintspanset, + COMMUTATOR = <<, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR >> ( + PROCEDURE = span_right, + LEFTARG = bigintspanset, RIGHTARG = bigintspan, + COMMUTATOR = <<, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR >> ( + PROCEDURE = span_right, + LEFTARG = bigintspanset, RIGHTARG = bigint, + COMMUTATOR = <<, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR >> ( + PROCEDURE = span_right, + LEFTARG = bigintspanset, RIGHTARG = bigintspanset, + COMMUTATOR = <<, + RESTRICT = span_sel, JOIN = span_joinsel +); + +CREATE FUNCTION span_right(float, floatspanset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Right_value_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_right(floatspan, floatspanset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Right_span_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_right(floatspanset, float) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Right_spanset_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_right(floatspanset, floatspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Right_spanset_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_right(floatspanset, floatspanset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Right_spanset_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR >> ( + PROCEDURE = span_right, + LEFTARG = float, RIGHTARG = floatspanset, + COMMUTATOR = <<, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR >> ( + PROCEDURE = span_right, + LEFTARG = floatspan, RIGHTARG = floatspanset, + COMMUTATOR = <<, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR >> ( + PROCEDURE = span_right, + LEFTARG = floatspanset, RIGHTARG = float, + COMMUTATOR = <<, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR >> ( + PROCEDURE = span_right, + LEFTARG = floatspanset, RIGHTARG = floatspan, + COMMUTATOR = <<, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR >> ( + PROCEDURE = span_right, + LEFTARG = floatspanset, RIGHTARG = floatspanset, + COMMUTATOR = <<, + RESTRICT = span_sel, JOIN = span_joinsel +); + +CREATE FUNCTION span_right(date, datespanset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Right_value_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_right(datespan, datespanset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Right_span_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_right(datespanset, date) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Right_spanset_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_right(datespanset, datespan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Right_spanset_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_right(datespanset, datespanset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Right_spanset_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR #>> ( + PROCEDURE = span_right, + LEFTARG = date, RIGHTARG = datespanset, + COMMUTATOR = <<#, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR #>> ( + PROCEDURE = span_right, + LEFTARG = datespan, RIGHTARG = datespanset, + COMMUTATOR = <<#, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR #>> ( + PROCEDURE = span_right, + LEFTARG = datespanset, RIGHTARG = date, + COMMUTATOR = <<#, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR #>> ( + PROCEDURE = span_right, + LEFTARG = datespanset, RIGHTARG = datespan, + COMMUTATOR = <<#, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR #>> ( + PROCEDURE = span_right, + LEFTARG = datespanset, RIGHTARG = datespanset, + COMMUTATOR = <<#, + RESTRICT = span_sel, JOIN = span_joinsel +); + +CREATE FUNCTION span_right(timestamptz, tstzspanset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Right_value_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_right(tstzspan, tstzspanset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Right_span_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_right(tstzspanset, timestamptz) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Right_spanset_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_right(tstzspanset, tstzspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Right_spanset_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_right(tstzspanset, tstzspanset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Right_spanset_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR #>> ( + PROCEDURE = span_right, + LEFTARG = timestamptz, RIGHTARG = tstzspanset, + COMMUTATOR = <<#, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR #>> ( + PROCEDURE = span_right, + LEFTARG = tstzspan, RIGHTARG = tstzspanset, + COMMUTATOR = <<#, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR #>> ( + PROCEDURE = span_right, + LEFTARG = tstzspanset, RIGHTARG = timestamptz, + COMMUTATOR = <<#, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR #>> ( + PROCEDURE = span_right, + LEFTARG = tstzspanset, RIGHTARG = tstzspan, + COMMUTATOR = <<#, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR #>> ( + PROCEDURE = span_right, + LEFTARG = tstzspanset, RIGHTARG = tstzspanset, + COMMUTATOR = <<#, + RESTRICT = span_sel, JOIN = span_joinsel +); + +/*****************************************************************************/ + +CREATE FUNCTION span_overleft(integer, intspanset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overleft_value_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_overleft(intspan, intspanset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overleft_span_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_overleft(intspanset, integer) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overleft_spanset_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_overleft(intspanset, intspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overleft_spanset_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_overleft(intspanset, intspanset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overleft_spanset_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR &< ( + PROCEDURE = span_overleft, + LEFTARG = integer, RIGHTARG = intspanset, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR &< ( + PROCEDURE = span_overleft, + LEFTARG = intspan, RIGHTARG = intspanset, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR &< ( + PROCEDURE = span_overleft, + LEFTARG = intspanset, RIGHTARG = integer, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR &< ( + PROCEDURE = span_overleft, + LEFTARG = intspanset, RIGHTARG = intspan, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR &< ( + PROCEDURE = span_overleft, + LEFTARG = intspanset, RIGHTARG = intspanset, + RESTRICT = span_sel, JOIN = span_joinsel +); + +CREATE FUNCTION span_overleft(bigint, bigintspanset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overleft_value_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_overleft(bigintspan, bigintspanset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overleft_span_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_overleft(bigintspanset, bigint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overleft_spanset_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_overleft(bigintspanset, bigintspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overleft_spanset_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_overleft(bigintspanset, bigintspanset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overleft_spanset_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR &< ( + PROCEDURE = span_overleft, + LEFTARG = bigint, RIGHTARG = bigintspanset, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR &< ( + PROCEDURE = span_overleft, + LEFTARG = bigintspan, RIGHTARG = bigintspanset, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR &< ( + PROCEDURE = span_overleft, + LEFTARG = bigintspanset, RIGHTARG = bigint, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR &< ( + PROCEDURE = span_overleft, + LEFTARG = bigintspanset, RIGHTARG = bigintspan, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR &< ( + PROCEDURE = span_overleft, + LEFTARG = bigintspanset, RIGHTARG = bigintspanset, + RESTRICT = span_sel, JOIN = span_joinsel +); + +CREATE FUNCTION span_overleft(float, floatspanset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overleft_value_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_overleft(floatspan, floatspanset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overleft_span_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_overleft(floatspanset, float) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overleft_spanset_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_overleft(floatspanset, floatspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overleft_spanset_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_overleft(floatspanset, floatspanset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overleft_spanset_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR &< ( + PROCEDURE = span_overleft, + LEFTARG = float, RIGHTARG = floatspanset, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR &< ( + PROCEDURE = span_overleft, + LEFTARG = floatspan, RIGHTARG = floatspanset, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR &< ( + PROCEDURE = span_overleft, + LEFTARG = floatspanset, RIGHTARG = float, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR &< ( + PROCEDURE = span_overleft, + LEFTARG = floatspanset, RIGHTARG = floatspan, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR &< ( + PROCEDURE = span_overleft, + LEFTARG = floatspanset, RIGHTARG = floatspanset, + RESTRICT = span_sel, JOIN = span_joinsel +); + +CREATE FUNCTION span_overleft(date, datespanset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overleft_value_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_overleft(datespan, datespanset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overleft_span_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_overleft(datespanset, date) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overleft_spanset_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_overleft(datespanset, datespan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overleft_spanset_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_overleft(datespanset, datespanset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overleft_spanset_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR &<# ( + PROCEDURE = span_overleft, + LEFTARG = date, RIGHTARG = datespanset, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR &<# ( + PROCEDURE = span_overleft, + LEFTARG = datespan, RIGHTARG = datespanset, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR &<# ( + PROCEDURE = span_overleft, + LEFTARG = datespanset, RIGHTARG = date, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR &<# ( + PROCEDURE = span_overleft, + LEFTARG = datespanset, RIGHTARG = datespan, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR &<# ( + PROCEDURE = span_overleft, + LEFTARG = datespanset, RIGHTARG = datespanset, + RESTRICT = span_sel, JOIN = span_joinsel +); + +CREATE FUNCTION span_overleft(timestamptz, tstzspanset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overleft_value_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_overleft(tstzspan, tstzspanset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overleft_span_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_overleft(tstzspanset, timestamptz) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overleft_spanset_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_overleft(tstzspanset, tstzspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overleft_spanset_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_overleft(tstzspanset, tstzspanset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overleft_spanset_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR &<# ( + PROCEDURE = span_overleft, + LEFTARG = timestamptz, RIGHTARG = tstzspanset, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR &<# ( + PROCEDURE = span_overleft, + LEFTARG = tstzspan, RIGHTARG = tstzspanset, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR &<# ( + PROCEDURE = span_overleft, + LEFTARG = tstzspanset, RIGHTARG = timestamptz, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR &<# ( + PROCEDURE = span_overleft, + LEFTARG = tstzspanset, RIGHTARG = tstzspan, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR &<# ( + PROCEDURE = span_overleft, + LEFTARG = tstzspanset, RIGHTARG = tstzspanset, + RESTRICT = span_sel, JOIN = span_joinsel +); + +/*****************************************************************************/ + +CREATE FUNCTION span_overright(integer, intspanset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overright_value_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_overright(intspan, intspanset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overright_span_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_overright(intspanset, integer) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overright_spanset_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_overright(intspanset, intspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overright_spanset_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_overright(intspanset, intspanset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overright_spanset_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR &> ( + PROCEDURE = span_overright, + LEFTARG = integer, RIGHTARG = intspanset, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR &> ( + PROCEDURE = span_overright, + LEFTARG = intspan, RIGHTARG = intspanset, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR &> ( + PROCEDURE = span_overright, + LEFTARG = intspanset, RIGHTARG = integer, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR &> ( + PROCEDURE = span_overright, + LEFTARG = intspanset, RIGHTARG = intspan, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR &> ( + PROCEDURE = span_overright, + LEFTARG = intspanset, RIGHTARG = intspanset, + RESTRICT = span_sel, JOIN = span_joinsel +); + +CREATE FUNCTION span_overright(bigint, bigintspanset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overright_value_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_overright(bigintspan, bigintspanset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overright_span_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_overright(bigintspanset, bigint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overright_spanset_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_overright(bigintspanset, bigintspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overright_spanset_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_overright(bigintspanset, bigintspanset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overright_spanset_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR &> ( + PROCEDURE = span_overright, + LEFTARG = bigint, RIGHTARG = bigintspanset, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR &> ( + PROCEDURE = span_overright, + LEFTARG = bigintspan, RIGHTARG = bigintspanset, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR &> ( + PROCEDURE = span_overright, + LEFTARG = bigintspanset, RIGHTARG = bigint, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR &> ( + PROCEDURE = span_overright, + LEFTARG = bigintspanset, RIGHTARG = bigintspan, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR &> ( + PROCEDURE = span_overright, + LEFTARG = bigintspanset, RIGHTARG = bigintspanset, + RESTRICT = span_sel, JOIN = span_joinsel +); + +CREATE FUNCTION span_overright(float, floatspanset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overright_value_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_overright(floatspan, floatspanset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overright_span_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_overright(floatspanset, float) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overright_spanset_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_overright(floatspanset, floatspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overright_spanset_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_overright(floatspanset, floatspanset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overright_spanset_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR &> ( + PROCEDURE = span_overright, + LEFTARG = float, RIGHTARG = floatspanset, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR &> ( + PROCEDURE = span_overright, + LEFTARG = floatspan, RIGHTARG = floatspanset, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR &> ( + PROCEDURE = span_overright, + LEFTARG = floatspanset, RIGHTARG = float, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR &> ( + PROCEDURE = span_overright, + LEFTARG = floatspanset, RIGHTARG = floatspan, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR &> ( + PROCEDURE = span_overright, + LEFTARG = floatspanset, RIGHTARG = floatspanset, + RESTRICT = span_sel, JOIN = span_joinsel +); + +CREATE FUNCTION span_overright(date, datespanset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overright_value_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_overright(datespan, datespanset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overright_span_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_overright(datespanset, date) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overright_spanset_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_overright(datespanset, datespan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overright_spanset_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_overright(datespanset, datespanset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overright_spanset_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR #&> ( + PROCEDURE = span_overright, + LEFTARG = date, RIGHTARG = datespanset, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR #&> ( + PROCEDURE = span_overright, + LEFTARG = datespan, RIGHTARG = datespanset, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR #&> ( + PROCEDURE = span_overright, + LEFTARG = datespanset, RIGHTARG = date, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR #&> ( + PROCEDURE = span_overright, + LEFTARG = datespanset, RIGHTARG = datespan, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR #&> ( + PROCEDURE = span_overright, + LEFTARG = datespanset, RIGHTARG = datespanset, + RESTRICT = span_sel, JOIN = span_joinsel +); + +CREATE FUNCTION span_overright(timestamptz, tstzspanset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overright_value_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_overright(tstzspan, tstzspanset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overright_span_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_overright(tstzspanset, timestamptz) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overright_spanset_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_overright(tstzspanset, tstzspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overright_spanset_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_overright(tstzspanset, tstzspanset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overright_spanset_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR #&> ( + PROCEDURE = span_overright, + LEFTARG = timestamptz, RIGHTARG = tstzspanset, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR #&> ( + PROCEDURE = span_overright, + LEFTARG = tstzspan, RIGHTARG = tstzspanset, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR #&> ( + PROCEDURE = span_overright, + LEFTARG = tstzspanset, RIGHTARG = timestamptz, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR #&> ( + PROCEDURE = span_overright, + LEFTARG = tstzspanset, RIGHTARG = tstzspan, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR #&> ( + PROCEDURE = span_overright, + LEFTARG = tstzspanset, RIGHTARG = tstzspanset, + RESTRICT = span_sel, JOIN = span_joinsel +); + +/*****************************************************************************/ + +CREATE FUNCTION span_adjacent(integer, intspanset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Adjacent_value_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_adjacent(intspan, intspanset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Adjacent_span_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_adjacent(intspanset, integer) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Adjacent_spanset_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_adjacent(intspanset, intspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Adjacent_spanset_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_adjacent(intspanset, intspanset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Adjacent_spanset_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR -|- ( + PROCEDURE = span_adjacent, + LEFTARG = integer, RIGHTARG = intspanset, + COMMUTATOR = -|-, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR -|- ( + PROCEDURE = span_adjacent, + LEFTARG = intspan, RIGHTARG = intspanset, + COMMUTATOR = -|-, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR -|- ( + PROCEDURE = span_adjacent, + LEFTARG = intspanset, RIGHTARG = integer, + COMMUTATOR = -|-, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR -|- ( + PROCEDURE = span_adjacent, + LEFTARG = intspanset, RIGHTARG = intspan, + COMMUTATOR = -|-, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR -|- ( + PROCEDURE = span_adjacent, + LEFTARG = intspanset, RIGHTARG = intspanset, + COMMUTATOR = -|-, + RESTRICT = span_sel, JOIN = span_joinsel +); + +CREATE FUNCTION span_adjacent(bigint, bigintspanset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Adjacent_value_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_adjacent(bigintspan, bigintspanset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Adjacent_span_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_adjacent(bigintspanset, bigint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Adjacent_spanset_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_adjacent(bigintspanset, bigintspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Adjacent_spanset_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_adjacent(bigintspanset, bigintspanset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Adjacent_spanset_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR -|- ( + PROCEDURE = span_adjacent, + LEFTARG = bigint, RIGHTARG = bigintspanset, + COMMUTATOR = -|-, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR -|- ( + PROCEDURE = span_adjacent, + LEFTARG = bigintspan, RIGHTARG = bigintspanset, + COMMUTATOR = -|-, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR -|- ( + PROCEDURE = span_adjacent, + LEFTARG = bigintspanset, RIGHTARG = bigint, + COMMUTATOR = -|-, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR -|- ( + PROCEDURE = span_adjacent, + LEFTARG = bigintspanset, RIGHTARG = bigintspan, + COMMUTATOR = -|-, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR -|- ( + PROCEDURE = span_adjacent, + LEFTARG = bigintspanset, RIGHTARG = bigintspanset, + COMMUTATOR = -|-, + RESTRICT = span_sel, JOIN = span_joinsel +); + +CREATE FUNCTION span_adjacent(float, floatspanset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Adjacent_value_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_adjacent(floatspan, floatspanset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Adjacent_span_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_adjacent(floatspanset, float) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Adjacent_spanset_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_adjacent(floatspanset, floatspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Adjacent_spanset_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_adjacent(floatspanset, floatspanset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Adjacent_spanset_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR -|- ( + PROCEDURE = span_adjacent, + LEFTARG = float, RIGHTARG = floatspanset, + COMMUTATOR = -|-, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR -|- ( + PROCEDURE = span_adjacent, + LEFTARG = floatspan, RIGHTARG = floatspanset, + COMMUTATOR = -|-, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR -|- ( + PROCEDURE = span_adjacent, + LEFTARG = floatspanset, RIGHTARG = float, + COMMUTATOR = -|-, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR -|- ( + PROCEDURE = span_adjacent, + LEFTARG = floatspanset, RIGHTARG = floatspan, + COMMUTATOR = -|-, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR -|- ( + PROCEDURE = span_adjacent, + LEFTARG = floatspanset, RIGHTARG = floatspanset, + COMMUTATOR = -|-, + RESTRICT = span_sel, JOIN = span_joinsel +); + +CREATE FUNCTION span_adjacent(date, datespanset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Adjacent_value_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_adjacent(datespan, datespanset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Adjacent_span_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_adjacent(datespanset, date) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Adjacent_spanset_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_adjacent(datespanset, datespan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Adjacent_spanset_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_adjacent(datespanset, datespanset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Adjacent_spanset_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR -|- ( + PROCEDURE = span_adjacent, + LEFTARG = date, RIGHTARG = datespanset, + COMMUTATOR = -|-, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR -|- ( + PROCEDURE = span_adjacent, + LEFTARG = datespan, RIGHTARG = datespanset, + COMMUTATOR = -|-, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR -|- ( + PROCEDURE = span_adjacent, + LEFTARG = datespanset, RIGHTARG = date, + COMMUTATOR = -|-, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR -|- ( + PROCEDURE = span_adjacent, + LEFTARG = datespanset, RIGHTARG = datespan, + COMMUTATOR = -|-, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR -|- ( + PROCEDURE = span_adjacent, + LEFTARG = datespanset, RIGHTARG = datespanset, + COMMUTATOR = -|-, + RESTRICT = span_sel, JOIN = span_joinsel +); + +CREATE FUNCTION span_adjacent(timestamptz, tstzspanset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Adjacent_value_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_adjacent(tstzspan, tstzspanset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Adjacent_span_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_adjacent(tstzspanset, timestamptz) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Adjacent_spanset_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_adjacent(tstzspanset, tstzspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Adjacent_spanset_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_adjacent(tstzspanset, tstzspanset) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Adjacent_spanset_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR -|- ( + PROCEDURE = span_adjacent, + LEFTARG = timestamptz, RIGHTARG = tstzspanset, + COMMUTATOR = -|-, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR -|- ( + PROCEDURE = span_adjacent, + LEFTARG = tstzspan, RIGHTARG = tstzspanset, + COMMUTATOR = -|-, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR -|- ( + PROCEDURE = span_adjacent, + LEFTARG = tstzspanset, RIGHTARG = timestamptz, + COMMUTATOR = -|-, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR -|- ( + PROCEDURE = span_adjacent, + LEFTARG = tstzspanset, RIGHTARG = tstzspan, + COMMUTATOR = -|-, + RESTRICT = span_sel, JOIN = span_joinsel +); +CREATE OPERATOR -|- ( + PROCEDURE = span_adjacent, + LEFTARG = tstzspanset, RIGHTARG = tstzspanset, + COMMUTATOR = -|-, + RESTRICT = span_sel, JOIN = span_joinsel +); + +/*****************************************************************************/ + +CREATE FUNCTION span_union(integer, intspanset) + RETURNS intspanset + AS 'MODULE_PATHNAME', 'Union_value_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_union(intspan, intspanset) + RETURNS intspanset + AS 'MODULE_PATHNAME', 'Union_span_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_union(intspanset, integer) + RETURNS intspanset + AS 'MODULE_PATHNAME', 'Union_spanset_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_union(intspanset, intspan) + RETURNS intspanset + AS 'MODULE_PATHNAME', 'Union_spanset_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_union(intspanset, intspanset) + RETURNS intspanset + AS 'MODULE_PATHNAME', 'Union_spanset_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR + ( + PROCEDURE = span_union, + LEFTARG = integer, RIGHTARG = intspanset, + COMMUTATOR = + +); +CREATE OPERATOR + ( + PROCEDURE = span_union, + LEFTARG = intspan, RIGHTARG = intspanset, + COMMUTATOR = + +); +CREATE OPERATOR + ( + PROCEDURE = span_union, + LEFTARG = intspanset, RIGHTARG = integer, + COMMUTATOR = + +); +CREATE OPERATOR + ( + PROCEDURE = span_union, + LEFTARG = intspanset, RIGHTARG = intspan, + COMMUTATOR = + +); +CREATE OPERATOR + ( + PROCEDURE = span_union, + LEFTARG = intspanset, RIGHTARG = intspanset, + COMMUTATOR = + +); + +CREATE FUNCTION span_union(bigint, bigintspanset) + RETURNS bigintspanset + AS 'MODULE_PATHNAME', 'Union_value_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_union(bigintspan, bigintspanset) + RETURNS bigintspanset + AS 'MODULE_PATHNAME', 'Union_span_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_union(bigintspanset, bigint) + RETURNS bigintspanset + AS 'MODULE_PATHNAME', 'Union_spanset_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_union(bigintspanset, bigintspan) + RETURNS bigintspanset + AS 'MODULE_PATHNAME', 'Union_spanset_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_union(bigintspanset, bigintspanset) + RETURNS bigintspanset + AS 'MODULE_PATHNAME', 'Union_spanset_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR + ( + PROCEDURE = span_union, + LEFTARG = bigint, RIGHTARG = bigintspanset, + COMMUTATOR = + +); +CREATE OPERATOR + ( + PROCEDURE = span_union, + LEFTARG = bigintspan, RIGHTARG = bigintspanset, + COMMUTATOR = + +); +CREATE OPERATOR + ( + PROCEDURE = span_union, + LEFTARG = bigintspanset, RIGHTARG = bigint, + COMMUTATOR = + +); +CREATE OPERATOR + ( + PROCEDURE = span_union, + LEFTARG = bigintspanset, RIGHTARG = bigintspan, + COMMUTATOR = + +); +CREATE OPERATOR + ( + PROCEDURE = span_union, + LEFTARG = bigintspanset, RIGHTARG = bigintspanset, + COMMUTATOR = + +); + +CREATE FUNCTION span_union(float, floatspanset) + RETURNS floatspanset + AS 'MODULE_PATHNAME', 'Union_value_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_union(floatspan, floatspanset) + RETURNS floatspanset + AS 'MODULE_PATHNAME', 'Union_span_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_union(floatspanset, float) + RETURNS floatspanset + AS 'MODULE_PATHNAME', 'Union_spanset_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_union(floatspanset, floatspan) + RETURNS floatspanset + AS 'MODULE_PATHNAME', 'Union_spanset_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_union(floatspanset, floatspanset) + RETURNS floatspanset + AS 'MODULE_PATHNAME', 'Union_spanset_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR + ( + PROCEDURE = span_union, + LEFTARG = float, RIGHTARG = floatspanset, + COMMUTATOR = + +); +CREATE OPERATOR + ( + PROCEDURE = span_union, + LEFTARG = floatspan, RIGHTARG = floatspanset, + COMMUTATOR = + +); +CREATE OPERATOR + ( + PROCEDURE = span_union, + LEFTARG = floatspanset, RIGHTARG = float, + COMMUTATOR = + +); +CREATE OPERATOR + ( + PROCEDURE = span_union, + LEFTARG = floatspanset, RIGHTARG = floatspan, + COMMUTATOR = + +); +CREATE OPERATOR + ( + PROCEDURE = span_union, + LEFTARG = floatspanset, RIGHTARG = floatspanset, + COMMUTATOR = + +); + +CREATE FUNCTION span_union(date, datespanset) + RETURNS datespanset + AS 'MODULE_PATHNAME', 'Union_value_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_union(datespan, datespanset) + RETURNS datespanset + AS 'MODULE_PATHNAME', 'Union_span_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_union(datespanset, date) + RETURNS datespanset + AS 'MODULE_PATHNAME', 'Union_spanset_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_union(datespanset, datespan) + RETURNS datespanset + AS 'MODULE_PATHNAME', 'Union_spanset_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_union(datespanset, datespanset) + RETURNS datespanset + AS 'MODULE_PATHNAME', 'Union_spanset_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR + ( + PROCEDURE = span_union, + LEFTARG = date, RIGHTARG = datespanset, + COMMUTATOR = + +); +CREATE OPERATOR + ( + PROCEDURE = span_union, + LEFTARG = datespan, RIGHTARG = datespanset, + COMMUTATOR = + +); +CREATE OPERATOR + ( + PROCEDURE = span_union, + LEFTARG = datespanset, RIGHTARG = date, + COMMUTATOR = + +); +CREATE OPERATOR + ( + PROCEDURE = span_union, + LEFTARG = datespanset, RIGHTARG = datespan, + COMMUTATOR = + +); +CREATE OPERATOR + ( + PROCEDURE = span_union, + LEFTARG = datespanset, RIGHTARG = datespanset, + COMMUTATOR = + +); + +CREATE FUNCTION span_union(timestamptz, tstzspanset) + RETURNS tstzspanset + AS 'MODULE_PATHNAME', 'Union_value_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_union(tstzspan, tstzspanset) + RETURNS tstzspanset + AS 'MODULE_PATHNAME', 'Union_span_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_union(tstzspanset, timestamptz) + RETURNS tstzspanset + AS 'MODULE_PATHNAME', 'Union_spanset_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_union(tstzspanset, tstzspan) + RETURNS tstzspanset + AS 'MODULE_PATHNAME', 'Union_spanset_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_union(tstzspanset, tstzspanset) + RETURNS tstzspanset + AS 'MODULE_PATHNAME', 'Union_spanset_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR + ( + PROCEDURE = span_union, + LEFTARG = timestamptz, RIGHTARG = tstzspanset, + COMMUTATOR = + +); +CREATE OPERATOR + ( + PROCEDURE = span_union, + LEFTARG = tstzspan, RIGHTARG = tstzspanset, + COMMUTATOR = + +); +CREATE OPERATOR + ( + PROCEDURE = span_union, + LEFTARG = tstzspanset, RIGHTARG = timestamptz, + COMMUTATOR = + +); +CREATE OPERATOR + ( + PROCEDURE = span_union, + LEFTARG = tstzspanset, RIGHTARG = tstzspan, + COMMUTATOR = + +); +CREATE OPERATOR + ( + PROCEDURE = span_union, + LEFTARG = tstzspanset, RIGHTARG = tstzspanset, + COMMUTATOR = + +); + +/*****************************************************************************/ + +CREATE FUNCTION span_minus(integer, intspanset) + RETURNS intspanset + AS 'MODULE_PATHNAME', 'Minus_value_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_minus(intspan, intspanset) + RETURNS intspanset + AS 'MODULE_PATHNAME', 'Minus_span_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_minus(intspanset, integer) + RETURNS intspanset + AS 'MODULE_PATHNAME', 'Minus_spanset_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_minus(intspanset, intspan) + RETURNS intspanset + AS 'MODULE_PATHNAME', 'Minus_spanset_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_minus(intspanset, intspanset) + RETURNS intspanset + AS 'MODULE_PATHNAME', 'Minus_spanset_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR - ( + PROCEDURE = span_minus, + LEFTARG = integer, RIGHTARG = intspanset +); +CREATE OPERATOR - ( + PROCEDURE = span_minus, + LEFTARG = intspan, RIGHTARG = intspanset +); +CREATE OPERATOR - ( + PROCEDURE = span_minus, + LEFTARG = intspanset, RIGHTARG = integer +); +CREATE OPERATOR - ( + PROCEDURE = span_minus, + LEFTARG = intspanset, RIGHTARG = intspan +); +CREATE OPERATOR - ( + PROCEDURE = span_minus, + LEFTARG = intspanset, RIGHTARG = intspanset +); + +CREATE FUNCTION span_minus(bigint, bigintspanset) + RETURNS bigintspanset + AS 'MODULE_PATHNAME', 'Minus_value_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_minus(bigintspan, bigintspanset) + RETURNS bigintspanset + AS 'MODULE_PATHNAME', 'Minus_span_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_minus(bigintspanset, bigint) + RETURNS bigintspanset + AS 'MODULE_PATHNAME', 'Minus_spanset_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_minus(bigintspanset, bigintspan) + RETURNS bigintspanset + AS 'MODULE_PATHNAME', 'Minus_spanset_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_minus(bigintspanset, bigintspanset) + RETURNS bigintspanset + AS 'MODULE_PATHNAME', 'Minus_spanset_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR - ( + PROCEDURE = span_minus, + LEFTARG = bigint, RIGHTARG = bigintspanset +); +CREATE OPERATOR - ( + PROCEDURE = span_minus, + LEFTARG = bigintspan, RIGHTARG = bigintspanset +); +CREATE OPERATOR - ( + PROCEDURE = span_minus, + LEFTARG = bigintspanset, RIGHTARG = bigint +); +CREATE OPERATOR - ( + PROCEDURE = span_minus, + LEFTARG = bigintspanset, RIGHTARG = bigintspan +); +CREATE OPERATOR - ( + PROCEDURE = span_minus, + LEFTARG = bigintspanset, RIGHTARG = bigintspanset +); + +CREATE FUNCTION span_minus(float, floatspanset) + RETURNS floatspanset + AS 'MODULE_PATHNAME', 'Minus_value_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_minus(floatspan, floatspanset) + RETURNS floatspanset + AS 'MODULE_PATHNAME', 'Minus_span_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_minus(floatspanset, float) + RETURNS floatspanset + AS 'MODULE_PATHNAME', 'Minus_spanset_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_minus(floatspanset, floatspan) + RETURNS floatspanset + AS 'MODULE_PATHNAME', 'Minus_spanset_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_minus(floatspanset, floatspanset) + RETURNS floatspanset + AS 'MODULE_PATHNAME', 'Minus_spanset_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR - ( + PROCEDURE = span_minus, + LEFTARG = float, RIGHTARG = floatspanset +); +CREATE OPERATOR - ( + PROCEDURE = span_minus, + LEFTARG = floatspan, RIGHTARG = floatspanset +); +CREATE OPERATOR - ( + PROCEDURE = span_minus, + LEFTARG = floatspanset, RIGHTARG = float +); +CREATE OPERATOR - ( + PROCEDURE = span_minus, + LEFTARG = floatspanset, RIGHTARG = floatspan +); +CREATE OPERATOR - ( + PROCEDURE = span_minus, + LEFTARG = floatspanset, RIGHTARG = floatspanset +); + +CREATE FUNCTION span_minus(date, datespanset) + RETURNS datespanset + AS 'MODULE_PATHNAME', 'Minus_value_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_minus(datespan, datespanset) + RETURNS datespanset + AS 'MODULE_PATHNAME', 'Minus_span_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_minus(datespanset, date) + RETURNS datespanset + AS 'MODULE_PATHNAME', 'Minus_spanset_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_minus(datespanset, datespan) + RETURNS datespanset + AS 'MODULE_PATHNAME', 'Minus_spanset_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_minus(datespanset, datespanset) + RETURNS datespanset + AS 'MODULE_PATHNAME', 'Minus_spanset_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR - ( + PROCEDURE = span_minus, + LEFTARG = date, RIGHTARG = datespanset +); +CREATE OPERATOR - ( + PROCEDURE = span_minus, + LEFTARG = datespan, RIGHTARG = datespanset +); +CREATE OPERATOR - ( + PROCEDURE = span_minus, + LEFTARG = datespanset, RIGHTARG = date +); +CREATE OPERATOR - ( + PROCEDURE = span_minus, + LEFTARG = datespanset, RIGHTARG = datespan +); +CREATE OPERATOR - ( + PROCEDURE = span_minus, + LEFTARG = datespanset, RIGHTARG = datespanset +); + +CREATE FUNCTION span_minus(timestamptz, tstzspanset) + RETURNS tstzspanset + AS 'MODULE_PATHNAME', 'Minus_value_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_minus(tstzspan, tstzspanset) + RETURNS tstzspanset + AS 'MODULE_PATHNAME', 'Minus_span_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_minus(tstzspanset, timestamptz) + RETURNS tstzspanset + AS 'MODULE_PATHNAME', 'Minus_spanset_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_minus(tstzspanset, tstzspan) + RETURNS tstzspanset + AS 'MODULE_PATHNAME', 'Minus_spanset_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_minus(tstzspanset, tstzspanset) + RETURNS tstzspanset + AS 'MODULE_PATHNAME', 'Minus_spanset_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR - ( + PROCEDURE = span_minus, + LEFTARG = timestamptz, RIGHTARG = tstzspanset +); +CREATE OPERATOR - ( + PROCEDURE = span_minus, + LEFTARG = tstzspan, RIGHTARG = tstzspanset +); +CREATE OPERATOR - ( + PROCEDURE = span_minus, + LEFTARG = tstzspanset, RIGHTARG = timestamptz +); +CREATE OPERATOR - ( + PROCEDURE = span_minus, + LEFTARG = tstzspanset, RIGHTARG = tstzspan +); +CREATE OPERATOR - ( + PROCEDURE = span_minus, + LEFTARG = tstzspanset, RIGHTARG = tstzspanset +); + +/*****************************************************************************/ + +CREATE FUNCTION span_intersection(integer, intspanset) + RETURNS intspanset + AS 'MODULE_PATHNAME', 'Intersection_value_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_intersection(intspan, intspanset) + RETURNS intspanset + AS 'MODULE_PATHNAME', 'Intersection_span_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_intersection(intspanset, integer) + RETURNS intspanset + AS 'MODULE_PATHNAME', 'Intersection_spanset_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_intersection(intspanset, intspan) + RETURNS intspanset + AS 'MODULE_PATHNAME', 'Intersection_spanset_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_intersection(intspanset, intspanset) + RETURNS intspanset + AS 'MODULE_PATHNAME', 'Intersection_spanset_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR * ( + PROCEDURE = span_intersection, + LEFTARG = integer, RIGHTARG = intspanset, + COMMUTATOR = * +); +CREATE OPERATOR * ( + PROCEDURE = span_intersection, + LEFTARG = intspan, RIGHTARG = intspanset, + COMMUTATOR = * +); +CREATE OPERATOR * ( + PROCEDURE = span_intersection, + LEFTARG = intspanset, RIGHTARG = integer, + COMMUTATOR = * +); +CREATE OPERATOR * ( + PROCEDURE = span_intersection, + LEFTARG = intspanset, RIGHTARG = intspan, + COMMUTATOR = * +); +CREATE OPERATOR * ( + PROCEDURE = span_intersection, + LEFTARG = intspanset, RIGHTARG = intspanset, + COMMUTATOR = * +); + +CREATE FUNCTION span_intersection(bigint, bigintspanset) + RETURNS bigintspanset + AS 'MODULE_PATHNAME', 'Intersection_value_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_intersection(bigintspan, bigintspanset) + RETURNS bigintspanset + AS 'MODULE_PATHNAME', 'Intersection_span_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_intersection(bigintspanset, bigint) + RETURNS bigintspanset + AS 'MODULE_PATHNAME', 'Intersection_spanset_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_intersection(bigintspanset, bigintspan) + RETURNS bigintspanset + AS 'MODULE_PATHNAME', 'Intersection_spanset_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_intersection(bigintspanset, bigintspanset) + RETURNS bigintspanset + AS 'MODULE_PATHNAME', 'Intersection_spanset_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR * ( + PROCEDURE = span_intersection, + LEFTARG = bigint, RIGHTARG = bigintspanset, + COMMUTATOR = * +); +CREATE OPERATOR * ( + PROCEDURE = span_intersection, + LEFTARG = bigintspan, RIGHTARG = bigintspanset, + COMMUTATOR = * +); +CREATE OPERATOR * ( + PROCEDURE = span_intersection, + LEFTARG = bigintspanset, RIGHTARG = bigint, + COMMUTATOR = * +); +CREATE OPERATOR * ( + PROCEDURE = span_intersection, + LEFTARG = bigintspanset, RIGHTARG = bigintspan, + COMMUTATOR = * +); +CREATE OPERATOR * ( + PROCEDURE = span_intersection, + LEFTARG = bigintspanset, RIGHTARG = bigintspanset, + COMMUTATOR = * +); + +CREATE FUNCTION span_intersection(float, floatspanset) + RETURNS floatspanset + AS 'MODULE_PATHNAME', 'Intersection_value_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_intersection(floatspan, floatspanset) + RETURNS floatspanset + AS 'MODULE_PATHNAME', 'Intersection_span_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_intersection(floatspanset, float) + RETURNS floatspanset + AS 'MODULE_PATHNAME', 'Intersection_spanset_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_intersection(floatspanset, floatspan) + RETURNS floatspanset + AS 'MODULE_PATHNAME', 'Intersection_spanset_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_intersection(floatspanset, floatspanset) + RETURNS floatspanset + AS 'MODULE_PATHNAME', 'Intersection_spanset_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR * ( + PROCEDURE = span_intersection, + LEFTARG = float, RIGHTARG = floatspanset, + COMMUTATOR = * +); +CREATE OPERATOR * ( + PROCEDURE = span_intersection, + LEFTARG = floatspan, RIGHTARG = floatspanset, + COMMUTATOR = * +); +CREATE OPERATOR * ( + PROCEDURE = span_intersection, + LEFTARG = floatspanset, RIGHTARG = float, + COMMUTATOR = * +); +CREATE OPERATOR * ( + PROCEDURE = span_intersection, + LEFTARG = floatspanset, RIGHTARG = floatspan, + COMMUTATOR = * +); +CREATE OPERATOR * ( + PROCEDURE = span_intersection, + LEFTARG = floatspanset, RIGHTARG = floatspanset, + COMMUTATOR = * +); + +CREATE FUNCTION span_intersection(date, datespanset) + RETURNS datespanset + AS 'MODULE_PATHNAME', 'Intersection_value_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_intersection(datespan, datespanset) + RETURNS datespanset + AS 'MODULE_PATHNAME', 'Intersection_span_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_intersection(datespanset, date) + RETURNS date + AS 'MODULE_PATHNAME', 'Intersection_spanset_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_intersection(datespanset, datespan) + RETURNS datespanset + AS 'MODULE_PATHNAME', 'Intersection_spanset_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_intersection(datespanset, datespanset) + RETURNS datespanset + AS 'MODULE_PATHNAME', 'Intersection_spanset_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR * ( + PROCEDURE = span_intersection, + LEFTARG = date, RIGHTARG = datespanset, + COMMUTATOR = * +); +CREATE OPERATOR * ( + PROCEDURE = span_intersection, + LEFTARG = datespan, RIGHTARG = datespanset, + COMMUTATOR = * +); +CREATE OPERATOR * ( + PROCEDURE = span_intersection, + LEFTARG = datespanset, RIGHTARG = date, + COMMUTATOR = * +); +CREATE OPERATOR * ( + PROCEDURE = span_intersection, + LEFTARG = datespanset, RIGHTARG = datespan, + COMMUTATOR = * +); +CREATE OPERATOR * ( + PROCEDURE = span_intersection, + LEFTARG = datespanset, RIGHTARG = datespanset, + COMMUTATOR = * +); + +CREATE FUNCTION span_intersection(timestamptz, tstzspanset) + RETURNS tstzspanset + AS 'MODULE_PATHNAME', 'Intersection_value_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_intersection(tstzspan, tstzspanset) + RETURNS tstzspanset + AS 'MODULE_PATHNAME', 'Intersection_span_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_intersection(tstzspanset, timestamptz) + RETURNS tstzspanset + AS 'MODULE_PATHNAME', 'Intersection_spanset_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_intersection(tstzspanset, tstzspan) + RETURNS tstzspanset + AS 'MODULE_PATHNAME', 'Intersection_spanset_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_intersection(tstzspanset, tstzspanset) + RETURNS tstzspanset + AS 'MODULE_PATHNAME', 'Intersection_spanset_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR * ( + PROCEDURE = span_intersection, + LEFTARG = timestamptz, RIGHTARG = tstzspanset, + COMMUTATOR = * +); +CREATE OPERATOR * ( + PROCEDURE = span_intersection, + LEFTARG = tstzspan, RIGHTARG = tstzspanset, + COMMUTATOR = * +); +CREATE OPERATOR * ( + PROCEDURE = span_intersection, + LEFTARG = tstzspanset, RIGHTARG = timestamptz, + COMMUTATOR = * +); +CREATE OPERATOR * ( + PROCEDURE = span_intersection, + LEFTARG = tstzspanset, RIGHTARG = tstzspan, + COMMUTATOR = * +); +CREATE OPERATOR * ( + PROCEDURE = span_intersection, + LEFTARG = tstzspanset, RIGHTARG = tstzspanset, + COMMUTATOR = * +); + +/***************************************************************************** + * Distance operators + *****************************************************************************/ + +CREATE FUNCTION span_distance(integer, intspanset) + RETURNS integer + AS 'MODULE_PATHNAME', 'Distance_value_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_distance(intspan, intspanset) + RETURNS integer + AS 'MODULE_PATHNAME', 'Distance_span_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_distance(intspanset, integer) + RETURNS integer + AS 'MODULE_PATHNAME', 'Distance_spanset_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_distance(intspanset, intspan) + RETURNS integer + AS 'MODULE_PATHNAME', 'Distance_spanset_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_distance(intspanset, intspanset) + RETURNS integer + AS 'MODULE_PATHNAME', 'Distance_spanset_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR <-> ( + PROCEDURE = span_distance, + LEFTARG = integer, RIGHTARG = intspanset, + COMMUTATOR = <-> +); +CREATE OPERATOR <-> ( + PROCEDURE = span_distance, + LEFTARG = intspan, RIGHTARG = intspanset, + COMMUTATOR = <-> +); +CREATE OPERATOR <-> ( + PROCEDURE = span_distance, + LEFTARG = intspanset, RIGHTARG = integer, + COMMUTATOR = <-> +); +CREATE OPERATOR <-> ( + PROCEDURE = span_distance, + LEFTARG = intspanset, RIGHTARG = intspan, + COMMUTATOR = <-> +); +CREATE OPERATOR <-> ( + PROCEDURE = span_distance, + LEFTARG = intspanset, RIGHTARG = intspanset, + COMMUTATOR = <-> +); + +CREATE FUNCTION span_distance(bigint, bigintspanset) + RETURNS bigint + AS 'MODULE_PATHNAME', 'Distance_value_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_distance(bigintspan, bigintspanset) + RETURNS bigint + AS 'MODULE_PATHNAME', 'Distance_span_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_distance(bigintspanset, bigint) + RETURNS bigint + AS 'MODULE_PATHNAME', 'Distance_spanset_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_distance(bigintspanset, bigintspan) + RETURNS bigint + AS 'MODULE_PATHNAME', 'Distance_spanset_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_distance(bigintspanset, bigintspanset) + RETURNS bigint + AS 'MODULE_PATHNAME', 'Distance_spanset_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR <-> ( + PROCEDURE = span_distance, + LEFTARG = bigint, RIGHTARG = bigintspanset, + COMMUTATOR = <-> +); +CREATE OPERATOR <-> ( + PROCEDURE = span_distance, + LEFTARG = bigintspan, RIGHTARG = bigintspanset, + COMMUTATOR = <-> +); +CREATE OPERATOR <-> ( + PROCEDURE = span_distance, + LEFTARG = bigintspanset, RIGHTARG = bigint, + COMMUTATOR = <-> +); +CREATE OPERATOR <-> ( + PROCEDURE = span_distance, + LEFTARG = bigintspanset, RIGHTARG = bigintspan, + COMMUTATOR = <-> +); +CREATE OPERATOR <-> ( + PROCEDURE = span_distance, + LEFTARG = bigintspanset, RIGHTARG = bigintspanset, + COMMUTATOR = <-> +); + +CREATE FUNCTION span_distance(float, floatspanset) + RETURNS float + AS 'MODULE_PATHNAME', 'Distance_value_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_distance(floatspan, floatspanset) + RETURNS float + AS 'MODULE_PATHNAME', 'Distance_span_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_distance(floatspanset, float) + RETURNS float + AS 'MODULE_PATHNAME', 'Distance_spanset_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_distance(floatspanset, floatspan) + RETURNS float + AS 'MODULE_PATHNAME', 'Distance_spanset_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_distance(floatspanset, floatspanset) + RETURNS float + AS 'MODULE_PATHNAME', 'Distance_spanset_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR <-> ( + PROCEDURE = span_distance, + LEFTARG = float, RIGHTARG = floatspanset, + COMMUTATOR = <-> +); +CREATE OPERATOR <-> ( + PROCEDURE = span_distance, + LEFTARG = floatspan, RIGHTARG = floatspanset, + COMMUTATOR = <-> +); +CREATE OPERATOR <-> ( + PROCEDURE = span_distance, + LEFTARG = floatspanset, RIGHTARG = float, + COMMUTATOR = <-> +); +CREATE OPERATOR <-> ( + PROCEDURE = span_distance, + LEFTARG = floatspanset, RIGHTARG = floatspan, + COMMUTATOR = <-> +); +CREATE OPERATOR <-> ( + PROCEDURE = span_distance, + LEFTARG = floatspanset, RIGHTARG = floatspanset, + COMMUTATOR = <-> +); + +CREATE FUNCTION span_distance(date, datespanset) + RETURNS integer + AS 'MODULE_PATHNAME', 'Distance_value_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_distance(datespan, datespanset) + RETURNS integer + AS 'MODULE_PATHNAME', 'Distance_span_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_distance(datespanset, date) + RETURNS integer + AS 'MODULE_PATHNAME', 'Distance_spanset_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_distance(datespanset, datespan) + RETURNS integer + AS 'MODULE_PATHNAME', 'Distance_spanset_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_distance(datespanset, datespanset) + RETURNS integer + AS 'MODULE_PATHNAME', 'Distance_spanset_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR <-> ( + PROCEDURE = span_distance, + LEFTARG = date, RIGHTARG = datespanset, + COMMUTATOR = <-> +); +CREATE OPERATOR <-> ( + PROCEDURE = span_distance, + LEFTARG = datespan, RIGHTARG = datespanset, + COMMUTATOR = <-> +); +CREATE OPERATOR <-> ( + PROCEDURE = span_distance, + LEFTARG = datespanset, RIGHTARG = date, + COMMUTATOR = <-> +); +CREATE OPERATOR <-> ( + PROCEDURE = span_distance, + LEFTARG = datespanset, RIGHTARG = datespan, + COMMUTATOR = <-> +); +CREATE OPERATOR <-> ( + PROCEDURE = span_distance, + LEFTARG = datespanset, RIGHTARG = datespanset, + COMMUTATOR = <-> +); + +CREATE FUNCTION time_distance(timestamptz, tstzspanset) + RETURNS float + AS 'MODULE_PATHNAME', 'Distance_value_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION time_distance(tstzspan, tstzspanset) + RETURNS float + AS 'MODULE_PATHNAME', 'Distance_span_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION time_distance(tstzspanset, timestamptz) + RETURNS float + AS 'MODULE_PATHNAME', 'Distance_spanset_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION time_distance(tstzspanset, tstzspan) + RETURNS float + AS 'MODULE_PATHNAME', 'Distance_spanset_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION time_distance(tstzspanset, tstzspanset) + RETURNS float + AS 'MODULE_PATHNAME', 'Distance_spanset_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR <-> ( + PROCEDURE = time_distance, + LEFTARG = timestamptz, RIGHTARG = tstzspanset, + COMMUTATOR = <-> +); +CREATE OPERATOR <-> ( + PROCEDURE = time_distance, + LEFTARG = tstzspan, RIGHTARG = tstzspanset, + COMMUTATOR = <-> +); +CREATE OPERATOR <-> ( + PROCEDURE = time_distance, + LEFTARG = tstzspanset, RIGHTARG = timestamptz, + COMMUTATOR = <-> +); +CREATE OPERATOR <-> ( + PROCEDURE = time_distance, + LEFTARG = tstzspanset, RIGHTARG = tstzspan, + COMMUTATOR = <-> +); +CREATE OPERATOR <-> ( + PROCEDURE = time_distance, + LEFTARG = tstzspanset, RIGHTARG = tstzspanset, + COMMUTATOR = <-> +); + +/*****************************************************************************/ diff --git a/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/temporal/011_span_indexes.in.sql b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/temporal/011_span_indexes.in.sql new file mode 100644 index 00000000..50ce8194 --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/temporal/011_span_indexes.in.sql @@ -0,0 +1,889 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @file + * @brief R-tree GiST, Quad-tree SP-GiST, and Kd-tree SP-GiST indexes for span + * types + */ + +/****************************************************************************** + * R-tree GiST indexes + ******************************************************************************/ + +CREATE FUNCTION span_gist_consistent(internal, intspan, smallint, oid, internal) + RETURNS bool + AS 'MODULE_PATHNAME', 'Span_gist_consistent' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_gist_union(internal, internal) + RETURNS internal + AS 'MODULE_PATHNAME', 'Span_gist_union' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_gist_penalty(internal, internal, internal) + RETURNS internal + AS 'MODULE_PATHNAME', 'Span_gist_penalty' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_gist_picksplit(internal, internal) + RETURNS internal + AS 'MODULE_PATHNAME', 'Span_gist_picksplit' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_gist_same(intspan, intspan, internal) + RETURNS internal + AS 'MODULE_PATHNAME', 'Span_gist_same' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_gist_distance(internal, intspan, smallint, oid, internal) + RETURNS internal + AS 'MODULE_PATHNAME', 'Span_gist_distance' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_gist_fetch(internal) + RETURNS internal + AS 'MODULE_PATHNAME', 'Span_gist_fetch' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/******************************************************************************/ + +CREATE OPERATOR CLASS intspan_rtree_ops + DEFAULT FOR TYPE intspan USING gist AS + -- strictly left + OPERATOR 1 << (intspan, integer), + OPERATOR 1 << (intspan, intspan), + OPERATOR 1 << (intspan, intspanset), + -- overlaps or left + OPERATOR 2 &< (intspan, integer), + OPERATOR 2 &< (intspan, intspan), + OPERATOR 2 &< (intspan, intspanset), + -- overlaps + OPERATOR 3 && (intspan, intspan), + OPERATOR 3 && (intspan, intspanset), + -- overlaps or right + OPERATOR 4 &> (intspan, integer), + OPERATOR 4 &> (intspan, intspan), + OPERATOR 4 &> (intspan, intspanset), + -- strictly right + OPERATOR 5 >> (intspan, integer), + OPERATOR 5 >> (intspan, intspan), + OPERATOR 5 >> (intspan, intspanset), + -- contains + OPERATOR 7 @> (intspan, integer), + OPERATOR 7 @> (intspan, intspan), + OPERATOR 7 @> (intspan, intspanset), + -- contained by + OPERATOR 8 <@ (intspan, intspan), + OPERATOR 8 <@ (intspan, intspanset), + -- adjacent + OPERATOR 17 -|- (intspan, intspan), + OPERATOR 17 -|- (intspan, intspanset), + -- equals + OPERATOR 18 = (intspan, intspan), + -- nearest approach distance + OPERATOR 25 <-> (intspan, integer) FOR ORDER BY pg_catalog.integer_ops, + OPERATOR 25 <-> (intspan, intspan) FOR ORDER BY pg_catalog.integer_ops, + OPERATOR 25 <-> (intspan, intspanset) FOR ORDER BY pg_catalog.integer_ops, + -- functions + FUNCTION 1 span_gist_consistent(internal, intspan, smallint, oid, internal), + FUNCTION 2 span_gist_union(internal, internal), + FUNCTION 5 span_gist_penalty(internal, internal, internal), + FUNCTION 6 span_gist_picksplit(internal, internal), + FUNCTION 7 span_gist_same(intspan, intspan, internal), + FUNCTION 8 span_gist_distance(internal, intspan, smallint, oid, internal), + FUNCTION 9 span_gist_fetch(internal); + +/******************************************************************************/ + +CREATE FUNCTION span_gist_consistent(internal, bigintspan, smallint, oid, internal) + RETURNS bool + AS 'MODULE_PATHNAME', 'Span_gist_consistent' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_gist_same(bigintspan, bigintspan, internal) + RETURNS internal + AS 'MODULE_PATHNAME', 'Span_gist_same' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_gist_distance(internal, bigintspan, smallint, oid, internal) + RETURNS internal + AS 'MODULE_PATHNAME', 'Span_gist_distance' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/******************************************************************************/ + +CREATE OPERATOR CLASS bigintspan_rtree_ops + DEFAULT FOR TYPE bigintspan USING gist AS + -- strictly left + OPERATOR 1 << (bigintspan, bigint), + OPERATOR 1 << (bigintspan, bigintspan), + OPERATOR 1 << (bigintspan, bigintspanset), + -- overlaps or left + OPERATOR 2 &< (bigintspan, bigint), + OPERATOR 2 &< (bigintspan, bigintspan), + OPERATOR 2 &< (bigintspan, bigintspanset), + -- overlaps + OPERATOR 3 && (bigintspan, bigintspan), + OPERATOR 3 && (bigintspan, bigintspanset), + -- overlaps or right + OPERATOR 4 &> (bigintspan, bigint), + OPERATOR 4 &> (bigintspan, bigintspan), + OPERATOR 4 &> (bigintspan, bigintspanset), + -- strictly right + OPERATOR 5 >> (bigintspan, bigint), + OPERATOR 5 >> (bigintspan, bigintspan), + OPERATOR 5 >> (bigintspan, bigintspanset), + -- contains + OPERATOR 7 @> (bigintspan, bigint), + OPERATOR 7 @> (bigintspan, bigintspan), + OPERATOR 7 @> (bigintspan, bigintspanset), + -- contained by + OPERATOR 8 <@ (bigintspan, bigintspan), + OPERATOR 8 <@ (bigintspan, bigintspanset), + -- adjacent + OPERATOR 17 -|- (bigintspan, bigintspan), + OPERATOR 17 -|- (bigintspan, bigintspanset), + -- equals + OPERATOR 18 = (bigintspan, bigintspan), + -- nearest approach distance + OPERATOR 25 <-> (bigintspan, bigint) FOR ORDER BY pg_catalog.integer_ops, + OPERATOR 25 <-> (bigintspan, bigintspan) FOR ORDER BY pg_catalog.integer_ops, + OPERATOR 25 <-> (bigintspan, bigintspanset) FOR ORDER BY pg_catalog.integer_ops, + -- functions + FUNCTION 1 span_gist_consistent(internal, bigintspan, smallint, oid, internal), + FUNCTION 2 span_gist_union(internal, internal), + FUNCTION 5 span_gist_penalty(internal, internal, internal), + FUNCTION 6 span_gist_picksplit(internal, internal), + FUNCTION 7 span_gist_same(bigintspan, bigintspan, internal), + FUNCTION 8 span_gist_distance(internal, bigintspan, smallint, oid, internal), + FUNCTION 9 span_gist_fetch(internal); + +/******************************************************************************/ + +CREATE FUNCTION span_gist_consistent(internal, floatspan, smallint, oid, internal) + RETURNS bool + AS 'MODULE_PATHNAME', 'Span_gist_consistent' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_gist_same(floatspan, floatspan, internal) + RETURNS internal + AS 'MODULE_PATHNAME', 'Span_gist_same' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_gist_distance(internal, floatspan, smallint, oid, internal) + RETURNS internal + AS 'MODULE_PATHNAME', 'Span_gist_distance' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/******************************************************************************/ + +CREATE OPERATOR CLASS floatspan_rtree_ops + DEFAULT FOR TYPE floatspan USING gist AS + -- strictly left + OPERATOR 1 << (floatspan, float), + OPERATOR 1 << (floatspan, floatspan), + OPERATOR 1 << (floatspan, floatspanset), + -- overlaps or left + OPERATOR 2 &< (floatspan, float), + OPERATOR 2 &< (floatspan, floatspan), + OPERATOR 2 &< (floatspan, floatspanset), + -- overlaps + OPERATOR 3 && (floatspan, floatspan), + OPERATOR 3 && (floatspan, floatspanset), + -- overlaps or right + OPERATOR 4 &> (floatspan, float), + OPERATOR 4 &> (floatspan, floatspan), + OPERATOR 4 &> (floatspan, floatspanset), + -- strictly right + OPERATOR 5 >> (floatspan, float), + OPERATOR 5 >> (floatspan, floatspan), + OPERATOR 5 >> (floatspan, floatspanset), + -- contains + OPERATOR 7 @> (floatspan, float), + OPERATOR 7 @> (floatspan, floatspan), + OPERATOR 7 @> (floatspan, floatspanset), + -- contained by + OPERATOR 8 <@ (floatspan, floatspan), + OPERATOR 8 <@ (floatspan, floatspanset), + -- adjacent + OPERATOR 17 -|- (floatspan, floatspan), + OPERATOR 17 -|- (floatspan, floatspanset), + -- equals + OPERATOR 18 = (floatspan, floatspan), + -- nearest approach distance + OPERATOR 25 <-> (floatspan, float) FOR ORDER BY pg_catalog.float_ops, + OPERATOR 25 <-> (floatspan, floatspan) FOR ORDER BY pg_catalog.float_ops, + OPERATOR 25 <-> (floatspan, floatspanset) FOR ORDER BY pg_catalog.float_ops, + -- functions + FUNCTION 1 span_gist_consistent(internal, floatspan, smallint, oid, internal), + FUNCTION 2 span_gist_union(internal, internal), + FUNCTION 5 span_gist_penalty(internal, internal, internal), + FUNCTION 6 span_gist_picksplit(internal, internal), + FUNCTION 7 span_gist_same(floatspan, floatspan, internal), + FUNCTION 8 span_gist_distance(internal, floatspan, smallint, oid, internal), + FUNCTION 9 span_gist_fetch(internal); + +/******************************************************************************/ + +CREATE FUNCTION span_gist_consistent(internal, datespan, smallint, oid, internal) + RETURNS bool + AS 'MODULE_PATHNAME', 'Span_gist_consistent' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_gist_same(datespan, datespan, internal) + RETURNS internal + AS 'MODULE_PATHNAME', 'Span_gist_same' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_gist_distance(internal, datespan, smallint, oid, internal) + RETURNS internal + AS 'MODULE_PATHNAME', 'Span_gist_distance' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/******************************************************************************/ + +CREATE OPERATOR CLASS datespan_rtree_ops + DEFAULT FOR TYPE datespan USING gist AS + -- strictly left + OPERATOR 1 <<# (datespan, date), + OPERATOR 1 <<# (datespan, datespan), + OPERATOR 1 <<# (datespan, datespanset), + -- overlaps or left + OPERATOR 2 &<# (datespan, date), + OPERATOR 2 &<# (datespan, datespan), + OPERATOR 2 &<# (datespan, datespanset), + -- overlaps + OPERATOR 3 && (datespan, datespan), + OPERATOR 3 && (datespan, datespanset), + -- overlaps or right + OPERATOR 4 #&> (datespan, date), + OPERATOR 4 #&> (datespan, datespan), + OPERATOR 4 #&> (datespan, datespanset), + -- strictly right + OPERATOR 5 #>> (datespan, date), + OPERATOR 5 #>> (datespan, datespan), + OPERATOR 5 #>> (datespan, datespanset), + -- contains + OPERATOR 7 @> (datespan, date), + OPERATOR 7 @> (datespan, datespan), + OPERATOR 7 @> (datespan, datespanset), + -- contained by + OPERATOR 8 <@ (datespan, datespan), + OPERATOR 8 <@ (datespan, datespanset), + -- adjacent + OPERATOR 17 -|- (datespan, datespan), + OPERATOR 17 -|- (datespan, datespanset), + -- equals + OPERATOR 18 = (datespan, datespan), + -- nearest approach distance + OPERATOR 25 <-> (datespan, date) FOR ORDER BY pg_catalog.integer_ops, + OPERATOR 25 <-> (datespan, datespan) FOR ORDER BY pg_catalog.integer_ops, + OPERATOR 25 <-> (datespan, datespanset) FOR ORDER BY pg_catalog.integer_ops, + -- functions + FUNCTION 1 span_gist_consistent(internal, datespan, smallint, oid, internal), + FUNCTION 2 span_gist_union(internal, internal), + FUNCTION 5 span_gist_penalty(internal, internal, internal), + FUNCTION 6 span_gist_picksplit(internal, internal), + FUNCTION 7 span_gist_same(datespan, datespan, internal), + FUNCTION 8 span_gist_distance(internal, datespan, smallint, oid, internal), + FUNCTION 9 span_gist_fetch(internal); + +/******************************************************************************/ + +CREATE FUNCTION span_gist_consistent(internal, tstzspan, smallint, oid, internal) + RETURNS bool + AS 'MODULE_PATHNAME', 'Span_gist_consistent' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_gist_same(tstzspan, tstzspan, internal) + RETURNS internal + AS 'MODULE_PATHNAME', 'Span_gist_same' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_gist_distance(internal, tstzspan, smallint, oid, internal) + RETURNS internal + AS 'MODULE_PATHNAME', 'Span_gist_distance' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/******************************************************************************/ + +CREATE OPERATOR CLASS tstzspan_rtree_ops + DEFAULT FOR TYPE tstzspan USING gist AS + -- overlaps + OPERATOR 3 && (tstzspan, tstzspan), + OPERATOR 3 && (tstzspan, tstzspanset), + -- contains + OPERATOR 7 @> (tstzspan, timestamptz), + OPERATOR 7 @> (tstzspan, tstzspan), + OPERATOR 7 @> (tstzspan, tstzspanset), + -- contained by + OPERATOR 8 <@ (tstzspan, tstzspan), + OPERATOR 8 <@ (tstzspan, tstzspanset), + -- adjacent + OPERATOR 17 -|- (tstzspan, tstzspan), + OPERATOR 17 -|- (tstzspan, tstzspanset), + -- equals + OPERATOR 18 = (tstzspan, tstzspan), + -- nearest approach distance + OPERATOR 25 <-> (tstzspan, timestamptz) FOR ORDER BY pg_catalog.float_ops, + OPERATOR 25 <-> (tstzspan, tstzspan) FOR ORDER BY pg_catalog.float_ops, + OPERATOR 25 <-> (tstzspan, tstzspanset) FOR ORDER BY pg_catalog.float_ops, + -- overlaps or before + OPERATOR 28 &<# (tstzspan, timestamptz), + OPERATOR 28 &<# (tstzspan, tstzspan), + OPERATOR 28 &<# (tstzspan, tstzspanset), + -- strictly before + OPERATOR 29 <<# (tstzspan, timestamptz), + OPERATOR 29 <<# (tstzspan, tstzspan), + OPERATOR 29 <<# (tstzspan, tstzspanset), + -- strictly after + OPERATOR 30 #>> (tstzspan, timestamptz), + OPERATOR 30 #>> (tstzspan, tstzspan), + OPERATOR 30 #>> (tstzspan, tstzspanset), + -- overlaps or after + OPERATOR 31 #&> (tstzspan, timestamptz), + OPERATOR 31 #&> (tstzspan, tstzspan), + OPERATOR 31 #&> (tstzspan, tstzspanset), + -- functions + FUNCTION 1 span_gist_consistent(internal, tstzspan, smallint, oid, internal), + FUNCTION 2 span_gist_union(internal, internal), + FUNCTION 5 span_gist_penalty(internal, internal, internal), + FUNCTION 6 span_gist_picksplit(internal, internal), + FUNCTION 7 span_gist_same(tstzspan, tstzspan, internal), + FUNCTION 8 span_gist_distance(internal, tstzspan, smallint, oid, internal), + FUNCTION 9 span_gist_fetch(internal); + +/****************************************************************************** + * Quad-tree SP-GiST indexes + ******************************************************************************/ + +CREATE FUNCTION intspan_spgist_config(internal, internal) + RETURNS void + AS 'MODULE_PATHNAME', 'Intspan_spgist_config' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION bigintspan_spgist_config(internal, internal) + RETURNS void + AS 'MODULE_PATHNAME', 'Bigintspan_spgist_config' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION floatspan_spgist_config(internal, internal) + RETURNS void + AS 'MODULE_PATHNAME', 'Floatspan_spgist_config' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION datespan_spgist_config(internal, internal) + RETURNS void + AS 'MODULE_PATHNAME', 'Datespan_spgist_config' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tstzspan_spgist_config(internal, internal) + RETURNS void + AS 'MODULE_PATHNAME', 'Tstzspan_spgist_config' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION span_quadtree_choose(internal, internal) + RETURNS void + AS 'MODULE_PATHNAME', 'Span_quadtree_choose' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_quadtree_picksplit(internal, internal) + RETURNS void + AS 'MODULE_PATHNAME', 'Span_quadtree_picksplit' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_quadtree_inner_consistent(internal, internal) + RETURNS void + AS 'MODULE_PATHNAME', 'Span_quadtree_inner_consistent' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_spgist_leaf_consistent(internal, internal) + RETURNS bool + AS 'MODULE_PATHNAME', 'Span_spgist_leaf_consistent' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/******************************************************************************/ + +CREATE OPERATOR CLASS intspan_quadtree_ops + DEFAULT FOR TYPE intspan USING spgist AS + -- strictly left + OPERATOR 1 << (intspan, integer), + OPERATOR 1 << (intspan, intspan), + OPERATOR 1 << (intspan, intspanset), + -- overlaps or left + OPERATOR 2 &< (intspan, integer), + OPERATOR 2 &< (intspan, intspan), + OPERATOR 2 &< (intspan, intspanset), + -- overlaps + OPERATOR 3 && (intspan, intspan), + OPERATOR 3 && (intspan, intspanset), + -- overlaps or right + OPERATOR 4 &> (intspan, integer), + OPERATOR 4 &> (intspan, intspan), + OPERATOR 4 &> (intspan, intspanset), + -- strictly right + OPERATOR 5 >> (intspan, integer), + OPERATOR 5 >> (intspan, intspan), + OPERATOR 5 >> (intspan, intspanset), + -- contains + OPERATOR 7 @> (intspan, integer), + OPERATOR 7 @> (intspan, intspan), + OPERATOR 7 @> (intspan, intspanset), + -- contained by + OPERATOR 8 <@ (intspan, intspan), + OPERATOR 8 <@ (intspan, intspanset), + -- adjacent + OPERATOR 17 -|- (intspan, intspan), + OPERATOR 17 -|- (intspan, intspanset), + -- equals + OPERATOR 18 = (intspan, intspan), + -- nearest approach distance + OPERATOR 25 <-> (intspan, integer) FOR ORDER BY pg_catalog.integer_ops, + OPERATOR 25 <-> (intspan, intspan) FOR ORDER BY pg_catalog.integer_ops, + OPERATOR 25 <-> (intspan, intspanset) FOR ORDER BY pg_catalog.integer_ops, + -- functions + FUNCTION 1 intspan_spgist_config(internal, internal), + FUNCTION 2 span_quadtree_choose(internal, internal), + FUNCTION 3 span_quadtree_picksplit(internal, internal), + FUNCTION 4 span_quadtree_inner_consistent(internal, internal), + FUNCTION 5 span_spgist_leaf_consistent(internal, internal); + +/******************************************************************************/ + +CREATE OPERATOR CLASS bigintspan_quadtree_ops + DEFAULT FOR TYPE bigintspan USING spgist AS + -- strictly left + OPERATOR 1 << (bigintspan, bigint), + OPERATOR 1 << (bigintspan, bigintspan), + OPERATOR 1 << (bigintspan, bigintspanset), + -- overlaps or left + OPERATOR 2 &< (bigintspan, bigint), + OPERATOR 2 &< (bigintspan, bigintspan), + OPERATOR 2 &< (bigintspan, bigintspanset), + -- overlaps + OPERATOR 3 && (bigintspan, bigintspan), + OPERATOR 3 && (bigintspan, bigintspanset), + -- overlaps or right + OPERATOR 4 &> (bigintspan, bigint), + OPERATOR 4 &> (bigintspan, bigintspan), + OPERATOR 4 &> (bigintspan, bigintspanset), + -- strictly right + OPERATOR 5 >> (bigintspan, bigint), + OPERATOR 5 >> (bigintspan, bigintspan), + OPERATOR 5 >> (bigintspan, bigintspanset), + -- contains + OPERATOR 7 @> (bigintspan, bigint), + OPERATOR 7 @> (bigintspan, bigintspan), + OPERATOR 7 @> (bigintspan, bigintspanset), + -- contained by + OPERATOR 8 <@ (bigintspan, bigintspan), + OPERATOR 8 <@ (bigintspan, bigintspanset), + -- adjacent + OPERATOR 17 -|- (bigintspan, bigintspan), + OPERATOR 17 -|- (bigintspan, bigintspanset), + -- equals + OPERATOR 18 = (bigintspan, bigintspan), + -- nearest approach distance + OPERATOR 25 <-> (bigintspan, bigint) FOR ORDER BY pg_catalog.integer_ops, + OPERATOR 25 <-> (bigintspan, bigintspan) FOR ORDER BY pg_catalog.integer_ops, + OPERATOR 25 <-> (bigintspan, bigintspanset) FOR ORDER BY pg_catalog.integer_ops, + -- functions + FUNCTION 1 bigintspan_spgist_config(internal, internal), + FUNCTION 2 span_quadtree_choose(internal, internal), + FUNCTION 3 span_quadtree_picksplit(internal, internal), + FUNCTION 4 span_quadtree_inner_consistent(internal, internal), + FUNCTION 5 span_spgist_leaf_consistent(internal, internal); + +/******************************************************************************/ + +CREATE OPERATOR CLASS floatspan_quadtree_ops + DEFAULT FOR TYPE floatspan USING spgist AS + -- strictly left + OPERATOR 1 << (floatspan, float), + OPERATOR 1 << (floatspan, floatspan), + OPERATOR 1 << (floatspan, floatspanset), + -- overlaps or left + OPERATOR 2 &< (floatspan, float), + OPERATOR 2 &< (floatspan, floatspan), + OPERATOR 2 &< (floatspan, floatspanset), + -- overlaps + OPERATOR 3 && (floatspan, floatspan), + OPERATOR 3 && (floatspan, floatspanset), + -- overlaps or right + OPERATOR 4 &> (floatspan, float), + OPERATOR 4 &> (floatspan, floatspan), + OPERATOR 4 &> (floatspan, floatspanset), + -- strictly right + OPERATOR 5 >> (floatspan, float), + OPERATOR 5 >> (floatspan, floatspan), + OPERATOR 5 >> (floatspan, floatspanset), + -- contains + OPERATOR 7 @> (floatspan, float), + OPERATOR 7 @> (floatspan, floatspan), + OPERATOR 7 @> (floatspan, floatspanset), + -- contained by + OPERATOR 8 <@ (floatspan, floatspan), + OPERATOR 8 <@ (floatspan, floatspanset), + -- adjacent + OPERATOR 17 -|- (floatspan, floatspan), + OPERATOR 17 -|- (floatspan, floatspanset), + -- equals + OPERATOR 18 = (floatspan, floatspan), + -- nearest approach distance + OPERATOR 25 <-> (floatspan, float) FOR ORDER BY pg_catalog.float_ops, + OPERATOR 25 <-> (floatspan, floatspan) FOR ORDER BY pg_catalog.float_ops, + OPERATOR 25 <-> (floatspan, floatspanset) FOR ORDER BY pg_catalog.float_ops, + -- functions + FUNCTION 1 floatspan_spgist_config(internal, internal), + FUNCTION 2 span_quadtree_choose(internal, internal), + FUNCTION 3 span_quadtree_picksplit(internal, internal), + FUNCTION 4 span_quadtree_inner_consistent(internal, internal), + FUNCTION 5 span_spgist_leaf_consistent(internal, internal); + +/******************************************************************************/ + +CREATE OPERATOR CLASS datespan_quadtree_ops + DEFAULT FOR TYPE datespan USING spgist AS + -- overlaps + OPERATOR 3 && (datespan, datespan), + OPERATOR 3 && (datespan, datespanset), + -- contains + OPERATOR 7 @> (datespan, date), + OPERATOR 7 @> (datespan, datespan), + OPERATOR 7 @> (datespan, datespanset), + -- contained by + OPERATOR 8 <@ (datespan, datespan), + OPERATOR 8 <@ (datespan, datespanset), + -- adjacent + OPERATOR 17 -|- (datespan, datespan), + OPERATOR 17 -|- (datespan, datespanset), + -- equals + OPERATOR 18 = (datespan, datespan), + -- nearest approach distance + OPERATOR 25 <-> (datespan, date) FOR ORDER BY pg_catalog.integer_ops, + OPERATOR 25 <-> (datespan, datespan) FOR ORDER BY pg_catalog.integer_ops, + OPERATOR 25 <-> (datespan, datespanset) FOR ORDER BY pg_catalog.integer_ops, + -- overlaps or before + OPERATOR 28 &<# (datespan, date), + OPERATOR 28 &<# (datespan, datespan), + OPERATOR 28 &<# (datespan, datespanset), + -- strictly before + OPERATOR 29 <<# (datespan, date), + OPERATOR 29 <<# (datespan, datespan), + OPERATOR 29 <<# (datespan, datespanset), + -- strictly after + OPERATOR 30 #>> (datespan, date), + OPERATOR 30 #>> (datespan, datespan), + OPERATOR 30 #>> (datespan, datespanset), + -- overlaps or after + OPERATOR 31 #&> (datespan, date), + OPERATOR 31 #&> (datespan, datespan), + OPERATOR 31 #&> (datespan, datespanset), + -- functions + FUNCTION 1 datespan_spgist_config(internal, internal), + FUNCTION 2 span_quadtree_choose(internal, internal), + FUNCTION 3 span_quadtree_picksplit(internal, internal), + FUNCTION 4 span_quadtree_inner_consistent(internal, internal), + FUNCTION 5 span_spgist_leaf_consistent(internal, internal); + +/******************************************************************************/ + +CREATE OPERATOR CLASS tstzspan_quadtree_ops + DEFAULT FOR TYPE tstzspan USING spgist AS + -- overlaps + OPERATOR 3 && (tstzspan, tstzspan), + OPERATOR 3 && (tstzspan, tstzspanset), + -- contains + OPERATOR 7 @> (tstzspan, timestamptz), + OPERATOR 7 @> (tstzspan, tstzspan), + OPERATOR 7 @> (tstzspan, tstzspanset), + -- contained by + OPERATOR 8 <@ (tstzspan, tstzspan), + OPERATOR 8 <@ (tstzspan, tstzspanset), + -- adjacent + OPERATOR 17 -|- (tstzspan, tstzspan), + OPERATOR 17 -|- (tstzspan, tstzspanset), + -- equals + OPERATOR 18 = (tstzspan, tstzspan), + -- nearest approach distance + OPERATOR 25 <-> (tstzspan, timestamptz) FOR ORDER BY pg_catalog.float_ops, + OPERATOR 25 <-> (tstzspan, tstzspan) FOR ORDER BY pg_catalog.float_ops, + OPERATOR 25 <-> (tstzspan, tstzspanset) FOR ORDER BY pg_catalog.float_ops, + -- overlaps or before + OPERATOR 28 &<# (tstzspan, timestamptz), + OPERATOR 28 &<# (tstzspan, tstzspan), + OPERATOR 28 &<# (tstzspan, tstzspanset), + -- strictly before + OPERATOR 29 <<# (tstzspan, timestamptz), + OPERATOR 29 <<# (tstzspan, tstzspan), + OPERATOR 29 <<# (tstzspan, tstzspanset), + -- strictly after + OPERATOR 30 #>> (tstzspan, timestamptz), + OPERATOR 30 #>> (tstzspan, tstzspan), + OPERATOR 30 #>> (tstzspan, tstzspanset), + -- overlaps or after + OPERATOR 31 #&> (tstzspan, timestamptz), + OPERATOR 31 #&> (tstzspan, tstzspan), + OPERATOR 31 #&> (tstzspan, tstzspanset), + -- functions + FUNCTION 1 tstzspan_spgist_config(internal, internal), + FUNCTION 2 span_quadtree_choose(internal, internal), + FUNCTION 3 span_quadtree_picksplit(internal, internal), + FUNCTION 4 span_quadtree_inner_consistent(internal, internal), + FUNCTION 5 span_spgist_leaf_consistent(internal, internal); + +/****************************************************************************** + * Kd-tree SP-GiST indexes + ******************************************************************************/ + +CREATE FUNCTION span_kdtree_choose(internal, internal) + RETURNS void + AS 'MODULE_PATHNAME', 'Span_kdtree_choose' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_kdtree_picksplit(internal, internal) + RETURNS void + AS 'MODULE_PATHNAME', 'Span_kdtree_picksplit' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_kdtree_inner_consistent(internal, internal) + RETURNS void + AS 'MODULE_PATHNAME', 'Span_kdtree_inner_consistent' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/******************************************************************************/ + +CREATE OPERATOR CLASS intspan_kdtree_ops + FOR TYPE intspan USING spgist AS + -- strictly left + OPERATOR 1 << (intspan, integer), + OPERATOR 1 << (intspan, intspan), + OPERATOR 1 << (intspan, intspanset), + -- overlaps or left + OPERATOR 2 &< (intspan, integer), + OPERATOR 2 &< (intspan, intspan), + OPERATOR 2 &< (intspan, intspanset), + -- overlaps + OPERATOR 3 && (intspan, intspan), + OPERATOR 3 && (intspan, intspanset), + -- overlaps or right + OPERATOR 4 &> (intspan, integer), + OPERATOR 4 &> (intspan, intspan), + OPERATOR 4 &> (intspan, intspanset), + -- strictly right + OPERATOR 5 >> (intspan, integer), + OPERATOR 5 >> (intspan, intspan), + OPERATOR 5 >> (intspan, intspanset), + -- contains + OPERATOR 7 @> (intspan, integer), + OPERATOR 7 @> (intspan, intspan), + OPERATOR 7 @> (intspan, intspanset), + -- contained by + OPERATOR 8 <@ (intspan, intspan), + OPERATOR 8 <@ (intspan, intspanset), + -- adjacent + OPERATOR 17 -|- (intspan, intspan), + OPERATOR 17 -|- (intspan, intspanset), + -- equals + OPERATOR 18 = (intspan, intspan), + -- nearest approach distance + OPERATOR 25 <-> (intspan, integer) FOR ORDER BY pg_catalog.integer_ops, + OPERATOR 25 <-> (intspan, intspan) FOR ORDER BY pg_catalog.integer_ops, + OPERATOR 25 <-> (intspan, intspanset) FOR ORDER BY pg_catalog.integer_ops, + -- functions + FUNCTION 1 intspan_spgist_config(internal, internal), + FUNCTION 2 span_kdtree_choose(internal, internal), + FUNCTION 3 span_kdtree_picksplit(internal, internal), + FUNCTION 4 span_kdtree_inner_consistent(internal, internal), + FUNCTION 5 span_spgist_leaf_consistent(internal, internal); + +/******************************************************************************/ + +CREATE OPERATOR CLASS bigintspan_kdtree_ops + FOR TYPE bigintspan USING spgist AS + -- strictly left + OPERATOR 1 << (bigintspan, bigint), + OPERATOR 1 << (bigintspan, bigintspan), + OPERATOR 1 << (bigintspan, bigintspanset), + -- overlaps or left + OPERATOR 2 &< (bigintspan, bigint), + OPERATOR 2 &< (bigintspan, bigintspan), + OPERATOR 2 &< (bigintspan, bigintspanset), + -- overlaps + OPERATOR 3 && (bigintspan, bigintspan), + OPERATOR 3 && (bigintspan, bigintspanset), + -- overlaps or right + OPERATOR 4 &> (bigintspan, bigint), + OPERATOR 4 &> (bigintspan, bigintspan), + OPERATOR 4 &> (bigintspan, bigintspanset), + -- strictly right + OPERATOR 5 >> (bigintspan, bigint), + OPERATOR 5 >> (bigintspan, bigintspan), + OPERATOR 5 >> (bigintspan, bigintspanset), + -- contains + OPERATOR 7 @> (bigintspan, bigint), + OPERATOR 7 @> (bigintspan, bigintspan), + OPERATOR 7 @> (bigintspan, bigintspanset), + -- contained by + OPERATOR 8 <@ (bigintspan, bigintspan), + OPERATOR 8 <@ (bigintspan, bigintspanset), + -- adjacent + OPERATOR 17 -|- (bigintspan, bigintspan), + OPERATOR 17 -|- (bigintspan, bigintspanset), + -- equals + OPERATOR 18 = (bigintspan, bigintspan), + -- nearest approach distance + OPERATOR 25 <-> (bigintspan, bigint) FOR ORDER BY pg_catalog.integer_ops, + OPERATOR 25 <-> (bigintspan, bigintspan) FOR ORDER BY pg_catalog.integer_ops, + OPERATOR 25 <-> (bigintspan, bigintspanset) FOR ORDER BY pg_catalog.integer_ops, + -- functions + FUNCTION 1 bigintspan_spgist_config(internal, internal), + FUNCTION 2 span_kdtree_choose(internal, internal), + FUNCTION 3 span_kdtree_picksplit(internal, internal), + FUNCTION 4 span_kdtree_inner_consistent(internal, internal), + FUNCTION 5 span_spgist_leaf_consistent(internal, internal); + +/******************************************************************************/ + +CREATE OPERATOR CLASS floatspan_kdtree_ops + FOR TYPE floatspan USING spgist AS + -- strictly left + OPERATOR 1 << (floatspan, float), + OPERATOR 1 << (floatspan, floatspan), + OPERATOR 1 << (floatspan, floatspanset), + -- overlaps or left + OPERATOR 2 &< (floatspan, float), + OPERATOR 2 &< (floatspan, floatspan), + OPERATOR 2 &< (floatspan, floatspanset), + -- overlaps + OPERATOR 3 && (floatspan, floatspan), + OPERATOR 3 && (floatspan, floatspanset), + -- overlaps or right + OPERATOR 4 &> (floatspan, float), + OPERATOR 4 &> (floatspan, floatspan), + OPERATOR 4 &> (floatspan, floatspanset), + -- strictly right + OPERATOR 5 >> (floatspan, float), + OPERATOR 5 >> (floatspan, floatspan), + OPERATOR 5 >> (floatspan, floatspanset), + -- contains + OPERATOR 7 @> (floatspan, float), + OPERATOR 7 @> (floatspan, floatspan), + OPERATOR 7 @> (floatspan, floatspanset), + -- contained by + OPERATOR 8 <@ (floatspan, floatspan), + OPERATOR 8 <@ (floatspan, floatspanset), + -- adjacent + OPERATOR 17 -|- (floatspan, floatspan), + OPERATOR 17 -|- (floatspan, floatspanset), + -- equals + OPERATOR 18 = (floatspan, floatspan), + -- nearest approach distance + OPERATOR 25 <-> (floatspan, float) FOR ORDER BY pg_catalog.float_ops, + OPERATOR 25 <-> (floatspan, floatspan) FOR ORDER BY pg_catalog.float_ops, + OPERATOR 25 <-> (floatspan, floatspanset) FOR ORDER BY pg_catalog.float_ops, + -- functions + FUNCTION 1 floatspan_spgist_config(internal, internal), + FUNCTION 2 span_kdtree_choose(internal, internal), + FUNCTION 3 span_kdtree_picksplit(internal, internal), + FUNCTION 4 span_kdtree_inner_consistent(internal, internal), + FUNCTION 5 span_spgist_leaf_consistent(internal, internal); + +/******************************************************************************/ + +CREATE OPERATOR CLASS datespan_kdtree_ops + FOR TYPE datespan USING spgist AS + -- overlaps + OPERATOR 3 && (datespan, datespan), + OPERATOR 3 && (datespan, datespanset), + -- contains + OPERATOR 7 @> (datespan, date), + OPERATOR 7 @> (datespan, datespan), + OPERATOR 7 @> (datespan, datespanset), + -- contained by + OPERATOR 8 <@ (datespan, datespan), + OPERATOR 8 <@ (datespan, datespanset), + -- adjacent + OPERATOR 17 -|- (datespan, datespan), + OPERATOR 17 -|- (datespan, datespanset), + -- equals + OPERATOR 18 = (datespan, datespan), + -- nearest approach distance + OPERATOR 25 <-> (datespan, date) FOR ORDER BY pg_catalog.integer_ops, + OPERATOR 25 <-> (datespan, datespan) FOR ORDER BY pg_catalog.integer_ops, + OPERATOR 25 <-> (datespan, datespanset) FOR ORDER BY pg_catalog.integer_ops, + -- overlaps or before + OPERATOR 28 &<# (datespan, date), + OPERATOR 28 &<# (datespan, datespan), + OPERATOR 28 &<# (datespan, datespanset), + -- strictly before + OPERATOR 29 <<# (datespan, date), + OPERATOR 29 <<# (datespan, datespan), + OPERATOR 29 <<# (datespan, datespanset), + -- strictly after + OPERATOR 30 #>> (datespan, date), + OPERATOR 30 #>> (datespan, datespan), + OPERATOR 30 #>> (datespan, datespanset), + -- overlaps or after + OPERATOR 31 #&> (datespan, date), + OPERATOR 31 #&> (datespan, datespan), + OPERATOR 31 #&> (datespan, datespanset), + -- functions + FUNCTION 1 datespan_spgist_config(internal, internal), + FUNCTION 2 span_kdtree_choose(internal, internal), + FUNCTION 3 span_kdtree_picksplit(internal, internal), + FUNCTION 4 span_kdtree_inner_consistent(internal, internal), + FUNCTION 5 span_spgist_leaf_consistent(internal, internal); + +/******************************************************************************/ + +CREATE OPERATOR CLASS tstzspan_kdtree_ops + FOR TYPE tstzspan USING spgist AS + -- overlaps + OPERATOR 3 && (tstzspan, tstzspan), + OPERATOR 3 && (tstzspan, tstzspanset), + -- contains + OPERATOR 7 @> (tstzspan, timestamptz), + OPERATOR 7 @> (tstzspan, tstzspan), + OPERATOR 7 @> (tstzspan, tstzspanset), + -- contained by + OPERATOR 8 <@ (tstzspan, tstzspan), + OPERATOR 8 <@ (tstzspan, tstzspanset), + -- adjacent + OPERATOR 17 -|- (tstzspan, tstzspan), + OPERATOR 17 -|- (tstzspan, tstzspanset), + -- equals + OPERATOR 18 = (tstzspan, tstzspan), + -- nearest approach distance + OPERATOR 25 <-> (tstzspan, timestamptz) FOR ORDER BY pg_catalog.float_ops, + OPERATOR 25 <-> (tstzspan, tstzspan) FOR ORDER BY pg_catalog.float_ops, + OPERATOR 25 <-> (tstzspan, tstzspanset) FOR ORDER BY pg_catalog.float_ops, + -- overlaps or before + OPERATOR 28 &<# (tstzspan, timestamptz), + OPERATOR 28 &<# (tstzspan, tstzspan), + OPERATOR 28 &<# (tstzspan, tstzspanset), + -- strictly before + OPERATOR 29 <<# (tstzspan, timestamptz), + OPERATOR 29 <<# (tstzspan, tstzspan), + OPERATOR 29 <<# (tstzspan, tstzspanset), + -- strictly after + OPERATOR 30 #>> (tstzspan, timestamptz), + OPERATOR 30 #>> (tstzspan, tstzspan), + OPERATOR 30 #>> (tstzspan, tstzspanset), + -- overlaps or after + OPERATOR 31 #&> (tstzspan, timestamptz), + OPERATOR 31 #&> (tstzspan, tstzspan), + OPERATOR 31 #&> (tstzspan, tstzspanset), + -- functions + FUNCTION 1 tstzspan_spgist_config(internal, internal), + FUNCTION 2 span_kdtree_choose(internal, internal), + FUNCTION 3 span_kdtree_picksplit(internal, internal), + FUNCTION 4 span_kdtree_inner_consistent(internal, internal), + FUNCTION 5 span_spgist_leaf_consistent(internal, internal); + +/******************************************************************************/ + diff --git a/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/temporal/012_spanset_indexes.in.sql b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/temporal/012_spanset_indexes.in.sql new file mode 100644 index 00000000..806570f6 --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/temporal/012_spanset_indexes.in.sql @@ -0,0 +1,789 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @file + * @brief R-tree GiST and Quad-tree SP-GiST, and Kd-tree SP-GiST indexes for + * span set types + */ + +/****************************************************************************** + * R-tree GiST indexes + ******************************************************************************/ + +CREATE FUNCTION span_gist_consistent(internal, intspanset, smallint, oid, internal) + RETURNS bool + AS 'MODULE_PATHNAME', 'Span_gist_consistent' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_gist_consistent(internal, bigintspanset, smallint, oid, internal) + RETURNS bool + AS 'MODULE_PATHNAME', 'Span_gist_consistent' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_gist_consistent(internal, floatspanset, smallint, oid, internal) + RETURNS bool + AS 'MODULE_PATHNAME', 'Span_gist_consistent' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_gist_consistent(internal, datespanset, smallint, oid, internal) + RETURNS bool + AS 'MODULE_PATHNAME', 'Span_gist_consistent' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_gist_consistent(internal, tstzspanset, smallint, oid, internal) + RETURNS bool + AS 'MODULE_PATHNAME', 'Span_gist_consistent' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION spanset_gist_compress(internal) + RETURNS internal + AS 'MODULE_PATHNAME', 'Spanset_gist_compress' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/******************************************************************************/ + +CREATE OPERATOR CLASS intspanset_rtree_ops + DEFAULT FOR TYPE intspanset USING gist AS + STORAGE intspan, + -- strictly left + OPERATOR 1 << (intspanset, integer), + OPERATOR 1 << (intspanset, intspan), + OPERATOR 1 << (intspanset, intspanset), + -- overlaps or left + OPERATOR 2 &< (intspanset, integer), + OPERATOR 2 &< (intspanset, intspan), + OPERATOR 2 &< (intspanset, intspanset), + -- overlaps + OPERATOR 3 && (intspanset, intspan), + OPERATOR 3 && (intspanset, intspanset), + -- overlaps or right + OPERATOR 4 &> (intspanset, integer), + OPERATOR 4 &> (intspanset, intspan), + OPERATOR 4 &> (intspanset, intspanset), + -- strictly right + OPERATOR 5 >> (intspanset, integer), + OPERATOR 5 >> (intspanset, intspan), + OPERATOR 5 >> (intspanset, intspanset), + -- contains + OPERATOR 7 @> (intspanset, integer), + OPERATOR 7 @> (intspanset, intspan), + OPERATOR 7 @> (intspanset, intspanset), + -- contained by + OPERATOR 8 <@ (intspanset, intspan), + OPERATOR 8 <@ (intspanset, intspanset), + -- adjacent + OPERATOR 17 -|- (intspanset, intspan), + OPERATOR 17 -|- (intspanset, intspanset), + -- equals + OPERATOR 18 = (intspanset, intspanset), + -- nearest approach distance + OPERATOR 25 <-> (intspanset, integer) FOR ORDER BY pg_catalog.integer_ops, + OPERATOR 25 <-> (intspanset, intspan) FOR ORDER BY pg_catalog.integer_ops, + OPERATOR 25 <-> (intspanset, intspanset) FOR ORDER BY pg_catalog.integer_ops, + -- functions + FUNCTION 1 span_gist_consistent(internal, intspanset, smallint, oid, internal), + FUNCTION 2 span_gist_union(internal, internal), + FUNCTION 3 spanset_gist_compress(internal), + FUNCTION 5 span_gist_penalty(internal, internal, internal), + FUNCTION 6 span_gist_picksplit(internal, internal), + FUNCTION 7 span_gist_same(intspan, intspan, internal), + FUNCTION 8 span_gist_distance(internal, intspan, smallint, oid, internal); + +/******************************************************************************/ + +CREATE OPERATOR CLASS bigintspanset_rtree_ops + DEFAULT FOR TYPE bigintspanset USING gist AS + STORAGE bigintspan, + -- strictly left + OPERATOR 1 << (bigintspanset, bigint), + OPERATOR 1 << (bigintspanset, bigintspan), + OPERATOR 1 << (bigintspanset, bigintspanset), + -- overlaps or left + OPERATOR 2 &< (bigintspanset, bigint), + OPERATOR 2 &< (bigintspanset, bigintspan), + OPERATOR 2 &< (bigintspanset, bigintspanset), + -- overlaps + OPERATOR 3 && (bigintspanset, bigintspan), + OPERATOR 3 && (bigintspanset, bigintspanset), + -- overlaps or right + OPERATOR 4 &> (bigintspanset, bigint), + OPERATOR 4 &> (bigintspanset, bigintspan), + OPERATOR 4 &> (bigintspanset, bigintspanset), + -- strictly right + OPERATOR 5 >> (bigintspanset, bigint), + OPERATOR 5 >> (bigintspanset, bigintspan), + OPERATOR 5 >> (bigintspanset, bigintspanset), + -- contains + OPERATOR 7 @> (bigintspanset, bigint), + OPERATOR 7 @> (bigintspanset, bigintspan), + OPERATOR 7 @> (bigintspanset, bigintspanset), + -- contained by + OPERATOR 8 <@ (bigintspanset, bigintspan), + OPERATOR 8 <@ (bigintspanset, bigintspanset), + -- adjacent + OPERATOR 17 -|- (bigintspanset, bigintspan), + OPERATOR 17 -|- (bigintspanset, bigintspanset), + -- equals + OPERATOR 18 = (bigintspanset, bigintspanset), + -- nearest approach distance + OPERATOR 25 <-> (bigintspanset, bigint) FOR ORDER BY pg_catalog.integer_ops, + OPERATOR 25 <-> (bigintspanset, bigintspan) FOR ORDER BY pg_catalog.integer_ops, + OPERATOR 25 <-> (bigintspanset, bigintspanset) FOR ORDER BY pg_catalog.integer_ops, + -- functions + FUNCTION 1 span_gist_consistent(internal, bigintspanset, smallint, oid, internal), + FUNCTION 2 span_gist_union(internal, internal), + FUNCTION 3 spanset_gist_compress(internal), + FUNCTION 5 span_gist_penalty(internal, internal, internal), + FUNCTION 6 span_gist_picksplit(internal, internal), + FUNCTION 7 span_gist_same(bigintspan, bigintspan, internal), + FUNCTION 8 span_gist_distance(internal, bigintspan, smallint, oid, internal); + +/******************************************************************************/ + +CREATE OPERATOR CLASS floatspanset_rtree_ops + DEFAULT FOR TYPE floatspanset USING gist AS + STORAGE floatspan, + -- strictly left + OPERATOR 1 << (floatspanset, float), + OPERATOR 1 << (floatspanset, floatspan), + OPERATOR 1 << (floatspanset, floatspanset), + -- overlaps or left + OPERATOR 2 &< (floatspanset, float), + OPERATOR 2 &< (floatspanset, floatspan), + OPERATOR 2 &< (floatspanset, floatspanset), + -- overlaps + OPERATOR 3 && (floatspanset, floatspan), + OPERATOR 3 && (floatspanset, floatspanset), + -- overlaps or right + OPERATOR 4 &> (floatspanset, float), + OPERATOR 4 &> (floatspanset, floatspan), + OPERATOR 4 &> (floatspanset, floatspanset), + -- strictly right + OPERATOR 5 >> (floatspanset, float), + OPERATOR 5 >> (floatspanset, floatspan), + OPERATOR 5 >> (floatspanset, floatspanset), + -- contains + OPERATOR 7 @> (floatspanset, float), + OPERATOR 7 @> (floatspanset, floatspan), + OPERATOR 7 @> (floatspanset, floatspanset), + -- contained by + OPERATOR 8 <@ (floatspanset, floatspan), + OPERATOR 8 <@ (floatspanset, floatspanset), + -- adjacent + OPERATOR 17 -|- (floatspanset, floatspan), + OPERATOR 17 -|- (floatspanset, floatspanset), + -- equals + OPERATOR 18 = (floatspanset, floatspanset), + -- nearest approach distance + OPERATOR 25 <-> (floatspanset, float) FOR ORDER BY pg_catalog.float_ops, + OPERATOR 25 <-> (floatspanset, floatspan) FOR ORDER BY pg_catalog.float_ops, + OPERATOR 25 <-> (floatspanset, floatspanset) FOR ORDER BY pg_catalog.float_ops, + -- functions + FUNCTION 1 span_gist_consistent(internal, floatspanset, smallint, oid, internal), + FUNCTION 2 span_gist_union(internal, internal), + FUNCTION 3 spanset_gist_compress(internal), + FUNCTION 5 span_gist_penalty(internal, internal, internal), + FUNCTION 6 span_gist_picksplit(internal, internal), + FUNCTION 7 span_gist_same(floatspan, floatspan, internal), + FUNCTION 8 span_gist_distance(internal, floatspan, smallint, oid, internal); + +/******************************************************************************/ + +CREATE OPERATOR CLASS datespanset_rtree_ops + DEFAULT FOR TYPE datespanset USING gist AS + STORAGE datespan, + -- overlaps + OPERATOR 3 && (datespanset, datespan), + OPERATOR 3 && (datespanset, datespanset), + -- contains + OPERATOR 7 @> (datespanset, date), + OPERATOR 7 @> (datespanset, datespan), + OPERATOR 7 @> (datespanset, datespanset), + -- contained by + OPERATOR 8 <@ (datespanset, datespan), + OPERATOR 8 <@ (datespanset, datespanset), + -- adjacent + OPERATOR 17 -|- (datespanset, datespan), + OPERATOR 17 -|- (datespanset, datespanset), + -- equals + OPERATOR 18 = (datespanset, datespanset), + -- nearest approach distance + OPERATOR 25 <-> (datespanset, date) FOR ORDER BY pg_catalog.integer_ops, + OPERATOR 25 <-> (datespanset, datespan) FOR ORDER BY pg_catalog.integer_ops, + OPERATOR 25 <-> (datespanset, datespanset) FOR ORDER BY pg_catalog.integer_ops, + -- overlaps or before + OPERATOR 28 &<# (datespanset, date), + OPERATOR 28 &<# (datespanset, datespan), + OPERATOR 28 &<# (datespanset, datespanset), + -- strictly before + OPERATOR 29 <<# (datespanset, date), + OPERATOR 29 <<# (datespanset, datespan), + OPERATOR 29 <<# (datespanset, datespanset), + -- strictly after + OPERATOR 30 #>> (datespanset, date), + OPERATOR 30 #>> (datespanset, datespan), + OPERATOR 30 #>> (datespanset, datespanset), + -- overlaps or after + OPERATOR 31 #&> (datespanset, date), + OPERATOR 31 #&> (datespanset, datespan), + OPERATOR 31 #&> (datespanset, datespanset), + -- functions + FUNCTION 1 span_gist_consistent(internal, datespanset, smallint, oid, internal), + FUNCTION 2 span_gist_union(internal, internal), + FUNCTION 3 spanset_gist_compress(internal), + FUNCTION 5 span_gist_penalty(internal, internal, internal), + FUNCTION 6 span_gist_picksplit(internal, internal), + FUNCTION 7 span_gist_same(datespan, datespan, internal); + +/******************************************************************************/ + +CREATE OPERATOR CLASS tstzspanset_rtree_ops + DEFAULT FOR TYPE tstzspanset USING gist AS + STORAGE tstzspan, + -- overlaps + OPERATOR 3 && (tstzspanset, tstzspan), + OPERATOR 3 && (tstzspanset, tstzspanset), + -- contains + OPERATOR 7 @> (tstzspanset, timestamptz), + OPERATOR 7 @> (tstzspanset, tstzspan), + OPERATOR 7 @> (tstzspanset, tstzspanset), + -- contained by + OPERATOR 8 <@ (tstzspanset, tstzspan), + OPERATOR 8 <@ (tstzspanset, tstzspanset), + -- adjacent + OPERATOR 17 -|- (tstzspanset, tstzspan), + OPERATOR 17 -|- (tstzspanset, tstzspanset), + -- equals + OPERATOR 18 = (tstzspanset, tstzspanset), + -- nearest approach distance + OPERATOR 25 <-> (tstzspanset, timestamptz) FOR ORDER BY pg_catalog.float_ops, + OPERATOR 25 <-> (tstzspanset, tstzspan) FOR ORDER BY pg_catalog.float_ops, + OPERATOR 25 <-> (tstzspanset, tstzspanset) FOR ORDER BY pg_catalog.float_ops, + -- overlaps or before + OPERATOR 28 &<# (tstzspanset, timestamptz), + OPERATOR 28 &<# (tstzspanset, tstzspan), + OPERATOR 28 &<# (tstzspanset, tstzspanset), + -- strictly before + OPERATOR 29 <<# (tstzspanset, timestamptz), + OPERATOR 29 <<# (tstzspanset, tstzspan), + OPERATOR 29 <<# (tstzspanset, tstzspanset), + -- strictly after + OPERATOR 30 #>> (tstzspanset, timestamptz), + OPERATOR 30 #>> (tstzspanset, tstzspan), + OPERATOR 30 #>> (tstzspanset, tstzspanset), + -- overlaps or after + OPERATOR 31 #&> (tstzspanset, timestamptz), + OPERATOR 31 #&> (tstzspanset, tstzspan), + OPERATOR 31 #&> (tstzspanset, tstzspanset), + -- functions + FUNCTION 1 span_gist_consistent(internal, tstzspanset, smallint, oid, internal), + FUNCTION 2 span_gist_union(internal, internal), + FUNCTION 3 spanset_gist_compress(internal), + FUNCTION 5 span_gist_penalty(internal, internal, internal), + FUNCTION 6 span_gist_picksplit(internal, internal), + FUNCTION 7 span_gist_same(tstzspan, tstzspan, internal); + +/****************************************************************************** + * Quad-tree SP-GiST indexes + ******************************************************************************/ + +CREATE FUNCTION spanset_spgist_compress(internal) + RETURNS internal + AS 'MODULE_PATHNAME', 'Spanset_spgist_compress' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/******************************************************************************/ + +CREATE OPERATOR CLASS intspanset_quadtree_ops + DEFAULT FOR TYPE intspanset USING spgist AS + -- strictly left + OPERATOR 1 << (intspanset, integer), + OPERATOR 1 << (intspanset, intspan), + OPERATOR 1 << (intspanset, intspanset), + -- overlaps or left + OPERATOR 2 &< (intspanset, integer), + OPERATOR 2 &< (intspanset, intspan), + OPERATOR 2 &< (intspanset, intspanset), + -- overlaps + OPERATOR 3 && (intspanset, intspan), + OPERATOR 3 && (intspanset, intspanset), + -- overlaps or right + OPERATOR 4 &> (intspanset, integer), + OPERATOR 4 &> (intspanset, intspan), + OPERATOR 4 &> (intspanset, intspanset), + -- strictly right + OPERATOR 5 >> (intspanset, integer), + OPERATOR 5 >> (intspanset, intspan), + OPERATOR 5 >> (intspanset, intspanset), + -- contains + OPERATOR 7 @> (intspanset, integer), + OPERATOR 7 @> (intspanset, intspan), + OPERATOR 7 @> (intspanset, intspanset), + -- contained by + OPERATOR 8 <@ (intspanset, intspan), + OPERATOR 8 <@ (intspanset, intspanset), + -- adjacent + OPERATOR 17 -|- (intspanset, intspan), + OPERATOR 17 -|- (intspanset, intspanset), + -- equals + OPERATOR 18 = (intspanset, intspanset), + -- nearest approach distance + OPERATOR 25 <-> (intspanset, integer) FOR ORDER BY pg_catalog.integer_ops, + OPERATOR 25 <-> (intspanset, intspan) FOR ORDER BY pg_catalog.integer_ops, + OPERATOR 25 <-> (intspanset, intspanset) FOR ORDER BY pg_catalog.integer_ops, + -- functions + FUNCTION 1 intspan_spgist_config(internal, internal), + FUNCTION 2 span_quadtree_choose(internal, internal), + FUNCTION 3 span_quadtree_picksplit(internal, internal), + FUNCTION 4 span_quadtree_inner_consistent(internal, internal), + FUNCTION 5 span_spgist_leaf_consistent(internal, internal), + FUNCTION 6 spanset_spgist_compress(internal); + +/******************************************************************************/ + +CREATE OPERATOR CLASS bigintspanset_quadtree_ops + DEFAULT FOR TYPE bigintspanset USING spgist AS + -- strictly left + OPERATOR 1 << (bigintspanset, bigint), + OPERATOR 1 << (bigintspanset, bigintspan), + OPERATOR 1 << (bigintspanset, bigintspanset), + -- overlaps or left + OPERATOR 2 &< (bigintspanset, bigint), + OPERATOR 2 &< (bigintspanset, bigintspan), + OPERATOR 2 &< (bigintspanset, bigintspanset), + -- overlaps + OPERATOR 3 && (bigintspanset, bigintspan), + OPERATOR 3 && (bigintspanset, bigintspanset), + -- overlaps or right + OPERATOR 4 &> (bigintspanset, bigint), + OPERATOR 4 &> (bigintspanset, bigintspan), + OPERATOR 4 &> (bigintspanset, bigintspanset), + -- strictly right + OPERATOR 5 >> (bigintspanset, bigint), + OPERATOR 5 >> (bigintspanset, bigintspan), + OPERATOR 5 >> (bigintspanset, bigintspanset), + -- contains + OPERATOR 7 @> (bigintspanset, bigint), + OPERATOR 7 @> (bigintspanset, bigintspan), + OPERATOR 7 @> (bigintspanset, bigintspanset), + -- contained by + OPERATOR 8 <@ (bigintspanset, bigintspan), + OPERATOR 8 <@ (bigintspanset, bigintspanset), + -- adjacent + OPERATOR 17 -|- (bigintspanset, bigintspan), + OPERATOR 17 -|- (bigintspanset, bigintspanset), + -- equals + OPERATOR 18 = (bigintspanset, bigintspanset), + -- nearest approach distance + OPERATOR 25 <-> (bigintspanset, bigint) FOR ORDER BY pg_catalog.integer_ops, + OPERATOR 25 <-> (bigintspanset, bigintspan) FOR ORDER BY pg_catalog.integer_ops, + OPERATOR 25 <-> (bigintspanset, bigintspanset) FOR ORDER BY pg_catalog.integer_ops, + -- functions + FUNCTION 1 intspan_spgist_config(internal, internal), + FUNCTION 2 span_quadtree_choose(internal, internal), + FUNCTION 3 span_quadtree_picksplit(internal, internal), + FUNCTION 4 span_quadtree_inner_consistent(internal, internal), + FUNCTION 5 span_spgist_leaf_consistent(internal, internal), + FUNCTION 6 spanset_spgist_compress(internal); + +/******************************************************************************/ + +CREATE OPERATOR CLASS floatspanset_quadtree_ops + DEFAULT FOR TYPE floatspanset USING spgist AS + -- strictly left + OPERATOR 1 << (floatspanset, float), + OPERATOR 1 << (floatspanset, floatspan), + OPERATOR 1 << (floatspanset, floatspanset), + -- overlaps or left + OPERATOR 2 &< (floatspanset, float), + OPERATOR 2 &< (floatspanset, floatspan), + OPERATOR 2 &< (floatspanset, floatspanset), + -- overlaps + OPERATOR 3 && (floatspanset, floatspan), + OPERATOR 3 && (floatspanset, floatspanset), + -- overlaps or right + OPERATOR 4 &> (floatspanset, float), + OPERATOR 4 &> (floatspanset, floatspan), + OPERATOR 4 &> (floatspanset, floatspanset), + -- strictly right + OPERATOR 5 >> (floatspanset, float), + OPERATOR 5 >> (floatspanset, floatspan), + OPERATOR 5 >> (floatspanset, floatspanset), + -- contains + OPERATOR 7 @> (floatspanset, float), + OPERATOR 7 @> (floatspanset, floatspan), + OPERATOR 7 @> (floatspanset, floatspanset), + -- contained by + OPERATOR 8 <@ (floatspanset, floatspan), + OPERATOR 8 <@ (floatspanset, floatspanset), + -- adjacent + OPERATOR 17 -|- (floatspanset, floatspan), + OPERATOR 17 -|- (floatspanset, floatspanset), + -- equals + OPERATOR 18 = (floatspanset, floatspanset), + -- nearest approach distance + OPERATOR 25 <-> (floatspanset, float) FOR ORDER BY pg_catalog.float_ops, + OPERATOR 25 <-> (floatspanset, floatspan) FOR ORDER BY pg_catalog.float_ops, + OPERATOR 25 <-> (floatspanset, floatspanset) FOR ORDER BY pg_catalog.float_ops, + -- functions + FUNCTION 1 floatspan_spgist_config(internal, internal), + FUNCTION 2 span_quadtree_choose(internal, internal), + FUNCTION 3 span_quadtree_picksplit(internal, internal), + FUNCTION 4 span_quadtree_inner_consistent(internal, internal), + FUNCTION 5 span_spgist_leaf_consistent(internal, internal), + FUNCTION 6 spanset_spgist_compress(internal); + +/******************************************************************************/ + +CREATE OPERATOR CLASS datespanset_quadtree_ops + DEFAULT FOR TYPE datespanset USING spgist AS + -- overlaps + OPERATOR 3 && (datespanset, datespan), + OPERATOR 3 && (datespanset, datespanset), + -- contains + OPERATOR 7 @> (datespanset, date), + OPERATOR 7 @> (datespanset, datespan), + OPERATOR 7 @> (datespanset, datespanset), + -- contained by + OPERATOR 8 <@ (datespanset, datespan), + OPERATOR 8 <@ (datespanset, datespanset), + -- adjacent + OPERATOR 17 -|- (datespanset, datespan), + OPERATOR 17 -|- (datespanset, datespanset), +-- equals + OPERATOR 18 = (datespanset, datespanset), + -- nearest approach distance + OPERATOR 25 <-> (datespanset, date) FOR ORDER BY pg_catalog.integer_ops, + OPERATOR 25 <-> (datespanset, datespan) FOR ORDER BY pg_catalog.integer_ops, + OPERATOR 25 <-> (datespanset, datespanset) FOR ORDER BY pg_catalog.integer_ops, + -- overlaps or before + OPERATOR 28 &<# (datespanset, date), + OPERATOR 28 &<# (datespanset, datespan), + OPERATOR 28 &<# (datespanset, datespanset), + -- strictly before + OPERATOR 29 <<# (datespanset, date), + OPERATOR 29 <<# (datespanset, datespan), + OPERATOR 29 <<# (datespanset, datespanset), + -- strictly after + OPERATOR 30 #>> (datespanset, date), + OPERATOR 30 #>> (datespanset, datespan), + OPERATOR 30 #>> (datespanset, datespanset), + -- overlaps or after + OPERATOR 31 #&> (datespanset, date), + OPERATOR 31 #&> (datespanset, datespan), + OPERATOR 31 #&> (datespanset, datespanset), + -- functions + FUNCTION 1 datespan_spgist_config(internal, internal), + FUNCTION 2 span_quadtree_choose(internal, internal), + FUNCTION 3 span_quadtree_picksplit(internal, internal), + FUNCTION 4 span_quadtree_inner_consistent(internal, internal), + FUNCTION 5 span_spgist_leaf_consistent(internal, internal), + FUNCTION 6 spanset_spgist_compress(internal); + +/******************************************************************************/ + +CREATE OPERATOR CLASS tstzspanset_quadtree_ops + DEFAULT FOR TYPE tstzspanset USING spgist AS + -- overlaps + OPERATOR 3 && (tstzspanset, tstzspan), + OPERATOR 3 && (tstzspanset, tstzspanset), + -- contains + OPERATOR 7 @> (tstzspanset, timestamptz), + OPERATOR 7 @> (tstzspanset, tstzspan), + OPERATOR 7 @> (tstzspanset, tstzspanset), + -- contained by + OPERATOR 8 <@ (tstzspanset, tstzspan), + OPERATOR 8 <@ (tstzspanset, tstzspanset), + -- adjacent + OPERATOR 17 -|- (tstzspanset, tstzspan), + OPERATOR 17 -|- (tstzspanset, tstzspanset), +-- equals + OPERATOR 18 = (tstzspanset, tstzspanset), + -- nearest approach distance + OPERATOR 25 <-> (tstzspanset, timestamptz) FOR ORDER BY pg_catalog.float_ops, + OPERATOR 25 <-> (tstzspanset, tstzspan) FOR ORDER BY pg_catalog.float_ops, + OPERATOR 25 <-> (tstzspanset, tstzspanset) FOR ORDER BY pg_catalog.float_ops, + -- overlaps or before + OPERATOR 28 &<# (tstzspanset, timestamptz), + OPERATOR 28 &<# (tstzspanset, tstzspan), + OPERATOR 28 &<# (tstzspanset, tstzspanset), + -- strictly before + OPERATOR 29 <<# (tstzspanset, timestamptz), + OPERATOR 29 <<# (tstzspanset, tstzspan), + OPERATOR 29 <<# (tstzspanset, tstzspanset), + -- strictly after + OPERATOR 30 #>> (tstzspanset, timestamptz), + OPERATOR 30 #>> (tstzspanset, tstzspan), + OPERATOR 30 #>> (tstzspanset, tstzspanset), + -- overlaps or after + OPERATOR 31 #&> (tstzspanset, timestamptz), + OPERATOR 31 #&> (tstzspanset, tstzspan), + OPERATOR 31 #&> (tstzspanset, tstzspanset), + -- functions + FUNCTION 1 tstzspan_spgist_config(internal, internal), + FUNCTION 2 span_quadtree_choose(internal, internal), + FUNCTION 3 span_quadtree_picksplit(internal, internal), + FUNCTION 4 span_quadtree_inner_consistent(internal, internal), + FUNCTION 5 span_spgist_leaf_consistent(internal, internal), + FUNCTION 6 spanset_spgist_compress(internal); + +/****************************************************************************** + * Kd-tree SP-GiST indexes + ******************************************************************************/ + +CREATE OPERATOR CLASS intspanset_kdtree_ops + FOR TYPE intspanset USING spgist AS + -- strictly left + OPERATOR 1 << (intspanset, integer), + OPERATOR 1 << (intspanset, intspan), + OPERATOR 1 << (intspanset, intspanset), + -- overlaps or left + OPERATOR 2 &< (intspanset, integer), + OPERATOR 2 &< (intspanset, intspan), + OPERATOR 2 &< (intspanset, intspanset), + -- overlaps + OPERATOR 3 && (intspanset, intspan), + OPERATOR 3 && (intspanset, intspanset), + -- overlaps or right + OPERATOR 4 &> (intspanset, integer), + OPERATOR 4 &> (intspanset, intspan), + OPERATOR 4 &> (intspanset, intspanset), + -- strictly right + OPERATOR 5 >> (intspanset, integer), + OPERATOR 5 >> (intspanset, intspan), + OPERATOR 5 >> (intspanset, intspanset), + -- contains + OPERATOR 7 @> (intspanset, integer), + OPERATOR 7 @> (intspanset, intspan), + OPERATOR 7 @> (intspanset, intspanset), + -- contained by + OPERATOR 8 <@ (intspanset, intspan), + OPERATOR 8 <@ (intspanset, intspanset), + -- adjacent + OPERATOR 17 -|- (intspanset, intspan), + OPERATOR 17 -|- (intspanset, intspanset), + -- equals + OPERATOR 18 = (intspanset, intspanset), + -- nearest approach distance + OPERATOR 25 <-> (intspanset, integer) FOR ORDER BY pg_catalog.integer_ops, + OPERATOR 25 <-> (intspanset, intspan) FOR ORDER BY pg_catalog.integer_ops, + OPERATOR 25 <-> (intspanset, intspanset) FOR ORDER BY pg_catalog.integer_ops, + -- functions + FUNCTION 1 intspan_spgist_config(internal, internal), + FUNCTION 2 span_kdtree_choose(internal, internal), + FUNCTION 3 span_kdtree_picksplit(internal, internal), + FUNCTION 4 span_kdtree_inner_consistent(internal, internal), + FUNCTION 5 span_spgist_leaf_consistent(internal, internal), + FUNCTION 6 spanset_spgist_compress(internal); + +/******************************************************************************/ + +CREATE OPERATOR CLASS bigintspanset_kdtree_ops + FOR TYPE bigintspanset USING spgist AS + -- strictly left + OPERATOR 1 << (bigintspanset, bigint), + OPERATOR 1 << (bigintspanset, bigintspan), + OPERATOR 1 << (bigintspanset, bigintspanset), + -- overlaps or left + OPERATOR 2 &< (bigintspanset, bigint), + OPERATOR 2 &< (bigintspanset, bigintspan), + OPERATOR 2 &< (bigintspanset, bigintspanset), + -- overlaps + OPERATOR 3 && (bigintspanset, bigintspan), + OPERATOR 3 && (bigintspanset, bigintspanset), + -- overlaps or right + OPERATOR 4 &> (bigintspanset, bigint), + OPERATOR 4 &> (bigintspanset, bigintspan), + OPERATOR 4 &> (bigintspanset, bigintspanset), + -- strictly right + OPERATOR 5 >> (bigintspanset, bigint), + OPERATOR 5 >> (bigintspanset, bigintspan), + OPERATOR 5 >> (bigintspanset, bigintspanset), + -- contains + OPERATOR 7 @> (bigintspanset, bigint), + OPERATOR 7 @> (bigintspanset, bigintspan), + OPERATOR 7 @> (bigintspanset, bigintspanset), + -- contained by + OPERATOR 8 <@ (bigintspanset, bigintspan), + OPERATOR 8 <@ (bigintspanset, bigintspanset), + -- adjacent + OPERATOR 17 -|- (bigintspanset, bigintspan), + OPERATOR 17 -|- (bigintspanset, bigintspanset), + -- equals + OPERATOR 18 = (bigintspanset, bigintspanset), + -- nearest approach distance + OPERATOR 25 <-> (bigintspanset, bigint) FOR ORDER BY pg_catalog.integer_ops, + OPERATOR 25 <-> (bigintspanset, bigintspan) FOR ORDER BY pg_catalog.integer_ops, + OPERATOR 25 <-> (bigintspanset, bigintspanset) FOR ORDER BY pg_catalog.integer_ops, + -- functions + FUNCTION 1 intspan_spgist_config(internal, internal), + FUNCTION 2 span_kdtree_choose(internal, internal), + FUNCTION 3 span_kdtree_picksplit(internal, internal), + FUNCTION 4 span_kdtree_inner_consistent(internal, internal), + FUNCTION 5 span_spgist_leaf_consistent(internal, internal), + FUNCTION 6 spanset_spgist_compress(internal); + +/******************************************************************************/ + +CREATE OPERATOR CLASS floatspanset_kdtree_ops + FOR TYPE floatspanset USING spgist AS + -- strictly left + OPERATOR 1 << (floatspanset, float), + OPERATOR 1 << (floatspanset, floatspan), + OPERATOR 1 << (floatspanset, floatspanset), + -- overlaps or left + OPERATOR 2 &< (floatspanset, float), + OPERATOR 2 &< (floatspanset, floatspan), + OPERATOR 2 &< (floatspanset, floatspanset), + -- overlaps + OPERATOR 3 && (floatspanset, floatspan), + OPERATOR 3 && (floatspanset, floatspanset), + -- overlaps or right + OPERATOR 4 &> (floatspanset, float), + OPERATOR 4 &> (floatspanset, floatspan), + OPERATOR 4 &> (floatspanset, floatspanset), + -- strictly right + OPERATOR 5 >> (floatspanset, float), + OPERATOR 5 >> (floatspanset, floatspan), + OPERATOR 5 >> (floatspanset, floatspanset), + -- contains + OPERATOR 7 @> (floatspanset, float), + OPERATOR 7 @> (floatspanset, floatspan), + OPERATOR 7 @> (floatspanset, floatspanset), + -- contained by + OPERATOR 8 <@ (floatspanset, floatspan), + OPERATOR 8 <@ (floatspanset, floatspanset), + -- adjacent + OPERATOR 17 -|- (floatspanset, floatspan), + OPERATOR 17 -|- (floatspanset, floatspanset), + -- equals + OPERATOR 18 = (floatspanset, floatspanset), + -- nearest approach distance + OPERATOR 25 <-> (floatspanset, float) FOR ORDER BY pg_catalog.float_ops, + OPERATOR 25 <-> (floatspanset, floatspan) FOR ORDER BY pg_catalog.float_ops, + OPERATOR 25 <-> (floatspanset, floatspanset) FOR ORDER BY pg_catalog.float_ops, + -- functions + FUNCTION 1 floatspan_spgist_config(internal, internal), + FUNCTION 2 span_kdtree_choose(internal, internal), + FUNCTION 3 span_kdtree_picksplit(internal, internal), + FUNCTION 4 span_kdtree_inner_consistent(internal, internal), + FUNCTION 5 span_spgist_leaf_consistent(internal, internal), + FUNCTION 6 spanset_spgist_compress(internal); + +/******************************************************************************/ + +CREATE OPERATOR CLASS datespanset_kdtree_ops + FOR TYPE datespanset USING spgist AS + -- overlaps + OPERATOR 3 && (datespanset, datespan), + OPERATOR 3 && (datespanset, datespanset), + -- contains + OPERATOR 7 @> (datespanset, date), + OPERATOR 7 @> (datespanset, datespan), + OPERATOR 7 @> (datespanset, datespanset), + -- contained by + OPERATOR 8 <@ (datespanset, datespan), + OPERATOR 8 <@ (datespanset, datespanset), + -- adjacent + OPERATOR 17 -|- (datespanset, datespan), + OPERATOR 17 -|- (datespanset, datespanset), +-- equals + OPERATOR 18 = (datespanset, datespanset), + -- nearest approach distance + OPERATOR 25 <-> (datespanset, date) FOR ORDER BY pg_catalog.integer_ops, + OPERATOR 25 <-> (datespanset, datespan) FOR ORDER BY pg_catalog.integer_ops, + OPERATOR 25 <-> (datespanset, datespanset) FOR ORDER BY pg_catalog.integer_ops, + -- overlaps or before + OPERATOR 28 &<# (datespanset, date), + OPERATOR 28 &<# (datespanset, datespan), + OPERATOR 28 &<# (datespanset, datespanset), + -- strictly before + OPERATOR 29 <<# (datespanset, date), + OPERATOR 29 <<# (datespanset, datespan), + OPERATOR 29 <<# (datespanset, datespanset), + -- strictly after + OPERATOR 30 #>> (datespanset, date), + OPERATOR 30 #>> (datespanset, datespan), + OPERATOR 30 #>> (datespanset, datespanset), + -- overlaps or after + OPERATOR 31 #&> (datespanset, date), + OPERATOR 31 #&> (datespanset, datespan), + OPERATOR 31 #&> (datespanset, datespanset), + -- functions + FUNCTION 1 datespan_spgist_config(internal, internal), + FUNCTION 2 span_kdtree_choose(internal, internal), + FUNCTION 3 span_kdtree_picksplit(internal, internal), + FUNCTION 4 span_kdtree_inner_consistent(internal, internal), + FUNCTION 5 span_spgist_leaf_consistent(internal, internal), + FUNCTION 6 spanset_spgist_compress(internal); + +/******************************************************************************/ + +CREATE OPERATOR CLASS tstzspanset_kdtree_ops + FOR TYPE tstzspanset USING spgist AS + -- overlaps + OPERATOR 3 && (tstzspanset, tstzspan), + OPERATOR 3 && (tstzspanset, tstzspanset), + -- contains + OPERATOR 7 @> (tstzspanset, timestamptz), + OPERATOR 7 @> (tstzspanset, tstzspan), + OPERATOR 7 @> (tstzspanset, tstzspanset), + -- contained by + OPERATOR 8 <@ (tstzspanset, tstzspan), + OPERATOR 8 <@ (tstzspanset, tstzspanset), + -- adjacent + OPERATOR 17 -|- (tstzspanset, tstzspan), + OPERATOR 17 -|- (tstzspanset, tstzspanset), +-- equals + OPERATOR 18 = (tstzspanset, tstzspanset), + -- nearest approach distance + OPERATOR 25 <-> (tstzspanset, timestamptz) FOR ORDER BY pg_catalog.float_ops, + OPERATOR 25 <-> (tstzspanset, tstzspan) FOR ORDER BY pg_catalog.float_ops, + OPERATOR 25 <-> (tstzspanset, tstzspanset) FOR ORDER BY pg_catalog.float_ops, + -- overlaps or before + OPERATOR 28 &<# (tstzspanset, timestamptz), + OPERATOR 28 &<# (tstzspanset, tstzspan), + OPERATOR 28 &<# (tstzspanset, tstzspanset), + -- strictly before + OPERATOR 29 <<# (tstzspanset, timestamptz), + OPERATOR 29 <<# (tstzspanset, tstzspan), + OPERATOR 29 <<# (tstzspanset, tstzspanset), + -- strictly after + OPERATOR 30 #>> (tstzspanset, timestamptz), + OPERATOR 30 #>> (tstzspanset, tstzspan), + OPERATOR 30 #>> (tstzspanset, tstzspanset), + -- overlaps or after + OPERATOR 31 #&> (tstzspanset, timestamptz), + OPERATOR 31 #&> (tstzspanset, tstzspan), + OPERATOR 31 #&> (tstzspanset, tstzspanset), + -- functions + FUNCTION 1 tstzspan_spgist_config(internal, internal), + FUNCTION 2 span_kdtree_choose(internal, internal), + FUNCTION 3 span_kdtree_picksplit(internal, internal), + FUNCTION 4 span_kdtree_inner_consistent(internal, internal), + FUNCTION 5 span_spgist_leaf_consistent(internal, internal), + FUNCTION 6 spanset_spgist_compress(internal); + +/******************************************************************************/ diff --git a/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/temporal/013_set_indexes.in.sql b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/temporal/013_set_indexes.in.sql new file mode 100644 index 00000000..a1869c67 --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/temporal/013_set_indexes.in.sql @@ -0,0 +1,774 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @file + * @brief R-tree GiST, Quad-tree SP-GiST, and Kd-tree SP-GiST indexes for set + * types + */ + +/****************************************************************************** + * R-tree GiST indexes + ******************************************************************************/ + +CREATE FUNCTION span_gist_consistent(internal, intset, smallint, oid, internal) + RETURNS bool + AS 'MODULE_PATHNAME', 'Span_gist_consistent' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_gist_distance(internal, intset, smallint, oid, internal) + RETURNS internal + AS 'MODULE_PATHNAME', 'Span_gist_distance' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_gist_compress(internal) + RETURNS internal + AS 'MODULE_PATHNAME', 'Set_gist_compress' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/******************************************************************************/ + +CREATE OPERATOR CLASS intset_rtree_ops + DEFAULT FOR TYPE intset USING gist AS + STORAGE intspan, + -- strictly left + OPERATOR 1 << (intset, integer), + OPERATOR 1 << (intset, intset), + -- overlaps or left + OPERATOR 2 &< (intset, integer), + OPERATOR 2 &< (intset, intset), + -- overlaps + OPERATOR 3 && (intset, intset), + -- overlaps or right + OPERATOR 4 &> (intset, integer), + OPERATOR 4 &> (intset, intset), + -- strictly right + OPERATOR 5 >> (intset, integer), + OPERATOR 5 >> (intset, intset), + -- contains + OPERATOR 7 @> (intset, integer), + OPERATOR 7 @> (intset, intset), + -- contained by + OPERATOR 8 <@ (intset, intset), + -- equals + OPERATOR 18 = (intset, intset), + -- nearest approach distance + OPERATOR 25 <-> (intset, integer) FOR ORDER BY pg_catalog.integer_ops, + OPERATOR 25 <-> (intset, intset) FOR ORDER BY pg_catalog.integer_ops, + -- functions + FUNCTION 1 span_gist_consistent(internal, intset, smallint, oid, internal), + FUNCTION 2 span_gist_union(internal, internal), + FUNCTION 3 set_gist_compress(internal), + FUNCTION 5 span_gist_penalty(internal, internal, internal), + FUNCTION 6 span_gist_picksplit(internal, internal), + FUNCTION 7 span_gist_same(intspan, intspan, internal), + FUNCTION 8 span_gist_distance(internal, intset, smallint, oid, internal); + +/******************************************************************************/ + +CREATE FUNCTION span_gist_consistent(internal, bigintset, smallint, oid, internal) + RETURNS bool + AS 'MODULE_PATHNAME', 'Span_gist_consistent' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_gist_distance(internal, bigintset, smallint, oid, internal) + RETURNS internal + AS 'MODULE_PATHNAME', 'Span_gist_distance' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/******************************************************************************/ + +CREATE OPERATOR CLASS bigintset_rtree_ops + DEFAULT FOR TYPE bigintset USING gist AS + STORAGE bigintspan, + -- strictly left + OPERATOR 1 << (bigintset, bigint), + OPERATOR 1 << (bigintset, bigintset), + -- overlaps or left + OPERATOR 2 &< (bigintset, bigint), + OPERATOR 2 &< (bigintset, bigintset), + -- overlaps + OPERATOR 3 && (bigintset, bigintset), + -- overlaps or right + OPERATOR 4 &> (bigintset, bigint), + OPERATOR 4 &> (bigintset, bigintset), + -- strictly right + OPERATOR 5 >> (bigintset, bigint), + OPERATOR 5 >> (bigintset, bigintset), + -- contains + OPERATOR 7 @> (bigintset, bigint), + OPERATOR 7 @> (bigintset, bigintset), + -- contained by + OPERATOR 8 <@ (bigintset, bigintset), + -- equals + OPERATOR 18 = (bigintset, bigintset), + -- nearest approach distance + OPERATOR 25 <-> (bigintset, bigint) FOR ORDER BY pg_catalog.integer_ops, + OPERATOR 25 <-> (bigintset, bigintset) FOR ORDER BY pg_catalog.integer_ops, + -- functions + FUNCTION 1 span_gist_consistent(internal, bigintset, smallint, oid, internal), + FUNCTION 2 span_gist_union(internal, internal), + FUNCTION 3 set_gist_compress(internal), + FUNCTION 5 span_gist_penalty(internal, internal, internal), + FUNCTION 6 span_gist_picksplit(internal, internal), + FUNCTION 7 span_gist_same(bigintspan, bigintspan, internal), + FUNCTION 8 span_gist_distance(internal, bigintset, smallint, oid, internal); + +/******************************************************************************/ + +CREATE FUNCTION span_gist_consistent(internal, floatset, smallint, oid, internal) + RETURNS bool + AS 'MODULE_PATHNAME', 'Span_gist_consistent' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION span_gist_distance(internal, floatset, smallint, oid, internal) + RETURNS internal + AS 'MODULE_PATHNAME', 'Span_gist_distance' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/******************************************************************************/ + +CREATE OPERATOR CLASS floatset_rtree_ops + DEFAULT FOR TYPE floatset USING gist AS + STORAGE floatspan, + -- strictly left + OPERATOR 1 << (floatset, float), + OPERATOR 1 << (floatset, floatset), + -- overlaps or left + OPERATOR 2 &< (floatset, float), + OPERATOR 2 &< (floatset, floatset), + -- overlaps + OPERATOR 3 && (floatset, floatset), + -- overlaps or right + OPERATOR 4 &> (floatset, float), + OPERATOR 4 &> (floatset, floatset), + -- strictly right + OPERATOR 5 >> (floatset, float), + OPERATOR 5 >> (floatset, floatset), + -- contains + OPERATOR 7 @> (floatset, float), + OPERATOR 7 @> (floatset, floatset), + -- contained by + OPERATOR 8 <@ (floatset, floatset), + -- equals + OPERATOR 18 = (floatset, floatset), + -- nearest approach distance + OPERATOR 25 <-> (floatset, float) FOR ORDER BY pg_catalog.float_ops, + OPERATOR 25 <-> (floatset, floatset) FOR ORDER BY pg_catalog.float_ops, + -- functions + FUNCTION 1 span_gist_consistent(internal, floatset, smallint, oid, internal), + FUNCTION 2 span_gist_union(internal, internal), + FUNCTION 3 set_gist_compress(internal), + FUNCTION 5 span_gist_penalty(internal, internal, internal), + FUNCTION 6 span_gist_picksplit(internal, internal), + FUNCTION 7 span_gist_same(floatspan, floatspan, internal), + FUNCTION 8 span_gist_distance(internal, floatset, smallint, oid, internal); + +/*****************************************************************************/ + +CREATE FUNCTION span_gist_consistent(internal, dateset, smallint, oid, internal) + RETURNS bool + AS 'MODULE_PATHNAME', 'Span_gist_consistent' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/*****************************************************************************/ + +CREATE OPERATOR CLASS dateset_rtree_ops + DEFAULT FOR TYPE dateset USING gist AS + STORAGE datespan, + -- overlaps + OPERATOR 3 && (dateset, dateset), + -- contains + OPERATOR 7 @> (dateset, date), + OPERATOR 7 @> (dateset, dateset), + -- contained by + OPERATOR 8 <@ (dateset, dateset), + -- equals + OPERATOR 18 = (dateset, dateset), + -- nearest approach distance + OPERATOR 25 <-> (dateset, date) FOR ORDER BY pg_catalog.integer_ops, + OPERATOR 25 <-> (dateset, dateset) FOR ORDER BY pg_catalog.integer_ops, + -- overlaps or before + OPERATOR 28 &<# (dateset, date), + OPERATOR 28 &<# (dateset, dateset), + -- strictly before + OPERATOR 29 <<# (dateset, date), + OPERATOR 29 <<# (dateset, dateset), + -- strictly after + OPERATOR 30 #>> (dateset, date), + OPERATOR 30 #>> (dateset, dateset), + -- overlaps or after + OPERATOR 31 #&> (dateset, date), + OPERATOR 31 #&> (dateset, dateset), + -- functions + FUNCTION 1 span_gist_consistent(internal, dateset, smallint, oid, internal), + FUNCTION 2 span_gist_union(internal, internal), + FUNCTION 3 set_gist_compress(internal), + FUNCTION 5 span_gist_penalty(internal, internal, internal), + FUNCTION 6 span_gist_picksplit(internal, internal), + FUNCTION 7 span_gist_same(datespan, datespan, internal); + +/*****************************************************************************/ + +CREATE FUNCTION span_gist_consistent(internal, tstzset, smallint, oid, internal) + RETURNS bool + AS 'MODULE_PATHNAME', 'Span_gist_consistent' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/*****************************************************************************/ + +CREATE OPERATOR CLASS tstzset_rtree_ops + DEFAULT FOR TYPE tstzset USING gist AS + STORAGE tstzspan, + -- overlaps + OPERATOR 3 && (tstzset, tstzset), + -- contains + OPERATOR 7 @> (tstzset, timestamptz), + OPERATOR 7 @> (tstzset, tstzset), + -- contained by + OPERATOR 8 <@ (tstzset, tstzset), + -- equals + OPERATOR 18 = (tstzset, tstzset), + -- nearest approach distance + OPERATOR 25 <-> (tstzset, timestamptz) FOR ORDER BY pg_catalog.float_ops, + OPERATOR 25 <-> (tstzset, tstzset) FOR ORDER BY pg_catalog.float_ops, + -- overlaps or before + OPERATOR 28 &<# (tstzset, timestamptz), + OPERATOR 28 &<# (tstzset, tstzset), + -- strictly before + OPERATOR 29 <<# (tstzset, timestamptz), + OPERATOR 29 <<# (tstzset, tstzset), + -- strictly after + OPERATOR 30 #>> (tstzset, timestamptz), + OPERATOR 30 #>> (tstzset, tstzset), + -- overlaps or after + OPERATOR 31 #&> (tstzset, timestamptz), + OPERATOR 31 #&> (tstzset, tstzset), + -- functions + FUNCTION 1 span_gist_consistent(internal, tstzset, smallint, oid, internal), + FUNCTION 2 span_gist_union(internal, internal), + FUNCTION 3 set_gist_compress(internal), + FUNCTION 5 span_gist_penalty(internal, internal, internal), + FUNCTION 6 span_gist_picksplit(internal, internal), + FUNCTION 7 span_gist_same(tstzspan, tstzspan, internal); + +/****************************************************************************** + * Quad-tree SP-GiST indexes + ******************************************************************************/ + +CREATE FUNCTION intset_spgist_config(internal, internal) + RETURNS void + AS 'MODULE_PATHNAME', 'Intspan_spgist_config' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION bigintset_spgist_config(internal, internal) + RETURNS void + AS 'MODULE_PATHNAME', 'Bigintspan_spgist_config' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION floatset_spgist_config(internal, internal) + RETURNS void + AS 'MODULE_PATHNAME', 'Floatspan_spgist_config' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION set_spgist_compress(internal) + RETURNS internal + AS 'MODULE_PATHNAME', 'Set_spgist_compress' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/******************************************************************************/ + +CREATE OPERATOR CLASS intset_quadtree_ops + DEFAULT FOR TYPE intset USING spgist AS + -- strictly left + OPERATOR 1 << (intset, integer), + OPERATOR 1 << (intset, intset), + -- overlaps or left + OPERATOR 2 &< (intset, integer), + OPERATOR 2 &< (intset, intset), + -- overlaps + OPERATOR 3 && (intset, intset), + -- overlaps or right + OPERATOR 4 &> (intset, integer), + OPERATOR 4 &> (intset, intset), + -- strictly right + OPERATOR 5 >> (intset, integer), + OPERATOR 5 >> (intset, intset), + -- contains + OPERATOR 7 @> (intset, integer), + OPERATOR 7 @> (intset, intset), + -- contained by + OPERATOR 8 <@ (intset, intset), + -- equals + OPERATOR 18 = (intset, intset), + -- nearest approach distance + OPERATOR 25 <-> (intset, integer) FOR ORDER BY pg_catalog.integer_ops, + OPERATOR 25 <-> (intset, intset) FOR ORDER BY pg_catalog.integer_ops, + -- functions + FUNCTION 1 intset_spgist_config(internal, internal), + FUNCTION 2 span_quadtree_choose(internal, internal), + FUNCTION 3 span_quadtree_picksplit(internal, internal), + FUNCTION 4 span_quadtree_inner_consistent(internal, internal), + FUNCTION 5 span_spgist_leaf_consistent(internal, internal), + FUNCTION 6 set_spgist_compress(internal); + +/******************************************************************************/ + +CREATE OPERATOR CLASS bigintset_quadtree_ops + DEFAULT FOR TYPE bigintset USING spgist AS + -- strictly left + OPERATOR 1 << (bigintset, bigint), + OPERATOR 1 << (bigintset, bigintset), + -- overlaps or left + OPERATOR 2 &< (bigintset, bigint), + OPERATOR 2 &< (bigintset, bigintset), + -- overlaps + OPERATOR 3 && (bigintset, bigintset), + -- overlaps or right + OPERATOR 4 &> (bigintset, bigint), + OPERATOR 4 &> (bigintset, bigintset), + -- strictly right + OPERATOR 5 >> (bigintset, bigint), + OPERATOR 5 >> (bigintset, bigintset), + -- contains + OPERATOR 7 @> (bigintset, bigint), + OPERATOR 7 @> (bigintset, bigintset), + -- contained by + OPERATOR 8 <@ (bigintset, bigintset), + -- equals + OPERATOR 18 = (bigintset, bigintset), + -- nearest approach distance + OPERATOR 25 <-> (bigintset, bigint) FOR ORDER BY pg_catalog.integer_ops, + OPERATOR 25 <-> (bigintset, bigintset) FOR ORDER BY pg_catalog.integer_ops, + -- functions + FUNCTION 1 intset_spgist_config(internal, internal), + FUNCTION 2 span_quadtree_choose(internal, internal), + FUNCTION 3 span_quadtree_picksplit(internal, internal), + FUNCTION 4 span_quadtree_inner_consistent(internal, internal), + FUNCTION 5 span_spgist_leaf_consistent(internal, internal), + FUNCTION 6 set_spgist_compress(internal); + +/******************************************************************************/ + +CREATE OPERATOR CLASS floatset_quadtree_ops + DEFAULT FOR TYPE floatset USING spgist AS + -- strictly left + OPERATOR 1 << (floatset, float), + OPERATOR 1 << (floatset, floatset), + -- overlaps or left + OPERATOR 2 &< (floatset, float), + OPERATOR 2 &< (floatset, floatset), + -- overlaps + OPERATOR 3 && (floatset, floatset), + -- overlaps or right + OPERATOR 4 &> (floatset, float), + OPERATOR 4 &> (floatset, floatset), + -- strictly right + OPERATOR 5 >> (floatset, float), + OPERATOR 5 >> (floatset, floatset), + -- contains + OPERATOR 7 @> (floatset, float), + OPERATOR 7 @> (floatset, floatset), + -- contained by + OPERATOR 8 <@ (floatset, floatset), + -- equals + OPERATOR 18 = (floatset, floatset), + -- nearest approach distance + OPERATOR 25 <-> (floatset, float) FOR ORDER BY pg_catalog.float_ops, + OPERATOR 25 <-> (floatset, floatset) FOR ORDER BY pg_catalog.float_ops, + -- functions + FUNCTION 1 floatset_spgist_config(internal, internal), + FUNCTION 2 span_quadtree_choose(internal, internal), + FUNCTION 3 span_quadtree_picksplit(internal, internal), + FUNCTION 4 span_quadtree_inner_consistent(internal, internal), + FUNCTION 5 span_spgist_leaf_consistent(internal, internal), + FUNCTION 6 set_spgist_compress(internal); + +/******************************************************************************/ + +CREATE OPERATOR CLASS dateset_quadtree_ops + DEFAULT FOR TYPE dateset USING spgist AS + -- overlaps + OPERATOR 3 && (dateset, dateset), + -- contains + OPERATOR 7 @> (dateset, date), + OPERATOR 7 @> (dateset, dateset), + -- contained by + OPERATOR 8 <@ (dateset, dateset), + -- equals + OPERATOR 18 = (dateset, dateset), + -- nearest approach distance + OPERATOR 25 <-> (dateset, date) FOR ORDER BY pg_catalog.integer_ops, + OPERATOR 25 <-> (dateset, dateset) FOR ORDER BY pg_catalog.integer_ops, + -- overlaps or before + OPERATOR 28 &<# (dateset, date), + OPERATOR 28 &<# (dateset, dateset), + -- strictly before + OPERATOR 29 <<# (dateset, date), + OPERATOR 29 <<# (dateset, dateset), + -- strictly after + OPERATOR 30 #>> (dateset, date), + OPERATOR 30 #>> (dateset, dateset), + -- overlaps or after + OPERATOR 31 #&> (dateset, date), + OPERATOR 31 #&> (dateset, dateset), + -- functions + FUNCTION 1 datespan_spgist_config(internal, internal), + FUNCTION 2 span_quadtree_choose(internal, internal), + FUNCTION 3 span_quadtree_picksplit(internal, internal), + FUNCTION 4 span_quadtree_inner_consistent(internal, internal), + FUNCTION 5 span_spgist_leaf_consistent(internal, internal), + FUNCTION 6 set_spgist_compress(internal); + +/******************************************************************************/ + +CREATE OPERATOR CLASS tstzset_quadtree_ops + DEFAULT FOR TYPE tstzset USING spgist AS + -- overlaps + OPERATOR 3 && (tstzset, tstzset), + -- contains + OPERATOR 7 @> (tstzset, timestamptz), + OPERATOR 7 @> (tstzset, tstzset), + -- contained by + OPERATOR 8 <@ (tstzset, tstzset), + -- equals + OPERATOR 18 = (tstzset, tstzset), + -- nearest approach distance + OPERATOR 25 <-> (tstzset, timestamptz) FOR ORDER BY pg_catalog.float_ops, + OPERATOR 25 <-> (tstzset, tstzset) FOR ORDER BY pg_catalog.float_ops, + -- overlaps or before + OPERATOR 28 &<# (tstzset, timestamptz), + OPERATOR 28 &<# (tstzset, tstzset), + -- strictly before + OPERATOR 29 <<# (tstzset, timestamptz), + OPERATOR 29 <<# (tstzset, tstzset), + -- strictly after + OPERATOR 30 #>> (tstzset, timestamptz), + OPERATOR 30 #>> (tstzset, tstzset), + -- overlaps or after + OPERATOR 31 #&> (tstzset, timestamptz), + OPERATOR 31 #&> (tstzset, tstzset), + -- functions + FUNCTION 1 tstzspan_spgist_config(internal, internal), + FUNCTION 2 span_quadtree_choose(internal, internal), + FUNCTION 3 span_quadtree_picksplit(internal, internal), + FUNCTION 4 span_quadtree_inner_consistent(internal, internal), + FUNCTION 5 span_spgist_leaf_consistent(internal, internal), + FUNCTION 6 set_spgist_compress(internal); + +/****************************************************************************** + * Kd-tree indexes + ******************************************************************************/ + +CREATE OPERATOR CLASS intset_kdtree_ops + FOR TYPE intset USING spgist AS + -- strictly left + OPERATOR 1 << (intset, integer), + OPERATOR 1 << (intset, intset), + -- overlaps or left + OPERATOR 2 &< (intset, integer), + OPERATOR 2 &< (intset, intset), + -- overlaps + OPERATOR 3 && (intset, intset), + -- overlaps or right + OPERATOR 4 &> (intset, integer), + OPERATOR 4 &> (intset, intset), + -- strictly right + OPERATOR 5 >> (intset, integer), + OPERATOR 5 >> (intset, intset), + -- contains + OPERATOR 7 @> (intset, integer), + OPERATOR 7 @> (intset, intset), + -- contained by + OPERATOR 8 <@ (intset, intset), + -- equals + OPERATOR 18 = (intset, intset), + -- nearest approach distance + OPERATOR 25 <-> (intset, integer) FOR ORDER BY pg_catalog.integer_ops, + OPERATOR 25 <-> (intset, intset) FOR ORDER BY pg_catalog.integer_ops, + -- functions + FUNCTION 1 intset_spgist_config(internal, internal), + FUNCTION 2 span_kdtree_choose(internal, internal), + FUNCTION 3 span_kdtree_picksplit(internal, internal), + FUNCTION 4 span_kdtree_inner_consistent(internal, internal), + FUNCTION 5 span_spgist_leaf_consistent(internal, internal), + FUNCTION 6 set_spgist_compress(internal); + +/******************************************************************************/ + +CREATE OPERATOR CLASS bigintset_kdtree_ops + FOR TYPE bigintset USING spgist AS + -- strictly left + OPERATOR 1 << (bigintset, bigint), + OPERATOR 1 << (bigintset, bigintset), + -- overlaps or left + OPERATOR 2 &< (bigintset, bigint), + OPERATOR 2 &< (bigintset, bigintset), + -- overlaps + OPERATOR 3 && (bigintset, bigintset), + -- overlaps or right + OPERATOR 4 &> (bigintset, bigint), + OPERATOR 4 &> (bigintset, bigintset), + -- strictly right + OPERATOR 5 >> (bigintset, bigint), + OPERATOR 5 >> (bigintset, bigintset), + -- contains + OPERATOR 7 @> (bigintset, bigint), + OPERATOR 7 @> (bigintset, bigintset), + -- contained by + OPERATOR 8 <@ (bigintset, bigintset), + -- equals + OPERATOR 18 = (bigintset, bigintset), + -- nearest approach distance + OPERATOR 25 <-> (bigintset, bigint) FOR ORDER BY pg_catalog.integer_ops, + OPERATOR 25 <-> (bigintset, bigintset) FOR ORDER BY pg_catalog.integer_ops, + -- functions + FUNCTION 1 intset_spgist_config(internal, internal), + FUNCTION 2 span_kdtree_choose(internal, internal), + FUNCTION 3 span_kdtree_picksplit(internal, internal), + FUNCTION 4 span_kdtree_inner_consistent(internal, internal), + FUNCTION 5 span_spgist_leaf_consistent(internal, internal), + FUNCTION 6 set_spgist_compress(internal); + +/******************************************************************************/ + +CREATE OPERATOR CLASS floatset_kdtree_ops + FOR TYPE floatset USING spgist AS + -- strictly left + OPERATOR 1 << (floatset, float), + OPERATOR 1 << (floatset, floatset), + -- overlaps or left + OPERATOR 2 &< (floatset, float), + OPERATOR 2 &< (floatset, floatset), + -- overlaps + OPERATOR 3 && (floatset, floatset), + -- overlaps or right + OPERATOR 4 &> (floatset, float), + OPERATOR 4 &> (floatset, floatset), + -- strictly right + OPERATOR 5 >> (floatset, float), + OPERATOR 5 >> (floatset, floatset), + -- contains + OPERATOR 7 @> (floatset, float), + OPERATOR 7 @> (floatset, floatset), + -- contained by + OPERATOR 8 <@ (floatset, floatset), + -- equals + OPERATOR 18 = (floatset, floatset), + -- nearest approach distance + OPERATOR 25 <-> (floatset, float) FOR ORDER BY pg_catalog.float_ops, + OPERATOR 25 <-> (floatset, floatset) FOR ORDER BY pg_catalog.float_ops, + -- functions + FUNCTION 1 floatset_spgist_config(internal, internal), + FUNCTION 2 span_kdtree_choose(internal, internal), + FUNCTION 3 span_kdtree_picksplit(internal, internal), + FUNCTION 4 span_kdtree_inner_consistent(internal, internal), + FUNCTION 5 span_spgist_leaf_consistent(internal, internal), + FUNCTION 6 set_spgist_compress(internal); + +/******************************************************************************/ + +CREATE OPERATOR CLASS dateset_kdtree_ops + FOR TYPE dateset USING spgist AS + -- overlaps + OPERATOR 3 && (dateset, dateset), + -- contains + OPERATOR 7 @> (dateset, date), + OPERATOR 7 @> (dateset, dateset), + -- contained by + OPERATOR 8 <@ (dateset, dateset), + -- equals + OPERATOR 18 = (dateset, dateset), + -- nearest approach distance + OPERATOR 25 <-> (dateset, date) FOR ORDER BY pg_catalog.integer_ops, + OPERATOR 25 <-> (dateset, dateset) FOR ORDER BY pg_catalog.integer_ops, + -- overlaps or before + OPERATOR 28 &<# (dateset, date), + OPERATOR 28 &<# (dateset, dateset), + -- strictly before + OPERATOR 29 <<# (dateset, date), + OPERATOR 29 <<# (dateset, dateset), + -- strictly after + OPERATOR 30 #>> (dateset, date), + OPERATOR 30 #>> (dateset, dateset), + -- overlaps or after + OPERATOR 31 #&> (dateset, date), + OPERATOR 31 #&> (dateset, dateset), + -- functions + FUNCTION 1 datespan_spgist_config(internal, internal), + FUNCTION 2 span_kdtree_choose(internal, internal), + FUNCTION 3 span_kdtree_picksplit(internal, internal), + FUNCTION 4 span_kdtree_inner_consistent(internal, internal), + FUNCTION 5 span_spgist_leaf_consistent(internal, internal), + FUNCTION 6 set_spgist_compress(internal); + +/******************************************************************************/ + +CREATE OPERATOR CLASS tstzset_kdtree_ops + FOR TYPE tstzset USING spgist AS + -- overlaps + OPERATOR 3 && (tstzset, tstzset), + -- contains + OPERATOR 7 @> (tstzset, timestamptz), + OPERATOR 7 @> (tstzset, tstzset), + -- contained by + OPERATOR 8 <@ (tstzset, tstzset), + -- equals + OPERATOR 18 = (tstzset, tstzset), + -- nearest approach distance + OPERATOR 25 <-> (tstzset, timestamptz) FOR ORDER BY pg_catalog.float_ops, + OPERATOR 25 <-> (tstzset, tstzset) FOR ORDER BY pg_catalog.float_ops, + -- overlaps or before + OPERATOR 28 &<# (tstzset, timestamptz), + OPERATOR 28 &<# (tstzset, tstzset), + -- strictly before + OPERATOR 29 <<# (tstzset, timestamptz), + OPERATOR 29 <<# (tstzset, tstzset), + -- strictly after + OPERATOR 30 #>> (tstzset, timestamptz), + OPERATOR 30 #>> (tstzset, tstzset), + -- overlaps or after + OPERATOR 31 #&> (tstzset, timestamptz), + OPERATOR 31 #&> (tstzset, tstzset), + -- functions + FUNCTION 1 tstzspan_spgist_config(internal, internal), + FUNCTION 2 span_kdtree_choose(internal, internal), + FUNCTION 3 span_kdtree_picksplit(internal, internal), + FUNCTION 4 span_kdtree_inner_consistent(internal, internal), + FUNCTION 5 span_spgist_leaf_consistent(internal, internal), + FUNCTION 6 set_spgist_compress(internal); + +/****************************************************************************** + * GIN indexes + ******************************************************************************/ + +CREATE FUNCTION set_gin_extract_value(integer, internal) +RETURNS internal +AS 'MODULE_PATHNAME', 'Set_gin_extract_value' +LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION set_gin_extract_query(integer, internal, int2, internal, internal, internal, internal) +RETURNS internal +AS 'MODULE_PATHNAME', 'Set_gin_extract_query' +LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION set_gin_triconsistent(internal, int2, integer, int4, internal, internal, internal) +RETURNS char +AS 'MODULE_PATHNAME', 'Set_gin_triconsistent' +LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/******************************************************************************/ + +CREATE OPERATOR CLASS intset_gin_ops + DEFAULT FOR TYPE intset USING gin AS + STORAGE integer, + -- overlaps + OPERATOR 10 && (intset, intset), + -- contains value + OPERATOR 20 @> (intset, integer), + -- contains set + OPERATOR 21 @> (intset, intset), + -- contained + OPERATOR 30 <@ (intset, intset), + -- same + OPERATOR 40 = (intset, intset), + -- functions + FUNCTION 2 set_gin_extract_value(integer, internal), + FUNCTION 3 set_gin_extract_query(integer, internal, int2, internal, internal, internal, internal), + FUNCTION 6 set_gin_triconsistent(internal, int2, integer, int4, internal, internal, internal); + +/******************************************************************************/ + +CREATE FUNCTION set_gin_extract_value(bigint, internal) +RETURNS internal +AS 'MODULE_PATHNAME', 'Set_gin_extract_value' +LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION set_gin_extract_query(bigint, internal, int2, internal, internal, internal, internal) +RETURNS internal +AS 'MODULE_PATHNAME', 'Set_gin_extract_query' +LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION set_gin_triconsistent(internal, int2, bigint, int4, internal, internal, internal) +RETURNS char +AS 'MODULE_PATHNAME', 'Set_gin_triconsistent' +LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/******************************************************************************/ + +CREATE OPERATOR CLASS bigintset_gin_ops + DEFAULT FOR TYPE bigintset USING gin AS + STORAGE bigint, + -- overlaps + OPERATOR 10 && (bigintset, bigintset), + -- contains value + OPERATOR 20 @> (bigintset, bigint), + -- contains set + OPERATOR 21 @> (bigintset, bigintset), + -- contained + OPERATOR 30 <@ (bigintset, bigintset), + -- equal + OPERATOR 40 = (bigintset, bigintset), + -- functions + FUNCTION 2 set_gin_extract_value(bigint, internal), + FUNCTION 3 set_gin_extract_query(bigint, internal, int2, internal, internal, internal, internal), + FUNCTION 6 set_gin_triconsistent(internal, int2, bigint, int4, internal, internal, internal); + +/******************************************************************************/ + +CREATE FUNCTION set_gin_extract_value(date, internal) +RETURNS internal +AS 'MODULE_PATHNAME', 'Set_gin_extract_value' +LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION set_gin_extract_query(date, internal, int2, internal, internal, internal, internal) +RETURNS internal +AS 'MODULE_PATHNAME', 'Set_gin_extract_query' +LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION set_gin_triconsistent(internal, int2, date, int4, internal, internal, internal) +RETURNS char +AS 'MODULE_PATHNAME', 'Set_gin_triconsistent' +LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/******************************************************************************/ + +CREATE OPERATOR CLASS dateset_gin_ops + DEFAULT FOR TYPE dateset USING gin AS + STORAGE date, + -- overlaps + OPERATOR 10 && (dateset, dateset), + -- contains value + OPERATOR 20 @> (dateset, date), + -- contains set + OPERATOR 21 @> (dateset, dateset), + -- contained + OPERATOR 30 <@ (dateset, dateset), + -- same + OPERATOR 40 = (dateset, dateset), + -- functions + FUNCTION 2 set_gin_extract_value(date, internal), + FUNCTION 3 set_gin_extract_query(date, internal, int2, internal, internal, internal, internal), + FUNCTION 6 set_gin_triconsistent(internal, int2, date, int4, internal, internal, internal); + +/******************************************************************************/ + diff --git a/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/temporal/015_span_aggfuncs.in.sql b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/temporal/015_span_aggfuncs.in.sql new file mode 100644 index 00000000..985fbcbd --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/temporal/015_span_aggfuncs.in.sql @@ -0,0 +1,438 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @file + * @brief Aggregate functions for types whose bounding box is a span + */ + +/*****************************************************************************/ +-- span + span + +-- The function is not strict +CREATE FUNCTION span_extent_transfn(intspan, intspan) + RETURNS intspan + AS 'MODULE_PATHNAME', 'Span_extent_transfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION span_extent_combinefn(intspan, intspan) + RETURNS intspan + AS 'MODULE_PATHNAME', 'Span_extent_combinefn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; + +CREATE FUNCTION span_extent_transfn(bigintspan, bigintspan) + RETURNS bigintspan + AS 'MODULE_PATHNAME', 'Span_extent_transfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION span_extent_combinefn(bigintspan, bigintspan) + RETURNS bigintspan + AS 'MODULE_PATHNAME', 'Span_extent_combinefn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; + +CREATE FUNCTION span_extent_transfn(floatspan, floatspan) + RETURNS floatspan + AS 'MODULE_PATHNAME', 'Span_extent_transfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION span_extent_combinefn(floatspan, floatspan) + RETURNS floatspan + AS 'MODULE_PATHNAME', 'Span_extent_combinefn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION span_extent_transfn(datespan, datespan) + RETURNS datespan + AS 'MODULE_PATHNAME', 'Span_extent_transfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION span_extent_combinefn(datespan, datespan) + RETURNS datespan + AS 'MODULE_PATHNAME', 'Span_extent_combinefn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION span_extent_transfn(tstzspan, tstzspan) + RETURNS tstzspan + AS 'MODULE_PATHNAME', 'Span_extent_transfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION span_extent_combinefn(tstzspan, tstzspan) + RETURNS tstzspan + AS 'MODULE_PATHNAME', 'Span_extent_combinefn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; + +CREATE AGGREGATE extent(intspan) ( + SFUNC = span_extent_transfn, + STYPE = intspan, + COMBINEFUNC = span_extent_combinefn, + PARALLEL = safe +); +CREATE AGGREGATE extent(bigintspan) ( + SFUNC = span_extent_transfn, + STYPE = bigintspan, + COMBINEFUNC = span_extent_combinefn, + PARALLEL = safe +); +CREATE AGGREGATE extent(floatspan) ( + SFUNC = span_extent_transfn, + STYPE = floatspan, + COMBINEFUNC = span_extent_combinefn, + PARALLEL = safe +); +CREATE AGGREGATE extent(datespan) ( + SFUNC = span_extent_transfn, + STYPE = datespan, + COMBINEFUNC = span_extent_combinefn, + PARALLEL = safe +); +CREATE AGGREGATE extent(tstzspan) ( + SFUNC = span_extent_transfn, + STYPE = tstzspan, + COMBINEFUNC = span_extent_combinefn, + PARALLEL = safe +); + +/*****************************************************************************/ +-- span + base + +-- The function is not strict +CREATE FUNCTION span_extent_transfn(intspan, integer) + RETURNS intspan + AS 'MODULE_PATHNAME', 'Spanbase_extent_transfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION span_extent_transfn(bigintspan, bigint) + RETURNS bigintspan + AS 'MODULE_PATHNAME', 'Spanbase_extent_transfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION span_extent_transfn(floatspan, float) + RETURNS floatspan + AS 'MODULE_PATHNAME', 'Spanbase_extent_transfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION span_extent_transfn(datespan, date) + RETURNS datespan + AS 'MODULE_PATHNAME', 'Spanbase_extent_transfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION span_extent_transfn(tstzspan, timestamptz) + RETURNS tstzspan + AS 'MODULE_PATHNAME', 'Spanbase_extent_transfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; + +CREATE AGGREGATE extent(integer) ( + SFUNC = span_extent_transfn, + STYPE = intspan, + COMBINEFUNC = span_extent_combinefn, + PARALLEL = safe +); +CREATE AGGREGATE extent(bigint) ( + SFUNC = span_extent_transfn, + STYPE = bigintspan, + COMBINEFUNC = span_extent_combinefn, + PARALLEL = safe +); +CREATE AGGREGATE extent(float) ( + SFUNC = span_extent_transfn, + STYPE = floatspan, + COMBINEFUNC = span_extent_combinefn, + PARALLEL = safe +); +CREATE AGGREGATE extent(date) ( + SFUNC = span_extent_transfn, + STYPE = datespan, + COMBINEFUNC = span_extent_combinefn, + PARALLEL = safe +); +CREATE AGGREGATE extent(timestamptz) ( + SFUNC = span_extent_transfn, + STYPE = tstzspan, + COMBINEFUNC = span_extent_combinefn, + PARALLEL = safe +); + +/*****************************************************************************/ +-- span + + +-- The function is not strict +CREATE FUNCTION set_extent_transfn(intspan, intset) + RETURNS intspan + AS 'MODULE_PATHNAME', 'Set_extent_transfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION set_extent_transfn(bigintspan, bigintset) + RETURNS bigintspan + AS 'MODULE_PATHNAME', 'Set_extent_transfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION set_extent_transfn(floatspan, floatset) + RETURNS floatspan + AS 'MODULE_PATHNAME', 'Set_extent_transfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION set_extent_transfn(datespan, dateset) + RETURNS datespan + AS 'MODULE_PATHNAME', 'Set_extent_transfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION set_extent_transfn(tstzspan, tstzset) + RETURNS tstzspan + AS 'MODULE_PATHNAME', 'Set_extent_transfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; + +CREATE AGGREGATE extent(intset) ( + SFUNC = set_extent_transfn, + STYPE = intspan, + COMBINEFUNC = span_extent_combinefn, + PARALLEL = safe +); +CREATE AGGREGATE extent(bigintset) ( + SFUNC = set_extent_transfn, + STYPE = bigintspan, + COMBINEFUNC = span_extent_combinefn, + PARALLEL = safe +); +CREATE AGGREGATE extent(floatset) ( + SFUNC = set_extent_transfn, + STYPE = floatspan, + COMBINEFUNC = span_extent_combinefn, + PARALLEL = safe +); +CREATE AGGREGATE extent(dateset) ( + SFUNC = set_extent_transfn, + STYPE = datespan, + COMBINEFUNC = span_extent_combinefn, + PARALLEL = safe +); +CREATE AGGREGATE extent(tstzset) ( + SFUNC = set_extent_transfn, + STYPE = tstzspan, + COMBINEFUNC = span_extent_combinefn, + PARALLEL = safe +); + +-- The function is not strict +CREATE FUNCTION spanset_extent_transfn(intspan, intspanset) + RETURNS intspan + AS 'MODULE_PATHNAME', 'Spanset_extent_transfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION spanset_extent_transfn(bigintspan, bigintspanset) + RETURNS bigintspan + AS 'MODULE_PATHNAME', 'Spanset_extent_transfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION spanset_extent_transfn(floatspan, floatspanset) + RETURNS floatspan + AS 'MODULE_PATHNAME', 'Spanset_extent_transfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION spanset_extent_transfn(datespan, datespanset) + RETURNS datespan + AS 'MODULE_PATHNAME', 'Spanset_extent_transfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION spanset_extent_transfn(tstzspan, tstzspanset) + RETURNS tstzspan + AS 'MODULE_PATHNAME', 'Spanset_extent_transfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; + +CREATE AGGREGATE extent(intspanset) ( + SFUNC = spanset_extent_transfn, + STYPE = intspan, + COMBINEFUNC = span_extent_combinefn, + PARALLEL = safe +); +CREATE AGGREGATE extent(bigintspanset) ( + SFUNC = spanset_extent_transfn, + STYPE = bigintspan, + COMBINEFUNC = span_extent_combinefn, + PARALLEL = safe +); +CREATE AGGREGATE extent(floatspanset) ( + SFUNC = spanset_extent_transfn, + STYPE = floatspan, + COMBINEFUNC = span_extent_combinefn, + PARALLEL = safe +); +CREATE AGGREGATE extent(datespanset) ( + SFUNC = spanset_extent_transfn, + STYPE = datespan, + COMBINEFUNC = span_extent_combinefn, + PARALLEL = safe +); +CREATE AGGREGATE extent(tstzspanset) ( + SFUNC = spanset_extent_transfn, + STYPE = tstzspan, + COMBINEFUNC = span_extent_combinefn, + PARALLEL = safe +); + +/*****************************************************************************/ + +-- The function is not strict +CREATE FUNCTION intspan_union_finalfn(internal) + RETURNS intspanset + AS 'MODULE_PATHNAME', 'Span_union_finalfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION bigintspan_union_finalfn(internal) + RETURNS bigintspanset + AS 'MODULE_PATHNAME', 'Span_union_finalfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION floatspan_union_finalfn(internal) + RETURNS floatspanset + AS 'MODULE_PATHNAME', 'Span_union_finalfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION datespan_union_finalfn(internal) + RETURNS datespanset + AS 'MODULE_PATHNAME', 'Span_union_finalfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION tstzspan_union_finalfn(internal) + RETURNS tstzspanset + AS 'MODULE_PATHNAME', 'Span_union_finalfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; + +CREATE AGGREGATE spanUnion(intspan) ( + SFUNC = array_agg_transfn, + STYPE = internal, +#if POSTGRESQL_VERSION_NUMBER >= 160000 + COMBINEFUNC = array_agg_combine, + SERIALFUNC = array_agg_serialize, + DESERIALFUNC = array_agg_deserialize, +#endif //POSTGRESQL_VERSION_NUMBER >= 160000 + FINALFUNC = intspan_union_finalfn, + PARALLEL = safe +); +CREATE AGGREGATE spanUnion(bigintspan) ( + SFUNC = array_agg_transfn, + STYPE = internal, +#if POSTGRESQL_VERSION_NUMBER >= 160000 + COMBINEFUNC = array_agg_combine, + SERIALFUNC = array_agg_serialize, + DESERIALFUNC = array_agg_deserialize, +#endif //POSTGRESQL_VERSION_NUMBER >= 160000 + FINALFUNC = bigintspan_union_finalfn, + PARALLEL = safe +); +CREATE AGGREGATE spanUnion(floatspan) ( + SFUNC = array_agg_transfn, + STYPE = internal, +#if POSTGRESQL_VERSION_NUMBER >= 160000 + COMBINEFUNC = array_agg_combine, + SERIALFUNC = array_agg_serialize, + DESERIALFUNC = array_agg_deserialize, +#endif //POSTGRESQL_VERSION_NUMBER >= 160000 + FINALFUNC = floatspan_union_finalfn, + PARALLEL = safe +); +CREATE AGGREGATE spanUnion(datespan) ( + SFUNC = array_agg_transfn, + STYPE = internal, +#if POSTGRESQL_VERSION_NUMBER >= 160000 + COMBINEFUNC = array_agg_combine, + SERIALFUNC = array_agg_serialize, + DESERIALFUNC = array_agg_deserialize, +#endif //POSTGRESQL_VERSION_NUMBER >= 160000 + FINALFUNC = datespan_union_finalfn, + PARALLEL = safe +); +CREATE AGGREGATE spanUnion(tstzspan) ( + SFUNC = array_agg_transfn, + STYPE = internal, +#if POSTGRESQL_VERSION_NUMBER >= 160000 + COMBINEFUNC = array_agg_combine, + SERIALFUNC = array_agg_serialize, + DESERIALFUNC = array_agg_deserialize, +#endif //POSTGRESQL_VERSION_NUMBER >= 160000 + FINALFUNC = tstzspan_union_finalfn, + PARALLEL = safe +); + +/*****************************************************************************/ + +-- The function is not strict +CREATE FUNCTION spanset_union_transfn(internal, intspanset) + RETURNS internal + AS 'MODULE_PATHNAME', 'Spanset_union_transfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION spanset_union_transfn(internal, bigintspanset) + RETURNS internal + AS 'MODULE_PATHNAME', 'Spanset_union_transfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION spanset_union_transfn(internal, floatspanset) + RETURNS internal + AS 'MODULE_PATHNAME', 'Spanset_union_transfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION spanset_union_transfn(internal, datespanset) + RETURNS internal + AS 'MODULE_PATHNAME', 'Spanset_union_transfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION spanset_union_transfn(internal, tstzspanset) + RETURNS internal + AS 'MODULE_PATHNAME', 'Spanset_union_transfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; + +CREATE AGGREGATE spanUnion(intspanset) ( + SFUNC = spanset_union_transfn, + STYPE = internal, +#if POSTGRESQL_VERSION_NUMBER >= 160000 + COMBINEFUNC = array_agg_combine, + SERIALFUNC = array_agg_serialize, + DESERIALFUNC = array_agg_deserialize, +#endif //POSTGRESQL_VERSION_NUMBER >= 160000 + FINALFUNC = intspan_union_finalfn, + PARALLEL = safe +); +CREATE AGGREGATE spanUnion(bigintspanset) ( + SFUNC = spanset_union_transfn, + STYPE = internal, +#if POSTGRESQL_VERSION_NUMBER >= 160000 + COMBINEFUNC = array_agg_combine, + SERIALFUNC = array_agg_serialize, + DESERIALFUNC = array_agg_deserialize, +#endif //POSTGRESQL_VERSION_NUMBER >= 160000 + FINALFUNC = bigintspan_union_finalfn, + PARALLEL = safe +); +CREATE AGGREGATE spanUnion(floatspanset) ( + SFUNC = spanset_union_transfn, + STYPE = internal, +#if POSTGRESQL_VERSION_NUMBER >= 160000 + COMBINEFUNC = array_agg_combine, + SERIALFUNC = array_agg_serialize, + DESERIALFUNC = array_agg_deserialize, +#endif //POSTGRESQL_VERSION_NUMBER >= 160000 + FINALFUNC = floatspan_union_finalfn, + PARALLEL = safe +); +CREATE AGGREGATE spanUnion(datespanset) ( + SFUNC = spanset_union_transfn, + STYPE = internal, +#if POSTGRESQL_VERSION_NUMBER >= 160000 + COMBINEFUNC = array_agg_combine, + SERIALFUNC = array_agg_serialize, + DESERIALFUNC = array_agg_deserialize, +#endif //POSTGRESQL_VERSION_NUMBER >= 160000 + FINALFUNC = datespan_union_finalfn, + PARALLEL = safe +); +CREATE AGGREGATE spanUnion(tstzspanset) ( + SFUNC = spanset_union_transfn, + STYPE = internal, +#if POSTGRESQL_VERSION_NUMBER >= 160000 + COMBINEFUNC = array_agg_combine, + SERIALFUNC = array_agg_serialize, + DESERIALFUNC = array_agg_deserialize, +#endif //POSTGRESQL_VERSION_NUMBER >= 160000 + FINALFUNC = tstzspan_union_finalfn, + PARALLEL = safe +); + +/*****************************************************************************/ diff --git a/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/temporal/019_geo_constructors.in.sql b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/temporal/019_geo_constructors.in.sql new file mode 100644 index 00000000..65849ded --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/temporal/019_geo_constructors.in.sql @@ -0,0 +1,70 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @file + * @brief SQL constructors for PostgreSQL geometric types + */ + +CREATE FUNCTION point(float, float) + RETURNS point + AS 'MODULE_PATHNAME', 'point_constructor' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION line(float, float, float) + RETURNS line + AS 'MODULE_PATHNAME', 'line_constructor' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION lseg(point, point) + RETURNS lseg + AS 'MODULE_PATHNAME', 'lseg_constructor' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION box(point, point) + RETURNS box + AS 'MODULE_PATHNAME', 'box_constructor' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION circle(point, float) + RETURNS circle + AS 'MODULE_PATHNAME', 'circle_constructor' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION path(point[]) + RETURNS path + AS 'MODULE_PATHNAME', 'path_constructor' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION polygon(point[]) + RETURNS polygon + AS 'MODULE_PATHNAME', 'poly_constructor' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/*****************************************************************************/ diff --git a/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/temporal/021_tbox.in.sql b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/temporal/021_tbox.in.sql new file mode 100644 index 00000000..083a9793 --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/temporal/021_tbox.in.sql @@ -0,0 +1,625 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @file + * @brief Functions for temporal bounding boxes + */ + +/****************************************************************************** + * Input/Output + ******************************************************************************/ + +CREATE TYPE tbox; + +CREATE FUNCTION tbox_in(cstring) + RETURNS tbox + AS 'MODULE_PATHNAME', 'Tbox_in' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tbox_out(tbox) + RETURNS cstring + AS 'MODULE_PATHNAME', 'Tbox_out' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tbox_recv(internal) + RETURNS tbox + AS 'MODULE_PATHNAME', 'Tbox_recv' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tbox_send(tbox) + RETURNS bytea + AS 'MODULE_PATHNAME', 'Tbox_send' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE TYPE tbox ( + internallength = 56, + input = tbox_in, + output = tbox_out, + receive = tbox_recv, + send = tbox_send, + storage = plain, + alignment = double +); + +-- Input/output in WKB and HexWKB representation + +CREATE FUNCTION tboxFromBinary(bytea) + RETURNS tbox + AS 'MODULE_PATHNAME', 'Tbox_from_wkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tboxFromHexWKB(text) + RETURNS tbox + AS 'MODULE_PATHNAME', 'Tbox_from_hexwkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION asText(tbox, maxdecimaldigits int4 DEFAULT 15) + RETURNS text + AS 'MODULE_PATHNAME', 'Tbox_as_text' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION asBinary(tbox, endianenconding text DEFAULT '') + RETURNS bytea + AS 'MODULE_PATHNAME', 'Tbox_as_wkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION asHexWKB(tbox, endianenconding text DEFAULT '') + RETURNS text + AS 'MODULE_PATHNAME', 'Tbox_as_hexwkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/****************************************************************************** + * Constructor functions + ******************************************************************************/ + +CREATE FUNCTION tbox(integer, timestamptz) + RETURNS tbox + AS 'MODULE_PATHNAME', 'Number_timestamptz_to_tbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tbox(intspan, timestamptz) + RETURNS tbox + AS 'MODULE_PATHNAME', 'Numspan_timestamptz_to_tbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tbox(float, timestamptz) + RETURNS tbox + AS 'MODULE_PATHNAME', 'Number_timestamptz_to_tbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tbox(floatspan, timestamptz) + RETURNS tbox + AS 'MODULE_PATHNAME', 'Numspan_timestamptz_to_tbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tbox(integer, tstzspan) + RETURNS tbox + AS 'MODULE_PATHNAME', 'Number_tstzspan_to_tbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tbox(intspan, tstzspan) + RETURNS tbox + AS 'MODULE_PATHNAME', 'Numspan_tstzspan_to_tbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tbox(float, tstzspan) + RETURNS tbox + AS 'MODULE_PATHNAME', 'Number_tstzspan_to_tbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tbox(floatspan, tstzspan) + RETURNS tbox + AS 'MODULE_PATHNAME', 'Numspan_tstzspan_to_tbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/***************************************************************************** + * Conversion functions + *****************************************************************************/ + +CREATE FUNCTION tbox(integer) + RETURNS tbox + AS 'MODULE_PATHNAME', 'Number_to_tbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tbox(float) + RETURNS tbox + AS 'MODULE_PATHNAME', 'Number_to_tbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tbox(numeric) + RETURNS tbox + AS 'MODULE_PATHNAME', 'Numeric_to_tbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tbox(timestamptz) + RETURNS tbox + AS 'MODULE_PATHNAME', 'Timestamptz_to_tbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION tbox(intset) + RETURNS tbox + AS 'MODULE_PATHNAME', 'Set_to_tbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tbox(floatset) + RETURNS tbox + AS 'MODULE_PATHNAME', 'Set_to_tbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tbox(tstzset) + RETURNS tbox + AS 'MODULE_PATHNAME', 'Set_to_tbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION tbox(intspan) + RETURNS tbox + AS 'MODULE_PATHNAME', 'Span_to_tbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tbox(floatspan) + RETURNS tbox + AS 'MODULE_PATHNAME', 'Span_to_tbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tbox(tstzspan) + RETURNS tbox + AS 'MODULE_PATHNAME', 'Span_to_tbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION tbox(intspanset) + RETURNS tbox + AS 'MODULE_PATHNAME', 'Spanset_to_tbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tbox(floatspanset) + RETURNS tbox + AS 'MODULE_PATHNAME', 'Spanset_to_tbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tbox(tstzspanset) + RETURNS tbox + AS 'MODULE_PATHNAME', 'Spanset_to_tbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE CAST (integer AS tbox) WITH FUNCTION tbox(integer); +CREATE CAST (float AS tbox) WITH FUNCTION tbox(float); +CREATE CAST (numeric AS tbox) WITH FUNCTION tbox(numeric); +CREATE CAST (timestamptz AS tbox) WITH FUNCTION tbox(timestamptz); + +CREATE CAST (intset AS tbox) WITH FUNCTION tbox(intset); +CREATE CAST (floatset AS tbox) WITH FUNCTION tbox(floatset); +CREATE CAST (tstzset AS tbox) WITH FUNCTION tbox(tstzset); + +CREATE CAST (intspan AS tbox) WITH FUNCTION tbox(intspan); +CREATE CAST (floatspan AS tbox) WITH FUNCTION tbox(floatspan); +CREATE CAST (tstzspan AS tbox) WITH FUNCTION tbox(tstzspan); + +CREATE CAST (intspanset AS tbox) WITH FUNCTION tbox(intspanset); +CREATE CAST (floatspanset AS tbox) WITH FUNCTION tbox(floatspanset); +CREATE CAST (tstzspanset AS tbox) WITH FUNCTION tbox(tstzspanset); + +CREATE FUNCTION intspan(tbox) + RETURNS intspan + AS 'MODULE_PATHNAME', 'Tbox_to_intspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION floatspan(tbox) + RETURNS floatspan + AS 'MODULE_PATHNAME', 'Tbox_to_floatspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION timeSpan(tbox) + RETURNS tstzspan + AS 'MODULE_PATHNAME', 'Tbox_to_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE CAST (tbox AS intspan) WITH FUNCTION intspan(tbox); +CREATE CAST (tbox AS floatspan) WITH FUNCTION floatspan(tbox); +CREATE CAST (tbox AS tstzspan) WITH FUNCTION timeSpan(tbox); + +/***************************************************************************** + * Accessor functions + *****************************************************************************/ + +CREATE FUNCTION hasX(tbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Tbox_hasx' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION hasT(tbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Tbox_hast' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION Xmin(tbox) + RETURNS float + AS 'MODULE_PATHNAME', 'Tbox_xmin' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION XminInc(tbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Tbox_xmin_inc' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION Xmax(tbox) + RETURNS float + AS 'MODULE_PATHNAME', 'Tbox_xmax' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION XmaxInc(tbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Tbox_xmax_inc' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION Tmin(tbox) + RETURNS timestamptz + AS 'MODULE_PATHNAME', 'Tbox_tmin' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION TminInc(tbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Tbox_tmin_inc' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION Tmax(tbox) + RETURNS timestamptz + AS 'MODULE_PATHNAME', 'Tbox_tmax' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION TmaxInc(tbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Tbox_tmax_inc' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/***************************************************************************** + * Transformation functions + *****************************************************************************/ + +CREATE FUNCTION shiftValue(tbox, integer) + RETURNS tbox + AS 'MODULE_PATHNAME', 'Tbox_shift_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION shiftValue(tbox, float) + RETURNS tbox + AS 'MODULE_PATHNAME', 'Tbox_shift_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION shiftTime(tbox, interval) + RETURNS tbox + AS 'MODULE_PATHNAME', 'Tbox_shift_time' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION scaleValue(tbox, integer) + RETURNS tbox + AS 'MODULE_PATHNAME', 'Tbox_scale_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION scaleValue(tbox, float) + RETURNS tbox + AS 'MODULE_PATHNAME', 'Tbox_scale_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION scaleTime(tbox, interval) + RETURNS tbox + AS 'MODULE_PATHNAME', 'Tbox_scale_time' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION shiftScaleValue(tbox, integer, integer) + RETURNS tbox + AS 'MODULE_PATHNAME', 'Tbox_shift_scale_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION shiftScaleValue(tbox, float, float) + RETURNS tbox + AS 'MODULE_PATHNAME', 'Tbox_shift_scale_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION shiftScaleTime(tbox, interval, interval) + RETURNS tbox + AS 'MODULE_PATHNAME', 'Tbox_shift_scale_time' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION expandValue(tbox, integer) + RETURNS tbox + AS 'MODULE_PATHNAME', 'Tbox_expand_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION expandValue(tbox, float) + RETURNS tbox + AS 'MODULE_PATHNAME', 'Tbox_expand_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION expandTime(tbox, interval) + RETURNS tbox + AS 'MODULE_PATHNAME', 'Tbox_expand_time' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION round(tbox, integer DEFAULT 0) + RETURNS tbox + AS 'MODULE_PATHNAME', 'Tbox_round' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/***************************************************************************** + * Selectivity functions + *****************************************************************************/ + +CREATE FUNCTION tnumber_sel(internal, oid, internal, integer) + RETURNS float + AS 'MODULE_PATHNAME', 'Tnumber_sel' + LANGUAGE C IMMUTABLE STRICT; + +CREATE FUNCTION tnumber_joinsel(internal, oid, internal, smallint, internal) + RETURNS float + AS 'MODULE_PATHNAME', 'Tnumber_joinsel' + LANGUAGE C IMMUTABLE STRICT; + +/***************************************************************************** + * Topological operators + *****************************************************************************/ + +CREATE FUNCTION tbox_contains(tbox, tbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contains_tbox_tbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tbox_contained(tbox, tbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contained_tbox_tbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tbox_overlaps(tbox, tbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overlaps_tbox_tbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tbox_same(tbox, tbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Same_tbox_tbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tbox_adjacent(tbox, tbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Adjacent_tbox_tbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR @> ( + PROCEDURE = tbox_contains, + LEFTARG = tbox, RIGHTARG = tbox, + COMMUTATOR = <@, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR <@ ( + PROCEDURE = tbox_contained, + LEFTARG = tbox, RIGHTARG = tbox, + COMMUTATOR = @>, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR && ( + PROCEDURE = tbox_overlaps, + LEFTARG = tbox, RIGHTARG = tbox, + COMMUTATOR = &&, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR ~= ( + PROCEDURE = tbox_same, + LEFTARG = tbox, RIGHTARG = tbox, + COMMUTATOR = ~=, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR -|- ( + PROCEDURE = tbox_adjacent, + LEFTARG = tbox, RIGHTARG = tbox, + COMMUTATOR = -|-, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); + +/***************************************************************************** + * Position operators + *****************************************************************************/ + +CREATE FUNCTION tbox_left(tbox, tbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Left_tbox_tbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tbox_overleft(tbox, tbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overleft_tbox_tbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tbox_right(tbox, tbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Right_tbox_tbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tbox_overright(tbox, tbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overright_tbox_tbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tbox_before(tbox, tbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Before_tbox_tbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tbox_overbefore(tbox, tbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overbefore_tbox_tbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tbox_after(tbox, tbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'After_tbox_tbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tbox_overafter(tbox, tbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overafter_tbox_tbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR << ( + PROCEDURE = tbox_left, + LEFTARG = tbox, RIGHTARG = tbox, + COMMUTATOR = >>, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR &< ( + PROCEDURE = tbox_overleft, + LEFTARG = tbox, RIGHTARG = tbox, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR >> ( + LEFTARG = tbox, RIGHTARG = tbox, + PROCEDURE = tbox_right, + COMMUTATOR = <<, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR &> ( + PROCEDURE = tbox_overright, + LEFTARG = tbox, RIGHTARG = tbox, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR <<# ( + PROCEDURE = tbox_before, + LEFTARG = tbox, RIGHTARG = tbox, + COMMUTATOR = #>>, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR &<# ( + PROCEDURE = tbox_overbefore, + LEFTARG = tbox, RIGHTARG = tbox, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR #>> ( + PROCEDURE = tbox_after, + LEFTARG = tbox, RIGHTARG = tbox, + COMMUTATOR = <<#, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR #&> ( + PROCEDURE = tbox_overafter, + LEFTARG = tbox, RIGHTARG = tbox, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); + +/***************************************************************************** + * Set operators + *****************************************************************************/ + +CREATE FUNCTION tbox_union(tbox, tbox) + RETURNS tbox + AS 'MODULE_PATHNAME', 'Union_tbox_tbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tbox_intersection(tbox, tbox) + RETURNS tbox + AS 'MODULE_PATHNAME', 'Intersection_tbox_tbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR + ( + PROCEDURE = tbox_union, + LEFTARG = tbox, RIGHTARG = tbox, + COMMUTATOR = + +); +CREATE OPERATOR * ( + PROCEDURE = tbox_intersection, + LEFTARG = tbox, RIGHTARG = tbox, + COMMUTATOR = * +); + +/***************************************************************************** + * Extent aggregation + *****************************************************************************/ + +-- The function is not strict +CREATE FUNCTION tbox_extent_transfn(tbox, tbox) + RETURNS tbox + AS 'MODULE_PATHNAME', 'Tbox_extent_transfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION tbox_extent_combinefn(tbox, tbox) + RETURNS tbox + AS 'MODULE_PATHNAME', 'Tbox_extent_combinefn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; + +CREATE AGGREGATE extent(tbox) ( + SFUNC = tbox_extent_transfn, + STYPE = tbox, + COMBINEFUNC = tbox_extent_combinefn, + PARALLEL = safe +); + +/***************************************************************************** + * Comparison + *****************************************************************************/ + +CREATE FUNCTION tbox_eq(tbox, tbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Tbox_eq' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tbox_ne(tbox, tbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Tbox_ne' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tbox_lt(tbox, tbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Tbox_lt' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tbox_le(tbox, tbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Tbox_le' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tbox_ge(tbox, tbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Tbox_ge' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tbox_gt(tbox, tbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Tbox_gt' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tbox_cmp(tbox, tbox) + RETURNS int4 + AS 'MODULE_PATHNAME', 'Tbox_cmp' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR = ( + LEFTARG = tbox, RIGHTARG = tbox, + PROCEDURE = tbox_eq, + COMMUTATOR = =, NEGATOR = <>, + RESTRICT = eqsel, JOIN = eqjoinsel +); +CREATE OPERATOR <> ( + LEFTARG = tbox, RIGHTARG = tbox, + PROCEDURE = tbox_ne, + COMMUTATOR = <>, NEGATOR = =, + RESTRICT = neqsel, JOIN = neqjoinsel +); +CREATE OPERATOR < ( + PROCEDURE = tbox_lt, + LEFTARG = tbox, RIGHTARG = tbox, + COMMUTATOR = >, NEGATOR = >=, + RESTRICT = areasel, JOIN = areajoinsel +); +CREATE OPERATOR <= ( + PROCEDURE = tbox_le, + LEFTARG = tbox, RIGHTARG = tbox, + COMMUTATOR = >=, NEGATOR = >, + RESTRICT = areasel, JOIN = areajoinsel +); +CREATE OPERATOR >= ( + PROCEDURE = tbox_ge, + LEFTARG = tbox, RIGHTARG = tbox, + COMMUTATOR = <=, NEGATOR = <, + RESTRICT = areasel, JOIN = areajoinsel +); +CREATE OPERATOR > ( + PROCEDURE = tbox_gt, + LEFTARG = tbox, RIGHTARG = tbox, + COMMUTATOR = <, NEGATOR = <=, + RESTRICT = areasel, JOIN = areajoinsel +); + +CREATE OPERATOR CLASS tbox_btree_ops + DEFAULT FOR TYPE tbox USING btree AS + OPERATOR 1 < , + OPERATOR 2 <= , + OPERATOR 3 = , + OPERATOR 4 >= , + OPERATOR 5 > , + FUNCTION 1 tbox_cmp(tbox, tbox); + +/*****************************************************************************/ + +CREATE FUNCTION tbox_hash(tbox) + RETURNS integer + AS 'MODULE_PATHNAME', 'Tbox_hash' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION tbox_hash_extended(tbox, bigint) + RETURNS bigint + AS 'MODULE_PATHNAME', 'Tbox_hash_extended' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR CLASS tbox_hash_ops + DEFAULT FOR TYPE tbox USING hash AS + OPERATOR 1 = , + FUNCTION 1 tbox_hash(tbox), + FUNCTION 2 tbox_hash_extended(tbox, bigint); + +/*****************************************************************************/ diff --git a/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/temporal/022_temporal.in.sql b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/temporal/022_temporal.in.sql new file mode 100644 index 00000000..a8085014 --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/temporal/022_temporal.in.sql @@ -0,0 +1,2188 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @file + * @brief Basic functions for temporal types + */ + +CREATE TYPE tbool; +CREATE TYPE tint; +CREATE TYPE tfloat; +CREATE TYPE ttext; + +/***************************************************************************** + * Utility functions + *****************************************************************************/ + +-- The function is not strict +CREATE FUNCTION mobilitydb_version() + RETURNS text + AS 'MODULE_PATHNAME', 'Mobilitydb_version' + LANGUAGE C IMMUTABLE; + +CREATE FUNCTION mobilitydb_full_version() + RETURNS text + AS 'MODULE_PATHNAME', 'Mobilitydb_full_version' + LANGUAGE C IMMUTABLE; + +/****************************************************************************** + * Input/Output + ******************************************************************************/ + +CREATE FUNCTION tbool_in(cstring, oid, integer) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Temporal_in' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tint_in(cstring, oid, integer) + RETURNS tint + AS 'MODULE_PATHNAME', 'Temporal_in' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tfloat_in(cstring, oid, integer) + RETURNS tfloat + AS 'MODULE_PATHNAME', 'Temporal_in' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION ttext_in(cstring, oid, integer) + RETURNS ttext + AS 'MODULE_PATHNAME', 'Temporal_in' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION temporal_out(tbool) + RETURNS cstring + AS 'MODULE_PATHNAME', 'Temporal_out' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_out(tint) + RETURNS cstring + AS 'MODULE_PATHNAME', 'Temporal_out' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_out(tfloat) + RETURNS cstring + AS 'MODULE_PATHNAME', 'Temporal_out' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_out(ttext) + RETURNS cstring + AS 'MODULE_PATHNAME', 'Temporal_out' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION tbool_recv(internal, oid, integer) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Temporal_recv' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tint_recv(internal, oid, integer) + RETURNS tint + AS 'MODULE_PATHNAME', 'Temporal_recv' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tfloat_recv(internal, oid, integer) + RETURNS tfloat + AS 'MODULE_PATHNAME', 'Temporal_recv' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION ttext_recv(internal, oid, integer) + RETURNS ttext + AS 'MODULE_PATHNAME', 'Temporal_recv' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION temporal_send(tbool) + RETURNS bytea + AS 'MODULE_PATHNAME', 'Temporal_send' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_send(tint) + RETURNS bytea + AS 'MODULE_PATHNAME', 'Temporal_send' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_send(tfloat) + RETURNS bytea + AS 'MODULE_PATHNAME', 'Temporal_send' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_send(ttext) + RETURNS bytea + AS 'MODULE_PATHNAME', 'Temporal_send' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION temporal_typmod_in(cstring[]) + RETURNS integer + AS 'MODULE_PATHNAME', 'Temporal_typmod_in' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_typmod_out(integer) + RETURNS cstring + AS 'MODULE_PATHNAME', 'Temporal_typmod_out' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION temporal_analyze(internal) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Temporal_analyze' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE TYPE tbool ( + internallength = variable, + input = tbool_in, + output = temporal_out, + send = temporal_send, + receive = tbool_recv, + typmod_in = temporal_typmod_in, + typmod_out = temporal_typmod_out, + storage = extended, + alignment = double, + analyze = temporal_analyze +); +CREATE TYPE tint ( + internallength = variable, + input = tint_in, + output = temporal_out, + send = temporal_send, + receive = tint_recv, + typmod_in = temporal_typmod_in, + typmod_out = temporal_typmod_out, + storage = extended, + alignment = double, + analyze = temporal_analyze +); +CREATE TYPE tfloat ( + internallength = variable, + input = tfloat_in, + output = temporal_out, + send = temporal_send, + receive = tfloat_recv, + typmod_in = temporal_typmod_in, + typmod_out = temporal_typmod_out, + storage = extended, + alignment = double, + analyze = temporal_analyze +); +CREATE TYPE ttext ( + internallength = variable, + input = ttext_in, + output = temporal_out, + send = temporal_send, + receive = ttext_recv, + typmod_in = temporal_typmod_in, + typmod_out = temporal_typmod_out, + storage = extended, + alignment = double, + analyze = temporal_analyze +); + +-- Special cast for enforcing the typmod restrictions +CREATE FUNCTION tbool(tbool, integer) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Temporal_enforce_typmod' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tint(tint, integer) + RETURNS tint + AS 'MODULE_PATHNAME', 'Temporal_enforce_typmod' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tfloat(tfloat, integer) + RETURNS tfloat + AS 'MODULE_PATHNAME', 'Temporal_enforce_typmod' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION ttext(ttext, integer) + RETURNS ttext + AS 'MODULE_PATHNAME', 'Temporal_enforce_typmod' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE CAST (tbool AS tbool) WITH FUNCTION tbool(tbool, integer) AS IMPLICIT; +CREATE CAST (tint AS tint) WITH FUNCTION tint(tint, integer) AS IMPLICIT; +CREATE CAST (tfloat AS tfloat) WITH FUNCTION tfloat(tfloat, integer) AS IMPLICIT; +CREATE CAST (ttext AS ttext) WITH FUNCTION ttext(ttext, integer) AS IMPLICIT; + +/****************************************************************************** + * Constructor functions + ******************************************************************************/ + +CREATE FUNCTION tbool(boolean, timestamptz) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Tinstant_constructor' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tint(integer, timestamptz) + RETURNS tint + AS 'MODULE_PATHNAME', 'Tinstant_constructor' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tfloat(float, timestamptz) + RETURNS tfloat + AS 'MODULE_PATHNAME', 'Tinstant_constructor' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION ttext(text, timestamptz) + RETURNS ttext + AS 'MODULE_PATHNAME', 'Tinstant_constructor' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION tbool(boolean, tstzset) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Tsequence_from_base_tstzset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tint(integer, tstzset) + RETURNS tint + AS 'MODULE_PATHNAME', 'Tsequence_from_base_tstzset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tfloat(float, tstzset) + RETURNS tfloat + AS 'MODULE_PATHNAME', 'Tsequence_from_base_tstzset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION ttext(text, tstzset) + RETURNS ttext + AS 'MODULE_PATHNAME', 'Tsequence_from_base_tstzset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION tbool(boolean, tstzspan) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Tsequence_from_base_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tint(integer, tstzspan) + RETURNS tint + AS 'MODULE_PATHNAME', 'Tsequence_from_base_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tfloat(float, tstzspan, text DEFAULT 'linear') + RETURNS tfloat + AS 'MODULE_PATHNAME', 'Tsequence_from_base_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION ttext(text, tstzspan) + RETURNS ttext + AS 'MODULE_PATHNAME', 'Tsequence_from_base_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION tbool(boolean, tstzspanset) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Tsequenceset_from_base_tstzspanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tint(integer, tstzspanset) + RETURNS tint + AS 'MODULE_PATHNAME', 'Tsequenceset_from_base_tstzspanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tfloat(float, tstzspanset, text DEFAULT 'linear') + RETURNS tfloat + AS 'MODULE_PATHNAME', 'Tsequenceset_from_base_tstzspanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION ttext(text, tstzspanset) + RETURNS ttext + AS 'MODULE_PATHNAME', 'Tsequenceset_from_base_tstzspanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/******************************************************************************/ + +CREATE FUNCTION tboolSeq(tbool[], text DEFAULT 'step', + lowerInc boolean DEFAULT true, upperInc boolean DEFAULT true) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Tsequence_constructor' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tintSeq(tint[], text DEFAULT 'step', + lowerInc boolean DEFAULT true, upperInc boolean DEFAULT true) + RETURNS tint + AS 'MODULE_PATHNAME', 'Tsequence_constructor' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tfloatSeq(tfloat[], text DEFAULT 'linear', + lowerInc boolean DEFAULT true, upperInc boolean DEFAULT true) + RETURNS tfloat + AS 'MODULE_PATHNAME', 'Tsequence_constructor' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION ttextSeq(ttext[], text DEFAULT 'step', + lowerInc boolean DEFAULT true, upperInc boolean DEFAULT true) + RETURNS ttext + AS 'MODULE_PATHNAME', 'Tsequence_constructor' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION tboolSeqSet(tbool[]) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Tsequenceset_constructor' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tintSeqSet(tint[]) + RETURNS tint + AS 'MODULE_PATHNAME', 'Tsequenceset_constructor' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tfloatSeqSet(tfloat[]) + RETURNS tfloat + AS 'MODULE_PATHNAME', 'Tsequenceset_constructor' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION ttextSeqSet(ttext[]) + RETURNS ttext + AS 'MODULE_PATHNAME', 'Tsequenceset_constructor' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +-- The function is not strict +CREATE FUNCTION tboolSeqSetGaps(tbool[], maxt interval DEFAULT NULL) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Tsequenceset_constructor_gaps' + LANGUAGE C IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION tintSeqSetGaps(tint[], maxt interval DEFAULT NULL, + maxdist float DEFAULT NULL) + RETURNS tint + AS 'MODULE_PATHNAME', 'Tsequenceset_constructor_gaps' + LANGUAGE C IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION tfloatSeqSetGaps(tfloat[], maxt interval DEFAULT NULL, + maxdist float DEFAULT NULL, text DEFAULT 'linear') + RETURNS tfloat + AS 'MODULE_PATHNAME', 'Tsequenceset_constructor_gaps' + LANGUAGE C IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION ttextSeqSetGaps(ttext[], maxt interval DEFAULT NULL) + RETURNS ttext + AS 'MODULE_PATHNAME', 'Tsequenceset_constructor_gaps' + LANGUAGE C IMMUTABLE PARALLEL SAFE; + +/****************************************************************************** + * Conversion functions + ******************************************************************************/ + +CREATE FUNCTION timeSpan(tbool) + RETURNS tstzspan + AS 'MODULE_PATHNAME', 'Temporal_to_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION timeSpan(tint) + RETURNS tstzspan + AS 'MODULE_PATHNAME', 'Temporal_to_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION timeSpan(tfloat) + RETURNS tstzspan + AS 'MODULE_PATHNAME', 'Temporal_to_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION timeSpan(ttext) + RETURNS tstzspan + AS 'MODULE_PATHNAME', 'Temporal_to_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION valueSpan(tint) + RETURNS intspan + AS 'MODULE_PATHNAME', 'Tnumber_to_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION valueSpan(tfloat) + RETURNS floatspan + AS 'MODULE_PATHNAME', 'Tnumber_to_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE CAST (tbool AS tstzspan) WITH FUNCTION timeSpan(tbool); +CREATE CAST (tint AS tstzspan) WITH FUNCTION timeSpan(tint); +CREATE CAST (tfloat AS tstzspan) WITH FUNCTION timeSpan(tfloat); +CREATE CAST (ttext AS tstzspan) WITH FUNCTION timeSpan(ttext); + +CREATE CAST (tint AS intspan) WITH FUNCTION valueSpan(tint); +CREATE CAST (tfloat AS floatspan) WITH FUNCTION valueSpan(tfloat); + +CREATE FUNCTION tint(tbool) + RETURNS tint + AS 'MODULE_PATHNAME', 'Tbool_to_tint' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE CAST (tbool AS tint) WITH FUNCTION tint(tbool); + +CREATE FUNCTION tfloat(tint) + RETURNS tfloat + AS 'MODULE_PATHNAME', 'Tint_to_tfloat' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tint(tfloat) + RETURNS tint + AS 'MODULE_PATHNAME', 'Tfloat_to_tint' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE CAST (tint AS tfloat) WITH FUNCTION tfloat(tint); +CREATE CAST (tfloat AS tint) WITH FUNCTION tint(tfloat); + +CREATE FUNCTION tbox(tint) + RETURNS tbox + AS 'MODULE_PATHNAME', 'Tnumber_to_tbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tbox(tfloat) + RETURNS tbox + AS 'MODULE_PATHNAME', 'Tnumber_to_tbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE CAST (tint AS tbox) WITH FUNCTION tbox(tint); +CREATE CAST (tfloat AS tbox) WITH FUNCTION tbox(tfloat); + +/****************************************************************************** + * Accessor functions + ******************************************************************************/ + +CREATE FUNCTION tempSubtype(tbool) + RETURNS text + AS 'MODULE_PATHNAME', 'Temporal_subtype' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tempSubtype(tint) + RETURNS text + AS 'MODULE_PATHNAME', 'Temporal_subtype' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tempSubtype(tfloat) + RETURNS text + AS 'MODULE_PATHNAME', 'Temporal_subtype' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tempSubtype(ttext) + RETURNS text + AS 'MODULE_PATHNAME', 'Temporal_subtype' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION interp(tbool) + RETURNS text + AS 'MODULE_PATHNAME', 'Temporal_interp' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION interp(tint) + RETURNS text + AS 'MODULE_PATHNAME', 'Temporal_interp' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION interp(tfloat) + RETURNS text + AS 'MODULE_PATHNAME', 'Temporal_interp' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION interp(ttext) + RETURNS text + AS 'MODULE_PATHNAME', 'Temporal_interp' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION memSize(tbool) + RETURNS integer + AS 'MODULE_PATHNAME', 'Temporal_mem_size' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION memSize(tint) + RETURNS integer + AS 'MODULE_PATHNAME', 'Temporal_mem_size' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION memSize(tfloat) + RETURNS integer + AS 'MODULE_PATHNAME', 'Temporal_mem_size' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION memSize(ttext) + RETURNS integer + AS 'MODULE_PATHNAME', 'Temporal_mem_size' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +-- values is a reserved word in SQL +CREATE FUNCTION getValue(tbool) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Tinstant_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION getValue(tint) + RETURNS integer + AS 'MODULE_PATHNAME', 'Tinstant_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION getValue(tfloat) + RETURNS float + AS 'MODULE_PATHNAME', 'Tinstant_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION getValue(ttext) + RETURNS text + AS 'MODULE_PATHNAME', 'Tinstant_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +-- values is a reserved word in SQL +CREATE FUNCTION getValues(tbool) + RETURNS boolean[] + AS 'MODULE_PATHNAME', 'Temporal_valueset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION getValues(tint) + RETURNS intspanset + AS 'MODULE_PATHNAME', 'Tnumber_valuespans' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION getValues(tfloat) + RETURNS floatspanset + AS 'MODULE_PATHNAME', 'Tnumber_valuespans' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION getValues(ttext) + RETURNS textset + AS 'MODULE_PATHNAME', 'Temporal_valueset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION valueSet(tint) + RETURNS intset + AS 'MODULE_PATHNAME', 'Temporal_valueset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION valueSet(tfloat) + RETURNS floatset + AS 'MODULE_PATHNAME', 'Temporal_valueset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION startValue(tbool) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Temporal_start_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION startValue(tint) + RETURNS integer + AS 'MODULE_PATHNAME', 'Temporal_start_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION startValue(tfloat) + RETURNS float + AS 'MODULE_PATHNAME', 'Temporal_start_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION startValue(ttext) + RETURNS text + AS 'MODULE_PATHNAME', 'Temporal_start_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION endValue(tbool) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Temporal_end_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION endValue(tint) + RETURNS integer + AS 'MODULE_PATHNAME', 'Temporal_end_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION endValue(tfloat) + RETURNS float + AS 'MODULE_PATHNAME', 'Temporal_end_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION endValue(ttext) + RETURNS text + AS 'MODULE_PATHNAME', 'Temporal_end_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION minValue(tint) + RETURNS integer + AS 'MODULE_PATHNAME', 'Temporal_min_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION minValue(tfloat) + RETURNS float + AS 'MODULE_PATHNAME', 'Temporal_min_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION minValue(ttext) + RETURNS text + AS 'MODULE_PATHNAME', 'Temporal_min_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION maxValue(tint) + RETURNS integer + AS 'MODULE_PATHNAME', 'Temporal_max_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION maxValue(tfloat) + RETURNS float + AS 'MODULE_PATHNAME', 'Temporal_max_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION maxValue(ttext) + RETURNS text + AS 'MODULE_PATHNAME', 'Temporal_max_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION avgValue(tint) + RETURNS float + AS 'MODULE_PATHNAME', 'Tnumber_avg_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION avgValue(tfloat) + RETURNS float + AS 'MODULE_PATHNAME', 'Tnumber_avg_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION valueN(tbool, integer) + RETURNS bool + AS 'MODULE_PATHNAME', 'Temporal_value_n' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION valueN(tint, integer) + RETURNS integer + AS 'MODULE_PATHNAME', 'Temporal_value_n' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION valueN(tfloat, integer) + RETURNS float + AS 'MODULE_PATHNAME', 'Temporal_value_n' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION valueN(ttext, integer) + RETURNS text + AS 'MODULE_PATHNAME', 'Temporal_value_n' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION minInstant(tint) + RETURNS tint + AS 'MODULE_PATHNAME', 'Temporal_min_instant' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION minInstant(tfloat) + RETURNS tfloat + AS 'MODULE_PATHNAME', 'Temporal_min_instant' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION minInstant(ttext) + RETURNS ttext + AS 'MODULE_PATHNAME', 'Temporal_min_instant' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION maxInstant(tint) + RETURNS tint + AS 'MODULE_PATHNAME', 'Temporal_max_instant' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION maxInstant(tfloat) + RETURNS tfloat + AS 'MODULE_PATHNAME', 'Temporal_max_instant' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION maxInstant(ttext) + RETURNS ttext + AS 'MODULE_PATHNAME', 'Temporal_max_instant' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +-- timestamp is a reserved word in SQL +CREATE FUNCTION getTimestamp(tbool) + RETURNS timestamptz + AS 'MODULE_PATHNAME', 'Tinstant_timestamptz' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION getTimestamp(tint) + RETURNS timestamptz + AS 'MODULE_PATHNAME', 'Tinstant_timestamptz' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION getTimestamp(tfloat) + RETURNS timestamptz + AS 'MODULE_PATHNAME', 'Tinstant_timestamptz' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION getTimestamp(ttext) + RETURNS timestamptz + AS 'MODULE_PATHNAME', 'Tinstant_timestamptz' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +-- time is a reserved word in SQL +CREATE FUNCTION getTime(tbool) + RETURNS tstzspanset + AS 'MODULE_PATHNAME', 'Temporal_time' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION getTime(tint) + RETURNS tstzspanset + AS 'MODULE_PATHNAME', 'Temporal_time' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION getTime(tfloat) + RETURNS tstzspanset + AS 'MODULE_PATHNAME', 'Temporal_time' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION getTime(ttext) + RETURNS tstzspanset + AS 'MODULE_PATHNAME', 'Temporal_time' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION duration(tbool, boundspan boolean DEFAULT FALSE) + RETURNS interval + AS 'MODULE_PATHNAME', 'Temporal_duration' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION duration(tint, boundspan boolean DEFAULT FALSE) + RETURNS interval + AS 'MODULE_PATHNAME', 'Temporal_duration' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION duration(tfloat, boundspan boolean DEFAULT FALSE) + RETURNS interval + AS 'MODULE_PATHNAME', 'Temporal_duration' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION duration(ttext, boundspan boolean DEFAULT FALSE) + RETURNS interval + AS 'MODULE_PATHNAME', 'Temporal_duration' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION numSequences(tbool) + RETURNS integer + AS 'MODULE_PATHNAME', 'Temporal_num_sequences' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION numSequences(tint) + RETURNS integer + AS 'MODULE_PATHNAME', 'Temporal_num_sequences' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION numSequences(tfloat) + RETURNS integer + AS 'MODULE_PATHNAME', 'Temporal_num_sequences' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION numSequences(ttext) + RETURNS integer + AS 'MODULE_PATHNAME', 'Temporal_num_sequences' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION startSequence(tbool) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Temporal_start_sequence' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION startSequence(tint) + RETURNS tint + AS 'MODULE_PATHNAME', 'Temporal_start_sequence' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION startSequence(tfloat) + RETURNS tfloat + AS 'MODULE_PATHNAME', 'Temporal_start_sequence' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION startSequence(ttext) + RETURNS ttext + AS 'MODULE_PATHNAME', 'Temporal_start_sequence' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION endSequence(tbool) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Temporal_end_sequence' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION endSequence(tint) + RETURNS tint + AS 'MODULE_PATHNAME', 'Temporal_end_sequence' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION endSequence(tfloat) + RETURNS tfloat + AS 'MODULE_PATHNAME', 'Temporal_end_sequence' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION endSequence(ttext) + RETURNS ttext + AS 'MODULE_PATHNAME', 'Temporal_end_sequence' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION sequenceN(tbool, integer) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Temporal_sequence_n' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION sequenceN(tint, integer) + RETURNS tint + AS 'MODULE_PATHNAME', 'Temporal_sequence_n' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION sequenceN(tfloat, integer) + RETURNS tfloat + AS 'MODULE_PATHNAME', 'Temporal_sequence_n' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION sequenceN(ttext, integer) + RETURNS ttext + AS 'MODULE_PATHNAME', 'Temporal_sequence_n' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION sequences(tbool) + RETURNS tbool[] + AS 'MODULE_PATHNAME', 'Temporal_sequences' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION sequences(tint) + RETURNS tint[] + AS 'MODULE_PATHNAME', 'Temporal_sequences' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION sequences(tfloat) + RETURNS tfloat[] + AS 'MODULE_PATHNAME', 'Temporal_sequences' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION sequences(ttext) + RETURNS ttext[] + AS 'MODULE_PATHNAME', 'Temporal_sequences' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION segments(tbool) + RETURNS tbool[] + AS 'MODULE_PATHNAME', 'Temporal_segments' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION segments(tint) + RETURNS tint[] + AS 'MODULE_PATHNAME', 'Temporal_segments' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION segments(tfloat) + RETURNS tfloat[] + AS 'MODULE_PATHNAME', 'Temporal_segments' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION segments(ttext) + RETURNS ttext[] + AS 'MODULE_PATHNAME', 'Temporal_segments' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION lowerInc(tbool) + RETURNS bool + AS 'MODULE_PATHNAME', 'Temporal_lower_inc' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION lowerInc(tint) + RETURNS bool + AS 'MODULE_PATHNAME', 'Temporal_lower_inc' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION lowerInc(tfloat) + RETURNS bool + AS 'MODULE_PATHNAME', 'Temporal_lower_inc' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION lowerInc(ttext) + RETURNS bool + AS 'MODULE_PATHNAME', 'Temporal_lower_inc' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION upperInc(tbool) + RETURNS bool + AS 'MODULE_PATHNAME', 'Temporal_upper_inc' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION upperInc(tint) + RETURNS bool + AS 'MODULE_PATHNAME', 'Temporal_upper_inc' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION upperInc(tfloat) + RETURNS bool + AS 'MODULE_PATHNAME', 'Temporal_upper_inc' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION upperInc(ttext) + RETURNS bool + AS 'MODULE_PATHNAME', 'Temporal_upper_inc' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION numInstants(tbool) + RETURNS integer + AS 'MODULE_PATHNAME', 'Temporal_num_instants' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION numInstants(tint) + RETURNS integer + AS 'MODULE_PATHNAME', 'Temporal_num_instants' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION numInstants(tfloat) + RETURNS integer + AS 'MODULE_PATHNAME', 'Temporal_num_instants' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION numInstants(ttext) + RETURNS integer + AS 'MODULE_PATHNAME', 'Temporal_num_instants' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION startInstant(tbool) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Temporal_start_instant' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION startInstant(tint) + RETURNS tint + AS 'MODULE_PATHNAME', 'Temporal_start_instant' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION startInstant(tfloat) + RETURNS tfloat + AS 'MODULE_PATHNAME', 'Temporal_start_instant' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION startInstant(ttext) + RETURNS ttext + AS 'MODULE_PATHNAME', 'Temporal_start_instant' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION endInstant(tbool) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Temporal_end_instant' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION endInstant(tint) + RETURNS tint + AS 'MODULE_PATHNAME', 'Temporal_end_instant' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION endInstant(tfloat) + RETURNS tfloat + AS 'MODULE_PATHNAME', 'Temporal_end_instant' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION endInstant(ttext) + RETURNS ttext + AS 'MODULE_PATHNAME', 'Temporal_end_instant' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION instantN(tbool, integer) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Temporal_instant_n' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION instantN(tint, integer) + RETURNS tint + AS 'MODULE_PATHNAME', 'Temporal_instant_n' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION instantN(tfloat, integer) + RETURNS tfloat + AS 'MODULE_PATHNAME', 'Temporal_instant_n' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION instantN(ttext, integer) + RETURNS ttext + AS 'MODULE_PATHNAME', 'Temporal_instant_n' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION instants(tbool) + RETURNS tbool[] + AS 'MODULE_PATHNAME', 'Temporal_instants' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION instants(tint) + RETURNS tint[] + AS 'MODULE_PATHNAME', 'Temporal_instants' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION instants(tfloat) + RETURNS tfloat[] + AS 'MODULE_PATHNAME', 'Temporal_instants' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION instants(ttext) + RETURNS ttext[] + AS 'MODULE_PATHNAME', 'Temporal_instants' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION numTimestamps(tbool) + RETURNS integer + AS 'MODULE_PATHNAME', 'Temporal_num_timestamps' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION numTimestamps(tint) + RETURNS integer + AS 'MODULE_PATHNAME', 'Temporal_num_timestamps' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION numTimestamps(tfloat) + RETURNS integer + AS 'MODULE_PATHNAME', 'Temporal_num_timestamps' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION numTimestamps(ttext) + RETURNS integer + AS 'MODULE_PATHNAME', 'Temporal_num_timestamps' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION startTimestamp(tbool) + RETURNS timestamptz + AS 'MODULE_PATHNAME', 'Temporal_start_timestamptz' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION startTimestamp(tint) + RETURNS timestamptz + AS 'MODULE_PATHNAME', 'Temporal_start_timestamptz' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION startTimestamp(tfloat) + RETURNS timestamptz + AS 'MODULE_PATHNAME', 'Temporal_start_timestamptz' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION startTimestamp(ttext) + RETURNS timestamptz + AS 'MODULE_PATHNAME', 'Temporal_start_timestamptz' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION endTimestamp(tbool) + RETURNS timestamptz + AS 'MODULE_PATHNAME', 'Temporal_end_timestamptz' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION endTimestamp(tint) + RETURNS timestamptz + AS 'MODULE_PATHNAME', 'Temporal_end_timestamptz' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION endTimestamp(tfloat) + RETURNS timestamptz + AS 'MODULE_PATHNAME', 'Temporal_end_timestamptz' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION endTimestamp(ttext) + RETURNS timestamptz + AS 'MODULE_PATHNAME', 'Temporal_end_timestamptz' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION timestampN(tbool, integer) + RETURNS timestamptz + AS 'MODULE_PATHNAME', 'Temporal_timestamptz_n' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION timestampN(tint, integer) + RETURNS timestamptz + AS 'MODULE_PATHNAME', 'Temporal_timestamptz_n' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION timestampN(tfloat, integer) + RETURNS timestamptz + AS 'MODULE_PATHNAME', 'Temporal_timestamptz_n' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION timestampN(ttext, integer) + RETURNS timestamptz + AS 'MODULE_PATHNAME', 'Temporal_timestamptz_n' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION timestamps(tbool) + RETURNS timestamptz[] + AS 'MODULE_PATHNAME', 'Temporal_timestamps' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION timestamps(tint) + RETURNS timestamptz[] + AS 'MODULE_PATHNAME', 'Temporal_timestamps' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION timestamps(tfloat) + RETURNS timestamptz[] + AS 'MODULE_PATHNAME', 'Temporal_timestamps' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION timestamps(ttext) + RETURNS timestamptz[] + AS 'MODULE_PATHNAME', 'Temporal_timestamps' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/***************************************************************************** + * Transform a temporal value to a set of records + *****************************************************************************/ + +CREATE TYPE int_tstzspanset AS ( + value integer, + time tstzspanset +); +CREATE TYPE float_tstzspanset AS ( + value float, + time tstzspanset +); +CREATE TYPE text_tstzspanset AS ( + value text, + time tstzspanset +); + +CREATE FUNCTION unnest(tint) + RETURNS SETOF int_tstzspanset + AS 'MODULE_PATHNAME', 'Temporal_unnest' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION unnest(tfloat) + RETURNS SETOF float_tstzspanset + AS 'MODULE_PATHNAME', 'Temporal_unnest' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION unnest(ttext) + RETURNS SETOF text_tstzspanset + AS 'MODULE_PATHNAME', 'Temporal_unnest' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/****************************************************************************** + * Transformation functions + ******************************************************************************/ + +CREATE FUNCTION tboolInst(tbool) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Temporal_to_tinstant' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tintInst(tint) + RETURNS tint + AS 'MODULE_PATHNAME', 'Temporal_to_tinstant' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tfloatInst(tfloat) + RETURNS tfloat + AS 'MODULE_PATHNAME', 'Temporal_to_tinstant' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION ttextInst(ttext) + RETURNS ttext + AS 'MODULE_PATHNAME', 'Temporal_to_tinstant' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +-- The function is not strict +CREATE FUNCTION tboolSeq(tbool, text DEFAULT NULL) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Temporal_to_tsequence' + LANGUAGE C IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION tintSeq(tint, text DEFAULT NULL) + RETURNS tint + AS 'MODULE_PATHNAME', 'Temporal_to_tsequence' + LANGUAGE C IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION tfloatSeq(tfloat, text DEFAULT NULL) + RETURNS tfloat + AS 'MODULE_PATHNAME', 'Temporal_to_tsequence' + LANGUAGE C IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION ttextSeq(ttext, text DEFAULT NULL) + RETURNS ttext + AS 'MODULE_PATHNAME', 'Temporal_to_tsequence' + LANGUAGE C IMMUTABLE PARALLEL SAFE; + +-- The function is not strict +CREATE FUNCTION tboolSeqSet(tbool) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Temporal_to_tsequenceset' + LANGUAGE C IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION tintSeqSet(tint) + RETURNS tint + AS 'MODULE_PATHNAME', 'Temporal_to_tsequenceset' + LANGUAGE C IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION tfloatSeqSet(tfloat, text DEFAULT NULL) + RETURNS tfloat + AS 'MODULE_PATHNAME', 'Temporal_to_tsequenceset' + LANGUAGE C IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION ttextSeqSet(ttext) + RETURNS ttext + AS 'MODULE_PATHNAME', 'Temporal_to_tsequenceset' + LANGUAGE C IMMUTABLE PARALLEL SAFE; + +CREATE FUNCTION setInterp(tbool, text) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Temporal_set_interp' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION setInterp(tint, text) + RETURNS tint + AS 'MODULE_PATHNAME', 'Temporal_set_interp' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION setInterp(tfloat, text) + RETURNS tfloat + AS 'MODULE_PATHNAME', 'Temporal_set_interp' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION setInterp(ttext, text) + RETURNS ttext + AS 'MODULE_PATHNAME', 'Temporal_set_interp' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/******************************************************************************/ + +CREATE FUNCTION shiftValue(tint, integer) + RETURNS tint + AS 'MODULE_PATHNAME', 'Tnumber_shift_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION shiftValue(tfloat, float) + RETURNS tfloat + AS 'MODULE_PATHNAME', 'Tnumber_shift_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION scaleValue(tint, integer) + RETURNS tint + AS 'MODULE_PATHNAME', 'Tnumber_scale_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION scaleValue(tfloat, float) + RETURNS tfloat + AS 'MODULE_PATHNAME', 'Tnumber_scale_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION shiftScaleValue(tint, integer, integer) + RETURNS tint + AS 'MODULE_PATHNAME', 'Tnumber_shift_scale_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION shiftScaleValue(tfloat, float, float) + RETURNS tfloat + AS 'MODULE_PATHNAME', 'Tnumber_shift_scale_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/******************************************************************************/ + +CREATE FUNCTION shiftTime(tbool, interval) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Temporal_shift_time' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION shiftTime(tint, interval) + RETURNS tint + AS 'MODULE_PATHNAME', 'Temporal_shift_time' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION shiftTime(tfloat, interval) + RETURNS tfloat + AS 'MODULE_PATHNAME', 'Temporal_shift_time' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION shiftTime(ttext, interval) + RETURNS ttext + AS 'MODULE_PATHNAME', 'Temporal_shift_time' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION scaleTime(tbool, interval) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Temporal_scale_time' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION scaleTime(tint, interval) + RETURNS tint + AS 'MODULE_PATHNAME', 'Temporal_scale_time' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION scaleTime(tfloat, interval) + RETURNS tfloat + AS 'MODULE_PATHNAME', 'Temporal_scale_time' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION scaleTime(ttext, interval) + RETURNS ttext + AS 'MODULE_PATHNAME', 'Temporal_scale_time' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION shiftScaleTime(tbool, interval, interval) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Temporal_shift_scale_time' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION shiftScaleTime(tint, interval, interval) + RETURNS tint + AS 'MODULE_PATHNAME', 'Temporal_shift_scale_time' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION shiftScaleTime(tfloat, interval, interval) + RETURNS tfloat + AS 'MODULE_PATHNAME', 'Temporal_shift_scale_time' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION shiftScaleTime(ttext, interval, interval) + RETURNS ttext + AS 'MODULE_PATHNAME', 'Temporal_shift_scale_time' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION tprecision(tint, duration interval, + origin timestamptz DEFAULT '2000-01-03') + RETURNS tint + AS 'MODULE_PATHNAME', 'Temporal_tprecision' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tprecision(tfloat, duration interval, + origin timestamptz DEFAULT '2000-01-03') + RETURNS tfloat + AS 'MODULE_PATHNAME', 'Temporal_tprecision' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION tsample(tbool, duration interval, + origin timestamptz DEFAULT '2000-01-03', interp text DEFAULT 'discrete') + RETURNS tbool + AS 'MODULE_PATHNAME', 'Temporal_tsample' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tsample(tint, duration interval, + origin timestamptz DEFAULT '2000-01-03', interp text DEFAULT 'discrete') + RETURNS tint + AS 'MODULE_PATHNAME', 'Temporal_tsample' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tsample(tfloat, duration interval, + origin timestamptz DEFAULT '2000-01-03', interp text DEFAULT 'discrete') + RETURNS tfloat + AS 'MODULE_PATHNAME', 'Temporal_tsample' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tsample(ttext, duration interval, + origin timestamptz DEFAULT '2000-01-03', interp text DEFAULT 'discrete') + RETURNS ttext + AS 'MODULE_PATHNAME', 'Temporal_tsample' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/******************************************************************************/ + +CREATE FUNCTION appendInstant(tbool, tbool) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Temporal_append_tinstant' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION appendInstant(tint, tint) + RETURNS tint + AS 'MODULE_PATHNAME', 'Temporal_append_tinstant' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION appendInstant(tfloat, tfloat) + RETURNS tfloat + AS 'MODULE_PATHNAME', 'Temporal_append_tinstant' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION appendInstant(ttext, ttext) + RETURNS ttext + AS 'MODULE_PATHNAME', 'Temporal_append_tinstant' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION appendInstant(tbool, tbool, interp text) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Temporal_append_tinstant' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION appendInstant(tint, tint, interp text) + RETURNS tint + AS 'MODULE_PATHNAME', 'Temporal_append_tinstant' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION appendInstant(tfloat, tfloat, interp text) + RETURNS tfloat + AS 'MODULE_PATHNAME', 'Temporal_append_tinstant' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION appendInstant(ttext, ttext, interp text) + RETURNS ttext + AS 'MODULE_PATHNAME', 'Temporal_append_tinstant' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION appendSequence(tbool, tbool) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Temporal_append_tsequence' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION appendSequence(tint, tint) + RETURNS tint + AS 'MODULE_PATHNAME', 'Temporal_append_tsequence' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION appendSequence(tfloat, tfloat) + RETURNS tfloat + AS 'MODULE_PATHNAME', 'Temporal_append_tsequence' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION appendSequence(ttext, ttext) + RETURNS ttext + AS 'MODULE_PATHNAME', 'Temporal_append_tsequence' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +-- The function is not strict +CREATE FUNCTION merge(tbool, tbool) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Temporal_merge' + LANGUAGE C IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION merge(tint, tint) + RETURNS tint + AS 'MODULE_PATHNAME', 'Temporal_merge' + LANGUAGE C IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION merge(tfloat, tfloat) + RETURNS tfloat + AS 'MODULE_PATHNAME', 'Temporal_merge' + LANGUAGE C IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION merge(ttext, ttext) + RETURNS ttext + AS 'MODULE_PATHNAME', 'Temporal_merge' + LANGUAGE C IMMUTABLE PARALLEL SAFE; + +CREATE FUNCTION merge(tbool[]) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Temporal_merge_array' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION merge(tint[]) + RETURNS tint + AS 'MODULE_PATHNAME', 'Temporal_merge_array' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION merge(tfloat[]) + RETURNS tfloat + AS 'MODULE_PATHNAME', 'Temporal_merge_array' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION merge(ttext[]) + RETURNS ttext + AS 'MODULE_PATHNAME', 'Temporal_merge_array' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/***************************************************************************** + * Restriction functions + *****************************************************************************/ + +CREATE FUNCTION atValues(tbool, boolean) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Temporal_at_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION atValues(tint, integer) + RETURNS tint + AS 'MODULE_PATHNAME', 'Temporal_at_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION atValues(tfloat, float) + RETURNS tfloat + AS 'MODULE_PATHNAME', 'Temporal_at_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION atValues(ttext, text) + RETURNS ttext + AS 'MODULE_PATHNAME', 'Temporal_at_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION minusValues(tbool, boolean) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Temporal_minus_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION minusValues(tint, integer) + RETURNS tint + AS 'MODULE_PATHNAME', 'Temporal_minus_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION minusValues(tfloat, float) + RETURNS tfloat + AS 'MODULE_PATHNAME', 'Temporal_minus_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION minusValues(ttext, text) + RETURNS ttext + AS 'MODULE_PATHNAME', 'Temporal_minus_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION atValues(tint, intset) + RETURNS tint + AS 'MODULE_PATHNAME', 'Temporal_at_values' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION atValues(tfloat, floatset) + RETURNS tfloat + AS 'MODULE_PATHNAME', 'Temporal_at_values' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION atValues(ttext, textset) + RETURNS ttext + AS 'MODULE_PATHNAME', 'Temporal_at_values' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION minusValues(tint, intset) + RETURNS tint + AS 'MODULE_PATHNAME', 'Temporal_minus_values' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION minusValues(tfloat, floatset) + RETURNS tfloat + AS 'MODULE_PATHNAME', 'Temporal_minus_values' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION minusValues(ttext, textset) + RETURNS ttext + AS 'MODULE_PATHNAME', 'Temporal_minus_values' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION atValues(tint, intspan) + RETURNS tint + AS 'MODULE_PATHNAME', 'Tnumber_at_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION atValues(tfloat, floatspan) + RETURNS tfloat + AS 'MODULE_PATHNAME', 'Tnumber_at_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION minusValues(tint, intspan) + RETURNS tint + AS 'MODULE_PATHNAME', 'Tnumber_minus_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION minusValues(tfloat, floatspan) + RETURNS tfloat + AS 'MODULE_PATHNAME', 'Tnumber_minus_span' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION atValues(tint, intspanset) + RETURNS tint + AS 'MODULE_PATHNAME', 'Tnumber_at_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION atValues(tfloat, floatspanset) + RETURNS tfloat + AS 'MODULE_PATHNAME', 'Tnumber_at_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION minusValues(tint, intspanset) + RETURNS tint + AS 'MODULE_PATHNAME', 'Tnumber_minus_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION minusValues(tfloat, floatspanset) + RETURNS tfloat + AS 'MODULE_PATHNAME', 'Tnumber_minus_spanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION atMin(tint) + RETURNS tint + AS 'MODULE_PATHNAME', 'Temporal_at_min' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION atMin(tfloat) + RETURNS tfloat + AS 'MODULE_PATHNAME', 'Temporal_at_min' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION atMin(ttext) + RETURNS ttext + AS 'MODULE_PATHNAME', 'Temporal_at_min' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION minusMin(tint) + RETURNS tint + AS 'MODULE_PATHNAME', 'Temporal_minus_min' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION minusMin(tfloat) + RETURNS tfloat + AS 'MODULE_PATHNAME', 'Temporal_minus_min' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION minusMin(ttext) + RETURNS ttext + AS 'MODULE_PATHNAME', 'Temporal_minus_min' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION atMax(tint) + RETURNS tint + AS 'MODULE_PATHNAME', 'Temporal_at_max' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION atMax(tfloat) + RETURNS tfloat + AS 'MODULE_PATHNAME', 'Temporal_at_max' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION atMax(ttext) + RETURNS ttext + AS 'MODULE_PATHNAME', 'Temporal_at_max' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION minusMax(tint) + RETURNS tint + AS 'MODULE_PATHNAME', 'Temporal_minus_max' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION minusMax(tfloat) + RETURNS tfloat + AS 'MODULE_PATHNAME', 'Temporal_minus_max' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION minusMax(ttext) + RETURNS ttext + AS 'MODULE_PATHNAME', 'Temporal_minus_max' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION atTbox(tint, tbox) + RETURNS tint + AS 'MODULE_PATHNAME', 'Tnumber_at_tbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION atTbox(tfloat, tbox) + RETURNS tfloat + AS 'MODULE_PATHNAME', 'Tnumber_at_tbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION minusTbox(tint, tbox) + RETURNS tint + AS 'MODULE_PATHNAME', 'Tnumber_minus_tbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION minusTbox(tfloat, tbox) + RETURNS tfloat + AS 'MODULE_PATHNAME', 'Tnumber_minus_tbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION atTime(tbool, timestamptz) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Temporal_at_timestamptz' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION atTime(tint, timestamptz) + RETURNS tint + AS 'MODULE_PATHNAME', 'Temporal_at_timestamptz' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION atTime(tfloat, timestamptz) + RETURNS tfloat + AS 'MODULE_PATHNAME', 'Temporal_at_timestamptz' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION atTime(ttext, timestamptz) + RETURNS ttext + AS 'MODULE_PATHNAME', 'Temporal_at_timestamptz' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION minusTime(tbool, timestamptz) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Temporal_minus_timestamptz' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION minusTime(tint, timestamptz) + RETURNS tint + AS 'MODULE_PATHNAME', 'Temporal_minus_timestamptz' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION minusTime(tfloat, timestamptz) + RETURNS tfloat + AS 'MODULE_PATHNAME', 'Temporal_minus_timestamptz' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION minusTime(ttext, timestamptz) + RETURNS ttext + AS 'MODULE_PATHNAME', 'Temporal_minus_timestamptz' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION valueAtTimestamp(tbool, timestamptz) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Temporal_value_at_timestamptz' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION valueAtTimestamp(tint, timestamptz) + RETURNS integer + AS 'MODULE_PATHNAME', 'Temporal_value_at_timestamptz' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION valueAtTimestamp(tfloat, timestamptz) + RETURNS float + AS 'MODULE_PATHNAME', 'Temporal_value_at_timestamptz' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION valueAtTimestamp(ttext, timestamptz) + RETURNS text + AS 'MODULE_PATHNAME', 'Temporal_value_at_timestamptz' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION atTime(tbool, tstzset) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Temporal_at_tstzset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION atTime(tint, tstzset) + RETURNS tint + AS 'MODULE_PATHNAME', 'Temporal_at_tstzset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION atTime(tfloat, tstzset) + RETURNS tfloat + AS 'MODULE_PATHNAME', 'Temporal_at_tstzset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION atTime(ttext, tstzset) + RETURNS ttext + AS 'MODULE_PATHNAME', 'Temporal_at_tstzset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION minusTime(tbool, tstzset) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Temporal_minus_tstzset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION minusTime(tint, tstzset) + RETURNS tint + AS 'MODULE_PATHNAME', 'Temporal_minus_tstzset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION minusTime(tfloat, tstzset) + RETURNS tfloat + AS 'MODULE_PATHNAME', 'Temporal_minus_tstzset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION minusTime(ttext, tstzset) + RETURNS ttext + AS 'MODULE_PATHNAME', 'Temporal_minus_tstzset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION atTime(tbool, tstzspan) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Temporal_at_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION atTime(tint, tstzspan) + RETURNS tint + AS 'MODULE_PATHNAME', 'Temporal_at_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION atTime(tfloat, tstzspan) + RETURNS tfloat + AS 'MODULE_PATHNAME', 'Temporal_at_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION atTime(ttext, tstzspan) + RETURNS ttext + AS 'MODULE_PATHNAME', 'Temporal_at_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION minusTime(tbool, tstzspan) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Temporal_minus_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION minusTime(tint, tstzspan) + RETURNS tint + AS 'MODULE_PATHNAME', 'Temporal_minus_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION minusTime(tfloat, tstzspan) + RETURNS tfloat + AS 'MODULE_PATHNAME', 'Temporal_minus_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION minusTime(ttext, tstzspan) + RETURNS ttext + AS 'MODULE_PATHNAME', 'Temporal_minus_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION atTime(tbool, tstzspanset) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Temporal_at_tstzspanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION atTime(tint, tstzspanset) + RETURNS tint + AS 'MODULE_PATHNAME', 'Temporal_at_tstzspanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION atTime(tfloat, tstzspanset) + RETURNS tfloat + AS 'MODULE_PATHNAME', 'Temporal_at_tstzspanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION atTime(ttext, tstzspanset) + RETURNS ttext + AS 'MODULE_PATHNAME', 'Temporal_at_tstzspanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION minusTime(tbool, tstzspanset) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Temporal_minus_tstzspanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION minusTime(tint, tstzspanset) + RETURNS tint + AS 'MODULE_PATHNAME', 'Temporal_minus_tstzspanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION minusTime(tfloat, tstzspanset) + RETURNS tfloat + AS 'MODULE_PATHNAME', 'Temporal_minus_tstzspanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION minusTime(ttext, tstzspanset) + RETURNS ttext + AS 'MODULE_PATHNAME', 'Temporal_minus_tstzspanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION beforeTimestamp(tbool, timestamptz, strict bool DEFAULT TRUE) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Temporal_before_timestamptz' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION beforeTimestamp(tint, timestamptz, strict bool DEFAULT TRUE) + RETURNS tint + AS 'MODULE_PATHNAME', 'Temporal_before_timestamptz' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION beforeTimestamp(tfloat, timestamptz, strict bool DEFAULT TRUE) + RETURNS tfloat + AS 'MODULE_PATHNAME', 'Temporal_before_timestamptz' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION beforeTimestamp(ttext, timestamptz, strict bool DEFAULT TRUE) + RETURNS ttext + AS 'MODULE_PATHNAME', 'Temporal_before_timestamptz' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION afterTimestamp(tbool, timestamptz, strict bool DEFAULT TRUE) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Temporal_after_timestamptz' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION afterTimestamp(tint, timestamptz, strict bool DEFAULT TRUE) + RETURNS tint + AS 'MODULE_PATHNAME', 'Temporal_after_timestamptz' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION afterTimestamp(tfloat, timestamptz, strict bool DEFAULT TRUE) + RETURNS tfloat + AS 'MODULE_PATHNAME', 'Temporal_after_timestamptz' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION afterTimestamp(ttext, timestamptz, strict bool DEFAULT TRUE) + RETURNS ttext + AS 'MODULE_PATHNAME', 'Temporal_after_timestamptz' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/***************************************************************************** + * Modification Functions + *****************************************************************************/ + +CREATE FUNCTION insert(tbool, tbool, connect boolean DEFAULT TRUE) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Temporal_insert' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION insert(tint, tint, connect boolean DEFAULT TRUE) + RETURNS tint + AS 'MODULE_PATHNAME', 'Temporal_insert' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION insert(tfloat, tfloat, connect boolean DEFAULT TRUE) + RETURNS tfloat + AS 'MODULE_PATHNAME', 'Temporal_insert' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION insert(ttext, ttext, connect boolean DEFAULT TRUE) + RETURNS ttext + AS 'MODULE_PATHNAME', 'Temporal_insert' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION update(tbool, tbool, connect boolean DEFAULT TRUE) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Temporal_update' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION update(tint, tint, connect boolean DEFAULT TRUE) + RETURNS tint + AS 'MODULE_PATHNAME', 'Temporal_update' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION update(tfloat, tfloat, connect boolean DEFAULT TRUE) + RETURNS tfloat + AS 'MODULE_PATHNAME', 'Temporal_update' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION update(ttext, ttext, connect boolean DEFAULT TRUE) + RETURNS ttext + AS 'MODULE_PATHNAME', 'Temporal_update' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION deleteTime(tbool, timestamptz, connect boolean DEFAULT TRUE) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Temporal_delete_timestamptz' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION deleteTime(tint, timestamptz, connect boolean DEFAULT TRUE) + RETURNS tint + AS 'MODULE_PATHNAME', 'Temporal_delete_timestamptz' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION deleteTime(tfloat, timestamptz, connect boolean DEFAULT TRUE) + RETURNS tfloat + AS 'MODULE_PATHNAME', 'Temporal_delete_timestamptz' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION deleteTime(ttext, timestamptz, connect boolean DEFAULT TRUE) + RETURNS ttext + AS 'MODULE_PATHNAME', 'Temporal_delete_timestamptz' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION deleteTime(tbool, tstzset, connect boolean DEFAULT TRUE) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Temporal_delete_tstzset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION deleteTime(tint, tstzset, connect boolean DEFAULT TRUE) + RETURNS tint + AS 'MODULE_PATHNAME', 'Temporal_delete_tstzset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION deleteTime(tfloat, tstzset, connect boolean DEFAULT TRUE) + RETURNS tfloat + AS 'MODULE_PATHNAME', 'Temporal_delete_tstzset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION deleteTime(ttext, tstzset, connect boolean DEFAULT TRUE) + RETURNS ttext + AS 'MODULE_PATHNAME', 'Temporal_delete_tstzset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION deleteTime(tbool, tstzspan, connect boolean DEFAULT TRUE) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Temporal_delete_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION deleteTime(tint, tstzspan, connect boolean DEFAULT TRUE) + RETURNS tint + AS 'MODULE_PATHNAME', 'Temporal_delete_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION deleteTime(tfloat, tstzspan, connect boolean DEFAULT TRUE) + RETURNS tfloat + AS 'MODULE_PATHNAME', 'Temporal_delete_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION deleteTime(ttext, tstzspan, connect boolean DEFAULT TRUE) + RETURNS ttext + AS 'MODULE_PATHNAME', 'Temporal_delete_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION deleteTime(tbool, tstzspanset, connect boolean DEFAULT TRUE) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Temporal_delete_tstzspanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION deleteTime(tint, tstzspanset, connect boolean DEFAULT TRUE) + RETURNS tint + AS 'MODULE_PATHNAME', 'Temporal_delete_tstzspanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION deleteTime(tfloat, tstzspanset, connect boolean DEFAULT TRUE) + RETURNS tfloat + AS 'MODULE_PATHNAME', 'Temporal_delete_tstzspanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION deleteTime(ttext, tstzspanset, connect boolean DEFAULT TRUE) + RETURNS ttext + AS 'MODULE_PATHNAME', 'Temporal_delete_tstzspanset' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/***************************************************************************** + * Segment Duration Functions + *****************************************************************************/ + +CREATE FUNCTION segmentMinDuration(tbool, interval, bool DEFAULT true) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Temporal_segm_min_duration' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION segmentMinDuration(tint, interval, bool DEFAULT true) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Temporal_segm_min_duration' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION segmentMinDuration(tfloat, interval, bool DEFAULT true) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Temporal_segm_min_duration' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION segmentMinDuration(ttext, interval, bool DEFAULT true) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Temporal_segm_min_duration' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION segmentMaxDuration(tbool, interval, bool DEFAULT true) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Temporal_segm_max_duration' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION segmentMaxDuration(tint, interval, bool DEFAULT true) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Temporal_segm_max_duration' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION segmentMaxDuration(tfloat, interval, bool DEFAULT true) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Temporal_segm_max_duration' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION segmentMaxDuration(ttext, interval, bool DEFAULT true) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Temporal_segm_max_duration' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/***************************************************************************** + * Stops Functions + *****************************************************************************/ + +CREATE FUNCTION stops(tfloat, maxdist float DEFAULT 0.0, + minduration interval DEFAULT '0 minutes') + RETURNS tfloat + AS 'MODULE_PATHNAME', 'Temporal_stops' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION stops(tfloat, minduration interval) + RETURNS tfloat + AS 'SELECT @extschema@.stops($1, 0.0, $2)' + LANGUAGE SQL IMMUTABLE STRICT PARALLEL SAFE; + +/***************************************************************************** + * Local Aggregate Functions + *****************************************************************************/ + +CREATE FUNCTION integral(tint) + RETURNS float + AS 'MODULE_PATHNAME', 'Tnumber_integral' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION integral(tfloat) + RETURNS float + AS 'MODULE_PATHNAME', 'Tnumber_integral' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION twAvg(tint) + RETURNS float + AS 'MODULE_PATHNAME', 'Tnumber_twavg' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION twAvg(tfloat) + RETURNS float + AS 'MODULE_PATHNAME', 'Tnumber_twavg' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/***************************************************************************** + * Selectivity functions for operators + *****************************************************************************/ + +CREATE FUNCTION temporal_sel(internal, oid, internal, integer) + RETURNS float + AS 'MODULE_PATHNAME', 'Temporal_sel' + LANGUAGE C IMMUTABLE STRICT; + +CREATE FUNCTION temporal_joinsel(internal, oid, internal, smallint, internal) + RETURNS float + AS 'MODULE_PATHNAME', 'Temporal_joinsel' + LANGUAGE C IMMUTABLE STRICT; + +/****************************************************************************** + * Comparison functions and B-tree indexing + ******************************************************************************/ + +CREATE FUNCTION temporal_lt(tbool, tbool) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Temporal_lt' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_le(tbool, tbool) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Temporal_le' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_eq(tbool, tbool) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Temporal_eq' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_ne(tbool, tbool) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Temporal_ne' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_ge(tbool, tbool) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Temporal_ge' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_gt(tbool, tbool) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Temporal_gt' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_cmp(tbool, tbool) + RETURNS integer + AS 'MODULE_PATHNAME', 'Temporal_cmp' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR < ( + LEFTARG = tbool, RIGHTARG = tbool, + PROCEDURE = temporal_lt, + COMMUTATOR = >, NEGATOR = >=, + RESTRICT = temporal_sel, JOIN = scalarltjoinsel +); +CREATE OPERATOR <= ( + LEFTARG = tbool, RIGHTARG = tbool, + PROCEDURE = temporal_le, + COMMUTATOR = >=, NEGATOR = >, + RESTRICT = temporal_sel, JOIN = scalarltjoinsel +); +CREATE OPERATOR = ( + LEFTARG = tbool, RIGHTARG = tbool, + PROCEDURE = temporal_eq, + COMMUTATOR = =, NEGATOR = <>, + RESTRICT = eqsel, JOIN = eqjoinsel +); +CREATE OPERATOR <> ( + LEFTARG = tbool, RIGHTARG = tbool, + PROCEDURE = temporal_ne, + COMMUTATOR = <>, NEGATOR = =, + RESTRICT = neqsel, JOIN = neqjoinsel +); +CREATE OPERATOR >= ( + LEFTARG = tbool, RIGHTARG = tbool, + PROCEDURE = temporal_ge, + COMMUTATOR = <=, NEGATOR = <, + RESTRICT = temporal_sel, JOIN = scalargtjoinsel +); +CREATE OPERATOR > ( + LEFTARG = tbool, RIGHTARG = tbool, + PROCEDURE = temporal_gt, + COMMUTATOR = <, NEGATOR = <=, + RESTRICT = temporal_sel, JOIN = scalargtjoinsel +); + +CREATE OPERATOR CLASS tbool_btree_ops + DEFAULT FOR TYPE tbool USING btree AS + OPERATOR 1 <, + OPERATOR 2 <=, + OPERATOR 3 =, + OPERATOR 4 >=, + OPERATOR 5 >, + FUNCTION 1 temporal_cmp(tbool, tbool); + +/*****************************************************************************/ + +CREATE FUNCTION temporal_lt(tint, tint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Temporal_lt' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_le(tint, tint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Temporal_le' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_eq(tint, tint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Temporal_eq' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_ne(tint, tint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Temporal_ne' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_ge(tint, tint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Temporal_ge' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_gt(tint, tint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Temporal_gt' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_cmp(tint, tint) + RETURNS integer + AS 'MODULE_PATHNAME', 'Temporal_cmp' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR < ( + LEFTARG = tint, RIGHTARG = tint, + PROCEDURE = temporal_lt, + COMMUTATOR = >, NEGATOR = >=, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR <= ( + LEFTARG = tint, RIGHTARG = tint, + PROCEDURE = temporal_le, + COMMUTATOR = >=, NEGATOR = >, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR = ( + LEFTARG = tint, RIGHTARG = tint, + PROCEDURE = temporal_eq, + COMMUTATOR = =, NEGATOR = <>, + RESTRICT = eqsel, JOIN = eqjoinsel +); +CREATE OPERATOR <> ( + LEFTARG = tint, RIGHTARG = tint, + PROCEDURE = temporal_ne, + COMMUTATOR = <>, NEGATOR = =, + RESTRICT = neqsel, JOIN = neqjoinsel +); +CREATE OPERATOR >= ( + LEFTARG = tint, RIGHTARG = tint, + PROCEDURE = temporal_ge, + COMMUTATOR = <=, NEGATOR = <, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR > ( + LEFTARG = tint, RIGHTARG = tint, + PROCEDURE = temporal_gt, + COMMUTATOR = <, NEGATOR = <=, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); + +CREATE OPERATOR CLASS tint_btree_ops + DEFAULT FOR TYPE tint USING btree AS + OPERATOR 1 <, + OPERATOR 2 <=, + OPERATOR 3 =, + OPERATOR 4 >=, + OPERATOR 5 >, + FUNCTION 1 temporal_cmp(tint, tint); + +/*****************************************************************************/ + +CREATE FUNCTION temporal_lt(tfloat, tfloat) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Temporal_lt' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_le(tfloat, tfloat) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Temporal_le' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_eq(tfloat, tfloat) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Temporal_eq' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_ne(tfloat, tfloat) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Temporal_ne' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_ge(tfloat, tfloat) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Temporal_ge' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_gt(tfloat, tfloat) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Temporal_gt' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_cmp(tfloat, tfloat) + RETURNS integer + AS 'MODULE_PATHNAME', 'Temporal_cmp' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR < ( + LEFTARG = tfloat, RIGHTARG = tfloat, + PROCEDURE = temporal_lt, + COMMUTATOR = >, NEGATOR = >=, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR <= ( + LEFTARG = tfloat, RIGHTARG = tfloat, + PROCEDURE = temporal_le, + COMMUTATOR = >=, NEGATOR = >, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR = ( + LEFTARG = tfloat, RIGHTARG = tfloat, + PROCEDURE = temporal_eq, + COMMUTATOR = =, NEGATOR = <>, + RESTRICT = eqsel, JOIN = eqjoinsel +); +CREATE OPERATOR <> ( + LEFTARG = tfloat, RIGHTARG = tfloat, + PROCEDURE = temporal_ne, + COMMUTATOR = <>, NEGATOR = =, + RESTRICT = neqsel, JOIN = neqjoinsel +); +CREATE OPERATOR >= ( + LEFTARG = tfloat, RIGHTARG = tfloat, + PROCEDURE = temporal_ge, + COMMUTATOR = <=, NEGATOR = <, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR > ( + LEFTARG = tfloat, RIGHTARG = tfloat, + PROCEDURE = temporal_gt, + COMMUTATOR = <, NEGATOR = <=, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); + +CREATE OPERATOR CLASS tfloat_btree_ops + DEFAULT FOR TYPE tfloat USING btree AS + OPERATOR 1 <, + OPERATOR 2 <=, + OPERATOR 3 =, + OPERATOR 4 >=, + OPERATOR 5 >, + FUNCTION 1 temporal_cmp(tfloat, tfloat); + +/******************************************************************************/ + +CREATE FUNCTION temporal_lt(ttext, ttext) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Temporal_lt' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_le(ttext, ttext) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Temporal_le' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_eq(ttext, ttext) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Temporal_eq' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_ne(ttext, ttext) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Temporal_ne' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_ge(ttext, ttext) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Temporal_ge' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_gt(ttext, ttext) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Temporal_gt' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_cmp(ttext, ttext) + RETURNS integer + AS 'MODULE_PATHNAME', 'Temporal_cmp' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR < ( + LEFTARG = ttext, RIGHTARG = ttext, + PROCEDURE = temporal_lt, + COMMUTATOR = >, NEGATOR = >=, + RESTRICT = temporal_sel, JOIN = scalarltjoinsel +); +CREATE OPERATOR <= ( + LEFTARG = ttext, RIGHTARG = ttext, + PROCEDURE = temporal_le, + COMMUTATOR = >=, NEGATOR = >, + RESTRICT = temporal_sel, JOIN = scalarltjoinsel +); +CREATE OPERATOR = ( + LEFTARG = ttext, RIGHTARG = ttext, + PROCEDURE = temporal_eq, + COMMUTATOR = =, NEGATOR = <>, + RESTRICT = eqsel, JOIN = eqjoinsel +); +CREATE OPERATOR <> ( + LEFTARG = ttext, RIGHTARG = ttext, + PROCEDURE = temporal_ne, + COMMUTATOR = <>, NEGATOR = =, + RESTRICT = neqsel, JOIN = neqjoinsel +); +CREATE OPERATOR >= ( + LEFTARG = ttext, RIGHTARG = ttext, + PROCEDURE = temporal_ge, + COMMUTATOR = <=, NEGATOR = <, + RESTRICT = temporal_sel, JOIN = scalargtjoinsel +); +CREATE OPERATOR > ( + LEFTARG = ttext, RIGHTARG = ttext, + PROCEDURE = temporal_gt, + COMMUTATOR = <, NEGATOR = <=, + RESTRICT = temporal_sel, JOIN = scalargtjoinsel +); + +CREATE OPERATOR CLASS ttext_btree_ops + DEFAULT FOR TYPE ttext USING btree AS + OPERATOR 1 <, + OPERATOR 2 <=, + OPERATOR 3 =, + OPERATOR 4 >=, + OPERATOR 5 >, + FUNCTION 1 temporal_cmp(ttext, ttext); + +/******************************************************************************/ + +CREATE FUNCTION temporal_hash(tbool) + RETURNS integer + AS 'MODULE_PATHNAME', 'Temporal_hash' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_hash(tint) + RETURNS integer + AS 'MODULE_PATHNAME', 'Temporal_hash' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_hash(tfloat) + RETURNS integer + AS 'MODULE_PATHNAME', 'Temporal_hash' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_hash(ttext) + RETURNS integer + AS 'MODULE_PATHNAME', 'Temporal_hash' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR CLASS tbool_hash_ops + DEFAULT FOR TYPE tbool USING hash AS + OPERATOR 1 = , + FUNCTION 1 temporal_hash(tbool); +CREATE OPERATOR CLASS tint_hash_ops + DEFAULT FOR TYPE tint USING hash AS + OPERATOR 1 = , + FUNCTION 1 temporal_hash(tint); +CREATE OPERATOR CLASS tfloat_hash_ops + DEFAULT FOR TYPE tfloat USING hash AS + OPERATOR 1 = , + FUNCTION 1 temporal_hash(tfloat); +CREATE OPERATOR CLASS ttext_hash_ops + DEFAULT FOR TYPE ttext USING hash AS + OPERATOR 1 = , + FUNCTION 1 temporal_hash(ttext); + +/******************************************************************************/ diff --git a/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/temporal/023_temporal_inout.in.sql b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/temporal/023_temporal_inout.in.sql new file mode 100644 index 00000000..45b5ba1a --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/temporal/023_temporal_inout.in.sql @@ -0,0 +1,190 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @file + * @brief Input/output of temporal types in WKT, MF-JSON, and WKB + * representation + */ + +/***************************************************************************** + * Input + *****************************************************************************/ + +CREATE FUNCTION tboolFromMFJSON(text) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Temporal_from_mfjson' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tintFromMFJSON(text) + RETURNS tint + AS 'MODULE_PATHNAME', 'Temporal_from_mfjson' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tfloatFromMFJSON(text) + RETURNS tfloat + AS 'MODULE_PATHNAME', 'Temporal_from_mfjson' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION ttextFromMFJSON(text) + RETURNS ttext + AS 'MODULE_PATHNAME', 'Temporal_from_mfjson' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/*****************************************************************************/ + +CREATE FUNCTION tboolFromBinary(bytea) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Temporal_from_wkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tintFromBinary(bytea) + RETURNS tint + AS 'MODULE_PATHNAME', 'Temporal_from_wkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tfloatFromBinary(bytea) + RETURNS tfloat + AS 'MODULE_PATHNAME', 'Temporal_from_wkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION ttextFromBinary(bytea) + RETURNS ttext + AS 'MODULE_PATHNAME', 'Temporal_from_wkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION tboolFromHexWKB(text) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Temporal_from_hexwkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tintFromHexWKB(text) + RETURNS tint + AS 'MODULE_PATHNAME', 'Temporal_from_hexwkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tfloatFromHexWKB(text) + RETURNS tfloat + AS 'MODULE_PATHNAME', 'Temporal_from_hexwkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION ttextFromHexWKB(text) + RETURNS ttext + AS 'MODULE_PATHNAME', 'Temporal_from_hexwkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/***************************************************************************** + * Output + *****************************************************************************/ + +CREATE FUNCTION asText(tbool) + RETURNS text + AS 'MODULE_PATHNAME', 'Temporal_as_text' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION asText(tbool[]) + RETURNS text[] + AS 'MODULE_PATHNAME', 'Temporalarr_as_text' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION asText(tint) + RETURNS text + AS 'MODULE_PATHNAME', 'Temporal_as_text' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION asText(tint[]) + RETURNS text[] + AS 'MODULE_PATHNAME', 'Temporalarr_as_text' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION asText(tfloat, maxdecimaldigits int4 DEFAULT 15) + RETURNS text + AS 'MODULE_PATHNAME', 'Temporal_as_text' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION asText(tfloat[], maxdecimaldigits int4 DEFAULT 15) + RETURNS text[] + AS 'MODULE_PATHNAME', 'Temporalarr_as_text' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION asText(ttext) + RETURNS text + AS 'MODULE_PATHNAME', 'Temporal_as_text' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION asText(ttext[]) + RETURNS text[] + AS 'MODULE_PATHNAME', 'Temporalarr_as_text' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION asMFJSON(temp tbool, options int4 DEFAULT 0, + flags int4 DEFAULT 0) + RETURNS text + AS 'MODULE_PATHNAME', 'Temporal_as_mfjson' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION asMFJSON(temp tint, options int4 DEFAULT 0, + flags int4 DEFAULT 0) + RETURNS text + AS 'MODULE_PATHNAME', 'Temporal_as_mfjson' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION asMFJSON(temp tfloat, options int4 DEFAULT 0, + flags int4 DEFAULT 0, maxdecimaldigits int4 DEFAULT 15) + RETURNS text + AS 'MODULE_PATHNAME', 'Temporal_as_mfjson' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION asMFJSON(temp ttext, options int4 DEFAULT 0, + flags int4 DEFAULT 0) + RETURNS text + AS 'MODULE_PATHNAME', 'Temporal_as_mfjson' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/*****************************************************************************/ + +CREATE FUNCTION asBinary(tbool, endianenconding text DEFAULT '') + RETURNS bytea + AS 'MODULE_PATHNAME', 'Temporal_as_wkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION asBinary(tint, endianenconding text DEFAULT '') + RETURNS bytea + AS 'MODULE_PATHNAME', 'Temporal_as_wkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION asBinary(tfloat, endianenconding text DEFAULT '') + RETURNS bytea + AS 'MODULE_PATHNAME', 'Temporal_as_wkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION asBinary(ttext, endianenconding text DEFAULT '') + RETURNS bytea + AS 'MODULE_PATHNAME', 'Temporal_as_wkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION asHexWKB(tbool, endianenconding text DEFAULT '') + RETURNS text + AS 'MODULE_PATHNAME', 'Temporal_as_hexwkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION asHexWKB(tint, endianenconding text DEFAULT '') + RETURNS text + AS 'MODULE_PATHNAME', 'Temporal_as_hexwkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION asHexWKB(tfloat, endianenconding text DEFAULT '') + RETURNS text + AS 'MODULE_PATHNAME', 'Temporal_as_hexwkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION asHexWKB(ttext, endianenconding text DEFAULT '') + RETURNS text + AS 'MODULE_PATHNAME', 'Temporal_as_hexwkb' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/*****************************************************************************/ diff --git a/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/temporal/025_temporal_tile.in.sql b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/temporal/025_temporal_tile.in.sql new file mode 100644 index 00000000..491dbef0 --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/temporal/025_temporal_tile.in.sql @@ -0,0 +1,316 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @file + * @brief Bin and tile functions for temporal types + * @note The time bin function are inspired from TimescaleDB + * https://docs.timescale.com/api/latest/hyperfunctions/time_bucket/ + */ + +/***************************************************************************** + * Bins + *****************************************************************************/ + +CREATE FUNCTION bins(intspan, vsize int, vorigin int DEFAULT 0) + RETURNS intspan[] + AS 'MODULE_PATHNAME', 'Span_bins' + LANGUAGE C IMMUTABLE PARALLEL SAFE STRICT; +CREATE FUNCTION bins(bigintspan, vsize bigint, vorigin int DEFAULT 0) + RETURNS intspan[] + AS 'MODULE_PATHNAME', 'Span_bins' + LANGUAGE C IMMUTABLE PARALLEL SAFE STRICT; +CREATE FUNCTION bins(floatspan, vsize float, vorigin float DEFAULT 0.0) + RETURNS floatspan[] + AS 'MODULE_PATHNAME', 'Span_bins' + LANGUAGE C IMMUTABLE PARALLEL SAFE STRICT; + +CREATE FUNCTION bins(datespan, tsize interval, + torigin date DEFAULT '2000-01-01') + RETURNS datespan[] + AS 'MODULE_PATHNAME', 'Span_bins' + LANGUAGE C IMMUTABLE PARALLEL SAFE STRICT; +CREATE FUNCTION bins(tstzspan, tsize interval, + torigin timestamptz DEFAULT '2000-01-03') + RETURNS tstzspan[] + AS 'MODULE_PATHNAME', 'Span_bins' + LANGUAGE C IMMUTABLE PARALLEL SAFE STRICT; + +/*****************************************************************************/ + +CREATE FUNCTION bins(intspanset, vsize int, vorigin int DEFAULT 0) + RETURNS intspan[] + AS 'MODULE_PATHNAME', 'Spanset_bins' + LANGUAGE C IMMUTABLE PARALLEL SAFE STRICT; +CREATE FUNCTION bins(bigintspanset, vsize bigint, vorigin int DEFAULT 0) + RETURNS intspan[] + AS 'MODULE_PATHNAME', 'Spanset_bins' + LANGUAGE C IMMUTABLE PARALLEL SAFE STRICT; +CREATE FUNCTION bins(floatspanset, vsize float, vorigin float DEFAULT 0.0) + RETURNS floatspan[] + AS 'MODULE_PATHNAME', 'Spanset_bins' + LANGUAGE C IMMUTABLE PARALLEL SAFE STRICT; + +CREATE FUNCTION bins(datespanset, tsize interval, + torigin date DEFAULT '2000-01-01') + RETURNS datespan[] + AS 'MODULE_PATHNAME', 'Spanset_bins' + LANGUAGE C IMMUTABLE PARALLEL SAFE STRICT; +CREATE FUNCTION bins(tstzspanset, tsize interval, + torigin timestamptz DEFAULT '2000-01-03') + RETURNS tstzspan[] + AS 'MODULE_PATHNAME', 'Spanset_bins' + LANGUAGE C IMMUTABLE PARALLEL SAFE STRICT; + +/*****************************************************************************/ + +CREATE FUNCTION getBin("value" integer, size integer, origin integer DEFAULT 0) + RETURNS intspan + AS 'MODULE_PATHNAME', 'Value_bin' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION getBin("value" bigint, size bigint, origin bigint DEFAULT 0) + RETURNS bigintspan + AS 'MODULE_PATHNAME', 'Value_bin' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION getBin("value" float, size float, origin float DEFAULT 0.0) + RETURNS floatspan + AS 'MODULE_PATHNAME', 'Value_bin' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION getBin(date, interval, date DEFAULT '2000-01-03') + RETURNS datespan + AS 'MODULE_PATHNAME', 'Date_bin' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION getBin(timestamptz, interval, timestamptz DEFAULT '2000-01-03') + RETURNS tstzspan + AS 'MODULE_PATHNAME', 'Timestamptz_bin' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/*****************************************************************************/ + +CREATE FUNCTION timeBins(tbool, tsize interval, + torigin timestamptz DEFAULT '2000-01-03') + RETURNS tstzspan[] + AS 'MODULE_PATHNAME', 'Temporal_time_bins' + LANGUAGE C IMMUTABLE PARALLEL SAFE STRICT; +CREATE FUNCTION timeBins(tint, tsize interval, + torigin timestamptz DEFAULT '2000-01-03') + RETURNS tstzspan[] + AS 'MODULE_PATHNAME', 'Temporal_time_bins' + LANGUAGE C IMMUTABLE PARALLEL SAFE STRICT; +CREATE FUNCTION timeBins(tfloat, tsize interval, + torigin timestamptz DEFAULT '2000-01-03') + RETURNS tstzspan[] + AS 'MODULE_PATHNAME', 'Temporal_time_bins' + LANGUAGE C IMMUTABLE PARALLEL SAFE STRICT; +CREATE FUNCTION timeBins(ttext, tsize interval, + torigin timestamptz DEFAULT '2000-01-03') + RETURNS tstzspan[] + AS 'MODULE_PATHNAME', 'Temporal_time_bins' + LANGUAGE C IMMUTABLE PARALLEL SAFE STRICT; + +CREATE FUNCTION valueBins(tint, vsize int, vorigin int DEFAULT 0) + RETURNS intspan[] + AS 'MODULE_PATHNAME', 'Tnumber_value_bins' + LANGUAGE C IMMUTABLE PARALLEL SAFE STRICT; +CREATE FUNCTION valueBins(tfloat, vsize float, vorigin float DEFAULT 0.0) + RETURNS floatspan[] + AS 'MODULE_PATHNAME', 'Tnumber_value_bins' + LANGUAGE C IMMUTABLE PARALLEL SAFE STRICT; + +/***************************************************************************** + * Multidimensional tiling + *****************************************************************************/ + +CREATE TYPE index_tbox AS ( + index integer, + tile tbox +); + +CREATE FUNCTION valueTiles(tbox, vsize float, vorigin float DEFAULT 0.0) + RETURNS SETOF index_tbox + AS 'MODULE_PATHNAME', 'Tbox_value_tiles' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION timeTiles(tbox, duration interval, + torigin timestamptz DEFAULT '2000-01-03') + RETURNS SETOF index_tbox + AS 'MODULE_PATHNAME', 'Tbox_time_tiles' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION valueTimeTiles(tbox, vsize float, duration interval, + vorigin float DEFAULT 0.0, torigin timestamptz DEFAULT '2000-01-03') + RETURNS SETOF index_tbox + AS 'MODULE_PATHNAME', 'Tbox_value_time_tiles' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/*****************************************************************************/ + +CREATE FUNCTION getValueTile(v float, vsize float, vorigin float DEFAULT 0.0) + RETURNS tbox + AS 'MODULE_PATHNAME', 'Tbox_get_value_tile' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION getTBoxTimeTile(t timestamptz, duration interval, + torigin timestamptz DEFAULT '2000-01-03') + RETURNS tbox + AS 'MODULE_PATHNAME', 'Tbox_get_time_tile' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION getValueTimeTile(v float, t timestamptz, vsize float, + duration interval, vorigin float DEFAULT 0.0, + torigin timestamptz DEFAULT '2000-01-03') + RETURNS tbox + AS 'MODULE_PATHNAME', 'Tbox_get_value_time_tile' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/***************************************************************************** + * Boxes + *****************************************************************************/ + +CREATE FUNCTION valueBoxes(tint, vsize int, vorigin int DEFAULT 0) + RETURNS tbox[] + AS 'MODULE_PATHNAME', 'Tnumber_value_boxes' + LANGUAGE C IMMUTABLE PARALLEL SAFE STRICT; +CREATE FUNCTION valueBoxes(tfloat, vsize float, vorigin float DEFAULT 0.0) + RETURNS tbox[] + AS 'MODULE_PATHNAME', 'Tnumber_value_boxes' + LANGUAGE C IMMUTABLE PARALLEL SAFE STRICT; + +CREATE FUNCTION timeBoxes(tint, tsize interval, + torigin timestamptz DEFAULT '2000-01-03') + RETURNS tbox[] + AS 'MODULE_PATHNAME', 'Tnumber_time_boxes' + LANGUAGE C IMMUTABLE PARALLEL SAFE STRICT; +CREATE FUNCTION timeBoxes(tfloat, tsize interval, + torigin timestamptz DEFAULT '2000-01-03') + RETURNS tbox[] + AS 'MODULE_PATHNAME', 'Tnumber_time_boxes' + LANGUAGE C IMMUTABLE PARALLEL SAFE STRICT; + +CREATE FUNCTION valueTimeBoxes(tint, vsize int, tsize interval, + vorigin int DEFAULT 0, torigin timestamptz DEFAULT '2000-01-03') + RETURNS tbox[] + AS 'MODULE_PATHNAME', 'Tnumber_value_time_boxes' + LANGUAGE C IMMUTABLE PARALLEL SAFE STRICT; +CREATE FUNCTION valueTimeBoxes(tfloat, vsize float, tsize interval, + vorigin float DEFAULT 0.0, torigin timestamptz DEFAULT '2000-01-03') + RETURNS tbox[] + AS 'MODULE_PATHNAME', 'Tnumber_value_time_boxes' + LANGUAGE C IMMUTABLE PARALLEL SAFE STRICT; + +/***************************************************************************** + * Splitting + *****************************************************************************/ + +CREATE TYPE number_tint AS ( + number integer, + tnumber tint +); +CREATE TYPE number_tfloat AS ( + number float, + tnumber tfloat +); + +CREATE FUNCTION valueSplit(tint, size integer, origin integer DEFAULT 0) + RETURNS SETOF number_tint + AS 'MODULE_PATHNAME', 'Tnumber_value_split' + LANGUAGE C IMMUTABLE PARALLEL SAFE STRICT; +CREATE FUNCTION valueSplit(tfloat, size float, origin float DEFAULT 0.0) + RETURNS SETOF number_tfloat + AS 'MODULE_PATHNAME', 'Tnumber_value_split' + LANGUAGE C IMMUTABLE PARALLEL SAFE STRICT; + +/*****************************************************************************/ + +CREATE TYPE time_tbool AS ( + time timestamptz, + temp tbool +); +CREATE TYPE time_tint AS ( + time timestamptz, + temp tint +); +CREATE TYPE time_tfloat AS ( + time timestamptz, + temp tfloat +); +CREATE TYPE time_ttext AS ( + time timestamptz, + temp ttext +); + +CREATE FUNCTION timeSplit(tbool, size interval, + origin timestamptz DEFAULT '2000-01-03') + RETURNS SETOF time_tbool + AS 'MODULE_PATHNAME', 'Temporal_time_split' + LANGUAGE C IMMUTABLE PARALLEL SAFE STRICT; +CREATE FUNCTION timeSplit(tint, size interval, + origin timestamptz DEFAULT '2000-01-03') + RETURNS SETOF time_tint + AS 'MODULE_PATHNAME', 'Temporal_time_split' + LANGUAGE C IMMUTABLE PARALLEL SAFE STRICT; +CREATE FUNCTION timeSplit(tfloat, size interval, + origin timestamptz DEFAULT '2000-01-03') + RETURNS SETOF time_tfloat + AS 'MODULE_PATHNAME', 'Temporal_time_split' + LANGUAGE C IMMUTABLE PARALLEL SAFE STRICT; +CREATE FUNCTION timeSplit(ttext, size interval, + origin timestamptz DEFAULT '2000-01-03') + RETURNS SETOF time_ttext + AS 'MODULE_PATHNAME', 'Temporal_time_split' + LANGUAGE C IMMUTABLE PARALLEL SAFE STRICT; + +/*****************************************************************************/ + +CREATE TYPE number_time_tint AS ( + number integer, + time timestamptz, + tnumber tint +); +CREATE TYPE number_time_tfloat AS ( + number float, + time timestamptz, + tnumber tfloat +); + +CREATE FUNCTION valueTimeSplit(tint, size integer, duration interval, + vorigin integer DEFAULT 0, torigin timestamptz DEFAULT '2000-01-03') + RETURNS SETOF number_time_tint + AS 'MODULE_PATHNAME', 'Tnumber_value_time_split' + LANGUAGE C IMMUTABLE PARALLEL SAFE STRICT; +CREATE FUNCTION valueTimeSplit(tfloat, size float, duration interval, + vorigin float DEFAULT 0.0, torigin timestamptz DEFAULT '2000-01-03') + RETURNS SETOF number_time_tfloat + AS 'MODULE_PATHNAME', 'Tnumber_value_time_split' + LANGUAGE C IMMUTABLE PARALLEL SAFE STRICT; + +/*****************************************************************************/ + + diff --git a/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/temporal/026_tnumber_mathfuncs.in.sql b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/temporal/026_tnumber_mathfuncs.in.sql new file mode 100644 index 00000000..3c5bc3b2 --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/temporal/026_tnumber_mathfuncs.in.sql @@ -0,0 +1,424 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @file + * @brief Temporal mathematic functions and operators + */ + +/***************************************************************************** + * Temporal addition + *****************************************************************************/ + +/* integer + */ + +CREATE FUNCTION tnumber_add(integer, tint) + RETURNS tint + AS 'MODULE_PATHNAME', 'Add_number_tnumber' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR + ( + PROCEDURE = tnumber_add, + LEFTARG = integer, RIGHTARG = tint, + COMMUTATOR = + +); + +/*****************************************************************************/ + +/* float + */ + +CREATE FUNCTION tnumber_add(float, tfloat) + RETURNS tfloat + AS 'MODULE_PATHNAME', 'Add_number_tnumber' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR + ( + PROCEDURE = tnumber_add, + LEFTARG = float, RIGHTARG = tfloat, + COMMUTATOR = + +); + +/*****************************************************************************/ +/* tint + */ + +CREATE FUNCTION tnumber_add(tint, integer) + RETURNS tint + AS 'MODULE_PATHNAME', 'Add_tnumber_number' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tnumber_add(tint, tint) + RETURNS tint + AS 'MODULE_PATHNAME', 'Add_tnumber_tnumber' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR + ( + PROCEDURE = tnumber_add, + LEFTARG = tint, RIGHTARG = integer, + COMMUTATOR = + +); +CREATE OPERATOR + ( + PROCEDURE = tnumber_add, + LEFTARG = tint, RIGHTARG = tint, + COMMUTATOR = + +); + +/*****************************************************************************/ +/* tfloat + */ + +CREATE FUNCTION tnumber_add(tfloat, float) + RETURNS tfloat + AS 'MODULE_PATHNAME', 'Add_tnumber_number' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tnumber_add(tfloat, tfloat) + RETURNS tfloat + AS 'MODULE_PATHNAME', 'Add_tnumber_tnumber' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR + ( + PROCEDURE = tnumber_add, + LEFTARG = tfloat, RIGHTARG = float, + COMMUTATOR = + +); +CREATE OPERATOR + ( + PROCEDURE = tnumber_add, + LEFTARG = tfloat, RIGHTARG = tfloat, + COMMUTATOR = + +); + +/***************************************************************************** + * Temporal subtraction + *****************************************************************************/ + +/* integer - */ + +CREATE FUNCTION tnumber_sub(integer, tint) + RETURNS tint + AS 'MODULE_PATHNAME', 'Sub_number_tnumber' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR - ( + PROCEDURE = tnumber_sub, + LEFTARG = integer, RIGHTARG = tint +); + +/*****************************************************************************/ + +/* tint - */ + +CREATE FUNCTION tnumber_sub(tint, integer) + RETURNS tint + AS 'MODULE_PATHNAME', 'Sub_tnumber_number' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tnumber_sub(tint, tint) + RETURNS tint + AS 'MODULE_PATHNAME', 'Sub_tnumber_tnumber' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR - ( + PROCEDURE = tnumber_sub, + LEFTARG = tint, RIGHTARG = integer +); +CREATE OPERATOR - ( + PROCEDURE = tnumber_sub, + LEFTARG = tint, RIGHTARG = tint +); + +/*****************************************************************************/ + +/* float - */ + +CREATE FUNCTION tnumber_sub(float, tfloat) + RETURNS tfloat + AS 'MODULE_PATHNAME', 'Sub_number_tnumber' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR - ( + PROCEDURE = tnumber_sub, + LEFTARG = float, RIGHTARG = tfloat +); + +/*****************************************************************************/ + +/* tfloat - */ + +CREATE FUNCTION tnumber_sub(tfloat, float) + RETURNS tfloat + AS 'MODULE_PATHNAME', 'Sub_tnumber_number' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tnumber_sub(tfloat, tfloat) + RETURNS tfloat + AS 'MODULE_PATHNAME', 'Sub_tnumber_tnumber' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR - ( + PROCEDURE = tnumber_sub, + LEFTARG = tfloat, RIGHTARG = float +); +CREATE OPERATOR - ( + PROCEDURE = tnumber_sub, + LEFTARG = tfloat, RIGHTARG = tfloat +); + +/***************************************************************************** + * Temporal multiplication + *****************************************************************************/ + +/* integer * */ + +CREATE FUNCTION tnumber_mul(integer, tint) + RETURNS tint + AS 'MODULE_PATHNAME', 'Mul_number_tnumber' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR * ( + PROCEDURE = tnumber_mul, + LEFTARG = integer, RIGHTARG = tint, + COMMUTATOR = * +); + +/*****************************************************************************/ +/* tint * */ + +CREATE FUNCTION tnumber_mul(tint, integer) + RETURNS tint + AS 'MODULE_PATHNAME', 'Mul_tnumber_number' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tnumber_mul(tint, tint) + RETURNS tint + AS 'MODULE_PATHNAME', 'Mul_tnumber_tnumber' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR * ( + PROCEDURE = tnumber_mul, + LEFTARG = tint, RIGHTARG = integer, + COMMUTATOR = * +); +CREATE OPERATOR * ( + PROCEDURE = tnumber_mul, + LEFTARG = tint, RIGHTARG = tint, + COMMUTATOR = * +); + +/*****************************************************************************/ + +/* float * */ + +CREATE FUNCTION tnumber_mul(float, tfloat) + RETURNS tfloat + AS 'MODULE_PATHNAME', 'Mul_number_tnumber' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR * ( + PROCEDURE = tnumber_mul, + LEFTARG = float, RIGHTARG = tfloat, + COMMUTATOR = * +); + +/*****************************************************************************/ +/* tfloat * */ + +CREATE FUNCTION tnumber_mul(tfloat, float) + RETURNS tfloat + AS 'MODULE_PATHNAME', 'Mul_tnumber_number' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tnumber_mul(tfloat, tfloat) + RETURNS tfloat + AS 'MODULE_PATHNAME', 'Mul_tnumber_tnumber' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR * ( + PROCEDURE = tnumber_mul, + LEFTARG = tfloat, RIGHTARG = float, + COMMUTATOR = * +); +CREATE OPERATOR * ( + PROCEDURE = tnumber_mul, + LEFTARG = tfloat, RIGHTARG = tfloat, + COMMUTATOR = * +); + +/***************************************************************************** + * Temporal division + *****************************************************************************/ + +/* integer / */ + +CREATE FUNCTION tnumber_div(integer, tint) + RETURNS tint + AS 'MODULE_PATHNAME', 'Div_number_tnumber' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR / ( + PROCEDURE = tnumber_div, + LEFTARG = integer, RIGHTARG = tint +); + +/*****************************************************************************/ +/* tint / */ + +CREATE FUNCTION tnumber_div(tint, integer) + RETURNS tint + AS 'MODULE_PATHNAME', 'Div_tnumber_number' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tnumber_div(tint, tint) + RETURNS tint + AS 'MODULE_PATHNAME', 'Div_tnumber_tnumber' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR / ( + PROCEDURE = tnumber_div, + LEFTARG = tint, RIGHTARG = integer +); +CREATE OPERATOR / ( + PROCEDURE = tnumber_div, + LEFTARG = tint, RIGHTARG = tint +); + +/*****************************************************************************/ + +/* float / */ + +CREATE FUNCTION tnumber_div(float, tfloat) + RETURNS tfloat + AS 'MODULE_PATHNAME', 'Div_number_tnumber' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR / ( + PROCEDURE = tnumber_div, + LEFTARG = float, RIGHTARG = tfloat +); + +/*****************************************************************************/ + +CREATE FUNCTION tnumber_div(tfloat, float) + RETURNS tfloat + AS 'MODULE_PATHNAME', 'Div_tnumber_number' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tnumber_div(tfloat, tfloat) + RETURNS tfloat + AS 'MODULE_PATHNAME', 'Div_tnumber_tnumber' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR / ( + PROCEDURE = tnumber_div, + LEFTARG = tfloat, RIGHTARG = float +); +CREATE OPERATOR / ( + PROCEDURE = tnumber_div, + LEFTARG = tfloat, RIGHTARG = tfloat +); + +/******************************************************************************/ + +CREATE FUNCTION abs(tint) + RETURNS tint + AS 'MODULE_PATHNAME', 'Tnumber_abs' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION abs(tfloat) + RETURNS tfloat + AS 'MODULE_PATHNAME', 'Tnumber_abs' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION deltaValue(tint) + RETURNS tint + AS 'MODULE_PATHNAME', 'Tnumber_delta_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION deltaValue(tfloat) + RETURNS tfloat + AS 'MODULE_PATHNAME', 'Tnumber_delta_value' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION floor(tfloat) + RETURNS tfloat + AS 'MODULE_PATHNAME', 'Tfloat_floor' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION ceil(tfloat) + RETURNS tfloat + AS 'MODULE_PATHNAME', 'Tfloat_ceil' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION round(tfloat, integer DEFAULT 0) + RETURNS tfloat + AS 'MODULE_PATHNAME', 'Temporal_round' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION round(tfloat[], integer DEFAULT 0) + RETURNS tfloat[] + AS 'MODULE_PATHNAME', 'Temporalarr_round' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION degrees(float, bool DEFAULT FALSE) + RETURNS float + AS 'MODULE_PATHNAME', 'Float_degrees' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION degrees(tfloat, bool DEFAULT FALSE) + RETURNS tfloat + AS 'MODULE_PATHNAME', 'Tfloat_degrees' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION radians(tfloat) + RETURNS tfloat + AS 'MODULE_PATHNAME', 'Tfloat_radians' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION angularDifference(float, float) + RETURNS float + AS 'MODULE_PATHNAME', 'Float_angular_difference' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION trend(tint) + RETURNS tint + AS 'MODULE_PATHNAME', 'Tnumber_trend' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION trend(tfloat) + RETURNS tint + AS 'MODULE_PATHNAME', 'Tnumber_trend' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION derivative(tfloat) + RETURNS tfloat + AS 'MODULE_PATHNAME', 'Temporal_derivative' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION exp(tfloat) + RETURNS tfloat + AS 'MODULE_PATHNAME', 'Tfloat_exp' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION ln(tfloat) + RETURNS tfloat + AS 'MODULE_PATHNAME', 'Tfloat_ln' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION log10(tfloat) + RETURNS tfloat + AS 'MODULE_PATHNAME', 'Tfloat_log10' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/******************************************************************************/ diff --git a/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/temporal/028_tbool_boolops.in.sql b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/temporal/028_tbool_boolops.in.sql new file mode 100644 index 00000000..50cba9ba --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/temporal/028_tbool_boolops.in.sql @@ -0,0 +1,124 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @file + * @brief Temporal Boolean function and operators + */ + +/***************************************************************************** + * Temporal and + *****************************************************************************/ + +CREATE FUNCTION tbool_and(boolean, tbool) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Tand_bool_tbool' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tbool_and(tbool, boolean) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Tand_tbool_bool' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tbool_and(tbool, tbool) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Tand_tbool_tbool' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR & ( + PROCEDURE = tbool_and, + LEFTARG = boolean, RIGHTARG = tbool, + COMMUTATOR = & +); +CREATE OPERATOR & ( + PROCEDURE = tbool_and, + LEFTARG = tbool, RIGHTARG = boolean, + COMMUTATOR = & +); +CREATE OPERATOR & ( + PROCEDURE = tbool_and, + LEFTARG = tbool, RIGHTARG = tbool, + COMMUTATOR = & +); + +/***************************************************************************** + * Temporal or + *****************************************************************************/ + +CREATE FUNCTION tbool_or(boolean, tbool) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Tor_bool_tbool' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tbool_or(tbool, boolean) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Tor_tbool_bool' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tbool_or(tbool, tbool) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Tor_tbool_tbool' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR | ( + PROCEDURE = tbool_or, + LEFTARG = boolean, RIGHTARG = tbool, + COMMUTATOR = | +); +CREATE OPERATOR | ( + PROCEDURE = tbool_or, + LEFTARG = tbool, RIGHTARG = boolean, + COMMUTATOR = | +); +CREATE OPERATOR | ( + PROCEDURE = tbool_or, + LEFTARG = tbool, RIGHTARG = tbool, + COMMUTATOR = | +); + +/***************************************************************************** + * Temporal not + *****************************************************************************/ + +CREATE FUNCTION tbool_not(tbool) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Tnot_tbool' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR ~ ( + PROCEDURE = tbool_not, RIGHTARG = tbool +); + +/***************************************************************************** + * Temporal when + *****************************************************************************/ + +-- when is a reserved word in SQL +CREATE FUNCTION whenTrue(tbool) + RETURNS tstzspanset + AS 'MODULE_PATHNAME', 'Tbool_when_true' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/*****************************************************************************/ diff --git a/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/temporal/029_ttext_textfuncs.in.sql b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/temporal/029_ttext_textfuncs.in.sql new file mode 100644 index 00000000..22642697 --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/temporal/029_ttext_textfuncs.in.sql @@ -0,0 +1,84 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @file + * @brief Temporal text functions + */ + +/***************************************************************************** + * Temporal text concatenation + *****************************************************************************/ + +CREATE FUNCTION ttext_cat(text, ttext) + RETURNS ttext + AS 'MODULE_PATHNAME', 'Textcat_text_ttext' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION ttext_cat(ttext, text) + RETURNS ttext + AS 'MODULE_PATHNAME', 'Textcat_ttext_text' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION ttext_cat(ttext, ttext) + RETURNS ttext + AS 'MODULE_PATHNAME', 'Textcat_ttext_ttext' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR || ( + PROCEDURE = ttext_cat, + LEFTARG = text, RIGHTARG = ttext +); +CREATE OPERATOR || ( + PROCEDURE = ttext_cat, + LEFTARG = ttext, RIGHTARG = text +); +CREATE OPERATOR || ( + PROCEDURE = ttext_cat, + LEFTARG = ttext, RIGHTARG = ttext +); + +/****************************************************************************** + * Temporal upper/lower case + *****************************************************************************/ + +CREATE FUNCTION upper(ttext) + RETURNS ttext + AS 'MODULE_PATHNAME', 'Ttext_upper' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION lower(ttext) + RETURNS ttext + AS 'MODULE_PATHNAME', 'Ttext_lower' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION initcap(ttext) + RETURNS ttext + AS 'MODULE_PATHNAME', 'Ttext_initcap' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/******************************************************************************/ diff --git a/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/temporal/030_temporal_compops.in.sql b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/temporal/030_temporal_compops.in.sql new file mode 100644 index 00000000..d16ec001 --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/temporal/030_temporal_compops.in.sql @@ -0,0 +1,2026 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @file + * @brief Comparison functions and operators for temporal types + * @note In this file we need both definitions of the functions with 2 and 3 + * parameters to be able to define the operators. This is not the case for + * the temporal relationships while a single definition of the functions with + * 3 parameters is enough + */ + +/***************************************************************************** + * Index Support Functions + *****************************************************************************/ + +CREATE FUNCTION tnumber_supportfn(internal) + RETURNS internal + AS 'MODULE_PATHNAME', 'Tnumber_supportfn' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/***************************************************************************** + * Ever/Always Comparison Functions + *****************************************************************************/ + +CREATE FUNCTION ever_eq(boolean, tbool) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Ever_eq_base_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION ever_eq(integer, tint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Ever_eq_base_temporal' + SUPPORT tnumber_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION ever_eq(float, tfloat) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Ever_eq_base_temporal' + SUPPORT tnumber_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION ever_eq(text, ttext) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Ever_eq_base_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR ?= ( + LEFTARG = boolean, RIGHTARG = tbool, + PROCEDURE = ever_eq, + NEGATOR = %<>, + RESTRICT = scalarltsel, JOIN = scalarltjoinsel +); +CREATE OPERATOR ?= ( + LEFTARG = integer, RIGHTARG = tint, + PROCEDURE = ever_eq, + NEGATOR = %<>, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR ?= ( + LEFTARG = float, RIGHTARG = tfloat, + PROCEDURE = ever_eq, + NEGATOR = %<>, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR ?= ( + LEFTARG = text, RIGHTARG = ttext, + PROCEDURE = ever_eq, + NEGATOR = %<>, + RESTRICT = scalarltsel, JOIN = scalarltjoinsel +); + +CREATE FUNCTION ever_eq(tbool, boolean) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Ever_eq_temporal_base' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION ever_eq(tint, integer) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Ever_eq_temporal_base' + SUPPORT tnumber_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION ever_eq(tfloat, float) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Ever_eq_temporal_base' + SUPPORT tnumber_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION ever_eq(ttext, text) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Ever_eq_temporal_base' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR ?= ( + LEFTARG = tbool, RIGHTARG = boolean, + PROCEDURE = ever_eq, + NEGATOR = %<>, + RESTRICT = scalarltsel, JOIN = scalarltjoinsel +); +CREATE OPERATOR ?= ( + LEFTARG = tint, RIGHTARG = integer, + PROCEDURE = ever_eq, + NEGATOR = %<>, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR ?= ( + LEFTARG = tfloat, RIGHTARG = float, + PROCEDURE = ever_eq, + NEGATOR = %<>, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR ?= ( + LEFTARG = ttext, RIGHTARG = text, + PROCEDURE = ever_eq, + NEGATOR = %<>, + RESTRICT = scalarltsel, JOIN = scalarltjoinsel +); + +CREATE FUNCTION ever_ne(boolean, tbool) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Ever_ne_base_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION ever_ne(integer, tint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Ever_ne_base_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION ever_ne(float, tfloat) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Ever_ne_base_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION ever_ne(text, ttext) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Ever_ne_base_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR ?<> ( + LEFTARG = boolean, RIGHTARG = tbool, + PROCEDURE = ever_ne, + NEGATOR = %=, + RESTRICT = scalarltsel, JOIN = scalarltjoinsel +); +CREATE OPERATOR ?<> ( + LEFTARG = integer, RIGHTARG = tint, + PROCEDURE = ever_ne, + NEGATOR = %=, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR ?<> ( + LEFTARG = float, RIGHTARG = tfloat, + PROCEDURE = ever_ne, + NEGATOR = %=, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR ?<> ( + LEFTARG = text, RIGHTARG = ttext, + PROCEDURE = ever_ne, + NEGATOR = %=, + RESTRICT = scalarltsel, JOIN = scalarltjoinsel +); + +CREATE FUNCTION ever_ne(tbool, boolean) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Ever_ne_temporal_base' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION ever_ne(tint, integer) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Ever_ne_temporal_base' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION ever_ne(tfloat, float) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Ever_ne_temporal_base' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION ever_ne(ttext, text) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Ever_ne_temporal_base' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR ?<> ( + LEFTARG = tbool, RIGHTARG = boolean, + PROCEDURE = ever_ne, + NEGATOR = %=, + RESTRICT = scalarltsel, JOIN = scalarltjoinsel +); +CREATE OPERATOR ?<> ( + LEFTARG = tint, RIGHTARG = integer, + PROCEDURE = ever_ne, + NEGATOR = %=, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR ?<> ( + LEFTARG = tfloat, RIGHTARG = float, + PROCEDURE = ever_ne, + NEGATOR = %=, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR ?<> ( + LEFTARG = ttext, RIGHTARG = text, + PROCEDURE = ever_ne, + NEGATOR = %=, + RESTRICT = scalarltsel, JOIN = scalarltjoinsel +); + +/*****************************************************************************/ + +CREATE FUNCTION always_eq(boolean, tbool) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Always_eq_base_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION always_eq(integer, tint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Always_eq_base_temporal' + SUPPORT tnumber_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION always_eq(float, tfloat) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Always_eq_base_temporal' + SUPPORT tnumber_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION always_eq(text, ttext) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Always_eq_base_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR %= ( + LEFTARG = boolean, RIGHTARG = tbool, + PROCEDURE = always_eq, + NEGATOR = ?<>, + RESTRICT = scalarltsel, JOIN = scalarltjoinsel +); +CREATE OPERATOR %= ( + LEFTARG = integer, RIGHTARG = tint, + PROCEDURE = always_eq, + NEGATOR = ?<>, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR %= ( + LEFTARG = float, RIGHTARG = tfloat, + PROCEDURE = always_eq, + NEGATOR = ?<>, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR %= ( + LEFTARG = text, RIGHTARG = ttext, + PROCEDURE = always_eq, + NEGATOR = ?<>, + RESTRICT = scalarltsel, JOIN = scalarltjoinsel +); + +CREATE FUNCTION always_eq(tbool, boolean) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Always_eq_temporal_base' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION always_eq(tint, integer) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Always_eq_temporal_base' + SUPPORT tnumber_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION always_eq(tfloat, float) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Always_eq_temporal_base' + SUPPORT tnumber_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION always_eq(ttext, text) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Always_eq_temporal_base' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR %= ( + LEFTARG = tbool, RIGHTARG = boolean, + PROCEDURE = always_eq, + NEGATOR = ?<>, + RESTRICT = scalarltsel, JOIN = scalarltjoinsel +); +CREATE OPERATOR %= ( + LEFTARG = tint, RIGHTARG = integer, + PROCEDURE = always_eq, + NEGATOR = ?<>, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR %= ( + LEFTARG = tfloat, RIGHTARG = float, + PROCEDURE = always_eq, + NEGATOR = ?<>, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR %= ( + LEFTARG = ttext, RIGHTARG = text, + PROCEDURE = always_eq, + NEGATOR = ?<>, + RESTRICT = scalarltsel, JOIN = scalarltjoinsel +); + +CREATE FUNCTION always_ne(boolean, tbool) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Always_ne_base_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION always_ne(integer, tint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Always_ne_base_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION always_ne(float, tfloat) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Always_ne_base_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION always_ne(text, ttext) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Always_ne_base_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR %<> ( + LEFTARG = boolean, RIGHTARG = tbool, + PROCEDURE = always_ne, + NEGATOR = ?=, + RESTRICT = scalarltsel, JOIN = scalarltjoinsel +); +CREATE OPERATOR %<> ( + LEFTARG = integer, RIGHTARG = tint, + PROCEDURE = always_ne, + NEGATOR = ?=, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR %<> ( + LEFTARG = float, RIGHTARG = tfloat, + PROCEDURE = always_ne, + NEGATOR = ?=, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR %<> ( + LEFTARG = text, RIGHTARG = ttext, + PROCEDURE = always_ne, + NEGATOR = ?=, + RESTRICT = scalarltsel, JOIN = scalarltjoinsel +); + +CREATE FUNCTION always_ne(tbool, boolean) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Always_ne_temporal_base' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION always_ne(tint, integer) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Always_ne_temporal_base' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION always_ne(tfloat, float) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Always_ne_temporal_base' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION always_ne(ttext, text) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Always_ne_temporal_base' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR %<> ( + LEFTARG = tbool, RIGHTARG = boolean, + PROCEDURE = always_ne, + NEGATOR = ?=, + RESTRICT = scalarltsel, JOIN = scalarltjoinsel +); +CREATE OPERATOR %<> ( + LEFTARG = tint, RIGHTARG = integer, + PROCEDURE = always_ne, + NEGATOR = ?=, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR %<> ( + LEFTARG = tfloat, RIGHTARG = float, + PROCEDURE = always_ne, + NEGATOR = ?=, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR %<> ( + LEFTARG = ttext, RIGHTARG = text, + PROCEDURE = always_ne, + NEGATOR = ?=, + RESTRICT = scalarltsel, JOIN = scalarltjoinsel +); + +/*****************************************************************************/ + +CREATE FUNCTION ever_lt(integer, tint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Ever_lt_base_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION ever_lt(float, tfloat) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Ever_lt_base_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION ever_lt(text, ttext) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Ever_lt_base_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR ?< ( + LEFTARG = integer, RIGHTARG = tint, + PROCEDURE = ever_lt, + NEGATOR = %>=, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR ?< ( + LEFTARG = float, RIGHTARG = tfloat, + PROCEDURE = ever_lt, + NEGATOR = %>=, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR ?< ( + LEFTARG = text, RIGHTARG = ttext, + PROCEDURE = ever_lt, + NEGATOR = %>=, + RESTRICT = scalarltsel, JOIN = scalarltjoinsel +); + +CREATE FUNCTION ever_lt(tint, integer) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Ever_lt_temporal_base' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION ever_lt(tfloat, float) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Ever_lt_temporal_base' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION ever_lt(ttext, text) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Ever_lt_temporal_base' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR ?< ( + LEFTARG = tint, RIGHTARG = integer, + PROCEDURE = ever_lt, + NEGATOR = %>=, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR ?< ( + LEFTARG = tfloat, RIGHTARG = float, + PROCEDURE = ever_lt, + NEGATOR = %>=, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR ?< ( + LEFTARG = ttext, RIGHTARG = text, + PROCEDURE = ever_lt, + NEGATOR = %>=, + RESTRICT = scalarltsel, JOIN = scalarltjoinsel +); + +CREATE FUNCTION ever_le(integer, tint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Ever_le_base_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION ever_le(float, tfloat) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Ever_le_base_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION ever_le(text, ttext) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Ever_le_base_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR ?<= ( + LEFTARG = integer, RIGHTARG = tint, + PROCEDURE = ever_le, + NEGATOR = %>, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR ?<= ( + LEFTARG = float, RIGHTARG = tfloat, + PROCEDURE = ever_le, + NEGATOR = %>, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR ?<= ( + LEFTARG = text, RIGHTARG = ttext, + PROCEDURE = ever_le, + NEGATOR = %>, + RESTRICT = scalarltsel, JOIN = scalarltjoinsel +); + +CREATE FUNCTION ever_le(tint, integer) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Ever_le_temporal_base' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION ever_le(tfloat, float) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Ever_le_temporal_base' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION ever_le(ttext, text) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Ever_le_temporal_base' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR ?<= ( + LEFTARG = tint, RIGHTARG = integer, + PROCEDURE = ever_le, + NEGATOR = %>, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR ?<= ( + LEFTARG = tfloat, RIGHTARG = float, + PROCEDURE = ever_le, + NEGATOR = %>, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR ?<= ( + LEFTARG = ttext, RIGHTARG = text, + PROCEDURE = ever_le, + NEGATOR = %>, + RESTRICT = scalarltsel, JOIN = scalarltjoinsel +); + +CREATE FUNCTION ever_gt(integer, tint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Ever_gt_base_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION ever_gt(float, tfloat) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Ever_gt_base_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION ever_gt(text, ttext) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Ever_gt_base_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR ?> ( + LEFTARG = integer, RIGHTARG = tint, + PROCEDURE = ever_gt, + NEGATOR = %<=, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR ?> ( + LEFTARG = float, RIGHTARG = tfloat, + PROCEDURE = ever_gt, + NEGATOR = %<=, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR ?> ( + LEFTARG = text, RIGHTARG = ttext, + PROCEDURE = ever_gt, + NEGATOR = %<=, + RESTRICT = scalarltsel, JOIN = scalarltjoinsel +); + +CREATE FUNCTION ever_gt(tint, integer) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Ever_gt_temporal_base' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION ever_gt(tfloat, float) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Ever_gt_temporal_base' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION ever_gt(ttext, text) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Ever_gt_temporal_base' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR ?> ( + LEFTARG = tint, RIGHTARG = integer, + PROCEDURE = ever_gt, + NEGATOR = %<=, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR ?> ( + LEFTARG = tfloat, RIGHTARG = float, + PROCEDURE = ever_gt, + NEGATOR = %<=, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR ?> ( + LEFTARG = ttext, RIGHTARG = text, + PROCEDURE = ever_gt, + NEGATOR = %<=, + RESTRICT = scalarltsel, JOIN = scalarltjoinsel +); + +CREATE FUNCTION ever_ge(integer, tint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Ever_ge_base_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION ever_ge(float, tfloat) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Ever_ge_base_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION ever_ge(text, ttext) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Ever_ge_base_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR ?>= ( + LEFTARG = integer, RIGHTARG = tint, + PROCEDURE = ever_ge, + NEGATOR = %<, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR ?>= ( + LEFTARG = float, RIGHTARG = tfloat, + PROCEDURE = ever_ge, + NEGATOR = %<, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR ?>= ( + LEFTARG = text, RIGHTARG = ttext, + PROCEDURE = ever_ge, + NEGATOR = %<, + RESTRICT = scalarltsel, JOIN = scalarltjoinsel +); + +CREATE FUNCTION ever_ge(tint, integer) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Ever_ge_temporal_base' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION ever_ge(tfloat, float) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Ever_ge_temporal_base' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION ever_ge(ttext, text) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Ever_ge_temporal_base' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR ?>= ( + LEFTARG = tint, RIGHTARG = integer, + PROCEDURE = ever_ge, + NEGATOR = %<, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR ?>= ( + LEFTARG = tfloat, RIGHTARG = float, + PROCEDURE = ever_ge, + NEGATOR = %<, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR ?>= ( + LEFTARG = ttext, RIGHTARG = text, + PROCEDURE = ever_ge, + NEGATOR = %<, + RESTRICT = scalarltsel, JOIN = scalarltjoinsel +); + +/*****************************************************************************/ + +CREATE FUNCTION always_lt(integer, tint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Always_lt_base_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION always_lt(float, tfloat) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Always_lt_base_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION always_lt(text, ttext) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Always_lt_base_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR %< ( + LEFTARG = integer, RIGHTARG = tint, + PROCEDURE = always_lt, + NEGATOR = ?>=, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR %< ( + LEFTARG = float, RIGHTARG = tfloat, + PROCEDURE = always_lt, + NEGATOR = ?>=, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR %< ( + LEFTARG = text, RIGHTARG = ttext, + PROCEDURE = always_lt, + NEGATOR = ?>=, + RESTRICT = scalarltsel, JOIN = scalarltjoinsel +); + +CREATE FUNCTION always_lt(tint, integer) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Always_lt_temporal_base' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION always_lt(tfloat, float) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Always_lt_temporal_base' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION always_lt(ttext, text) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Always_lt_temporal_base' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR %< ( + LEFTARG = tint, RIGHTARG = integer, + PROCEDURE = always_lt, + NEGATOR = ?>=, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR %< ( + LEFTARG = tfloat, RIGHTARG = float, + PROCEDURE = always_lt, + NEGATOR = ?>=, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR %< ( + LEFTARG = ttext, RIGHTARG = text, + PROCEDURE = always_lt, + NEGATOR = ?>=, + RESTRICT = scalarltsel, JOIN = scalarltjoinsel +); + +CREATE FUNCTION always_le(integer, tint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Always_le_base_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION always_le(float, tfloat) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Always_le_base_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION always_le(text, ttext) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Always_le_base_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR %<= ( + LEFTARG = integer, RIGHTARG = tint, + PROCEDURE = always_le, + NEGATOR = ?>, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR %<= ( + LEFTARG = float, RIGHTARG = tfloat, + PROCEDURE = always_le, + NEGATOR = ?>, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR %<= ( + LEFTARG = text, RIGHTARG = ttext, + PROCEDURE = always_le, + NEGATOR = ?>, + RESTRICT = scalarltsel, JOIN = scalarltjoinsel +); + +CREATE FUNCTION always_le(tint, integer) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Always_le_temporal_base' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION always_le(tfloat, float) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Always_le_temporal_base' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION always_le(ttext, text) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Always_le_temporal_base' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR %<= ( + LEFTARG = tint, RIGHTARG = integer, + PROCEDURE = always_le, + NEGATOR = ?>, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR %<= ( + LEFTARG = tfloat, RIGHTARG = float, + PROCEDURE = always_le, + NEGATOR = ?>, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR %<= ( + LEFTARG = ttext, RIGHTARG = text, + PROCEDURE = always_le, + NEGATOR = ?>, + RESTRICT = scalarltsel, JOIN = scalarltjoinsel +); + +CREATE FUNCTION always_gt(integer, tint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Always_gt_base_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION always_gt(float, tfloat) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Always_gt_base_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION always_gt(text, ttext) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Always_gt_base_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR %> ( + LEFTARG = integer, RIGHTARG = tint, + PROCEDURE = always_gt, + NEGATOR = ?<=, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR %> ( + LEFTARG = float, RIGHTARG = tfloat, + PROCEDURE = always_gt, + NEGATOR = ?<=, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR %> ( + LEFTARG = text, RIGHTARG = ttext, + PROCEDURE = always_gt, + NEGATOR = ?<=, + RESTRICT = scalarltsel, JOIN = scalarltjoinsel +); + +CREATE FUNCTION always_gt(tint, integer) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Always_gt_temporal_base' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION always_gt(tfloat, float) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Always_gt_temporal_base' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION always_gt(ttext, text) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Always_gt_temporal_base' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR %> ( + LEFTARG = tint, RIGHTARG = integer, + PROCEDURE = always_gt, + NEGATOR = ?<=, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR %> ( + LEFTARG = tfloat, RIGHTARG = float, + PROCEDURE = always_gt, + NEGATOR = ?<=, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR %> ( + LEFTARG = ttext, RIGHTARG = text, + PROCEDURE = always_gt, + NEGATOR = ?<=, + RESTRICT = scalarltsel, JOIN = scalarltjoinsel +); + +CREATE FUNCTION always_ge(integer, tint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Always_ge_base_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION always_ge(float, tfloat) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Always_ge_base_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION always_ge(text, ttext) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Always_ge_base_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR %>= ( + LEFTARG = integer, RIGHTARG = tint, + PROCEDURE = always_ge, + NEGATOR = ?<, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR %>= ( + LEFTARG = float, RIGHTARG = tfloat, + PROCEDURE = always_ge, + NEGATOR = ?<, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR %>= ( + LEFTARG = text, RIGHTARG = ttext, + PROCEDURE = always_ge, + NEGATOR = ?<, + RESTRICT = scalarltsel, JOIN = scalarltjoinsel +); + +CREATE FUNCTION always_ge(tint, integer) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Always_ge_temporal_base' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION always_ge(tfloat, float) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Always_ge_temporal_base' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION always_ge(ttext, text) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Always_ge_temporal_base' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR %>= ( + LEFTARG = tint, RIGHTARG = integer, + PROCEDURE = always_ge, + NEGATOR = ?<, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR %>= ( + LEFTARG = tfloat, RIGHTARG = float, + PROCEDURE = always_ge, + NEGATOR = ?<, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR %>= ( + LEFTARG = ttext, RIGHTARG = text, + PROCEDURE = always_ge, + NEGATOR = ?<, + RESTRICT = scalarltsel, JOIN = scalarltjoinsel +); + +/*****************************************************************************/ + +CREATE FUNCTION ever_eq(tbool, tbool) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Ever_eq_temporal_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION ever_eq(tint, tint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Ever_eq_temporal_temporal' + SUPPORT tnumber_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION ever_eq(tfloat, tfloat) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Ever_eq_temporal_temporal' + SUPPORT tnumber_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION ever_eq(ttext, ttext) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Ever_eq_temporal_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR ?= ( + LEFTARG = tbool, RIGHTARG = tbool, + PROCEDURE = ever_eq, + NEGATOR = %<>, + RESTRICT = scalarltsel, JOIN = scalarltjoinsel +); +CREATE OPERATOR ?= ( + LEFTARG = tint, RIGHTARG = tint, + PROCEDURE = ever_eq, + NEGATOR = %<>, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR ?= ( + LEFTARG = tfloat, RIGHTARG = tfloat, + PROCEDURE = ever_eq, + NEGATOR = %<>, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR ?= ( + LEFTARG = ttext, RIGHTARG = ttext, + PROCEDURE = ever_eq, + NEGATOR = %<>, + RESTRICT = scalarltsel, JOIN = scalarltjoinsel +); + +CREATE FUNCTION always_eq(tbool, tbool) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Always_eq_temporal_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION always_eq(tint, tint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Always_eq_temporal_temporal' + SUPPORT tnumber_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION always_eq(tfloat, tfloat) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Always_eq_temporal_temporal' + SUPPORT tnumber_supportfn + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION always_eq(ttext, ttext) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Always_eq_temporal_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR %= ( + LEFTARG = tbool, RIGHTARG = tbool, + PROCEDURE = always_eq, + NEGATOR = ?<>, + RESTRICT = scalarltsel, JOIN = scalarltjoinsel +); +CREATE OPERATOR %= ( + LEFTARG = tint, RIGHTARG = tint, + PROCEDURE = always_eq, + NEGATOR = ?<>, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR %= ( + LEFTARG = tfloat, RIGHTARG = tfloat, + PROCEDURE = always_eq, + NEGATOR = ?<>, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR %= ( + LEFTARG = ttext, RIGHTARG = ttext, + PROCEDURE = always_eq, + NEGATOR = ?<>, + RESTRICT = scalarltsel, JOIN = scalarltjoinsel +); + +CREATE FUNCTION ever_ne(tbool, tbool) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Ever_ne_temporal_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION ever_ne(tint, tint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Ever_ne_temporal_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION ever_ne(tfloat, tfloat) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Ever_ne_temporal_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION ever_ne(ttext, ttext) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Ever_ne_temporal_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR ?<> ( + LEFTARG = tbool, RIGHTARG = tbool, + PROCEDURE = ever_ne, + NEGATOR = %=, + RESTRICT = scalarltsel, JOIN = scalarltjoinsel +); +CREATE OPERATOR ?<> ( + LEFTARG = tint, RIGHTARG = tint, + PROCEDURE = ever_ne, + NEGATOR = %=, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR ?<> ( + LEFTARG = tfloat, RIGHTARG = tfloat, + PROCEDURE = ever_ne, + NEGATOR = %=, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR ?<> ( + LEFTARG = ttext, RIGHTARG = ttext, + PROCEDURE = ever_ne, + NEGATOR = %=, + RESTRICT = scalarltsel, JOIN = scalarltjoinsel +); + +CREATE FUNCTION always_ne(tbool, tbool) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Always_ne_temporal_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION always_ne(tint, tint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Always_ne_temporal_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION always_ne(tfloat, tfloat) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Always_ne_temporal_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION always_ne(ttext, ttext) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Always_ne_temporal_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR %<> ( + LEFTARG = tbool, RIGHTARG = tbool, + PROCEDURE = always_ne, + NEGATOR = ?=, + RESTRICT = scalarltsel, JOIN = scalarltjoinsel +); +CREATE OPERATOR %<> ( + LEFTARG = tint, RIGHTARG = tint, + PROCEDURE = always_ne, + NEGATOR = ?=, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR %<> ( + LEFTARG = tfloat, RIGHTARG = tfloat, + PROCEDURE = always_ne, + NEGATOR = ?=, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR %<> ( + LEFTARG = ttext, RIGHTARG = ttext, + PROCEDURE = always_ne, + NEGATOR = ?=, + RESTRICT = scalarltsel, JOIN = scalarltjoinsel +); + +/*****************************************************************************/ + +CREATE FUNCTION ever_lt(tint, tint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Ever_lt_temporal_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION ever_lt(tfloat, tfloat) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Ever_lt_temporal_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION ever_lt(ttext, ttext) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Ever_lt_temporal_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR ?< ( + LEFTARG = tint, RIGHTARG = tint, + PROCEDURE = ever_lt, + NEGATOR = %>=, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR ?< ( + LEFTARG = tfloat, RIGHTARG = tfloat, + PROCEDURE = ever_lt, + NEGATOR = %>=, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR ?< ( + LEFTARG = ttext, RIGHTARG = ttext, + PROCEDURE = ever_lt, + NEGATOR = %>=, + RESTRICT = scalarltsel, JOIN = scalarltjoinsel +); + +CREATE FUNCTION ever_le(tint, tint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Ever_le_temporal_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION ever_le(tfloat, tfloat) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Ever_le_temporal_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION ever_le(ttext, ttext) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Ever_le_temporal_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR ?<= ( + LEFTARG = tint, RIGHTARG = tint, + PROCEDURE = ever_le, + NEGATOR = %>, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR ?<= ( + LEFTARG = tfloat, RIGHTARG = tfloat, + PROCEDURE = ever_le, + NEGATOR = %>, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR ?<= ( + LEFTARG = ttext, RIGHTARG = ttext, + PROCEDURE = ever_le, + NEGATOR = %>, + RESTRICT = scalarltsel, JOIN = scalarltjoinsel +); + +CREATE FUNCTION always_lt(tint, tint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Always_lt_temporal_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION always_lt(tfloat, tfloat) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Always_lt_temporal_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION always_lt(ttext, ttext) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Always_lt_temporal_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR %< ( + LEFTARG = tint, RIGHTARG = tint, + PROCEDURE = always_lt, + NEGATOR = ?>=, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR %< ( + LEFTARG = tfloat, RIGHTARG = tfloat, + PROCEDURE = always_lt, + NEGATOR = ?>=, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR %< ( + LEFTARG = ttext, RIGHTARG = ttext, + PROCEDURE = always_lt, + NEGATOR = ?>=, + RESTRICT = scalarltsel, JOIN = scalarltjoinsel +); + +CREATE FUNCTION always_le(tint, tint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Always_le_temporal_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION always_le(tfloat, tfloat) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Always_le_temporal_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION always_le(ttext, ttext) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Always_le_temporal_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR %<= ( + LEFTARG = tint, RIGHTARG = tint, + PROCEDURE = always_le, + NEGATOR = ?>, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR %<= ( + LEFTARG = tfloat, RIGHTARG = tfloat, + PROCEDURE = always_le, + NEGATOR = ?>, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR %<= ( + LEFTARG = ttext, RIGHTARG = ttext, + PROCEDURE = always_le, + NEGATOR = ?>, + RESTRICT = scalarltsel, JOIN = scalarltjoinsel +); + +CREATE FUNCTION ever_gt(tint, tint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Ever_gt_temporal_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION ever_gt(tfloat, tfloat) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Ever_gt_temporal_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION ever_gt(ttext, ttext) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Ever_gt_temporal_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR ?> ( + LEFTARG = tint, RIGHTARG = tint, + PROCEDURE = ever_gt, + NEGATOR = %<=, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR ?> ( + LEFTARG = tfloat, RIGHTARG = tfloat, + PROCEDURE = ever_gt, + NEGATOR = %<=, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR ?> ( + LEFTARG = ttext, RIGHTARG = ttext, + PROCEDURE = ever_gt, + NEGATOR = %<=, + RESTRICT = scalarltsel, JOIN = scalarltjoinsel +); + +CREATE FUNCTION ever_ge(tint, tint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Ever_ge_temporal_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION ever_ge(tfloat, tfloat) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Ever_ge_temporal_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION ever_ge(ttext, ttext) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Ever_ge_temporal_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR ?>= ( + LEFTARG = tint, RIGHTARG = tint, + PROCEDURE = ever_ge, + NEGATOR = %<, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR ?>= ( + LEFTARG = tfloat, RIGHTARG = tfloat, + PROCEDURE = ever_ge, + NEGATOR = %<, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR ?>= ( + LEFTARG = ttext, RIGHTARG = ttext, + PROCEDURE = ever_ge, + NEGATOR = %<, + RESTRICT = scalarltsel, JOIN = scalarltjoinsel +); + +CREATE FUNCTION always_gt(tint, tint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Always_gt_temporal_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION always_gt(tfloat, tfloat) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Always_gt_temporal_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION always_gt(ttext, ttext) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Always_gt_temporal_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR %> ( + LEFTARG = tint, RIGHTARG = tint, + PROCEDURE = always_gt, + NEGATOR = ?<=, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR %> ( + LEFTARG = tfloat, RIGHTARG = tfloat, + PROCEDURE = always_gt, + NEGATOR = ?<=, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR %> ( + LEFTARG = ttext, RIGHTARG = ttext, + PROCEDURE = always_gt, + NEGATOR = ?<=, + RESTRICT = scalarltsel, JOIN = scalarltjoinsel +); + +CREATE FUNCTION always_ge(tint, tint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Always_ge_temporal_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION always_ge(tfloat, tfloat) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Always_ge_temporal_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION always_ge(ttext, ttext) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Always_ge_temporal_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR %>= ( + LEFTARG = tint, RIGHTARG = tint, + PROCEDURE = always_ge, + NEGATOR = ?<, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR %>= ( + LEFTARG = tfloat, RIGHTARG = tfloat, + PROCEDURE = always_ge, + NEGATOR = ?<, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR %>= ( + LEFTARG = ttext, RIGHTARG = ttext, + PROCEDURE = always_ge, + NEGATOR = ?<, + RESTRICT = scalarltsel, JOIN = scalarltjoinsel +); + +/***************************************************************************** + * Temporal eq + *****************************************************************************/ + +-- Temporal boolean + +CREATE FUNCTION temporal_teq(boolean, tbool) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Teq_base_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_teq(tbool, boolean) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Teq_temporal_base' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_teq(tbool, tbool) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Teq_temporal_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR #= ( + PROCEDURE = temporal_teq, + LEFTARG = boolean, RIGHTARG = tbool, + COMMUTATOR = #= +); +CREATE OPERATOR #= ( + PROCEDURE = temporal_teq, + LEFTARG = tbool, RIGHTARG = boolean, + COMMUTATOR = #= +); +CREATE OPERATOR #= ( + PROCEDURE = temporal_teq, + LEFTARG = tbool, RIGHTARG = tbool, + COMMUTATOR = #= +); + +/*****************************************************************************/ + +-- Temporal integer + +CREATE FUNCTION temporal_teq(integer, tint) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Teq_base_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_teq(tint, integer) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Teq_temporal_base' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_teq(tint, tint) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Teq_temporal_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR #= ( + PROCEDURE = temporal_teq, + LEFTARG = integer, RIGHTARG = tint, + COMMUTATOR = #= +); +CREATE OPERATOR #= ( + PROCEDURE = temporal_teq, + LEFTARG = tint, RIGHTARG = integer, + COMMUTATOR = #= +); +CREATE OPERATOR #= ( + PROCEDURE = temporal_teq, + LEFTARG = tint, RIGHTARG = tint, + COMMUTATOR = #= +); + +/*****************************************************************************/ + +-- float #= + +CREATE FUNCTION temporal_teq(float, tfloat) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Teq_base_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_teq(tfloat, float) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Teq_temporal_base' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_teq(tfloat, tfloat) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Teq_temporal_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR #= ( + PROCEDURE = temporal_teq, + LEFTARG = float, RIGHTARG = tfloat, + COMMUTATOR = #= +); +CREATE OPERATOR #= ( + PROCEDURE = temporal_teq, + LEFTARG = tfloat, RIGHTARG = float, + COMMUTATOR = #= +); +CREATE OPERATOR #= ( + PROCEDURE = temporal_teq, + LEFTARG = tfloat, RIGHTARG = tfloat, + COMMUTATOR = #= +); + +/*****************************************************************************/ + +-- Temporal text + +CREATE FUNCTION temporal_teq(text, ttext) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Teq_base_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_teq(ttext, text) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Teq_temporal_base' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_teq(ttext, ttext) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Teq_temporal_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR #= ( + PROCEDURE = temporal_teq, + LEFTARG = text, RIGHTARG = ttext, + COMMUTATOR = #= +); +CREATE OPERATOR #= ( + PROCEDURE = temporal_teq, + LEFTARG = ttext, RIGHTARG = text, + COMMUTATOR = #= +); +CREATE OPERATOR #= ( + PROCEDURE = temporal_teq, + LEFTARG = ttext, RIGHTARG = ttext, + COMMUTATOR = #= +); + +/***************************************************************************** + * Temporal ne + *****************************************************************************/ + +-- Temporal boolean + +CREATE FUNCTION temporal_tne(boolean, tbool) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Tne_base_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_tne(tbool, boolean) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Tne_temporal_base' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_tne(tbool, tbool) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Tne_temporal_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR #<> ( + PROCEDURE = temporal_tne, + LEFTARG = boolean, RIGHTARG = tbool, + COMMUTATOR = #<> +); +CREATE OPERATOR #<> ( + PROCEDURE = temporal_tne, + LEFTARG = tbool, RIGHTARG = boolean, + COMMUTATOR = #<> +); +CREATE OPERATOR #<> ( + PROCEDURE = temporal_tne, + LEFTARG = tbool, RIGHTARG = tbool, + COMMUTATOR = #<> +); + +/*****************************************************************************/ + +-- Temporal integer + +CREATE FUNCTION temporal_tne(integer, tint) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Tne_base_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_tne(tint, integer) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Tne_temporal_base' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_tne(tint, tint) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Tne_temporal_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR #<> ( + PROCEDURE = temporal_tne, + LEFTARG = integer, RIGHTARG = tint, + COMMUTATOR = #<> +); +CREATE OPERATOR #<> ( + PROCEDURE = temporal_tne, + LEFTARG = tint, RIGHTARG = integer, + COMMUTATOR = #<> +); +CREATE OPERATOR #<> ( + PROCEDURE = temporal_tne, + LEFTARG = tint, RIGHTARG = tint, + COMMUTATOR = #<> +); + +/*****************************************************************************/ + +-- Temporal float + +CREATE FUNCTION temporal_tne(float, tfloat) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Tne_base_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_tne(tfloat, float) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Tne_temporal_base' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_tne(tfloat, tfloat) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Tne_temporal_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR #<> ( + PROCEDURE = temporal_tne, + LEFTARG = float, RIGHTARG = tfloat, + COMMUTATOR = #<> +); +CREATE OPERATOR #<> ( + PROCEDURE = temporal_tne, + LEFTARG = tfloat, RIGHTARG = float, + COMMUTATOR = #<> +); +CREATE OPERATOR #<> ( + PROCEDURE = temporal_tne, + LEFTARG = tfloat, RIGHTARG = tfloat, + COMMUTATOR = #<> +); + +/*****************************************************************************/ + +-- Temporal text + +CREATE FUNCTION temporal_tne(text, ttext) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Tne_base_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_tne(ttext, text) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Tne_temporal_base' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_tne(ttext, ttext) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Tne_temporal_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR #<> ( + PROCEDURE = temporal_tne, + LEFTARG = text, RIGHTARG = ttext, + COMMUTATOR = #<> +); +CREATE OPERATOR #<> ( + PROCEDURE = temporal_tne, + LEFTARG = ttext, RIGHTARG = text, + COMMUTATOR = #<> +); +CREATE OPERATOR #<> ( + PROCEDURE = temporal_tne, + LEFTARG = ttext, RIGHTARG = ttext, + COMMUTATOR = #<> +); + +/***************************************************************************** + * Temporal lt + *****************************************************************************/ + +-- Temporal integer + +CREATE FUNCTION temporal_tlt(integer, tint) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Tlt_base_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_tlt(tint, integer) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Tlt_temporal_base' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_tlt(tint, tint) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Tlt_temporal_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR #< ( + PROCEDURE = temporal_tlt, + LEFTARG = integer, RIGHTARG = tint, + COMMUTATOR = #> +); +CREATE OPERATOR #< ( + PROCEDURE = temporal_tlt, + LEFTARG = tint, RIGHTARG = integer, + COMMUTATOR = #> +); +CREATE OPERATOR #< ( + PROCEDURE = temporal_tlt, + LEFTARG = tint, RIGHTARG = tint, + COMMUTATOR = #> +); + +/*****************************************************************************/ + +-- Temporal float + +CREATE FUNCTION temporal_tlt(float, tfloat) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Tlt_base_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_tlt(tfloat, float) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Tlt_temporal_base' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_tlt(tfloat, tfloat) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Tlt_temporal_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR #< ( + PROCEDURE = temporal_tlt, + LEFTARG = float, RIGHTARG = tfloat, + COMMUTATOR = #> +); +CREATE OPERATOR #< ( + PROCEDURE = temporal_tlt, + LEFTARG = tfloat, RIGHTARG = float, + COMMUTATOR = #> +); +CREATE OPERATOR #< ( + PROCEDURE = temporal_tlt, + LEFTARG = tfloat, RIGHTARG = tfloat, + COMMUTATOR = #> +); + +/*****************************************************************************/ + +-- Temporal text + +CREATE FUNCTION temporal_tlt(text, ttext) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Tlt_base_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_tlt(ttext, text) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Tlt_temporal_base' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_tlt(ttext, ttext) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Tlt_temporal_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR #< ( + PROCEDURE = temporal_tlt, + LEFTARG = text, RIGHTARG = ttext, + COMMUTATOR = #> +); +CREATE OPERATOR #< ( + PROCEDURE = temporal_tlt, + LEFTARG = ttext, RIGHTARG = text, + COMMUTATOR = #> +); +CREATE OPERATOR #< ( + PROCEDURE = temporal_tlt, + LEFTARG = ttext, RIGHTARG = ttext, + COMMUTATOR = #> +); + +/***************************************************************************** + * Temporal gt + *****************************************************************************/ + +-- Temporal integer + +CREATE FUNCTION temporal_tgt(integer, tint) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Tgt_base_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_tgt(tint, integer) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Tgt_temporal_base' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_tgt(tint, tint) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Tgt_temporal_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR #> ( + PROCEDURE = temporal_tgt, + LEFTARG = integer, RIGHTARG = tint, + COMMUTATOR = #< +); +CREATE OPERATOR #> ( + PROCEDURE = temporal_tgt, + LEFTARG = tint, RIGHTARG = integer, + COMMUTATOR = #< +); +CREATE OPERATOR #> ( + PROCEDURE = temporal_tgt, + LEFTARG = tint, RIGHTARG = tint, + COMMUTATOR = #< +); + +/*****************************************************************************/ + +-- Temporal float + +CREATE FUNCTION temporal_tgt(float, tfloat) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Tgt_base_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_tgt(tfloat, integer) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Tgt_temporal_base' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_tgt(tfloat, float) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Tgt_temporal_base' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_tgt(tfloat, tfloat) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Tgt_temporal_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR #> ( + PROCEDURE = temporal_tgt, + LEFTARG = float, RIGHTARG = tfloat, + COMMUTATOR = #< +); +CREATE OPERATOR #> ( + PROCEDURE = temporal_tgt, + LEFTARG = tfloat, RIGHTARG = float, + COMMUTATOR = #< +); +CREATE OPERATOR #> ( + PROCEDURE = temporal_tgt, + LEFTARG = tfloat, RIGHTARG = tfloat, + COMMUTATOR = #< +); + +/*****************************************************************************/ + +-- Temporal text + +CREATE FUNCTION temporal_tgt(text, ttext) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Tgt_base_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_tgt(ttext, text) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Tgt_temporal_base' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_tgt(ttext, ttext) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Tgt_temporal_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR #> ( + PROCEDURE = temporal_tgt, + LEFTARG = text, RIGHTARG = ttext, + COMMUTATOR = #< +); +CREATE OPERATOR #> ( + PROCEDURE = temporal_tgt, + LEFTARG = ttext, RIGHTARG = text, + COMMUTATOR = #< +); +CREATE OPERATOR #> ( + PROCEDURE = temporal_tgt, + LEFTARG = ttext, RIGHTARG = ttext, + COMMUTATOR = #< +); + +/***************************************************************************** + * Temporal le + *****************************************************************************/ + +-- Temporal integer + +CREATE FUNCTION temporal_tle(integer, tint) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Tle_base_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_tle(tint, integer) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Tle_temporal_base' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_tle(tint, tint) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Tle_temporal_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR #<= ( + PROCEDURE = temporal_tle, + LEFTARG = integer, RIGHTARG = tint, + COMMUTATOR = #>= +); +CREATE OPERATOR #<= ( + PROCEDURE = temporal_tle, + LEFTARG = tint, RIGHTARG = integer, + COMMUTATOR = #>= +); +CREATE OPERATOR #<= ( + PROCEDURE = temporal_tle, + LEFTARG = tint, RIGHTARG = tint, + COMMUTATOR = #>= +); + +/*****************************************************************************/ + +-- Temporal float + +CREATE FUNCTION temporal_tle(float, tfloat) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Tle_base_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_tle(tfloat, float) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Tle_temporal_base' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_tle(tfloat, tfloat) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Tle_temporal_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR #<= ( + PROCEDURE = temporal_tle, + LEFTARG = float, RIGHTARG = tfloat, + COMMUTATOR = #>= +); +CREATE OPERATOR #<= ( + PROCEDURE = temporal_tle, + LEFTARG = tfloat, RIGHTARG = float, + COMMUTATOR = #>= +); +CREATE OPERATOR #<= ( + PROCEDURE = temporal_tle, + LEFTARG = tfloat, RIGHTARG = tfloat, + COMMUTATOR = #>= +); + +/*****************************************************************************/ + +-- Temporal text + +CREATE FUNCTION temporal_tle(text, ttext) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Tle_base_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_tle(ttext, text) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Tle_temporal_base' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_tle(ttext, ttext) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Tle_temporal_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR #<= ( + PROCEDURE = temporal_tle, + LEFTARG = text, RIGHTARG = ttext, + COMMUTATOR = #>= +); +CREATE OPERATOR #<= ( + PROCEDURE = temporal_tle, + LEFTARG = ttext, RIGHTARG = text, + COMMUTATOR = #>= +); +CREATE OPERATOR #<= ( + PROCEDURE = temporal_tle, + LEFTARG = ttext, RIGHTARG = ttext, + COMMUTATOR = #>= +); + +/***************************************************************************** + * Temporal ge + *****************************************************************************/ + +-- Temporal integer + +CREATE FUNCTION temporal_tge(integer, tint) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Tge_base_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_tge(tint, integer) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Tge_temporal_base' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_tge(tint, tint) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Tge_temporal_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR #>= ( + PROCEDURE = temporal_tge, + LEFTARG = integer, RIGHTARG = tint, + COMMUTATOR = #<= +); +CREATE OPERATOR #>= ( + PROCEDURE = temporal_tge, + LEFTARG = tint, RIGHTARG = integer, + COMMUTATOR = #<= +); +CREATE OPERATOR #>= ( + PROCEDURE = temporal_tge, + LEFTARG = tint, RIGHTARG = tint, + COMMUTATOR = #<= +); + +/*****************************************************************************/ + +-- Temporal float + +CREATE FUNCTION temporal_tge(float, tfloat) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Tge_base_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_tge(tfloat, integer) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Tge_temporal_base' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_tge(tfloat, float) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Tge_temporal_base' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_tge(tfloat, tfloat) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Tge_temporal_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR #>= ( + PROCEDURE = temporal_tge, + LEFTARG = float, RIGHTARG = tfloat, + COMMUTATOR = #<= +); +CREATE OPERATOR #>= ( + PROCEDURE = temporal_tge, + LEFTARG = tfloat, RIGHTARG = float, + COMMUTATOR = #<= +); +CREATE OPERATOR #>= ( + PROCEDURE = temporal_tge, + LEFTARG = tfloat, RIGHTARG = tfloat, + COMMUTATOR = #<= +); + +/*****************************************************************************/ + +-- Temporal text + +CREATE FUNCTION temporal_tge(text, ttext) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Tge_base_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_tge(ttext, text) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Tge_temporal_base' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_tge(ttext, ttext) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Tge_temporal_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR #>= ( + PROCEDURE = temporal_tge, + LEFTARG = text, RIGHTARG = ttext, + COMMUTATOR = #<= +); +CREATE OPERATOR #>= ( + PROCEDURE = temporal_tge, + LEFTARG = ttext, RIGHTARG = text, + COMMUTATOR = #<= +); +CREATE OPERATOR #>= ( + PROCEDURE = temporal_tge, + LEFTARG = ttext, RIGHTARG = ttext, + COMMUTATOR = #<= +); + +/*****************************************************************************/ diff --git a/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/temporal/032_temporal_boxops.in.sql b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/temporal/032_temporal_boxops.in.sql new file mode 100644 index 00000000..adcc7f93 --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/temporal/032_temporal_boxops.in.sql @@ -0,0 +1,1246 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @file + * @brief Bounding tbox operators for temporal types + */ + +/***************************************************************************** + * Boxes functions + *****************************************************************************/ + +CREATE FUNCTION spans(tbool) + RETURNS tstzspan[] + AS 'MODULE_PATHNAME', 'Temporal_spans' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION spans(tint) + RETURNS tstzspan[] + AS 'MODULE_PATHNAME', 'Temporal_spans' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION spans(tfloat) + RETURNS tstzspan[] + AS 'MODULE_PATHNAME', 'Temporal_spans' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION spans(ttext) + RETURNS tstzspan[] + AS 'MODULE_PATHNAME', 'Temporal_spans' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION tboxes(tint) + RETURNS tbox[] + AS 'MODULE_PATHNAME', 'Tnumber_tboxes' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tboxes(tfloat) + RETURNS tbox[] + AS 'MODULE_PATHNAME', 'Tnumber_tboxes' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION splitNSpans(tbool, integer) + RETURNS tstzspan[] + AS 'MODULE_PATHNAME', 'Temporal_split_n_spans' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION splitNSpans(tint, integer) + RETURNS tstzspan[] + AS 'MODULE_PATHNAME', 'Temporal_split_n_spans' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION splitNSpans(tfloat, integer) + RETURNS tstzspan[] + AS 'MODULE_PATHNAME', 'Temporal_split_n_spans' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION splitNSpans(ttext, integer) + RETURNS tstzspan[] + AS 'MODULE_PATHNAME', 'Temporal_split_n_spans' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION splitEachNSpans(tbool, integer) + RETURNS tstzspan[] + AS 'MODULE_PATHNAME', 'Temporal_split_each_n_spans' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION splitEachNSpans(tint, integer) + RETURNS tstzspan[] + AS 'MODULE_PATHNAME', 'Temporal_split_each_n_spans' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION splitEachNSpans(tfloat, integer) + RETURNS tstzspan[] + AS 'MODULE_PATHNAME', 'Temporal_split_each_n_spans' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION splitEachNSpans(ttext, integer) + RETURNS tstzspan[] + AS 'MODULE_PATHNAME', 'Temporal_split_each_n_spans' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION splitNTboxes(tint, integer) + RETURNS tbox[] + AS 'MODULE_PATHNAME', 'Tnumber_split_n_tboxes' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION splitNTboxes(tfloat, integer) + RETURNS tbox[] + AS 'MODULE_PATHNAME', 'Tnumber_split_n_tboxes' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION splitEachNTboxes(tint, integer) + RETURNS tbox[] + AS 'MODULE_PATHNAME', 'Tnumber_split_each_n_tboxes' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION splitEachNTboxes(tfloat, integer) + RETURNS tbox[] + AS 'MODULE_PATHNAME', 'Tnumber_split_each_n_tboxes' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/***************************************************************************** + * Temporal boolean + *****************************************************************************/ + +CREATE FUNCTION temporal_overlaps(tstzspan, tbool) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overlaps_tstzspan_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overlaps(tbool, tstzspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overlaps_temporal_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overlaps(tbool, tbool) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overlaps_temporal_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR && ( + PROCEDURE = temporal_overlaps, + LEFTARG = tstzspan, RIGHTARG = tbool, + COMMUTATOR = &&, + RESTRICT = temporal_sel, JOIN = temporal_joinsel +); +CREATE OPERATOR && ( + PROCEDURE = temporal_overlaps, + LEFTARG = tbool, RIGHTARG = tstzspan, + COMMUTATOR = &&, + RESTRICT = temporal_sel, JOIN = temporal_joinsel +); +CREATE OPERATOR && ( + PROCEDURE = temporal_overlaps, + LEFTARG = tbool, RIGHTARG = tbool, + COMMUTATOR = &&, + RESTRICT = temporal_sel, JOIN = temporal_joinsel +); + +/*****************************************************************************/ + +CREATE FUNCTION temporal_contains(tstzspan, tbool) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contains_tstzspan_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_contains(tbool, tstzspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contains_temporal_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_contains(tbool, tbool) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contains_temporal_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR @> ( + PROCEDURE = temporal_contains, + LEFTARG = tstzspan, RIGHTARG = tbool, + COMMUTATOR = <@, + RESTRICT = temporal_sel, JOIN = temporal_joinsel +); +CREATE OPERATOR @> ( + PROCEDURE = temporal_contains, + LEFTARG = tbool, RIGHTARG = tstzspan, + COMMUTATOR = <@, + RESTRICT = temporal_sel, JOIN = temporal_joinsel +); +CREATE OPERATOR @> ( + PROCEDURE = temporal_contains, + LEFTARG = tbool, RIGHTARG = tbool, + COMMUTATOR = <@, + RESTRICT = temporal_sel, JOIN = temporal_joinsel +); + +/*****************************************************************************/ + +CREATE FUNCTION temporal_contained(tstzspan, tbool) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contained_tstzspan_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_contained(tbool, tstzspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contained_temporal_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_contained(tbool, tbool) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contained_temporal_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR <@ ( + PROCEDURE = temporal_contained, + LEFTARG = tstzspan, RIGHTARG = tbool, + COMMUTATOR = @>, + RESTRICT = temporal_sel, JOIN = temporal_joinsel +); +CREATE OPERATOR <@ ( + PROCEDURE = temporal_contained, + LEFTARG = tbool, RIGHTARG = tstzspan, + COMMUTATOR = @>, + RESTRICT = temporal_sel, JOIN = temporal_joinsel +); +CREATE OPERATOR <@ ( + PROCEDURE = temporal_contained, + LEFTARG = tbool, RIGHTARG = tbool, + COMMUTATOR = @>, + RESTRICT = temporal_sel, JOIN = temporal_joinsel +); + +/*****************************************************************************/ + +CREATE FUNCTION temporal_same(tstzspan, tbool) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Same_tstzspan_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_same(tbool, tstzspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Same_temporal_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_same(tbool, tbool) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Same_temporal_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR ~= ( + PROCEDURE = temporal_same, + LEFTARG = tstzspan, RIGHTARG = tbool, + COMMUTATOR = ~=, + RESTRICT = temporal_sel, JOIN = temporal_joinsel +); +CREATE OPERATOR ~= ( + PROCEDURE = temporal_same, + LEFTARG = tbool, RIGHTARG = tstzspan, + COMMUTATOR = ~=, + RESTRICT = temporal_sel, JOIN = temporal_joinsel +); +CREATE OPERATOR ~= ( + PROCEDURE = temporal_same, + LEFTARG = tbool, RIGHTARG = tbool, + COMMUTATOR = ~=, + RESTRICT = temporal_sel, JOIN = temporal_joinsel +); + +/*****************************************************************************/ + +CREATE FUNCTION temporal_adjacent(tstzspan, tbool) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Adjacent_tstzspan_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_adjacent(tbool, tstzspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Adjacent_temporal_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_adjacent(tbool, tbool) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Adjacent_temporal_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR -|- ( + PROCEDURE = temporal_adjacent, + LEFTARG = tstzspan, RIGHTARG = tbool, + COMMUTATOR = -|-, + RESTRICT = temporal_sel, JOIN = temporal_joinsel +); +CREATE OPERATOR -|- ( + PROCEDURE = temporal_adjacent, + LEFTARG = tbool, RIGHTARG = tstzspan, + COMMUTATOR = -|-, + RESTRICT = temporal_sel, JOIN = temporal_joinsel +); +CREATE OPERATOR -|- ( + PROCEDURE = temporal_adjacent, + LEFTARG = tbool, RIGHTARG = tbool, + COMMUTATOR = -|-, + RESTRICT = temporal_sel, JOIN = temporal_joinsel +); + +/***************************************************************************** + * Temporal integer + *****************************************************************************/ + +CREATE FUNCTION temporal_overlaps(tstzspan, tint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overlaps_tstzspan_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overlaps(tint, tstzspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overlaps_temporal_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR && ( + PROCEDURE = temporal_overlaps, + LEFTARG = tstzspan, RIGHTARG = tint, + COMMUTATOR = &&, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR && ( + PROCEDURE = temporal_overlaps, + LEFTARG = tint, RIGHTARG = tstzspan, + COMMUTATOR = &&, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); + +/*****************************************************************************/ + +CREATE FUNCTION temporal_overlaps(intspan, tint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overlaps_numspan_tnumber' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overlaps(tint, intspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overlaps_tnumber_numspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overlaps(tbox, tint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overlaps_tbox_tnumber' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overlaps(tint, tbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overlaps_tnumber_tbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overlaps(tint, tint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overlaps_tnumber_tnumber' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR && ( + PROCEDURE = temporal_overlaps, + LEFTARG = intspan, RIGHTARG = tint, + COMMUTATOR = &&, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR && ( + PROCEDURE = temporal_overlaps, + LEFTARG = tint, RIGHTARG = intspan, + COMMUTATOR = &&, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR && ( + PROCEDURE = temporal_overlaps, + LEFTARG = tbox, RIGHTARG = tint, + COMMUTATOR = &&, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR && ( + PROCEDURE = temporal_overlaps, + LEFTARG = tint, RIGHTARG = tbox, + COMMUTATOR = &&, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR && ( + PROCEDURE = temporal_overlaps, + LEFTARG = tint, RIGHTARG = tint, + COMMUTATOR = &&, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); + +/*****************************************************************************/ + +CREATE FUNCTION temporal_contains(tstzspan, tint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contains_tstzspan_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_contains(tint, tstzspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contains_temporal_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR @> ( + PROCEDURE = temporal_contains, + LEFTARG = tstzspan, RIGHTARG = tint, + COMMUTATOR = <@, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR @> ( + PROCEDURE = temporal_contains, + LEFTARG = tint, RIGHTARG = tstzspan, + COMMUTATOR = <@, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); + +/*****************************************************************************/ + +CREATE FUNCTION temporal_contains(intspan, tint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contains_numspan_tnumber' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_contains(tint, intspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contains_tnumber_numspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_contains(tbox, tint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contains_tbox_tnumber' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_contains(tint, tbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contains_tnumber_tbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_contains(tint, tint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contains_tnumber_tnumber' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR @> ( + PROCEDURE = temporal_contains, + LEFTARG = intspan, RIGHTARG = tint, + COMMUTATOR = <@, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR @> ( + PROCEDURE = temporal_contains, + LEFTARG = tint, RIGHTARG = intspan, + COMMUTATOR = <@, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR @> ( + PROCEDURE = temporal_contains, + LEFTARG = tbox, RIGHTARG = tint, + COMMUTATOR = <@, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR @> ( + PROCEDURE = temporal_contains, + LEFTARG = tint, RIGHTARG = tbox, + COMMUTATOR = <@, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR @> ( + PROCEDURE = temporal_contains, + LEFTARG = tint, RIGHTARG = tint, + COMMUTATOR = <@, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); + +/*****************************************************************************/ + +CREATE FUNCTION temporal_contained(tstzspan, tint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contained_tstzspan_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_contained(tint, tstzspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contained_temporal_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR <@ ( + PROCEDURE = temporal_contained, + LEFTARG = tstzspan, RIGHTARG = tint, + COMMUTATOR = @>, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR <@ ( + PROCEDURE = temporal_contained, + LEFTARG = tint, RIGHTARG = tstzspan, + COMMUTATOR = @>, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); + +/*****************************************************************************/ + +CREATE FUNCTION temporal_contained(intspan, tint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contained_numspan_tnumber' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_contained(tint, intspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contained_tnumber_numspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_contained(tbox, tint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contained_tbox_tnumber' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_contained(tint, tbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contained_tnumber_tbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_contained(tint, tint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contained_tnumber_tnumber' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR <@ ( + PROCEDURE = temporal_contained, + LEFTARG = intspan, RIGHTARG = tint, + COMMUTATOR = @>, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR <@ ( + PROCEDURE = temporal_contained, + LEFTARG = tint, RIGHTARG = intspan, + COMMUTATOR = @>, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR <@ ( + PROCEDURE = temporal_contained, + LEFTARG = tbox, RIGHTARG = tint, + COMMUTATOR = @>, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR <@ ( + PROCEDURE = temporal_contained, + LEFTARG = tint, RIGHTARG = tbox, + COMMUTATOR = @>, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR <@ ( + PROCEDURE = temporal_contained, + LEFTARG = tint, RIGHTARG = tint, + COMMUTATOR = @>, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); + +/*****************************************************************************/ + +CREATE FUNCTION temporal_same(tstzspan, tint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Same_tstzspan_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_same(tint, tstzspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Same_temporal_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR ~= ( + PROCEDURE = temporal_same, + LEFTARG = tstzspan, RIGHTARG = tint, + COMMUTATOR = ~=, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR ~= ( + PROCEDURE = temporal_same, + LEFTARG = tint, RIGHTARG = tstzspan, + COMMUTATOR = ~=, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); + +/*****************************************************************************/ + +CREATE FUNCTION temporal_same(intspan, tint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Same_numspan_tnumber' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_same(tint, intspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Same_tnumber_numspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_same(tbox, tint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Same_tbox_tnumber' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_same(tint, tbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Same_tnumber_tbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_same(tint, tint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Same_tnumber_tnumber' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR ~= ( + PROCEDURE = temporal_same, + LEFTARG = intspan, RIGHTARG = tint, + COMMUTATOR = ~=, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR ~= ( + PROCEDURE = temporal_same, + LEFTARG = tint, RIGHTARG = intspan, + COMMUTATOR = ~=, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR ~= ( + PROCEDURE = temporal_same, + LEFTARG = tbox, RIGHTARG = tint, + COMMUTATOR = ~=, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR ~= ( + PROCEDURE = temporal_same, + LEFTARG = tint, RIGHTARG = tbox, + COMMUTATOR = ~=, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR ~= ( + PROCEDURE = temporal_same, + LEFTARG = tint, RIGHTARG = tint, + COMMUTATOR = ~=, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); + +/*****************************************************************************/ + +CREATE FUNCTION temporal_adjacent(tstzspan, tint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Adjacent_tstzspan_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_adjacent(tint, tstzspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Adjacent_temporal_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR -|- ( + PROCEDURE = temporal_adjacent, + LEFTARG = tstzspan, RIGHTARG = tint, + COMMUTATOR = -|-, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR -|- ( + PROCEDURE = temporal_adjacent, + LEFTARG = tint, RIGHTARG = tstzspan, + COMMUTATOR = -|-, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); + +/*****************************************************************************/ + +CREATE FUNCTION temporal_adjacent(intspan, tint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Adjacent_numspan_tnumber' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_adjacent(tint, intspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Adjacent_tnumber_numspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_adjacent(tbox, tint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Adjacent_tbox_tnumber' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_adjacent(tint, tbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Adjacent_tnumber_tbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_adjacent(tint, tint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Adjacent_tnumber_tnumber' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR -|- ( + PROCEDURE = temporal_adjacent, + LEFTARG = intspan, RIGHTARG = tint, + COMMUTATOR = -|-, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR -|- ( + PROCEDURE = temporal_adjacent, + LEFTARG = tint, RIGHTARG = intspan, + COMMUTATOR = -|-, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR -|- ( + PROCEDURE = temporal_adjacent, + LEFTARG = tbox, RIGHTARG = tint, + COMMUTATOR = -|-, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR -|- ( + PROCEDURE = temporal_adjacent, + LEFTARG = tint, RIGHTARG = tbox, + COMMUTATOR = -|-, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR -|- ( + PROCEDURE = temporal_adjacent, + LEFTARG = tint, RIGHTARG = tint, + COMMUTATOR = -|-, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); + +/***************************************************************************** + * Temporal float + *****************************************************************************/ + +CREATE FUNCTION temporal_overlaps(tstzspan, tfloat) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overlaps_tstzspan_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overlaps(tfloat, tstzspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overlaps_temporal_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR && ( + PROCEDURE = temporal_overlaps, + LEFTARG = tstzspan, RIGHTARG = tfloat, + COMMUTATOR = &&, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR && ( + PROCEDURE = temporal_overlaps, + LEFTARG = tfloat, RIGHTARG = tstzspan, + COMMUTATOR = &&, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); + +/*****************************************************************************/ + +CREATE FUNCTION temporal_overlaps(floatspan, tfloat) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overlaps_numspan_tnumber' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overlaps(tfloat, floatspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overlaps_tnumber_numspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION temporal_overlaps(tbox, tfloat) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overlaps_tbox_tnumber' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overlaps(tfloat, tbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overlaps_tnumber_tbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overlaps(tfloat, tfloat) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overlaps_tnumber_tnumber' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR && ( + PROCEDURE = temporal_overlaps, + LEFTARG = floatspan, RIGHTARG = tfloat, + COMMUTATOR = &&, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR && ( + PROCEDURE = temporal_overlaps, + LEFTARG = tfloat, RIGHTARG = floatspan, + COMMUTATOR = &&, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR && ( + PROCEDURE = temporal_overlaps, + LEFTARG = tbox, RIGHTARG = tfloat, + COMMUTATOR = &&, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR && ( + PROCEDURE = temporal_overlaps, + LEFTARG = tfloat, RIGHTARG = tbox, + COMMUTATOR = &&, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR && ( + PROCEDURE = temporal_overlaps, + LEFTARG = tfloat, RIGHTARG = tfloat, + COMMUTATOR = &&, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); + +/*****************************************************************************/ + +CREATE FUNCTION temporal_contains(tstzspan, tfloat) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contains_tstzspan_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_contains(tfloat, tstzspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contains_temporal_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR @> ( + PROCEDURE = temporal_contains, + LEFTARG = tstzspan, RIGHTARG = tfloat, + COMMUTATOR = <@, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR @> ( + PROCEDURE = temporal_contains, + LEFTARG = tfloat, RIGHTARG = tstzspan, + COMMUTATOR = <@, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); + +/*****************************************************************************/ + +CREATE FUNCTION temporal_contains(floatspan, tfloat) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contains_numspan_tnumber' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_contains(tfloat, floatspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contains_tnumber_numspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_contains(tbox, tfloat) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contains_tbox_tnumber' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_contains(tfloat, tbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contains_tnumber_tbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_contains(tfloat, tfloat) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contains_tnumber_tnumber' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR @> ( + PROCEDURE = temporal_contains, + LEFTARG = floatspan, RIGHTARG = tfloat, + COMMUTATOR = <@, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR @> ( + PROCEDURE = temporal_contains, + LEFTARG = tfloat, RIGHTARG = floatspan, + COMMUTATOR = <@, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR @> ( + PROCEDURE = temporal_contains, + LEFTARG = tbox, RIGHTARG = tfloat, + COMMUTATOR = <@, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR @> ( + PROCEDURE = temporal_contains, + LEFTARG = tfloat, RIGHTARG = tbox, + COMMUTATOR = <@, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR @> ( + PROCEDURE = temporal_contains, + LEFTARG = tfloat, RIGHTARG = tfloat, + COMMUTATOR = <@, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); + +/*****************************************************************************/ + +CREATE FUNCTION temporal_contained(tstzspan, tfloat) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contained_tstzspan_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_contained(tfloat, tstzspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contained_temporal_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR <@ ( + PROCEDURE = temporal_contained, + LEFTARG = tstzspan, RIGHTARG = tfloat, + COMMUTATOR = @>, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR <@ ( + PROCEDURE = temporal_contained, + LEFTARG = tfloat, RIGHTARG = tstzspan, + COMMUTATOR = @>, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); + +/*****************************************************************************/ + +CREATE FUNCTION temporal_contained(floatspan, tfloat) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contained_numspan_tnumber' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_contained(tfloat, floatspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contained_tnumber_numspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_contained(tbox, tfloat) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contained_tbox_tnumber' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_contained(tfloat, tbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contained_tnumber_tbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_contained(tfloat, tfloat) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contained_tnumber_tnumber' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR <@ ( + PROCEDURE = temporal_contained, + LEFTARG = floatspan, RIGHTARG = tfloat, + COMMUTATOR = @>, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR <@ ( + PROCEDURE = temporal_contained, + LEFTARG = tfloat, RIGHTARG = floatspan, + COMMUTATOR = @>, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR <@ ( + PROCEDURE = temporal_contained, + LEFTARG = tbox, RIGHTARG = tfloat, + COMMUTATOR = @>, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR <@ ( + PROCEDURE = temporal_contained, + LEFTARG = tfloat, RIGHTARG = tbox, + COMMUTATOR = @>, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR <@ ( + PROCEDURE = temporal_contained, + LEFTARG = tfloat, RIGHTARG = tfloat, + COMMUTATOR = @>, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); + +/*****************************************************************************/ + +CREATE FUNCTION temporal_same(tstzspan, tfloat) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Same_tstzspan_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_same(tfloat, tstzspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Same_temporal_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR ~= ( + PROCEDURE = temporal_same, + LEFTARG = tstzspan, RIGHTARG = tfloat, + COMMUTATOR = ~=, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR ~= ( + PROCEDURE = temporal_same, + LEFTARG = tfloat, RIGHTARG = tstzspan, + COMMUTATOR = ~=, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); + +/*****************************************************************************/ + +CREATE FUNCTION temporal_same(floatspan, tfloat) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Same_numspan_tnumber' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_same(tfloat, floatspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Same_tnumber_numspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_same(tbox, tfloat) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Same_tbox_tnumber' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_same(tfloat, tbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Same_tnumber_tbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_same(tfloat, tfloat) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Same_tnumber_tnumber' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR ~= ( + PROCEDURE = temporal_same, + LEFTARG = floatspan, RIGHTARG = tfloat, + COMMUTATOR = ~=, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR ~= ( + PROCEDURE = temporal_same, + LEFTARG = tfloat, RIGHTARG = floatspan, + COMMUTATOR = ~=, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR ~= ( + PROCEDURE = temporal_same, + LEFTARG = tbox, RIGHTARG = tfloat, + COMMUTATOR = ~=, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR ~= ( + PROCEDURE = temporal_same, + LEFTARG = tfloat, RIGHTARG = tbox, + COMMUTATOR = ~=, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR ~= ( + PROCEDURE = temporal_same, + LEFTARG = tfloat, RIGHTARG = tfloat, + COMMUTATOR = ~=, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); + +/*****************************************************************************/ + +CREATE FUNCTION temporal_adjacent(tstzspan, tfloat) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Adjacent_tstzspan_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_adjacent(tfloat, tstzspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Adjacent_temporal_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR -|- ( + PROCEDURE = temporal_adjacent, + LEFTARG = tstzspan, RIGHTARG = tfloat, + COMMUTATOR = -|-, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR -|- ( + PROCEDURE = temporal_adjacent, + LEFTARG = tfloat, RIGHTARG = tstzspan, + COMMUTATOR = -|-, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); + +/*****************************************************************************/ + +CREATE FUNCTION temporal_adjacent(floatspan, tfloat) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Adjacent_numspan_tnumber' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_adjacent(tfloat, floatspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Adjacent_tnumber_numspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_adjacent(tbox, tfloat) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Adjacent_tbox_tnumber' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_adjacent(tfloat, tbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Adjacent_tnumber_tbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_adjacent(tfloat, tfloat) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Adjacent_tnumber_tnumber' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR -|- ( + PROCEDURE = temporal_adjacent, + LEFTARG = floatspan, RIGHTARG = tfloat, + COMMUTATOR = -|-, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR -|- ( + PROCEDURE = temporal_adjacent, + LEFTARG = tfloat, RIGHTARG = floatspan, + COMMUTATOR = -|-, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR -|- ( + PROCEDURE = temporal_adjacent, + LEFTARG = tbox, RIGHTARG = tfloat, + COMMUTATOR = -|-, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR -|- ( + PROCEDURE = temporal_adjacent, + LEFTARG = tfloat, RIGHTARG = tbox, + COMMUTATOR = -|-, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR -|- ( + PROCEDURE = temporal_adjacent, + LEFTARG = tfloat, RIGHTARG = tfloat, + COMMUTATOR = -|-, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); + +/***************************************************************************** + * Temporal text + *****************************************************************************/ + +CREATE FUNCTION temporal_overlaps(tstzspan, ttext) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overlaps_tstzspan_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overlaps(ttext, tstzspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overlaps_temporal_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overlaps(ttext, ttext) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overlaps_temporal_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR && ( + PROCEDURE = temporal_overlaps, + LEFTARG = tstzspan, RIGHTARG = ttext, + COMMUTATOR = &&, + RESTRICT = temporal_sel, JOIN = temporal_joinsel +); +CREATE OPERATOR && ( + PROCEDURE = temporal_overlaps, + LEFTARG = ttext, RIGHTARG = tstzspan, + COMMUTATOR = &&, + RESTRICT = temporal_sel, JOIN = temporal_joinsel +); +CREATE OPERATOR && ( + PROCEDURE = temporal_overlaps, + LEFTARG = ttext, RIGHTARG = ttext, + COMMUTATOR = &&, + RESTRICT = temporal_sel, JOIN = temporal_joinsel +); + +/*****************************************************************************/ + +CREATE FUNCTION temporal_contains(tstzspan, ttext) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contains_tstzspan_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_contains(ttext, tstzspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contains_temporal_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_contains(ttext, ttext) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contains_temporal_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR @> ( + PROCEDURE = temporal_contains, + LEFTARG = tstzspan, RIGHTARG = ttext, + COMMUTATOR = <@, + RESTRICT = temporal_sel, JOIN = temporal_joinsel +); +CREATE OPERATOR @> ( + PROCEDURE = temporal_contains, + LEFTARG = ttext, RIGHTARG = tstzspan, + COMMUTATOR = <@, + RESTRICT = temporal_sel, JOIN = temporal_joinsel +); +CREATE OPERATOR @> ( + PROCEDURE = temporal_contains, + LEFTARG = ttext, RIGHTARG = ttext, + COMMUTATOR = <@, + RESTRICT = temporal_sel, JOIN = temporal_joinsel +); + +/*****************************************************************************/ + +CREATE FUNCTION temporal_contained(tstzspan, ttext) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contained_tstzspan_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_contained(ttext, tstzspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contained_temporal_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_contained(ttext, ttext) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Contained_temporal_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR <@ ( + PROCEDURE = temporal_contained, + LEFTARG = tstzspan, RIGHTARG = ttext, + COMMUTATOR = @>, + RESTRICT = temporal_sel, JOIN = temporal_joinsel +); +CREATE OPERATOR <@ ( + PROCEDURE = temporal_contained, + LEFTARG = ttext, RIGHTARG = tstzspan, + COMMUTATOR = @>, + RESTRICT = temporal_sel, JOIN = temporal_joinsel +); +CREATE OPERATOR <@ ( + PROCEDURE = temporal_contained, + LEFTARG = ttext, RIGHTARG = ttext, + COMMUTATOR = @>, + RESTRICT = temporal_sel, JOIN = temporal_joinsel +); + +/*****************************************************************************/ + +CREATE FUNCTION temporal_same(tstzspan, ttext) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Same_tstzspan_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_same(ttext, tstzspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Same_temporal_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_same(ttext, ttext) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Same_temporal_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR ~= ( + PROCEDURE = temporal_same, + LEFTARG = tstzspan, RIGHTARG = ttext, + COMMUTATOR = ~=, + RESTRICT = temporal_sel, JOIN = temporal_joinsel +); +CREATE OPERATOR ~= ( + PROCEDURE = temporal_same, + LEFTARG = ttext, RIGHTARG = tstzspan, + COMMUTATOR = ~=, + RESTRICT = temporal_sel, JOIN = temporal_joinsel +); +CREATE OPERATOR ~= ( + PROCEDURE = temporal_same, + LEFTARG = ttext, RIGHTARG = ttext, + COMMUTATOR = ~=, + RESTRICT = temporal_sel, JOIN = temporal_joinsel +); + +/*****************************************************************************/ + +CREATE FUNCTION temporal_adjacent(tstzspan, ttext) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Adjacent_tstzspan_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_adjacent(ttext, tstzspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Adjacent_temporal_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_adjacent(ttext, ttext) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Adjacent_temporal_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR -|- ( + PROCEDURE = temporal_adjacent, + LEFTARG = tstzspan, RIGHTARG = ttext, + COMMUTATOR = -|-, + RESTRICT = temporal_sel, JOIN = temporal_joinsel +); +CREATE OPERATOR -|- ( + PROCEDURE = temporal_adjacent, + LEFTARG = ttext, RIGHTARG = tstzspan, + COMMUTATOR = -|-, + RESTRICT = temporal_sel, JOIN = temporal_joinsel +); +CREATE OPERATOR -|- ( + PROCEDURE = temporal_adjacent, + LEFTARG = ttext, RIGHTARG = ttext, + COMMUTATOR = -|-, + RESTRICT = temporal_sel, JOIN = temporal_joinsel +); + +/*****************************************************************************/ diff --git a/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/temporal/034_temporal_posops.in.sql b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/temporal/034_temporal_posops.in.sql new file mode 100644 index 00000000..4dde5989 --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/temporal/034_temporal_posops.in.sql @@ -0,0 +1,1248 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @file + * @brief Relative position operators for 1D (time) and 2D (1D value + 1D time) + * temporal types + */ + +/***************************************************************************** + * tstzspan + *****************************************************************************/ + +/* tstzspan op tbool */ + +CREATE FUNCTION temporal_before(tstzspan, tbool) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Before_tstzspan_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overbefore(tstzspan, tbool) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overbefore_tstzspan_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_after(tstzspan, tbool) + RETURNS boolean + AS 'MODULE_PATHNAME', 'After_tstzspan_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overafter(tstzspan, tbool) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overafter_tstzspan_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR <<# ( + LEFTARG = tstzspan, RIGHTARG = tbool, + PROCEDURE = temporal_before, + COMMUTATOR = #>>, + RESTRICT = temporal_sel, JOIN = temporal_joinsel +); +CREATE OPERATOR &<# ( + LEFTARG = tstzspan, RIGHTARG = tbool, + PROCEDURE = temporal_overbefore, + RESTRICT = temporal_sel, JOIN = temporal_joinsel +); +CREATE OPERATOR #>> ( + LEFTARG = tstzspan, RIGHTARG = tbool, + PROCEDURE = temporal_after, + COMMUTATOR = <<#, + RESTRICT = temporal_sel, JOIN = temporal_joinsel +); +CREATE OPERATOR #&> ( + LEFTARG = tstzspan, RIGHTARG = tbool, + PROCEDURE = temporal_overafter, + RESTRICT = temporal_sel, JOIN = temporal_joinsel +); + +/*****************************************************************************/ + +/* tstzspan op tint */ + +CREATE FUNCTION temporal_before(tstzspan, tint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Before_tstzspan_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overbefore(tstzspan, tint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overbefore_tstzspan_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_after(tstzspan, tint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'After_tstzspan_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overafter(tstzspan, tint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overafter_tstzspan_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR <<# ( + LEFTARG = tstzspan, RIGHTARG = tint, + PROCEDURE = temporal_before, + COMMUTATOR = #>>, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR &<# ( + LEFTARG = tstzspan, RIGHTARG = tint, + PROCEDURE = temporal_overbefore, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR #>> ( + LEFTARG = tstzspan, RIGHTARG = tint, + PROCEDURE = temporal_after, + COMMUTATOR = <<#, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR #&> ( + LEFTARG = tstzspan, RIGHTARG = tint, + PROCEDURE = temporal_overafter, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); + +/*****************************************************************************/ + +/* tstzspan op tfloat */ + +CREATE FUNCTION temporal_before(tstzspan, tfloat) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Before_tstzspan_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overbefore(tstzspan, tfloat) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overbefore_tstzspan_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_after(tstzspan, tfloat) + RETURNS boolean + AS 'MODULE_PATHNAME', 'After_tstzspan_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overafter(tstzspan, tfloat) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overafter_tstzspan_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR <<# ( + LEFTARG = tstzspan, RIGHTARG = tfloat, + PROCEDURE = temporal_before, + COMMUTATOR = #>>, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR &<# ( + LEFTARG = tstzspan, RIGHTARG = tfloat, + PROCEDURE = temporal_overbefore, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR #>> ( + LEFTARG = tstzspan, RIGHTARG = tfloat, + PROCEDURE = temporal_after, + COMMUTATOR = <<#, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR #&> ( + LEFTARG = tstzspan, RIGHTARG = tfloat, + PROCEDURE = temporal_overafter, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); + +/*****************************************************************************/ + +/* tstzspan op ttext */ + +CREATE FUNCTION temporal_before(tstzspan, ttext) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Before_tstzspan_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overbefore(tstzspan, ttext) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overbefore_tstzspan_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_after(tstzspan, ttext) + RETURNS boolean + AS 'MODULE_PATHNAME', 'After_tstzspan_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overafter(tstzspan, ttext) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overafter_tstzspan_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR <<# ( + LEFTARG = tstzspan, RIGHTARG = ttext, + PROCEDURE = temporal_before, + COMMUTATOR = #>>, + RESTRICT = temporal_sel, JOIN = temporal_joinsel +); +CREATE OPERATOR &<# ( + LEFTARG = tstzspan, RIGHTARG = ttext, + PROCEDURE = temporal_overbefore, + RESTRICT = temporal_sel, JOIN = temporal_joinsel +); +CREATE OPERATOR #>> ( + LEFTARG = tstzspan, RIGHTARG = ttext, + PROCEDURE = temporal_after, + COMMUTATOR = <<#, + RESTRICT = temporal_sel, JOIN = temporal_joinsel +); +CREATE OPERATOR #&> ( + LEFTARG = tstzspan, RIGHTARG = ttext, + PROCEDURE = temporal_overafter, + RESTRICT = temporal_sel, JOIN = temporal_joinsel +); + +/***************************************************************************** + * intspan + *****************************************************************************/ + +/* intspan op tint */ + +CREATE FUNCTION temporal_left(intspan, tint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Left_numspan_tnumber' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overleft(intspan, tint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overleft_numspan_tnumber' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_right(intspan, tint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Right_numspan_tnumber' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overright(intspan, tint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overright_numspan_tnumber' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR << ( + LEFTARG = intspan, RIGHTARG = tint, + PROCEDURE = temporal_left, + COMMUTATOR = >>, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR &< ( + LEFTARG = intspan, RIGHTARG = tint, + PROCEDURE = temporal_overleft, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR >> ( + LEFTARG = intspan, RIGHTARG = tint, + PROCEDURE = temporal_right, + COMMUTATOR = <<, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR &> ( + LEFTARG = intspan, RIGHTARG = tint, + PROCEDURE = temporal_overright, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); + +/*****************************************************************************/ + +/* intspan op tfloat */ + +CREATE FUNCTION temporal_left(intspan, tfloat) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Left_numspan_tnumber' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overleft(intspan, tfloat) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overleft_numspan_tnumber' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_right(intspan, tfloat) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Right_numspan_tnumber' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overright(intspan, tfloat) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overright_numspan_tnumber' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR << ( + LEFTARG = intspan, RIGHTARG = tfloat, + PROCEDURE = temporal_left, + COMMUTATOR = >>, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR &< ( + LEFTARG = intspan, RIGHTARG = tfloat, + PROCEDURE = temporal_overleft, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR >> ( + LEFTARG = intspan, RIGHTARG = tfloat, + PROCEDURE = temporal_right, + COMMUTATOR = <<, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR &> ( + LEFTARG = intspan, RIGHTARG = tfloat, + PROCEDURE = temporal_overright, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); + +/***************************************************************************** + * floatspan + *****************************************************************************/ + +/* floatspan op tint */ + +CREATE FUNCTION temporal_left(floatspan, tint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Left_numspan_tnumber' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overleft(floatspan, tint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overleft_numspan_tnumber' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_right(floatspan, tint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Right_numspan_tnumber' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overright(floatspan, tint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overright_numspan_tnumber' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR << ( + LEFTARG = floatspan, RIGHTARG = tint, + PROCEDURE = temporal_left, + COMMUTATOR = >>, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR &< ( + LEFTARG = floatspan, RIGHTARG = tint, + PROCEDURE = temporal_overleft, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR >> ( + LEFTARG = floatspan, RIGHTARG = tint, + PROCEDURE = temporal_right, + COMMUTATOR = <<, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR &> ( + LEFTARG = floatspan, RIGHTARG = tint, + PROCEDURE = temporal_overright, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); + +/*****************************************************************************/ + +/* floatspan op tfloat */ + +CREATE FUNCTION temporal_left(floatspan, tfloat) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Left_numspan_tnumber' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overleft(floatspan, tfloat) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overleft_numspan_tnumber' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_right(floatspan, tfloat) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Right_numspan_tnumber' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overright(floatspan, tfloat) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overright_numspan_tnumber' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR << ( + LEFTARG = floatspan, RIGHTARG = tfloat, + PROCEDURE = temporal_left, + COMMUTATOR = >>, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR &< ( + LEFTARG = floatspan, RIGHTARG = tfloat, + PROCEDURE = temporal_overleft, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR >> ( + LEFTARG = floatspan, RIGHTARG = tfloat, + PROCEDURE = temporal_right, + COMMUTATOR = <<, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR &> ( + LEFTARG = floatspan, RIGHTARG = tfloat, + PROCEDURE = temporal_overright, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); + +/***************************************************************************** + * tbox + *****************************************************************************/ + +/* tbox op tint */ + +CREATE FUNCTION temporal_left(tbox, tint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Left_tbox_tnumber' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overleft(tbox, tint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overleft_tbox_tnumber' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_right(tbox, tint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Right_tbox_tnumber' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overright(tbox, tint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overright_tbox_tnumber' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_before(tbox, tint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Before_tbox_tnumber' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overbefore(tbox, tint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overbefore_tbox_tnumber' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_after(tbox, tint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'After_tbox_tnumber' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overafter(tbox, tint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overafter_tbox_tnumber' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR << ( + LEFTARG = tbox, RIGHTARG = tint, + PROCEDURE = temporal_left, + COMMUTATOR = >>, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR &< ( + LEFTARG = tbox, RIGHTARG = tint, + PROCEDURE = temporal_overleft, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR >> ( + LEFTARG = tbox, RIGHTARG = tint, + PROCEDURE = temporal_right, + COMMUTATOR = <<, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR &> ( + LEFTARG = tbox, RIGHTARG = tint, + PROCEDURE = temporal_overright, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR <<# ( + LEFTARG = tbox, RIGHTARG = tint, + PROCEDURE = temporal_before, + COMMUTATOR = #>>, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR &<# ( + LEFTARG = tbox, RIGHTARG = tint, + PROCEDURE = temporal_overbefore, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR #>> ( + LEFTARG = tbox, RIGHTARG = tint, + PROCEDURE = temporal_after, + COMMUTATOR = <<#, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR #&> ( + LEFTARG = tbox, RIGHTARG = tint, + PROCEDURE = temporal_overafter, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); + +/*****************************************************************************/ + +/* tbox op tfloat */ + +CREATE FUNCTION temporal_left(tbox, tfloat) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Left_tbox_tnumber' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overleft(tbox, tfloat) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overleft_tbox_tnumber' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_right(tbox, tfloat) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Right_tbox_tnumber' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overright(tbox, tfloat) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overright_tbox_tnumber' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_before(tbox, tfloat) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Before_tbox_tnumber' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overbefore(tbox, tfloat) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overbefore_tbox_tnumber' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_after(tbox, tfloat) + RETURNS boolean + AS 'MODULE_PATHNAME', 'After_tbox_tnumber' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overafter(tbox, tfloat) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overafter_tbox_tnumber' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR << ( + LEFTARG = tbox, RIGHTARG = tfloat, + PROCEDURE = temporal_left, + COMMUTATOR = >>, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR &< ( + LEFTARG = tbox, RIGHTARG = tfloat, + PROCEDURE = temporal_overleft, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR >> ( + LEFTARG = tbox, RIGHTARG = tfloat, + PROCEDURE = temporal_right, + COMMUTATOR = <<, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR &> ( + LEFTARG = tbox, RIGHTARG = tfloat, + PROCEDURE = temporal_overright, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR <<# ( + LEFTARG = tbox, RIGHTARG = tfloat, + PROCEDURE = temporal_before, + COMMUTATOR = #>>, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR &<# ( + LEFTARG = tbox, RIGHTARG = tfloat, + PROCEDURE = temporal_overbefore, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR #>> ( + LEFTARG = tbox, RIGHTARG = tfloat, + PROCEDURE = temporal_after, + COMMUTATOR = <<#, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR #&> ( + LEFTARG = tbox, RIGHTARG = tfloat, + PROCEDURE = temporal_overafter, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); + +/***************************************************************************** + * tbool + *****************************************************************************/ + +/* tbool op tstzspan */ + +CREATE FUNCTION temporal_before(tbool, tstzspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Before_temporal_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overbefore(tbool, tstzspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overbefore_temporal_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_after(tbool, tstzspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'After_temporal_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overafter(tbool, tstzspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overafter_temporal_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR <<# ( + LEFTARG = tbool, RIGHTARG = tstzspan, + PROCEDURE = temporal_before, + COMMUTATOR = #>>, + RESTRICT = temporal_sel, JOIN = temporal_joinsel +); +CREATE OPERATOR &<# ( + LEFTARG = tbool, RIGHTARG = tstzspan, + PROCEDURE = temporal_overbefore, + RESTRICT = temporal_sel, JOIN = temporal_joinsel +); +CREATE OPERATOR #>> ( + LEFTARG = tbool, RIGHTARG = tstzspan, + PROCEDURE = temporal_after, + COMMUTATOR = <<#, + RESTRICT = temporal_sel, JOIN = temporal_joinsel +); +CREATE OPERATOR #&> ( + LEFTARG = tbool, RIGHTARG = tstzspan, + PROCEDURE = temporal_overafter, + RESTRICT = temporal_sel, JOIN = temporal_joinsel +); + +/*****************************************************************************/ + +/* tbool op tbool */ + +CREATE FUNCTION temporal_before(tbool, tbool) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Before_temporal_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overbefore(tbool, tbool) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overbefore_temporal_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_after(tbool, tbool) + RETURNS boolean + AS 'MODULE_PATHNAME', 'After_temporal_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overafter(tbool, tbool) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overafter_temporal_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR <<# ( + LEFTARG = tbool, RIGHTARG = tbool, + PROCEDURE = temporal_before, + COMMUTATOR = #>>, + RESTRICT = temporal_sel, JOIN = temporal_joinsel +); +CREATE OPERATOR &<# ( + LEFTARG = tbool, RIGHTARG = tbool, + PROCEDURE = temporal_overbefore, + RESTRICT = temporal_sel, JOIN = temporal_joinsel +); +CREATE OPERATOR #>> ( + LEFTARG = tbool, RIGHTARG = tbool, + PROCEDURE = temporal_after, + COMMUTATOR = <<#, + RESTRICT = temporal_sel, JOIN = temporal_joinsel +); +CREATE OPERATOR #&> ( + LEFTARG = tbool, RIGHTARG = tbool, + PROCEDURE = temporal_overafter, + RESTRICT = temporal_sel, JOIN = temporal_joinsel +); + +/***************************************************************************** + * tint + *****************************************************************************/ + +/* tint op tstzspan */ + +CREATE FUNCTION temporal_before(tint, tstzspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Before_temporal_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overbefore(tint, tstzspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overbefore_temporal_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_after(tint, tstzspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'After_temporal_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overafter(tint, tstzspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overafter_temporal_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR <<# ( + LEFTARG = tint, RIGHTARG = tstzspan, + PROCEDURE = temporal_before, + COMMUTATOR = #>>, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR &<# ( + LEFTARG = tint, RIGHTARG = tstzspan, + PROCEDURE = temporal_overbefore, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR #>> ( + LEFTARG = tint, RIGHTARG = tstzspan, + PROCEDURE = temporal_after, + COMMUTATOR = <<#, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR #&> ( + LEFTARG = tint, RIGHTARG = tstzspan, + PROCEDURE = temporal_overafter, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); + +/*****************************************************************************/ + +/* tint op intspan */ + +CREATE FUNCTION temporal_left(tint, intspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Left_tnumber_numspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overleft(tint, intspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overleft_tnumber_numspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_right(tint, intspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Right_tnumber_numspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overright(tint, intspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overright_tnumber_numspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR << ( + LEFTARG = tint, RIGHTARG = intspan, + PROCEDURE = temporal_left, + COMMUTATOR = >>, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR &< ( + LEFTARG = tint, RIGHTARG = intspan, + PROCEDURE = temporal_overleft, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR >> ( + LEFTARG = tint, RIGHTARG = intspan, + PROCEDURE = temporal_right, + COMMUTATOR = <<, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR &> ( + LEFTARG = tint, RIGHTARG = intspan, + PROCEDURE = temporal_overright, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); + +/*****************************************************************************/ + +/* tint op tbox */ + +CREATE FUNCTION temporal_left(tint, tbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Left_tnumber_tbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overleft(tint, tbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overleft_tnumber_tbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_right(tint, tbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Right_tnumber_tbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overright(tint, tbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overright_tnumber_tbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_before(tint, tbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Before_tnumber_tbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overbefore(tint, tbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overbefore_tnumber_tbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_after(tint, tbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'After_tnumber_tbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overafter(tint, tbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overafter_tnumber_tbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR << ( + LEFTARG = tint, RIGHTARG = tbox, + PROCEDURE = temporal_left, + COMMUTATOR = >>, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR &< ( + LEFTARG = tint, RIGHTARG = tbox, + PROCEDURE = temporal_overleft, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR >> ( + LEFTARG = tint, RIGHTARG = tbox, + PROCEDURE = temporal_right, + COMMUTATOR = <<, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR &> ( + LEFTARG = tint, RIGHTARG = tbox, + PROCEDURE = temporal_overright, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR <<# ( + LEFTARG = tint, RIGHTARG = tbox, + PROCEDURE = temporal_before, + COMMUTATOR = #>>, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR &<# ( + LEFTARG = tint, RIGHTARG = tbox, + PROCEDURE = temporal_overbefore, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR #>> ( + LEFTARG = tint, RIGHTARG = tbox, + PROCEDURE = temporal_after, + COMMUTATOR = <<#, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR #&> ( + LEFTARG = tint, RIGHTARG = tbox, + PROCEDURE = temporal_overafter, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); + +/*****************************************************************************/ + +/* tint op tint */ + +CREATE FUNCTION temporal_left(tint, tint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Left_tnumber_tnumber' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overleft(tint, tint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overleft_tnumber_tnumber' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_right(tint, tint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Right_tnumber_tnumber' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overright(tint, tint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overright_tnumber_tnumber' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_before(tint, tint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Before_tnumber_tnumber' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overbefore(tint, tint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overbefore_tnumber_tnumber' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_after(tint, tint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'After_tnumber_tnumber' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overafter(tint, tint) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overafter_tnumber_tnumber' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR << ( + LEFTARG = tint, RIGHTARG = tint, + PROCEDURE = temporal_left, + COMMUTATOR = >>, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR &< ( + LEFTARG = tint, RIGHTARG = tint, + PROCEDURE = temporal_overleft, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR >> ( + LEFTARG = tint, RIGHTARG = tint, + PROCEDURE = temporal_right, + COMMUTATOR = <<, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR &> ( + LEFTARG = tint, RIGHTARG = tint, + PROCEDURE = temporal_overright, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR <<# ( + LEFTARG = tint, RIGHTARG = tint, + PROCEDURE = temporal_before, + COMMUTATOR = #>>, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR &<# ( + LEFTARG = tint, RIGHTARG = tint, + PROCEDURE = temporal_overbefore, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR #>> ( + LEFTARG = tint, RIGHTARG = tint, + PROCEDURE = temporal_after, + COMMUTATOR = <<#, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR #&> ( + LEFTARG = tint, RIGHTARG = tint, + PROCEDURE = temporal_overafter, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); + +/***************************************************************************** + * tfloat + *****************************************************************************/ + +/* tfloat op tstzspan */ + +CREATE FUNCTION temporal_before(tfloat, tstzspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Before_temporal_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overbefore(tfloat, tstzspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overbefore_temporal_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_after(tfloat, tstzspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'After_temporal_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overafter(tfloat, tstzspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overafter_temporal_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR <<# ( + LEFTARG = tfloat, RIGHTARG = tstzspan, + PROCEDURE = temporal_before, + COMMUTATOR = #>>, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR &<# ( + LEFTARG = tfloat, RIGHTARG = tstzspan, + PROCEDURE = temporal_overbefore, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR #>> ( + LEFTARG = tfloat, RIGHTARG = tstzspan, + PROCEDURE = temporal_after, + COMMUTATOR = <<#, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR #&> ( + LEFTARG = tfloat, RIGHTARG = tstzspan, + PROCEDURE = temporal_overafter, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); + +/*****************************************************************************/ + +/* tfloat op floatspan */ + +CREATE FUNCTION temporal_left(tfloat, floatspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Left_tnumber_numspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overleft(tfloat, floatspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overleft_tnumber_numspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_right(tfloat, floatspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Right_tnumber_numspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overright(tfloat, floatspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overright_tnumber_numspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR << ( + LEFTARG = tfloat, RIGHTARG = floatspan, + PROCEDURE = temporal_left, + COMMUTATOR = >>, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR &< ( + LEFTARG = tfloat, RIGHTARG = floatspan, + PROCEDURE = temporal_overleft, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR >> ( + LEFTARG = tfloat, RIGHTARG = floatspan, + PROCEDURE = temporal_right, + COMMUTATOR = <<, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR &> ( + LEFTARG = tfloat, RIGHTARG = floatspan, + PROCEDURE = temporal_overright, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); + +/*****************************************************************************/ + +/* tfloat op tbox */ + +CREATE FUNCTION temporal_left(tfloat, tbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Left_tnumber_tbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overleft(tfloat, tbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overleft_tnumber_tbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_right(tfloat, tbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Right_tnumber_tbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overright(tfloat, tbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overright_tnumber_tbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_before(tfloat, tbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Before_tnumber_tbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overbefore(tfloat, tbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overbefore_tnumber_tbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_after(tfloat, tbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'After_tnumber_tbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overafter(tfloat, tbox) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overafter_tnumber_tbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR << ( + LEFTARG = tfloat, RIGHTARG = tbox, + PROCEDURE = temporal_left, + COMMUTATOR = >>, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR &< ( + LEFTARG = tfloat, RIGHTARG = tbox, + PROCEDURE = temporal_overleft, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR >> ( + LEFTARG = tfloat, RIGHTARG = tbox, + PROCEDURE = temporal_right, + COMMUTATOR = <<, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR &> ( + LEFTARG = tfloat, RIGHTARG = tbox, + PROCEDURE = temporal_overright, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR <<# ( + LEFTARG = tfloat, RIGHTARG = tbox, + PROCEDURE = temporal_before, + COMMUTATOR = #>>, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR &<# ( + LEFTARG = tfloat, RIGHTARG = tbox, + PROCEDURE = temporal_overbefore, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR #>> ( + LEFTARG = tfloat, RIGHTARG = tbox, + PROCEDURE = temporal_after, + COMMUTATOR = <<#, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR #&> ( + LEFTARG = tfloat, RIGHTARG = tbox, + PROCEDURE = temporal_overafter, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); + +/*****************************************************************************/ + +/* tfloat op tfloat */ + +CREATE FUNCTION temporal_left(tfloat, tfloat) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Left_tnumber_tnumber' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overleft(tfloat, tfloat) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overleft_tnumber_tnumber' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_right(tfloat, tfloat) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Right_tnumber_tnumber' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overright(tfloat, tfloat) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overright_tnumber_tnumber' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_before(tfloat, tfloat) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Before_tnumber_tnumber' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overbefore(tfloat, tfloat) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overbefore_tnumber_tnumber' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_after(tfloat, tfloat) + RETURNS boolean + AS 'MODULE_PATHNAME', 'After_tnumber_tnumber' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overafter(tfloat, tfloat) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overafter_tnumber_tnumber' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR << ( + LEFTARG = tfloat, RIGHTARG = tfloat, + PROCEDURE = temporal_left, + COMMUTATOR = >>, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR &< ( + LEFTARG = tfloat, RIGHTARG = tfloat, + PROCEDURE = temporal_overleft, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR >> ( + LEFTARG = tfloat, RIGHTARG = tfloat, + PROCEDURE = temporal_right, + COMMUTATOR = <<, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR &> ( + LEFTARG = tfloat, RIGHTARG = tfloat, + PROCEDURE = temporal_overright, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR <<# ( + LEFTARG = tfloat, RIGHTARG = tfloat, + PROCEDURE = temporal_before, + COMMUTATOR = #>>, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR &<# ( + LEFTARG = tfloat, RIGHTARG = tfloat, + PROCEDURE = temporal_overbefore, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR #>> ( + LEFTARG = tfloat, RIGHTARG = tfloat, + PROCEDURE = temporal_after, + COMMUTATOR = <<#, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR #&> ( + LEFTARG = tfloat, RIGHTARG = tfloat, + PROCEDURE = temporal_overafter, + RESTRICT = tnumber_sel, JOIN = tnumber_joinsel +); + +/***************************************************************************** + * ttext + *****************************************************************************/ + +/* ttext op tstzspan */ + +CREATE FUNCTION temporal_before(ttext, tstzspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Before_temporal_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overbefore(ttext, tstzspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overbefore_temporal_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_after(ttext, tstzspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'After_temporal_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overafter(ttext, tstzspan) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overafter_temporal_tstzspan' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR <<# ( + LEFTARG = ttext, RIGHTARG = tstzspan, + PROCEDURE = temporal_before, + COMMUTATOR = #>>, + RESTRICT = temporal_sel, JOIN = temporal_joinsel +); +CREATE OPERATOR &<# ( + LEFTARG = ttext, RIGHTARG = tstzspan, + PROCEDURE = temporal_overbefore, + RESTRICT = temporal_sel, JOIN = temporal_joinsel +); +CREATE OPERATOR #>> ( + LEFTARG = ttext, RIGHTARG = tstzspan, + PROCEDURE = temporal_after, + COMMUTATOR = <<#, + RESTRICT = temporal_sel, JOIN = temporal_joinsel +); +CREATE OPERATOR #&> ( + LEFTARG = ttext, RIGHTARG = tstzspan, + PROCEDURE = temporal_overafter, + RESTRICT = temporal_sel, JOIN = temporal_joinsel +); + +/*****************************************************************************/ + +/* ttext op ttext */ + +CREATE FUNCTION temporal_before(ttext, ttext) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Before_temporal_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overbefore(ttext, ttext) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overbefore_temporal_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_after(ttext, ttext) + RETURNS boolean + AS 'MODULE_PATHNAME', 'After_temporal_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_overafter(ttext, ttext) + RETURNS boolean + AS 'MODULE_PATHNAME', 'Overafter_temporal_temporal' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR <<# ( + LEFTARG = ttext, RIGHTARG = ttext, + PROCEDURE = temporal_before, + COMMUTATOR = #>>, + RESTRICT = temporal_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR &<# ( + LEFTARG = ttext, RIGHTARG = ttext, + PROCEDURE = temporal_overbefore, + RESTRICT = temporal_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR #>> ( + LEFTARG = ttext, RIGHTARG = ttext, + PROCEDURE = temporal_after, + COMMUTATOR = <<#, + RESTRICT = temporal_sel, JOIN = tnumber_joinsel +); +CREATE OPERATOR #&> ( + LEFTARG = ttext, RIGHTARG = ttext, + PROCEDURE = temporal_overafter, + RESTRICT = temporal_sel, JOIN = tnumber_joinsel +); + +/*****************************************************************************/ diff --git a/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/temporal/036_tnumber_distance.in.sql b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/temporal/036_tnumber_distance.in.sql new file mode 100644 index 00000000..93e0d037 --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/temporal/036_tnumber_distance.in.sql @@ -0,0 +1,242 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @file + * @brief Distance functions for temporal numbers + */ + +/***************************************************************************** + * Temporal distance + *****************************************************************************/ + +/* integer <-> */ + +CREATE FUNCTION tDistance(integer, tint) + RETURNS tint + AS 'MODULE_PATHNAME', 'Tdistance_number_tnumber' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR <-> ( + PROCEDURE = tDistance, + LEFTARG = integer, RIGHTARG = tint, + COMMUTATOR = <-> +); + +/*****************************************************************************/ + +/* float <-> */ + +CREATE FUNCTION tDistance(float, tfloat) + RETURNS tfloat + AS 'MODULE_PATHNAME', 'Tdistance_number_tnumber' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR <-> ( + PROCEDURE = tDistance, + LEFTARG = float, RIGHTARG = tfloat, + COMMUTATOR = <-> +); + +/*****************************************************************************/ +/* tint <-> */ + +CREATE FUNCTION tDistance(tint, integer) + RETURNS tint + AS 'MODULE_PATHNAME', 'Tdistance_tnumber_number' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tDistance(tint, tint) + RETURNS tint + AS 'MODULE_PATHNAME', 'Tdistance_tnumber_tnumber' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR <-> ( + PROCEDURE = tDistance, + LEFTARG = tint, RIGHTARG = integer, + COMMUTATOR = <-> +); +CREATE OPERATOR <-> ( + PROCEDURE = tDistance, + LEFTARG = tint, RIGHTARG = tint, + COMMUTATOR = <-> +); + +/*****************************************************************************/ +/* tfloat <-> */ + +CREATE FUNCTION tDistance(tfloat, float) + RETURNS tfloat + AS 'MODULE_PATHNAME', 'Tdistance_tnumber_number' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tDistance(tfloat, tfloat) + RETURNS tfloat + AS 'MODULE_PATHNAME', 'Tdistance_tnumber_tnumber' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR <-> ( + PROCEDURE = tDistance, + LEFTARG = tfloat, RIGHTARG = float, + COMMUTATOR = <-> +); +CREATE OPERATOR <-> ( + PROCEDURE = tDistance, + LEFTARG = tfloat, RIGHTARG = tfloat, + COMMUTATOR = <-> +); + +/***************************************************************************** + * Nearest approach distance + *****************************************************************************/ + +/* integer |=| */ + +CREATE FUNCTION nearestApproachDistance(integer, tint) + RETURNS float + AS 'MODULE_PATHNAME', 'NAD_number_tnumber' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR |=| ( + PROCEDURE = nearestApproachDistance, + LEFTARG = integer, RIGHTARG = tint, + COMMUTATOR = |=| +); + +/*****************************************************************************/ + +/* float |=| */ + +CREATE FUNCTION nearestApproachDistance(float, tfloat) + RETURNS float + AS 'MODULE_PATHNAME', 'NAD_number_tnumber' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR |=| ( + PROCEDURE = nearestApproachDistance, + LEFTARG = float, RIGHTARG = tfloat, + COMMUTATOR = |=| +); + +/*****************************************************************************/ + +/* tbox |=| */ + +CREATE FUNCTION nearestApproachDistance(tbox, tbox) + RETURNS float + AS 'MODULE_PATHNAME', 'NAD_tbox_tbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION nearestApproachDistance(tbox, tint) + RETURNS float + AS 'MODULE_PATHNAME', 'NAD_tbox_tnumber' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION nearestApproachDistance(tbox, tfloat) + RETURNS float + AS 'MODULE_PATHNAME', 'NAD_tbox_tnumber' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR |=| ( + PROCEDURE = nearestApproachDistance, + LEFTARG = tbox, RIGHTARG = tbox, + COMMUTATOR = |=| +); +CREATE OPERATOR |=| ( + PROCEDURE = nearestApproachDistance, + LEFTARG = tbox, RIGHTARG = tint, + COMMUTATOR = |=| +); +CREATE OPERATOR |=| ( + PROCEDURE = nearestApproachDistance, + LEFTARG = tbox, RIGHTARG = tfloat, + COMMUTATOR = |=| +); + +/*****************************************************************************/ +/* tint |=| */ + +CREATE FUNCTION nearestApproachDistance(tint, integer) + RETURNS float + AS 'MODULE_PATHNAME', 'NAD_tnumber_number' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION nearestApproachDistance(tint, tbox) + RETURNS float + AS 'MODULE_PATHNAME', 'NAD_tnumber_tbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION nearestApproachDistance(tint, tint) + RETURNS float + AS 'MODULE_PATHNAME', 'NAD_tnumber_tnumber' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR |=| ( + PROCEDURE = nearestApproachDistance, + LEFTARG = tint, RIGHTARG = integer, + COMMUTATOR = |=| +); +CREATE OPERATOR |=| ( + PROCEDURE = nearestApproachDistance, + LEFTARG = tint, RIGHTARG = tbox, + COMMUTATOR = |=| +); +CREATE OPERATOR |=| ( + PROCEDURE = nearestApproachDistance, + LEFTARG = tint, RIGHTARG = tint, + COMMUTATOR = |=| +); + +/*****************************************************************************/ +/* tfloat |=| */ + +CREATE FUNCTION nearestApproachDistance(tfloat, float) + RETURNS float + AS 'MODULE_PATHNAME', 'NAD_tnumber_number' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION nearestApproachDistance(tfloat, tbox) + RETURNS float + AS 'MODULE_PATHNAME', 'NAD_tnumber_tbox' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION nearestApproachDistance(tfloat, tfloat) + RETURNS float + AS 'MODULE_PATHNAME', 'NAD_tnumber_tnumber' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE OPERATOR |=| ( + PROCEDURE = nearestApproachDistance, + LEFTARG = tfloat, RIGHTARG = float, + COMMUTATOR = |=| +); +CREATE OPERATOR |=| ( + PROCEDURE = nearestApproachDistance, + LEFTARG = tfloat, RIGHTARG = tbox, + COMMUTATOR = |=| +); +CREATE OPERATOR |=| ( + PROCEDURE = nearestApproachDistance, + LEFTARG = tfloat, RIGHTARG = tfloat, + COMMUTATOR = |=| +); + +/*****************************************************************************/ diff --git a/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/temporal/038_temporal_similarity.in.sql b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/temporal/038_temporal_similarity.in.sql new file mode 100644 index 00000000..2b489ec2 --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/temporal/038_temporal_similarity.in.sql @@ -0,0 +1,89 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @file + * @brief Similarity distance for temporal values + * @note Currently, the discrete Frechet distance, the Dynamic Time Warping + * (DTW) distance, and the Hausdorff distance are implemented + */ + +CREATE FUNCTION frechetDistance(tint, tint) + RETURNS float + AS 'MODULE_PATHNAME', 'Temporal_frechet_distance' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION frechetDistance(tfloat, tfloat) + RETURNS float + AS 'MODULE_PATHNAME', 'Temporal_frechet_distance' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION dynTimeWarpDistance(tint, tint) + RETURNS float + AS 'MODULE_PATHNAME', 'Temporal_dyntimewarp_distance' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION dynTimeWarpDistance(tfloat, tfloat) + RETURNS float + AS 'MODULE_PATHNAME', 'Temporal_dyntimewarp_distance' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION hausdorffDistance(tint, tint) + RETURNS float + AS 'MODULE_PATHNAME', 'Temporal_hausdorff_distance' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION hausdorffDistance(tfloat, tfloat) + RETURNS float + AS 'MODULE_PATHNAME', 'Temporal_hausdorff_distance' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/*****************************************************************************/ + +CREATE TYPE warp AS ( + i integer, + j integer +); + +CREATE FUNCTION frechetDistancePath(tint, tint) + RETURNS SETOF warp + AS 'MODULE_PATHNAME', 'Temporal_frechet_path' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION frechetDistancePath(tfloat, tfloat) + RETURNS SETOF warp + AS 'MODULE_PATHNAME', 'Temporal_frechet_path' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION dynTimeWarpPath(tint, tint) + RETURNS SETOF warp + AS 'MODULE_PATHNAME', 'Temporal_dyntimewarp_path' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION dynTimeWarpPath(tfloat, tfloat) + RETURNS SETOF warp + AS 'MODULE_PATHNAME', 'Temporal_dyntimewarp_path' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/*****************************************************************************/ diff --git a/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/temporal/040_temporal_aggfuncs.in.sql b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/temporal/040_temporal_aggfuncs.in.sql new file mode 100644 index 00000000..d984ca13 --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/temporal/040_temporal_aggfuncs.in.sql @@ -0,0 +1,730 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @file + * @brief Temporal aggregate functions + */ + +-- The function is not strict +CREATE FUNCTION temporal_extent_transfn(tstzspan, tbool) + RETURNS tstzspan + AS 'MODULE_PATHNAME', 'Temporal_extent_transfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION temporal_extent_transfn(tstzspan, ttext) + RETURNS tstzspan + AS 'MODULE_PATHNAME', 'Temporal_extent_transfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION temporal_extent_combinefn(tstzspan, tstzspan) + RETURNS tstzspan + AS 'MODULE_PATHNAME', 'Span_extent_combinefn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; + +CREATE AGGREGATE extent(tbool) ( + SFUNC = temporal_extent_transfn, + STYPE = tstzspan, + COMBINEFUNC = temporal_extent_combinefn, + PARALLEL = safe +); +CREATE AGGREGATE extent(ttext) ( + SFUNC = temporal_extent_transfn, + STYPE = tstzspan, + COMBINEFUNC = temporal_extent_combinefn, + PARALLEL = safe +); + +-- The function is not strict +CREATE FUNCTION tnumber_extent_transfn(tbox, tint) + RETURNS tbox + AS 'MODULE_PATHNAME', 'Tnumber_extent_transfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION tnumber_extent_transfn(tbox, tfloat) + RETURNS tbox + AS 'MODULE_PATHNAME', 'Tnumber_extent_transfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION tnumber_extent_combinefn(tbox, tbox) + RETURNS tbox + AS 'MODULE_PATHNAME', 'Tbox_extent_combinefn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; + +CREATE AGGREGATE extent(tint) ( + SFUNC = tnumber_extent_transfn, + STYPE = tbox, + COMBINEFUNC = tnumber_extent_combinefn, + PARALLEL = safe +); +CREATE AGGREGATE extent(tfloat) ( + SFUNC = tnumber_extent_transfn, + STYPE = tbox, + COMBINEFUNC = tnumber_extent_combinefn, + PARALLEL = safe +); + +/*****************************************************************************/ + +CREATE FUNCTION taggstate_serialize(internal) + RETURNS bytea + AS 'MODULE_PATHNAME', 'Taggstate_serialize' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION taggstate_deserialize(bytea, internal) + RETURNS internal + AS 'MODULE_PATHNAME', 'Taggstate_deserialize' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/*****************************************************************************/ + +-- The function is not strict +CREATE FUNCTION tcount_transfn(internal, timestamptz) + RETURNS internal + AS 'MODULE_PATHNAME', 'Timestamptz_tcount_transfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION tcount_transfn(internal, tstzset) + RETURNS internal + AS 'MODULE_PATHNAME', 'Tstzset_tcount_transfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION tcount_transfn(internal, tstzspan) + RETURNS internal + AS 'MODULE_PATHNAME', 'Tstzspan_tcount_transfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION tcount_transfn(internal, tstzspanset) + RETURNS internal + AS 'MODULE_PATHNAME', 'Tstzspanset_tcount_transfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; + +CREATE FUNCTION tcount_combinefn(internal, internal) + RETURNS internal + AS 'MODULE_PATHNAME', 'Temporal_tcount_combinefn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION tint_tagg_finalfn(internal) + RETURNS tint + AS 'MODULE_PATHNAME', 'Temporal_tagg_finalfn' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE AGGREGATE tcount(timestamptz) ( + SFUNC = tcount_transfn, + STYPE = internal, + COMBINEFUNC = tcount_combinefn, + FINALFUNC = tint_tagg_finalfn, + SERIALFUNC = taggstate_serialize, + DESERIALFUNC = taggstate_deserialize, + PARALLEL = SAFE +); + +CREATE AGGREGATE tcount(tstzset) ( + SFUNC = tcount_transfn, + STYPE = internal, + COMBINEFUNC = tcount_combinefn, + FINALFUNC = tint_tagg_finalfn, + SERIALFUNC = taggstate_serialize, + DESERIALFUNC = taggstate_deserialize, + PARALLEL = SAFE +); + +CREATE AGGREGATE tcount(tstzspan) ( + SFUNC = tcount_transfn, + STYPE = internal, + COMBINEFUNC = tcount_combinefn, + FINALFUNC = tint_tagg_finalfn, + SERIALFUNC = taggstate_serialize, + DESERIALFUNC = taggstate_deserialize, + PARALLEL = SAFE +); + +CREATE AGGREGATE tcount(tstzspanset) ( + SFUNC = tcount_transfn, + STYPE = internal, + COMBINEFUNC = tcount_combinefn, + FINALFUNC = tint_tagg_finalfn, + SERIALFUNC = taggstate_serialize, + DESERIALFUNC = taggstate_deserialize, + PARALLEL = SAFE +); + +/*****************************************************************************/ + +-- The function is not strict +CREATE FUNCTION tcount_transfn(internal, tbool) + RETURNS internal + AS 'MODULE_PATHNAME', 'Temporal_tcount_transfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; + +CREATE FUNCTION tbool_tand_transfn(internal, tbool) + RETURNS internal + AS 'MODULE_PATHNAME', 'Tbool_tand_transfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION tbool_tand_combinefn(internal, internal) + RETURNS internal + AS 'MODULE_PATHNAME', 'Tbool_tand_combinefn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION tbool_tor_transfn(internal, tbool) + RETURNS internal + AS 'MODULE_PATHNAME', 'Tbool_tor_transfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION tbool_tor_combinefn(internal, internal) + RETURNS internal + AS 'MODULE_PATHNAME', 'Tbool_tor_combinefn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION tbool_tagg_finalfn(internal) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Temporal_tagg_finalfn' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE AGGREGATE tcount(tbool) ( + SFUNC = tcount_transfn, + STYPE = internal, + COMBINEFUNC = tcount_combinefn, + FINALFUNC = tint_tagg_finalfn, + SERIALFUNC = taggstate_serialize, + DESERIALFUNC = taggstate_deserialize, + PARALLEL = SAFE +); + +CREATE AGGREGATE tand(tbool) ( + SFUNC = tbool_tand_transfn, + STYPE = internal, + COMBINEFUNC = tbool_tand_combinefn, + FINALFUNC = tbool_tagg_finalfn, + SERIALFUNC = taggstate_serialize, + DESERIALFUNC = taggstate_deserialize, + PARALLEL = SAFE +); +CREATE AGGREGATE tor(tbool) ( + SFUNC = tbool_tor_transfn, + STYPE = internal, + COMBINEFUNC = tbool_tor_combinefn, + FINALFUNC = tbool_tagg_finalfn, + SERIALFUNC = taggstate_serialize, + DESERIALFUNC = taggstate_deserialize, + PARALLEL = SAFE +); + +/*****************************************************************************/ + +-- The function is not strict +CREATE FUNCTION tcount_transfn(internal, tint) + RETURNS internal + AS 'MODULE_PATHNAME', 'Temporal_tcount_transfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; + +CREATE FUNCTION tint_tmin_transfn(internal, tint) + RETURNS internal + AS 'MODULE_PATHNAME', 'Tint_tmin_transfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION tint_tmin_combinefn(internal, internal) + RETURNS internal + AS 'MODULE_PATHNAME', 'Tint_tmin_combinefn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION tint_tmax_transfn(internal, tint) + RETURNS internal + AS 'MODULE_PATHNAME', 'Tint_tmax_transfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION tint_tmax_combinefn(internal, internal) + RETURNS internal + AS 'MODULE_PATHNAME', 'Tint_tmax_combinefn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION tint_tsum_transfn(internal, tint) + RETURNS internal + AS 'MODULE_PATHNAME', 'Tint_tsum_transfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION tint_tsum_combinefn(internal, internal) + RETURNS internal + AS 'MODULE_PATHNAME', 'Tint_tsum_combinefn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; + +CREATE FUNCTION tavg_transfn(internal, tint) + RETURNS internal + AS 'MODULE_PATHNAME', 'Tnumber_tavg_transfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION tavg_combinefn(internal, internal) + RETURNS internal + AS 'MODULE_PATHNAME', 'Tnumber_tavg_combinefn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION tavg_finalfn(internal) + RETURNS tfloat + AS 'MODULE_PATHNAME', 'Tnumber_tavg_finalfn' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE AGGREGATE tcount(tint) ( + SFUNC = tcount_transfn, + STYPE = internal, + COMBINEFUNC = tcount_combinefn, + FINALFUNC = tint_tagg_finalfn, + SERIALFUNC = taggstate_serialize, + DESERIALFUNC = taggstate_deserialize, + PARALLEL = SAFE +); + +CREATE AGGREGATE tmin(tint) ( + SFUNC = tint_tmin_transfn, + STYPE = internal, + COMBINEFUNC = tint_tmin_combinefn, + FINALFUNC = tint_tagg_finalfn, + SERIALFUNC = taggstate_serialize, + DESERIALFUNC = taggstate_deserialize, + PARALLEL = SAFE +); +CREATE AGGREGATE tmax(tint) ( + SFUNC = tint_tmax_transfn, + STYPE = internal, + COMBINEFUNC = tint_tmax_combinefn, + FINALFUNC = tint_tagg_finalfn, + SERIALFUNC = taggstate_serialize, + DESERIALFUNC = taggstate_deserialize, + PARALLEL = SAFE +); +CREATE AGGREGATE tsum(tint) ( + SFUNC = tint_tsum_transfn, + STYPE = internal, + COMBINEFUNC = tint_tsum_combinefn, + FINALFUNC = tint_tagg_finalfn, + SERIALFUNC = taggstate_serialize, + DESERIALFUNC = taggstate_deserialize, + PARALLEL = SAFE +); +CREATE AGGREGATE tavg(tint) ( + SFUNC = tavg_transfn, + STYPE = internal, + COMBINEFUNC = tavg_combinefn, + FINALFUNC = tavg_finalfn, + SERIALFUNC = taggstate_serialize, + DESERIALFUNC = taggstate_deserialize, + PARALLEL = SAFE +); + +-- The function is not strict +CREATE FUNCTION tcount_transfn(internal, tfloat) + RETURNS internal + AS 'MODULE_PATHNAME', 'Temporal_tcount_transfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; + +CREATE FUNCTION tfloat_tmin_transfn(internal, tfloat) + RETURNS internal + AS 'MODULE_PATHNAME', 'Tfloat_tmin_transfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION tfloat_tmin_combinefn(internal, internal) + RETURNS internal + AS 'MODULE_PATHNAME', 'Tfloat_tmin_combinefn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION tfloat_tmax_transfn(internal, tfloat) + RETURNS internal + AS 'MODULE_PATHNAME', 'Tfloat_tmax_transfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION tfloat_tmax_combinefn(internal, internal) + RETURNS internal + AS 'MODULE_PATHNAME', 'Tfloat_tmax_combinefn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION tfloat_tsum_transfn(internal, tfloat) + RETURNS internal + AS 'MODULE_PATHNAME', 'Tfloat_tsum_transfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION tfloat_tsum_combinefn(internal, internal) + RETURNS internal + AS 'MODULE_PATHNAME', 'Tfloat_tsum_combinefn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION tfloat_tagg_finalfn(internal) + RETURNS tfloat + AS 'MODULE_PATHNAME', 'Temporal_tagg_finalfn' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +-- The function is not strict +CREATE FUNCTION tavg_transfn(internal, tfloat) + RETURNS internal + AS 'MODULE_PATHNAME', 'Tnumber_tavg_transfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; + +CREATE AGGREGATE tcount(tfloat) ( + SFUNC = tcount_transfn, + STYPE = internal, + COMBINEFUNC = tcount_combinefn, + FINALFUNC = tint_tagg_finalfn, + SERIALFUNC = taggstate_serialize, + DESERIALFUNC = taggstate_deserialize, + PARALLEL = SAFE +); + +CREATE AGGREGATE tmin(tfloat) ( + SFUNC = tfloat_tmin_transfn, + STYPE = internal, + COMBINEFUNC = tfloat_tmin_combinefn, + FINALFUNC = tfloat_tagg_finalfn, + SERIALFUNC = taggstate_serialize, + DESERIALFUNC = taggstate_deserialize, + PARALLEL = SAFE +); +CREATE AGGREGATE tmax(tfloat) ( + SFUNC = tfloat_tmax_transfn, + STYPE = internal, + COMBINEFUNC = tfloat_tmax_combinefn, + FINALFUNC = tfloat_tagg_finalfn, + SERIALFUNC = taggstate_serialize, + DESERIALFUNC = taggstate_deserialize, + PARALLEL = SAFE +); +CREATE AGGREGATE tsum(tfloat) ( + SFUNC = tfloat_tsum_transfn, + STYPE = internal, + COMBINEFUNC = tfloat_tsum_combinefn, + FINALFUNC = tfloat_tagg_finalfn, + SERIALFUNC = taggstate_serialize, + DESERIALFUNC = taggstate_deserialize, + PARALLEL = SAFE +); +CREATE AGGREGATE tavg(tfloat) ( + SFUNC = tavg_transfn, + STYPE = internal, + COMBINEFUNC = tavg_combinefn, + FINALFUNC = tavg_finalfn, + SERIALFUNC = taggstate_serialize, + DESERIALFUNC = taggstate_deserialize, + PARALLEL = SAFE +); + +/*****************************************************************************/ + +-- The function is not strict +CREATE FUNCTION tcount_transfn(internal, ttext) + RETURNS internal + AS 'MODULE_PATHNAME', 'Temporal_tcount_transfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; + +CREATE FUNCTION ttext_tmin_transfn(internal, ttext) + RETURNS internal + AS 'MODULE_PATHNAME', 'Ttext_tmin_transfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION ttext_tmin_combinefn(internal, internal) + RETURNS internal + AS 'MODULE_PATHNAME', 'Ttext_tmin_combinefn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION ttext_tmax_transfn(internal, ttext) + RETURNS internal + AS 'MODULE_PATHNAME', 'Ttext_tmax_transfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION ttext_tmax_combinefn(internal, internal) + RETURNS internal + AS 'MODULE_PATHNAME', 'Ttext_tmax_combinefn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION ttext_tagg_finalfn(internal) + RETURNS ttext + AS 'MODULE_PATHNAME', 'Temporal_tagg_finalfn' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE AGGREGATE tcount(ttext) ( + SFUNC = tcount_transfn, + STYPE = internal, + COMBINEFUNC = tcount_combinefn, + FINALFUNC = tint_tagg_finalfn, + SERIALFUNC = taggstate_serialize, + DESERIALFUNC = taggstate_deserialize, + PARALLEL = SAFE +); + +CREATE AGGREGATE tmin(ttext) ( + SFUNC = ttext_tmin_transfn, + STYPE = internal, + COMBINEFUNC = ttext_tmin_combinefn, + FINALFUNC = ttext_tagg_finalfn, + SERIALFUNC = taggstate_serialize, + DESERIALFUNC = taggstate_deserialize, + PARALLEL = SAFE +); +CREATE AGGREGATE tmax(ttext) ( + SFUNC = ttext_tmax_transfn, + STYPE = internal, + COMBINEFUNC = ttext_tmax_combinefn, + FINALFUNC = ttext_tagg_finalfn, + SERIALFUNC = taggstate_serialize, + DESERIALFUNC = taggstate_deserialize, + PARALLEL = SAFE +); + +/*****************************************************************************/ + +-- The function is not strict +CREATE FUNCTION temporal_merge_transfn(internal, tbool) + RETURNS internal + AS 'MODULE_PATHNAME', 'Temporal_merge_transfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION temporal_merge_transfn(internal, tint) + RETURNS internal + AS 'MODULE_PATHNAME', 'Temporal_merge_transfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION temporal_merge_transfn(internal, tfloat) + RETURNS internal + AS 'MODULE_PATHNAME', 'Temporal_merge_transfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION temporal_merge_transfn(internal, ttext) + RETURNS internal + AS 'MODULE_PATHNAME', 'Temporal_merge_transfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; + +CREATE FUNCTION temporal_merge_combinefn(internal, internal) + RETURNS internal + AS 'MODULE_PATHNAME', 'Temporal_merge_combinefn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; + +CREATE AGGREGATE merge(tbool) ( + SFUNC = temporal_merge_transfn, + STYPE = internal, + COMBINEFUNC = temporal_merge_combinefn, + FINALFUNC = tbool_tagg_finalfn, + SERIALFUNC = taggstate_serialize, + DESERIALFUNC = taggstate_deserialize, + PARALLEL = safe +); +CREATE AGGREGATE merge(tint) ( + SFUNC = temporal_merge_transfn, + STYPE = internal, + COMBINEFUNC = temporal_merge_combinefn, + FINALFUNC = tint_tagg_finalfn, + SERIALFUNC = taggstate_serialize, + DESERIALFUNC = taggstate_deserialize, + PARALLEL = safe +); +CREATE AGGREGATE merge(tfloat) ( + SFUNC = temporal_merge_transfn, + STYPE = internal, + COMBINEFUNC = temporal_merge_combinefn, + FINALFUNC = tfloat_tagg_finalfn, + SERIALFUNC = taggstate_serialize, + DESERIALFUNC = taggstate_deserialize, + PARALLEL = safe +); +CREATE AGGREGATE merge(ttext) ( + SFUNC = temporal_merge_transfn, + STYPE = internal, + COMBINEFUNC = temporal_merge_combinefn, + FINALFUNC = ttext_tagg_finalfn, + SERIALFUNC = taggstate_serialize, + DESERIALFUNC = taggstate_deserialize, + PARALLEL = safe +); + +/***************************************************************************** + * Append aggregate functions + *****************************************************************************/ + +-- Default interpolation based on the base type +CREATE FUNCTION temporal_app_tinst_transfn(tbool, tbool) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Temporal_app_tinst_transfn' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_app_tinst_transfn(tint, tint) + RETURNS tint + AS 'MODULE_PATHNAME', 'Temporal_app_tinst_transfn' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_app_tinst_transfn(tfloat, tfloat) + RETURNS tfloat + AS 'MODULE_PATHNAME', 'Temporal_app_tinst_transfn' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_app_tinst_transfn(ttext, ttext) + RETURNS ttext + AS 'MODULE_PATHNAME', 'Temporal_app_tinst_transfn' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +-- Interpolation given by the user +CREATE FUNCTION temporal_app_tinst_transfn(tbool, tbool, interp text) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Temporal_app_tinst_transfn' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_app_tinst_transfn(tint, tint, interp text) + RETURNS tint + AS 'MODULE_PATHNAME', 'Temporal_app_tinst_transfn' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_app_tinst_transfn(tfloat, tfloat, interp text) + RETURNS tfloat + AS 'MODULE_PATHNAME', 'Temporal_app_tinst_transfn' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_app_tinst_transfn(ttext, ttext, interp text) + RETURNS ttext + AS 'MODULE_PATHNAME', 'Temporal_app_tinst_transfn' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +-- These functions are not strict +CREATE FUNCTION temporal_app_tinst_transfn(tbool, tbool, interp text, + maxt interval) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Temporal_app_tinst_transfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION temporal_app_tinst_transfn(tint, tint, interp text, + maxdist float, maxt interval) + RETURNS tint + AS 'MODULE_PATHNAME', 'Temporal_app_tinst_transfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION temporal_app_tinst_transfn(tfloat, tfloat, interp text, + maxdist float, maxt interval) + RETURNS tfloat + AS 'MODULE_PATHNAME', 'Temporal_app_tinst_transfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION temporal_app_tinst_transfn(ttext, ttext, interp text, + maxt interval) + RETURNS ttext + AS 'MODULE_PATHNAME', 'Temporal_app_tinst_transfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; + +CREATE FUNCTION temporal_append_finalfn(tbool) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Temporal_append_finalfn' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_append_finalfn(tint) + RETURNS tint + AS 'MODULE_PATHNAME', 'Temporal_append_finalfn' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_append_finalfn(tfloat) + RETURNS tfloat + AS 'MODULE_PATHNAME', 'Temporal_append_finalfn' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION temporal_append_finalfn(ttext) + RETURNS ttext + AS 'MODULE_PATHNAME', 'Temporal_append_finalfn' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE AGGREGATE appendInstant(tbool) ( + SFUNC = temporal_app_tinst_transfn(tbool, tbool), + STYPE = tbool, + FINALFUNC = temporal_append_finalfn, + PARALLEL = safe +); +CREATE AGGREGATE appendInstant(tbool, interp text) ( + SFUNC = temporal_app_tinst_transfn(tbool, tbool, text), + STYPE = tbool, + FINALFUNC = temporal_append_finalfn, + PARALLEL = safe +); +CREATE AGGREGATE appendInstant(tbool, interp text, maxt interval) ( + SFUNC = temporal_app_tinst_transfn(tbool, tbool, text, maxt), + STYPE = tbool, + FINALFUNC = temporal_append_finalfn, + PARALLEL = safe +); + +CREATE AGGREGATE appendInstant(tint) ( + SFUNC = temporal_app_tinst_transfn(tint, tint), + STYPE = tint, + FINALFUNC = temporal_append_finalfn, + PARALLEL = safe +); +CREATE AGGREGATE appendInstant(tint, interp text) ( + SFUNC = temporal_app_tinst_transfn(tint, tint, text), + STYPE = tint, + FINALFUNC = temporal_append_finalfn, + PARALLEL = safe +); +CREATE AGGREGATE appendInstant(tint, interp text, maxdist float, + maxt interval) ( + SFUNC = temporal_app_tinst_transfn(tint, tint, text, maxdist, maxt), + STYPE = tint, + FINALFUNC = temporal_append_finalfn, + PARALLEL = safe +); + +CREATE AGGREGATE appendInstant(tfloat) ( + SFUNC = temporal_app_tinst_transfn(tfloat, tfloat), + STYPE = tfloat, + FINALFUNC = temporal_append_finalfn, + PARALLEL = safe +); +CREATE AGGREGATE appendInstant(tfloat, interp text) ( + SFUNC = temporal_app_tinst_transfn(tfloat, tfloat, text), + STYPE = tfloat, + FINALFUNC = temporal_append_finalfn, + PARALLEL = safe +); +CREATE AGGREGATE appendInstant(tfloat, interp text, maxdist float, + maxt interval) ( + SFUNC = temporal_app_tinst_transfn(tfloat, tfloat, text, maxdist, maxt), + STYPE = tfloat, + FINALFUNC = temporal_append_finalfn, + PARALLEL = safe +); + +CREATE AGGREGATE appendInstant(ttext) ( + SFUNC = temporal_app_tinst_transfn(ttext, ttext), + STYPE = ttext, + FINALFUNC = temporal_append_finalfn, + PARALLEL = safe +); +CREATE AGGREGATE appendInstant(ttext, interp text) ( + SFUNC = temporal_app_tinst_transfn(ttext, ttext, text), + STYPE = ttext, + FINALFUNC = temporal_append_finalfn, + PARALLEL = safe +); +CREATE AGGREGATE appendInstant(ttext, interp text, maxt interval) ( + SFUNC = temporal_app_tinst_transfn(ttext, ttext, text, maxt), + STYPE = ttext, + FINALFUNC = temporal_append_finalfn, + PARALLEL = safe +); + +/*****************************************************************************/ + +-- The function is not STRICT +CREATE FUNCTION temporal_app_tseq_transfn(tbool, tbool) + RETURNS tbool + AS 'MODULE_PATHNAME', 'Temporal_app_tseq_transfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION temporal_app_tseq_transfn(tint, tint) + RETURNS tint + AS 'MODULE_PATHNAME', 'Temporal_app_tseq_transfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION temporal_app_tseq_transfn(tfloat, tfloat) + RETURNS tfloat + AS 'MODULE_PATHNAME', 'Temporal_app_tseq_transfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION temporal_app_tseq_transfn(ttext, ttext) + RETURNS ttext + AS 'MODULE_PATHNAME', 'Temporal_app_tseq_transfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; + +CREATE AGGREGATE appendSequence(tbool) ( + SFUNC = temporal_app_tseq_transfn, + STYPE = tbool, + FINALFUNC = temporal_append_finalfn, + PARALLEL = safe +); +CREATE AGGREGATE appendSequence(tint) ( + SFUNC = temporal_app_tseq_transfn, + STYPE = tint, + FINALFUNC = temporal_append_finalfn, + PARALLEL = safe +); +CREATE AGGREGATE appendSequence(tfloat) ( + SFUNC = temporal_app_tseq_transfn, + STYPE = tfloat, + FINALFUNC = temporal_append_finalfn, + PARALLEL = safe +); +CREATE AGGREGATE appendSequence(ttext) ( + SFUNC = temporal_app_tseq_transfn, + STYPE = ttext, + FINALFUNC = temporal_append_finalfn, + PARALLEL = safe +); + +/*****************************************************************************/ diff --git a/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/temporal/042_temporal_waggfuncs.in.sql b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/temporal/042_temporal_waggfuncs.in.sql new file mode 100644 index 00000000..b07a0e4a --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/temporal/042_temporal_waggfuncs.in.sql @@ -0,0 +1,173 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @file + * @brief Moving window temporal aggregate functions + */ + +-- The function is not strict +CREATE FUNCTION tint_wmin_transfn(internal, tint, interval) + RETURNS internal + AS 'MODULE_PATHNAME', 'Tint_wmin_transfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION tint_wmax_transfn(internal, tint, interval) + RETURNS internal + AS 'MODULE_PATHNAME', 'Tint_wmax_transfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION tint_wsum_transfn(internal, tint, interval) + RETURNS internal + AS 'MODULE_PATHNAME', 'Tint_wsum_transfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION wcount_transfn(internal, tint, interval) + RETURNS internal + AS 'MODULE_PATHNAME', 'Temporal_wcount_transfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION wavg_transfn(internal, tint, interval) + RETURNS internal + AS 'MODULE_PATHNAME', 'Tnumber_wavg_transfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; + +CREATE AGGREGATE wmin(tint, interval) ( + SFUNC = tint_wmin_transfn, + STYPE = internal, + COMBINEFUNC = tint_tmin_combinefn, + FINALFUNC = tint_tagg_finalfn, + SERIALFUNC = taggstate_serialize, + DESERIALFUNC = taggstate_deserialize, + PARALLEL = SAFE +); +CREATE AGGREGATE wmax(tint, interval) ( + SFUNC = tint_wmax_transfn, + STYPE = internal, + COMBINEFUNC = tint_tmax_combinefn, + FINALFUNC = tint_tagg_finalfn, + SERIALFUNC = taggstate_serialize, + DESERIALFUNC = taggstate_deserialize, + PARALLEL = SAFE +); +CREATE AGGREGATE wsum(tint, interval) ( + SFUNC = tint_wsum_transfn, + STYPE = internal, + COMBINEFUNC = tint_tsum_combinefn, + FINALFUNC = tint_tagg_finalfn, + SERIALFUNC = taggstate_serialize, + DESERIALFUNC = taggstate_deserialize, + PARALLEL = SAFE +); +CREATE AGGREGATE wcount(tint, interval) ( + SFUNC = wcount_transfn, + STYPE = internal, + COMBINEFUNC = tint_tsum_combinefn, + FINALFUNC = tint_tagg_finalfn, + SERIALFUNC = taggstate_serialize, + DESERIALFUNC = taggstate_deserialize, + PARALLEL = SAFE +); +CREATE AGGREGATE wavg(tint, interval) ( + SFUNC = wavg_transfn, + STYPE = internal, + COMBINEFUNC = tavg_combinefn, + FINALFUNC = tavg_finalfn, + SERIALFUNC = taggstate_serialize, + DESERIALFUNC = taggstate_deserialize, + PARALLEL = SAFE +); + +/*****************************************************************************/ + +-- The function is not strict +CREATE FUNCTION tfloat_wmin_transfn(internal, tfloat, interval) + RETURNS internal + AS 'MODULE_PATHNAME', 'Tfloat_wmin_transfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION tfloat_wmax_transfn(internal, tfloat, interval) + RETURNS internal + AS 'MODULE_PATHNAME', 'Tfloat_wmax_transfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION tfloat_wsum_transfn(internal, tfloat, interval) + RETURNS internal + AS 'MODULE_PATHNAME', 'Tfloat_wsum_transfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION wcount_transfn(internal, tfloat, interval) + RETURNS internal + AS 'MODULE_PATHNAME', 'Temporal_wcount_transfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; +CREATE FUNCTION wavg_transfn(internal, tfloat, interval) + RETURNS internal + AS 'MODULE_PATHNAME', 'Tnumber_wavg_transfn' + LANGUAGE C IMMUTABLE PARALLEL SAFE; + +CREATE AGGREGATE wmin(tfloat, interval) ( + SFUNC = tfloat_wmin_transfn, + STYPE = internal, + COMBINEFUNC = tfloat_tmin_combinefn, + FINALFUNC = tfloat_tagg_finalfn, + SERIALFUNC = taggstate_serialize, + DESERIALFUNC = taggstate_deserialize, + PARALLEL = SAFE +); +CREATE AGGREGATE wmax(tfloat, interval) ( + SFUNC = tfloat_wmax_transfn, + STYPE = internal, + COMBINEFUNC = tfloat_tmax_combinefn, + FINALFUNC = tfloat_tagg_finalfn, + SERIALFUNC = taggstate_serialize, + DESERIALFUNC = taggstate_deserialize, + PARALLEL = SAFE +); +CREATE AGGREGATE wsum(tfloat, interval) ( + SFUNC = tfloat_wsum_transfn, + STYPE = internal, + COMBINEFUNC = tfloat_tsum_combinefn, + FINALFUNC = tfloat_tagg_finalfn, + SERIALFUNC = taggstate_serialize, + DESERIALFUNC = taggstate_deserialize, + PARALLEL = SAFE +); +CREATE AGGREGATE wcount(tfloat, interval) ( + SFUNC = wcount_transfn, + STYPE = internal, + COMBINEFUNC = tint_tsum_combinefn, + FINALFUNC = tint_tagg_finalfn, + SERIALFUNC = taggstate_serialize, + DESERIALFUNC = taggstate_deserialize, + PARALLEL = SAFE +); +CREATE AGGREGATE wavg(tfloat, interval) ( + SFUNC = wavg_transfn, + STYPE = internal, + COMBINEFUNC = tavg_combinefn, + FINALFUNC = tavg_finalfn, + SERIALFUNC = taggstate_serialize, + DESERIALFUNC = taggstate_deserialize, + PARALLEL = SAFE +); + +/*****************************************************************************/ diff --git a/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/temporal/043_temporal_gist.in.sql b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/temporal/043_temporal_gist.in.sql new file mode 100644 index 00000000..7c2a01c2 --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/temporal/043_temporal_gist.in.sql @@ -0,0 +1,392 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @file + * @brief R-tree GiST index for temporal types + */ + +/******************************************************************************/ + +CREATE FUNCTION tbox_gist_consistent(internal, tbox, smallint, oid, internal) + RETURNS bool + AS 'MODULE_PATHNAME', 'Tnumber_gist_consistent' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tbox_gist_union(internal, internal) + RETURNS internal + AS 'MODULE_PATHNAME', 'Tbox_gist_union' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tbox_gist_penalty(internal, internal, internal) + RETURNS internal + AS 'MODULE_PATHNAME', 'Tbox_gist_penalty' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tbox_gist_picksplit(internal, internal) + RETURNS internal + AS 'MODULE_PATHNAME', 'Tbox_gist_picksplit' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tbox_gist_same(tbox, tbox, internal) + RETURNS internal + AS 'MODULE_PATHNAME', 'Tbox_gist_same' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tbox_gist_distance(internal, tbox, smallint, oid, internal) + RETURNS float8 + AS 'MODULE_PATHNAME', 'Tbox_gist_distance' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/******************************************************************************/ + +CREATE FUNCTION tbool_gist_consistent(internal, tbool, smallint, oid, internal) + RETURNS bool + AS 'MODULE_PATHNAME', 'Span_gist_consistent' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tbool_gist_compress(internal) + RETURNS internal + AS 'MODULE_PATHNAME', 'Temporal_gist_compress' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION tint_gist_consistent(internal, tint, smallint, oid, internal) + RETURNS bool + AS 'MODULE_PATHNAME', 'Tnumber_gist_consistent' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tint_gist_compress(internal) + RETURNS internal + AS 'MODULE_PATHNAME', 'Tnumber_gist_compress' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION tfloat_gist_consistent(internal, tfloat, smallint, oid, internal) + RETURNS bool + AS 'MODULE_PATHNAME', 'Tnumber_gist_consistent' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tfloat_gist_compress(internal) + RETURNS internal + AS 'MODULE_PATHNAME', 'Tnumber_gist_compress' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION ttext_gist_consistent(internal, ttext, smallint, oid, internal) + RETURNS bool + AS 'MODULE_PATHNAME', 'Span_gist_consistent' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION ttext_gist_compress(internal) + RETURNS internal + AS 'MODULE_PATHNAME', 'Temporal_gist_compress' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/******************************************************************************/ + +CREATE OPERATOR CLASS tbox_rtree_ops + DEFAULT FOR TYPE tbox USING gist AS + -- strictly left + OPERATOR 1 << (tbox, tbox), + OPERATOR 1 << (tbox, tint), + OPERATOR 1 << (tbox, tfloat), + -- overlaps or left + OPERATOR 2 &< (tbox, tbox), + OPERATOR 2 &< (tbox, tint), + OPERATOR 2 &< (tbox, tfloat), + -- overlaps + OPERATOR 3 && (tbox, tbox), + OPERATOR 3 && (tbox, tint), + OPERATOR 3 && (tbox, tfloat), + -- overlaps or right + OPERATOR 4 &> (tbox, tbox), + OPERATOR 4 &> (tbox, tint), + OPERATOR 4 &> (tbox, tfloat), + -- strictly right + OPERATOR 5 >> (tbox, tbox), + OPERATOR 5 >> (tbox, tint), + OPERATOR 5 >> (tbox, tfloat), + -- same + OPERATOR 6 ~= (tbox, tbox), + OPERATOR 6 ~= (tbox, tint), + OPERATOR 6 ~= (tbox, tfloat), + -- contains + OPERATOR 7 @> (tbox, tbox), + OPERATOR 7 @> (tbox, tint), + OPERATOR 7 @> (tbox, tfloat), + -- contained by + OPERATOR 8 <@ (tbox, tbox), + OPERATOR 8 <@ (tbox, tint), + OPERATOR 8 <@ (tbox, tfloat), + -- adjacent + OPERATOR 17 -|- (tbox, tbox), + OPERATOR 17 -|- (tbox, tint), + OPERATOR 17 -|- (tbox, tfloat), + -- overlaps or before + OPERATOR 28 &<# (tbox, tbox), + OPERATOR 28 &<# (tbox, tint), + OPERATOR 28 &<# (tbox, tfloat), + -- strictly before + OPERATOR 29 <<# (tbox, tbox), + OPERATOR 29 <<# (tbox, tint), + OPERATOR 29 <<# (tbox, tfloat), + -- strictly after + OPERATOR 30 #>> (tbox, tbox), + OPERATOR 30 #>> (tbox, tint), + OPERATOR 30 #>> (tbox, tfloat), + -- overlaps or after + OPERATOR 31 #&> (tbox, tbox), + OPERATOR 31 #&> (tbox, tint), + OPERATOR 31 #&> (tbox, tfloat), + -- functions + FUNCTION 1 tbox_gist_consistent(internal, tbox, smallint, oid, internal), + FUNCTION 2 tbox_gist_union(internal, internal), + FUNCTION 5 tbox_gist_penalty(internal, internal, internal), + FUNCTION 6 tbox_gist_picksplit(internal, internal), + FUNCTION 7 tbox_gist_same(tbox, tbox, internal), + FUNCTION 8 tbox_gist_distance(internal, tbox, smallint, oid, internal); + +/******************************************************************************/ + +CREATE OPERATOR CLASS tbool_rtree_ops + DEFAULT FOR TYPE tbool USING gist AS + STORAGE tstzspan, + -- overlaps + OPERATOR 3 && (tbool, tstzspan), + OPERATOR 3 && (tbool, tbool), + -- same + OPERATOR 6 ~= (tbool, tstzspan), + OPERATOR 6 ~= (tbool, tbool), + -- contains + OPERATOR 7 @> (tbool, tstzspan), + OPERATOR 7 @> (tbool, tbool), + -- contained by + OPERATOR 8 <@ (tbool, tstzspan), + OPERATOR 8 <@ (tbool, tbool), + -- adjacent + OPERATOR 17 -|- (tbool, tstzspan), + OPERATOR 17 -|- (tbool, tbool), + -- overlaps or before + OPERATOR 28 &<# (tbool, tstzspan), + OPERATOR 28 &<# (tbool, tbool), + -- strictly before + OPERATOR 29 <<# (tbool, tstzspan), + OPERATOR 29 <<# (tbool, tbool), + -- strictly after + OPERATOR 30 #>> (tbool, tstzspan), + OPERATOR 30 #>> (tbool, tbool), + -- overlaps or after + OPERATOR 31 #&> (tbool, tstzspan), + OPERATOR 31 #&> (tbool, tbool), + -- functions + FUNCTION 1 tbool_gist_consistent(internal, tbool, smallint, oid, internal), + FUNCTION 2 span_gist_union(internal, internal), + FUNCTION 3 tbool_gist_compress(internal), + FUNCTION 5 span_gist_penalty(internal, internal, internal), + FUNCTION 6 span_gist_picksplit(internal, internal), + FUNCTION 7 span_gist_same(tstzspan, tstzspan, internal); + +/******************************************************************************/ + +CREATE OPERATOR CLASS tint_rtree_ops + DEFAULT FOR TYPE tint USING gist AS + STORAGE tbox, + -- strictly left + OPERATOR 1 << (tint, intspan), + OPERATOR 1 << (tint, tbox), + OPERATOR 1 << (tint, tint), + -- overlaps or left + OPERATOR 2 &< (tint, intspan), + OPERATOR 2 &< (tint, tbox), + OPERATOR 2 &< (tint, tint), + -- overlaps + OPERATOR 3 && (tint, intspan), + OPERATOR 3 && (tint, tstzspan), + OPERATOR 3 && (tint, tbox), + OPERATOR 3 && (tint, tint), + -- overlaps or right + OPERATOR 4 &> (tint, intspan), + OPERATOR 4 &> (tint, tbox), + OPERATOR 4 &> (tint, tint), + -- strictly right + OPERATOR 5 >> (tint, intspan), + OPERATOR 5 >> (tint, tbox), + OPERATOR 5 >> (tint, tint), + -- same + OPERATOR 6 ~= (tint, intspan), + OPERATOR 6 ~= (tint, tstzspan), + OPERATOR 6 ~= (tint, tbox), + OPERATOR 6 ~= (tint, tint), + -- contains + OPERATOR 7 @> (tint, intspan), + OPERATOR 7 @> (tint, tstzspan), + OPERATOR 7 @> (tint, tbox), + OPERATOR 7 @> (tint, tint), + -- contained by + OPERATOR 8 <@ (tint, intspan), + OPERATOR 8 <@ (tint, tstzspan), + OPERATOR 8 <@ (tint, tbox), + OPERATOR 8 <@ (tint, tint), + -- adjacent + OPERATOR 17 -|- (tint, intspan), + OPERATOR 17 -|- (tint, tstzspan), + OPERATOR 17 -|- (tint, tbox), + OPERATOR 17 -|- (tint, tint), + -- nearest approach distance + OPERATOR 25 |=| (tint, tbox) FOR ORDER BY pg_catalog.float_ops, + OPERATOR 25 |=| (tint, tint) FOR ORDER BY pg_catalog.float_ops, + -- overlaps or before + OPERATOR 28 &<# (tint, tstzspan), + OPERATOR 28 &<# (tint, tbox), + OPERATOR 28 &<# (tint, tint), + -- strictly before + OPERATOR 29 <<# (tint, tstzspan), + OPERATOR 29 <<# (tint, tbox), + OPERATOR 29 <<# (tint, tint), + -- strictly after + OPERATOR 30 #>> (tint, tstzspan), + OPERATOR 30 #>> (tint, tbox), + OPERATOR 30 #>> (tint, tint), + -- overlaps or after + OPERATOR 31 #&> (tint, tstzspan), + OPERATOR 31 #&> (tint, tbox), + OPERATOR 31 #&> (tint, tint), + -- functions + FUNCTION 1 tint_gist_consistent(internal, tint, smallint, oid, internal), + FUNCTION 2 tbox_gist_union(internal, internal), + FUNCTION 3 tint_gist_compress(internal), + FUNCTION 5 tbox_gist_penalty(internal, internal, internal), + FUNCTION 6 tbox_gist_picksplit(internal, internal), + FUNCTION 7 tbox_gist_same(tbox, tbox, internal), + FUNCTION 8 tbox_gist_distance(internal, tbox, smallint, oid, internal); + +/******************************************************************************/ + +CREATE OPERATOR CLASS tfloat_rtree_ops + DEFAULT FOR TYPE tfloat USING gist AS + STORAGE tbox, + -- strictly left + OPERATOR 1 << (tfloat, floatspan), + OPERATOR 1 << (tfloat, tbox), + OPERATOR 1 << (tfloat, tfloat), + -- overlaps or left + OPERATOR 2 &< (tfloat, floatspan), + OPERATOR 2 &< (tfloat, tbox), + OPERATOR 2 &< (tfloat, tfloat), + -- overlaps + OPERATOR 3 && (tfloat, floatspan), + OPERATOR 3 && (tfloat, tstzspan), + OPERATOR 3 && (tfloat, tbox), + OPERATOR 3 && (tfloat, tfloat), + -- overlaps or right + OPERATOR 4 &> (tfloat, floatspan), + OPERATOR 4 &> (tfloat, tbox), + OPERATOR 4 &> (tfloat, tfloat), + -- strictly right + OPERATOR 5 >> (tfloat, floatspan), + OPERATOR 5 >> (tfloat, tbox), + OPERATOR 5 >> (tfloat, tfloat), + -- same + OPERATOR 6 ~= (tfloat, floatspan), + OPERATOR 6 ~= (tfloat, tstzspan), + OPERATOR 6 ~= (tfloat, tbox), + OPERATOR 6 ~= (tfloat, tfloat), + -- contains + OPERATOR 7 @> (tfloat, floatspan), + OPERATOR 7 @> (tfloat, tstzspan), + OPERATOR 7 @> (tfloat, tbox), + OPERATOR 7 @> (tfloat, tfloat), + -- contained by + OPERATOR 8 <@ (tfloat, floatspan), + OPERATOR 8 <@ (tfloat, tstzspan), + OPERATOR 8 <@ (tfloat, tbox), + OPERATOR 8 <@ (tfloat, tfloat), + -- adjacent + OPERATOR 17 -|- (tfloat, floatspan), + OPERATOR 17 -|- (tfloat, tstzspan), + OPERATOR 17 -|- (tfloat, tbox), + OPERATOR 17 -|- (tfloat, tfloat), + -- nearest approach distance + OPERATOR 25 |=| (tfloat, tbox) FOR ORDER BY pg_catalog.float_ops, + OPERATOR 25 |=| (tfloat, tfloat) FOR ORDER BY pg_catalog.float_ops, + -- overlaps or before + OPERATOR 28 &<# (tfloat, tstzspan), + OPERATOR 28 &<# (tfloat, tbox), + OPERATOR 28 &<# (tfloat, tfloat), + -- strictly before + OPERATOR 29 <<# (tfloat, tstzspan), + OPERATOR 29 <<# (tfloat, tbox), + OPERATOR 29 <<# (tfloat, tfloat), + -- strictly after + OPERATOR 30 #>> (tfloat, tstzspan), + OPERATOR 30 #>> (tfloat, tbox), + OPERATOR 30 #>> (tfloat, tfloat), + -- overlaps or after + OPERATOR 31 #&> (tfloat, tstzspan), + OPERATOR 31 #&> (tfloat, tbox), + OPERATOR 31 #&> (tfloat, tfloat), + -- functions + FUNCTION 1 tfloat_gist_consistent(internal, tfloat, smallint, oid, internal), + FUNCTION 2 tbox_gist_union(internal, internal), + FUNCTION 3 tfloat_gist_compress(internal), + FUNCTION 5 tbox_gist_penalty(internal, internal, internal), + FUNCTION 6 tbox_gist_picksplit(internal, internal), + FUNCTION 7 tbox_gist_same(tbox, tbox, internal), + FUNCTION 8 tbox_gist_distance(internal, tbox, smallint, oid, internal); + +/******************************************************************************/ + +CREATE OPERATOR CLASS ttext_rtree_ops + DEFAULT FOR TYPE ttext USING gist AS + STORAGE tstzspan, + -- overlaps + OPERATOR 3 && (ttext, tstzspan), + OPERATOR 3 && (ttext, ttext), + -- same + OPERATOR 6 ~= (ttext, tstzspan), + OPERATOR 6 ~= (ttext, ttext), + -- contains + OPERATOR 7 @> (ttext, tstzspan), + OPERATOR 7 @> (ttext, ttext), + -- contained by + OPERATOR 8 <@ (ttext, tstzspan), + OPERATOR 8 <@ (ttext, ttext), + -- adjacent + OPERATOR 17 -|- (ttext, tstzspan), + OPERATOR 17 -|- (ttext, ttext), + -- overlaps or before + OPERATOR 28 &<# (ttext, tstzspan), + OPERATOR 28 &<# (ttext, ttext), + -- strictly before + OPERATOR 29 <<# (ttext, tstzspan), + OPERATOR 29 <<# (ttext, ttext), + -- strictly after + OPERATOR 30 #>> (ttext, tstzspan), + OPERATOR 30 #>> (ttext, ttext), + -- overlaps or after + OPERATOR 31 #&> (ttext, tstzspan), + OPERATOR 31 #&> (ttext, ttext), + -- functions + FUNCTION 1 ttext_gist_consistent(internal, ttext, smallint, oid, internal), + FUNCTION 2 span_gist_union(internal, internal), + FUNCTION 3 ttext_gist_compress(internal), + FUNCTION 5 span_gist_penalty(internal, internal, internal), + FUNCTION 6 span_gist_picksplit(internal, internal), + FUNCTION 7 span_gist_same(tstzspan, tstzspan, internal); + +/******************************************************************************/ diff --git a/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/temporal/044_temporal_spgist.in.sql b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/temporal/044_temporal_spgist.in.sql new file mode 100644 index 00000000..a3dc4072 --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/temporal/044_temporal_spgist.in.sql @@ -0,0 +1,654 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @file + * @brief Quad-tree and k-d tree SP-GiST indexes for temporal types + */ + +/******************************************************************************/ + +CREATE FUNCTION tbox_spgist_config(internal, internal) + RETURNS void + AS 'MODULE_PATHNAME', 'Tbox_spgist_config' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tbox_quadtree_choose(internal, internal) + RETURNS void + AS 'MODULE_PATHNAME', 'Tbox_quadtree_choose' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tbox_quadtree_picksplit(internal, internal) + RETURNS void + AS 'MODULE_PATHNAME', 'Tbox_quadtree_picksplit' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tbox_quadtree_inner_consistent(internal, internal) + RETURNS void + AS 'MODULE_PATHNAME', 'Tbox_quadtree_inner_consistent' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tbox_spgist_leaf_consistent(internal, internal) + RETURNS bool + AS 'MODULE_PATHNAME', 'Tbox_spgist_leaf_consistent' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tnumber_spgist_compress(internal) + RETURNS internal + AS 'MODULE_PATHNAME', 'Tnumber_spgist_compress' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/******************************************************************************/ + +CREATE OPERATOR CLASS tbox_quadtree_ops + DEFAULT FOR TYPE tbox USING spgist AS + -- strictly left + OPERATOR 1 << (tbox, tbox), + OPERATOR 1 << (tbox, tint), + OPERATOR 1 << (tbox, tfloat), + -- overlaps or left + OPERATOR 2 &< (tbox, tbox), + OPERATOR 2 &< (tbox, tint), + OPERATOR 2 &< (tbox, tfloat), + -- overlaps + OPERATOR 3 && (tbox, tbox), + OPERATOR 3 && (tbox, tint), + OPERATOR 3 && (tbox, tfloat), + -- overlaps or right + OPERATOR 4 &> (tbox, tbox), + OPERATOR 4 &> (tbox, tint), + OPERATOR 4 &> (tbox, tfloat), + -- strictly right + OPERATOR 5 >> (tbox, tbox), + OPERATOR 5 >> (tbox, tint), + OPERATOR 5 >> (tbox, tfloat), + -- same + OPERATOR 6 ~= (tbox, tbox), + OPERATOR 6 ~= (tbox, tint), + OPERATOR 6 ~= (tbox, tfloat), + -- contains + OPERATOR 7 @> (tbox, tbox), + OPERATOR 7 @> (tbox, tint), + OPERATOR 7 @> (tbox, tfloat), + -- contained by + OPERATOR 8 <@ (tbox, tbox), + OPERATOR 8 <@ (tbox, tint), + OPERATOR 8 <@ (tbox, tfloat), + -- adjacent + OPERATOR 17 -|- (tbox, tbox), + OPERATOR 17 -|- (tbox, tint), + OPERATOR 17 -|- (tbox, tfloat), + -- overlaps or before + OPERATOR 28 &<# (tbox, tbox), + OPERATOR 28 &<# (tbox, tint), + OPERATOR 28 &<# (tbox, tfloat), + -- strictly before + OPERATOR 29 <<# (tbox, tbox), + OPERATOR 29 <<# (tbox, tint), + OPERATOR 29 <<# (tbox, tfloat), + -- strictly after + OPERATOR 30 #>> (tbox, tbox), + OPERATOR 30 #>> (tbox, tint), + OPERATOR 30 #>> (tbox, tfloat), + -- overlaps or after + OPERATOR 31 #&> (tbox, tbox), + OPERATOR 31 #&> (tbox, tint), + OPERATOR 31 #&> (tbox, tfloat), + -- functions + FUNCTION 1 tbox_spgist_config(internal, internal), + FUNCTION 2 tbox_quadtree_choose(internal, internal), + FUNCTION 3 tbox_quadtree_picksplit(internal, internal), + FUNCTION 4 tbox_quadtree_inner_consistent(internal, internal), + FUNCTION 5 tbox_spgist_leaf_consistent(internal, internal); + +/*****************************************************************************/ + +CREATE FUNCTION tbox_kdtree_choose(internal, internal) + RETURNS void + AS 'MODULE_PATHNAME', 'Tbox_kdtree_choose' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tbox_kdtree_picksplit(internal, internal) + RETURNS void + AS 'MODULE_PATHNAME', 'Tbox_kdtree_picksplit' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; +CREATE FUNCTION tbox_kdtree_inner_consistent(internal, internal) + RETURNS void + AS 'MODULE_PATHNAME', 'Tbox_kdtree_inner_consistent' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/******************************************************************************/ + +CREATE OPERATOR CLASS tbox_kdtree_ops + FOR TYPE tbox USING spgist AS + -- strictly left + OPERATOR 1 << (tbox, tbox), + OPERATOR 1 << (tbox, tint), + OPERATOR 1 << (tbox, tfloat), + -- overlaps or left + OPERATOR 2 &< (tbox, tbox), + OPERATOR 2 &< (tbox, tint), + OPERATOR 2 &< (tbox, tfloat), + -- overlaps + OPERATOR 3 && (tbox, tbox), + OPERATOR 3 && (tbox, tint), + OPERATOR 3 && (tbox, tfloat), + -- overlaps or right + OPERATOR 4 &> (tbox, tbox), + OPERATOR 4 &> (tbox, tint), + OPERATOR 4 &> (tbox, tfloat), + -- strictly right + OPERATOR 5 >> (tbox, tbox), + OPERATOR 5 >> (tbox, tint), + OPERATOR 5 >> (tbox, tfloat), + -- same + OPERATOR 6 ~= (tbox, tbox), + OPERATOR 6 ~= (tbox, tint), + OPERATOR 6 ~= (tbox, tfloat), + -- contains + OPERATOR 7 @> (tbox, tbox), + OPERATOR 7 @> (tbox, tint), + OPERATOR 7 @> (tbox, tfloat), + -- contained by + OPERATOR 8 <@ (tbox, tbox), + OPERATOR 8 <@ (tbox, tint), + OPERATOR 8 <@ (tbox, tfloat), + -- adjacent + OPERATOR 17 -|- (tbox, tbox), + OPERATOR 17 -|- (tbox, tint), + OPERATOR 17 -|- (tbox, tfloat), + -- overlaps or before + OPERATOR 28 &<# (tbox, tbox), + OPERATOR 28 &<# (tbox, tint), + OPERATOR 28 &<# (tbox, tfloat), + -- strictly before + OPERATOR 29 <<# (tbox, tbox), + OPERATOR 29 <<# (tbox, tint), + OPERATOR 29 <<# (tbox, tfloat), + -- strictly after + OPERATOR 30 #>> (tbox, tbox), + OPERATOR 30 #>> (tbox, tint), + OPERATOR 30 #>> (tbox, tfloat), + -- overlaps or after + OPERATOR 31 #&> (tbox, tbox), + OPERATOR 31 #&> (tbox, tint), + OPERATOR 31 #&> (tbox, tfloat), + -- functions + FUNCTION 1 tbox_spgist_config(internal, internal), + FUNCTION 2 tbox_kdtree_choose(internal, internal), + FUNCTION 3 tbox_kdtree_picksplit(internal, internal), + FUNCTION 4 tbox_kdtree_inner_consistent(internal, internal), + FUNCTION 5 tbox_spgist_leaf_consistent(internal, internal); + +/******************************************************************************/ + +CREATE FUNCTION temporal_spgist_compress(internal) + RETURNS internal + AS 'MODULE_PATHNAME', 'Temporal_spgist_compress' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/******************************************************************************/ + +CREATE OPERATOR CLASS tbool_quadtree_ops + DEFAULT FOR TYPE tbool USING spgist AS + -- overlaps + OPERATOR 3 && (tbool, tstzspan), + OPERATOR 3 && (tbool, tbool), + -- same + OPERATOR 6 ~= (tbool, tstzspan), + OPERATOR 6 ~= (tbool, tbool), + -- contains + OPERATOR 7 @> (tbool, tstzspan), + OPERATOR 7 @> (tbool, tbool), + -- contained by + OPERATOR 8 <@ (tbool, tstzspan), + OPERATOR 8 <@ (tbool, tbool), + -- adjacent + OPERATOR 17 -|- (tbool, tstzspan), + OPERATOR 17 -|- (tbool, tbool), + -- overlaps or before + OPERATOR 28 &<# (tbool, tstzspan), + OPERATOR 28 &<# (tbool, tbool), + -- strictly before + OPERATOR 29 <<# (tbool, tstzspan), + OPERATOR 29 <<# (tbool, tbool), + -- strictly after + OPERATOR 30 #>> (tbool, tstzspan), + OPERATOR 30 #>> (tbool, tbool), + -- overlaps or after + OPERATOR 31 #&> (tbool, tstzspan), + OPERATOR 31 #&> (tbool, tbool), + -- functions + FUNCTION 1 tstzspan_spgist_config(internal, internal), + FUNCTION 2 span_quadtree_choose(internal, internal), + FUNCTION 3 span_quadtree_picksplit(internal, internal), + FUNCTION 4 span_quadtree_inner_consistent(internal, internal), + FUNCTION 5 span_spgist_leaf_consistent(internal, internal), + FUNCTION 6 temporal_spgist_compress(internal); + +/******************************************************************************/ + +CREATE OPERATOR CLASS tbool_kdtree_ops + FOR TYPE tbool USING spgist AS + -- overlaps + OPERATOR 3 && (tbool, tstzspan), + OPERATOR 3 && (tbool, tbool), + -- same + OPERATOR 6 ~= (tbool, tstzspan), + OPERATOR 6 ~= (tbool, tbool), + -- contains + OPERATOR 7 @> (tbool, tstzspan), + OPERATOR 7 @> (tbool, tbool), + -- contained by + OPERATOR 8 <@ (tbool, tstzspan), + OPERATOR 8 <@ (tbool, tbool), + -- adjacent + OPERATOR 17 -|- (tbool, tstzspan), + OPERATOR 17 -|- (tbool, tbool), + -- overlaps or before + OPERATOR 28 &<# (tbool, tstzspan), + OPERATOR 28 &<# (tbool, tbool), + -- strictly before + OPERATOR 29 <<# (tbool, tstzspan), + OPERATOR 29 <<# (tbool, tbool), + -- strictly after + OPERATOR 30 #>> (tbool, tstzspan), + OPERATOR 30 #>> (tbool, tbool), + -- overlaps or after + OPERATOR 31 #&> (tbool, tstzspan), + OPERATOR 31 #&> (tbool, tbool), + -- functions + FUNCTION 1 tstzspan_spgist_config(internal, internal), + FUNCTION 2 span_kdtree_choose(internal, internal), + FUNCTION 3 span_kdtree_picksplit(internal, internal), + FUNCTION 4 span_kdtree_inner_consistent(internal, internal), + FUNCTION 5 span_spgist_leaf_consistent(internal, internal), + FUNCTION 6 temporal_spgist_compress(internal); + +/******************************************************************************/ + +CREATE OPERATOR CLASS tint_quadtree_ops + DEFAULT FOR TYPE tint USING spgist AS + -- strictly left + OPERATOR 1 << (tint, intspan), + OPERATOR 1 << (tint, tbox), + OPERATOR 1 << (tint, tint), + -- overlaps or left + OPERATOR 2 &< (tint, intspan), + OPERATOR 2 &< (tint, tbox), + OPERATOR 2 &< (tint, tint), + -- overlaps + OPERATOR 3 && (tint, intspan), + OPERATOR 3 && (tint, tstzspan), + OPERATOR 3 && (tint, tbox), + OPERATOR 3 && (tint, tint), + -- overlaps or right + OPERATOR 4 &> (tint, intspan), + OPERATOR 4 &> (tint, tbox), + OPERATOR 4 &> (tint, tint), + -- strictly right + OPERATOR 5 >> (tint, intspan), + OPERATOR 5 >> (tint, tbox), + OPERATOR 5 >> (tint, tint), + -- same + OPERATOR 6 ~= (tint, intspan), + OPERATOR 6 ~= (tint, tstzspan), + OPERATOR 6 ~= (tint, tbox), + OPERATOR 6 ~= (tint, tint), + -- contains + OPERATOR 7 @> (tint, intspan), + OPERATOR 7 @> (tint, tstzspan), + OPERATOR 7 @> (tint, tbox), + OPERATOR 7 @> (tint, tint), + -- contained by + OPERATOR 8 <@ (tint, intspan), + OPERATOR 8 <@ (tint, tstzspan), + OPERATOR 8 <@ (tint, tbox), + OPERATOR 8 <@ (tint, tint), + -- adjacent + OPERATOR 17 -|- (tint, intspan), + OPERATOR 17 -|- (tint, tstzspan), + OPERATOR 17 -|- (tint, tbox), + OPERATOR 17 -|- (tint, tint), + -- nearest approach distance + OPERATOR 25 |=| (tint, tbox) FOR ORDER BY pg_catalog.float_ops, + OPERATOR 25 |=| (tint, tint) FOR ORDER BY pg_catalog.float_ops, + -- overlaps or before + OPERATOR 28 &<# (tint, tstzspan), + OPERATOR 28 &<# (tint, tbox), + OPERATOR 28 &<# (tint, tint), + -- strictly before + OPERATOR 29 <<# (tint, tstzspan), + OPERATOR 29 <<# (tint, tbox), + OPERATOR 29 <<# (tint, tint), + -- strictly after + OPERATOR 30 #>> (tint, tstzspan), + OPERATOR 30 #>> (tint, tbox), + OPERATOR 30 #>> (tint, tint), + -- overlaps or after + OPERATOR 31 #&> (tint, tstzspan), + OPERATOR 31 #&> (tint, tbox), + OPERATOR 31 #&> (tint, tint), + -- functions + FUNCTION 1 tbox_spgist_config(internal, internal), + FUNCTION 2 tbox_quadtree_choose(internal, internal), + FUNCTION 3 tbox_quadtree_picksplit(internal, internal), + FUNCTION 4 tbox_quadtree_inner_consistent(internal, internal), + FUNCTION 5 tbox_spgist_leaf_consistent(internal, internal), + FUNCTION 6 tnumber_spgist_compress(internal); + +/******************************************************************************/ + +CREATE OPERATOR CLASS tint_kdtree_ops + FOR TYPE tint USING spgist AS + -- strictly left + OPERATOR 1 << (tint, intspan), + OPERATOR 1 << (tint, tbox), + OPERATOR 1 << (tint, tint), + -- overlaps or left + OPERATOR 2 &< (tint, intspan), + OPERATOR 2 &< (tint, tbox), + OPERATOR 2 &< (tint, tint), + -- overlaps + OPERATOR 3 && (tint, intspan), + OPERATOR 3 && (tint, tstzspan), + OPERATOR 3 && (tint, tbox), + OPERATOR 3 && (tint, tint), + -- overlaps or right + OPERATOR 4 &> (tint, intspan), + OPERATOR 4 &> (tint, tbox), + OPERATOR 4 &> (tint, tint), + -- strictly right + OPERATOR 5 >> (tint, intspan), + OPERATOR 5 >> (tint, tbox), + OPERATOR 5 >> (tint, tint), + -- same + OPERATOR 6 ~= (tint, intspan), + OPERATOR 6 ~= (tint, tstzspan), + OPERATOR 6 ~= (tint, tbox), + OPERATOR 6 ~= (tint, tint), + -- contains + OPERATOR 7 @> (tint, intspan), + OPERATOR 7 @> (tint, tstzspan), + OPERATOR 7 @> (tint, tbox), + OPERATOR 7 @> (tint, tint), + -- contained by + OPERATOR 8 <@ (tint, intspan), + OPERATOR 8 <@ (tint, tstzspan), + OPERATOR 8 <@ (tint, tbox), + OPERATOR 8 <@ (tint, tint), + -- adjacent + OPERATOR 17 -|- (tint, intspan), + OPERATOR 17 -|- (tint, tstzspan), + OPERATOR 17 -|- (tint, tbox), + OPERATOR 17 -|- (tint, tint), + -- nearest approach distance + OPERATOR 25 |=| (tint, tbox) FOR ORDER BY pg_catalog.float_ops, + OPERATOR 25 |=| (tint, tint) FOR ORDER BY pg_catalog.float_ops, + -- overlaps or before + OPERATOR 28 &<# (tint, tstzspan), + OPERATOR 28 &<# (tint, tbox), + OPERATOR 28 &<# (tint, tint), + -- strictly before + OPERATOR 29 <<# (tint, tstzspan), + OPERATOR 29 <<# (tint, tbox), + OPERATOR 29 <<# (tint, tint), + -- strictly after + OPERATOR 30 #>> (tint, tstzspan), + OPERATOR 30 #>> (tint, tbox), + OPERATOR 30 #>> (tint, tint), + -- overlaps or after + OPERATOR 31 #&> (tint, tstzspan), + OPERATOR 31 #&> (tint, tbox), + OPERATOR 31 #&> (tint, tint), + -- functions + FUNCTION 1 tbox_spgist_config(internal, internal), + FUNCTION 2 tbox_kdtree_choose(internal, internal), + FUNCTION 3 tbox_kdtree_picksplit(internal, internal), + FUNCTION 4 tbox_kdtree_inner_consistent(internal, internal), + FUNCTION 5 tbox_spgist_leaf_consistent(internal, internal), + FUNCTION 6 tnumber_spgist_compress(internal); + +/******************************************************************************/ + +CREATE OPERATOR CLASS tfloat_quadtree_ops + DEFAULT FOR TYPE tfloat USING spgist AS + -- strictly left + OPERATOR 1 << (tfloat, floatspan), + OPERATOR 1 << (tfloat, tbox), + OPERATOR 1 << (tfloat, tfloat), + -- overlaps or left + OPERATOR 2 &< (tfloat, floatspan), + OPERATOR 2 &< (tfloat, tbox), + OPERATOR 2 &< (tfloat, tfloat), + -- overlaps + OPERATOR 3 && (tfloat, floatspan), + OPERATOR 3 && (tfloat, tstzspan), + OPERATOR 3 && (tfloat, tbox), + OPERATOR 3 && (tfloat, tfloat), + -- overlaps or right + OPERATOR 4 &> (tfloat, floatspan), + OPERATOR 4 &> (tfloat, tbox), + OPERATOR 4 &> (tfloat, tfloat), + -- strictly right + OPERATOR 5 >> (tfloat, floatspan), + OPERATOR 5 >> (tfloat, tbox), + OPERATOR 5 >> (tfloat, tfloat), + -- same + OPERATOR 6 ~= (tfloat, floatspan), + OPERATOR 6 ~= (tfloat, tstzspan), + OPERATOR 6 ~= (tfloat, tbox), + OPERATOR 6 ~= (tfloat, tfloat), + -- contains + OPERATOR 7 @> (tfloat, floatspan), + OPERATOR 7 @> (tfloat, tstzspan), + OPERATOR 7 @> (tfloat, tbox), + OPERATOR 7 @> (tfloat, tfloat), + -- contained by + OPERATOR 8 <@ (tfloat, floatspan), + OPERATOR 8 <@ (tfloat, tstzspan), + OPERATOR 8 <@ (tfloat, tbox), + OPERATOR 8 <@ (tfloat, tfloat), + -- adjacent + OPERATOR 17 -|- (tfloat, floatspan), + OPERATOR 17 -|- (tfloat, tstzspan), + OPERATOR 17 -|- (tfloat, tbox), + OPERATOR 17 -|- (tfloat, tfloat), + -- nearest approach distance + OPERATOR 25 |=| (tfloat, tbox) FOR ORDER BY pg_catalog.float_ops, + OPERATOR 25 |=| (tfloat, tfloat) FOR ORDER BY pg_catalog.float_ops, + -- overlaps or before + OPERATOR 28 &<# (tfloat, tstzspan), + OPERATOR 28 &<# (tfloat, tbox), + OPERATOR 28 &<# (tfloat, tfloat), + -- strictly before + OPERATOR 29 <<# (tfloat, tstzspan), + OPERATOR 29 <<# (tfloat, tbox), + OPERATOR 29 <<# (tfloat, tfloat), + -- strictly after + OPERATOR 30 #>> (tfloat, tstzspan), + OPERATOR 30 #>> (tfloat, tbox), + OPERATOR 30 #>> (tfloat, tfloat), + -- overlaps or after + OPERATOR 31 #&> (tfloat, tstzspan), + OPERATOR 31 #&> (tfloat, tbox), + OPERATOR 31 #&> (tfloat, tfloat), + -- functions + FUNCTION 1 tbox_spgist_config(internal, internal), + FUNCTION 2 tbox_quadtree_choose(internal, internal), + FUNCTION 3 tbox_quadtree_picksplit(internal, internal), + FUNCTION 4 tbox_quadtree_inner_consistent(internal, internal), + FUNCTION 5 tbox_spgist_leaf_consistent(internal, internal), + FUNCTION 6 tnumber_spgist_compress(internal); + +/******************************************************************************/ + +CREATE OPERATOR CLASS tfloat_kdtree_ops + FOR TYPE tfloat USING spgist AS + -- strictly left + OPERATOR 1 << (tfloat, floatspan), + OPERATOR 1 << (tfloat, tbox), + OPERATOR 1 << (tfloat, tfloat), + -- overlaps or left + OPERATOR 2 &< (tfloat, floatspan), + OPERATOR 2 &< (tfloat, tbox), + OPERATOR 2 &< (tfloat, tfloat), + -- overlaps + OPERATOR 3 && (tfloat, floatspan), + OPERATOR 3 && (tfloat, tstzspan), + OPERATOR 3 && (tfloat, tbox), + OPERATOR 3 && (tfloat, tfloat), + -- overlaps or right + OPERATOR 4 &> (tfloat, floatspan), + OPERATOR 4 &> (tfloat, tbox), + OPERATOR 4 &> (tfloat, tfloat), + -- strictly right + OPERATOR 5 >> (tfloat, floatspan), + OPERATOR 5 >> (tfloat, tbox), + OPERATOR 5 >> (tfloat, tfloat), + -- same + OPERATOR 6 ~= (tfloat, floatspan), + OPERATOR 6 ~= (tfloat, tstzspan), + OPERATOR 6 ~= (tfloat, tbox), + OPERATOR 6 ~= (tfloat, tfloat), + -- contains + OPERATOR 7 @> (tfloat, floatspan), + OPERATOR 7 @> (tfloat, tstzspan), + OPERATOR 7 @> (tfloat, tbox), + OPERATOR 7 @> (tfloat, tfloat), + -- contained by + OPERATOR 8 <@ (tfloat, floatspan), + OPERATOR 8 <@ (tfloat, tstzspan), + OPERATOR 8 <@ (tfloat, tbox), + OPERATOR 8 <@ (tfloat, tfloat), + -- adjacent + OPERATOR 17 -|- (tfloat, floatspan), + OPERATOR 17 -|- (tfloat, tstzspan), + OPERATOR 17 -|- (tfloat, tbox), + OPERATOR 17 -|- (tfloat, tfloat), + -- nearest approach distance + OPERATOR 25 |=| (tfloat, tbox) FOR ORDER BY pg_catalog.float_ops, + OPERATOR 25 |=| (tfloat, tfloat) FOR ORDER BY pg_catalog.float_ops, + -- overlaps or before + OPERATOR 28 &<# (tfloat, tstzspan), + OPERATOR 28 &<# (tfloat, tbox), + OPERATOR 28 &<# (tfloat, tfloat), + -- strictly before + OPERATOR 29 <<# (tfloat, tstzspan), + OPERATOR 29 <<# (tfloat, tbox), + OPERATOR 29 <<# (tfloat, tfloat), + -- strictly after + OPERATOR 30 #>> (tfloat, tstzspan), + OPERATOR 30 #>> (tfloat, tbox), + OPERATOR 30 #>> (tfloat, tfloat), + -- overlaps or after + OPERATOR 31 #&> (tfloat, tstzspan), + OPERATOR 31 #&> (tfloat, tbox), + OPERATOR 31 #&> (tfloat, tfloat), + -- functions + FUNCTION 1 tbox_spgist_config(internal, internal), + FUNCTION 2 tbox_kdtree_choose(internal, internal), + FUNCTION 3 tbox_kdtree_picksplit(internal, internal), + FUNCTION 4 tbox_kdtree_inner_consistent(internal, internal), + FUNCTION 5 tbox_spgist_leaf_consistent(internal, internal), + FUNCTION 6 tnumber_spgist_compress(internal); + +/******************************************************************************/ + +CREATE OPERATOR CLASS ttext_quadtree_ops + DEFAULT FOR TYPE ttext USING spgist AS + -- overlaps + OPERATOR 3 && (ttext, tstzspan), + OPERATOR 3 && (ttext, ttext), + -- same + OPERATOR 6 ~= (ttext, tstzspan), + OPERATOR 6 ~= (ttext, ttext), + -- contains + OPERATOR 7 @> (ttext, tstzspan), + OPERATOR 7 @> (ttext, ttext), + -- contained by + OPERATOR 8 <@ (ttext, tstzspan), + OPERATOR 8 <@ (ttext, ttext), + -- adjacent + OPERATOR 17 -|- (ttext, tstzspan), + OPERATOR 17 -|- (ttext, ttext), + -- overlaps or before + OPERATOR 28 &<# (ttext, tstzspan), + OPERATOR 28 &<# (ttext, ttext), + -- strictly before + OPERATOR 29 <<# (ttext, tstzspan), + OPERATOR 29 <<# (ttext, ttext), + -- strictly after + OPERATOR 30 #>> (ttext, tstzspan), + OPERATOR 30 #>> (ttext, ttext), + -- overlaps or after + OPERATOR 31 #&> (ttext, tstzspan), + OPERATOR 31 #&> (ttext, ttext), + -- functions + FUNCTION 1 tstzspan_spgist_config(internal, internal), + FUNCTION 2 span_quadtree_choose(internal, internal), + FUNCTION 3 span_quadtree_picksplit(internal, internal), + FUNCTION 4 span_quadtree_inner_consistent(internal, internal), + FUNCTION 5 span_spgist_leaf_consistent(internal, internal), + FUNCTION 6 temporal_spgist_compress(internal); + +/******************************************************************************/ + +CREATE OPERATOR CLASS ttext_kdtree_ops + FOR TYPE ttext USING spgist AS + -- overlaps + OPERATOR 3 && (ttext, tstzspan), + OPERATOR 3 && (ttext, ttext), + -- same + OPERATOR 6 ~= (ttext, tstzspan), + OPERATOR 6 ~= (ttext, ttext), + -- contains + OPERATOR 7 @> (ttext, tstzspan), + OPERATOR 7 @> (ttext, ttext), + -- contained by + OPERATOR 8 <@ (ttext, tstzspan), + OPERATOR 8 <@ (ttext, ttext), + -- adjacent + OPERATOR 17 -|- (ttext, tstzspan), + OPERATOR 17 -|- (ttext, ttext), + -- overlaps or before + OPERATOR 28 &<# (ttext, tstzspan), + OPERATOR 28 &<# (ttext, ttext), + -- strictly before + OPERATOR 29 <<# (ttext, tstzspan), + OPERATOR 29 <<# (ttext, ttext), + -- strictly after + OPERATOR 30 #>> (ttext, tstzspan), + OPERATOR 30 #>> (ttext, ttext), + -- overlaps or after + OPERATOR 31 #&> (ttext, tstzspan), + OPERATOR 31 #&> (ttext, ttext), + -- functions + FUNCTION 1 tstzspan_spgist_config(internal, internal), + FUNCTION 2 span_kdtree_choose(internal, internal), + FUNCTION 3 span_kdtree_picksplit(internal, internal), + FUNCTION 4 span_kdtree_inner_consistent(internal, internal), + FUNCTION 5 span_spgist_leaf_consistent(internal, internal), + FUNCTION 6 temporal_spgist_compress(internal); + +/******************************************************************************/ diff --git a/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/temporal/046_temporal_analytics.in.sql b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/temporal/046_temporal_analytics.in.sql new file mode 100644 index 00000000..e976f972 --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/temporal/046_temporal_analytics.in.sql @@ -0,0 +1,57 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @file + * @brief Analytic functions for temporal types + */ + +/*****************************************************************************/ + +CREATE FUNCTION minDistSimplify(tfloat, float) +RETURNS tfloat +AS 'MODULE_PATHNAME', 'Temporal_simplify_min_dist' +LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION minTimeDeltaSimplify(tfloat, interval) +RETURNS tfloat +AS 'MODULE_PATHNAME', 'Temporal_simplify_min_tdelta' +LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION maxDistSimplify(tfloat, float, boolean DEFAULT TRUE) +RETURNS tfloat +AS 'MODULE_PATHNAME', 'Temporal_simplify_max_dist' +LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +CREATE FUNCTION douglasPeuckerSimplify(tfloat, float, boolean DEFAULT TRUE) +RETURNS tfloat +AS 'MODULE_PATHNAME', 'Temporal_simplify_dp' +LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +/*****************************************************************************/ diff --git a/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/temporal/999_oid_cache.in.sql b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/temporal/999_oid_cache.in.sql new file mode 100644 index 00000000..b3a38537 --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/temporal/999_oid_cache.in.sql @@ -0,0 +1,50 @@ +/***************************************************************************** + * + * This MobilityDB code is provided under The PostgreSQL License. + * Copyright (c) 2016-2025, Université libre de Bruxelles and MobilityDB + * contributors + * + * MobilityDB includes portions of PostGIS version 3 source code released + * under the GNU General Public License (GPLv2 or later). + * Copyright (c) 2001-2025, PostGIS contributors + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose, without fee, and without a written + * agreement is hereby granted, provided that the above copyright notice and + * this paragraph and the following two paragraphs appear in all copies. + * + * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING + * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, + * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + * + * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON + * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + *****************************************************************************/ + +/** + * @file + * @brief Routine that pre-computes the type and operator Oid cache and store + * them in a global array and a hash table + */ + +CREATE TABLE mobilitydb_opcache ( + opnum INT, + ltypnum INT, + rtypnum INT, + opid Oid +); + +CREATE FUNCTION fill_oid_cache() + RETURNS VOID + AS 'MODULE_PATHNAME', 'fill_oid_cache' + LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; + +SELECT fill_oid_cache(); + +/******************************************************************************/ diff --git a/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/temporal/CMakeLists.txt b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/temporal/CMakeLists.txt new file mode 100644 index 00000000..c1b8086f --- /dev/null +++ b/jmeos-core/tools/parity/meos-ref/mobilitydb/sql/temporal/CMakeLists.txt @@ -0,0 +1,39 @@ +SET(LOCAL_FILES + 001_set + 002_set_ops + 003_span + 005_span_ops + 007_spanset + 009_spanset_ops + 011_span_indexes + 012_spanset_indexes + 013_set_indexes + 015_span_aggfuncs + 019_geo_constructors + 021_tbox + 022_temporal + 023_temporal_inout + 025_temporal_tile + 026_tnumber_mathfuncs + 028_tbool_boolops + 029_ttext_textfuncs + 030_temporal_compops + 032_temporal_boxops + 034_temporal_posops + 036_tnumber_distance + 038_temporal_similarity + 040_temporal_aggfuncs + 042_temporal_waggfuncs + 043_temporal_gist + 044_temporal_spgist + 046_temporal_analytics + 999_oid_cache + ) + +foreach (f ${LOCAL_FILES}) + process_file(${f} ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR}) + configure_file(${CMAKE_CURRENT_BINARY_DIR}/${f}.sql.in ${CMAKE_BINARY_DIR}/MobilityDB/sql/${f}.sql @ONLY) + list(APPEND PACKAGE_SQL_FILES ${CMAKE_BINARY_DIR}/MobilityDB/sql/${f}.sql) +endforeach() + +set(PROJECT_SQL_FILES ${PROJECT_SQL_FILES} ${PACKAGE_SQL_FILES} PARENT_SCOPE) diff --git a/jmeos-core/tools/parity/parity_audit.py b/jmeos-core/tools/parity/parity_audit.py new file mode 100644 index 00000000..ad339f2b --- /dev/null +++ b/jmeos-core/tools/parity/parity_audit.py @@ -0,0 +1,234 @@ +#!/usr/bin/env python3 +"""Symbol-level parity audit for the MobilityFlink generated MEOS facade. + +Measures, per type family, how much of the MEOS public-header function surface +the generated facade (org.mobilitydb.meos.MeosOps*) exposes, cross-checked +against the JMEOS jar export set so a method only counts when it is genuinely +bindable. + +Reference surface = the MEOS public C API (meos/include/meos*.h, excluding the +meos_internal*.h headers). This is the surface JMEOS mirrors and the facade +delegates to, so it is the exact denominator for a Flink binding. A second view +maps the facade against the MobilityDB SQL layer's underlying C symbols for +comparability with the SQL-surface bindings. + +Coverage reported here is STATIC: the facade method exists and binds a JMEOS +symbol of matching arity. Runtime behaviour is exercised separately by the +per-family smoke tests. + +Usage: + python3 tools/parity/parity_audit.py \ + --meos-include /path/to/MobilityDB/meos/include \ + --jar jar/JMEOS.jar \ + --facade src/main/java/org/mobilitydb/meos \ + --mdb-sql /path/to/MobilityDB/mobilitydb/sql \ + --out docs/parity-status.md +""" +import argparse, re, os, glob, subprocess, collections +from datetime import date + +PUBLIC_HEADERS = ["meos.h", "meos_geo.h", "meos_cbuffer.h", + "meos_npoint.h", "meos_pose.h", "meos_rgeo.h", +"meos_h3.h"] +FAMILY = {"meos.h": "core temporal / set / span / spanset / tbox", + "meos_geo.h": "geo (tgeo / tpoint / stbox)", + "meos_cbuffer.h": "cbuffer", "meos_npoint.h": "npoint", + "meos_pose.h": "pose", "meos_rgeo.h": "rgeo", + "meos_h3.h": "h3 / th3index"} + +_DECL = re.compile(r'^\s*extern\s+.+?\b([a-z][A-Za-z0-9_]*)\s*\(', re.M) +_PUBSTATIC = re.compile(r'public static [A-Za-z0-9_.<>\[\]]+ ([a-z0-9_]+)\(') + +# MobilityDB SQL out-of-scope bucketing (PG-only; no MEOS/Flink equivalent). +OOS_SECTIONS = { + "temporal/011_span_indexes.in.sql", "temporal/012_spanset_indexes.in.sql", + "temporal/013_set_indexes.in.sql", "temporal/019_geo_constructors.in.sql", + "temporal/043_temporal_gist.in.sql", "temporal/044_temporal_spgist.in.sql", + "temporal/999_oid_cache.in.sql", "geo/073_tgeo_gist.in.sql", + "geo/073_tpoint_gist.in.sql", "geo/074_tgeo_spgist.in.sql", + "geo/074_tpoint_spgist.in.sql", "cbuffer/166_tcbuffer_indexes.in.sql", + "npoint/092_tnpoint_gin.in.sql", "npoint/098_tnpoint_indexes.in.sql", + "pose/114_tpose_indexes.in.sql", "rgeo/134_trgeo_indexes.in.sql", +} +OOS_SUFFIXES = ("_in", "_out", "_recv", "_send", "_typmod_in", "_typmod_out", + "_transfn", "_combinefn", "_finalfn", "_serialize", "_deserialize", + "_sel", "_joinsel", "_supportfn", "_analyze", + "_cmp", "_eq", "_ne", "_lt", "_le", "_gt", "_ge", "_hash", "_hash_extended") +OOS_NAMES = {"range", "multirange", "create_trip", "transform_gk"} + + +def jmeos_symbols(jar): + out = subprocess.run(["javap", "-classpath", jar, "-p", + "functions.GeneratedFunctions"], + capture_output=True, text=True).stdout + return set(re.findall(r'\b([a-z][a-z0-9_]+)\(', out)) + + +def facade_methods(d): + syms = set() + for f in glob.glob(os.path.join(d, "MeosOps*.java")): + syms |= set(_PUBSTATIC.findall(open(f).read())) + return syms + + +def libmeos_symbols(path): + out = subprocess.run(["nm", "-D", path], capture_output=True, text=True).stdout + return {line.split()[-1] for line in out.splitlines() if line.strip()} + + +def public_surface(inc): + fam, allpub = {}, set() + for h in PUBLIC_HEADERS: + names = set(_DECL.findall(open(os.path.join(inc, h)).read())) + for n in names: + allpub.add(n); fam.setdefault(n, h) + return allpub, fam + + +def sql_csymbols(root): + create = re.compile(r'CREATE\s+(?:OR\s+REPLACE\s+)?FUNCTION\s+([A-Za-z0-9_]+)\s*\(', re.I) + csym = re.compile(r"AS\s+'[^']*'\s*,\s*'([A-Za-z0-9_]+)'", re.I) + langsql = re.compile(r"LANGUAGE\s+'?(?:sql|plpgsql)'?", re.I) + addressable, oos, sqlc = set(), 0, 0 + for path in glob.glob(os.path.join(root, "**", "*.in.sql"), recursive=True): + section = os.path.relpath(path, root).replace(os.sep, "/") + txt = open(path, encoding="utf-8", errors="replace").read() + for m in create.finditer(txt): + name = m.group(1); tail = txt[m.end():m.end() + 1200].split(';')[0] + cm = csym.search(tail); sym = cm.group(1) if cm else None + key = (sym or name).lower() + if section in OOS_SECTIONS or key in OOS_NAMES or key.endswith(OOS_SUFFIXES): + oos += 1; continue + if sym is None: + sqlc += 1; continue + addressable.add(sym.lower()) + return addressable, oos, sqlc + + +def main(): + ap = argparse.ArgumentParser() + here = os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(__file__)))) + ap.add_argument("--meos-include", default="/home/esteban/src/MobilityDB/meos/include") + ap.add_argument("--jar", default=os.path.join(here, "jar", "JMEOS.jar")) + ap.add_argument("--facade", default=os.path.join(here, "src/main/java/org/mobilitydb/meos")) + ap.add_argument("--mdb-sql", default="/home/esteban/src/MobilityDB/mobilitydb/sql") + ap.add_argument("--out", default=os.path.join(here, "docs", "parity-status.md")) + ap.add_argument("--libmeos", default=None, + help="path to a built libmeos.so; cross-checks that every facade method " + "resolves to an exported symbol (runtime resolution check)") + a = ap.parse_args() + + jm = jmeos_symbols(a.jar) + fa_all = facade_methods(a.facade) + fa = fa_all & jm + pub, fam = public_surface(a.meos_include) + bindable = pub & jm + covered = bindable & fa + missing = sorted(bindable - fa) + + bc, cc = collections.Counter(), collections.Counter() + for n in bindable: + bc[fam[n]] += 1 + if n in covered: + cc[fam[n]] += 1 + + addr, oos, sqlc = sql_csymbols(a.mdb_sql) + sql_cov = len(addr & fa); sql_bindable = len(addr & jm) + + pct = lambda c, t: (100.0 * c / t) if t else 0.0 + L = [] + L.append("# MobilityFlink parity status — MEOS surface audit\n") + L.append(f"Generated {date.today().isoformat()} by `tools/parity/parity_audit.py`.\n") + L.append("The MobilityFlink MEOS facade (`org.mobilitydb.meos.MeosOps*`) exposes " + "MEOS C functions to Flink through JMEOS. This audit measures, per type family, " + "the share of the **MEOS public C API** that the facade exposes and that JMEOS binds.\n") + L.append(f"**Headline.** The facade exposes **{len(covered)} of {len(bindable)} " + f"public MEOS functions ({pct(len(covered), len(bindable)):.1f}%)**. " + f"The MEOS public surface (`meos/include/meos*.h`, excluding internal headers) is " + f"{len(pub)} functions; JMEOS binds {len(bindable)} of them. " + f"{len(missing)} bindable functions are not exposed (listed in §3).\n") + L.append("Coverage is **static**: a function counts as covered when the facade declares a " + "method of the same name and arity that delegates to a JMEOS export.\n") + L.append("Per-family runtime behaviour is asserted by " + "`src/test/java/org/mobilitydb/meos/MeosFacadeSmokeTest.java`, which constructs " + "and reads back a value in the core, geo, cbuffer, npoint and pose families through the " + "facade against libmeos. The cbuffer, npoint and pose families require a libmeos built " + "with the extended modules (`-DCBUFFER=ON -DNPOINT=ON -DPOSE=ON -DRGEO=ON`); the stock " + "library carries the core and geo surfaces only.\n") + L.append("## 1. Reference surface and method\n") + L.append("- **Denominator**: distinct function names declared `extern` in the MEOS public " + "headers `meos.h`, `meos_geo.h`, `meos_cbuffer.h`, `meos_npoint.h`, `meos_pose.h`, " + "`meos_rgeo.h`. Internal headers (`meos_internal*.h`) are excluded.\n") + L.append("- **Numerator**: `public static` methods on the generated `MeosOps*` facade whose " + "name is also a `functions.GeneratedFunctions` export in the bundled JMEOS jar.\n") + L.append(f"- **JMEOS jar**: {os.path.relpath(a.jar, here)} exports {len(jm)} static methods.\n") + L.append("## 2. Per-family coverage of the public MEOS surface\n") + L.append("| Family (header) | Public ∩ JMEOS | Exposed | Missing | Coverage |") + L.append("|---|---:|---:|---:|---:|") + for h in PUBLIC_HEADERS: + b, c = bc[h], cc[h] + L.append(f"| {FAMILY[h]} (`{h}`) | {b} | {c} | {b - c} | {pct(c, b):.1f}% |") + L.append(f"| **total** | **{len(bindable)}** | **{len(covered)}** | " + f"**{len(bindable) - len(covered)}** | **{pct(len(covered), len(bindable)):.1f}%** |\n") + L.append("## 3. Bindable MEOS functions not exposed by the facade\n") + L.append(f"{len(missing)} functions are present in the public MEOS headers and bound by " + "JMEOS but not generated into the facade:\n") + for h in PUBLIC_HEADERS: + ms = [n for n in missing if fam[n] == h] + if ms: + L.append(f"- **`{h}`** ({len(ms)}): " + ", ".join(f"`{n}`" for n in ms)) + L.append("") + L.append("## 4. MobilityDB SQL-surface cross-check\n") + L.append("The facade is also matched against the underlying MEOS C symbol of each addressable " + "`CREATE FUNCTION` in `mobilitydb/sql/**/*.in.sql` (PG-only sections and helper symbols " + f"bucketed out; {oos} out-of-scope, {sqlc} SQL/plpgsql-composed functions with no single " + "C symbol). Functions the SQL layer implements through the internal MEOS headers " + "(`meos_internal*.h`) are exposed via `MeosOpsSqlSurface`.\n") + L.append(f"- Addressable distinct C symbols: **{len(addr)}**; bound by JMEOS: **{sql_bindable}**; " + f"exposed by the facade: **{sql_cov}** " + f"({pct(sql_cov, sql_bindable):.1f}% of the JMEOS-bindable SQL surface).\n") + L.append(f"- The remaining **{len(addr) - sql_bindable}** addressable C symbols are not exported " + "by JMEOS under the name the SQL layer's extension wrapper uses; the wrapper names " + "differ from the MEOS function names they call.\n") + + if a.libmeos: + libsyms = libmeos_symbols(a.libmeos) + resolved = fa_all & libsyms + unresolved = sorted(fa_all - libsyms) + L.append("## 5. Runtime symbol resolution\n") + L.append("Every facade method delegates to a libmeos symbol of the same name. Against a " + "MEOS shared library built with the extended modules (`-DCBUFFER=ON -DNPOINT=ON " + "-DPOSE=ON -DRGEO=ON`), " + f"**{len(resolved)} of {len(fa_all)}** facade methods resolve to an exported " + "symbol.\n") + if unresolved: + hdr_only = sorted(n for n in unresolved if n in pub) + jmeos_only = sorted(n for n in unresolved if n not in pub) + L.append(f"The remaining {len(unresolved)} are present in the JMEOS jar but not " + "exported by the MEOS shared library (a JMEOS-jar / library version skew):\n") + if hdr_only: + L.append(f"- declared in the public headers, not exported by this build " + f"({len(hdr_only)}): " + ", ".join(f"`{n}`" for n in hdr_only)) + if jmeos_only: + L.append(f"- not declared in the current public headers, JMEOS jar ahead of the " + f"library ({len(jmeos_only)}): " + ", ".join(f"`{n}`" for n in jmeos_only)) + L.append("") + else: + L.append("All facade methods resolve.\n") + print(f"libmeos resolution: {len(resolved)}/{len(fa_all)} " + f"({len(unresolved)} unresolved)") + + md = "\n".join(L) + "\n" + os.makedirs(os.path.dirname(a.out), exist_ok=True) + open(a.out, "w").write(md) + + print(f"public MEOS surface: {len(pub)}") + print(f" bound by JMEOS: {len(bindable)}") + print(f" exposed by facade: {len(covered)} ({pct(len(covered), len(bindable)):.1f}%)") + print(f" missing (bindable): {len(missing)}") + print(f"SQL addressable C-symbols: {len(addr)} (bindable {sql_bindable}, exposed {sql_cov})") + print(f"wrote {a.out}") + + +if __name__ == "__main__": + main()